@echo off 
cd %2
\Utils\Vasm\vasmZ80_OldStyle_win32.exe %1  -chklabels -nocase -Dvasm=1  -L \BldSAM\Listing.txt -DBuildSAM=1 -Fbin -o "\BldSAM\program"
rem  -gbz80 -Fbin -o "\BldMSX\boot.bin" -L \RelGB\Listing.txt
if not "%errorlevel%"=="0" goto Abandon
z:
cd \
SAM_Go.bat
exit
:Abandon
if "%3"=="nopause" exit
pause
