2011-04-16 12:15:49 +00:00
|
|
|
;
|
2011-05-01 21:39:04 +00:00
|
|
|
; Stefan Haubenthal, 2011-04-18
|
2011-04-16 12:15:49 +00:00
|
|
|
;
|
2022-08-28 19:52:53 +00:00
|
|
|
; int __fastcall__ __osmaperrno (unsigned char oserror);
|
2011-04-16 12:15:49 +00:00
|
|
|
; /* Map a system specific error into a system independent code */
|
|
|
|
;
|
|
|
|
|
2013-05-09 11:56:54 +00:00
|
|
|
.include "errno.inc"
|
2022-08-28 19:52:53 +00:00
|
|
|
.export ___osmaperrno
|
2011-04-16 12:15:49 +00:00
|
|
|
|
2022-08-28 19:52:53 +00:00
|
|
|
.proc ___osmaperrno
|
2011-05-01 21:39:04 +00:00
|
|
|
|
2013-05-09 11:56:54 +00:00
|
|
|
lda #<EUNKNOWN
|
|
|
|
ldx #>EUNKNOWN
|
|
|
|
rts
|
2011-05-01 21:39:04 +00:00
|
|
|
|
|
|
|
.endproc
|