Go to the documentation of this file.
42 #define fdcMsr (0x3f4)
43 #define fdcData (0x3f5)
44 #define fdcDir (0x3f7)
45 #define fdcCcr (0x3f7)
46 #define fdcDor (0x3f2)
47 #define fdcDrs (0x3f4)
49 #define cmdWrite (0xc5)
50 #define cmdRead (0xe6)
51 #define cmdSeek (0x0f)
52 #define cmdSensei (0x08)
53 #define cmdRecal (0x07)
54 #define cmdSpecify (0x03)
57 #define dg144Tracks 80
59 #define dg144Gap3rw 0x1b
60 #define dg168Gap3rw 0x1c
69 bool fdcRw(
int block,
unsigned char *blockBuffer,
bool read,
unsigned long numSectors);
70 void block2Hts(
int block,
int *head,
int *track,
int *sector);
79 bool writeBlock(
int block,
Int8 *blockBuffer,
unsigned long numSectors);
80 bool readBlock(
int block,
Int8 *blockBuffer,
unsigned long numSectors);
void fdcWrite(void *info, void *, uInt32 startSector, uInt32 sectorCount)
bool waitFdc(bool sensei)
bool fdcRw(int block, unsigned char *blockBuffer, bool read, unsigned long numSectors)
bool writeBlock(int block, Int8 *blockBuffer, unsigned long numSectors)
void block2Hts(int block, int *head, int *track, int *sector)
int read(struct thread *td, struct read_args *uap)
bool readBlock(int block, Int8 *blockBuffer, unsigned long numSectors)
void fdcRead(void *info, void *, uInt32 startSector, uInt32 sectorCount)