API docs / Open libraries / nonvolatile.library
API · Librariesnonvolatile.library jump table
Our open nonvolatile.library: 7 calls with the same LVOs and registers as AmigaOS 3.2's, checked against the NDK 3.2 .fd file.
nonvolatile.library's jump table, as OpenNonVolatile builds it: LVO, call, registers, then the core class (OPEN_LIBRARIES.md section 5) as a comment. build-amiga.sh (with ../common/check_fd.py) checks the first three columns against the NDK 3.2 nonvolatile_lib.fd in the stove and stops on any difference; opennonvolatile_lib.c's lib_vectors[] follows it line for line. anchored: the storage is files, through dos.library in the caller's own process (the autodoc: a DOS process only); the location is locked by the base's semaphore. FreeNVData is pure.
| LVO | Call | Registers | Notes |
|---|---|---|---|
| -30 | GetCopyNV | a0, a1, d1 | anchored |
| -36 | FreeNVData | a0 | pure |
| -42 | StoreNV | a0, a1, a2, d0, d1 | anchored |
| -48 | DeleteNV | a0, a1, d1 | anchored |
| -54 | GetNVInfo | d1 | anchored |
| -60 | GetNVList | a0, d1 | anchored |
| -66 | SetNVProtection | a0, a1, d2, d1 | anchored |