Added support for custom HDX hard disk image format that is less size-limited than HDI and supports storing translation parameters;

Commented out excess EGA logging.
This commit is contained in:
OBattler
2017-02-15 18:19:00 +01:00
parent de6f785029
commit 419b0b0c58
7 changed files with 232 additions and 26 deletions

View File

@@ -4,7 +4,7 @@
#ifndef __IDE__
#define __IDE__
typedef struct IDE
typedef struct __attribute__((__packed__)) IDE
{
int type;
int board;
@@ -32,6 +32,7 @@ typedef struct IDE
uint16_t dma_identify_data[3];
int hdi,base;
int hdc_num;
uint8_t specify_success;
} IDE;
extern void writeide(int ide_board, uint16_t addr, uint8_t val);