Page 1 of 1

Fasm Multiboot header

Posted: Tue Jan 22, 2008 3:17 pm
by crazygray1
This is my multi boot header in Fasm:

Code: Select all

use32
org 0x100000

magic_L:
magic: dd 0x1BADB002
flags: dd 10000000000000001b;binary value
checksum: dd 0; I don't know this at the moment come back later
header_addr: dd magic_L;address of the start of the multiboot header
load_addr: dd text_addr;address of the beginning of the text segment
load_end_addr: dd end_addr
bss_end_addr: dd 0
entry_addr dd 0;I don't know this at the moment



text_addr:

end_addr:
The only things I'm confused about here are whate entry_addr and checksum should be. Is there anything else here that should be different?

Posted: Tue Jan 22, 2008 4:01 pm
by Brynet-Inc
You do know there "is" documentation related to this right? :roll:

http://www.gnu.org/software/grub/manual/multiboot/