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:
@@ -463,6 +463,7 @@ return clk_dib.vec;
|
||||
|
||||
t_stat clk_reset (DEVICE *dptr)
|
||||
{
|
||||
sim_register_clock_unit (&clk_unit); /* declare clock unit */
|
||||
if (CPUT (HAS_LTCR)) /* reg there? */
|
||||
clk_fie = clk_fnxm = 0;
|
||||
else clk_fie = clk_fnxm = 1; /* no, BEVENT */
|
||||
|
||||
Reference in New Issue
Block a user