Add Iomega Zip drive emulation.

This commit is contained in:
SarahW 2018-01-21 16:05:39 +00:00
commit 5fd2fd40aa
22 changed files with 2954 additions and 1809 deletions

View file

@ -5,9 +5,11 @@ typedef struct hdd_file_t
int hpc;
int tracks;
int sectors;
int read_only;
} hdd_file_t;
void hdd_load(hdd_file_t *hdd, int d, const char *fn);
void hdd_load_ext(hdd_file_t *hdd, const char *fn, int spt, int hpc, int tracks, int read_only);
void hdd_close(hdd_file_t *hdd);
int hdd_read_sectors(hdd_file_t *hdd, int offset, int nr_sectors, void *buffer);
int hdd_write_sectors(hdd_file_t *hdd, int offset, int nr_sectors, void *buffer);