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

@@ -61,16 +61,16 @@ _vfscanf:
; Swap f against &d on the stack, placing f into d.data
ldy #2 ; Offset of f on the stack
lda (sp),y
lda (spc),y
sta d + SCANFDATA::DATA
lda #<d
sta (sp),y
sta (spc),y
iny ; High byte
lda (sp),y
lda (spc),y
sta d + SCANFDATA::DATA + 1
lda #>d
sta (sp),y
sta (spc),y
; Restore the low byte of ap, and call the _scanf function