repo.or.cz
/
mumble.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Many new parsing features; reorganization; examples added.
[mumble.git]
/
tools
/
dot-s-to-sc68.sh
blob
966aa867ffc43a8fe7b7fa60ac9d7a30bb70f21c
1
#!/bin/sh
2
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
8
9
as68
$1
||
exit
1
10
debug68
<<EOF
11
ldat `echo
$1
| sed -e s/\.s$/.bin/`
12
r= ymamoto
13
ft
14
sd `echo
$1
| sed -e s/\.s$/.sc68/`
15
x
16
EOF
17
exit
$?