2017-04-23 22:25:49 +00:00
|
|
|
#!/bin/sh
|
|
|
|
d=$(dirname $0)
|
|
|
|
mkdir -p $d/../sources/msdos
|
|
|
|
for i in $d/../msdos/*.{fb,vid,sys}; do
|
|
|
|
b=$(basename $i)
|
2020-07-20 21:47:02 +00:00
|
|
|
/bin/echo -n "write $d/../sources/msdos/"${b%.*}.fth" ..."
|
|
|
|
$d/dumpblock.sh "$i" > $d/../sources/msdos/${b%.*}.fth
|
2020-06-20 16:57:46 +00:00
|
|
|
echo " Done."
|
|
|
|
done
|
|
|
|
|
|
|
|
mkdir -p $d/../sources/cpm
|
2020-07-19 22:27:39 +00:00
|
|
|
for i in $d/../8080/CPM/*.fb; do
|
2020-06-20 16:57:46 +00:00
|
|
|
b=$(basename $i)
|
2020-07-20 21:47:02 +00:00
|
|
|
/bin/echo -n "write $d/../sources/cpm/${b%.*}.fth ..."
|
|
|
|
$d/dumpblock.sh "$i" > $d/../sources/cpm/${b%.*}.fth
|
2020-06-20 16:57:46 +00:00
|
|
|
echo " Done."
|
|
|
|
done
|
|
|
|
|
|
|
|
mkdir -p $d/../sources/AtariST
|
|
|
|
for i in $d/../AtariST/*.FB; do
|
|
|
|
b=$(basename $i)
|
2020-07-20 21:47:02 +00:00
|
|
|
/bin/echo -n "write $d/../sources/AtariST/${b%.*}.fth ..."
|
|
|
|
$d/dumpblock.sh "$i" > $d/../sources/AtariST/${b%.*}.fth
|
2020-06-20 16:57:46 +00:00
|
|
|
echo " Done."
|
|
|
|
done
|
|
|
|
|
|
|
|
mkdir -p $d/../sources/AtariST/GEM
|
|
|
|
for i in $d/../AtariST/GEM/*.FB; do
|
|
|
|
b=$(basename $i)
|
2020-07-20 21:47:02 +00:00
|
|
|
/bin/echo -n "write $d/../sources/AtariST/GEM/${b%.*}.fth ..."
|
|
|
|
$d/dumpblock.sh "$i" > $d/../sources/AtariST/GEM/${b%.*}.fth
|
2017-04-23 22:25:49 +00:00
|
|
|
echo " Done."
|
|
|
|
done
|
|
|
|
|
2020-07-15 09:23:55 +00:00
|
|
|
mkdir -p $d/../sources/Apple1
|
|
|
|
for i in $d/../6502/Apple1/source/*.fb; do
|
|
|
|
b=$(basename $i)
|
2020-07-20 21:47:02 +00:00
|
|
|
/bin/echo -n "write $d/../source/Apple1/${b%.*}.fth ..."
|
|
|
|
$d/dumpblock.sh "$i" > $d/../sources/Apple1/${b%.*}.fth
|
2020-07-15 09:23:55 +00:00
|
|
|
echo " Done."
|
|
|
|
done
|