10 , panasonicMemory(getMotherBoard().getPanasonicMemory())
39 const byte* rData = data;
47 template<
typename Archive>
50 ar.template serializeBase<MSXMemoryMapperBase>(*
this);
byte * getRWCacheLines(unsigned addr, unsigned size) const
Ram & getUncheckedRam()
Give access to the unchecked Ram.
void write(unsigned addr, byte value)
byte * getWriteCacheLine(unsigned addr) const
void fillDeviceRWCache(unsigned start, unsigned size, byte *rwData)
Calls MSXCPUInterface::fillXXCache() for the specific (part of) the slot that this device is located ...
void invalidateDeviceRWCache()
Calls MSXCPUInterface::invalidateXXCache() for the specific (part of) the slot that this device is lo...
static byte unmappedWrite[0x10000]
unsigned calcAddress(word address) const
Converts a Z80 address to a RAM address.
void writeIOImpl(word port, byte value, EmuTime::param time)
unsigned segmentOffset(byte page) const
void registerRam(Ram &ram)
Pass reference of the actual Ram block for use in DRAM mode and RAM access via the ROM mapper.
bool isWritable(unsigned address) const
void serialize(Archive &ar, unsigned version)
byte * getWriteCacheLine(word start) const override
Test that the memory in the interval [start, start + CacheLine::SIZE) is cacheable for writing.
void writeMem(word address, byte value, EmuTime::param time) override
Write a given byte to a given location at a certain time to this device.
void writeIO(word port, byte value, EmuTime::param time) override
Write a byte to a given IO port at a certain time to this device.
PanasonicRam(const DeviceConfig &config)
This file implemented 3 utility functions:
REGISTER_MSXDEVICE(ChakkariCopy, "ChakkariCopy")
uint16_t word
16 bit unsigned integer
#define INSTANTIATE_SERIALIZE_METHODS(CLASS)