2021-12-15 15:53:06 +00:00
|
|
|
@rem === BUILD SCRIPT ===
|
|
|
|
|
|
|
|
@SET TARGET=%1
|
2021-12-17 15:42:22 +00:00
|
|
|
@SET TMS9918=..\..
|
2021-12-15 15:53:06 +00:00
|
|
|
|
|
|
|
@echo ======================== VIC20 ===================================================
|
2021-12-21 19:51:31 +00:00
|
|
|
call kickc -includedir %TMS9918%\lib -targetdir %TMS9918%\kickc\ -t vic20_8k %TARGET%.c -o out\%TARGET%_vic20.prg -e
|
2021-12-15 15:53:06 +00:00
|
|
|
copy out\%TARGET%.prg out\%TARGET%_vic20.prg
|
|
|
|
|
2022-01-01 10:19:16 +00:00
|
|
|
@echo ======================== APPLE 1 JUKEBOX =================================================
|
2022-01-18 14:14:59 +00:00
|
|
|
call kickc -includedir %TMS9918%\lib -targetdir %TMS9918%\kickc\ -t apple1_jukebox %TARGET%.c -o out\%TARGET%.prg -e
|
|
|
|
call node %TMS9918%\tools\mkeprom out out\%TARGET%_jukebox.bin
|
2021-12-15 15:53:06 +00:00
|
|
|
|
2022-01-01 11:49:53 +00:00
|
|
|
@echo ======================== APPLE 1 =================================================
|
2022-01-18 14:14:59 +00:00
|
|
|
call kickc -includedir %TMS9918%\lib -targetdir %TMS9918%\kickc\ -t apple1 %TARGET%.c -o out\%TARGET%.prg -e
|
|
|
|
call node %TMS9918%\tools\prg2bin -i out\%TARGET%.prg -o out\%TARGET%.bin
|
|
|
|
call node %TMS9918%\tools\prg2woz -i out\%TARGET%.prg -o out\%TARGET%.woz
|
2022-01-01 10:19:16 +00:00
|
|
|
|
2021-12-15 15:53:06 +00:00
|
|
|
@rem clean up files
|
|
|
|
@del out\apple1_codeseg.bin
|
|
|
|
@del out\apple1_dataseg.bin
|
|
|
|
@del out\*.vs
|
|
|
|
@del out\*.klog
|
|
|
|
@del out\*.vs
|
|
|
|
@del out\*.dbg
|