Fasm Multiboot header

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
crazygray1
Member
Member
Posts: 168
Joined: Thu Nov 22, 2007 7:18 pm
Location: USA,Hawaii,Honolulu(Seriously)

Fasm Multiboot header

Post 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?
Codname: Cipher
Working On: Design Doc(CFFS file system)
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post by Brynet-Inc »

You do know there "is" documentation related to this right? :roll:

http://www.gnu.org/software/grub/manual/multiboot/
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
Post Reply