2019-11-18 06:38:23 +00:00
|
|
|
@REM Compile and Run C02 Program for C64
|
2018-09-17 00:53:34 +00:00
|
|
|
@ECHO OFF
|
2019-11-18 06:38:23 +00:00
|
|
|
|
2018-09-17 00:53:34 +00:00
|
|
|
IF EXIST %1.c02 GOTO COMPILE
|
2019-11-18 06:38:23 +00:00
|
|
|
ECHO File %1.c02 not found
|
|
|
|
GOTO EOF
|
2018-09-17 00:53:34 +00:00
|
|
|
|
|
|
|
:COMPILE
|
|
|
|
ECHO Compiling File %1.c02 for Commodore 64
|
2019-11-18 06:38:23 +00:00
|
|
|
..\c02.exe -d -h c64 -s c64 -s cbm %1 >%1.dbg
|
2018-09-17 00:53:34 +00:00
|
|
|
IF %ERRORLEVEL% NEQ 0 GOTO EOF
|
|
|
|
|
2019-11-18 06:38:23 +00:00
|
|
|
ECHO Assembling File %1.asm
|
|
|
|
..\a02.exe -p %1.asm %1.prg %1.lst >%1.out
|
2018-09-17 00:53:34 +00:00
|
|
|
IF %ERRORLEVEL% NEQ 0 GOTO EOF
|
|
|
|
|
|
|
|
ECHO Starting Emulator
|
2019-11-18 06:38:23 +00:00
|
|
|
start C:\Programs\WinVICE\x64.exe -config x64.ini %1.prg
|
2018-09-17 00:53:34 +00:00
|
|
|
|
|
|
|
:EOF
|