AmigaChromeA new chapter for the Amiga

API docs / Open libraries / xadmaster.library

API · Libraries

xadmaster.library jump table

Our open xadmaster.library: 27 calls with the same LVOs and registers as AmigaOS 3.2's, checked against the NDK 3.2 .fd file.

xadmaster.library's jump table, as OpenXadMaster builds it: LVO, call, registers. Derived from the public xadmaster_lib.fd that comes with the library's developer archive (xadmaster.library is third-party, so the NDK has no fd for it): build-amiga.sh (with ../common/check_fd.py) checks this against that fd, given with FD=, and stops on any difference; openxadmaster_lib.c's lib_vectors[] follows it line for line. Core classes (OPEN_LIBRARIES.md, section 5): every call is pure or works on the caller's own xadArchiveInfo, one task at a time per archive.

27 slots, 27 public
LVOCallRegistersNotes
-30xadAllocObjectAd0, a0
-36xadFreeObjectAa0, a1
-42xadRecogFileAd0, a0, a1
-48xadGetInfoAa0, a1
-54xadFreeInfoa0
-60xadFileUnArcAa0, a1
-66xadDiskUnArcAa0, a1
-72xadGetErrorTextd0
-78xadGetClientInfonone
-84xadHookAccessd0, d1, a0, a1
-90xadConvertDatesAa0
-96xadCalcCRC16d0, d1, d2, a0
-102xadCalcCRC32d0, d1, d2, a0
-108xadAllocVecd0, d1
-114xadCopyMema0, a1, d0
-120xadHookTagAccessAd0, d1, a0, a1, a2
-126xadConvertProtectionAa0
-132xadGetDiskInfoAa0, a1
-138xadDiskFileUnArcAa0, a1
-144xadGetHookAccessAa0, a1
-150xadFreeHookAccessAa0, a1
-156xadAddFileEntryAa0, a1, a2
-162xadAddDiskEntryAa0, a1, a2
-168xadGetFilenameAd0, a0, a1, a2, a3
-174xadConvertNameAd0, a0
-180xadGetDefaultNameAa0V13: beyond the fd (the last developer archive on Aminet is 12.1)
-186xadGetSystemInfononeV13: beyond the fd