1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-30 23:50:04 +00:00
C02/vic20/v8k.bat
2020-09-08 13:02:43 -04:00

18 lines
443 B
Batchfile

@ECHO OFF
IF EXIST %1.c02 GOTO COMPILE
ECHO File %1.c02 not found
GOTO EOF
:COMPILE
ECHO Compiling File %1.c02 for VIC 20 +8k
..\c02.exe -d -h vic8k -s vic %1 >%1.dbg
IF %ERRORLEVEL% NEQ 0 GOTO EOF
ECHO Assembling File %1.asm
..\a02.exe -p %1.asm %1.prg %1.lst
IF %ERRORLEVEL% NEQ 0 GOTO EOF
ECHO Starting Emulator
@start C:\Programs\WinVICE\xvic.exe -config xvic8k.ini -1 testtape.t64 -10 testdisk.d64 %1.prg
:EOF