]> git.sur5r.net Git - cc65/blob - libsrc/atari/do_oserr.s
atari: split color.s into bordercolor.s and bgcolor.s
[cc65] / libsrc / atari / do_oserr.s
1 ;
2 ; __do_oserror updates __oserror and errno.  Do a JMP here right after
3 ; calling CIOV. It will return with AX set to -1 ($FFFF).  It expects the CIO
4 ; status in Y.
5 ;
6         .include "errno.inc"
7
8         .export __do_oserror
9
10 __do_oserror:
11         tya
12         jmp     __mappederrno