Intel SIO/PIIX/PIIX3 Turbo Reset Control is now properly implemented;

Floppy disk controller is now COMPLETELY reset on hard reset;
NukedOPL is now optional (but enabled by default) so people on older hardware can gain a few % of performance by going back to DOSBox OPL;
*.CPP files now get all the correct optimization flags applied;
Added NEC PowerMate V emulation - you can get into CMOS SETUP but it hangs before booting, and PCI graphics card don't work (yet).
This commit is contained in:
OBattler
2017-01-31 20:39:36 +01:00
parent e4990e9c34
commit 55b6f1b802
30 changed files with 372 additions and 247 deletions

View File

@@ -1,6 +1,7 @@
/* Copyright holders: Sarah Walker, Tenshi
see COPYING for more details
*/
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include "ibm.h"
@@ -2165,9 +2166,9 @@ void fdc_indexpulse()
// rfdc_log("c82c711_fdc_indexpulse\n");
}
void fdc_init()
void fdc_hard_reset()
{
timer_add(fdc_callback, &disctime, &disctime, NULL);
memset(&fdc, 0, sizeof(FDC));
fdc.dskchg_activelow = 0;
fdc.enable_3f1 = 1;
@@ -2201,6 +2202,16 @@ void fdc_init()
swwp = 0;
disable_write = 0;
disc_reset();
fdc_reset();
}
void fdc_init()
{
fdc_hard_reset();
timer_add(fdc_callback, &disctime, &disctime, NULL);
}
void fdc_add()