Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

kernel 16 bit or 32 bit 1

Status
Not open for further replies.

ekanth

Programmer
Jul 28, 2001
28
US
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
or

i have sources for a small kernel, which loads into
1 Mb of RAM, enables paging and operates in a ful PM
envmt. That should help u out.
Cheers
Sarnath


Do not rejoice that ur code works.
it might be a special case of an error :-(
 
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 Thanx,
Ekanth
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top