AmigaChromeA new chapter for the Amiga

API docs / Open libraries / reqtools.library

API · Libraries

reqtools.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).

25 slots, 23 public
LVOCallRegistersNotes
-30rtAllocRequestAd0, a0
-36rtFreeRequesta1
-42rtFreeReqBuffera1
-48rtChangeReqAttrAa1, a0
-54rtFileRequestAa1, a2, a3, a0
-60rtFreeFileLista0
-66rtEZRequestAa1, a2, a3, a4, a0
-72rtGetStringAa1, d0, a2, a3, a0
-78rtGetLongAa1, a2, a3, a0
-84privatenone
-90privatenone
-96rtFontRequestAa1, a3, a0
-102rtPaletteRequestAa2, a3, a0
-108rtReqHandlerAa1, d0, a0
-114rtSetWaitPointera0
-120rtGetVScreenSizea0, a1, a2
-126rtSetReqPositiond0, a0, a1, a2
-132rtSpreada0, a1, d0, d1, d2, d3
-138rtScreenToFrontSafelya0
-144rtScreenModeRequestAa1, a3, a0
-150rtCloseWindowSafelya0
-156rtLockWindowa0
-162rtUnlockWindowa0, a1
-168rtLockPrefsnone
-174rtUnlockPrefsnone