From: Alan Cox Date: Wed, 25 Apr 2018 13:02:44 +0000 (+0100) Subject: ubee: fix crt0 handling of non TC X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=6f0067453804179c77162e9631bd04454d7a48b1;p=FUZIX.git ubee: fix crt0 handling of non TC --- 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