From 22d98caa5bef0b67f19042a880ef35779486388e Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Tue, 31 Dec 2019 20:01:52 +0100 Subject: [PATCH] Fix color depack algo --- misc/c64viewer/picview.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/c64viewer/picview.asm b/misc/c64viewer/picview.asm index 2d112b70..e5d74bb8 100644 --- a/misc/c64viewer/picview.asm +++ b/misc/c64viewer/picview.asm @@ -131,7 +131,7 @@ colorrestore: ; special color RAM compression (only low nibble matters) ; high nibble is count colordepack: - dex + ;dex colordepacklp: jsr readbyte colordepacklp2: @@ -141,7 +141,7 @@ colordepacklp2: dex bpl + rts -* cld +* clc adc #$10 bcs colordepacklp bcc colordepacklp2