openMSX
RomAlAlamiah30in1.hh
Go to the documentation of this file.
1#ifndef ROMALALAMIAH30IN1_HH
2#define ROMALALAMIAH30IN1_HH
3
4#include "RomBlocks.hh"
5
6namespace openmsx {
7
8class RomAlAlamiah30in1 final : public Rom16kBBlocks
9{
10public:
11 RomAlAlamiah30in1(const DeviceConfig& config, Rom&& rom);
12 ~RomAlAlamiah30in1() override;
13
14 void reset(EmuTime::param time) override;
15 void writeIO(word port, byte value, EmuTime::param time) override;
16 [[nodiscard]] byte readIO(word port, EmuTime::param time) override;
17
18 template<typename Archive>
19 void serialize(Archive& ar, unsigned version);
20
21private:
22 bool mapperLocked = false;
23};
24
25} // namespace openmsx
26
27#endif
void writeIO(word port, byte value, EmuTime::param time) override
Write a byte to a given IO port at a certain time to this device.
byte readIO(word port, EmuTime::param time) override
Read a byte from an IO port at a certain time from this device.
void reset(EmuTime::param time) override
This method is called on reset.
void serialize(Archive &ar, unsigned version)
This file implemented 3 utility functions:
Definition Autofire.cc:11
uint16_t word
16 bit unsigned integer
Definition openmsx.hh:29