| 1 |
#ifndef ROMMATRACOMPILATION_HH |
| 2 |
#define ROMMATRACOMPILATION_HH |
| 3 |
|
| 4 |
#include "RomBlocks.hh" |
| 5 |
|
| 6 |
namespace openmsx { |
| 7 |
|
| 8 |
class RomMatraCompilation final : public Rom8kBBlocks |
| 9 |
{ |
| 10 |
public: |
| 11 |
RomMatraCompilation(const DeviceConfig& config, Rom&& rom); |
| 12 |
|
| 13 |
void reset(EmuTime time) override; |
| 14 |
void writeMem(uint16_t address, byte value, EmuTime time) override; |
| 15 |
[[nodiscard]] byte* getWriteCacheLine(uint16_t address) override; |
| 16 |
|
| 17 |
template<typename Archive> |
| 18 |
void serialize(Archive& ar, unsigned version); |
| 19 |
|
| 20 |
private: |
| 21 |
byte blockOffset; |
| 22 |
}; |
| 23 |
|
| 24 |
} |
| 25 |
|
| 26 |
#endif |