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