Page 1 of 1
Bare Bones
Posted: Sat Jan 19, 2008 7:41 pm
by crazygray1
OK, I used the bare bones tutorial and came up with this:
Posted: Sat Jan 19, 2008 7:42 pm
by crazygray1
Can I just start the kernel code from here?
Posted: Sun Jan 20, 2008 5:59 am
by lukem95
It looks fine, except i think the multiboot macroes/defines must be 4 byte aligned as well as the kludge stuff.
Im not 100% sure if thats enough to work, as i decided to use a readymade bootstrap from brans dev kernel, and build from that. You should just build a simple kernel that prints a character to the screen and call it.
Code: Select all
extern _kmain ; Kernels main() function
push eax ; Push the Magic boot number onto stack
push ebx ; Push multiboot_info_t onto stack
call _kmain ; Call it