setup: we need the ROM off
authorAlan Cox <alan@linux.intel.com>
Fri, 17 Aug 2018 12:09:47 +0000 (13:09 +0100)
committerAlan Cox <alan@linux.intel.com>
Fri, 17 Aug 2018 12:09:47 +0000 (13:09 +0100)
Kernel/platform-sam/setup.s

index a29bc49..5825b3a 100644 (file)
@@ -45,10 +45,11 @@ bootstrap:
        ; Put the video in the right place and set the mode
        ld a,#4 + MODE3
        out (252),a
-       xor a
        ; Map the kernel low
+       ld a,#0x20              ; ROM off bank 0/1
        out (250),a
        ; Black border to hint where we got to
+       xor a
        out (254),a
        jp 0x100
 ;