15 void reset(EmuTime::param time)
override;
16 void writeIO(
word port,
byte value, EmuTime::param time)
override;
18 template<
typename Archive>
19 void serialize(Archive& ar,
unsigned version);
25 enum DisplayType {HEX, BIN, DEC, ASC};
27 void outputSingleByte(
byte value, EmuTime::param time);
28 void outputMultiByte(
byte value);
29 void displayByte(
byte value, DisplayType type);
30 void openOutput(std::string_view name);
33 FilenameSetting fileNameSetting;
34 std::ostream* outputStrm;
35 std::ofstream debugOut;
36 std::string fileNameString;
void reset(EmuTime::param time) override
This method is called on reset.
DebugDevice(const DeviceConfig &config)
void serialize(Archive &ar, unsigned version)
void writeIO(word port, byte value, EmuTime::param time) override
Write a byte to a given IO port at a certain time to this device.
An MSXDevice is an emulated hardware component connected to the bus of the emulated MSX.
This file implemented 3 utility functions:
uint16_t word
16 bit unsigned integer