From: mrdudz Date: Tue, 12 Dec 2017 03:32:39 +0000 (+0100) Subject: fix cpeeks for CBM610 X-Git-Tag: V2.17~59^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4da22fc6a095258e8ee16a6659ca4a90585c18f1;p=cc65 fix cpeeks for CBM610 --- diff --git a/libsrc/cbm610/cpeeks.s b/libsrc/cbm610/cpeeks.s index 91aae8957..352521bcc 100644 --- a/libsrc/cbm610/cpeeks.s +++ b/libsrc/cbm610/cpeeks.s @@ -8,7 +8,7 @@ .import popax .importzp ptr1, ptr2, ptr3, tmp1, tmp2 - .importzp CURS_X, SCREEN_PTR + .importzp CURS_X, CharPtr .include "cbm610.inc" .macpack generic @@ -21,8 +21,8 @@ _cpeeks: eor #>$FFFF sta ptr3+1 - lda SCREEN_PTR - ldx SCREEN_PTR+1 + lda CharPtr + ldx CharPtr+1 sta ptr2 stx ptr2+1 ldy CURS_X