mirror of
https://github.com/simh/simh.git
synced 2026-05-16 02:02:15 +00:00
TIMER: Add facility to restore memory to 0 after pre-calibration
PDP8, PDP11, PDP10, VAX and SDS simulators have memory restored to zero after pre-calibration is performed.
This commit is contained in:
@@ -3820,6 +3820,10 @@ for (tmr=0; tmr<=SIM_NTIMERS; tmr++) {
|
||||
if (rtc->hz)
|
||||
rtc->initd = rtc->currd = (int32)(((double)sim_precalibrate_ips) / rtc->hz);
|
||||
}
|
||||
if ((cmd = sim_clock_precalibrate_cleanup_commands)) {
|
||||
while (*cmd)
|
||||
exdep_cmd (EX_D, *(cmd++));
|
||||
}
|
||||
reset_all_p (0);
|
||||
sim_run_boot_prep (RU_GO);
|
||||
for (tmr=0; tmr<=SIM_NTIMERS; tmr++) {
|
||||
|
||||
Reference in New Issue
Block a user