Login
Back to forumSee the full topicGo to last reply

Posted By

Krill
on 2022-09-20
09:20:00
 Re: How to time a disk operation?

"On the 64 though, the Time of Day clocks on the CIA continue to run, so you can set and read them from basic instead of relying on TI$. The timers on TED however are only 16 bit counters and as they count at ~885khz, are too fast to be useful."

Since TED counter 1 has a settable period (while the other two have a fixed 16-bit interval), you can couple them arithmetically.

See this forum topic for a similar application on VIA 6522.

Reading the high-bytes of two timers until they remain the same on a second read should be doable even in slow BASIC.



Back to top


Copyright © Plus/4 World Team, 2001-2024. Support Plus/4 World on Patreon