From 98fdd6f7923a63b98992d154084ce6a0afffa4de Mon Sep 17 00:00:00 2001
From: "ol.sc"
Date: Fri, 22 Apr 2011 12:14:28 +0000
Subject: [PATCH] Added toascii().
git-svn-id: svn://svn.cc65.org/cc65/trunk@4991 b7a2c559-68d2-44c3-8de9-860c34a00d81
---
libsrc/apple2/Makefile | 1 +
libsrc/apple2/toascii.s | 10 ++++++++++
libsrc/apple2enh/Makefile | 1 +
3 files changed, 12 insertions(+)
create mode 100644 libsrc/apple2/toascii.s
diff --git a/libsrc/apple2/Makefile b/libsrc/apple2/Makefile
index 89812bbc0..d2f065c13 100644
--- a/libsrc/apple2/Makefile
+++ b/libsrc/apple2/Makefile
@@ -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
index 000000000..586606553
--- /dev/null
+++ b/libsrc/apple2/toascii.s
@@ -0,0 +1,10 @@
+;
+; unsigned char __fastcall__ toascii (unsigned char c);
+; /* Convert a target specific character to ascii */
+;
+
+ .export _toascii
+
+_toascii:
+ ldx #$00
+ rts
diff --git a/libsrc/apple2enh/Makefile b/libsrc/apple2enh/Makefile
index c5b7810a8..e41d435db 100644
--- a/libsrc/apple2enh/Makefile
+++ b/libsrc/apple2enh/Makefile
@@ -108,6 +108,7 @@ S_OBJS= _scrsize.o \
sysuname.o \
textframe.o \
tgi_mode_table.o\
+ toascii.o \
videomode.o \
vtabz.o \
wherex.o \
--
2.39.5