openMSX
|
#include <PanasonicMemory.hh>
Public Member Functions | |
PanasonicMemory (MSXMotherBoard &motherBoard) | |
void | registerRam (Ram &ram) |
Pass reference of the actual Ram block for use in DRAM mode and RAM access via the ROM mapper. More... | |
const byte * | getRomBlock (unsigned block) |
const byte * | getRomRange (unsigned first, unsigned last) |
byte * | getRamBlock (unsigned block) |
Note that this is always unchecked RAM! There is no UMR detection when accessing Ram in DRAM mode or via the ROM mapper! More... | |
unsigned | getRamSize () const |
void | setDRAM (bool dram) |
bool | isWritable (unsigned address) const |
Definition at line 14 of file PanasonicMemory.hh.
|
explicit |
Definition at line 14 of file PanasonicMemory.cc.
References openmsx::MSXMotherBoard::getMachineConfig().
byte * openmsx::PanasonicMemory::getRamBlock | ( | unsigned | block | ) |
Note that this is always unchecked RAM! There is no UMR detection when accessing Ram in DRAM mode or via the ROM mapper!
Definition at line 80 of file PanasonicMemory.cc.
Referenced by openmsx::RomPanasonic::RomPanasonic().
|
inline |
Definition at line 31 of file PanasonicMemory.hh.
Referenced by openmsx::RomPanasonic::RomPanasonic().
const byte * openmsx::PanasonicMemory::getRomBlock | ( | unsigned | block | ) |
Definition at line 36 of file PanasonicMemory.cc.
Referenced by openmsx::RomDRAM::getReadCacheLine(), and openmsx::RomDRAM::RomDRAM().
const byte * openmsx::PanasonicMemory::getRomRange | ( | unsigned | first, |
unsigned | last | ||
) |
Definition at line 58 of file PanasonicMemory.cc.
bool openmsx::PanasonicMemory::isWritable | ( | unsigned | address | ) | const |
Definition at line 99 of file PanasonicMemory.cc.
Referenced by openmsx::PanasonicRam::getWriteCacheLine(), openmsx::PanasonicRam::writeIO(), and openmsx::PanasonicRam::writeMem().
void openmsx::PanasonicMemory::registerRam | ( | Ram & | ram | ) |
Pass reference of the actual Ram block for use in DRAM mode and RAM access via the ROM mapper.
Note that this is always unchecked Ram!
Definition at line 30 of file PanasonicMemory.cc.
References openmsx::Ram::getSize().
Referenced by openmsx::PanasonicRam::PanasonicRam().
void openmsx::PanasonicMemory::setDRAM | ( | bool | dram | ) |
Definition at line 91 of file PanasonicMemory.cc.
References openmsx::MSXCPU::invalidateAllSlotsRWCache().