From: Tormod Volden Date: Sun, 10 May 2015 14:24:58 +0000 (+0200) Subject: crt0_6809: Let linker figure out load page value X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=4a5f443401518df1ab62c924e2a33afaa565a1d5;p=FUZIX.git crt0_6809: Let linker figure out load page value Signed-off-by: Tormod Volden --- diff --git a/Library/libs/crt0_6809.s b/Library/libs/crt0_6809.s index c96c04cb..80b229af 100644 --- a/Library/libs/crt0_6809.s +++ b/Library/libs/crt0_6809.s @@ -13,11 +13,7 @@ start: jmp start2 .db 'Z' .db 'X' .db '1' - -; -; FIXME: we need to automate the load page setting -; - .db 0x80 ; page to load at + .db __sectionbase_.header__/256 ; page to load at .dw 0 ; chmem ("0 - 'all'") .dw __sectionlen_.text__ ; gives us code size info .dw __sectionlen_.data__ ; gives us data size info