.area _HOME ; compiler stores __mullong etc in here if you use them
.area _CODE2
.area _CONST
- .area _DATA
.area _INITIALIZED
+ .area _DATA
.area _BSEG
.area _BSS
.area _HEAP
ld sp, #kstack_top
; move the common memory where it belongs
- ld hl, #s__INITIALIZER
+ ld hl, #s__DATA
ld de, #s__COMMONMEM
ld bc, #l__COMMONMEM
ldir
.area _HOME ; compiler stores __mullong etc in here if you use them
.area _CODE2
.area _CONST
- .area _DATA
.area _INITIALIZED
+ .area _DATA
.area _BSEG
.area _BSS
.area _HEAP
ld sp, #kstack_top
; move the common memory where it belongs
- ld hl, #s__INITIALIZER
+ ld hl, #s__DATA
ld de, #s__COMMONMEM
ld bc, #l__COMMONMEM
ldir
.area _HOME ; compiler stores __mullong etc in here if you use them
.area _CODE2
.area _CONST
- .area _DATA
.area _INITIALIZED
+ .area _DATA
.area _BSEG
.area _BSS
.area _HEAP
di
ld sp, #kstack_top
; move the common memory where it belongs
- ld hl, #s__INITIALIZER
+ ld hl, #s__DATA
ld de, #s__COMMONMEM
ld bc, #l__COMMONMEM
ldir