Go to the documentation of this file.
10 #define FDCSELREG_STP (0x80)
11 #define FDCSELREG_TRA (0x82)
12 #define FDCSELREG_SEC (0x84)
13 #define FDCSELREG_DTA (0x86)
18 #define FDCREG_STATUS 0
19 #define FDCREG_TRACK 2
20 #define FDCREG_SECTOR 4
25 #define FDCCMD_RESTORE (0x00)
26 #define FDCCMD_SEEK (0x10)
27 #define FDCCMD_STEP (0x20)
28 #define FDCCMD_STIN (0x40)
29 #define FDCCMD_STOT (0x60)
30 #define FDCCMD_RDSEC (0x80)
31 #define FDCCMD_WRSEC (0xa0)
32 #define FDCCMD_RDADR (0xc0)
33 #define FDCCMD_RDTRA (0xe0)
34 #define FDCCMD_WRTRA (0xf0)
35 #define FDCCMD_FORCI (0xd0)
39 #define FDCCMDADD_SR6 (0x00)
40 #define FDCCMDADD_SR12 (0x01)
41 #define FDCCMDADD_SR2 (0x02)
42 #define FDCCMDADD_SR3 (0x03)
43 #define FDCCMDADD_V (0x04)
44 #define FDCCMDADD_H (0x08)
45 #define FDCCMDADD_U (0x10)
46 #define FDCCMDADD_M (0x10)
47 #define FDCCMDADD_E (0x04)
48 #define FDCCMDADD_P (0x02)
49 #define FDCCMDADD_A0 (0x01)
53 #define FDCSTAT_MOTORON (0x80)
54 #define FDCSTAT_WPROT (0x40)
55 #define FDCSTAT_SPINUP (0x20)
56 #define FDCSTAT_DELDAM (0x20)
57 #define FDCSTAT_RECNF (0x10)
58 #define FDCSTAT_CRC (0x08)
59 #define FDCSTAT_TR00 (0x04)
60 #define FDCSTAT_LOST (0x04)
61 #define FDCSTAT_IDX (0x02)
62 #define FDCSTAT_DRQ (0x02)
63 #define FDCSTAT_BUSY (0x01)
67 #define DSKSIDE (0x01)
69 #define DSKDRVNONE (0x06)
70 #define DSKDRV0 (0x02)
71 #define DSKDRV1 (0x04)
74 #define FDCSTEP_6 0x00
75 #define FDCSTEP_12 0x01
76 #define FDCSTEP_2 0x02
77 #define FDCSTEP_3 0x03