The problem I have found in writing disk drivers in the past (like my USB
drivers) are the disks that do NOT show themselves as removable when they
actually are, not the ones (like SanDisk) that show reality. If a disk says it
is not removable it means you should NEVER need to worry about somebody
removing it and replacing it with something different. That is never the case
with CF media. Even though the SATA controller may not be removable, the CF
cards are and they should be treated as such. SATA is designed for use with
removable media. I'm not sure about SATA, but at least with floppies and USB
the hardware doesn't have a disk eject sensor so you need to mange the
potential media changes with software. At least on floppies, this is normally
done with a timer and if the disk hasn't been accessed for more than a few
seconds when the OS asks the driver if the disk has changed the driver must
respond with "I don't know" (which DOS must effectively treat as a "yes"). Of
course, this decreases throughput speed since DOS must read the first part of
the disk (boot sector, BIOS Parameter Block, FAT, etc.) to try and decide if
the media has really changed or not instead of just relying on what's in the
cache from the last access. You can also continually poll the disk (every few
seconds) and then you can definitively tell DOS "yes" or "no", but that uses
power so may not be a good idea on something running off batteries (like a
laptop). Bottom line is that the SanDisk CF cards are they way they should be
even though some computers may have a problem with them. In addition, I
believe SATA drivers should always (at least by default) assume removable media
unless you can verify they have a hardware media change sensor. > There are
SATA adapters sold on Amazon that let a CF> chip work on an SATA interface. You
might checkout
> cf chips sold on Amazon by Komputer Bay.
> Sandisk sell the best chips but they are setup
> for cameras not computers. Sandisk chips
> are internally marked as removable this
> can cause a lot of problems on computers.
____________________________________________________________
Sponsored by
https://www.newser.com/?utm_source=part&utm_medium=uol&utm_campaign=rss_taglines_more
Kushner Says Black Americans Must 'Want' Success
http://thirdpartyoffers.juno.com/TGL3141/5f973472bf5b434727fcdst03vuc1
Not-So-Close Race Also One of the Most Expensive
http://thirdpartyoffers.juno.com/TGL3141/5f973472df28234727fcdst03vuc2
Suspect Nabbed in Ballot Fire
http://thirdpartyoffers.juno.com/TGL3141/5f973473b81b34727fcdst03vuc3
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user