24 void reset(EmuTime::param time)
override;
30 [[nodiscard]]
byte readIO(
word port, EmuTime::param time)
override;
34 void writeIO(
word port,
byte value, EmuTime::param time)
override;
40 [[nodiscard]]
byte readMem(
word address, EmuTime::param time)
override;
46 void writeMem(
word address,
byte value, EmuTime::param time)
override;
48 template<
typename Archive>
49 void serialize(Archive& ar,
unsigned version);
53 [[nodiscard]]
inline unsigned calcAddress(
word address)
const;
Implementation of direct cpu access to VRAM.
void writeMem(word address, byte value, EmuTime::param time) override
Write a given byte at a certain time to a given location in the video ram.
void writeIO(word port, byte value, EmuTime::param time) override
Write a byte to a given IO port, set mapper register.
byte readMem(word address, EmuTime::param time) override
Read a byte from a location in the video ram at a certain time.
byte readIO(word port, EmuTime::param time) override
Read a byte from an IO port, change mode bits.
void reset(EmuTime::param time) override
This method is called on reset.
void serialize(Archive &ar, unsigned version)
An MSXDevice is an emulated hardware component connected to the bus of the emulated MSX.
Manages VRAM contents and synchronizes the various users of the VRAM.
Unified implementation of MSX Video Display Processors (VDPs).
This file implemented 3 utility functions:
uint16_t word
16 bit unsigned integer