Merge pull request #2814 from jedeoric/master
telestrat target : lseek now returns position as it should
This commit is contained in:
@@ -35,5 +35,12 @@
|
||||
ldy tmp3
|
||||
ldx tmp1 ; Get whence
|
||||
BRK_TELEMON XFSEEK
|
||||
; A & X contains position (from 0 to 15 bits)
|
||||
; RES (2 bytes) contains position (from 16 to 31 bits)
|
||||
; Returns long
|
||||
ldy RES+1
|
||||
sty sreg+1
|
||||
ldy RES
|
||||
sty sreg
|
||||
rts
|
||||
.endproc
|
||||
|
||||
Reference in New Issue
Block a user