Page 1 of 1

You dont understand !!!

Posted: Wed May 29, 2002 7:46 am
by Thunder
I have my boot loader.It works but this code was my mini kernel code.The bootloader loads it succesfuly but minikernel doesnt work properly...
What I must to write in tmy code, maybe the mini kernel now works in protected mode, I heard something but what is it at all?

Please write me ...

Re:You dont understand !!!

Posted: Wed May 29, 2002 2:51 pm
by NoOne
I think the problem might be you're loading the kernel and execution of it is starting at 0x7c00 where a message string is, not an instruction! So in fact, the bootloader might be in fault.

Re:You dont understand !!!

Posted: Thu May 30, 2002 10:59 am
by Dave_Hunt
The kernel can't load at 7C00h, because that's where the bios loads the bootsector. If the bootloader is loading the kernel at 7C00h, then it is overwriting itself.