changed "spc" to "c_sp"

This commit is contained in:
Gorilla Sapiens
2025-06-04 06:37:59 +00:00
parent 3d118dc6e5
commit b6f42f9ab2
204 changed files with 913 additions and 909 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 (spc),y
lda (c_sp),y
sta d + SCANFDATA::DATA
lda #<d
sta (spc),y
sta (c_sp),y
iny ; High byte
lda (spc),y
lda (c_sp),y
sta d + SCANFDATA::DATA + 1
lda #>d
sta (spc),y
sta (c_sp),y
; Restore the low byte of ap, and call the _scanf function