|
openMSX
|
#include <TC8566AF.hh>


Public Member Functions | |
| TC8566AF (Scheduler &scheduler, DiskDrive *drive[4], CliComm &cliComm, EmuTime::param time) | |
| void | reset (EmuTime::param time) |
| byte | readReg (int reg, EmuTime::param time) |
| byte | peekReg (int reg, EmuTime::param time) const |
| void | writeReg (int reg, byte data, EmuTime::param time) |
| bool | diskChanged (unsigned driveNum) |
| bool | peekDiskChanged (unsigned driveNum) const |
| template<typename Archive > | |
| void | serialize (Archive &ar, unsigned version) |
Public Member Functions inherited from openmsx::Schedulable | |
| virtual void | executeUntil (EmuTime::param time, int userData)=0 |
| When the previously registered syncPoint is reached, this method gets called. | |
| virtual void | schedulerDeleted () |
| Just before the the Scheduler is deleted, it calls this method of all the Schedulables that are still registered. | |
| Scheduler & | getScheduler () const |
| EmuTime::param | getCurrentTime () const |
| Convenience method: This is the same as getScheduler().getCurrentTime(). | |
Additional Inherited Members | |
Protected Member Functions inherited from openmsx::Schedulable | |
| Schedulable (Scheduler &scheduler) | |
| virtual | ~Schedulable () |
| void | setSyncPoint (EmuTime::param timestamp, int userData=0) |
| bool | removeSyncPoint (int userData=0) |
| void | removeSyncPoints () |
| bool | pendingSyncPoint (int userData=0) const |
Definition at line 17 of file TC8566AF.hh.
Definition at line 34 of file TC8566AF.hh.
Definition at line 52 of file TC8566AF.hh.
| openmsx::TC8566AF::TC8566AF | ( | Scheduler & | scheduler, |
| DiskDrive * | drive[4], | ||
| CliComm & | cliComm, | ||
| EmuTime::param | time | ||
| ) |
Definition at line 62 of file TC8566AF.cc.
References reset().
| bool openmsx::TC8566AF::diskChanged | ( | unsigned | driveNum | ) |
Definition at line 784 of file TC8566AF.cc.
References openmsx::DiskDrive::diskChanged().
| bool openmsx::TC8566AF::peekDiskChanged | ( | unsigned | driveNum | ) | const |
Definition at line 790 of file TC8566AF.cc.
References openmsx::DiskDrive::peekDiskChanged().
| byte openmsx::TC8566AF::peekReg | ( | int | reg, |
| EmuTime::param | time | ||
| ) | const |
Definition at line 116 of file TC8566AF.cc.
| byte openmsx::TC8566AF::readReg | ( | int | reg, |
| EmuTime::param | time | ||
| ) |
Definition at line 127 of file TC8566AF.cc.
| void openmsx::TC8566AF::reset | ( | EmuTime::param | time | ) |
Definition at line 81 of file TC8566AF.cc.
References CMD_UNKNOWN, PHASE_IDLE, openmsx::DiskDrive::setMotor(), and openmsx::EmuTime::zero.
Referenced by TC8566AF().
| void openmsx::TC8566AF::serialize | ( | Archive & | ar, |
| unsigned | version | ||
| ) |
Reimplemented from openmsx::Schedulable.
Definition at line 853 of file TC8566AF.cc.
References CMD_FORMAT, CMD_READ_DATA, CMD_WRITE_DATA, openmsx::EmuTime::dummy(), openmsx::CRC16::getValue(), openmsx::CRC16::init(), PHASE_DATATRANSFER, openmsx::CliComm::printWarning(), openmsx::DynamicClock::reset(), openmsx::DynamicClock::setFreq(), and openmsx::EmuTime::zero.
| void openmsx::TC8566AF::writeReg | ( | int | reg, |
| byte | data, | ||
| EmuTime::param | time | ||
| ) |
Definition at line 317 of file TC8566AF.cc.
References openmsx::DiskDrive::setMotor().
1.8.1.2