API docs / Open libraries / realtime.library
API · Librariesrealtime.library jump table
Our open realtime.library: 10 calls with the same LVOs and registers as AmigaOS 3.2's, checked against the NDK 3.2 .fd file.
realtime.library's jump table, as OpenRealTime builds it: LVO, call, registers, then the core class (OPEN_LIBRARIES.md section 5) as a comment. build-amiga.sh (with ../common/check_fd.py) checks the first three columns against the NDK 3.2 realtime_lib.fd in the stove and stops on any difference; openrealtime_lib.c's lib_vectors[] follows it line for line. OS 3.2's library has five more vectors past -84 (lib_NegSize 116); they are private here and answer 0. locked: the conductors and players, behind LockRealTime's semaphore and Disable() against the tick; anchored: the timer is a CIA's, and the tick its interrupt on the 68k.
| LVO | Call | Registers | Notes |
|---|---|---|---|
| -30 | LockRealTime | d0 | locked |
| -36 | UnlockRealTime | a0 | locked |
| -42 | CreatePlayerA | a0 | anchored |
| -48 | DeletePlayer | a0 | anchored |
| -54 | SetPlayerAttrsA | a0, a1 | anchored |
| -60 | SetConductorState | a0, d0, d1 | locked |
| -66 | ExternalSync | a0, d0, d1 | locked |
| -72 | NextConductor | a0 | locked |
| -78 | FindConductor | a0 | locked |
| -84 | GetPlayerAttrsA | a0, a1 | pure |
| -90 | private | none | |
| -96 | private | none | |
| -102 | private | none | |
| -108 | private | none | |
| -114 | private | none |