c++ Kernel
c++ Kernel
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
1) What bootloader are you using?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?
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?
Every good solution is obvious once you've found it.
Re:c++ Kernel
I found out...
the kernel was set up for Protected mode (32 bit, right?) and the bootloader wasn't... works fine now
the kernel was set up for Protected mode (32 bit, right?) and the bootloader wasn't... works fine now