@echo off 
cd %2

\Utils\Vasm\vasmZ80_OldStyle_win32.exe %1 -Dvasm=1  -L z:\BldZX\Listing.txt -DBuildZXS=1 -Fbin -o "z:\BldZX\program.bin"

rem  -gbz80 -Fbin -o "z:\BldMSX\boot.bin" -L Z:\RelGB\Listing.txt
if not "%errorlevel%"=="0" goto Abandon
z:
cd \
ZX_goTRD.bat
exit
:Abandon
pause
rem z:\Utils\Vasm\vasmgb.bat $(FILE_NAME) $(CURRENT_DIRECTORY)
rem write "..\BldMSX\boot.bin"