From 783408080cd89ec954b5bab65d56625e90b9294e Mon Sep 17 00:00:00 2001 From: mrdudz Date: Thu, 28 Dec 2017 17:52:27 +0100 Subject: [PATCH] convert to petscii --- libsrc/c64/soft80_cpeekc.s | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libsrc/c64/soft80_cpeekc.s b/libsrc/c64/soft80_cpeekc.s index 63ad635e7..576d50fc1 100644 --- a/libsrc/c64/soft80_cpeekc.s +++ b/libsrc/c64/soft80_cpeekc.s @@ -15,6 +15,13 @@ soft80_cpeekc: jsr soft80_cpeekchar + ; 0-1F -> A0-BF + ; 20-7F -> 20-7F + cmp #$20 + bcs @sk + ;clc + adc #$a0 +@sk: ldx #0 rts -- 2.39.5