openMSX
RomZemina126in1.hh
Go to the documentation of this file.
1#ifndef ROMZEMINA126IN1_HH
2#define ROMZEMINA126IN1_HH
3
4#include "RomBlocks.hh"
5
6namespace openmsx {
7
8class RomZemina126in1 final : public Rom16kBBlocks
9{
10public:
11 RomZemina126in1(const DeviceConfig& config, Rom&& rom);
12
13 void reset(EmuTime::param time) override;
14 void writeMem(word address, byte value, EmuTime::param time) override;
15 [[nodiscard]] byte* getWriteCacheLine(word address) override;
16};
17
18} // namespace openmsx
19
20#endif
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.
void writeMem(word address, byte value, EmuTime::param time) override
Write a given byte to a given location at a certain time to this device.
This file implemented 3 utility functions:
Definition Autofire.cc:11
uint16_t word
16 bit unsigned integer
Definition openmsx.hh:29