From 72a4c81b268f8642ae6f391bcc39a3e9d0515982 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 27 Dec 2014 13:14:32 +0000 Subject: [PATCH] ubee: check the right flag on dec b for the crtc loop. --- Kernel/platform-ubee/ubee.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/platform-ubee/ubee.s b/Kernel/platform-ubee/ubee.s index 8ea06677..ce4343e4 100644 --- a/Kernel/platform-ubee/ubee.s +++ b/Kernel/platform-ubee/ubee.s @@ -100,7 +100,7 @@ ctcloop: out (c), b ; register out (0x0D), a ; data inc hl dec b - jr nc, ctcloop + jp po, ctcloop ; check V not C ; ensure the CTC clock is right ld a, #0 in a, (9) ; manual says in but double check -- 2.34.1