Bootloader3 Problem

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

Moderator:Moderators

Post Reply
GeniusCobyWalker
Posts:1
Joined:Wed Feb 04, 2009 1:29 am
Bootloader3 Problem

Post by GeniusCobyWalker » Wed Feb 04, 2009 1:35 am

Assembled Using:

Code: Select all

nasm -f bin -o boot.bin boot.s
Error:

Code: Select all

boot.s:89: error: program origin redefined
Line 89:

Code: Select all

org 0x1000
Does NASM not let you have multiple org lines?
Whats wrong?

If I take this out wont my addresses be wrong?

Thanks,
GeniusCobyWalker

User avatar
Mike
Site Admin
Posts:465
Joined:Sat Oct 20, 2007 7:58 pm
Contact:

Post by Mike » Wed Feb 04, 2009 11:32 pm

Hello,

I apologize; that tutorial's end "demo" was for demonstration purposes only and is not possible to assemble directly for the reason you have ran into.

In the next series review, that section will be updated with an actual working demo.

For now I would not worry to much about it as the code will not be used.

Post Reply