]> git.sur5r.net Git - cc65/commitdiff
Replaced three (logically) identical files with a single file.
authorOliver Schmidt <ol.sc@web.de>
Mon, 23 Oct 2017 16:35:06 +0000 (18:35 +0200)
committerOliver Schmidt <ol.sc@web.de>
Mon, 23 Oct 2017 16:35:06 +0000 (18:35 +0200)
libsrc/apple2/toascii.s [deleted file]
libsrc/atmos/toascii.s [deleted file]
libsrc/common/toascii.s [new file with mode: 0644]
libsrc/lynx/toascii.s [deleted file]

diff --git a/libsrc/apple2/toascii.s b/libsrc/apple2/toascii.s
deleted file mode 100644 (file)
index a3f946e..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-;
-; unsigned char __fastcall__ toascii (unsigned char c);
-; /* Convert a target specific character to ascii */
-;
-
-        .export         _toascii
-
-_toascii:
-        ldx     #$00
-        rts
diff --git a/libsrc/atmos/toascii.s b/libsrc/atmos/toascii.s
deleted file mode 100644 (file)
index 77f0500..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-;
-; char __fastcall__ toascii (char c);
-; /* Convert a target-specific character to ASCII. */
-;
-
-.export _toascii
-
-.proc   _toascii
-
-; .X must be zero, on return.
-        ldx     #>$0000
-        rts
-
-.endproc
diff --git a/libsrc/common/toascii.s b/libsrc/common/toascii.s
new file mode 100644 (file)
index 0000000..5b1943a
--- /dev/null
@@ -0,0 +1,10 @@
+;
+; unsigned char __fastcall__ toascii (unsigned char c);
+; /* Convert a target specific character to ascii */
+;
+
+        .export         _toascii
+
+_toascii:
+        ldx     #>$0000
+        rts
diff --git a/libsrc/lynx/toascii.s b/libsrc/lynx/toascii.s
deleted file mode 100644 (file)
index 2a20886..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-;
-; unsigned char __fastcall__ toascii (unsigned char c);
-; /* Convert a target specific character to ascii */
-;
-
-.export _toascii
-
-.proc _toascii
-
-; X must be zero on return
-        ldx     #0
-
-; Done!
-        rts
-
-.endproc