| e8555c89 Andy McCall |
1 |
#ifndef ROMASCII8KB_HH |
| 2 |
#define ROMASCII8KB_HH |
| 3 |
|
| 4 |
#include "RomBlocks.hh" |
| 5 |
|
| 6 |
namespace openmsx { |
| 7 |
|
| 8 |
class RomAscii8kB : public Rom8kBBlocks |
| 9 |
{ |
| 10 |
public: |
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
RomAscii8kB(const DeviceConfig& config, Rom&& rom, |
| 15 |
bool reversedRegs = false); |
| 16 |
|
| 17 |
void reset(EmuTime time) override; |
| 18 |
void writeMem(uint16_t address, byte value, EmuTime time) override; |
| 19 |
[[nodiscard]] byte* getWriteCacheLine(uint16_t address) override; |
| 20 |
|
| 21 |
private: |
| 22 |
const bool reversedRegs; |
| 23 |
}; |
| 24 |
|
| 25 |
} |
| 26 |
|
| 27 |
#endif |