AmigaChromeA new chapter for the Amiga

API docs / Open libraries / timer.device

API · Devices

timer.device jump table

Our open timer.device: 5 calls with the same LVOs and registers as AmigaOS 3.2's, checked against the NDK 3.2 .fd file.

timer.device's jump table, as OpenTimer builds it: LVO, call, registers, and after the # the call's core class (OPEN_LIBRARIES.md section 5). build-amiga.sh (with ../../libraries/common/check_fd.py) checks this against the NDK 3.2 timer_lib.fd (##bias 42) in the stove and stops on any difference; opentimer_dev.c's dev_vectors[] follows it line for line. Before them, the device vectors every device has (not in the .fd): -6 Open (a1 ioRequest, d0 unit, d1 flags) -12 Close (a1) -18 Expunge -24 Null -30 BeginIO (a1) -36 AbortIO (a1) BeginIO and AbortIO are anchored: the queues are the device's.

5 slots, 5 public
LVOCallRegistersNotes
-42AddTimea0, a1pure
-48SubTimea0, a1pure
-54CmpTimea0, a1pure
-60ReadEClocka0anchored: the E-clock counter
-66GetSysTimea0anchored: the system time and its last answer