OXYGENHUB
◆ main openmsx / src / memory / RomWonderKid.hh
561 B · C++ · last changed chore(): initial commit 1 month ago source blame history raw
1
#ifndef ROMWONDERKID_HH
2
#define ROMWONDERKID_HH
3
4
#include "RomBlocks.hh"
5
6
namespace openmsx {
7
8
class RomWonderKid final : public Rom16kBBlocks
9
{
10
public:
11
	RomWonderKid(const DeviceConfig& config, Rom&& rom);
12
13
	void reset(EmuTime time) override;
14
	[[nodiscard]] byte peekMem(uint16_t address, EmuTime time) const override;
15
	[[nodiscard]] byte readMem(uint16_t address, EmuTime time) override;
16
	void writeMem(uint16_t address, byte value, EmuTime time) override;
17
	[[nodiscard]] byte* getWriteCacheLine(uint16_t address) override;
18
};
19
20
} // namespace openmsx
21
22
#endif