mirror of
https://github.com/cc65/cc65.git
synced 2025-04-05 13:37:17 +00:00
fix cpeeks for CBM610
This commit is contained in:
parent
4d95e578f4
commit
4da22fc6a0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user