openMSX
|
#include <IDEHD.hh>
Public Member Functions | |
IDEHD (const IDEHD &)=delete | |
IDEHD & | operator= (const IDEHD &)=delete |
IDEHD (const DeviceConfig &config) | |
~IDEHD () override | |
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 () |
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 (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< Filename > | getPatches () 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) |
![]() | |
DiskContainer (const DiskContainer &)=delete | |
DiskContainer & | operator= (const DiskContainer &)=delete |
DiskContainer ()=default | |
virtual | ~DiskContainer ()=default |
bool | isRomdisk () const |
template<typename Archive > | |
void | serialize (Archive &, unsigned) |
![]() | |
void | reset (EmuTime::param time) override |
word | readData (EmuTime::param time) override |
byte | readReg (nibble reg, EmuTime::param time) override |
void | writeData (word value, EmuTime::param time) override |
void | writeReg (nibble reg, byte value, EmuTime::param time) override |
template<typename Archive > | |
void | serialize (Archive &ar, unsigned version) |
![]() | |
virtual | ~IDEDevice ()=default |
Additional Inherited Members | |
![]() | |
static constexpr size_t | SECTOR_SIZE = sizeof(SectorBuffer) |
![]() | |
SectorAccessibleDisk () | |
~SectorAccessibleDisk () | |
void | setPeekMode (bool peek) |
bool | isPeekMode () const |
virtual void | checkCaches () |
virtual void | flushCaches () |
![]() | |
~TTData ()=default | |
![]() | |
AbstractIDEDevice (MSXMotherBoard &motherBoard) | |
~AbstractIDEDevice () override=default | |
virtual void | readEnd () |
Called when a read transfer completes. More... | |
void | setError (byte error) |
Indicates an error: sets error register, error flag, aborts transfers. More... | |
unsigned | getSectorNumber () const |
Creates an LBA sector address from the contents of the sectorNumReg, cylinderLowReg, cylinderHighReg and devHeadReg registers. More... | |
unsigned | getNumSectors () const |
Gets the number of sectors indicated by the sector count register. More... | |
void | setInterruptReason (byte value) |
Writes the interrupt reason register. More... | |
unsigned | getByteCount () const |
Reads the byte count limit of a packet transfer in the registers. More... | |
void | setByteCount (unsigned count) |
Writes the byte count of a packet transfer in the registers. More... | |
void | setSectorNumber (unsigned lba) |
Writes a 28-bit LBA sector number in the registers. More... | |
void | startLongReadTransfer (unsigned count) |
Indicates the start of a read data transfer which uses blocks. More... | |
AlignedBuffer & | startShortReadTransfer (unsigned count) |
Indicates the start of a read data transfer where all data fits into the buffer at once. More... | |
void | abortReadTransfer (byte error) |
Aborts the read transfer in progress. More... | |
void | startWriteTransfer (unsigned count) |
Indicates the start of a write data transfer. More... | |
void | abortWriteTransfer (byte error) |
Aborts the write transfer in progress. More... | |
byte | getFeatureReg () const |
void | setLBALow (byte value) |
void | setLBAMid (byte value) |
void | setLBAHigh (byte value) |
MSXMotherBoard & | getMotherBoard () const |
![]() | |
static constexpr byte | DRDY = 0x40 |
static constexpr byte | DSC = 0x10 |
static constexpr byte | DRQ = 0x08 |
static constexpr byte | ERR = 0x01 |
static constexpr byte | UNC = 0x40 |
static constexpr byte | IDNF = 0x10 |
static constexpr byte | ABORT = 0x04 |
|
delete |
|
explicit |
Definition at line 15 of file IDEHD.cc.
References openmsx::MSXMotherBoard::getMachineID(), openmsx::DeviceConfig::getMotherBoard(), openmsx::DiskManipulator::registerDrive(), and tmpStrCat().
|
override |
Definition at line 25 of file IDEHD.cc.
References openmsx::DiskManipulator::unregisterDrive().
void openmsx::IDEHD::serialize | ( | Archive & | ar, |
unsigned | version | ||
) |