OXYGENHUB
◆ main openmsx / src / memory / RomAlAlamiah30in1.hh
577 B · C++ · last changed chore(): initial commit 1 month ago source blame history raw
1
#ifndef ROMALALAMIAH30IN1_HH
2
#define ROMALALAMIAH30IN1_HH
3
4
#include "RomBlocks.hh"
5
6
namespace openmsx {
7
8
class RomAlAlamiah30in1 final : public Rom16kBBlocks
9
{
10
public:
11
	RomAlAlamiah30in1(const DeviceConfig& config, Rom&& rom);
12
	~RomAlAlamiah30in1() override;
13
14
	void reset(EmuTime time) override;
15
	void writeIO(uint16_t port, byte value, EmuTime time) override;
16
	[[nodiscard]] byte readIO(uint16_t port, EmuTime time) override;
17
18
	template<typename Archive>
19
	void serialize(Archive& ar, unsigned version);
20
21
private:
22
	bool mapperLocked = false;
23
};
24
25
} // namespace openmsx
26
27
#endif