openMSX
Classes | Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Friends | List of all members
openmsx::MSXDevice Class Referenceabstract

An MSXDevice is an emulated hardware component connected to the bus of the emulated MSX. More...

#include <MSXDevice.hh>

Inheritance diagram for openmsx::MSXDevice:
Inheritance graph
[legend]
Collaboration diagram for openmsx::MSXDevice:
Collaboration graph
[legend]

Public Types

using Devices = std::vector< MSXDevice * >
 

Public Member Functions

 MSXDevice (const MSXDevice &)=delete
 
 MSXDevice (MSXDevice &&)=delete
 
MSXDeviceoperator= (const MSXDevice &)=delete
 
MSXDeviceoperator= (MSXDevice &&)=delete
 
virtual ~MSXDevice ()=0
 
const HardwareConfiggetHardwareConfig () const
 Returns the hardwareconfig this device belongs to.
 
void testRemove (std::span< const std::unique_ptr< MSXDevice > > removed) const
 Checks whether this device can be removed (no other device has a reference to it).
 
virtual void reset (EmuTime::param time)
 This method is called on reset.
 
virtual byte readIRQVector ()
 Gets IRQ vector used in IM2.
 
virtual void powerDown (EmuTime::param time)
 This method is called when MSX is powered down.
 
virtual void powerUp (EmuTime::param time)
 This method is called when MSX is powered up.
 
virtual const std::string & getName () const
 Returns a human-readable name for this device.
 
virtual void getNameList (TclObject &result) const
 Returns list of name(s) of this device.
 
void getDeviceInfo (TclObject &result) const
 Get device info.
 
void getVisibleMemRegion (unsigned &base, unsigned &size) const
 Returns the range where this device is visible in memory.
 
virtual byte readIO (word port, EmuTime::param time)
 Read a byte from an IO port at a certain time from this device.
 
virtual void writeIO (word port, byte value, EmuTime::param time)
 Write a byte to a given IO port at a certain time to this device.
 
virtual byte peekIO (word port, EmuTime::param time) const
 Read a byte from a given IO port.
 
virtual byte readMem (word address, EmuTime::param time)
 Read a byte from a location at a certain time from this device.
 
virtual void writeMem (word address, byte value, EmuTime::param time)
 Write a given byte to a given location at a certain time to this device.
 
virtual const bytegetReadCacheLine (word start) const
 Test that the memory in the interval [start, start + CacheLine::SIZE) is cacheable for reading.
 
virtual bytegetWriteCacheLine (word start)
 Test that the memory in the interval [start, start + CacheLine::SIZE) is cacheable for writing.
 
virtual byte peekMem (word address, EmuTime::param time) const
 Read a byte from a given memory location.
 
virtual void globalWrite (word address, byte value, EmuTime::param time)
 Global writes.
 
virtual void globalRead (word address, EmuTime::param time)
 Global reads.
 
void invalidateDeviceRWCache ()
 Calls MSXCPUInterface::invalidateXXCache() for the specific (part of) the slot that this device is located in.
 
void invalidateDeviceRCache ()
 
void invalidateDeviceWCache ()
 
void invalidateDeviceRWCache (unsigned start, unsigned size)
 
void invalidateDeviceRCache (unsigned start, unsigned size)
 
void invalidateDeviceWCache (unsigned start, unsigned size)
 
void fillDeviceRWCache (unsigned start, unsigned size, byte *rwData)
 Calls MSXCPUInterface::fillXXCache() for the specific (part of) the slot that this device is located in.
 
void fillDeviceRWCache (unsigned start, unsigned size, const byte *rData, byte *wData)
 
void fillDeviceRCache (unsigned start, unsigned size, const byte *rData)
 
void fillDeviceWCache (unsigned start, unsigned size, byte *wData)
 
MSXMotherBoardgetMotherBoard () const
 Get the mother board this device belongs to.
 
const XMLElementgetDeviceConfig () const
 Get the configuration section for this device.
 
const DeviceConfiggetDeviceConfig2 () const
 
const DevicesgetReferences () const
 Get the device references that are specified for this device.
 
EmuTime::param getCurrentTime () const
 
MSXCPUgetCPU () const
 
MSXCPUInterfacegetCPUInterface () const
 
SchedulergetScheduler () const
 
MSXCliCommgetCliComm () const
 
ReactorgetReactor () const
 
CommandControllergetCommandController () const
 
PluggingControllergetPluggingController () const
 
LedStatusgetLedStatus () const
 
template<typename Archive >
void serialize (Archive &ar, unsigned version)
 

Static Public Attributes

static std::array< byte, 0x10000 > unmappedRead
 
static std::array< byte, 0x10000 > unmappedWrite
 

Protected Member Functions

 MSXDevice (const DeviceConfig &config, std::string_view name)
 Every MSXDevice has a config entry; this constructor gets some device properties from that config entry.
 
 MSXDevice (const DeviceConfig &config)
 
virtual void init ()
 
virtual unsigned getBaseSizeAlignment () const
 The 'base' and 'size' attribute values need to be at least aligned to CacheLine::SIZE.
 
virtual bool allowUnaligned () const
 By default we don't allow unaligned <mem> specifications in the config file.
 
virtual void getExtraDeviceInfo (TclObject &result) const
 
byte getPrimarySlot () const
 

Protected Attributes

std::string deviceName
 

Friends

class DeviceFactory
 Constructing a MSXDevice is a 2-step process, after the constructor is called this init() method must be called.
 

Detailed Description

An MSXDevice is an emulated hardware component connected to the bus of the emulated MSX.

There is no communication among devices, only between devices and the CPU.

Definition at line 35 of file MSXDevice.hh.

Member Typedef Documentation

◆ Devices

using openmsx::MSXDevice::Devices = std::vector<MSXDevice*>

Definition at line 43 of file MSXDevice.hh.

Constructor & Destructor Documentation

◆ MSXDevice() [1/4]

openmsx::MSXDevice::MSXDevice ( const MSXDevice )
delete

◆ MSXDevice() [2/4]

openmsx::MSXDevice::MSXDevice ( MSXDevice &&  )
delete

◆ ~MSXDevice()

openmsx::MSXDevice::~MSXDevice ( )
pure virtual

Definition at line 53 of file MSXDevice.cc.

◆ MSXDevice() [3/4]

openmsx::MSXDevice::MSXDevice ( const DeviceConfig config,
std::string_view  name 
)
protected

Every MSXDevice has a config entry; this constructor gets some device properties from that config entry.

Parameters
configconfig entry for this device.
nameThe name for the MSXDevice (will be made unique)

Definition at line 21 of file MSXDevice.cc.

◆ MSXDevice() [4/4]

openmsx::MSXDevice::MSXDevice ( const DeviceConfig config)
explicitprotected

