simh/simh — pull request #115 by jguillaumes (2014-02-18 18:26:09+00:00)
Title: Fix PDP10 TOD drift

The previous change used milliseconds and truncated the values to that precision. This causes an accumulative drift betweem the TOD value and the wall time, aproximately 1-2 hours each day. This change fixes that, while the runtime computation is also correct.

WARNING: There are still issues with the PDP clock. The jobs with intensive IO get incorrect "time limit exhausted" aborts; I'm still working on that but I'm afraid there is no easy solution unless the clock service moves to an asynchronous model, or to base itself in the host RTC.