From 7c2c72af48f91e00c6f0748038c54ba225822ea5 Mon Sep 17 00:00:00 2001 From: mooinglemur Date: Sat, 25 May 2024 17:47:54 -0700 Subject: [PATCH] [KERNAL] fix old CBM porting bug which assumed color variable was 0-15 for unconditional branch --- kernal/cbm/editor.s | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kernal/cbm/editor.s b/kernal/cbm/editor.s index 94de3cc4..e297a7b9 100644 --- a/kernal/cbm/editor.s +++ b/kernal/cbm/editor.s @@ -778,8 +778,7 @@ bk2 lda #' ' jsr screen_set_char lda color jsr screen_set_color - bmi ntcn1 - jmp jpl3 + jmp loop2 ntcn1 ldx qtsw beq nc3w bit mode