added example

This commit is contained in:
Jakub Husak
2023-02-03 13:04:21 +01:00
parent 0a11213eae
commit 3d1f5a27a7
2 changed files with 21 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
for i in *; do
! [ -f "$i/macroflashname.asx" ] && continue
./makeflashwrite.sh "$i" noprocess
echo "press RETURN"
read
done
+13
View File
@@ -0,0 +1,13 @@
outfile="$1"
vol=/Volumes/SDCard
echo Copy $outfile to card?
read
while true; do
[ -d "$vol" ] && cp "$outfile" "$vol"/ATARI/ && { eject; exit; }
echo Waiting for card inserted...
sleep 1
done