10 , rom(
std::move(rom_))
24std::string_view MSXRom::getMapperTypeString()
const
30 return mapper->getData();
An MSXDevice is an emulated hardware component connected to the bus of the emulated MSX.
static std::array< byte, 0x10000 > unmappedWrite
const XMLElement & getDeviceConfig() const
Get the configuration section for this device.
MSXRom(const DeviceConfig &config, Rom &&rom)
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.
void getExtraDeviceInfo(TclObject &result) const override
RomType getRomType() const
void getInfo(TclObject &result) const
Add dict values with info to result.
byte * getWriteCacheLine(word address) override
Test that the memory in the interval [start, start + CacheLine::SIZE) is cacheable for writing.
static RomType nameToRomType(std::string_view name)
const Sha1Sum & getSHA1() const
const Sha1Sum & getOriginalSHA1() const
std::string_view getFilename() const
std::string toString() const
void addDictKeyValue(const Key &key, const Value &value)
void addDictKeyValues(Args &&... args)
const XMLElement * findChild(std::string_view childName) const
This file implemented 3 utility functions:
uint16_t word
16 bit unsigned integer