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
void globalWrite(word address, byte value, EmuTime::param time) override
Global writes.
uint8_t byte
8 bit unsigned integer
Definition: openmsx.hh:26
RomSuperLodeRunner(const DeviceConfig &config, Rom &&rom)
void reset(EmuTime::param time) override
This method is called on reset.
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5
uint16_t word
16 bit unsigned integer
Definition: openmsx.hh:29