Page 1 of 1

NASM

Posted: Tue Jan 11, 2011 3:46 am
by andrew5434
Hi there i need help with the stage making a boot loder
when i use Nasm and type,
nasm -f bin Boot1.asm -o Boot1.bin.
It shows an error saying
nasm: fatal: unable to open input file 'Boot1.asm'
Plz help

Re: NASM

Posted: Tue Jan 11, 2011 4:42 pm
by halofreak1990
It seems like NASM cannot find the file to compile. Are you sure the file Boot1.asm exists?
Otherwise, if your file is boot1.asm, just change the first letter into a capital B, and it should find it, provided the file is located in the same directory as NASM.

Re: NASM

Posted: Tue Jan 11, 2011 9:24 pm
by Hoozim
Try using a full address (starting with the drive ID). That should make it more 'fool proof'.

Re: NASM

Posted: Wed Jan 12, 2011 3:26 am
by andrew5434
Thanks for you help
it worked :)