msx1: put a JP at the start of the ROM
authorAlan Cox <alan@linux.intel.com>
Wed, 3 Oct 2018 13:34:39 +0000 (14:34 +0100)
committerAlan Cox <alan@linux.intel.com>
Wed, 3 Oct 2018 13:34:39 +0000 (14:34 +0100)
We need this for our null checker

Kernel/platform-msx1/crt0.s

index df5dec1..9831e26 100644 (file)
                .globl s__INITIALIZER
                .globl kstack_top
                .globl interrupt_handler
+               .globl null_handler
 
                .globl rst38            ; for checking
 ;
 ;      First _CODE section
+;
+;      We need to put the bank switch stub in here and matching in RAM
 ;
                .area _CODE
 
-               .ds 0x38
+start:         jp null_handler
+               .ds 0x35
 rst38:         jp interrupt_handler
                ; FIXME NMI etc ?