mirror of
https://github.com/TomHarte/CLK.git
synced 2024-09-06 20:54:31 +00:00
40 lines
676 B
C++
40 lines
676 B
C++
//
|
|
// CPM.hpp
|
|
// Clock Signal
|
|
//
|
|
// Created by Thomas Harte on 10/08/2017.
|
|
// Copyright © 2017 Thomas Harte. All rights reserved.
|
|
//
|
|
|
|
#ifndef Storage_Disk_Parsers_CPM_hpp
|
|
#define Storage_Disk_Parsers_CPM_hpp
|
|
|
|
#include "../Disk.hpp"
|
|
#include <memory>
|
|
|
|
namespace Storage {
|
|
namespace Disk {
|
|
namespace CPM {
|
|
|
|
struct ParameterBlock {
|
|
int sectors_per_track;
|
|
int sector_size;
|
|
int first_sector;
|
|
uint16_t catalogue_allocation_bitmap;
|
|
int reserved_tracks;
|
|
};
|
|
|
|
struct File {
|
|
};
|
|
|
|
struct Catalogue {
|
|
};
|
|
|
|
std::unique_ptr<Catalogue> GetCatalogue(const std::shared_ptr<Storage::Disk::Disk> &disk, const ParameterBlock ¶meters);
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
#endif /* Storage_Disk_Parsers_CPM_hpp */
|