mirror of
https://github.com/cc65/cc65.git
synced 2025-01-01 03:30:20 +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
|
bcs oserr
|
||||||
|
|
||||||
; Need to return the position in EAX
|
; Need to return the position in EAX
|
||||||
|
.ifdef __APPLE2ENH__
|
||||||
|
stz sreg+1
|
||||||
|
.else
|
||||||
lda #0
|
lda #0
|
||||||
sta sreg+1
|
sta sreg+1
|
||||||
|
.endif
|
||||||
lda mliparam + MLI::MARK::POSITION+2
|
lda mliparam + MLI::MARK::POSITION+2
|
||||||
sta sreg
|
sta sreg
|
||||||
ldx mliparam + MLI::MARK::POSITION+1
|
ldx mliparam + MLI::MARK::POSITION+1
|
||||||
|
Loading…
Reference in New Issue
Block a user