openMSX
RomKonamiKeyboardMaster.hh
Go to the documentation of this file.
1#ifndef ROMKONAMIKEYBOARDMASTER_HH
2#define ROMKONAMIKEYBOARDMASTER_HH
3
4#include "RomBlocks.hh"
5#include "VLM5030.hh"
6
7namespace openmsx {
8
10{
11public:
13 ~RomKonamiKeyboardMaster() override;
14
15 void reset(EmuTime::param time) override;
16 void writeIO(word port, byte value, EmuTime::param time) override;
17 [[nodiscard]] byte readIO(word port, EmuTime::param time) override;
18 [[nodiscard]] byte peekIO(word port, EmuTime::param time) const override;
19
20 template<typename Archive>
21 void serialize(Archive& ar, unsigned version);
22
23private:
24 VLM5030 vlm5030;
25};
26
27} // namespace openmsx
28
29#endif
void serialize(Archive &ar, unsigned version)
byte peekIO(word port, EmuTime::param time) const override
Read a byte from a given IO port.
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.
This file implemented 3 utility functions:
Definition Autofire.cc:11
uint16_t word
16 bit unsigned integer
Definition openmsx.hh:29