Dummy implementation for osmapperrno
Copied from atmos implementation
This commit is contained in:
20
libsrc/c1p/oserror.s
Normal file
20
libsrc/c1p/oserror.s
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
;
|
||||||
|
; dummy implementation for Challenger 1P based on atmos implementation
|
||||||
|
;
|
||||||
|
; original by
|
||||||
|
; Stefan Haubenthal, 2011-04-18
|
||||||
|
;
|
||||||
|
; int __fastcall__ _osmaperrno (unsigned char oserror);
|
||||||
|
; /* Map a system specific error into a system independent code */
|
||||||
|
;
|
||||||
|
|
||||||
|
.include "errno.inc"
|
||||||
|
.export __osmaperrno
|
||||||
|
|
||||||
|
.proc __osmaperrno
|
||||||
|
|
||||||
|
lda #<EUNKNOWN
|
||||||
|
ldx #>EUNKNOWN
|
||||||
|
rts
|
||||||
|
|
||||||
|
.endproc
|
||||||
Reference in New Issue
Block a user