2021-12-21 20:51:31 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
TARGET=$1
|
|
|
|
TMS9918=../..
|
|
|
|
|
|
|
|
mkdir -p out
|
|
|
|
|
2022-01-02 14:04:56 +01:00
|
|
|
echo ======================== APPLE 1 JUKEBOX =================================================
|
2022-01-18 15:14:59 +01:00
|
|
|
kickc.sh -includedir ${TMS9918}/lib -targetdir ${TMS9918}/kickc/ -t apple1_jukebox ${TARGET}.c -o out/${TARGET}.prg -e
|
|
|
|
node ${TMS9918}/tools/mkeprom out out/${TARGET}_jukebox.bin
|
2021-12-21 20:51:31 +01:00
|
|
|
|
2022-01-02 14:04:56 +01:00
|
|
|
echo ======================== APPLE 1 =================================================
|
2022-01-18 15:14:59 +01:00
|
|
|
kickc.sh -includedir ${TMS9918}/lib -targetdir ${TMS9918}/kickc/ -t apple1 ${TARGET}.c -o out/${TARGET}.prg -e
|
|
|
|
node ${TMS9918}/tools/prg2bin -i out/${TARGET}.prg -o out/${TARGET}.bin
|
|
|
|
node ${TMS9918}/tools/prg2woz -i out/${TARGET}.prg -o out/${TARGET}.woz
|
2022-01-02 14:04:56 +01:00
|
|
|
|
2021-12-21 20:51:31 +01:00
|
|
|
# clean up files
|
|
|
|
rm -f out/apple1_codeseg.bin
|
|
|
|
rm -f out/apple1_dataseg.bin
|
|
|
|
rm -f out/*.vs
|
|
|
|
rm -f out/*.klog
|
|
|
|
rm -f out/*.vs
|
|
|
|
rm -f out/*.dbg
|
2022-01-18 15:14:59 +01:00
|
|
|
|