BIOS type defines and size variable.

This commit is contained in:
OBattler
2022-07-30 23:42:41 +02:00
parent 1f17d60259
commit 338fd9acdf

View File

@@ -70,6 +70,17 @@ enum {
DEVICE_LPT = 0x2000 /* requires a parallel port */ DEVICE_LPT = 0x2000 /* requires a parallel port */
}; };
#define BIOS_NORMAL 0
#define BIOS_INTERLEAVED 1
#define BIOS_INTERLEAVED_SINGLEFILE 2
#define BIOS_INTERLEAVED_QUAD 3
#define BIOS_INTERLEAVED_QUAD_SINGLEFILE 4
#define BIOS_INTEL_AMI 5
#define BIOS_INTERLEAVED_INVERT 8
#define BIOS_HIGH_BIT_INVERT 16
typedef struct { typedef struct {
const char *description; const char *description;
int value; int value;
@@ -80,7 +91,7 @@ typedef struct {
const char *internal_name; const char *internal_name;
int bios_type; int bios_type;
int files_no; int files_no;
uint32_t local; uint32_t local, size;
const device_t *dev1, *dev2; const device_t *dev1, *dev2;
const char **files; const char **files;
} device_config_bios_t; } device_config_bios_t;