|
openMSX
|
#include <Disk.hh>


Public Member Functions | |
| virtual | ~Disk () |
| const DiskName & | getName () const |
| void | writeTrack (byte track, byte side, const RawTrack &input) |
| Replace a full track in this image with the given track. | |
| virtual void | readTrack (byte track, byte side, RawTrack &output)=0 |
| Read a full track from this disk image. | |
| bool | isDoubleSided () |
Public Member Functions inherited from openmsx::SectorAccessibleDisk | |
| virtual | ~SectorAccessibleDisk () |
| void | readSector (size_t sector, byte *buf) |
| void | writeSector (size_t sector, const byte *buf) |
| size_t | getNbSectors () const |
| bool | isWriteProtected () const |
| void | forceWriteProtect () |
| virtual bool | isDummyDisk () const |
| void | applyPatch (const Filename &patchFile) |
| std::vector< Filename > | getPatches () const |
| bool | hasPatches () const |
| virtual Sha1Sum | getSha1Sum () |
| Calculate SHA1 of the content of this disk. | |
| int | readSectors (byte *buffer, size_t startSector, size_t nbSectors) |
| int | writeSectors (const byte *buffer, size_t startSector, size_t nbSectors) |
Protected Member Functions | |
| Disk (const DiskName &name) | |
| size_t | physToLog (byte track, byte side, byte sector) |
| void | logToPhys (size_t log, byte &track, byte &side, byte §or) |
| virtual void | detectGeometry () |
| virtual void | detectGeometryFallback () |
| void | setSectorsPerTrack (unsigned num) |
| unsigned | getSectorsPerTrack () |
| void | setNbSides (unsigned num) |
| virtual void | writeTrackImpl (byte track, byte side, const RawTrack &input)=0 |
Protected Member Functions inherited from openmsx::SectorAccessibleDisk | |
| SectorAccessibleDisk () | |
| void | setPeekMode (bool peek) |
| bool | isPeekMode () const |
| virtual void | checkCaches () |
| virtual void | flushCaches () |
Additional Inherited Members | |
Static Public Attributes inherited from openmsx::SectorAccessibleDisk | |
| static const size_t | SECTOR_SIZE = 512 |
|
explicitprotected |
|
protectedvirtual |
Definition at line 95 of file Disk.cc.
References detectGeometryFallback(), openmsx::SectorAccessibleDisk::readSector(), and openmsx::SectorAccessibleDisk::SECTOR_SIZE.
Referenced by getSectorsPerTrack(), isDoubleSided(), logToPhys(), and physToLog().
|
protectedvirtual |
Definition at line 87 of file Disk.cc.
References openmsx::SectorAccessibleDisk::getNbSectors().
Referenced by detectGeometry().
|
protected |
Definition at line 75 of file Disk.cc.
References detectGeometry().
Referenced by openmsx::DMKDiskImage::getNbSectorsImpl().
| bool openmsx::Disk::isDoubleSided | ( | ) |
Definition at line 31 of file Disk.cc.
References detectGeometry().
Definition at line 55 of file Disk.cc.
References detectGeometry().
Referenced by openmsx::DMKDiskImage::readSectorImpl(), and openmsx::DMKDiskImage::writeSectorImpl().
Definition at line 45 of file Disk.cc.
References detectGeometry().
Read a full track from this disk image.
Implemented in openmsx::DMKDiskImage.
|
protected |
Definition at line 82 of file Disk.cc.
Referenced by openmsx::SectorBasedDisk::detectGeometry(), and openmsx::DirAsDSK::DirAsDSK().
|
protected |
Definition at line 71 of file Disk.cc.
Referenced by openmsx::SectorBasedDisk::detectGeometry(), and openmsx::DirAsDSK::DirAsDSK().
Replace a full track in this image with the given track.
Definition at line 22 of file Disk.cc.
References openmsx::SectorAccessibleDisk::flushCaches(), openmsx::SectorAccessibleDisk::isWriteProtected(), and writeTrackImpl().
Referenced by openmsx::DMKDiskImage::writeSectorImpl().
|
protectedpure virtual |
Implemented in openmsx::DMKDiskImage.
Referenced by writeTrack().
1.8.1.2