| e8555c89 Andy McCall |
1 |
#ifndef ROMKONAMIKEYBOARDMASTER_HH |
| 2 |
#define ROMKONAMIKEYBOARDMASTER_HH |
| 3 |
|
| 4 |
#include "RomBlocks.hh" |
| 5 |
#include "VLM5030.hh" |
| 6 |
|
| 7 |
namespace openmsx { |
| 8 |
|
| 9 |
class RomKonamiKeyboardMaster final : public Rom16kBBlocks |
| 10 |
{ |
| 11 |
public: |
| 12 |
RomKonamiKeyboardMaster(DeviceConfig& config, Rom&& rom); |
| 13 |
~RomKonamiKeyboardMaster() override; |
| 14 |
|
| 15 |
void reset(EmuTime time) override; |
| 16 |
void writeIO(uint16_t port, byte value, EmuTime time) override; |
| 17 |
[[nodiscard]] byte readIO(uint16_t port, EmuTime time) override; |
| 18 |
[[nodiscard]] byte peekIO(uint16_t port, EmuTime time) const override; |
| 19 |
|
| 20 |
template<typename Archive> |
| 21 |
void serialize(Archive& ar, unsigned version); |
| 22 |
|
| 23 |
private: |
| 24 |
VLM5030 vlm5030; |
| 25 |
}; |
| 26 |
|
| 27 |
} |
| 28 |
|
| 29 |
#endif |