Well, I did some testing in FreeDOS, MSDOS 7.1, Windows98 and WindowsXP This function works in all these environment different. F 1) For existing 3,5 floppy disks all give the same (correct) results only MSDOS gives wrong Total number of Sectors and Sectors per Cluster 2) For existing hard disks all three give different value for Total Number of Sectors (FD: 65525, MS: 65534, 98: 65526, XP: 15747 (bullshit)) 3) Non existing drives: difference is in Sectors per Cluster: in FreeDOS: all output seems to be "undefined", in other OSes is all "undefined" except Sectors per Custer which seems to be always 255 (FFh) 4) Other diferencies are in CD/DVD roms and flashdisks.
>From the above is shown that MS-DOS and WinXP give undoubtebly wrong results. The output for non existing drives seems to be random except AL, which was in all tested OSes except FreeDOS FFh. RBIL mentions it so maybe it could be fixed, however I think that programmers just shouldn't call this function for non existing disks and I even think this function shouldn't be called at all. ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
