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

#include <RamDSKDiskImage.hh>

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

Public Member Functions

 RamDSKDiskImage (size_t size=720 *1024)
 
- Public Member Functions inherited from openmsx::Disk
virtual ~Disk ()=default
 
const DiskNamegetName () const
 
void writeTrack (byte track, byte side, const RawTrack &input)
 Replace a full track in this image with the given track. More...
 
virtual bool hasChanged () const
 Has the content of this disk changed, by some other means than the MSX writing to the disk. 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)
 
void readSectors (SectorBuffer *buffers, size_t startSector, size_t nbSectors)
 
void writeSectors (const SectorBuffer *buffers, size_t startSector, size_t nbSectors)
 
size_t getNbSectors () const
 
bool isWriteProtected () const
 
void forceWriteProtect ()
 
virtual bool isDummyDisk () const
 
void applyPatch (Filename patchFile)
 
std::vector< FilenamegetPatches () const
 
bool hasPatches () const
 
Sha1Sum getSha1Sum (FilePool &filepool)
 Calculate SHA1 of the content of this disk. More...
 
virtual void readSectorImpl (size_t sector, SectorBuffer &buf)
 

Additional Inherited Members

- Static Public Attributes inherited from openmsx::SectorAccessibleDisk
static constexpr size_t SECTOR_SIZE = sizeof(SectorBuffer)
 
- Protected Member Functions inherited from openmsx::SectorBasedDisk
 SectorBasedDisk (DiskName name)
 
void detectGeometry () override
 
void flushCaches () override
 
void setNbSectors (size_t num)
 
 ~SectorBasedDisk () override=default
 
- Protected Member Functions inherited from openmsx::Disk
 Disk (DiskName name)
 
size_t physToLog (byte track, byte side, byte sector)
 
TSS logToPhys (size_t log)
 
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 ()
 
virtual Sha1Sum getSha1SumImpl (FilePool &filepool)
 

Detailed Description

Definition at line 9 of file RamDSKDiskImage.hh.

Constructor & Destructor Documentation

◆ RamDSKDiskImage()

openmsx::RamDSKDiskImage::RamDSKDiskImage ( size_t  size = 720 * 1024)
explicit

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