1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 04:30:10 +00:00

Dummy implementation for osmapperrno

Copied from atmos implementation
This commit is contained in:
Stephan Mühlstrasser 2014-11-30 21:05:36 +01:00
parent b47a1d99ec
commit e9a90940b1

20
libsrc/c1p/oserror.s Normal file
View 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