From: Oliver Schmidt
Date: Mon, 23 Oct 2017 16:35:06 +0000 (+0200)
Subject: Replaced three (logically) identical files with a single file.
X-Git-Tag: V2.17~84
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bd9b4ef60c9de6c4b2f0bad2a50d624daf066536;p=cc65
Replaced three (logically) identical files with a single file.
---
diff --git a/libsrc/apple2/toascii.s b/libsrc/apple2/toascii.s
deleted file mode 100644
index a3f946e64..000000000
--- a/libsrc/apple2/toascii.s
+++ /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
index 77f050021..000000000
--- a/libsrc/atmos/toascii.s
+++ /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
index 000000000..5b1943aca
--- /dev/null
+++ b/libsrc/common/toascii.s
@@ -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
index 2a2088688..000000000
--- a/libsrc/lynx/toascii.s
+++ /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