Page 1 of 1

Kernel Loading

Posted: Wed Apr 09, 2003 2:05 pm
by shad
Well my bootsector loads the kernel with the BIOS into 1000:0000, then switches to pmode, copies to 0x100000, then jmp CODE_SEL:100000h. Then when my C kernel 'runs' nothing happens at all. But i know its being run because if i take the loop out of the kernel code it crashes. Is there anything special i have to initialize? (my kernel only consists of hello world, and no, im not using printf or anything stupid)

Re:Kernel Loading

Posted: Wed Apr 09, 2003 2:11 pm
by slacker
well what code are you using to print "hello world"?

Re:Kernel Loading

Posted: Thu Apr 10, 2003 2:15 pm
by shad
never mind i fixed it.