Hi to all those are helping someone like me,
I am new to this forum, and sorry, if this question is already there in forum. I tried to search for this question, but there was many such words so I got nothing.
I have a boot strap loader, and a simple kernel.
From tutorial i got that, kernel can be loaded in 3 different ways.
i) Put kernel in bootstrap loader.( But my kernel is bigger than 512 b)
ii) Specify the kernel file and load.
iii) Run form specified location.
The first one is not suitable for me as well as while coding OS.
If any one could give me any idea(with code) in any of two method(ii, ii) to load kernel file?
And I think platform does not matter while coding for OS(I think), but also, I am using x86 architecture Windows 7 OS
Thanks
help: loading kernel
Re: help: loading kernel
Hello bunkdeath,
For loading the kernel I would really recommend reading through the OSDEV series from brokenthorn.
http://www.brokenthorn.com/Resources/OSDevIndex.html especially their bootloader section it explains very clearly and very easy to understand on how to load a kernel over FAT12. well a second stage since its a 32 bit kernel but I think this wil help you alot!
I hope I was of any help
For loading the kernel I would really recommend reading through the OSDEV series from brokenthorn.
http://www.brokenthorn.com/Resources/OSDevIndex.html especially their bootloader section it explains very clearly and very easy to understand on how to load a kernel over FAT12. well a second stage since its a 32 bit kernel but I think this wil help you alot!
I hope I was of any help
Re: help: loading kernel
Thank you tera4d foe your reply!!! I am onto it, and I found it much helpful to me.
Thanks
Thanks
Re: help: loading kernel
No problem ^^ I'm glad that I was of any help.
Re: help: loading kernel
The BL2 of brokenthorn is not sufficient to load big kernels, but until 50K it is ok.
http://www.henkessoft.de/OS_Dev/OS_Dev3.htm (OSDEV)
http://www.c-plusplus.de/forum/viewforu ... is-62.html
irc.euirc.net #PrettyOS
http://www.c-plusplus.de/forum/viewforu ... is-62.html
irc.euirc.net #PrettyOS