Should the kernel I load at the start be a 16 bit one or 32 bit one. I tried switching to Protected mode and then loaded the kernel. But that consumed a lot of code and made me suck to keep the size within 512 bytes. Help me out...
Sincerely,
Ekanth.
Hi Ekaanth, ( Tamilian ?? )
Writing a PM boot strap should b cool yaar.
Let ur BootSector load 3 sectors at a time into
real memory, then switch to PM swapout the memory into
wherever u wanna ur kernel to load and then return back
and continue with it..
If u want a code to beleive it,
u can visit my page at
Hi Sarnath,
Yeah!!! Proud to be Tamil. Anyway thanx a lot. It really helped. We're on the process of switching to PM now. We'll be loading GDT and IDT shortly. Hella lotta work outh there. If possible help me out in writing interrupt handlers. Mail me at ekanths@hotmail.com. If time permits visit my another previous project page at
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.