]> git.sur5r.net Git - cc65/commit
lseek: Implement additional feedback from PR #723.
authorPatrick Pelletier <code@funwithsoftware.org>
Mon, 20 Aug 2018 07:56:01 +0000 (00:56 -0700)
committerOliver Schmidt <ol.sc@web.de>
Mon, 20 Aug 2018 20:24:48 +0000 (22:24 +0200)
commit59a4ab877886a57334060b0e0366fbb69aa6e493
tree197ec2acd87733081c0309a960f7601ca35345b9
parent8cb930b50e93647cd28debfc40f39fcf6507797b
lseek: Implement additional feedback from PR #723.

* Check CPU_ISET_65SC02 rather than APPLE2ENH.
* Set sreg and sreg+1 to $FF on error, to return -1 as a long.
libsrc/apple2/lseek.s