From: Alan Cox Date: Sun, 10 Mar 2019 23:33:54 +0000 (+0000) Subject: easy-z80: arrange memory map correctly for alignments X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=77cb4ab41fbb55d34831489892d57d683be484f6;p=FUZIX.git easy-z80: arrange memory map correctly for alignments And with this it seems to actually work --- diff --git a/Kernel/platform-easy-z80/crt0.s b/Kernel/platform-easy-z80/crt0.s index 0182b463..bcd42c01 100644 --- a/Kernel/platform-easy-z80/crt0.s +++ b/Kernel/platform-easy-z80/crt0.s @@ -12,7 +12,6 @@ .area _CODE2 .area _CONST .area _INITIALIZED - .area _SERIAL .area _SERIALDATA .area _DATA .area _BSEG @@ -25,6 +24,7 @@ .area _DISCARD .area _INITIALIZER ; binman copies this to the right place for us .area _COMMONMEM + .area _SERIAL ; exported symbols .globl init @@ -81,3 +81,5 @@ mappedok: stop: halt jr stop + .area _BOOT + jp init diff --git a/Kernel/platform-easy-z80/fuzix.lnk b/Kernel/platform-easy-z80/fuzix.lnk index e9f4c239..fa7a45bc 100644 --- a/Kernel/platform-easy-z80/fuzix.lnk +++ b/Kernel/platform-easy-z80/fuzix.lnk @@ -1,8 +1,10 @@ -mwxuy -i fuzix.ihx --b _CODE=0x0100 +-b _CODE=0x0500 -b _DISCARD=0xD000 -b _COMMONMEM=0xEA00 +-b _SERIAL=0x0100 +-b _BOOT=0x0100 -l z80 platform-easy-z80/crt0.rel platform-easy-z80/commonmem.rel