Re: Qestions about VESA/VBE
Posted: Fri Jan 03, 2014 3:01 pm
Hi,
Some people only want to learn about OS development and don't care about how good their OS is; and for these people writing their own boot loaders is probably a bad idea (it takes more time and you don't learn that much).
Some people do want to write the best OS they can. For these people the first step is to gain knowledge/experience; which mostly means writing an initial (bad) OS to learn about OS development, and then using what they've learnt to write a second (good) OS. Basically, for these people it's probably not worth the extra effort to write their own boot loaders for the initial (bad) OS; and by the time these people are actually ready to start writing a good OS they're able to see the advantages/disadvantages and make up their own mind.
Cheers,
Brendan
For the best OS, you should write your own boot loaders. However, this is possibly not the best idea for you.MadZarx wrote:So the best idea is to write my own bootloaders (Both for BIOS and UEFI).
Some people only want to learn about OS development and don't care about how good their OS is; and for these people writing their own boot loaders is probably a bad idea (it takes more time and you don't learn that much).
Some people do want to write the best OS they can. For these people the first step is to gain knowledge/experience; which mostly means writing an initial (bad) OS to learn about OS development, and then using what they've learnt to write a second (good) OS. Basically, for these people it's probably not worth the extra effort to write their own boot loaders for the initial (bad) OS; and by the time these people are actually ready to start writing a good OS they're able to see the advantages/disadvantages and make up their own mind.
The "El Torito" specification describes how this all works. Note: If you want a good OS, then you should be using "no emulation El Torito" (where the CD looks like a CD and isn't emulating a floppy disk or hard disk, and you don't have 512-byte sectors); and you should not be using FAT for anything (even on hard disks) because FAT sucks badly.MadZarx wrote:But how can BIOS find my bootloader image in an ISO file? I mean that 512 bytes of code inside a FAT image?
Cheers,
Brendan