Skip to content

Commit

Permalink
Added commandore script
Browse files Browse the repository at this point in the history
  • Loading branch information
artyom-beilis committed Jan 9, 2020
1 parent 826761d commit 907f150
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sin2com.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FL=train_no_buffer.bas
cat $FL | grep -v SPECTRUM | sed 's/REM CMD://' | tr '[A-Z]' '[a-z]' | sed 's/go to/goto/g' | sed 's/go sub/gosub/g' | sed 's/let //g' >test.bas
#sed 's/(\([^)$,]*\),\([^),]*\),\([^),]*\),\([^),]*\))/(\1-1,\2-1,\3-1,\4-1)/g' | \
#sed 's/(\([^)$,]*\),\([^),]*\),\([^),]*\))/(\1-1,\2-1,\3-1)/g' | \
#sed 's/(\([^)$,]*\),\([^),]*\))/(\1-1,\2-1)/g' \
~/my/com/vice/bin/petcat -w2 -o test.prg -- test.bas

0 comments on commit 907f150

Please sign in to comment.