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
Abstract class for disk images that only represent the logical sector information (so not the raw tra...
bool isDummyDisk() const override
Definition: DummyDisk.cc:12
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5