From 1c39fc9f7d7e299fa03c1cdd57267c092ff7ba05 Mon Sep 17 00:00:00 2001 From: Alexander Tsidaev Date: Mon, 10 Nov 2014 01:24:56 +0500 Subject: [PATCH] zx128: disable switchin/switchout since they are not implemented and cause a di:halt --- Kernel/platform-zx128/tricks.s | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Kernel/platform-zx128/tricks.s b/Kernel/platform-zx128/tricks.s index 6f250bd3..72c5537a 100644 --- a/Kernel/platform-zx128/tricks.s +++ b/Kernel/platform-zx128/tricks.s @@ -36,6 +36,7 @@ ; ; This function can have no arguments or auto variables. _switchout: + ret di call _chksigs ; save machine state @@ -78,6 +79,7 @@ swapped: .ascii "_switchin: SWAPPED" .db 13, 10, 0 _switchin: + ret di pop bc ; return address pop de ; new process pointer -- 2.34.1