|
| SCSIHD (const SCSIHD &)=delete |
|
SCSIHD & | operator= (const SCSIHD &)=delete |
|
| SCSIHD (const DeviceConfig &targetConfig, AlignedBuffer &buf, unsigned mode) |
|
template<typename Archive > |
void | serialize (Archive &ar, unsigned version) |
|
| HD (const DeviceConfig &config) |
|
| ~HD () override |
|
const std::string & | getName () const |
|
const Filename & | getImageName () const |
|
void | switchImage (const Filename &filename) |
|
std::string | getTigerTreeHash () |
|
void | getMediaInfo (TclObject &result) override |
| This method gets called when information is required on the media inserted in the media slot of the provider. More...
|
|
template<typename Archive > |
void | serialize (Archive &ar, unsigned version) |
|
MSXMotherBoard & | getMotherBoard () const |
|
void | readSector (size_t sector, SectorBuffer &buf) |
|
void | writeSector (size_t sector, const SectorBuffer &buf) |
|
void | readSectors (std::span< SectorBuffer > buffers, size_t startSector) |
|
void | writeSectors (std::span< const SectorBuffer > buffers, size_t startSector) |
|
size_t | getNbSectors () const |
|
bool | isWriteProtected () const |
|
void | forceWriteProtect () |
|
virtual bool | isDummyDisk () const |
|
void | applyPatch (Filename patchFile) |
|
std::vector< Filename > | getPatches () const |
|
bool | hasPatches () const |
|
Sha1Sum | getSha1Sum (FilePool &filePool) |
| Calculate SHA1 of the content of this disk. More...
|
|
virtual void | readSectorsImpl (std::span< SectorBuffer > buffers, size_t startSector) |
|
virtual void | readSectorImpl (size_t sector, SectorBuffer &buf) |
|
| DiskContainer (const DiskContainer &)=delete |
|
DiskContainer & | operator= (const DiskContainer &)=delete |
|
| DiskContainer ()=default |
|
virtual | ~DiskContainer ()=default |
|
virtual SectorAccessibleDisk * | getSectorAccessibleDisk ()=0 |
|
virtual std::string_view | getContainerName () const =0 |
|
virtual bool | diskChanged ()=0 |
|
virtual int | insertDisk (const std::string &filename)=0 |
|
bool | isRomDisk () const |
|
template<typename Archive > |
void | serialize (Archive &, unsigned) |
|
virtual uint8_t * | getData (size_t offset, size_t size)=0 |
| Return the requested portion of the to-be-hashed data block. More...
|
|
virtual bool | isCacheStillValid (time_t &time)=0 |
| Because TTH calculation of a large file takes some time (a few 1/10s for a hard disk image) we try to cache previous calculations. More...
|
|
| MediaInfoProvider (const MediaInfoProvider &)=delete |
|
MediaInfoProvider & | operator= (const MediaInfoProvider &)=delete |
|
virtual void | getMediaInfo (TclObject &result)=0 |
| This method gets called when information is required on the media inserted in the media slot of the provider. More...
|
|
virtual | ~SCSIDevice ()=default |
|
virtual void | reset ()=0 |
|
virtual bool | isSelected ()=0 |
|
virtual unsigned | executeCmd (std::span< const uint8_t, 12 > cdb, SCSI::Phase &phase, unsigned &blocks)=0 |
|
virtual unsigned | executingCmd (SCSI::Phase &phase, unsigned &blocks)=0 |
|
virtual uint8_t | getStatusCode ()=0 |
|
virtual int | msgOut (uint8_t value)=0 |
|
virtual uint8_t | msgIn ()=0 |
|
virtual void | disconnect ()=0 |
|
virtual void | busReset ()=0 |
|
virtual unsigned | dataIn (unsigned &blocks)=0 |
|
virtual unsigned | dataOut (unsigned &blocks)=0 |
|
Definition at line 21 of file SCSIHD.hh.