openMSX
|
Public Member Functions | |
Impl (Y8950 &self, const std::string &name, const DeviceConfig &config, unsigned sampleRam, MSXAudio &audio) | |
void | init (const DeviceConfig &config, EmuTime::param time) |
~Impl () | |
void | setEnabled (bool enabled, EmuTime::param time) |
void | clearRam () |
void | reset (EmuTime::param time) |
void | writeReg (byte reg, byte data, EmuTime::param time) |
byte | readReg (byte reg, EmuTime::param time) |
byte | peekReg (byte reg, EmuTime::param time) const |
byte | readStatus (EmuTime::param time) |
byte | peekStatus (EmuTime::param time) const |
void | setStatus (byte flags) |
void | resetStatus (byte flags) |
byte | peekRawStatus () const |
template<typename Archive > | |
void | serialize (Archive &ar, unsigned version) |
openmsx::Y8950::Impl::Impl | ( | Y8950 & | self, |
const std::string & | name, | ||
const DeviceConfig & | config, | ||
unsigned | sampleRam, | ||
MSXAudio & | audio | ||
) |
void openmsx::Y8950::Impl::init | ( | const DeviceConfig & | config, |
EmuTime::param | time | ||
) |
Definition at line 707 of file Y8950.cc.
References openmsx::Y8950::CLOCK_FREQ, openmsx::Y8950::CLOCK_FREQ_DIV, and openmsx::Y8950::reset().
byte openmsx::Y8950::Impl::peekReg | ( | byte | reg, |
EmuTime::param | time | ||
) | const |
byte openmsx::Y8950::Impl::peekStatus | ( | EmuTime::param | time | ) | const |
byte openmsx::Y8950::Impl::readReg | ( | byte | reg, |
EmuTime::param | time | ||
) |
Definition at line 1325 of file Y8950.cc.
References openmsx::Y8950::peekReg().
byte openmsx::Y8950::Impl::readStatus | ( | EmuTime::param | time | ) |
Definition at line 1366 of file Y8950.cc.
References openmsx::Y8950::peekStatus().
void openmsx::Y8950::Impl::reset | ( | EmuTime::param | time | ) |
void openmsx::Y8950::Impl::serialize | ( | Archive & | ar, |
unsigned | version | ||
) |
Definition at line 1494 of file Y8950.cc.
References openmsx::Y8950::writeReg().
void openmsx::Y8950::Impl::setEnabled | ( | bool | enabled, |
EmuTime::param | time | ||
) |
void openmsx::Y8950::Impl::writeReg | ( | byte | reg, |
byte | data, | ||
EmuTime::param | time | ||
) |
Definition at line 1082 of file Y8950.cc.
References openmsx::Y8950Patch::AM, openmsx::Y8950Patch::AR, Math::clipIntToShort(), openmsx::Y8950Patch::DR, openmsx::Y8950Patch::EG, openmsx::Y8950Channel::freq, openmsx::KEY_MAIN, openmsx::Y8950Patch::KL, openmsx::Y8950Patch::ML, openmsx::Y8950Slot::patch, openmsx::Y8950Patch::PM, openmsx::Y8950::R04_IRQ_RESET, openmsx::Y8950::R04_ST1, openmsx::Y8950::R04_ST2, openmsx::Y8950::resetStatus(), openmsx::Y8950Patch::RR, openmsx::Y8950Patch::setKeyScaleRate(), openmsx::Y8950Patch::SL, openmsx::Y8950Channel::slot, openmsx::Y8950Patch::TL, openmsx::Y8950Slot::updateAll(), and openmsx::Y8950Slot::updateEG().