AmigaChromeA new chapter for the Amiga

API docs / Open libraries / battclock.resource

API · Resources

battclock.resource jump table

Our open battclock.resource: 3 calls with the same LVOs and registers as AmigaOS 3.2's, checked against the NDK 3.2 .fd file.

battclock.resource's jump table, as OpenBattClock 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 battclock_lib.fd (##bias 6) in the stove and stops on any difference; openbattclock_res.c's res_vectors[] follows it line for line. A resource has no Open, Close, Expunge or Null: its own calls start at -6. All three are anchored: the chip is one, behind Disable().

5 slots, 3 public
LVOCallRegistersNotes
-6ResetBattClocknoneanchored: the clock chip
-12ReadBattClocknoneanchored: the clock chip
-18WriteBattClockd0anchored: the clock chip
-24privatenone
-30privatenone