2021-12-15 16:53:06 +01:00
|
|
|
@rem === BUILD SCRIPT ===
|
|
|
|
|
|
|
|
@SET TARGET=%1
|
2021-12-17 16:42:22 +01:00
|
|
|
@SET TMS9918=..\..
|
2021-12-15 16:53:06 +01:00
|
|
|
|
|
|
|
@echo ======================== VIC20 ===================================================
|
2021-12-21 20:51:31 +01:00
|
|
|
call kickc -includedir %TMS9918%\lib -targetdir %TMS9918%\kickc\ -t vic20_8k %TARGET%.c -o out\%TARGET%_vic20.prg -e
|
2021-12-15 16:53:06 +01:00
|
|
|
copy out\%TARGET%.prg out\%TARGET%_vic20.prg
|
|
|
|
|
|
|
|
@echo ======================== APPLE 1 =================================================
|
2021-12-17 16:42:22 +01:00
|
|
|
call kickc -includedir %TMS9918%\lib -targetdir %TMS9918%\kickc\ -t apple1_jukebox %TARGET%.c -o out\%TARGET%_apple1.prg -e
|
2021-12-15 16:53:06 +01:00
|
|
|
|
|
|
|
@rem builds the apple1 eprom file
|
2021-12-17 16:42:22 +01:00
|
|
|
call node %TMS9918%\tools\mkeprom out out\%TARGET%_apple1.bin
|
2021-12-15 16:53:06 +01: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
|
|
|
|
@del out\%TARGET%.prg
|