AmigaChromeA new chapter for the Amiga

API docs / Open libraries / expansion.library

API · Libraries

expansion.library jump table

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

expansion.library's jump table, as OpenExpansion 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 expansion_lib.fd in the stove and stops on any difference; openexpansion_lib.c's lib_vectors[] follows it line for line. anchored: the config space is the 68k's own bus (or dos's list, or exec's memory list); locked: the base's own semaphores. No call has a native body: each is a few bus cycles or a list step, cheaper than a call out.

23 slots, 21 public
LVOCallRegistersNotes
-30AddConfigDeva0locked
-36AddBootNoded0, d1, a0, a1anchored
-42AllocBoardMemd0locked
-48AllocConfigDevnonelocked
-54AllocExpansionMemd0, d1locked
-60ConfigBoarda0, a1anchored
-66ConfigChaina0anchored
-72FindConfigDeva0, d0, d1locked
-78FreeBoardMemd0, d1locked
-84FreeConfigDeva0locked
-90FreeExpansionMemd0, d1locked
-96ReadExpansionBytea0, d0anchored
-102ReadExpansionRoma0, a1anchored
-108RemConfigDeva0locked
-114WriteExpansionBytea0, d0, d1anchored
-120ObtainConfigBindingnonelocked
-126ReleaseConfigBindingnonelocked
-132SetCurrentBindinga0, d0locked
-138GetCurrentBindinga0, d0locked
-144MakeDosNodea0locked
-150AddDosNoded0, d1, a0anchored
-156privatenone
-162privatenone