AmiCradleA new chapter for the Amiga

API docs / Open libraries / console.device

API · Devices

console.device jump table

Our open console.device: 2 calls with the same LVOs and registers as AmigaOS 3.2's, checked against the NDK 3.2 .fd file.

console.device's vectors past the six every device has (Open, Close, Expunge, Null, BeginIO, AbortIO), as GFOpenConsole builds them: LVO, call, registers. build-amiga.sh (with ../../libraries/common/check_fd.py) checks this against the NDK 3.2 console_lib.fd in the stove and stops on any difference; openconsole_dev.c's dev_vectors[] follows it line for line.

6 slots, 2 public
LVOCallRegistersNotes
-42CDInputHandlera0, a1
-48RawKeyConverta0, a1, d1, a2
-54privatenoneours: GetConSnip -> d0 the snip, 0-ended, or 0 (read it under Forbid)
-60privatenoneours: SetConSnip a0 (0-ended text, or 0 for none): a copy becomes the snip
-66privatenoneours: AddConSnipHook a0 (a Hook: A2 the base, A1 a ULONG CSH_COPY = 1)
-72privatenoneours: RemConSnipHook a0