NASM - The Netwide Assembler

NASM Forum => Using NASM => Topic started by: gomi on November 20, 2020, 10:44:58 PM

Title: How to combine two bin files together into single bin file on windows ?
Post by: gomi on November 20, 2020, 10:44:58 PM
I want to combine my first boot loader and second stage loader into one file, how can I achieve it with NASM winx64 ?
Title: Re: How to combine two asm files together into single bin file on windows ?
Post by: debs3759 on November 20, 2020, 11:03:23 PM
Do you mean boot sector or first stage OS loader when you say boot loader? If you mean boot sector, it's simpler to to load the other file from you boot sector.
Title: Re: How to combine two asm files together into single bin file on windows ?
Post by: Frank Kotler on November 20, 2020, 11:10:13 PM
It is not NASM's job to combine files. Do it with an editor or OS utility. I seriously doubt if this is what you want to do! Let's discuss this further... or try it and see what happens...

Best,
Frank

Title: Re: How to combine two bin files together into single bin file on windows ?
Post by: gomi on November 20, 2020, 11:33:43 PM
Oh of course, I found "type" command on windows for this purpose and got my floppy.bin as a result.