NASM

If you are new to development, plan on spending some time here before visiting the other forums.

Moderator: Moderators

NASM

Postby andrew5434 » Tue Jan 11, 2011 3:46 am

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
andrew5434
 
Posts: 7
Joined: Tue Jan 11, 2011 3:33 am

Re: NASM

Postby halofreak1990 » Tue Jan 11, 2011 4:42 pm

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.
halofreak1990
 
Posts: 92
Joined: Thu May 27, 2010 8:54 pm
Location: Netherlands

Re: NASM

Postby Hoozim » Tue Jan 11, 2011 9:24 pm

Try using a full address (starting with the drive ID). That should make it more 'fool proof'.
Hoozim
 
Posts: 34
Joined: Sun Nov 21, 2010 6:40 pm

Re: NASM

Postby andrew5434 » Wed Jan 12, 2011 3:26 am

Thanks for you help
it worked :)
andrew5434
 
Posts: 7
Joined: Tue Jan 11, 2011 3:33 am


Return to Beginners

Who is online

Users browsing this forum: No registered users and 1 guest

cron