From 69b6a4e3dccba05be8a3891274460eda5dee740e Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 11 Aug 2018 00:29:00 +0100 Subject: [PATCH] trs80m1: adjust the istack_switched_sp so it doesn't get scribbled With this fixed we seem to be back in business and 768 bytes better off --- Kernel/platform-trs80m1/commonmem.s | 2 -- Kernel/platform-trs80m1/trs80.s | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Kernel/platform-trs80m1/commonmem.s b/Kernel/platform-trs80m1/commonmem.s index 4ca88b31..918bdb08 100644 --- a/Kernel/platform-trs80m1/commonmem.s +++ b/Kernel/platform-trs80m1/commonmem.s @@ -32,8 +32,6 @@ kstack_base: .db 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 kstack_top: -istack_switched_sp: .dw 0 - ; ; We link the pre bank switching setup code in 4400-44FF and a bit ; then convert it into istack. diff --git a/Kernel/platform-trs80m1/trs80.s b/Kernel/platform-trs80m1/trs80.s index a0949bd7..3175ab54 100644 --- a/Kernel/platform-trs80m1/trs80.s +++ b/Kernel/platform-trs80m1/trs80.s @@ -60,6 +60,7 @@ ; into the istack. Don't screw around with the link order! ; istack_top: +istack_switched_sp: .dw 0 _platform_monitor: push af -- 2.34.1