mirror of
https://github.com/cc65/cc65.git
synced 2024-12-28 22:30:12 +00:00
lseek: use STZ for APPLE2ENH
(As suggested in pull request.)
This commit is contained in:
parent
68a115cacf
commit
8cb930b50e
@ -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…
Reference in New Issue
Block a user