From: Alan Cox Date: Fri, 26 Dec 2014 20:25:42 +0000 (+0000) Subject: crt0: Add a byte for the base of the binary X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=f8776faec2ac7e51b6502124d88ee5d342e8e24e;p=FUZIX.git crt0: Add a byte for the base of the binary Next step in the ABI breaking changes --- diff --git a/Library/libs/crt0.s b/Library/libs/crt0.s index b094e1d1..9f519bd5 100644 --- a/Library/libs/crt0.s +++ b/Library/libs/crt0.s @@ -38,6 +38,7 @@ 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 .dw 0 ; chmem ("0 - 'all'") .dw s__DATA ; gives us code size info .dw s__BSS ; gives us data size info