From be9c7a647112319a9eadcff7c681deab507322dc Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sun, 24 Sep 2017 23:57:46 +0100 Subject: [PATCH] 65c816: fix interrupt return path for the kernel case Was pulling A as 8 not 16bit, grrr. With this fixed we can try (and fail) to mount a rootfs, but we are messing something up as bootdev: 0 return gives us a psleep: voododo panic. --- Kernel/lowlevel-65c816.s | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Kernel/lowlevel-65c816.s b/Kernel/lowlevel-65c816.s index f645b249..4be0465c 100644 --- a/Kernel/lowlevel-65c816.s +++ b/Kernel/lowlevel-65c816.s @@ -452,6 +452,9 @@ join_interrupt_path: phx pld + rep #$20 + .a16 + ply plx pla -- 2.34.1