From 338fd9acdf3a5978371a8d6d66e28b740e243c3e Mon Sep 17 00:00:00 2001 From: OBattler Date: Sat, 30 Jul 2022 23:42:41 +0200 Subject: [PATCH] BIOS type defines and size variable. --- src/include/86box/device.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/include/86box/device.h b/src/include/86box/device.h index e1342eb74..4b88442ae 100644 --- a/src/include/86box/device.h +++ b/src/include/86box/device.h @@ -70,6 +70,17 @@ enum { 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 { const char *description; int value; @@ -80,7 +91,7 @@ typedef struct { const char *internal_name; int bios_type; int files_no; - uint32_t local; + uint32_t local, size; const device_t *dev1, *dev2; const char **files; } device_config_bios_t;