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

View File

@@ -12,7 +12,7 @@
.import opencmdchannel, closecmdchannel, readdiskerror
.import fnunit, fnisfile
.import _close
.importzp sp, tmp2, tmp3
.importzp spc, tmp2, tmp3
.include "errno.inc"
.include "fcntl.inc"

View File

@@ -8,7 +8,7 @@
.constructor initstdout
.import rwcommon
.importzp sp, ptr1, ptr2, ptr3
.importzp spc, ptr1, ptr2, ptr3
.include "cbm.inc"
.include "errno.inc"