1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-15 17:08:51 +00:00
C02/test/o1.bat

23 lines
513 B
Batchfile
Raw Normal View History

@ECHO OFF
REM Compile and Assemble Program for ORIC-1
IF EXIST %1.c02 GOTO COMPILE
ECHO File %1.c02 not found
EXIT /B
:COMPILE
ECHO Compiling File %1.c02
..\c02.exe -h oric %1 >%1.dbg
IF ERRORLEVEL 1 EXIT /B
ECHO Assembling File %1.asm
dasm %1.asm -f1 -o%1.obj -l%1.lst -s%1.sym
IF ERRORLEVEL 1 EXIT /B
ECHO Building Tape Image
python ..\util\orictap.py %1
IF ERRORLEVEL 1 EXIT /B
DEL %1.obj
REM ECHO Starting Emulator
REM START C:\Programs\Oricutron\oricutron.exe -m1 -t%1.tap