rem @ECHO OFF
..\..\..\tools\asw\bin\asw -U -L make_micro_boot_fat.a80
..\..\..\tools\asw\bin\p2bin make_micro_boot_fat.p micro_boot_fat.rom -r $-$ -k
..\..\..\tools\mhmt\mhmt -mlz micro_boot_fat.rom micro_boot_fat_pack.rom
..\..\..\tools\asw\bin\asw -U -L main.a80
..\..\..\tools\asw\bin\p2bin main.p main.rom -r $-$ -k
..\..\..\tools\asw\bin\asw -U -L make_cmosset.a80
..\..\..\tools\asw\bin\p2bin make_cmosset.p cmosset.rom -r $-$ -k
..\..\..\tools\mhmt\mhmt -mlz main.rom main_pack.rom
..\..\..\tools\mhmt\mhmt -mlz cmosset.rom cmosset_pack.rom
..\..\..\tools\mhmt\mhmt -mlz chars_eng.bin chars_pack.bin
..\..\..\tools\asw\bin\asw -U -L services.a80
..\..\..\tools\asw\bin\p2bin services.p ..\services.rom -r $-$ -k
..\..\..\tools\asw\bin\asw -U -L evo-dos_emu3d13.a80
..\..\..\tools\asw\bin\p2bin evo-dos_emu3d13.p ..\evo-dos_emu3d13.rom -r $-$ -k
..\..\..\tools\asw\bin\asw -U -L evo-dos_virt.a80
..\..\..\tools\asw\bin\p2bin evo-dos_virt.p ..\evo-dos_virt.rom -r $-$ -k
..\..\..\tools\asw\bin\asw -U -L tr_503.a80
..\..\..\tools\asw\bin\p2bin tr_503.p ..\tr_503.rom -r $-$ -k
..\..\..\tools\asw\bin\asw -U -L spec128_0.a80
..\..\..\tools\asw\bin\p2bin spec128_0.p ..\basic128.rom -r $-$ -k
..\..\..\tools\asw\bin\asw -U -L make_bas48_128.a80
..\..\..\tools\asw\bin\p2bin make_bas48_128.p ..\basic48.rom -r $-$ -k
cd ..\..\atm_msxdos\source
..\..\..\tools\asw\bin\asw -U -L msxdos.a80
..\..\..\tools\asw\bin\p2bin msxdos.p ..\msxdos.rom -r $-$ -k
..\..\..\tools\asw\bin\asw -U -L rbios.a80
..\..\..\tools\asw\bin\p2bin rbios.p ..\rbios.rom -r $-$ -k
..\..\..\tools\asw\bin\asw -U -L -s sts.a80
..\..\..\tools\asw\bin\p2bin sts.p ..\sts.rom -r $-$ -k
..\..\tools\mhmt\mhmt -mlz sts.rom sts_pack.rom
..\..\..\tools\mhmt\mhmt -mlz 8x8_ar.fnt 8x8_ar_pack.bin
..\..\..\tools\mhmt\mhmt -mlz 866_code.fnt 866_code_pack.bin
..\..\..\tools\mhmt\mhmt -mlz atm_code.fnt atm_code_pack.bin
..\..\..\tools\asw\bin\asw -U -L rst8service.a80
..\..\..\tools\asw\bin\p2bin rst8service.p ..\rst8service.rom -r $-$ -k
..\..\..\tools\asw\bin\asw -U -L trdos_v6.a80
..\..\..\tools\asw\bin\p2bin trdos_v6.p ..\dosatm3.rom -r $-$ -k
copy /B /Y page3\basic48.rom+page1\evo-dos_virt.rom+atm_msxdos\msxdos.rom+atm_cpm\rbios.rom+page5\rst8service.rom+page3\basic48.rom+page1\evo-dos_emu3d13.rom+page2\basic128.rom+page0\services.rom ers.rom
rem copy /B /Y page3\basic48.rom+page1\trdos.rom+atm_msxdos\msxdos.rom+atm_cpm\rbios.rom+page5\rst8service.rom+page3\basic48.rom+page1\evodos.rom+page2\basic128.rom+page0\services.rom ers.rom
copy /B /Y page3\2006.rom+trdos_v6\dosatm3.rom+page2\basic128.rom+page0\glukpen.rom glukpent.rom
..\..\..\tools\asw\bin\asw -U -L -s make_evoprofrom.a80
..\..\..\tools\asw\bin\p2bin make_evoprofrom.p ..\evoprofrom.rom -r $-$ -k
rem 64 64 64 128 192
copy /B /Y ff_64k.rom+ff_64k.rom+glukpent.rom+profrom\evoprofrom.rom+ers.rom zxevo.rom
rem copy /B /Y zxevo.rom ..\tools\unreal_fix\0.37.6\fix_build\x32\zxevo_.rom
copy /B /Y zxevo.rom d:\unrealspeccy\zxevo.rom