]> git.sur5r.net Git - cc65/commitdiff
Added toascii().
authorol.sc <ol.sc@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 22 Apr 2011 12:14:28 +0000 (12:14 +0000)
committerol.sc <ol.sc@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 22 Apr 2011 12:14:28 +0000 (12:14 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@4991 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/apple2/Makefile
libsrc/apple2/toascii.s [new file with mode: 0644]
libsrc/apple2enh/Makefile

index 89812bbc06512b9390ad597f5ac602f82245f932..d2f065c13dbaedff0bd8b40b2cecd6a07a7c7573 100644 (file)
@@ -104,6 +104,7 @@ S_OBJS=     _scrsize.o      \
         systime.o       \
         sysuname.o      \
         tgi_mode_table.o\
+        toascii.o       \
         vtabz.o         \
        wherex.o        \
                wherey.o        \
diff --git a/libsrc/apple2/toascii.s b/libsrc/apple2/toascii.s
new file mode 100644 (file)
index 0000000..5866065
--- /dev/null
@@ -0,0 +1,10 @@
+;
+; unsigned char __fastcall__ toascii (unsigned char c);
+; /* Convert a target specific character to ascii */
+;
+
+        .export                _toascii
+
+_toascii:
+        ldx     #$00
+        rts
index c5b7810a88af5b78f0ee00445abc9c30e8e0da56..e41d435dbcfba6b36c564afc47812e0602f2adbb 100644 (file)
@@ -108,6 +108,7 @@ S_OBJS=     _scrsize.o      \
         sysuname.o      \
        textframe.o     \
         tgi_mode_table.o\
+        toascii.o       \
         videomode.o     \
         vtabz.o         \
        wherex.o        \