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