Kernel Loading

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
shad

Kernel Loading

Post 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)
slacker

Re:Kernel Loading

Post by slacker »

well what code are you using to print "hello world"?
shad

Re:Kernel Loading

Post by shad »

never mind i fixed it.
Post Reply