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