1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-07 04:05:30 +00:00
CLK/Storage/MassStorage/Formats/DSK.hpp
Thomas Harte 50ea56e908 Adds support for Macintosh SCSI device images.
This is now in addition to the single-partition images previously supported.
2021-05-13 19:06:00 -04:00

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