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:
9
src/pc.c
9
src/pc.c
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user