openMSX
|
#include <YMF278B.hh>
Public Member Functions | |
YMF278B (const std::string &name, size_t ramSize, const DeviceConfig &config, YMF278::SetupMemPtrFunc setupMemPtrs, EmuTime::param time) | |
void | powerUp (EmuTime::param time) |
void | reset (EmuTime::param time) |
byte | readIO (word port, EmuTime::param time) |
byte | peekIO (word port, EmuTime::param time) const |
void | writeIO (word port, byte value, EmuTime::param time) |
void | setupMemoryPointers () |
void | serialize_bw_compat (XmlInputArchive &ar, unsigned version, EmuTime::param time) |
template<typename Archive > | |
void | serialize (Archive &ar, unsigned version) |
Definition at line 12 of file YMF278B.hh.
openmsx::YMF278B::YMF278B | ( | const std::string & | name, |
size_t | ramSize, | ||
const DeviceConfig & | config, | ||
YMF278::SetupMemPtrFunc | setupMemPtrs, | ||
EmuTime::param | time | ||
) |
Definition at line 41 of file YMF278B.cc.
References powerUp().
Definition at line 111 of file YMF278B.cc.
References openmsx::YMF278::peekReg(), openmsx::YMF262::peekReg(), openmsx::YMF262::peekStatus(), and UNREACHABLE.
Referenced by openmsx::DalSoRiR2::peekIO(), and openmsx::MSXMoonSound::peekIO().
void openmsx::YMF278B::powerUp | ( | EmuTime::param | time | ) |
Definition at line 51 of file YMF278B.cc.
References openmsx::YMF278::clearRam(), and reset().
Referenced by openmsx::DalSoRiR2::powerUp(), openmsx::MSXMoonSound::powerUp(), and YMF278B().
Definition at line 69 of file YMF278B.cc.
References openmsx::YMF278::readReg(), openmsx::YMF262::readReg(), openmsx::YMF262::readStatus(), and UNREACHABLE.
Referenced by openmsx::DalSoRiR2::readIO(), and openmsx::MSXMoonSound::readIO().
void openmsx::YMF278B::reset | ( | EmuTime::param | time | ) |
Definition at line 57 of file YMF278B.cc.
References openmsx::YMF262::reset(), and openmsx::YMF278::reset().
Referenced by powerUp(), openmsx::DalSoRiR2::reset(), and openmsx::MSXMoonSound::reset().
void openmsx::YMF278B::serialize | ( | Archive & | ar, |
unsigned | version | ||
) |
Definition at line 245 of file YMF278B.cc.
void openmsx::YMF278B::serialize_bw_compat | ( | XmlInputArchive & | ar, |
unsigned | version, | ||
EmuTime::param | time | ||
) |
Definition at line 224 of file YMF278B.cc.
References openmsx::InputArchiveBase2::IS_LOADER, openmsx::XmlInputArchive::serialize(), and openmsx::XmlInputArchive::versionAtLeast().
Referenced by openmsx::MSXMoonSound::serialize().
void openmsx::YMF278B::setupMemoryPointers | ( | ) |
Definition at line 214 of file YMF278B.cc.
References openmsx::YMF278::setupMemoryPointers().
Definition at line 138 of file YMF278B.cc.
References openmsx::YMF262::setMixLevel(), openmsx::YMF278::setMixLevel(), UNREACHABLE, openmsx::YMF278::writeReg(), and openmsx::YMF262::writeReg().
Referenced by openmsx::DalSoRiR2::writeIO(), and openmsx::MSXMoonSound::writeIO().