From: Alan Cox Date: Sat, 27 Dec 2014 13:59:50 +0000 (+0000) Subject: crt0: set the load page to 1 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=3002830ff03ff20f777eaf156275f091bc6edf6c;p=FUZIX.git crt0: set the load page to 1 Probably fcc binman should do the needed magic for such things --- diff --git a/Library/libs/crt0.s b/Library/libs/crt0.s index 9f519bd5..cc44b660 100644 --- a/Library/libs/crt0.s +++ b/Library/libs/crt0.s @@ -38,7 +38,10 @@ start: jp start2 ; Borrowed idea from UMZIX - put the info in known places then ; we can write "size" tools ; - .db 0 ; base page to load +; +; FIXME: we need to automate the load page setting +; + .db 0x01 ; page to load at .dw 0 ; chmem ("0 - 'all'") .dw s__DATA ; gives us code size info .dw s__BSS ; gives us data size info