Changed version number to 1.01;

IMG floppy image handler now fills the remaining bytes with 0xF6 if it has read less bytes than expected - fixes handling of truncated IMG's with a valid BPB;
HDI files are now written with the correct header;
FDC DUMP REGISTERS command is now implemented correctly, fixes FDC error on AMI 486 clone and AMI WinBIOS 486;
Commented out the Acer 386SX and the Phoenix 386 clone;
WinPCap code is now delayed loading (thanks to Rai-chan), the emulator should now be able to run without WinPCap installed if not using PCap;
The IBM PS/2 Model 30 NVR file is now saved in the same directly as the other NVR files;
Applied all the latest mainline PCem Voodoo commits.
This commit is contained in:
OBattler
2017-02-23 19:52:14 +01:00
parent 9db233e1c5
commit 4ddfa7c1db
10 changed files with 352 additions and 97 deletions

View File

@@ -1793,24 +1793,17 @@ void fdc_callback()
return;
case 0x0e: /*Dump registers*/
fdc.stat = (fdc.stat & 0xf) | 0xd0;
fdc.res[3] = fdc.pcn[0];
fdc.res[4] = fdc.pcn[1];
fdc.res[5] = fdc.pcn[2];
fdc.res[6] = fdc.pcn[3];
fdc.res[7] = fdc.specify[0];
fdc.res[8] = fdc.specify[1];
fdc.res[9] = fdc.eot[fdc.drive];
fdc.res[10] = (fdc.perp & 0x7f) | ((fdc.lock) ? 0x80 : 0);
if (AT)
{
fdc.res[11] = fdc.config;
fdc.res[12] = fdc.pretrk;
paramstogo=12;
}
else
{
paramstogo=10;
}
fdc.res[1] = fdc.pcn[0];
fdc.res[2] = fdc.pcn[1];
fdc.res[3] = fdc.pcn[2];
fdc.res[4] = fdc.pcn[3];
fdc.res[5] = fdc.specify[0];
fdc.res[6] = fdc.specify[1];
fdc.res[7] = fdc.eot[fdc.drive];
fdc.res[8] = (fdc.perp & 0x7f) | ((fdc.lock) ? 0x80 : 0);
fdc.res[9] = fdc.config;
fdc.res[10] = fdc.pretrk;
paramstogo = 10;
discint=0;
disctime = 0;
return;