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