@echo off 
cd %2
\Utils\Vasm\vasmZ80_OldStyle_win32.exe %1  -chklabels -nocase -Dvasm=1 -DBuildSGG=1 -Fbin -o "\RelSMS\cart.gg" 
rem  -gbz80 -Fbin -o "\BldMSX\boot.bin" -L \RelSGG\Listing.txt
if not "%errorlevel%"=="0" goto Abandon
z:
cd \
\SGG_Go.bat
exit
:Abandon
if "%3"=="nopause" exit
pause
