API docs / Open libraries / diskfont.library
API · Librariesdiskfont.library jump table
Our open diskfont.library: 17 calls with the same LVOs and registers as AmigaOS 3.2's, checked against the NDK 3.2 .fd file.
diskfont.library's jump table, as OpenDiskFont builds it: LVO, call, registers, and (after #) each call's core class (OPEN_LIBRARIES.md section 5). build-amiga.sh (with ../common/check_fd.py) checks this against the NDK 3.2 diskfont_lib.fd in the stove and stops on any difference; opendiskfont_lib.c's lib_vectors[] follows it line for line.
| LVO | Call | Registers | Notes |
|---|---|---|---|
| -30 | OpenDiskFont | a0 | locked: the library's font list |
| -36 | AvailFonts | a0, d0, d1 | locked |
| -42 | NewFontContents | a0, a1 | locked |
| -48 | DisposeFontContents | a1 | pure |
| -54 | NewScaledDiskFont | a0, a1 | pure |
| -60 | GetDiskFontCtrl | d0 | locked |
| -66 | SetDiskFontCtrlA | a0 | locked |
| -72 | EOpenEngine | a0 | pure: the engine library's own call |
| -78 | ECloseEngine | a0 | pure: the engine library's own call |
| -84 | ESetInfoA | a0, a1 | pure: the engine library's own call |
| -90 | EObtainInfoA | a0, a1 | pure: the engine library's own call |
| -96 | EReleaseInfoA | a0, a1 | pure: the engine library's own call |
| -102 | OpenOutlineFont | a0, a1, d0 | pure: the .otag, its engine opened with OFF_OPEN |
| -108 | CloseOutlineFont | a0, a1 | pure |
| -114 | WriteFontContents | a0, a1, a2 | locked |
| -120 | WriteDiskFontHeaderA | a0, a1, a2 | pure |
| -126 | ObtainCharsetInfo | d0, d1, d2 | pure: constant tables |