Home away from home 
Joined: 2006/11/20 16:26 Last Login
: Today 10:04
From Norway
Group:
Registered Users
|
@thellier
No Cia.resource is not for system friendly use.. its to allocate one of the 4 hardware timers in a Amiga500/1200/4000.
the only way to implement OS friendly timer is by using DoIO() / SendIO() timer.device API. And wait for a singals using Wait(), or in a loop SetSignal(). if want something async create a new process.
NallePuh can track en emulate CIA timers. should also provide the nessary cia.resource, to alow old software to run..
The actual timing code, might be rewritten at some point, sense it uses high level timer.device, when it only need the delta time, this can done, using PowerPC assembly. And so should work in forbid states.. just fine..
Time keeping is not a issue, but the accuracy, and the real time register sates, might skip beats.
Edited by LiveForIt on 2026/9/9 7:30:04 Edited by LiveForIt on 2026/9/9 7:33:31 Edited by LiveForIt on 2026/9/9 8:21:05 Edited by LiveForIt on 2026/9/9 8:24:33 Edited by LiveForIt on 2026/9/9 8:26:26
|