2021-05-13 23:06:00 +00:00
|
|
|
//
|
|
|
|
// DSK.hpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 01/05/2021.
|
|
|
|
// Copyright © 2021 Thomas Harte. All rights reserved.
|
|
|
|
//
|
|
|
|
|
2024-01-17 04:34:46 +00:00
|
|
|
#pragma once
|
2021-05-13 23:06:00 +00:00
|
|
|
|
|
|
|
#include "RawSectorDump.hpp"
|
|
|
|
|
2023-05-10 21:02:18 +00:00
|
|
|
namespace Storage::MassStorage {
|
2021-05-13 23:06:00 +00:00
|
|
|
|
|
|
|
/*!
|
|
|
|
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> {
|
2024-12-02 02:44:14 +00:00
|
|
|
public:
|
|
|
|
DSK(const std::string &file_name);
|
2021-05-13 23:06:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|