openMSX
DummyDisk.hh
Go to the documentation of this file.
1#ifndef FDCDUMMYBACKEND_HH
2#define FDCDUMMYBACKEND_HH
3
4#include "SectorBasedDisk.hh"
5
6namespace openmsx {
7
8class DummyDisk final : public SectorBasedDisk
9{
10public:
11 DummyDisk();
12 [[nodiscard]] bool isDummyDisk() const override;
13
14private:
15 void readSectorImpl (size_t sector, SectorBuffer& buf) override;
16 void writeSectorImpl(size_t sector, const SectorBuffer& buf) override;
17 [[nodiscard]] bool isWriteProtectedImpl() const override;
18};
19
20} // namespace openmsx
21
22#endif
bool isDummyDisk() const override
Definition DummyDisk.cc:12
Abstract class for disk images that only represent the logical sector information (so not the raw tra...
This file implemented 3 utility functions:
Definition Autofire.cc:11