Many new parsing features; reorganization; examples added.
[mumble.git] / tools / dot-s-to-sc68.sh
blob966aa867ffc43a8fe7b7fa60ac9d7a30bb70f21c
1 #!/bin/sh
3 # $1 should end in .s
4 if [ X`echo $1 | sed -e s/\.s$//` = X$1 ]; then
5 echo "The argument to this script ($1) should end in \".s\"."
6 exit 1
7 fi
9 as68 $1 || exit 1
10 debug68 <<EOF
11 ldat `echo $1 | sed -e s/\.s$/.bin/`
12 r= ymamoto
14 sd `echo $1 | sed -e s/\.s$/.sc68/`
16 EOF
17 exit $?