16 switch (address & 0x3FC7) {
44 switch (address & 0x3FC7) {
67 if (address < 0x8000) {
81 }
else if (start < 0x8000) {
91 switch (address & 0x3FC7) {
137 template<
typename Archive>
140 ar.template serializeBase<WD2793BasedFDC>(*
this);
void setMotor(bool status, EmuTime::param time) override
Set motor on/off.
void selectDrive(DriveNum num, EmuTime::param time)
void setSide(bool side) override
Side select.
static byte unmappedRead[0x10000]
static byte unmappedWrite[0x10000]
byte peekMem(word address, EmuTime::param time) const override
Read a byte from a given memory location.
const byte * getReadCacheLine(word start) const override
Test that the memory in the interval [start, start + CacheLine::SIZE) is cacheable for reading.
void serialize(Archive &ar, unsigned version)
byte * getWriteCacheLine(word address) const override
Test that the memory in the interval [start, start + CacheLine::SIZE) is cacheable for writing.
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.
NationalFDC(const DeviceConfig &config)
byte peekMem(word address, EmuTime::param time) const override
Read a byte from a given memory location.
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.
DriveMultiplexer multiplexer
bool peekIRQ(EmuTime::param time) const
byte peekStatusReg(EmuTime::param time) const
byte getTrackReg(EmuTime::param time) const
byte getDataReg(EmuTime::param time)
byte getSectorReg(EmuTime::param time) const
bool peekDTRQ(EmuTime::param time) const
bool getDTRQ(EmuTime::param time) const
byte getStatusReg(EmuTime::param time)
byte peekTrackReg(EmuTime::param time) const
void setTrackReg(byte value, EmuTime::param time)
void setDataReg(byte value, EmuTime::param time)
byte peekDataReg(EmuTime::param time) const
void setCommandReg(byte value, EmuTime::param time)
bool getIRQ(EmuTime::param time) const
void setSectorReg(byte value, EmuTime::param time)
byte peekSectorReg(EmuTime::param time) const
This file implemented 3 utility functions:
REGISTER_MSXDEVICE(ChakkariCopy, "ChakkariCopy")
uint16_t word
16 bit unsigned integer
#define INSTANTIATE_SERIALIZE_METHODS(CLASS)