API docs / Open libraries / XPK sublibrary interface
API · LibrariesXPK sublibrary interface jump table
Our open XPK sublibrary interface: 6 calls with the same LVOs and registers as AmigaOS 3.2's, checked against the NDK 3.2 .fd file.
An XPK sub-library's jump table (LIBS:compressors/xpk<ID>.library), as xpkmaster calls it and OpenXpkMaster's xpkNONE and xpkOBR1 build it: LVO, call, registers, from XPK's public xpksub fd (FD_SUB= in build-amiga.sh). Every call is pure: the per-stream state is the master's XpkSubParams (xsp_Sub), the library keeps none.
| LVO | Call | Registers | Notes |
|---|---|---|---|
| -30 | XpksPackerInfo | none | |
| -36 | XpksPackChunk | a0 | |
| -42 | XpksPackFree | a0 | |
| -48 | XpksPackReset | a0 | |
| -54 | XpksUnpackChunk | a0 | |
| -60 | XpksUnpackFree | a0 |