2018-08-19 00:48:45 +00:00
|
|
|
@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
|
2018-09-17 00:53:34 +00:00
|
|
|
..\c02.exe -h oric -s oric %1 >%1.dbg
|
2018-08-19 00:48:45 +00:00
|
|
|
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
|
|
|
|
|
2018-08-19 22:24:02 +00:00
|
|
|
ECHO Building Tape Image
|
2018-08-19 00:48:45 +00:00
|
|
|
python ..\util\orictap.py %1
|
2018-09-17 00:53:34 +00:00
|
|
|
COPY %1.tap C:\Programs\Oricutron\tapes
|
2018-08-19 00:48:45 +00:00
|
|
|
IF ERRORLEVEL 1 EXIT /B
|
2018-09-17 00:53:34 +00:00
|
|
|
DEL %1.obj %1.tap
|
2018-08-19 00:48:45 +00:00
|
|
|
|
|
|
|
REM ECHO Starting Emulator
|
|
|
|
REM START C:\Programs\Oricutron\oricutron.exe -m1 -t%1.tap
|