crt0: set the load page to 1
authorAlan Cox <alan@linux.intel.com>
Sat, 27 Dec 2014 13:59:50 +0000 (13:59 +0000)
committerAlan Cox <alan@linux.intel.com>
Sat, 27 Dec 2014 13:59:50 +0000 (13:59 +0000)
Probably fcc binman should do the needed magic for such things

Library/libs/crt0.s

index 9f519bd..cc44b66 100644 (file)
@@ -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