MentOS
0.8.0
The Mentoring Operating System
|
Routines for interfacing with the floppy disc controller. More...
Macros | |
#define | __DEBUG_HEADER__ "[FDC ]" |
Change header. | |
#define | __DEBUG_LEVEL__ LOGLEVEL_NOTICE |
Set log level. | |
Typedefs | |
typedef enum fdc_registers_t | fdc_registers_t |
Floppy Disk Controller (FDC) registers. | |
Enumerations | |
enum | fdc_registers_t { STATUS_REGISTER_A = 0x3F0 , STATUS_REGISTER_B = 0x3F1 , DOR = 0x3F2 , TAPE_DRIVE_REGISTER = 0x3F3 , MAIN_STATUS_REGISTER = 0x3F4 , DATARATE_SELECT_REGISTER = 0x3F4 , DATA_FIFO = 0x3F5 , DIGITAL_INPUT_REGISTER = 0x3F7 , CONFIGURATION_CONTROL_REGISTER = 0x3F7 } |
Floppy Disk Controller (FDC) registers. More... | |
Functions | |
int | fdc_initialize (void) |
Initializes the floppy disk controller. More... | |
int | fdc_finalize (void) |
De-initializes the floppy disk controller. More... | |
Routines for interfacing with the floppy disc controller.
enum fdc_registers_t |
Floppy Disk Controller (FDC) registers.
int fdc_finalize | ( | void | ) |
De-initializes the floppy disk controller.
int fdc_initialize | ( | void | ) |
Initializes the floppy disk controller.