diff --git a/src/stub/scripts/asl_68k.sh b/src/stub/scripts/asl_68k.sh new file mode 100644 index 00000000..14a63e56 --- /dev/null +++ b/src/stub/scripts/asl_68k.sh @@ -0,0 +1,16 @@ +#!/bin/sh +set -e + +# wrapper for the ASL cross-assembler +# http://john.ccac.rwth-aachen.de:8000/as/ + +file="$1" + +perl -p -i -e ' + s,\x27,",g if m,^\s*dc,; +' "$file" + +asl -cpu 68000 "$file" + +exit 0 +