mirror of
https://github.com/RevCurtisP/C02.git
synced 2024-11-28 10:51:14 +00:00
24 lines
569 B
Batchfile
24 lines
569 B
Batchfile
@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 -s 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
|
|
COPY %1.tap C:\Programs\Oricutron\tapes
|
|
IF ERRORLEVEL 1 EXIT /B
|
|
DEL %1.obj %1.tap
|
|
|
|
REM ECHO Starting Emulator
|
|
REM START C:\Programs\Oricutron\oricutron.exe -m1 -t%1.tap
|