mirror of
https://github.com/simh/simh.git
synced 2026-01-25 19:56:25 +00:00
Added calls to sim_register_clock_unit for simulators with clock devices
This commit is contained in:
@@ -118,6 +118,7 @@ t_stat clk_reset (DEVICE *dptr)
|
||||
{
|
||||
if (clk_dev.flags & DEV_DIS) sim_cancel (&clk_unit); /* disabled? */
|
||||
else {
|
||||
sim_register_clock_unit (&clk_unit); /* declare clock unit */
|
||||
tmxr_poll = sim_rtcn_init (clk_unit.wait, TMR_CLK);
|
||||
sim_activate_abs (&clk_unit, tmxr_poll); /* activate unit */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user