How can I load kernel?

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
Thunder

How can I load kernel?

Post by Thunder »

Hey...
??? :-[
I have boot12.bin bootloader, it should load my micro kernel, but when computer starts it thust hangs and writes "$_?b" or something like.Note: my micro kernel is 200 bytes and it shouldn't make no problems I think, but does.It isn't 4 kb size and it shouldn't have no linking.
But what should I write at kernel begin,that it would load it self and work?
Please help me...
I am developing my ThunderOS with nasm.
crazybuddha

Re:How can I load kernel?

Post by crazybuddha »

Thunder wrote: Please help me...
What do YOU think should happen??

There are several working, standalone boot samples on this forum written in NASM. You might try using one of those, verify that it works (usually a message on the screen), and then step through it to understand what it does.
K.J.

Re:How can I load kernel?

Post by K.J. »

To help you, we need more info like source code or something.

K.J.
f2

Re:How can I load kernel?

Post by f2 »

Are you loading your kernel off of a hard-coded sector? Or are in using the FAT FS? What? Tell us more details...
Thunder

Re:How can I load kernel?

Post by Thunder »

I'm using FAT12 file system.
Post Reply