Definition at line 27 of file MSXDevice.cc.

References getDeviceConfig().

Member Function Documentation

◆ allowUnaligned()

virtual bool openmsx::MSXDevice::allowUnaligned ( ) const
inlineprotectedvirtual

By default we don't allow unaligned <mem> specifications in the config file.

Though for a machine like 'Victor HC-95A' is it useful to model it with combinations of unaligned devices. So we do allow it for a select few devices: devices that promise to not call any of the 'fillDeviceXXXCache()' methods.

Reimplemented in openmsx::VictorFDC, openmsx::MSXMirrorDevice, openmsx::MSXVictorHC9xSystemControl, and openmsx::MSXRS232.

Definition at line 296 of file MSXDevice.hh.

Referenced by fillDeviceRCache(), fillDeviceRWCache(), and fillDeviceWCache().

◆ fillDeviceRCache()

void openmsx::MSXDevice::fillDeviceRCache ( unsigned  start,
unsigned  size,
const byte rData 
)

◆ fillDeviceRWCache() [1/2]

void openmsx::MSXDevice::fillDeviceRWCache ( unsigned  start,
unsigned  size,
byte rwData 
)

Calls MSXCPUInterface::fillXXCache() for the specific (part of) the slot that this device is located in.

Definition at line 506 of file MSXDevice.cc.

References fillDeviceRWCache().

Referenced by fillDeviceRWCache(), openmsx::MSXMemoryMapper::writeIO(), and openmsx::PanasonicRam::writeIO().

◆ fillDeviceRWCache() [2/2]

void openmsx::MSXDevice::fillDeviceRWCache ( unsigned  start,
unsigned  size,
const byte rData,
byte wData 
)

◆ fillDeviceWCache()

void openmsx::MSXDevice::fillDeviceWCache ( unsigned  start,
unsigned  size,
byte wData 
)

◆ getBaseSizeAlignment()

unsigned openmsx::MSXDevice::getBaseSizeAlignment ( ) const
protectedvirtual

The 'base' and 'size' attribute values need to be at least aligned to CacheLine::SIZE.

Though some devices may need a stricter alignment. In that case they must override this method.

Reimplemented in openmsx::MSXMemoryMapperBase, openmsx::RomBlocks< BANK_SIZE_ >, and openmsx::RomPlain.

Definition at line 396 of file MSXDevice.cc.

References openmsx::CacheLine::SIZE.

Referenced by openmsx::RomPlain::getBaseSizeAlignment().

◆ getCliComm()

MSXCliComm & openmsx::MSXDevice::getCliComm ( ) const

◆ getCommandController()

CommandController & openmsx::MSXDevice::getCommandController ( ) const

◆ getCPU()

MSXCPU & openmsx::MSXDevice::getCPU ( ) const

◆ getCPUInterface()

MSXCPUInterface & openmsx::MSXDevice::getCPUInterface ( ) const

◆ getCurrentTime()

EmuTime::param openmsx::MSXDevice::getCurrentTime ( ) const

Definition at line 125 of file MSXDevice.cc.

References openmsx::MSXMotherBoard::getCurrentTime(), and getMotherBoard().

Referenced by openmsx::BeerIDE::BeerIDE(), openmsx::ColecoJoystickIO::ColecoJoystickIO(), openmsx::ColecoSuperGameModule::ColecoSuperGameModule(), openmsx::JVCMSXMIDI::JVCMSXMIDI(), openmsx::MSXAudio::MSXAudio(), openmsx::MSXFacMidiInterface::MSXFacMidiInterface(), openmsx::MSXFmPac::MSXFmPac(), openmsx::MSXHBI55::MSXHBI55(), openmsx::MSXHiResTimer::MSXHiResTimer(), openmsx::MSXMidi::MSXMidi(), openmsx::MSXMoonSound::MSXMoonSound(), openmsx::MSXMusicBase::MSXMusicBase(), openmsx::MSXMusicWX::MSXMusicWX(), openmsx::MSXOPL3Cartridge::MSXOPL3Cartridge(), openmsx::MSXPPI::MSXPPI(), openmsx::MSXPrinterPort::MSXPrinterPort(), openmsx::MSXRS232::MSXRS232(), openmsx::MSXRTC::MSXRTC(), openmsx::MSXSCCPlusCart::MSXSCCPlusCart(), openmsx::MSXTurboRPCM::MSXTurboRPCM(), openmsx::MSXYamahaSFG::MSXYamahaSFG(), openmsx::MusicModuleMIDI::MusicModuleMIDI(), openmsx::PhilipsFDC::PhilipsFDC(), openmsx::PioneerLDControl::PioneerLDControl(), openmsx::ROMHunterMk2::ROMHunterMk2(), openmsx::RomKonamiSCC::RomKonamiSCC(), openmsx::RomManbow2::RomManbow2(), openmsx::RomSynthesizer::RomSynthesizer(), openmsx::SC3000PPI::SC3000PPI(), openmsx::VDP::scheduleCmdSync(), openmsx::SensorKid::SensorKid(), openmsx::PioneerLDControl::serialize(), openmsx::Carnivore2::serialize(), openmsx::ReproCartridgeV2::serialize(), openmsx::MSXPPI::serialize(), openmsx::SC3000PPI::serialize(), openmsx::MSXAudio::serialize(), openmsx::MSXMoonSound::serialize(), openmsx::MSXPSG::serialize(), openmsx::SVIPSG::serialize(), openmsx::SVIPPI::serialize(), openmsx::V9990::serialize(), openmsx::SG1000JoystickIO::SG1000JoystickIO(), openmsx::SpectravideoFDC::SpectravideoFDC(), openmsx::SunriseIDE::SunriseIDE(), openmsx::SVIPPI::SVIPPI(), openmsx::SVIPrinterPort::SVIPrinterPort(), openmsx::TalentTDC600::TalentTDC600(), openmsx::TurboRFDC::TurboRFDC(), openmsx::VDP::VDP(), openmsx::VictorFDC::VictorFDC(), openmsx::YamahaFDC::YamahaFDC(), and openmsx::Carnivore2::~Carnivore2().

◆ getDeviceConfig()

const XMLElement & openmsx::MSXDevice::getDeviceConfig ( ) const
inline

Get the configuration section for this device.

This was passed as a constructor argument.

Definition at line 236 of file MSXDevice.hh.

References openmsx::DeviceConfig::getXML().

Referenced by getDeviceInfo(), openmsx::VDP::getMSX1Palette(), openmsx::VDP::getVersionString(), and MSXDevice().

◆ getDeviceConfig2()

const DeviceConfig & openmsx::MSXDevice::getDeviceConfig2 ( ) const
inline

Definition at line 239 of file MSXDevice.hh.

