Updated for latest ASL release.

committer: mfx <mfx> 973813228 +0000
This commit is contained in:
Markus F.X.J. Oberhumer 2000-11-09 23:40:28 +00:00
parent c1b8cff796
commit 6a4d9475f2

View File

@ -1,16 +1,22 @@
#!/bin/sh
set -e
# wrapper for the ASL cross-assembler
# http://john.ccac.rwth-aachen.de:8000/as/
# wrapper for the ASL cross-assembler (version 1.42bld9)
# http://john.ccac.rwth-aachen.de:8000/as/
# http://john.ccac.rwth-aachen.de:8000/ftp/as/source/c_version/
file="$1"
test -f "$file" || exit 1
ofile=`echo "$file" | sed 's/\.[a-z]*$/.o/'`
# convert ' to " in dc.x statements
perl -p -i -e '
s,\x27,",g if m,^\s*dc,;
s,\x27,",g if m,^\s*dc\.,;
' "$file"
asl -cpu 68000 "$file"
echo asl -q -xC -U -cpu 68000 -o "$ofile" -L "$file"
asl -q -xC -U -cpu 68000 -o "$ofile" -L "$file"
exit 0