1
0
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:
Mark Pizzolato
2013-01-22 16:07:23 -08:00
parent 115f8608c3
commit 71fcfacafc
15 changed files with 15 additions and 0 deletions

View File

@@ -157,6 +157,7 @@ t_stat clk_reset (DEVICE *dptr)
{
int32 t;
sim_register_clock_unit (&clk_unit); /* declare clock unit */
dev_done = dev_done & ~INT_CLK; /* clear done, int */
int_req = int_req & ~INT_CLK;
int_enable = int_enable & ~INT_CLK; /* clear enable */