mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 23:52:26 +00:00
29 lines
603 B
C++
29 lines
603 B
C++
//
|
|
// DSK.hpp
|
|
// Clock Signal
|
|
//
|
|
// Created by Thomas Harte on 01/05/2021.
|
|
// Copyright © 2021 Thomas Harte. All rights reserved.
|
|
//
|
|
|
|
#ifndef MassStorage_DSK_hpp
|
|
#define MassStorage_DSK_hpp
|
|
|
|
#include "RawSectorDump.hpp"
|
|
|
|
namespace Storage::MassStorage {
|
|
|
|
/*!
|
|
Provides a @c MassStorageDevice containing a Macintosh DSK image, which is just a
|
|
sector dump of an entire HFS drive. It will be validated for an Apple-style partition map and communicate
|
|
in 512-byte blocks.
|
|
*/
|
|
class DSK: public RawSectorDump<512> {
|
|
public:
|
|
DSK(const std::string &file_name);
|
|
};
|
|
|
|
}
|
|
|
|
#endif /* MassStorage_DSK_hpp */
|