]> git.sur5r.net Git - cc65/commitdiff
fix cpeeks for CBM610
authormrdudz <mrdudz@users.noreply.github.com>
Tue, 12 Dec 2017 03:32:39 +0000 (04:32 +0100)
committermrdudz <mrdudz@users.noreply.github.com>
Tue, 12 Dec 2017 03:32:39 +0000 (04:32 +0100)
libsrc/cbm610/cpeeks.s

index 91aae895716e6f6c9648953dcd40f52d72641853..352521bcca3aeb829cfdf33614a09f6535343f78 100644 (file)
@@ -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