Went back to #330 tree, and manually applied patches to #331 until it breaks.

Fixed several issues with the code.
Fixed Hercules to be detected again - still no graphics.
Fixed several issues in the PC/XT keyboard driver to be correct.
.. and while at that, added support for the IBM-PC Cassette Interface!
(eat THAT, Sarah!)
This commit is contained in:
waltje
2019-02-13 01:43:28 -05:00
parent b325a5174a
commit b2d7b102c8
19 changed files with 1759 additions and 1911 deletions

View File

@@ -8,14 +8,14 @@
*
* Main emulator module where most things are controlled.
*
* Version: @(#)pc.c 1.0.64 2019/02/11
* Version: @(#)pc.c 1.0.63 2019/01/27
*
* Authors: Fred N. van Kempen, <decwiz@yahoo.com>
* Miran Grca, <mgrca8@gmail.com>
* Sarah Walker, <tommowalker@tommowalker.co.uk>
*
* Copyright 2017-2019 Fred N. van Kempen.
* Copyright 2016-2019 Miran Grca.
* Copyright 2016-2018 Miran Grca.
* Copyright 2008-2018 Sarah Walker.
*
* This program is free software; you can redistribute it and/or modify
@@ -738,7 +738,10 @@ usage:
void
pc_set_speed(void)
{
setpitclock((float)machines[machine].cpu[cpu_manufacturer].cpus[cpu_effective].rspeed);
if (machines[machine].cpu[cpu_manufacturer].cpus[cpu_effective].cpu_type >= CPU_286)
setpitclock((float)machine_speed());
else
setpitclock(14318184.0);
}