1
0
mirror of https://github.com/simh/simh.git synced 2026-01-26 04:01:38 +00:00

SCP: Double the initial & pre-calibrated instructions/cycles per second.

uint32 gives us an extra bit and negative instruction rates are not
meaningful.
This commit is contained in:
Mark Pizzolato
2022-07-17 17:30:20 -10:00
parent 5cbf9df0df
commit 4ae0de84c6
2 changed files with 3 additions and 3 deletions

View File

@@ -150,9 +150,9 @@ return real_sim_os_ms_sleep (msec);
t_bool sim_idle_enab = FALSE; /* global flag */
volatile t_bool sim_idle_wait = FALSE; /* global flag */
int32 sim_vm_initial_ips = SIM_INITIAL_IPS;
uint32 sim_vm_initial_ips = SIM_INITIAL_IPS;
static int32 sim_precalibrate_ips = SIM_INITIAL_IPS;
static uint32 sim_precalibrate_ips = SIM_INITIAL_IPS;
static int32 sim_calb_tmr = -1; /* the system calibrated timer */
static int32 sim_calb_tmr_last = -1; /* shadow value when at sim> prompt */
static double sim_inst_per_sec_last = 0; /* shadow value when at sim> prompt */