2017-09-30 02:07:23 +00:00
|
|
|
//
|
|
|
|
// ImplicitSectors.hpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 29/09/2017.
|
2018-05-13 19:19:52 +00:00
|
|
|
// Copyright 2017 Thomas Harte. All rights reserved.
|
2017-09-30 02:07:23 +00:00
|
|
|
//
|
|
|
|
|
2024-01-17 04:34:46 +00:00
|
|
|
#pragma once
|
2017-09-30 02:07:23 +00:00
|
|
|
|
|
|
|
#include "../../../Track/Track.hpp"
|
|
|
|
#include <memory>
|
|
|
|
#include <vector>
|
|
|
|
|
2023-12-11 03:17:23 +00:00
|
|
|
#include "../../../Encodings/MFM/Encoder.hpp"
|
|
|
|
|
|
|
|
|
2023-05-10 21:02:18 +00:00
|
|
|
namespace Storage::Disk {
|
2017-09-30 02:07:23 +00:00
|
|
|
|
2023-12-11 03:17:23 +00:00
|
|
|
std::shared_ptr<Track> track_for_sectors(const uint8_t *source, int number_of_sectors, uint8_t track, uint8_t side, uint8_t first_sector, uint8_t size, Storage::Encodings::MFM::Density density);
|
|
|
|
void decode_sectors(const Track &track, uint8_t *destination, uint8_t first_sector, uint8_t last_sector, uint8_t sector_size, Storage::Encodings::MFM::Density density);
|
2017-09-30 02:07:23 +00:00
|
|
|
|
|
|
|
}
|