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
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef ImplicitSectors_hpp
|
|
|
|
#define ImplicitSectors_hpp
|
|
|
|
|
|
|
|
#include "../../../Track/Track.hpp"
|
|
|
|
#include <memory>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
namespace Storage {
|
|
|
|
namespace Disk {
|
|
|
|
|
2018-05-07 03:17:36 +00:00
|
|
|
std::shared_ptr<Track> track_for_sectors(uint8_t *const source, int number_of_sectors, uint8_t track, uint8_t side, uint8_t first_sector, uint8_t size, bool is_double_density);
|
2017-09-30 02:07:23 +00:00
|
|
|
void decode_sectors(Track &track, uint8_t *const destination, uint8_t first_sector, uint8_t last_sector, uint8_t sector_size, bool is_double_density);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* ImplicitSectors_hpp */
|