openMSX
memory
RomDRAM.hh
Go to the documentation of this file.
1
#ifndef ROMDRAM_HH
2
#define ROMDRAM_HH
3
4
#include "
MSXRom.hh
"
5
6
namespace
openmsx
{
7
8
class
PanasonicMemory;
9
10
class
RomDRAM
final :
public
MSXRom
11
{
12
public
:
13
RomDRAM
(
const
DeviceConfig
& config,
Rom
&&
rom
);
14
15
[[nodiscard]]
byte
readMem
(
word
address, EmuTime::param time)
override
;
16
[[nodiscard]]
const
byte
*
getReadCacheLine
(
word
address)
const override
;
17
18
private
:
19
PanasonicMemory
& panasonicMemory;
20
const
unsigned
baseAddr;
21
};
22
23
}
// namespace openmsx
24
25
#endif
MSXRom.hh
openmsx::DeviceConfig
Definition
DeviceConfig.hh:21
openmsx::MSXRom
Definition
MSXRom.hh:11
openmsx::MSXRom::rom
Rom rom
Definition
MSXRom.hh:32
openmsx::PanasonicMemory
Definition
PanasonicMemory.hh:15
openmsx::RomDRAM
Definition
RomDRAM.hh:11
openmsx::RomDRAM::getReadCacheLine
const byte * getReadCacheLine(word address) const override
Test that the memory in the interval [start, start + CacheLine::SIZE) is cacheable for reading.
Definition
RomDRAM.cc:30
openmsx::RomDRAM::readMem
byte readMem(word address, EmuTime::param time) override
Read a byte from a location at a certain time from this device.
Definition
RomDRAM.cc:25
openmsx::Rom
Definition
Rom.hh:25
openmsx
This file implemented 3 utility functions:
Definition
Autofire.cc:11
openmsx::word
uint16_t word
16 bit unsigned integer
Definition
openmsx.hh:29
Generated on Sat Dec 7 2024 13:14:02 for openMSX by
1.9.8