openMSX
|
Public Member Functions | |
ToshibaAudioPeriphery (MSXAudio &audio) | |
void | write (nibble outputs, nibble values, EmuTime::param time) override |
Write to (some of) the pins. | |
nibble | read (EmuTime::param time) override |
Read from (some of) the pins Some of the pins might be programmed as output, but this method doesn't care about that, it should return the value of all pins as-if they were all programmed as input. | |
void | setSPOFF (bool value, EmuTime::param time) override |
SP-OFF bit (bit 3 in Y8950 register 7) | |
template<typename Archive > | |
void | serialize (Archive &, unsigned) |
Public Member Functions inherited from openmsx::Y8950Periphery | |
virtual | ~Y8950Periphery ()=default |
virtual void | reset () |
virtual byte | readMem (word address, EmuTime::param time) |
virtual byte | peekMem (word address, EmuTime::param time) const |
virtual void | writeMem (word address, byte value, EmuTime::param time) |
virtual const byte * | getReadCacheLine (word start) const |
virtual byte * | getWriteCacheLine (word start) |
Definition at line 79 of file Y8950Periphery.cc.
|
explicit |
Definition at line 296 of file Y8950Periphery.cc.
|
overridevirtual |
Read from (some of) the pins Some of the pins might be programmed as output, but this method doesn't care about that, it should return the value of all pins as-if they were all programmed as input.
time | The moment in time the read occurs |
Implements openmsx::Y8950Periphery.
Definition at line 309 of file Y8950Periphery.cc.
|
inline |
Definition at line 88 of file Y8950Periphery.cc.
|
overridevirtual |
SP-OFF bit (bit 3 in Y8950 register 7)
Reimplemented from openmsx::Y8950Periphery.
Definition at line 316 of file Y8950Periphery.cc.
References openmsx::Y8950::setEnabled().
|
overridevirtual |
Write to (some of) the pins.
outputs | A '1' bit indicates the corresponding bit is programmed as output. |
values | The actual value that is written, only bits for which the corresponding bit in the 'outputs' parameter is set are meaningful. |
time | The moment in time the write occurs |
Implements openmsx::Y8950Periphery.
Definition at line 301 of file Y8950Periphery.cc.