API docs / Open libraries / battclock.resource
API · Resourcesbattclock.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().
| LVO | Call | Registers | Notes |
|---|---|---|---|
| -6 | ResetBattClock | none | anchored: the clock chip |
| -12 | ReadBattClock | none | anchored: the clock chip |
| -18 | WriteBattClock | d0 | anchored: the clock chip |
| -24 | private | none | |
| -30 | private | none |