1
0
mirror of https://github.com/open-simh/simh.git synced 2026-05-02 22:33:04 +00:00

TIMER: Fix internal calibrated clock to be well behaved while idling.

This commit is contained in:
Mark Pizzolato
2016-10-26 16:16:36 -07:00
parent c9af9a70fa
commit b8842e40e5
2 changed files with 4 additions and 4 deletions

2
scp.c
View File

@@ -4628,7 +4628,7 @@ else {
if ((dptr = find_dev_from_unit (uptr)) != NULL) {
fprintf (st, " %s", sim_dname (dptr));
if (dptr->numunits > 1)
fprintf (st, " unit %d", (int32) (uptr - dptr->units));
fprintf (st, " at %d%s\n", accum + uptr->time, (uptr->flags & UNIT_IDLE) ? " (Idle capable)" : "");
}
else
fprintf (st, " Unknown");