/usr/share/z88dk/lib/uzi_crt0.asm 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 39 40 41 42 43 44 45 46 | ;
; Startup code for the UZI system
;
; Created 22/1/99
;
; UZI is completely stand alone so we don't need most
; of the gunk that OZ offers..
; We may have more vars later to control memory
; size etc..
INCLUDE "#director.def"
XDEF _start_init
; UZI proper starts at 8192 and runs to 32768
; Processes are loaded at 32768
org 8192
; We enter in with sp pointing to somewhere in the system
; stack...so just store it for use in any (rare) syscalls
; that we make
ld (system_stack),sp
jp _start_init
; Jump back to quit application (user shutdown)
.user_shutdown
ld sp,(system_stack)
xor a
call_oz(os_bye)
;Save a byte here, byte there! This has label because it's used for
;calculated calls etc
.l_dcal
jp (hl)
.system_stack
defw 0
defm "UZIz88"
defb 0
|