2021-01-31 21:00:52 +00:00
|
|
|
//
|
2021-02-01 02:03:09 +00:00
|
|
|
// DAT.hpp
|
2021-01-31 21:00:52 +00:00
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 31/01/2021.
|
|
|
|
// Copyright © 2021 Thomas Harte. All rights reserved.
|
|
|
|
//
|
|
|
|
|
2021-02-01 02:03:09 +00:00
|
|
|
#ifndef MassStorage_DAT_hpp
|
|
|
|
#define MassStorage_DAT_hpp
|
2021-01-31 21:00:52 +00:00
|
|
|
|
2021-05-02 01:10:46 +00:00
|
|
|
#include "RawSectorDump.hpp"
|
2021-01-31 21:00:52 +00:00
|
|
|
|
2023-05-10 21:02:18 +00:00
|
|
|
namespace Storage::MassStorage {
|
2021-01-31 21:00:52 +00:00
|
|
|
|
|
|
|
/*!
|
|
|
|
Provides a @c MassStorageDevice containing an Acorn ADFS image, which is just a
|
2021-02-01 02:03:09 +00:00
|
|
|
sector dump of an ADFS volume. It will be validated for an ADFS catalogue and communicate
|
|
|
|
in 256-byte blocks.
|
2021-01-31 21:00:52 +00:00
|
|
|
*/
|
2021-05-02 01:10:46 +00:00
|
|
|
class DAT: public RawSectorDump<256> {
|
2021-01-31 21:00:52 +00:00
|
|
|
public:
|
2021-02-01 02:03:09 +00:00
|
|
|
DAT(const std::string &file_name);
|
2021-01-31 21:00:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2021-02-01 02:03:09 +00:00
|
|
|
#endif /* MassStorage_DAT_hpp */
|