1 #ifndef PANASONICMEMORY_HH
2 #define PANASONICMEMORY_HH
25 [[nodiscard]]
const byte*
getRomBlock(
unsigned block);
26 [[nodiscard]]
const byte*
getRomRange(
unsigned first,
unsigned last);
32 [[nodiscard]]
unsigned getRamSize()
const {
return ramSize; }
34 [[nodiscard]]
bool isWritable(
unsigned address)
const;
39 const std::unique_ptr<Rom> rom;
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
const byte * getRomBlock(unsigned block)
PanasonicMemory(MSXMotherBoard &motherBoard)
const byte * getRomRange(unsigned first, unsigned last)
unsigned getRamSize() const
byte * getRamBlock(unsigned block)
Note that this is always unchecked RAM! There is no UMR detection when accessing Ram in DRAM mode or ...
This file implemented 3 utility functions: