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:
@@ -483,6 +483,7 @@ t_stat clk_reset (DEVICE *dptr)
|
||||
{
|
||||
int32 t;
|
||||
|
||||
sim_register_clock_unit (&clk_unit); /* declare clock unit */
|
||||
CLR_INT (CLK); /* clear flag */
|
||||
if (!sim_is_running) { /* RESET (not CAF)? */
|
||||
t = sim_rtc_init (clk_unit.wait); /* init calibration */
|
||||
|
||||
Reference in New Issue
Block a user