mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-25 18:30:21 +00:00
50ea56e908
This is now in addition to the single-partition images previously supported.
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 */
|