Hi!

     No one sends results of DEBUG running. :( I again ask: how to detect
FAT type (differ FAT1x and FAT32)? For example:

        int ret = get_BPB32 (INT 21/440D with CX=0x4860);
        if (ret) {
                if (get_BPB (INT 21/440D with CX=0x860))
                        ...error getting BPB...
                if (bpb.FATsectors == 0)
                        ...error in BPB...
        }
        fs = bpb.FATsectors ? FAT1x : FAT32;

Is this best algorithm?

     And again: is locking (INT 21/440D, CL=4Ah) required for disk reading
(INT 25 and INT 21/7305)? Does CH=08 with locking works for FAT32?




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to