@echo %DEBUG%off nasm -I lmacros/ ldosboot/boot.asm -D_COMPAT_LDOS -D_LOAD_NAME="'LDEBUG'" -o boot12.bin x boot12.bin bootjump.bin 0 11 x boot12.bin bootcode.bin $3E echo ; Auto-generated file, do not edit. > list.mac echo %%define _BOOTJUMPFILE "bootjump.bin" >> list.mac echo %%define _BOOTCODEFILE "bootcode.bin" >> list.mac :: echo %%xdefine _PAYLOADFILE _PAYLOADFILE,::chdir,testdir >> list.mac for %%i in (testdir\*.*) do echo %%xdefine _PAYLOADFILE _PAYLOADFILE,"%%i" >> list.mac nasm -I lmacros/ bootimg/bootimg.asm -D_PAYLOADFILE=::empty -P list.mac -o diskette.img