41 typedef void (
Fdc::*CmdHandler)(void);
43 void write_data(
tUBYTE val);
66 int dsk_load(
const char *pchFileName,
int drv = 0,
char chID=
'A');
void setTimeout(int val)
Definition: fdc.h:78
int mResLength
Definition: fdc.h:93
tUWORD mReadStatusDelay
Definition: fdc.h:110
Drive * mActiveDrive
Definition: fdc.h:108
int mByteCount
Definition: fdc.h:90
Track * mActiveTrack
Definition: fdc.h:109
tUBYTE read_data()
Definition: fdc.cpp:384
int motor()
Definition: fdc.h:72
A floppy drive.
Definition: drive.h:29
int timeout()
Definition: fdc.h:77
int dsk_load(const char *pchFileName, int drv=0, char chID='A')
Definition: fdc.cpp:1182
void writeID()
Definition: fdc.cpp:782
Namespace for all CPC components.
Definition: colours.cpp:22
void recalib()
Definition: fdc.cpp:537
void addFlags(int flags)
Definition: fdc.h:75
void cmd_read()
Definition: fdc.cpp:1006
void seek()
Definition: fdc.cpp:597
tUWORD mBytesTransferred
Definition: fdc.h:111
Drive mDriveA
Definition: fdc.h:105
FILE * pfileObject
Definition: fdc.h:115
tUBYTE mCommand[12]
Definition: fdc.h:102
The floppy drive controller.
Definition: fdc.h:34
void read()
Definition: fdc.cpp:703
int cmdDirection()
Definition: fdc.h:80
Command table.
Definition: cmdtable.h:29
void cmd_scan()
Definition: fdc.cpp:1119
tUBYTE read_status()
Definition: fdc.cpp:349
void readtrk()
Definition: fdc.cpp:615
Fdc()
Definition: fdc.cpp:54
CmdTable mCmdTable
Definition: fdc.h:113
int mPhase
Definition: fdc.h:89
int mBufferCount
Definition: fdc.h:91
int mCmdLength
Definition: fdc.h:92
Sector * find_sector(tUBYTE *requested_CHRN)
Definition: fdc.cpp:899
A track of a disk.
Definition: track.h:32
tUBYTE * mBufferEndPtr
Definition: fdc.h:101
void drvstat()
Definition: fdc.cpp:515
A sector of a disk.
Definition: sector.h:29
tUBYTE mResult[8]
Definition: fdc.h:103
bool led()
Definition: fdc.h:82
void specify()
Definition: fdc.cpp:509
void check_unit()
Definition: fdc.cpp:870
Drive mDriveB
Definition: fdc.h:106
tUBYTE * pbGPBuffer
Definition: fdc.h:98
int mCmdDirection
Definition: fdc.h:94
void intstat()
Definition: fdc.cpp:543
#define ROLAND_DEFAULT
Definition: compspec.h:46
uint8_t tUBYTE
Definition: types.h:74
void readID()
Definition: fdc.cpp:741
void dsk_eject(int drv=0)
Definition: fdc.cpp:1405
bool mLed
Definition: fdc.h:87
void setMotor(int s)
Definition: fdc.h:73
uint16_t tUWORD
Definition: types.h:80
int mFlags
Definition: fdc.h:88
tUBYTE * mBufferPtr
Definition: fdc.h:100
int init_status_regs()
Definition: fdc.cpp:884
CmdHandler mCmdHandler
Definition: fdc.h:95
void write()
Definition: fdc.cpp:656
void cmd_readtrk()
Definition: fdc.cpp:1082
int flags()
Definition: fdc.h:74
void scan()
Definition: fdc.cpp:827
int phase()
Definition: fdc.h:76
int mMotor
Definition: fdc.h:86
int mTimeout
Definition: fdc.h:85
void cmd_write()
Definition: fdc.cpp:952