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:
@@ -419,6 +419,7 @@ return SCPE_OK;
|
||||
|
||||
t_stat rtc_reset (DEVICE *dptr)
|
||||
{
|
||||
sim_register_clock_unit (&rtc_unit); /* declare clock unit */
|
||||
dev_done = dev_done & ~INT_RTC; /* clear ready */
|
||||
sim_cancel (&rtc_unit); /* stop clock */
|
||||
return SCPE_OK;
|
||||
|
||||
Reference in New Issue
Block a user