API docs / Open libraries / prefs.library
API · Librariesprefs.library jump table
Our open prefs.library: 5 calls with the same LVOs and registers as AmigaOS 3.2's, checked against the NDK 3.2 .fd file.
prefs.resource's calls (docs/design/native-prefs-and-theme.md, A4): LVO, call, registers. A new resource of the open ROM: there is no NDK fd to check against, so build-amiga.sh checks this against prefs_res.c's res_vectors[] and resources/gfopenprefs.h, line for line. A resource has no Open, Close, Expunge or Null: its calls start at -6.
| LVO | Call | Registers | Notes |
|---|---|---|---|
| -6 | AddPrefsHandler | a0 | |
| -12 | RemPrefsHandler | a0 | |
| -18 | PrefsReady | none | |
| -24 | SetPrefsTask | a0, d0 | |
| -30 | ReadPrefs | a0, a1, d0 |