1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 21:32:19 +00:00
cc65/libsrc/atari/do_oserr.s
cpg e673b53850 adapt to new oserror/errno handling
git-svn-id: svn://svn.cc65.org/cc65/trunk@4732 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-07-06 22:43:19 +00:00

13 lines
252 B
ArmAsm

;
; __do_oserror updates __oserror and errno. Do a JMP here right after
; calling CIOV. It will return with AX set to -1 ($FFFF). It expects the CIO
; status in Y.
;
.include "errno.inc"
.export __do_oserror
__do_oserror:
tya
jmp __mappederrno