1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 15:29:46 +00:00
cc65/libsrc/atari/do_oserr.s

13 lines
284 B
ArmAsm
Raw Normal View History

;
; __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