From: Alan Cox Date: Tue, 25 Nov 2014 17:57:50 +0000 (+0000) Subject: nc100: update to new _discard X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=c9f441763afba0b036244fde659388222be00ac5;p=FUZIX.git nc100: update to new _discard --- diff --git a/Kernel/platform-nc100/crt0.s b/Kernel/platform-nc100/crt0.s index c8e7699c..9559b89d 100644 --- a/Kernel/platform-nc100/crt0.s +++ b/Kernel/platform-nc100/crt0.s @@ -6,7 +6,6 @@ .area _CODE2 .area _VIDEO .area _CONST - .area _DISCARD .area _DATA .area _INITIALIZED .area _BSEG @@ -18,6 +17,7 @@ .area _GSINIT .area _GSFINAL .area _COMMONMEM + .area _DISCARD ; imported symbols .globl _fuzix_main @@ -25,6 +25,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 @@ -51,6 +53,10 @@ start: di ld de, #s__COMMONMEM ld bc, #l__COMMONMEM ldir + ; and the discard + ld de, #s__DISCARD + ld bc, #l__DISCARD + ldir ; then zero the data area ld hl, #s__DATA ld de, #s__DATA + 1 diff --git a/Kernel/platform-nc100/uzi.lnk b/Kernel/platform-nc100/uzi.lnk index 359b0585..064f004d 100644 --- a/Kernel/platform-nc100/uzi.lnk +++ b/Kernel/platform-nc100/uzi.lnk @@ -2,6 +2,7 @@ -i uzi.ihx -b _CODE=0x0 -b _COMMONMEM=0xF000 +-b _DISCARD=0xE000 -l z80 platform-nc100/crt0.rel platform-nc100/commonmem.rel