changed "spc" to "c_sp"
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
.import _open
|
||||
.import pushax, incsp4, return0
|
||||
.importzp spc, ptr1
|
||||
.importzp c_sp, ptr1
|
||||
|
||||
|
||||
.include "errno.inc"
|
||||
@@ -28,10 +28,10 @@
|
||||
; Get a pointer to the mode string
|
||||
|
||||
ldy #1
|
||||
lda (spc),y
|
||||
lda (c_sp),y
|
||||
sta ptr1+1
|
||||
dey
|
||||
lda (spc),y
|
||||
lda (c_sp),y
|
||||
sta ptr1
|
||||
|
||||
; Look at the first character in mode
|
||||
@@ -78,10 +78,10 @@ invmode:
|
||||
|
||||
modeok: ldy #$00
|
||||
txa ; Mode -> A
|
||||
sta (spc),y
|
||||
sta (c_sp),y
|
||||
tya
|
||||
iny
|
||||
sta (spc),y
|
||||
sta (c_sp),y
|
||||
ldy #4 ; Size of arguments in bytes
|
||||
jsr _open ; Will cleanup the stack
|
||||
|
||||
|
||||
Reference in New Issue
Block a user