openMSX
Public Member Functions | List of all members
openmsx::DummyDisk Class Referencefinal

#include <DummyDisk.hh>

Inheritance diagram for openmsx::DummyDisk:
Inheritance graph
[legend]
Collaboration diagram for openmsx::DummyDisk:
Collaboration graph
[legend]

Public Member Functions

 DummyDisk ()
 
bool isDummyDisk () const override
 
- Public Member Functions inherited from openmsx::Disk
virtual ~Disk ()
 
const DiskNamegetName () const
 
void writeTrack (byte track, byte side, const RawTrack &input)
 Replace a full track in this image with the given track. More...
 
bool isDoubleSided ()
 
- Public Member Functions inherited from openmsx::SectorAccessibleDisk
void readSector (size_t sector, SectorBuffer &buf)
 
void writeSector (size_t sector, const SectorBuffer &buf)
 
size_t getNbSectors () const
 
bool isWriteProtected () const
 
void forceWriteProtect ()
 
void applyPatch (const Filename &patchFile)
 
std::vector< FilenamegetPatches () const
 
bool hasPatches () const
 
virtual Sha1Sum getSha1Sum ()
 Calculate SHA1 of the content of this disk. More...
 
int readSectors (SectorBuffer *buffers, size_t startSector, size_t nbSectors)
 
int writeSectors (const SectorBuffer *buffers, size_t startSector, size_t nbSectors)
 

Additional Inherited Members

- Static Public Attributes inherited from openmsx::SectorAccessibleDisk
static const size_t SECTOR_SIZE = sizeof(SectorBuffer)
 
- Protected Member Functions inherited from openmsx::SectorBasedDisk
 SectorBasedDisk (const DiskName &name)
 
void detectGeometry () override
 
void flushCaches () override
 
void setNbSectors (size_t num)
 
 ~SectorBasedDisk ()
 
- Protected Member Functions inherited from openmsx::Disk
 Disk (const DiskName &name)
 
size_t physToLog (byte track, byte side, byte sector)
 
void logToPhys (size_t log, byte &track, byte &side, byte &sector)
 
virtual void detectGeometryFallback ()
 
void setSectorsPerTrack (unsigned num)
 
unsigned getSectorsPerTrack ()
 
void setNbSides (unsigned num)
 
- Protected Member Functions inherited from openmsx::SectorAccessibleDisk
 SectorAccessibleDisk ()
 
 ~SectorAccessibleDisk ()
 
void setPeekMode (bool peek)
 
bool isPeekMode () const
 
virtual void checkCaches ()
 

Detailed Description

Definition at line 8 of file DummyDisk.hh.

Constructor & Destructor Documentation

openmsx::DummyDisk::DummyDisk ( )

Definition at line 6 of file DummyDisk.cc.

References openmsx::SectorBasedDisk::setNbSectors().

Member Function Documentation

bool openmsx::DummyDisk::isDummyDisk ( ) const
overridevirtual

Reimplemented from openmsx::SectorAccessibleDisk.

Definition at line 12 of file DummyDisk.cc.


The documentation for this class was generated from the following files: