1
0
mirror of https://github.com/cc65/cc65.git synced 2026-04-23 23:17:45 +00:00

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
+4 -4
View File
@@ -44,10 +44,10 @@ __dirread:
; Replace dir by dir->fd
ldy #2
lda (spc),y
lda (c_sp),y
sta ptr1
iny
lda (spc),y
lda (c_sp),y
sta ptr1+1
ldy #DIR::fd+1
lda (ptr1),y
@@ -55,10 +55,10 @@ __dirread:
dey
lda (ptr1),y
ldy #2
sta (spc),y
sta (c_sp),y
pla
iny
sta (spc),y
sta (c_sp),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
+1 -1
View File
@@ -12,7 +12,7 @@
.import opencmdchannel, closecmdchannel, readdiskerror
.import fnunit, fnisfile
.import _close
.importzp spc, tmp2, tmp3
.importzp c_sp, tmp2, tmp3
.include "errno.inc"
.include "fcntl.inc"
+1 -1
View File
@@ -8,7 +8,7 @@
.constructor initstdout
.import rwcommon
.importzp spc, ptr1, ptr2, ptr3
.importzp c_sp, ptr1, ptr2, ptr3
.include "cbm.inc"
.include "errno.inc"