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

@@ -44,10 +44,10 @@ __dirread:
; Replace dir by dir->fd
ldy #2
lda (sp),y
lda (c_sp),y
sta ptr1
iny
lda (sp),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 (sp),y
sta (c_sp),y
pla
iny
sta (sp),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

View File

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

View File

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