This commit is contained in:
mrdudz
2025-06-23 17:09:06 +02:00
parent 4863a3e29b
commit 5fc15a7a60
204 changed files with 915 additions and 912 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 (c_sp),y
sta d + SCANFDATA::DATA
lda #<d
sta (sp),y
sta (c_sp),y
iny ; High byte
lda (sp),y
lda (c_sp),y
sta d + SCANFDATA::DATA + 1
lda #>d
sta (sp),y
sta (c_sp),y
; Restore the low byte of ap, and call the _scanf function