mirror of
https://github.com/simh/simh.git
synced 2026-01-26 20:12:23 +00:00
Finish migration for simulators to use generic clock co-scheduling and sim_activate_after for scheduled delays
This commit is contained in:
@@ -140,7 +140,7 @@ if ( DEV_IS_BUSY(INT_CLK) )
|
||||
DEV_UPDATE_INTR ;
|
||||
}
|
||||
t = sim_rtc_calb (clk_tps[clk_sel]); /* calibrate delay */
|
||||
sim_activate (&clk_unit, t); /* reactivate unit */
|
||||
sim_activate_after (uptr, 1000000/clk_tps[clk_sel]); /* reactivate unit */
|
||||
if (clk_adj[clk_sel] > 0) /* clk >= 60Hz? */
|
||||
tmxr_poll = t * clk_adj[clk_sel]; /* poll is longer */
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user