Split run.sh off from make.sh, and handle VICE-2.4 (load at $1001).
Cat's Eye Technologies
9 years ago
Binary diff not shown
0 | 0 | #!/bin/sh |
1 | # usage: ./make.sh ekileugor [test] | |
1 | if [ -z $1 ]; then | |
2 | TARGET='ekileugor' | |
3 | else | |
4 | TARGET=$1 | |
5 | fi | |
2 | 6 | mkdir -p bin |
3 | yucca -R -x src/$1.bas > src/$1.yucca.bas || exit $? | |
4 | petcat -w2 -o bin/$1.prg -- src/$1.yucca.bas || exit $? | |
5 | rm -f src/$1.yucca.bas | |
6 | ls -la bin/$1.prg | |
7 | if [ "x$2" = "xtest" ]; then | |
8 | xvic bin/$1.prg | |
9 | fi | |
7 | yucca -R -x src/$TARGET.bas > src/$TARGET.yucca.bas || exit $? | |
8 | # $1001 is the BASIC memory start address on the unexpanded VIC-20 | |
9 | petcat -l 1001 -w2 -o bin/$TARGET.prg -- src/$TARGET.yucca.bas || exit $? | |
10 | rm -f src/$TARGET.yucca.bas | |
11 | ls -la bin/$TARGET.prg |