lseek: use STZ for APPLE2ENH
(As suggested in pull request.)
This commit is contained in:
parent
68a115cacf
commit
8cb930b50e
1 changed files with 4 additions and 0 deletions
|
@ -85,8 +85,12 @@ seek_common:
|
|||
bcs oserr
|
||||
|
||||
; Need to return the position in EAX
|
||||
.ifdef __APPLE2ENH__
|
||||
stz sreg+1
|
||||
.else
|
||||
lda #0
|
||||
sta sreg+1
|
||||
.endif
|
||||
lda mliparam + MLI::MARK::POSITION+2
|
||||
sta sreg
|
||||
ldx mliparam + MLI::MARK::POSITION+1
|
||||
|
|
Loading…
Add table
Reference in a new issue