mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 19:29:37 +00:00
13 lines
286 B
ArmAsm
13 lines
286 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
|