mirror of
https://github.com/RevCurtisP/C02.git
synced 2024-11-28 10:51:14 +00:00
15 lines
310 B
Batchfile
15 lines
310 B
Batchfile
@ECHO OFF
|
|
IF "%1" == "" (
|
|
ECHO Usage: %0 a02file
|
|
GOTO :EXIT
|
|
)
|
|
SET ASMEXT=""
|
|
IF EXIST %1.a02 SET ASMEXT=a02
|
|
IF EXIST %1.asm SET ASMEXT=asm
|
|
IF "%ASMEXT%" == "" (
|
|
ECHO Assembly File %1 Not Found
|
|
GOTO :EXIT
|
|
)
|
|
ECHO Assembling File %1.%ASMEXT%
|
|
..\a02.exe -d %1.%ASMEXT% %1.bin %1.lst >%1.out
|