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

@@ -44,10 +44,10 @@ __dirread:
; Replace dir by dir->fd
ldy #2
lda (sp),y
lda (spc),y
sta ptr1
iny
lda (sp),y
lda (spc),y
sta ptr1+1
ldy #DIR::fd+1
lda (ptr1),y
@@ -55,10 +55,10 @@ __dirread:
dey
lda (ptr1),y
ldy #2
sta (sp),y
sta (spc),y
pla
iny
sta (sp),y
sta (spc),y
; Get count, save it again, clear the high byte and call read(). By the
; previous actions, the stack frame is as read() needs it, and read() will