From: Alan Cox Date: Wed, 3 Oct 2018 13:34:39 +0000 (+0100) Subject: msx1: put a JP at the start of the ROM X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=c96780efbf3ed20e7384498dbc5abb67bf3880ed;p=FUZIX.git msx1: put a JP at the start of the ROM We need this for our null checker --- diff --git a/Kernel/platform-msx1/crt0.s b/Kernel/platform-msx1/crt0.s index df5dec13..9831e266 100644 --- a/Kernel/platform-msx1/crt0.s +++ b/Kernel/platform-msx1/crt0.s @@ -33,13 +33,17 @@ .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 ?