Hard disk parameters dialog boxes now allow you to specify size in MB or select a predefined type from a combo box;

Japanese HDI hard disk images are now supproted;
FDC FORMAT command now CRC's the correct data, fixes formatting inserted IMG's;
FDC SEEK command now no longer incorrectly reports invalid status when HDSEL (head select) is 1, fixes booting from inserted floppies of any format on boards other than ASUS P/I-P55TVP4.
This commit is contained in:
OBattler
2016-09-25 21:39:21 +02:00
parent 807d132312
commit bde171e81b
10 changed files with 635 additions and 296 deletions

View File

@@ -550,12 +550,18 @@ char pcempath[512];
typedef struct
{
FILE *f;
int spt,hpc; /*Sectors per track, heads per cylinder*/
int tracks;
uint64_t spt,hpc; /*Sectors per track, heads per cylinder*/
uint64_t tracks;
int is_hdi;
uint32_t base;
} hard_disk_t;
hard_disk_t hdc[4];
uint64_t hdt[128][3];
int image_is_hdi(char *s);
/*Keyboard*/
int64_t keybsenddelay;