crt0_6809.s: Set load page value for dragon-nx32
authorTormod Volden <debian.tormod@gmail.com>
Tue, 14 Apr 2015 21:23:11 +0000 (23:23 +0200)
committerAlan Cox <alan@linux.intel.com>
Wed, 15 Apr 2015 11:35:23 +0000 (12:35 +0100)
This must be changed back for e.g. the "dragon" port.
Clearly this must be done in a better way.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Library/libs/crt0_6809.s

index 1f332c1..6cff08a 100644 (file)
@@ -16,8 +16,8 @@ start:                jmp start2
 ;
 ;      FIXME: we need to automate the load page setting
 ;
-               .db 0x01                ; page to load at
-               .dw 0                   ; chmem ("0 - 'all'")
+               .db 0x80                        ; 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
                .dw __sectionlen_.bss__         ; bss size info