openMSX
memory
RomPlain.hh
Go to the documentation of this file.
1
#ifndef ROMPLAIN_HH
2
#define ROMPLAIN_HH
3
4
#include "
RomBlocks.hh
"
5
#include "
RomTypes.hh
"
6
7
namespace
openmsx
{
8
9
class
RomPlain
final :
public
Rom8kBBlocks
10
{
11
public
:
12
RomPlain
(
const
DeviceConfig
& config,
Rom
&&
rom
,
RomType
type);
13
[[nodiscard]]
unsigned
getBaseSizeAlignment
()
const override
;
14
15
private
:
16
void
guessHelper(
unsigned
offset,
int
* pages);
17
[[nodiscard]]
unsigned
guessLocation(
unsigned
windowBase,
unsigned
windowSize);
18
};
19
20
}
// namespace openmsx
21
22
#endif
RomBlocks.hh
RomTypes.hh
openmsx::DeviceConfig
Definition:
DeviceConfig.hh:20
openmsx::MSXRom::rom
Rom rom
Definition:
MSXRom.hh:21
openmsx::RomBlocks
Definition:
RomBlocks.hh:14
openmsx::RomPlain
Definition:
RomPlain.hh:10
openmsx::RomPlain::getBaseSizeAlignment
unsigned getBaseSizeAlignment() const override
The 'base' and 'size' attribute values need to be at least aligned to CacheLine::SIZE.
Definition:
RomPlain.cc:155
openmsx::RomPlain::RomPlain
RomPlain(const DeviceConfig &config, Rom &&rom, RomType type)
Definition:
RomPlain.cc:24
openmsx::Rom
Definition:
Rom.hh:23
openmsx
This file implemented 3 utility functions:
Definition:
Autofire.cc:5
openmsx::RomType
RomType
Definition:
RomTypes.hh:6
Generated on Fri Feb 26 2021 22:13:45 for openMSX by
1.9.1