openMSX
|
#include <MB89352.hh>
Public Member Functions | |
MB89352 (const DeviceConfig &config) | |
void | reset (bool scsiReset) |
uint8_t | readRegister (uint8_t reg) |
uint8_t | peekRegister (uint8_t reg) const |
uint8_t | readDREG () |
uint8_t | peekDREG () const |
void | writeRegister (uint8_t reg, uint8_t value) |
void | writeDREG (uint8_t value) |
template<typename Archive > | |
void | serialize (Archive &ar, unsigned version) |
Definition at line 26 of file MB89352.hh.
|
explicit |
Definition at line 94 of file MB89352.cc.
References ranges::fill(), openmsx::XMLElement::getChildren(), openmsx::DeviceConfig::getXML(), id, openmsx::SCSIDevice::MODE_MEGASCSI, openmsx::SCSIDevice::MODE_SCSI2, reset(), and t.
uint8_t openmsx::MB89352::peekDREG | ( | ) | const |
Definition at line 702 of file MB89352.cc.
Referenced by openmsx::MegaSCSI::peekMem(), and peekRegister().
uint8_t openmsx::MB89352::peekRegister | ( | uint8_t | reg | ) | const |
Definition at line 711 of file MB89352.cc.
References peekDREG().
Referenced by openmsx::MegaSCSI::peekMem(), and readRegister().
uint8_t openmsx::MB89352::readDREG | ( | ) |
Definition at line 407 of file MB89352.cc.
Referenced by openmsx::MegaSCSI::readMem(), and readRegister().
uint8_t openmsx::MB89352::readRegister | ( | uint8_t | reg | ) |
Definition at line 661 of file MB89352.cc.
References peekRegister(), and readDREG().
Referenced by openmsx::MegaSCSI::readMem().
void openmsx::MB89352::reset | ( | bool | scsiReset | ) |
Definition at line 166 of file MB89352.cc.
Referenced by MB89352(), and openmsx::MegaSCSI::reset().
void openmsx::MB89352::serialize | ( | Archive & | ar, |
unsigned | version | ||
) |
Definition at line 750 of file MB89352.cc.
References enumerate().
void openmsx::MB89352::writeDREG | ( | uint8_t | value | ) |
Definition at line 425 of file MB89352.cc.
Referenced by openmsx::MegaSCSI::writeMem(), and writeRegister().
void openmsx::MB89352::writeRegister | ( | uint8_t | reg, |
uint8_t | value | ||
) |
TODO: devBusy &&
Definition at line 440 of file MB89352.cc.
References writeDREG().
Referenced by openmsx::MegaSCSI::writeMem().