From c96780efbf3ed20e7384498dbc5abb67bf3880ed Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Wed, 3 Oct 2018 14:34:39 +0100 Subject: [PATCH] msx1: put a JP at the start of the ROM We need this for our null checker --- Kernel/platform-msx1/crt0.s | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 ? -- 2.34.1