From bd9b4ef60c9de6c4b2f0bad2a50d624daf066536 Mon Sep 17 00:00:00 2001 From: Oliver Schmidt Date: Mon, 23 Oct 2017 18:35:06 +0200 Subject: [PATCH] Replaced three (logically) identical files with a single file. --- libsrc/atmos/toascii.s | 14 -------------- libsrc/{apple2 => common}/toascii.s | 2 +- libsrc/lynx/toascii.s | 16 ---------------- 3 files changed, 1 insertion(+), 31 deletions(-) delete mode 100644 libsrc/atmos/toascii.s rename libsrc/{apple2 => common}/toascii.s (87%) delete mode 100644 libsrc/lynx/toascii.s 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/apple2/toascii.s b/libsrc/common/toascii.s similarity index 87% rename from libsrc/apple2/toascii.s rename to libsrc/common/toascii.s index a3f946e64..5b1943aca 100644 --- a/libsrc/apple2/toascii.s +++ b/libsrc/common/toascii.s @@ -6,5 +6,5 @@ .export _toascii _toascii: - ldx #$00 + 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 -- 2.39.5