openMSX
|
Public Member Functions | |
PanasonicAudioPeriphery (MSXAudio &audio, const DeviceConfig &config, const std::string &soundDeviceName) | |
~PanasonicAudioPeriphery () override | |
PanasonicAudioPeriphery (const PanasonicAudioPeriphery &)=delete | |
PanasonicAudioPeriphery & | operator= (const PanasonicAudioPeriphery &)=delete |
void | reset () override |
void | write (nibble outputs, nibble values, EmuTime::param time) override |
Write to (some of) the pins. More... | |
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. More... | |
byte | peekMem (word address, EmuTime::param time) const override |
void | writeMem (word address, byte value, EmuTime::param time) override |
const byte * | getReadCacheLine (word address) const override |
byte * | getWriteCacheLine (word address) const override |
template<typename Archive > | |
void | serialize (Archive &ar, unsigned version) |
![]() | |
virtual | ~Y8950Periphery ()=default |
virtual void | reset () |
virtual void | write (nibble outputs, nibble values, EmuTime::param time)=0 |
Write to (some of) the pins. More... | |
virtual nibble | read (EmuTime::param time)=0 |
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. More... | |
virtual void | setSPOFF (bool value, EmuTime::param time) |
SP-OFF bit (bit 3 in Y8950 register 7) More... | |
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) const |
Definition at line 39 of file Y8950Periphery.cc.
openmsx::PanasonicAudioPeriphery::PanasonicAudioPeriphery | ( | MSXAudio & | audio, |
const DeviceConfig & | config, | ||
const std::string & | soundDeviceName | ||
) |
Definition at line 158 of file Y8950Periphery.cc.
References reset().
|
override |
Definition at line 175 of file Y8950Periphery.cc.
|
delete |
|
overridevirtual |
Reimplemented from openmsx::Y8950Periphery.
Definition at line 209 of file Y8950Periphery.cc.
Reimplemented from openmsx::Y8950Periphery.
Definition at line 232 of file Y8950Periphery.cc.
References openmsx::CacheLine::HIGH, and openmsx::MSXDevice::unmappedWrite.
|
delete |
|
overridevirtual |
Reimplemented from openmsx::Y8950Periphery.
Definition at line 200 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 194 of file Y8950Periphery.cc.
References openmsx::BooleanSetting::getBoolean().
Referenced by write().
|
overridevirtual |
Reimplemented from openmsx::Y8950Periphery.
Definition at line 180 of file Y8950Periphery.cc.
References openmsx::Ram::clear().
Referenced by PanasonicAudioPeriphery().
void openmsx::PanasonicAudioPeriphery::serialize | ( | Archive & | ar, |
unsigned | version | ||
) |
Definition at line 280 of file Y8950Periphery.cc.
|
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 187 of file Y8950Periphery.cc.
References read(), openmsx::Y8950::setEnabled(), and view::values().
|
overridevirtual |
Reimplemented from openmsx::Y8950Periphery.
Definition at line 218 of file Y8950Periphery.cc.