|
Post by lamptonworm on Dec 28, 2019 15:11:14 GMT
Hi,
Just a minor tip - I didn't want to build/run a tap if the compile failed, so I modified \Suite ZX\build.bat as follows. Basically it checks error level after the compile, if there is a problem there is a prompt to alert you, and it doesn't try to then create/run the tap. See [LW] for the added code below.
rem Compile AGD file copy AGDsource\%1.agd agd cd AGD CompilerZX %1 rem [LW] if %ERRORLEVEL% neq 0 goto error copy %1.asm ..\sjasmplus\ del %1.*
rem Assemble game cd ..\sjasmplus copy leader.txt+%1.asm+trailer.txt agdcode.asm sjasmplus.exe agdcode.asm --lst=list.txt copy test.tap ..\speccy del %1.asm del agdcode.asm del test.tap
rem Start emulator cd ..\speccy speccy test.tap del test.tap cd ..
rem [LW] goto done
:error echo msgbox "** Compilation Error **" > %TEMP%\temp.vbs cscript //NoLogo %TEMP%\temp.vbs del %TEMP%\temp.vbs
:done echo Done
Cheers, LW.
|
|