git @ Cat's Eye Technologies Dungeons-of-Ekileugor / 9e57d68
Split run.sh off from make.sh, and handle VICE-2.4 (load at $1001). Cat's Eye Technologies 9 years ago
3 changed file(s) with 18 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
Binary diff not shown
00 #!/bin/sh
1 # usage: ./make.sh ekileugor [test]
1 if [ -z $1 ]; then
2 TARGET='ekileugor'
3 else
4 TARGET=$1
5 fi
26 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
0 #!/bin/sh
1 if [ -z $1 ]; then
2 TARGET='ekileugor'
3 else
4 TARGET=$1
5 fi
6 ./make.sh $TARGET || exit $?
7 xvic bin/$TARGET.prg