mirror of
https://github.com/simh/simh.git
synced 2026-02-01 22:33:25 +00:00
Added calls to sim_register_clock_unit for simulators with clock devices
This commit is contained in:
@@ -881,6 +881,7 @@ return SCPE_OK;
|
||||
|
||||
t_stat clk_reset (DEVICE *dptr)
|
||||
{
|
||||
sim_register_clock_unit (&clk_unit); /* declare clock unit */
|
||||
CLR_INT (INT_CLK); /* clear ready, enb */
|
||||
CLR_ENB (INT_CLK);
|
||||
sim_cancel (&clk_unit); /* deactivate unit */
|
||||
|
||||
Reference in New Issue
Block a user