; when they are first seen.
.area _CODE
.area _CODE2
- .area _DISCARD
.area _CONST
.area _DATA
.area _INITIALIZED
.area _GSINIT
.area _GSFINAL
.area _COMMONMEM
+ .area _DISCARD
; imported symbols
.globl _fuzix_main
.globl l__BSS
.globl s__DATA
.globl l__DATA
+ .globl s__DISCARD
+ .globl l__DISCARD
.globl kstack_top
.globl _trap_monitor
.area _GSINIT
gsinit::
ld bc, #l__INITIALIZER
- ld a, b
- or a, c
- jr Z, gsinit_next
ld de, #s__INITIALIZED
ld hl, #s__INITIALIZER
ldir
-gsinit_next:
- ; other module's code is appended here
-
- .area _GSFINAL
+ ld de, #s__DISCARD
+ ld bc, #l__DISCARD
+ ldir
; we clear _DATA and _BSS
ld bc, #l__BSS
ld de, #s__BSS
--- /dev/null
+-mwxuy
+-i uzi.ihx
+-b _CODE=0x0088
+-b _COMMONMEM=0xF000
+-b _DISCARD=0xE000
+-l z80
+platform-socz80/crt0.rel
+platform-socz80/commonmem.rel
+platform-socz80/socz80.rel
+start.rel
+version.rel
+usermem.rel
+platform-socz80/usermem.rel
+platform-socz80/tricks.rel
+platform-socz80/main.rel
+bank16k.rel
+lowlevel-z80.rel
+timer.rel
+kdata.rel
+platform-socz80/devrd.rel
+platform-socz80/devsd.rel
+platform-socz80/devsd_hw.rel
+platform-socz80/devrd_hw.rel
+platform-socz80/devices.rel
+devio.rel
+filesys.rel
+process.rel
+inode.rel
+syscall_exec.rel
+syscall_fs.rel
+syscall_fs2.rel
+syscall_proc.rel
+syscall_other.rel
+tty.rel
+mm.rel
+devsys.rel
+platform-socz80/devlpr.rel
+platform-socz80/devtty.rel
+-e