]> git.sur5r.net Git - cc65/commitdiff
Improved the stub for __osmaperrno somewhat (Stefan Haubenthal).
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 1 May 2011 21:39:04 +0000 (21:39 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 1 May 2011 21:39:04 +0000 (21:39 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@5013 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/atmos/oserror.s

index befbdffbf5513fd393dd65777d266d0e128d3a5c..aa54ea5851c074d5086912eee252e3e0f301ac6d 100644 (file)
@@ -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
+       ldx     #>EUNKNOWN
+       rts
+
+.endproc