1
0
mirror of https://github.com/simh/simh.git synced 2026-05-04 06:58:38 +00:00

Fixes for stable operation with SIM_ASYNCH_CLOCKS defined

This commit is contained in:
Mark Pizzolato
2013-05-07 11:22:29 -07:00
parent 9faef6ea89
commit 6cf54e8341
6 changed files with 167 additions and 48 deletions

View File

@@ -1580,8 +1580,10 @@ if ((tmr_inc[tmr] == TMR_INC) && (tmr_time > clk_time)) {
tmr_inc[tmr] = (uint32) (((double) clk_time * TMR_INC) / tmr_poll);
tmr_time = clk_time;
sim_clock_coschedule (&sysd_unit[tmr], tmr_time);
}
sim_activate (&sysd_unit[tmr], tmr_time);
else
sim_activate (&sysd_unit[tmr], tmr_time);
return;
}