Standardize fdc_type into fdc_current

Also make it into an array
This commit is contained in:
Jasmine Iwanek
2024-07-20 01:14:35 -04:00
parent 529cef56e3
commit 05e7d9239c
24 changed files with 92 additions and 93 deletions

View File

@@ -113,7 +113,7 @@ typedef struct config_t {
# endif
/* Other peripherals category */
int fdc_type; /* Floppy disk controller type */
int fdc_current[2]; /* Floppy disk controller type */
int hdc_current; /* Hard disk controller type */
int hdc; /* Hard disk controller */
int scsi_card; /* SCSI controller */

View File

@@ -22,7 +22,7 @@
#ifndef EMU_FDC_H
#define EMU_FDC_H
extern int fdc_type;
extern int fdc_current[2];
#define FDC_PRIMARY_ADDR 0x03f0
#define FDC_PRIMARY_IRQ 6

View File

@@ -22,7 +22,7 @@
#ifndef EMU_FDC_EXT_H
#define EMU_FDC_EXT_H
extern int fdc_type;
extern int fdc_current[2];
/* Controller types. */
#define FDC_NONE 0