1234567891011121314151617181920212223242526272829303132333435363738 |
- @echo off
- if exist spasm.exe (
- echo "Starting Compile..."
- md bin
- ) else (
- echo "Opening readme..."
- start "" https://github.com/Zeda/Grammer2/blob/master/Readme.md
- exit
- )
- cd src
- echo "Generating grammer2.5.inc"
- python ..\tools\jt.py jmptable.z80 grammer2.5.inc
- copy /Y grammer2.5.inc ..\docs\grammer2.5.inc
- echo "Assembling App"
- ..\spasm.exe grammer.z80 ..\bin\grammer.8xk -I ..\z80float\single
- if "%1"=="a" (
- echo "Assembling Default Package"
- ..\spasm.exe grampkg.z80 ..\bin\grampkg.8xv
- echo "Assembling Experimental Package"
- ..\spasm.exe experimental\experimental.z80 ..\bin\EXPRMNTL.8xv -I single
- echo "Assembling Program Launcher"
- ..\spasm.exe launch.z80 ..\bin\g250.8xp
- )
- cd..
|