Added support for the D86F floppy image format I invented that allows things not possible with IMG images;

Applied all mainline PCem commits;
Settings dialog now says 86Box instead of PCem;
Manifest renamed from PCem to 86Box.
This commit is contained in:
OBattler
2016-08-31 22:49:56 +02:00
parent d860ea79ed
commit 1ddad56c8c
81 changed files with 4255 additions and 3899 deletions

View File

@@ -71,20 +71,20 @@ void fdi_init()
fdi_setupcrc(0x1021, 0xcdb4);
}
int fdi_byteperiod(int drive)
double fdi_byteperiod(int drive)
{
switch (fdi2raw_get_bit_rate(fdi[drive].h))
{
case 1000:
return 8;
return 8.0;
case 500:
return 16;
return 16.0;
case 300:
return 26;
return 160.0 / 6.0;
case 250:
return 32;
return 32.0;
default:
return 32;
return 32.0;
}
}