Referenced by openmsx::MSXAudio::createPeriphery().

◆ getDeviceInfo()

void openmsx::MSXDevice::getDeviceInfo ( TclObject result) const

Get device info.

Used by the 'machine_info device' command.

Definition at line 385 of file MSXDevice.cc.

References openmsx::TclObject::addDictKeyValue(), getDeviceConfig(), getExtraDeviceInfo(), and getName().

Referenced by openmsx::DeviceInfo::execute().

◆ getExtraDeviceInfo()

void openmsx::MSXDevice::getExtraDeviceInfo ( TclObject result) const
protectedvirtual
See also
getDeviceInfo() Default implementation does nothing. Subclasses can override this method to add extra info (like subtypes).

Reimplemented in openmsx::MSXFDC, openmsx::MSXRom, openmsx::MSXKanji, openmsx::MSXKanji12, and openmsx::VDP.

Definition at line 391 of file MSXDevice.cc.

Referenced by getDeviceInfo().

◆ getHardwareConfig()

const HardwareConfig & openmsx::MSXDevice::getHardwareConfig ( ) const
inline

Returns the hardwareconfig this device belongs to.

Definition at line 49 of file MSXDevice.hh.

References openmsx::DeviceConfig::getHardwareConfig().

Referenced by getMotherBoard(), and openmsx::PioneerLDControl::PioneerLDControl().

◆ getLedStatus()

LedStatus & openmsx::MSXDevice::getLedStatus ( ) const

◆ getMotherBoard()

MSXMotherBoard & openmsx::MSXDevice::getMotherBoard ( ) const

◆ getName()

const std::string & openmsx::MSXDevice::getName ( ) const
virtual

◆ getNameList()

void openmsx::MSXDevice::getNameList ( TclObject result) const
virtual

Returns list of name(s) of this device.

This is normally the same as getName() (but formatted as a Tcl list) except for multi-{mem,io}-devices.

Reimplemented in openmsx::MSXMultiIODevice, openmsx::MSXMultiMemDevice, and openmsx::DummyDevice.

Definition at line 380 of file MSXDevice.cc.

References openmsx::TclObject::addListElement(), and getName().

◆ getPluggingController()

PluggingController & openmsx::MSXDevice::getPluggingController ( ) const

◆ getPrimarySlot()

byte openmsx::MSXDevice::getPrimarySlot ( ) const
inlineprotected

Definition at line 328 of file MSXDevice.hh.

Referenced by openmsx::Carnivore2::peekIO().

◆ getReactor()

Reactor & openmsx::MSXDevice::getReactor ( ) const

◆ getReadCacheLine()

const byte * openmsx::MSXDevice::getReadCacheLine ( word  start) const
virtual

Test that the memory in the interval [start, start + CacheLine::SIZE) is cacheable for reading.

If it is, a pointer to a buffer containing this interval must be returned. If not, a null pointer must be returned. Cacheable for reading means the data may be read directly from the buffer, thus bypassing the readMem() method, and thus also ignoring EmuTime. The default implementation always returns a null pointer. The start of the interval is CacheLine::SIZE aligned.

Reimplemented in openmsx::ChakkariCopy, openmsx::NowindInterface, openmsx::MegaSCSI, openmsx::PioneerLDControl, openmsx::ESE_RAM, openmsx::ESE_SCC, openmsx::KonamiUltimateCollection, openmsx::MegaFlashRomSCCPlus, openmsx::MegaFlashRomSCCPlusSD, openmsx::MSXMegaRam, openmsx::MSXPac, openmsx::ReproCartridgeV1, openmsx::ReproCartridgeV2, openmsx::RomAscii16_2, openmsx::RomAscii16X, openmsx::RomAscii8_8, openmsx::RomBlocks< BANK_SIZE_ >, openmsx::RomDRAM, openmsx::RomFSA1FM1, openmsx::RomFSA1FM2, openmsx::RomHalnote, openmsx::RomHolyQuran2, openmsx::ROMHunterMk2, openmsx::RomKonamiSCC, openmsx::RomManbow2, openmsx::RomMatraInk, openmsx::RomMitsubishiMLTS2, openmsx::RomMSXtra, openmsx::RomNational, openmsx::RomPanasonic, openmsx::RomPlayBall, openmsx::RomRamFile, openmsx::MSXModem, openmsx::MSXFmPac, openmsx::MSXMultiMemDevice, openmsx::CanonFDC, openmsx::MSXFDC, openmsx::NationalFDC, openmsx::PhilipsFDC, openmsx::SanyoFDC, openmsx::SpectravideoFDC, openmsx::TalentTDC600, openmsx::ToshibaFDC, openmsx::TurboRFDC, openmsx::VictorFDC, openmsx::YamahaFDC, openmsx::BeerIDE, openmsx::GoudaSCSI, openmsx::SunriseIDE, openmsx::CanonWordProcessor, openmsx::ColecoSuperGameModule, openmsx::FraelSwitchableROM, openmsx::MSXMemoryMapperBase, openmsx::MSXMirrorDevice, openmsx::MSXRam, openmsx::MusicalMemoryMapper, openmsx::RomColecoMegaCart, openmsx::MSXBunsetsu, openmsx::MSXToshibaTcx200x, openmsx::MSXRS232, openmsx::MSXAudio, openmsx::MSXMusicBase, openmsx::MSXMusicWX, openmsx::MSXSCCPlusCart, openmsx::MSXYamahaSFG, and openmsx::YamahaSKW01.

Definition at line 425 of file MSXDevice.cc.

Referenced by peekMem().

◆ getReferences()

const MSXDevice::Devices & openmsx::MSXDevice::getReferences ( ) const

Get the device references that are specified for this device.

Definition at line 119 of file MSXDevice.cc.

Referenced by openmsx::PioneerLDControl::init(), openmsx::MSXMatsushita::init(), and openmsx::Video9000::init().

◆ getScheduler()

Scheduler & openmsx::MSXDevice::getScheduler ( ) const

Definition at line 137 of file MSXDevice.cc.

References getMotherBoard(), and openmsx::MSXMotherBoard::getScheduler().

◆ getVisibleMemRegion()

void openmsx::MSXDevice::getVisibleMemRegion ( unsigned &  base,
unsigned &  size 
) const

Returns the range where this device is visible in memory.

This is the union of the "mem" tags inside the device tag in hardwareconfig.xml (though practically always there is only one "mem" tag). Information on possible holes in this range (when there are multiple "mem" tags) is not returned by this method.

Definition at line 301 of file MSXDevice.cc.

References max_value(), and min_value().

◆ getWriteCacheLine()

byte * openmsx::MSXDevice::getWriteCacheLine ( word  start)
virtual

