@echo %DEBUG%off nasm -I lmacros/ ldosboot/boot.asm -D_COMPAT_LDOS -D_LOAD_NAME="'LDEBUG'" -o boot12.bin nasm -I lmacros/ instsect/instsect.asm -D_FAT16=0 -D_FAT32=0 -o inst12.com echo ; Auto-generated file, do not edit. > 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 inst12.com /M=diskette.img /S=boot12.bin :: /SN :: /F=ldebug.com