openMSX
RomZemina90in1.hh
Go to the documentation of this file.
1#ifndef ROMZEMINA90IN1_HH
2#define ROMZEMINA90IN1_HH
3
4#include "RomBlocks.hh"
5
6namespace openmsx {
7
8class RomZemina90in1 final : public Rom8kBBlocks
9{
10public:
11 RomZemina90in1(const DeviceConfig& config, Rom&& rom);
12 ~RomZemina90in1() 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
byte * getWriteCacheLine(word address) override
Test that the memory in the interval [start, start + CacheLine::SIZE) is cacheable for writing.
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.
This file implemented 3 utility functions:
Definition Autofire.cc:11
uint16_t word
16 bit unsigned integer
Definition openmsx.hh:29