Test that the memory in the interval [start, start + CacheLine::SIZE) is cacheable for writing.

If it is, a pointer to a buffer containing this interval must be returned. If not, a null pointer must be returned. Cacheable for writing means the data may be written directly to the buffer, thus bypassing the writeMem() method, and thus also ignoring EmuTime. The default implementation always returns a null pointer. The start of the interval is CacheLine::SIZE aligned.

Reimplemented in openmsx::ChakkariCopy, openmsx::CanonFDC, openmsx::NationalFDC, openmsx::NowindInterface, openmsx::PhilipsFDC, openmsx::SanyoFDC, openmsx::SpectravideoFDC, openmsx::TalentTDC600, openmsx::ToshibaFDC, openmsx::TurboRFDC, openmsx::VictorFDC, openmsx::YamahaFDC, openmsx::MegaSCSI, openmsx::PioneerLDControl, openmsx::ESE_RAM, openmsx::ESE_SCC, openmsx::KonamiUltimateCollection, openmsx::MegaFlashRomSCCPlus, openmsx::MegaFlashRomSCCPlusSD, openmsx::MSXMegaRam, openmsx::MSXPac, openmsx::MSXRom, openmsx::ReproCartridgeV1, openmsx::ReproCartridgeV2, openmsx::RomAscii16_2, openmsx::RomAscii16kB, openmsx::RomAscii16X, openmsx::RomAscii8_8, openmsx::RomAscii8kB, openmsx::RomCrossBlaim, openmsx::RomDooly, openmsx::RomFSA1FM1, openmsx::RomFSA1FM2, openmsx::RomGameMaster2, openmsx::RomGeneric16kB, openmsx::RomGeneric8kB, openmsx::RomHalnote, openmsx::RomHarryFox, openmsx::RomHolyQuran, openmsx::RomHolyQuran2, openmsx::ROMHunterMk2, openmsx::RomKonami, openmsx::RomKonamiSCC, openmsx::RomMajutsushi, openmsx::RomManbow2, openmsx::RomMatraCompilation, openmsx::RomMatraInk, openmsx::RomMitsubishiMLTS2, openmsx::RomMSXDOS2, openmsx::RomMSXtra, openmsx::RomMSXWrite, openmsx::RomNational, openmsx::RomNeo16, openmsx::RomNeo8, openmsx::RomNettouYakyuu, openmsx::RomPanasonic, openmsx::RomPlayBall, openmsx::RomRamFile, openmsx::RomRetroHard31in1, openmsx::RomRType, openmsx::RomSuperSwangi, openmsx::RomSynthesizer, openmsx::RomZemina126in1, openmsx::RomZemina25in1, openmsx::RomZemina80in1, openmsx::RomZemina90in1, openmsx::MSXModem, openmsx::MSXFmPac, openmsx::MSXMultiMemDevice, openmsx::CanonWordProcessor, openmsx::ColecoSuperGameModule, openmsx::MSXMemoryMapperBase, openmsx::MSXMirrorDevice, openmsx::MSXRam, openmsx::MusicalMemoryMapper, openmsx::PanasonicRam, openmsx::MSXBunsetsu, openmsx::MSXToshibaTcx200x, openmsx::MSXRS232, openmsx::MSXAudio, openmsx::MSXMusicWX, openmsx::MSXSCCPlusCart, openmsx::MSXYamahaSFG, and openmsx::YamahaSKW01.

Definition at line 459 of file MSXDevice.cc.

◆ globalRead()

void openmsx::MSXDevice::globalRead ( word  address,
EmuTime::param  time 
)
virtual

Global reads.

Similar to globalWrite() but then for reads. 'Carnivore2' is an example of a device that monitors the MSX bus for reads in any slot.

Reimplemented in openmsx::Carnivore2.

Definition at line 454 of file MSXDevice.cc.

References UNREACHABLE.

◆ globalWrite()

void openmsx::MSXDevice::globalWrite ( word  address,
byte  value,
EmuTime::param  time 
)
virtual

Global writes.

Some devices violate the MSX standard by ignoring the SLOT-SELECT signal; they react to writes to a certain address in any slot. Luckily the only known example so far is 'Super Lode Runner'. This method is triggered for such 'global' writes. You need to register each address for which you want this method to be triggered.

Reimplemented in openmsx::RomSuperLodeRunner.

Definition at line 448 of file MSXDevice.cc.

References UNREACHABLE.

◆ init()

void openmsx::MSXDevice::init ( )
protectedvirtual

◆ invalidateDeviceRCache() [1/2]

void openmsx::MSXDevice::invalidateDeviceRCache ( )
inline

◆ invalidateDeviceRCache() [2/2]

void openmsx::MSXDevice::invalidateDeviceRCache ( unsigned  start,
unsigned  size 
)

◆ invalidateDeviceRWCache() [1/2]

void openmsx::MSXDevice::invalidateDeviceRWCache ( )
inline

◆ invalidateDeviceRWCache() [2/2]

void openmsx::MSXDevice::invalidateDeviceRWCache ( unsigned  start,
unsigned  size 
)

◆ invalidateDeviceWCache() [1/2]

void openmsx::MSXDevice::invalidateDeviceWCache ( )
inline

◆ invalidateDeviceWCache() [2/2]

void openmsx::MSXDevice::invalidateDeviceWCache ( unsigned  start,
unsigned  size 
)

◆ operator=() [1/2]

MSXDevice & openmsx::MSXDevice::operator= ( const MSXDevice )
delete

◆ operator=() [2/2]

MSXDevice & openmsx::MSXDevice::operator= ( MSXDevice &&  )
delete

◆ peekIO()

byte openmsx::MSXDevice::peekIO ( word  port,
EmuTime::param  time 
) const
virtual

Read a byte from a given IO port.

