From 6f0067453804179c77162e9631bd04454d7a48b1 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Wed, 25 Apr 2018 14:02:44 +0100 Subject: [PATCH] ubee: fix crt0 handling of non TC --- Kernel/platform-ubee/crt0.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/platform-ubee/crt0.s b/Kernel/platform-ubee/crt0.s index 12211f29..f4fb714d 100644 --- a/Kernel/platform-ubee/crt0.s +++ b/Kernel/platform-ubee/crt0.s @@ -84,7 +84,7 @@ not256tc: ; Are we a premium model out (0x1c),a ; Set in a,(0x1c) ; Read cp #0x10 ; If reads back we are premium - jr nz, premium_model + jr z, premium_model ld a,#0x40 ; Colour control register out (0x08),a ; Set in a,(0x08) ; Read -- 2.34.1