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
#include <span>
8
9
namespace
openmsx
{
10
11
class
RomPlain
final :
public
Rom8kBBlocks
12
{
13
public
:
14
RomPlain
(
const
DeviceConfig
& config,
Rom
&&
rom
,
RomType
type);
15
[[nodiscard]]
unsigned
getBaseSizeAlignment
()
const override
;
16
17
private
:
18
void
guessHelper(
unsigned
offset, std::span<int, 3> pages)
const
;
19
[[nodiscard]]
unsigned
guessLocation(
unsigned
windowBase,
unsigned
windowSize)
const
;
20
};
21
22
}
// namespace openmsx
23
24
#endif
RomBlocks.hh
RomTypes.hh
openmsx::DeviceConfig
Definition
DeviceConfig.hh:21
openmsx::MSXRom::rom
Rom rom
Definition
MSXRom.hh:32
openmsx::RomBlocks
Definition
RomBlocks.hh:15
openmsx::RomPlain
Definition
RomPlain.hh:12
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:161
openmsx::Rom
Definition
Rom.hh:25
openmsx
This file implemented 3 utility functions:
Definition
Autofire.cc:11
openmsx::RomType
RomType
Definition
RomTypes.hh:6
Generated on Sat Dec 7 2024 13:14:02 for openMSX by
1.9.8