1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-23 18:31:53 +00:00
CLK/Storage/MassStorage/Formats/DSK.hpp
2023-05-10 16:02:18 -05:00

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 */