changed "spc" to "c_sp"
This commit is contained in:
@@ -80,8 +80,8 @@ init:
|
||||
|
||||
lda #<(__MAIN_START__ + __MAIN_SIZE__)
|
||||
ldx #>(__MAIN_START__ + __MAIN_SIZE__)
|
||||
sta spc
|
||||
stx spc+1 ; Set argument stack ptr
|
||||
sta c_sp
|
||||
stx c_sp+1 ; Set argument stack ptr
|
||||
|
||||
; Switch to the lower/UPPER PetSCII charset.
|
||||
|
||||
|
||||
@@ -238,11 +238,11 @@ MOVE: php
|
||||
jsr CMOVEY ; Set it
|
||||
|
||||
ldy #$01
|
||||
lda (spc),y
|
||||
lda (c_sp),y
|
||||
sta XPos+1
|
||||
tax
|
||||
dey
|
||||
lda (spc),y
|
||||
lda (c_sp),y
|
||||
sta XPos ; New X position
|
||||
jsr CMOVEX ; Move the cursor
|
||||
|
||||
|
||||
Reference in New Issue
Block a user