zx128: disable switchin/switchout since they are not implemented and cause a di:halt
authorAlexander Tsidaev <a.tsidaev@gmail.com>
Sun, 9 Nov 2014 20:24:56 +0000 (01:24 +0500)
committerAlexander Tsidaev <a.tsidaev@gmail.com>
Mon, 10 Nov 2014 13:33:33 +0000 (18:33 +0500)
Kernel/platform-zx128/tricks.s

index 6f250bd..72c5537 100644 (file)
@@ -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