Reading via this method has no side effects (doesn't change the device status). If safe reading is not possible this method returns 0xFF. This method is not used by the emulation. It can however be used by a debugger. The default implementation just returns 0xFF.

Reimplemented in openmsx::MSXPrinterPort, openmsx::SVIPrinterPort, openmsx::ChakkariCopy, openmsx::MSXMultiIODevice, openmsx::VDPIODelay, openmsx::AVTFDC, openmsx::MicrosolFDC, openmsx::SVIFDC, openmsx::BeerIDE, openmsx::GoudaSCSI, openmsx::ColecoJoystickIO, openmsx::SG1000JoystickIO, openmsx::Carnivore2, openmsx::ColecoSuperGameModule, openmsx::MSXHBI55, openmsx::MSXMapperIO, openmsx::MSXMegaRam, openmsx::MSXMemoryMapperBase, openmsx::MusicalMemoryMapper, openmsx::RomArc, openmsx::RomKonamiKeyboardMaster, openmsx::RomManbow2, openmsx::MSXCielTurbo, openmsx::MSXDeviceSwitch, openmsx::MSXE6Timer, openmsx::MSXHiResTimer, openmsx::MSXKanji, openmsx::MSXMatsushita, openmsx::MSXPPI, openmsx::MSXResetStatusRegister, openmsx::MSXRTC, openmsx::MSXS1990, openmsx::MSXTurboRPause, openmsx::PasswordCart, openmsx::SC3000PPI, openmsx::JVCMSXMIDI, openmsx::MSXFacMidiInterface, openmsx::MSXMidi, openmsx::MSXRS232, openmsx::MusicModuleMIDI, openmsx::MSXAudio, openmsx::MSXMoonSound, openmsx::MSXOPL3Cartridge, openmsx::MSXPSG, openmsx::MSXTurboRPCM, openmsx::SVIPSG, openmsx::SVIPPI, openmsx::V9990, and openmsx::VDP.

Definition at line 413 of file MSXDevice.cc.

Referenced by openmsx::VDPIODelay::peekIO().

◆ peekMem()

byte openmsx::MSXDevice::peekMem ( word  address,
EmuTime::param  time 
) const
virtual

Read a byte from a given memory location.

Reading memory via this method has no side effects (doesn't change the device status). If save reading is not possible this method returns 0xFF. This method is not used by the emulation. It can however be used by a debugger. The default implementation uses the cache mechanism (getReadCacheLine() method). If a certain region is not cacheable you cannot read it by default, Override this method if you want to improve this behaviour.

Reimplemented in openmsx::ChakkariCopy, openmsx::MSXMultiMemDevice, openmsx::CanonFDC, openmsx::MSXFDC, openmsx::NationalFDC, openmsx::NowindInterface, openmsx::PhilipsFDC, openmsx::SanyoFDC, openmsx::SpectravideoFDC, openmsx::TalentTDC600, openmsx::ToshibaFDC, openmsx::TurboRFDC, openmsx::VictorFDC, openmsx::YamahaFDC, openmsx::MegaSCSI, openmsx::PioneerLDControl, openmsx::CanonWordProcessor, openmsx::Carnivore2, openmsx::ColecoSuperGameModule, openmsx::ESE_SCC, openmsx::KonamiUltimateCollection, openmsx::MegaFlashRomSCCPlus, openmsx::MegaFlashRomSCCPlusSD, openmsx::MSXMemoryMapperBase, openmsx::MSXMirrorDevice, openmsx::MSXRam, openmsx::MusicalMemoryMapper, openmsx::ReproCartridgeV1, openmsx::ReproCartridgeV2, openmsx::RomAscii16X, openmsx::RomBlocks< BANK_SIZE_ >, openmsx::RomDooly, openmsx::RomFSA1FM1, openmsx::RomFSA1FM2, openmsx::RomHolyQuran2, openmsx::ROMHunterMk2, openmsx::RomKonamiSCC, openmsx::RomManbow2, openmsx::RomMatraInk, openmsx::RomMitsubishiMLTS2, openmsx::RomNational, openmsx::RomPanasonic, openmsx::RomPlayBall, openmsx::RomRamFile, openmsx::MSXToshibaTcx200x, openmsx::MSXVictorHC9xSystemControl, openmsx::MSXModem, openmsx::MSXAudio, openmsx::MSXMusicBase, openmsx::MSXMusicWX, openmsx::MSXSCCPlusCart, openmsx::MSXYamahaSFG, and openmsx::YamahaSKW01.

Definition at line 436 of file MSXDevice.cc.

References getReadCacheLine(), openmsx::CacheLine::HIGH, and openmsx::CacheLine::LOW.

Referenced by openmsx::MSXMultiMemDevice::peekMem().

◆ powerDown()

void openmsx::MSXDevice::powerDown ( EmuTime::param  time)
virtual

This method is called when MSX is powered down.

The default implementation does nothing, this is usually ok. Typically devices that need to turn off LEDs need to reimplement this method.

Parameters
timeThe moment in time the power down occurs.

Reimplemented in openmsx::MSXMultiDevice, openmsx::MSXFDC, openmsx::MSXPPI, openmsx::MSXTurboRPause, openmsx::MSXPSG, and openmsx::SVIPSG.

Definition at line 365 of file MSXDevice.cc.

◆ powerUp()

void openmsx::MSXDevice::powerUp ( EmuTime::param  time)
virtual

◆ readIO()

byte openmsx::MSXDevice::readIO ( word  port,
EmuTime::param  time 
)
virtual

◆ readIRQVector()

byte openmsx::MSXDevice::readIRQVector ( )
virtual

Gets IRQ vector used in IM2.

This method only exists to support YamahaSfg05. There is no way for several devices to coordinate which vector is actually send to the CPU. But this IM is anyway not really supported in the MSX standard. Default implementation returns 0xFF.

Reimplemented in openmsx::MSXYamahaSFG.

Definition at line 360 of file MSXDevice.cc.

◆ readMem()

byte openmsx::MSXDevice::readMem ( word  address,
EmuTime::param  time 
)
virtual

Read a byte from a location at a certain time from this device.

The default implementation returns 255.

Reimplemented in openmsx::ChakkariCopy, openmsx::MSXMultiMemDevice, openmsx::CanonFDC, openmsx::MSXFDC, openmsx::NationalFDC, openmsx::NowindInterface, openmsx::PhilipsFDC, openmsx::SanyoFDC, openmsx::SpectravideoFDC, openmsx::TalentTDC600, openmsx::ToshibaFDC, openmsx::TurboRFDC, openmsx::VictorFDC, openmsx::YamahaFDC, openmsx::BeerIDE, openmsx::GoudaSCSI, openmsx::MegaSCSI, openmsx::SunriseIDE, openmsx::PioneerLDControl, openmsx::CanonWordProcessor, openmsx::Carnivore2, openmsx::ColecoSuperGameModule, openmsx::ESE_RAM, openmsx::ESE_SCC, openmsx::FraelSwitchableROM, openmsx::KonamiUltimateCollection, openmsx::MegaFlashRomSCCPlus, openmsx::MegaFlashRomSCCPlusSD, openmsx::MSXMegaRam, openmsx::MSXMemoryMapperBase, openmsx::MSXMirrorDevice, openmsx::MSXPac, openmsx::MSXRam, openmsx::MusicalMemoryMapper, openmsx::ReproCartridgeV1, openmsx::ReproCartridgeV2, openmsx::RomAscii16_2, openmsx::RomAscii16X, openmsx::RomAscii8_8, openmsx::RomBlocks< BANK_SIZE_ >, openmsx::RomColecoMegaCart, openmsx::RomDooly, openmsx::RomDRAM, openmsx::RomFSA1FM1, openmsx::RomFSA1FM2, openmsx::RomHalnote, openmsx::RomHolyQuran2, openmsx::ROMHunterMk2, openmsx::RomKonamiSCC, openmsx::RomManbow2, openmsx::RomMatraInk, openmsx::RomMitsubishiMLTS2, openmsx::RomMSXtra, openmsx::RomNational, openmsx::RomPanasonic, openmsx::RomPlayBall, openmsx::RomRamFile, openmsx::MSXBunsetsu, openmsx::MSXToshibaTcx200x, openmsx::MSXVictorHC9xSystemControl, openmsx::MSXModem, openmsx::MSXRS232, openmsx::MSXAudio, openmsx::MSXFmPac, openmsx::MSXMusicBase, openmsx::MSXMusicWX, openmsx::MSXSCCPlusCart, openmsx::MSXYamahaSFG, openmsx::ADVram, and openmsx::YamahaSKW01.

Definition at line 419 of file MSXDevice.cc.

Referenced by openmsx::MSXMultiMemDevice::readMem().

◆ reset()

void openmsx::MSXDevice::reset ( EmuTime::param  time)
virtual

This method is called on reset.

Default implementation does nothing.

Reimplemented in openmsx::ChakkariCopy, openmsx::MSXMultiDevice, openmsx::DebugDevice, openmsx::DummyDevice, openmsx::CanonFDC, openmsx::NowindInterface, openmsx::PhilipsFDC, openmsx::SpectravideoFDC, openmsx::TalentTDC600, openmsx::TurboRFDC, openmsx::VictorFDC, openmsx::WD2793BasedFDC, openmsx::YamahaFDC, openmsx::BeerIDE, openmsx::GoudaSCSI, openmsx::MegaSCSI, openmsx::SunriseIDE, openmsx::ColecoJoystickIO, openmsx::PioneerLDControl, openmsx::CanonWordProcessor, openmsx::Carnivore2, openmsx::ColecoSuperGameModule, openmsx::ESE_RAM, openmsx::ESE_SCC, openmsx::FraelSwitchableROM, openmsx::KonamiUltimateCollection, openmsx::MegaFlashRomSCCPlus, openmsx::MegaFlashRomSCCPlusSD, openmsx::MSXHBI55, openmsx::MSXMegaRam, openmsx::MSXMemoryMapperBase, openmsx::MSXPac, openmsx::MusicalMemoryMapper, openmsx::ReproCartridgeV1, openmsx::ReproCartridgeV2, openmsx::RomAlAlamiah30in1, openmsx::RomArc, openmsx::RomAscii16_2, openmsx::RomAscii16kB, openmsx::RomAscii16X, openmsx::RomAscii8_8, openmsx::RomAscii8kB, openmsx::RomColecoMegaCart, openmsx::RomCrossBlaim, openmsx::RomDooly, openmsx::RomFSA1FM1, openmsx::RomFSA1FM2, openmsx::RomGameMaster2, openmsx::RomGeneric16kB, openmsx::RomGeneric8kB, openmsx::RomHalnote, openmsx::RomHarryFox, openmsx::RomHolyQuran, openmsx::RomHolyQuran2, openmsx::ROMHunterMk2, openmsx::RomKonami, openmsx::RomKonamiKeyboardMaster, openmsx::RomKonamiSCC, openmsx::RomMajutsushi, openmsx::RomManbow2, openmsx::RomMatraCompilation, openmsx::RomMatraInk, openmsx::RomMitsubishiMLTS2, openmsx::RomMSXDOS2, openmsx::RomMSXWrite, openmsx::RomMultiRom, openmsx::RomNational, openmsx::RomNeo16, openmsx::RomNeo8, openmsx::RomNettouYakyuu, openmsx::RomPadial16kB, openmsx::RomPadial8kB, openmsx::RomPanasonic, openmsx::RomPlayBall, openmsx::RomRamFile, openmsx::RomRetroHard31in1, openmsx::RomRType, openmsx::RomSuperLodeRunner, openmsx::RomSuperSwangi, openmsx::RomSynthesizer, openmsx::RomZemina126in1, openmsx::RomZemina25in1, openmsx::RomZemina80in1, openmsx::RomZemina90in1, openmsx::MSXBunsetsu, openmsx::MSXCielTurbo, openmsx::MSXDeviceSwitch, openmsx::MSXE6Timer, openmsx::MSXHiResTimer, openmsx::MSXKanji, openmsx::MSXKanji12, openmsx::MSXMatsushita, openmsx::MSXPPI, openmsx::MSXPrinterPort, openmsx::MSXResetStatusRegister, openmsx::MSXRTC, openmsx::MSXS1985, openmsx::MSXS1990, openmsx::MSXToshibaTcx200x, openmsx::MSXTurboRPause, openmsx::PasswordCart, openmsx::SC3000PPI, openmsx::SensorKid, openmsx::JVCMSXMIDI, openmsx::MSXFacMidiInterface, openmsx::MSXMidi, openmsx::MSXModem, openmsx::MSXRS232, openmsx::MusicModuleMIDI, openmsx::MSXAudio, openmsx::MSXFmPac, openmsx::MSXMoonSound, openmsx::MSXMusicBase, openmsx::MSXMusicWX, openmsx::MSXOPL3Cartridge, openmsx::MSXPSG, openmsx::MSXSCCPlusCart, openmsx::MSXTurboRPCM, openmsx::MSXYamahaSFG, openmsx::SNPSG, openmsx::SVIPSG, openmsx::SVIPPI, openmsx::SVIPrinterPort, openmsx::ADVram, openmsx::V9990, openmsx::Video9000, openmsx::VDP, and openmsx::YamahaSKW01.

Definition at line 355 of file MSXDevice.cc.

Referenced by openmsx::MSXMapperIO::MSXMapperIO(), and powerUp().

◆ serialize()

template<typename Archive >
void openmsx::MSXDevice::serialize ( Archive &  ar,
unsigned  version 
)

Definition at line 527 of file MSXDevice.cc.

References deviceName.

◆ testRemove()

void openmsx::MSXDevice::testRemove ( std::span< const std::unique_ptr< MSXDevice > >  removed) const

Checks whether this device can be removed (no other device has a reference to it).

Throws an exception if it can't be removed.

Definition at line 75 of file MSXDevice.cc.

References contains(), and strAppend().

◆ writeIO()

void openmsx::MSXDevice::writeIO ( word  port,
byte  value,
EmuTime::param  time 
)
virtual

Write a byte to a given IO port at a certain time to this device.

The default implementation ignores the write (does nothing)

Reimplemented in openmsx::MSXPrinterPort, openmsx::SVIPrinterPort, openmsx::ChakkariCopy, openmsx::MSXMultiIODevice, openmsx::VDPIODelay, openmsx::DebugDevice, openmsx::AVTFDC, openmsx::MicrosolFDC, openmsx::SVIFDC, openmsx::BeerIDE, openmsx::GoudaSCSI, openmsx::ColecoJoystickIO, openmsx::Carnivore2, openmsx::ColecoSuperGameModule, openmsx::FraelSwitchableROM, openmsx::MegaFlashRomSCCPlus, openmsx::MegaFlashRomSCCPlusSD, openmsx::MSXHBI55, openmsx::MSXMapperIO, openmsx::MSXMegaRam, openmsx::MSXMemoryMapper, openmsx::MusicalMemoryMapper, openmsx::PanasonicRam, openmsx::ReproCartridgeV1, openmsx::ReproCartridgeV2, openmsx::RomAlAlamiah30in1, openmsx::RomArc, openmsx::RomKonamiKeyboardMaster, openmsx::RomManbow2, openmsx::RomRetroHard31in1, openmsx::RomZemina90in1, openmsx::MSXCielTurbo, openmsx::MSXDeviceSwitch, openmsx::MSXE6Timer, openmsx::MSXHiResTimer, openmsx::MSXKanji, openmsx::MSXMatsushita, openmsx::MSXPPI, openmsx::MSXResetStatusRegister, openmsx::MSXRTC, openmsx::MSXS1990, openmsx::MSXTurboRPause, openmsx::PasswordCart, openmsx::SC3000PPI, openmsx::SensorKid, openmsx::JVCMSXMIDI, openmsx::MSXFacMidiInterface, openmsx::MSXMidi, openmsx::MSXRS232, openmsx::MusicModuleMIDI, openmsx::MSXAudio, openmsx::MSXFmPac, openmsx::MSXMoonSound, openmsx::MSXMusicBase, openmsx::MSXOPL3Cartridge, openmsx::MSXPSG, openmsx::MSXTurboRPCM, openmsx::SNPSG, openmsx::SVIPSG, openmsx::SVIPPI, openmsx::ADVram, openmsx::V9990, openmsx::Video9000, openmsx::VDP, and openmsx::MSXMemoryMapperBase.

Definition at line 408 of file MSXDevice.cc.

Referenced by openmsx::VDPIODelay::writeIO().

◆ writeMem()

void openmsx::MSXDevice::writeMem ( word  address,
byte  value,
EmuTime::param  time 
)
virtual

Write a given byte to a given location at a certain time to this device.

The default implementation ignores the write (does nothing).

Reimplemented in openmsx::ChakkariCopy, openmsx::MSXMultiMemDevice, openmsx::CanonFDC, openmsx::NationalFDC, openmsx::NowindInterface, openmsx::PhilipsFDC, openmsx::SanyoFDC, openmsx::SpectravideoFDC, openmsx::TalentTDC600, openmsx::ToshibaFDC, openmsx::TurboRFDC, openmsx::VictorFDC, openmsx::YamahaFDC, openmsx::MegaSCSI, openmsx::SunriseIDE, openmsx::PioneerLDControl, openmsx::CanonWordProcessor, openmsx::Carnivore2, openmsx::ColecoSuperGameModule, openmsx::ESE_RAM, openmsx::ESE_SCC, openmsx::KonamiUltimateCollection, openmsx::MegaFlashRomSCCPlus, openmsx::MegaFlashRomSCCPlusSD, openmsx::MSXMegaRam, openmsx::MSXMemoryMapperBase, openmsx::MSXMirrorDevice, openmsx::MSXPac, openmsx::MSXRam, openmsx::MSXRom, openmsx::MusicalMemoryMapper, openmsx::PanasonicRam, openmsx::ReproCartridgeV1, openmsx::ReproCartridgeV2, openmsx::RomAscii16_2, openmsx::RomAscii16kB, openmsx::RomAscii16X, openmsx::RomAscii8_8, openmsx::RomAscii8kB, openmsx::RomCrossBlaim, openmsx::RomDooly, openmsx::RomFSA1FM1, openmsx::RomFSA1FM2, openmsx::RomGameMaster2, openmsx::RomGeneric16kB, openmsx::RomGeneric8kB, openmsx::RomHalnote, openmsx::RomHarryFox, openmsx::RomHolyQuran, openmsx::RomHolyQuran2, openmsx::ROMHunterMk2, openmsx::RomKonami, openmsx::RomKonamiSCC, openmsx::RomMajutsushi, openmsx::RomManbow2, openmsx::RomMatraCompilation, openmsx::RomMatraInk, openmsx::RomMitsubishiMLTS2, openmsx::RomMSXDOS2, openmsx::RomMSXtra, openmsx::RomMSXWrite, openmsx::RomNational, openmsx::RomNeo16, openmsx::RomNeo8, openmsx::RomNettouYakyuu, openmsx::RomPanasonic, openmsx::RomPlayBall, openmsx::RomRamFile, openmsx::RomRType, openmsx::RomSuperSwangi, openmsx::RomSynthesizer, openmsx::RomZemina126in1, openmsx::RomZemina25in1, openmsx::RomZemina80in1, openmsx::MSXBunsetsu, openmsx::MSXToshibaTcx200x, openmsx::MSXVictorHC9xSystemControl, openmsx::MSXModem, openmsx::MSXRS232, openmsx::MSXAudio, openmsx::MSXFmPac, openmsx::MSXMusicWX, openmsx::MSXSCCPlusCart, openmsx::MSXYamahaSFG, openmsx::ADVram, and openmsx::YamahaSKW01.

Definition at line 430 of file MSXDevice.cc.

Referenced by openmsx::MSXMultiMemDevice::writeMem().

Friends And Related Symbol Documentation

◆ DeviceFactory

friend class DeviceFactory
friend

Constructing a MSXDevice is a 2-step process, after the constructor is called this init() method must be called.

The reason is exception safety (init() might throw and we use the destructor to clean up some stuff, this is more difficult when everything is done in the constructor). This is also a non-public method. This means you can only construct MSXDevices via DeviceFactory. In rare cases you need to override this method, for example when you need to access the referenced devices already during construction of this device (e.g. ADVram)

Definition at line 281 of file MSXDevice.hh.

Member Data Documentation

◆ deviceName

std::string openmsx::MSXDevice::deviceName
protected

◆ unmappedRead

std::array<byte, 0x10000> openmsx::MSXDevice::unmappedRead
inlinestatic

Definition at line 306 of file MSXDevice.hh.

Referenced by openmsx::AmdFlash::getReadCacheLine(), openmsx::NowindInterface::getReadCacheLine(), openmsx::MegaSCSI::getReadCacheLine(), openmsx::PioneerLDControl::getReadCacheLine(), openmsx::ESE_RAM::getReadCacheLine(), openmsx::KonamiUltimateCollection::getReadCacheLine(), openmsx::MegaFlashRomSCCPlus::getReadCacheLine(), openmsx::MegaFlashRomSCCPlusSD::getReadCacheLine(), openmsx::MSXMegaRam::getReadCacheLine(), openmsx::MSXPac::getReadCacheLine(), openmsx::ReproCartridgeV1::getReadCacheLine(), openmsx::ReproCartridgeV2::getReadCacheLine(), openmsx::RomFSA1FM1::getReadCacheLine(), openmsx::RomFSA1FM2::getReadCacheLine(), openmsx::RomHolyQuran2::getReadCacheLine(), openmsx::ROMHunterMk2::getReadCacheLine(), openmsx::RomManbow2::getReadCacheLine(), openmsx::RomMSXtra::getReadCacheLine(), openmsx::RomRamFile::getReadCacheLine(), openmsx::MSXModem::getReadCacheLine(), openmsx::MSXFmPac::getReadCacheLine(), openmsx::Y8950Periphery::getReadCacheLine(), openmsx::NationalFDC::getReadCacheLine(), openmsx::PhilipsFDC::getReadCacheLine(), openmsx::SanyoFDC::getReadCacheLine(), openmsx::SpectravideoFDC::getReadCacheLine(), openmsx::TalentTDC600::getReadCacheLine(), openmsx::ToshibaFDC::getReadCacheLine(), openmsx::TurboRFDC::getReadCacheLine(), openmsx::VictorFDC::getReadCacheLine(), openmsx::YamahaFDC::getReadCacheLine(), openmsx::BeerIDE::getReadCacheLine(), openmsx::SunriseIDE::getReadCacheLine(), openmsx::ColecoSuperGameModule::getReadCacheLine(), openmsx::MSXToshibaTcx200x::getReadCacheLine(), openmsx::MSXRS232::getReadCacheLine(), openmsx::MSXMusicWX::getReadCacheLine(), openmsx::MSXSCCPlusCart::getReadCacheLine(), and openmsx::YamahaSKW01::getReadCacheLine().

◆ unmappedWrite

std::array<byte, 0x10000> openmsx::MSXDevice::unmappedWrite
inlinestatic

Definition at line 307 of file MSXDevice.hh.

Referenced by openmsx::CanonFDC::getWriteCacheLine(), openmsx::NationalFDC::getWriteCacheLine(), openmsx::NowindInterface::getWriteCacheLine(), openmsx::PhilipsFDC::getWriteCacheLine(), openmsx::SanyoFDC::getWriteCacheLine(), openmsx::SpectravideoFDC::getWriteCacheLine(), openmsx::TalentTDC600::getWriteCacheLine(), openmsx::ToshibaFDC::getWriteCacheLine(), openmsx::TurboRFDC::getWriteCacheLine(), openmsx::VictorFDC::getWriteCacheLine(), openmsx::YamahaFDC::getWriteCacheLine(), openmsx::MegaSCSI::getWriteCacheLine(), openmsx::PioneerLDControl::getWriteCacheLine(), openmsx::ESE_RAM::getWriteCacheLine(), openmsx::KonamiUltimateCollection::getWriteCacheLine(), openmsx::MegaFlashRomSCCPlusSD::getWriteCacheLine(), openmsx::MSXMegaRam::getWriteCacheLine(), openmsx::MSXPac::getWriteCacheLine(), openmsx::MSXRom::getWriteCacheLine(), openmsx::ReproCartridgeV1::getWriteCacheLine(), openmsx::ReproCartridgeV2::getWriteCacheLine(), openmsx::RomAscii16kB::getWriteCacheLine(), openmsx::RomAscii8_8::getWriteCacheLine(), openmsx::RomAscii8kB::getWriteCacheLine(), openmsx::RomDooly::getWriteCacheLine(), openmsx::RomFSA1FM1::getWriteCacheLine(), openmsx::RomFSA1FM2::getWriteCacheLine(), openmsx::RomGameMaster2::getWriteCacheLine(), openmsx::RomGeneric16kB::getWriteCacheLine(), openmsx::RomGeneric8kB::getWriteCacheLine(), openmsx::RomHalnote::getWriteCacheLine(), openmsx::RomHarryFox::getWriteCacheLine(), openmsx::RomHolyQuran::getWriteCacheLine(), openmsx::RomHolyQuran2::getWriteCacheLine(), openmsx::RomKonami::getWriteCacheLine(), openmsx::RomKonamiSCC::getWriteCacheLine(), openmsx::RomManbow2::getWriteCacheLine(), openmsx::RomMatraCompilation::getWriteCacheLine(), openmsx::RomMitsubishiMLTS2::getWriteCacheLine(), openmsx::RomMSXDOS2::getWriteCacheLine(), openmsx::RomMSXtra::getWriteCacheLine(), openmsx::RomMSXWrite::getWriteCacheLine(), openmsx::RomNational::getWriteCacheLine(), openmsx::RomNeo16::getWriteCacheLine(), openmsx::RomNeo8::getWriteCacheLine(), openmsx::RomPanasonic::getWriteCacheLine(), openmsx::RomPlayBall::getWriteCacheLine(), openmsx::RomRamFile::getWriteCacheLine(), openmsx::RomRetroHard31in1::getWriteCacheLine(), openmsx::RomRType::getWriteCacheLine(), openmsx::RomSuperSwangi::getWriteCacheLine(), openmsx::RomSynthesizer::getWriteCacheLine(), openmsx::RomZemina126in1::getWriteCacheLine(), openmsx::RomZemina25in1::getWriteCacheLine(), openmsx::RomZemina80in1::getWriteCacheLine(), openmsx::RomZemina90in1::getWriteCacheLine(), openmsx::MSXModem::getWriteCacheLine(), openmsx::MSXFmPac::getWriteCacheLine(), openmsx::PanasonicAudioPeriphery::getWriteCacheLine(), openmsx::Y8950Periphery::getWriteCacheLine(), openmsx::ColecoSuperGameModule::getWriteCacheLine(), openmsx::MusicalMemoryMapper::getWriteCacheLine(), openmsx::PanasonicRam::getWriteCacheLine(), openmsx::MSXBunsetsu::getWriteCacheLine(), openmsx::MSXToshibaTcx200x::getWriteCacheLine(), openmsx::MSXRS232::getWriteCacheLine(), openmsx::MSXMusicWX::getWriteCacheLine(), openmsx::MSXSCCPlusCart::getWriteCacheLine(), openmsx::MSXYamahaSFG::getWriteCacheLine(), openmsx::YamahaSKW01::getWriteCacheLine(), and openmsx::PanasonicRam::writeIO().


The documentation for this class was generated from the following files: