12 , controller(getScheduler(), drives, getCliComm(), getCurrentTime())
19 controller.
reset(time);
24 if (0x4000 <= address && address < 0x8000) {
28 if (address < 0x1000) {
40 if (0x4000 <= address && address < 0x8000) {
44 if (address < 0x1000) {
56 if (0x4000 <= start && start < 0x8000) {
69 if (address < 0x1000) {
73 }
else if (address < 0x2000) {
81 if (address < 0x2000) {
88template<
typename Archive>
91 ar.template serializeBase<MSXFDC>(*
this);
92 ar.serialize(
"TC8566AF", controller);
#define REGISTER_MSXDEVICE(CLASS, NAME)
static std::array< byte, 0x10000 > unmappedRead
static std::array< byte, 0x10000 > unmappedWrite
EmuTime::param getCurrentTime() const
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.
uint8_t peekStatus() const
void writeControlReg0(uint8_t value, EmuTime::param time)
void writeDataPort(uint8_t value, EmuTime::param time)
uint8_t peekDataPort(EmuTime::param time) const
void reset(EmuTime::param time)
uint8_t readDataPort(EmuTime::param time)
uint8_t readStatus(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 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.
byte * getWriteCacheLine(word address) override
Test that the memory in the interval [start, start + CacheLine::SIZE) is cacheable for writing.
void serialize(Archive &ar, unsigned version)
This file implemented 3 utility functions:
uint16_t word
16 bit unsigned integer
#define INSTANTIATE_SERIALIZE_METHODS(CLASS)