openMSX
RomHarryFox.hh
Go to the documentation of this file.
1 #ifndef ROMHARRYFOX_HH
2 #define ROMHARRYFOX_HH
3 
4 #include "RomBlocks.hh"
5 
6 namespace openmsx {
7 
8 class RomHarryFox : public Rom16kBBlocks
9 {
10 public:
11  RomHarryFox(const DeviceConfig& config, std::unique_ptr<Rom> rom);
12 
13  virtual void reset(EmuTime::param time);
14  virtual void writeMem(word address, byte value, EmuTime::param time);
15  virtual byte* getWriteCacheLine(word address) const;
16 };
17 
18 } // namespace openmsx
19 
20 #endif
RomHarryFox(const DeviceConfig &config, std::unique_ptr< Rom > rom)
Definition: RomHarryFox.cc:16
unsigned char byte
8 bit unsigned integer
Definition: openmsx.hh:33
virtual void writeMem(word address, byte value, EmuTime::param time)
Write a given byte to a given location at a certain time to this device.
Definition: RomHarryFox.cc:30
virtual byte * getWriteCacheLine(word address) const
Test that the memory in the interval [start, start + CacheLine::SIZE) is cacheable for writing...
Definition: RomHarryFox.cc:39
unsigned short word
16 bit unsigned integer
Definition: openmsx.hh:38
virtual void reset(EmuTime::param time)
This method is called on reset.
Definition: RomHarryFox.cc:22
const std::unique_ptr< Rom > rom
Definition: MSXRom.hh:24