[Quickos-general] Re: elf-loader
Status: Planning
Brought to you by:
azhobbes
From: Andreas Z. <azh...@gm...> - 2001-11-07 21:12:18
|
I Nazar wrote: > Hi. I want to write a protected-mode bootsector, and an ELF kernel > (containing just a print-to-screen command at the moment). > Something really simple, in other words. I'll need to study the ELF > specs, but I should be able to do the bootloader in the next few > weeks. > > On another note, which fileystem are we using - FAT, NTFS, our > own? > > Imran Nazar-- No, its not a good idea to write a protected-mode bootsector. Because you need some tables and checks before you enter protected-mode. And you loose bytes (theres only 499 of them), for procedures you need to load a sector (8GB-LBA) and service function. The better way is like NT, i think its a 2-stage-loader: Make a bootsector, load a startup-image - that supports a filesystems, and this programm loads our kernel-image. Mfg Andreas Ziermann b...@lo... -- http://www.loet.de |