]> git.sur5r.net Git - cc65/commitdiff
Dummy implementation for osmapperrno
authorStephan Mühlstrasser <stephan.muehlstrasser@web.de>
Sun, 30 Nov 2014 20:05:36 +0000 (21:05 +0100)
committerStephan Mühlstrasser <stephan.muehlstrasser@web.de>
Sun, 30 Nov 2014 20:05:36 +0000 (21:05 +0100)
Copied from atmos implementation

libsrc/c1p/oserror.s [new file with mode: 0644]

diff --git a/libsrc/c1p/oserror.s b/libsrc/c1p/oserror.s
new file mode 100644 (file)
index 0000000..073691a
--- /dev/null
@@ -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