mirror of
https://github.com/simh/simh.git
synced 2026-01-26 04:01:38 +00:00
Added calls to sim_register_clock_unit for simulators with clock devices
This commit is contained in:
@@ -224,6 +224,7 @@ return;
|
||||
|
||||
t_stat tim_reset (DEVICE *dptr)
|
||||
{
|
||||
sim_register_clock_unit (&tim_unit); /* declare clock unit */
|
||||
tim_period = 0; /* clear timer */
|
||||
tim_ttg = 0;
|
||||
apr_flg = apr_flg & ~APRF_TIM; /* clear interrupt */
|
||||
|
||||
Reference in New Issue
Block a user