From 4a5f443401518df1ab62c924e2a33afaa565a1d5 Mon Sep 17 00:00:00 2001 From: Tormod Volden Date: Sun, 10 May 2015 16:24:58 +0200 Subject: [PATCH] crt0_6809: Let linker figure out load page value Signed-off-by: Tormod Volden --- Library/libs/crt0_6809.s | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 -- 2.34.1