AmigaChromeA new chapter for the Amiga

API docs / Open libraries / cia.resource

API · Resources

cia.resource jump table

Our open cia.resource: 4 calls with the same LVOs and registers as AmigaOS 3.2's, checked against the NDK 3.2 .fd file.

cia.resource's calls, as OpenCia builds them: LVO, call, registers, and after the # the call's core class (OPEN_LIBRARIES.md section 5). build-amiga.sh (with ../../libraries/common/check_fd.py) checks this against the NDK 3.2 cia_lib.fd (##bias 6) in the stove and stops on any difference; opencia_res.c's res_vectors[] follows it line for line. A resource has no Open, Close, Expunge or Null: its calls start at -6.

4 slots, 4 public
LVOCallRegistersNotes
-6AddICRVectora6, d0, a1anchored: the chip's vectors
-12RemICRVectora6, d0, a1anchored
-18AbleICRa6, d0anchored: the chip's enable mask
-24SetICRa6, d0anchored: the chip's requests