FWIW, my USB disk driver always did work with any sector size up to 32k, if the
OS supports it. Unfortunately, AFAIK, only MS-DOS supports anything other than
512 byte sectors, and even to do that requires a minor modification to the
kernel (you just need to change the default sector size, a one word value).
There's a description of how to do it using DEBUG in the source code for
USBDRIVE.
As Czerno also stated/implied, I think MS SMARTDRV may be the only cache that
works with sectors other than 512 bytes (or at least doesn't crash / corrupt
anything). From what I understand, UIDE and LBACACHE (the caching programs I
think are used by most users nowadays) do not work correctly with anything
other than 512 bytes (Eric / Jack can correct me if I'm wrong about that).
Also, UIDE and LBACACHE are INT 13h caches, so won't work directly with ASPI /
SCSI / USB disks anyway. SMARTDRV is an INT 21h cache, so doesn't have the
same issues.
Also FWIW, I think using an ASPI interface is the wrong direction to go for
disk "enhancements" like large sector sizes, exFAT (aka "FAT64"), GPT (GUID
Partition Tables), etc. ASPI is probably a little easier than INT 13h to
implement at first, but I think DOS will end up in a place it doesn't want to
be if we continue down that road. Just my opinion.
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel