mirror of
https://github.com/simh/simh.git
synced 2026-04-30 21:38:32 +00:00
Added calls to sim_register_clock_unit for simulators with clock devices
This commit is contained in:
@@ -672,6 +672,7 @@ return;
|
||||
|
||||
t_stat clk_reset (DEVICE *dptr)
|
||||
{
|
||||
sim_register_clock_unit (&clk_unit); /* declare clock unit */
|
||||
tmr_poll = sim_rtcn_init (clk_unit.wait, TMR_CLK); /* init 100Hz timer */
|
||||
sim_activate (&clk_unit, tmr_poll); /* activate 100Hz unit */
|
||||
tmxr_poll = tmr_poll * TMXR_MULT; /* set mux poll */
|
||||
|
||||
Reference in New Issue
Block a user