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