12 , controller(getScheduler(), reinterpret_cast<
DiskDrive**>(drives),
13 getCliComm(), getCurrentTime())
20 controller.
reset(time);
25 if (0x4000 <= address && address < 0x8000) {
29 if (address < 0x1000) {
41 if (0x4000 <= address && address < 0x8000) {
45 if (address < 0x1000) {
57 if (0x4000 <= start && start < 0x8000) {
70 if (address < 0x1000) {
74 }
else if (address < 0x2000) {
82 if (address < 0x2000) {
89 template<
typename Archive>
92 ar.template serializeBase<MSXFDC>(*
this);
93 ar.serialize(
"TC8566AF", controller);
This (abstract) class defines the DiskDrive interface.
static byte unmappedRead[0x10000]
EmuTime::param getCurrentTime() const
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.
byte readMem(word address, EmuTime::param time) override
Read a byte from a location at a certain time from this device.
void writeDataPort(byte value, EmuTime::param time)
byte peekDataPort(EmuTime::param time) const
byte readDataPort(EmuTime::param time)
byte readStatus(EmuTime::param time)
void reset(EmuTime::param time)
void writeControlReg0(byte value, EmuTime::param time)
TalentTDC600(const DeviceConfig &config)
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 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 * getWriteCacheLine(word address) const override
Test that the memory in the interval [start, start + CacheLine::SIZE) is cacheable for writing.
byte peekMem(word address, EmuTime::param time) const override
Read a byte from a given memory location.
byte readMem(word address, EmuTime::param time) override
Read a byte from a location at a certain time from this device.
void serialize(Archive &ar, unsigned version)
This file implemented 3 utility functions:
REGISTER_MSXDEVICE(ChakkariCopy, "ChakkariCopy")
uint16_t word
16 bit unsigned integer
#define INSTANTIATE_SERIALIZE_METHODS(CLASS)