Add VHD hard disc image support. Patch from shermanp.

This commit is contained in:
SarahW 2020-11-14 19:12:07 +00:00
commit 602d6f1ce6
31 changed files with 6559 additions and 1073 deletions

View file

@ -1,11 +1,18 @@
typedef enum hdd_img_type
{
HDD_IMG_RAW,
HDD_IMG_VHD,
} hdd_img_type;
typedef struct hdd_file_t
{
FILE *f;
void *f;
int spt;
int hpc;
int tracks;
int sectors;
int read_only;
hdd_img_type img_type;
} hdd_file_t;
void hdd_load(hdd_file_t *hdd, int d, const char *fn);