Go to the documentation of this file.
10 #define FD_IOPORT fdc_state[fdc].address
14 #define FD_IOPORT 0x3f0
18 #define FD_STATUS (4 + FD_IOPORT )
19 #define FD_DATA (5 + FD_IOPORT )
22 #define FD_DOR (2 + FD_IOPORT )
25 #define FD_DIR (7 + FD_IOPORT )
28 #define FD_DCR (7 + FD_IOPORT )
31 #define STATUS_BUSYMASK 0x0F
32 #define STATUS_BUSY 0x10
33 #define STATUS_DMA 0x20
34 #define STATUS_DIR 0x40
35 #define STATUS_READY 0x80
71 #define FD_RECALIBRATE 0x07
75 #define FD_SENSEI 0x08
76 #define FD_SPECIFY 0x03
77 #define FD_FORMAT 0x4D
78 #define FD_VERSION 0x10
79 #define FD_CONFIGURE 0x13
80 #define FD_PERPENDICULAR 0x12
81 #define FD_GETSTATUS 0x04
82 #define FD_DUMPREGS 0x0E
83 #define FD_READID 0xEA
84 #define FD_UNLOCK 0x14
86 #define FD_RSEEK_OUT 0x8f
87 #define FD_RSEEK_IN 0xcf
94 #define FD_PARTID 0x18
96 #define FD_DRIVESPEC 0x8e
100 #define FD_RESTORE 0x4e
101 #define FD_POWERDOWN 0x27
102 #define FD_FORMAT_N_WRITE 0xef
103 #define FD_OPTION 0x33
107 #define DMA_READ 0x46
108 #define DMA_WRITE 0x4A
111 #define FDC_NONE 0x00
112 #define FDC_UNKNOWN 0x10
114 #define FDC_8272A 0x20
115 #define FDC_765ED 0x30
116 #define FDC_82072 0x40
117 #define FDC_82072A 0x45
118 #define FDC_82077_ORIG 0x51
119 #define FDC_82077 0x52
120 #define FDC_82078_UNKN 0x5f
121 #define FDC_82078 0x60
122 #define FDC_82078_1 0x61
123 #define FDC_S82078B 0x62
125 #define FDC_87306 0x63
136 #define FD_RESET_DELAY 20