/usr/share/z88dk/lib/packages.def is in z88dk-data 1.8.ds1-10.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | ; Package handling package definitions
defc pkg_ayt=$0000 ; Are you there; package-handling
defc rc_pnf=$11 ; package not found error code
; (same as RC_PRE)
defc pkg_inf=$000f ; static information (Packages)
defc pkg_ayt_x=$020f ; are you there? (Packages)
defc pkg_bye=$040f ; terminate (Packages)
defc pkg_dat=$060f ; dynamic data (Packages)
defc pkg_exp=$080f ; expansion call (Packages)
defc pkg_reg=$0a0f ; register a package
defc pkg_drg=$0c0f ; deregister a package
defc pkg_nxt=$0e0f ; get next installed package ID
defc pkg_get=$100f ; get information on a package
defc pkg_feat=$120f ; packages feature control
defc pkg_rst20=$140f ; CALL_OZ handler
defc pkg_intm1=$160f ; M1 interrupt chain handler
defc pkg_intr=$180f ; register interrupt handler
defc pkg_intd=$1a0f ; deregister interrupt handler
defc pkg_pid=$1c0f ; get current process ID
defc pkg_ozcr=$1e0f ; register OZ call substitution
defc pkg_ozcd=$200f ; deregister OZ call substitution
defc pkg_slow=$220f ; SlowMo interrupt call
defc pkg_bal=$240f ; allocate bank
defc pkg_bfr=$260f ; free bank
defc pkg_boot=$280f ; package autoboot facility
; Reason codes
defc int_pkg=$00
defc int_prc=$01
defc bnk_any=$00
defc bnk_even=$01
defc exp_boot=$01
|