From df2c73423daf497f07835b582e6e0fe15943d622 Mon Sep 17 00:00:00 2001 From: Carsten Strotmann Date: Sun, 26 Jul 2020 13:25:08 +0200 Subject: [PATCH] Atari 8bit: ATASCII Convert tools --- tools/from-atascii.sh | 4 ++++ tools/to-atascii.sh | 4 ++++ 2 files changed, 8 insertions(+) create mode 100755 tools/from-atascii.sh create mode 100755 tools/to-atascii.sh diff --git a/tools/from-atascii.sh b/tools/from-atascii.sh new file mode 100755 index 0000000..3c05f2e --- /dev/null +++ b/tools/from-atascii.sh @@ -0,0 +1,4 @@ +#!/bin/sh +# converts from ATASCII (Atari 400/800/XL/XE) to ASCII + +tr '\233\177' '\12\11' < ${1} > ${2} diff --git a/tools/to-atascii.sh b/tools/to-atascii.sh new file mode 100755 index 0000000..344c1c9 --- /dev/null +++ b/tools/to-atascii.sh @@ -0,0 +1,4 @@ +#!/bin/sh +# converts from ASCII to ATASCII (Atari 400/800/XL/XE) + +tr '\12\11' '\233\177' < ${1} > ${2}