2020-04-27 16:53:59 +00:00
|
|
|
@ECHO OFF
|
|
|
|
IF EXIST %1.c02 GOTO COMPILE
|
|
|
|
ECHO File %1.c02 not found
|
|
|
|
GOTO EOF
|
|
|
|
|
|
|
|
:COMPILE
|
|
|
|
@ECHO Compiling File %1.c02 for run6502
|
2020-10-19 19:42:10 +00:00
|
|
|
..\c02.exe -d -h run6502 -s run6502 %1 >%1.dbg
|
2020-04-27 16:53:59 +00:00
|
|
|
|
|
|
|
IF %ERRORLEVEL% NEQ 0 GOTO EOF
|
|
|
|
|
|
|
|
@ECHO Assembling File %1.asm
|
2020-10-19 19:42:10 +00:00
|
|
|
..\a02 -d -i "..\include ..\include\run6502" %1.asm %1.bin %1.lst >%1.out
|
2020-04-27 16:53:59 +00:00
|
|
|
|
|
|
|
@ECHO Executing file %1.bin
|
2020-10-19 19:42:10 +00:00
|
|
|
..\lib6502\run6502 -D -l 0400 %1.bin -K FFE0 -C FFE3 -F FFE6 -S FFE9 -M FFEA -N 0000 -R 0400 -X 0 2>%1.err
|
2020-04-27 16:53:59 +00:00
|
|
|
|
|
|
|
:EOF
|