API docs / Open libraries / reqtools.library
API · Librariesreqtools.library jump table
Our open reqtools.library: 23 calls with the same LVOs and registers as AmigaOS 3.2's, checked against the NDK 3.2 .fd file.
reqtools.library's jump table, as OpenReqTools builds it: LVO, call, registers. Derived from the public reqtools_lib.fd (ReqTools 2.x's developer files; the call order and registers are public API, bias 30). build-amiga.sh (with ../common/check_fd.py) checks this against a reqtools_lib.fd given with FD= and stops on any difference; openreqtools_lib.c's lib_vectors[] follows it line for line. The fd keeps -84 and -90 private (rtInternalGetPasswordA, rtInternalEnterPasswordA); ours answer 0. Core class (OPEN_LIBRARIES.md, section 5): rtSpread is pure; rtLockPrefs, rtUnlockPrefs, rtLockWindow, rtUnlockWindow and the structure calls (rtAllocRequestA, rtFreeRequest, rtFreeReqBuffer, rtChangeReqAttrA, rtFreeFileList) are locked; every requester, rtReqHandlerA, rtGetVScreenSize, rtSetReqPosition, rtSetWaitPointer, rtScreenToFrontSafely and rtCloseWindowSafely are anchored (Intuition's screens and windows).
| LVO | Call | Registers | Notes |
|---|---|---|---|
| -30 | rtAllocRequestA | d0, a0 | |
| -36 | rtFreeRequest | a1 | |
| -42 | rtFreeReqBuffer | a1 | |
| -48 | rtChangeReqAttrA | a1, a0 | |
| -54 | rtFileRequestA | a1, a2, a3, a0 | |
| -60 | rtFreeFileList | a0 | |
| -66 | rtEZRequestA | a1, a2, a3, a4, a0 | |
| -72 | rtGetStringA | a1, d0, a2, a3, a0 | |
| -78 | rtGetLongA | a1, a2, a3, a0 | |
| -84 | private | none | |
| -90 | private | none | |
| -96 | rtFontRequestA | a1, a3, a0 | |
| -102 | rtPaletteRequestA | a2, a3, a0 | |
| -108 | rtReqHandlerA | a1, d0, a0 | |
| -114 | rtSetWaitPointer | a0 | |
| -120 | rtGetVScreenSize | a0, a1, a2 | |
| -126 | rtSetReqPosition | d0, a0, a1, a2 | |
| -132 | rtSpread | a0, a1, d0, d1, d2, d3 | |
| -138 | rtScreenToFrontSafely | a0 | |
| -144 | rtScreenModeRequestA | a1, a3, a0 | |
| -150 | rtCloseWindowSafely | a0 | |
| -156 | rtLockWindow | a0 | |
| -162 | rtUnlockWindow | a0, a1 | |
| -168 | rtLockPrefs | none | |
| -174 | rtUnlockPrefs | none |