9 , rom(getName() +
" ROM",
"rom", config)
12 reset(EmuTime::dummy());
22 switch (port & 0x03) {
36 switch (port & 0x03) {
50 switch (port & 0x03) {
72 return &rom[start & (rom.
size() - 1)];
76template<
typename Archive>
79 ar.template serializeBase<MSXDevice>(*
this);
80 ar.serialize(
"WD33C93", wd33c93);
#define REGISTER_MSXDEVICE(CLASS, NAME)
void serialize(Archive &ar, unsigned version)
byte peekIO(word port, EmuTime::param time) const override
Read a byte from a given IO port.
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.
GoudaSCSI(const DeviceConfig &config)
void reset(EmuTime::param time) override
This method is called on reset.
const byte * getReadCacheLine(word start) const override
Test that the memory in the interval [start, start + CacheLine::SIZE) is cacheable for reading.
byte readMem(word address, EmuTime::param time) override
Read a byte from a location at a certain time from this device.
byte readIO(word port, EmuTime::param time) override
Read a byte from an IO port at a certain time from this device.
An MSXDevice is an emulated hardware component connected to the bus of the emulated MSX.
void reset(bool scsiReset)
void writeAdr(uint8_t value)
uint8_t peekAuxStatus() const
void writeCtrl(uint8_t value)
This file implemented 3 utility functions:
uint16_t word
16 bit unsigned integer
#define INSTANTIATE_SERIALIZE_METHODS(CLASS)