From: Alan Cox Date: Tue, 25 Nov 2014 17:58:56 +0000 (+0000) Subject: pcw8256: update to new _discard X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=64c8956922e76b41ce70b5f253fa34762340f55d;p=FUZIX.git pcw8256: update to new _discard --- diff --git a/Kernel/platform-pcw8256/crt0.s b/Kernel/platform-pcw8256/crt0.s index 02b57cee..6f938b74 100644 --- a/Kernel/platform-pcw8256/crt0.s +++ b/Kernel/platform-pcw8256/crt0.s @@ -5,7 +5,6 @@ .area _CODE .area _CODE2 .area _VIDEO - .area _DISCARD .area _CONST .area _DATA .area _INITIALIZED @@ -19,6 +18,7 @@ .area _GSINIT .area _GSFINAL .area _COMMONMEM + .area _DISCARD ; imported symbols .globl _fuzix_main @@ -26,6 +26,8 @@ .globl init_hardware .globl s__DATA .globl l__DATA + .globl s__DISCARD + .globl l__DISCARD .globl s__COMMONMEM .globl l__COMMONMEM .globl s__INITIALIZER @@ -124,6 +126,12 @@ start: ; call fontcopy ; + ; This is followed by the DISCARD area + ; + ld de, #s__DISCARD + ld bc, #l__DISCARD + ldir + ; ; Zero the data area ; ld hl, #s__DATA diff --git a/Kernel/platform-pcw8256/uzi.lnk b/Kernel/platform-pcw8256/uzi.lnk index ad871b8e..3b60596c 100644 --- a/Kernel/platform-pcw8256/uzi.lnk +++ b/Kernel/platform-pcw8256/uzi.lnk @@ -2,6 +2,7 @@ -i uzi.ihx -b _CODE=0x0000 -b _COMMONMEM=0xF000 +-b _DISCARD=0xE000 -l z80 platform-pcw8256/crt0.rel platform-pcw8256/commonmem.rel