21 lines
529 B
Batchfile
21 lines
529 B
Batchfile
@echo off
|
|
rem This is the main process to run the 8608 Emulator.
|
|
rem To use it, simply drag an .asm file onto this batch file.
|
|
|
|
if [%1] == [] goto noarg
|
|
|
|
cd /d %~dp0
|
|
mkdir temp
|
|
"third-party/customasm/customasm.exe" -f binary -o "temp/temp.bin" %~dpnx1
|
|
"third-party/customasm/customasm.exe" -f annotated -o "temp/temp.lis" %~dpnx1
|
|
"third-party/love/love.exe" %~dp0 "temp/temp.bin"
|
|
goto done
|
|
|
|
:noarg
|
|
echo No input file specified.
|
|
echo Drag-and-drop an assembly code file onto this .bat file to use the emulator.
|
|
echo.
|
|
pause
|
|
|
|
:done
|