mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +00:00
31 lines
616 B
C++
31 lines
616 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 {
|
||
|
namespace 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 */
|