[Freedos-devel] boot drive partition and geometry questions

2008-06-16 Thread Eric Auer
Hi, does anybody remember in which situations the MBR or whatever else calls the FreeDOS boot sector fails to pass the drive number in DL? Because at the moment, FreeDOS defaults to ignoring DL and using the value in the boot sector, unless that value is 255. I hear that only some CDROM boot BIOS

Re: [Freedos-devel] boot drive partition and geometry questions

2008-06-16 Thread Eric Auer
Hi again, news about boot sector properties: - our FAT32 boot sectors always trust DL, so the code in SYS which says if A:/B: set 0, else set 0xff should be changed to if A:/B: set 0, else set 0x80 to make the boot sector look nicer to disk tools, right? And makebootfat and my tool

Re: [Freedos-devel] boot drive partition and geometry questions

2008-06-16 Thread Alain M.
I can comment oly on one item: Eric Auer escreveu: - the FAT12 / FAT16 boot sectors are too stuffed to check int13.8 for real geometry, but we could say that LBA is often supported - then we get to my suggestion allow LBA even for A: if FAT16... :-). When you use LBA, wrong CHS

Re: [Freedos-devel] boot drive partition and geometry questions

2008-06-16 Thread Eric Auer
Hi Alain, - the FAT12 / FAT16 boot sectors are too stuffed to check int13.8 for real geometry, but we could say that LBA is often supported - then we get to my suggestion allow LBA even for A: if FAT16... :-). When you use LBA, wrong CHS geometry is irrelevant. There are