Page 1 of 1
c++ Kernel
Posted: Sun Sep 14, 2003 9:51 am
by PuMaister
I've been trying to make the c++ kernel in this tutorial:
http://www.invalidsoftware.net/os/?the_id=11 (I've done EXACTLY what it says). But when i try to boot it with a bootloader it just dont work
it seems that the bootloader wont load the kernel at all..
A friend implied that it might only work on intel cpu's, but i dont think so... anyone have a clue what I might have done wrong?
Re:c++ Kernel
Posted: Mon Sep 15, 2003 12:53 am
by Solar
PuMaister wrote:
A friend implied that it might only work on intel cpu's, but i dont think so... anyone have a clue what I might have done wrong?
1) What bootloader are you using?
2) What CPU are you working with if it isn't Intel?
2a) The assembly code pieces are verified to be applicable for your CPU?
3) What target binary format is your toolchain set to?
3a) You are sure that your binary code is targeted at the correct CPU, and the format has all the right sections the linker script requires?
Re:c++ Kernel
Posted: Mon Sep 15, 2003 11:49 am
by PuMaister
I found out...
the kernel was set up for Protected mode (32 bit, right?) and the bootloader wasn't... works fine now