Page 1 of 1

How can I load kernel?

Posted: Thu Jun 20, 2002 7:28 am
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.

Re:How can I load kernel?

Posted: Thu Jun 20, 2002 8:11 am
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.

Re:How can I load kernel?

Posted: Sun Jun 23, 2002 9:30 pm
by K.J.
To help you, we need more info like source code or something.

K.J.

Re:How can I load kernel?

Posted: Mon Jun 24, 2002 9:39 am
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...

Re:How can I load kernel?

Posted: Mon Jun 24, 2002 12:25 pm
by Thunder
I'm using FAT12 file system.