fix cpeeks for CBM610

This commit is contained in:
mrdudz 2017-12-12 04:32:39 +01:00
parent 4d95e578f4
commit 4da22fc6a0
1 changed files with 3 additions and 3 deletions

View 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