yonami wrote:Hi all.
Hi!
yonami wrote:which format I should to use as Extended Bootloader - bin or aout?
Bin is easier to load and results in smaller file size. To load a.out files, just skip reading the header at the begining on the file. I don't see any disadvantages of either, but if you're tight for space then go for a flat binary.
yonami wrote:Main Bootloader in MBR is reading 512 sectors, so I think it should be bin exec format with a zeros to fill last sector. Good I think?
Sure! A lot of bootloaders do that.. Get your assembler to fill the remaining space with NOP's.
yonami wrote:Where to implement GDT? Will be better if GDT is implemented in MBR bootloader, or maybe if in Extended?
I load my kernel in real mode and load the GDT there.
yonami wrote:And last question about booting from floppy and hard disk differences. Sectors reading is a same code for disk, and floppy?
Yeah! Some hard drives use non-normal sector sizes.. But I think there's a 99% chance that you're safe in predicting that a harddrive sector is 512 bytes in size. I know for a fact that optical disc sectors are 2KBytes.
yonami wrote:
Thanks
You're welcome!
yonami wrote: 
