1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-22 01:31:33 +00:00
C02/apple2/c02.bat

19 lines
431 B
Batchfile
Raw Normal View History

2018-03-03 18:26:47 +00:00
@echo off
echo Compiling File %1.c02
..\c02.exe %1 >%1.dbg
if ERRORLEVEL 1 exit /b
2018-03-03 18:26:47 +00:00
echo Assembling File %1.asm
2018-02-17 18:52:13 +00:00
dasm %1.asm -f3 -o%1.bin -l%1.lst -s%1.sym
2018-03-03 18:26:47 +00:00
if ERRORLEVEL 1 exit /b
2018-02-17 18:52:13 +00:00
2018-03-03 18:26:47 +00:00
echo Building Disk Image
2018-02-17 18:52:13 +00:00
copy /Y boot.dsk %1.dsk
echo BRUN %1 |a2tools in t %1.dsk command
a2tools in b.0C00 %1.dsk %1 %1.bin
2018-03-03 18:26:47 +00:00
if ERRORLEVEL 1 exit /b
del %1.bin
2018-02-17 18:52:13 +00:00
2018-03-03 18:26:47 +00:00
echo Starting Emulator
2018-02-17 18:52:13 +00:00
start C:\Programs\AppleWin\applewin -d1 %1.dsk