From: uz Date: Sun, 1 May 2011 21:39:04 +0000 (+0000) Subject: Improved the stub for __osmaperrno somewhat (Stefan Haubenthal). X-Git-Tag: V2.13.3~447 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=06fddaf11f7d19bc8ae6fe61b9e6ec6bea3e25f0;p=cc65 Improved the stub for __osmaperrno somewhat (Stefan Haubenthal). git-svn-id: svn://svn.cc65.org/cc65/trunk@5013 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/atmos/oserror.s b/libsrc/atmos/oserror.s index befbdffbf..aa54ea585 100644 --- a/libsrc/atmos/oserror.s +++ b/libsrc/atmos/oserror.s @@ -1,11 +1,17 @@ ; -; Stefan Haubenthal, 2011-04-10 +; 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 - .import return0 -__osmaperrno = return0 +.proc __osmaperrno + + lda #EUNKNOWN + rts + +.endproc