openMSX
RomSuperLodeRunner.hh
Go to the documentation of this file.
1 #ifndef ROMSUPERLODERUNNER_HH
2 #define ROMSUPERLODERUNNER_HH
3 
4 #include "RomBlocks.hh"
5 #include "MSXCPUInterface.hh"
6 
7 namespace openmsx {
8 
9 class RomSuperLodeRunner final
10  : public Rom16kBBlocks
11  , public GlobalWriteClient<RomSuperLodeRunner, CT_Interval<0x0000>>
12 {
13 public:
14  RomSuperLodeRunner(const DeviceConfig& config, Rom&& rom);
15 
16  void reset(EmuTime::param time) override;
17  void globalWrite(word address, byte value, EmuTime::param time) override;
18 };
19 
20 } // namespace openmsx
21 
22 #endif
openmsx::RomSuperLodeRunner::reset
void reset(EmuTime::param time) override
This method is called on reset.
Definition: RomSuperLodeRunner.cc:14
openmsx::RomSuperLodeRunner
Definition: RomSuperLodeRunner.hh:9
openmsx::RomSuperLodeRunner::RomSuperLodeRunner
RomSuperLodeRunner(const DeviceConfig &config, Rom &&rom)
Definition: RomSuperLodeRunner.cc:7
openmsx::DeviceConfig
Definition: DeviceConfig.hh:19
openmsx::RomSuperLodeRunner::globalWrite
void globalWrite(word address, byte value, EmuTime::param time) override
Global writes.
Definition: RomSuperLodeRunner.cc:22
openmsx::GlobalWriteClient
Definition: MSXCPUInterface.hh:485
openmsx::RomBlocks
Definition: RomBlocks.hh:13
openmsx::MSXRom::rom
Rom rom
Definition: MSXRom.hh:20
openmsx::Rom
Definition: Rom.hh:20
openmsx::word
uint16_t word
16 bit unsigned integer
Definition: openmsx.hh:29
MSXCPUInterface.hh
openmsx
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5
RomBlocks.hh