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:
+4
-4
@@ -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
@@ -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
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user