openMSX
RomRetroHard31in1.hh
Go to the documentation of this file.
1#ifndef ROMRETROHARD31IN1_HH
2#define ROMRETROHARD31IN1_HH
3
4#include "RomBlocks.hh"
5
6namespace openmsx {
7
8class RomRetroHard31in1 final : public Rom16kBBlocks
9{
10public:
11 RomRetroHard31in1(const DeviceConfig& config, Rom&& rom);
12 ~RomRetroHard31in1() override;
13
14 void reset(EmuTime::param time) override;
15 void writeIO(word port, byte value, EmuTime::param time) override;
16 [[nodiscard]] byte* getWriteCacheLine(word address) override;
17};
18
19} // namespace openmsx
20
21#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.
void reset(EmuTime::param time) override
This method is called on reset.
byte * getWriteCacheLine(word address) override
Test that the memory in the interval [start, start + CacheLine::SIZE) is cacheable for writing.
This file implemented 3 utility functions:
Definition Autofire.cc:11
uint16_t word
16 bit unsigned integer
Definition openmsx.hh:29