Bootsector & Kernel Over 512bytes

Programming, for all ages and all languages.
Post Reply
Bobalandi
Member
Member
Posts: 107
Joined: Mon Dec 03, 2007 7:26 am
Location: Near Boston, MA
Contact:

Bootsector & Kernel Over 512bytes

Post by Bobalandi »

Alright, well, you know how each sector is 512 bytes, now, my kernel has passed the size of 512 bytes, and when I try to boot it, it doesn't work, I know I have to edit something in my boot sector, but I'm not sure what... Can anyone give me a suggestion? :?
NULL
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post by Combuster »

First suggestion: stfw
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
Red Shaya
Posts: 15
Joined: Wed Oct 03, 2007 4:21 pm
Contact:

Post by Red Shaya »

I think you need two stage booting.
i.e. Stage one will load itself (one sector) and then will load the second stage (other sectors).
You can find lots of info about two stage boot loading in the wiki and in the OS development forum.
The Bina OS - More of a challenge then an OS
The Eddie OS - OS for kids and for fun loving adults
Post Reply