From: Alan Cox Date: Fri, 10 Aug 2018 23:29:00 +0000 (+0100) Subject: trs80m1: adjust the istack_switched_sp so it doesn't get scribbled X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=69b6a4e3dccba05be8a3891274460eda5dee740e;p=FUZIX.git 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 --- 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