2009-11-25 17:35:21 +00:00
|
|
|
;
|
2010-07-06 22:43:19 +00:00
|
|
|
; __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
|
2009-11-25 17:41:00 +00:00
|
|
|
; status in Y.
|
2009-11-25 17:35:21 +00:00
|
|
|
;
|
|
|
|
.include "errno.inc"
|
|
|
|
|
2010-07-06 22:43:19 +00:00
|
|
|
.export __do_oserror
|
2009-11-25 17:35:21 +00:00
|
|
|
|
|
|
|
__do_oserror:
|
2010-07-06 22:43:19 +00:00
|
|
|
tya
|
|
|
|
jmp __mappederrno
|