rename "sp" to "spc", avoid conflict with 4510 opcodes

This commit is contained in:
Gorilla Sapiens
2025-06-04 02:06:40 +00:00
parent 58171691d0
commit 3d118dc6e5
204 changed files with 908 additions and 908 deletions

View File

@@ -80,8 +80,8 @@ init:
lda #<(__MAIN_START__ + __MAIN_SIZE__)
ldx #>(__MAIN_START__ + __MAIN_SIZE__)
sta sp
stx sp+1 ; Set argument stack ptr
sta spc
stx spc+1 ; Set argument stack ptr
; Switch to the lower/UPPER PetSCII charset.

View File

@@ -238,11 +238,11 @@ MOVE: php
jsr CMOVEY ; Set it
ldy #$01
lda (sp),y
lda (spc),y
sta XPos+1
tax
dey
lda (sp),y
lda (spc),y
sta XPos ; New X position
jsr CMOVEX ; Move the cursor