Another big change, this time to the NVR. It has been re-done, integrated with the RTC code, and is now ready to be used by other, non-AT-compatible systems, including an ISA card for PC/XT.

This commit is contained in:
waltje
2017-10-03 16:26:55 -04:00
parent a1b3c33054
commit 633adc6b02
31 changed files with 1027 additions and 911 deletions

View File

@@ -8,7 +8,7 @@
*
* The Emulator's Windows core.
*
* Version: @(#)win.c 1.0.14 2017/10/01
* Version: @(#)win.c 1.0.14 2017/10/02
*
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
* Miran Grca, <mgrca8@gmail.com>
@@ -338,8 +338,8 @@ void mainthread(LPVOID param)
if (frames >= 200 && nvr_dosave)
{
frames = 0;
nvr_save();
nvr_dosave = 0;
savenvr();
}
end_time = timer_read();
main_time += end_time - start_time;
@@ -1904,7 +1904,7 @@ int WINAPI WinMain (HINSTANCE hThisInstance, HINSTANCE hPrevInstance, LPSTR lpsz
Sleep(200);
TerminateThread(mainthreadh, 0);
savenvr();
nvr_save();
config_save();
@@ -2022,7 +2022,7 @@ win_pc_reset(int hard)
Sleep(100);
savenvr();
nvr_save();
config_save();