C H S in a Compact flash

How do i know how many cylinders, drives and sectors a particularr compact flash has??????

i have a 256mb sandisk compact flash

Reply to
Loading thread data ...

The concept of CHS is since long outdated. But.. It depends in what context you use it. If it's an old machine with x86-BIOS you usually enter heads=63 sectors=255 There are three translation modes for x86-BIOS calls (INT 13h) to physical sectors CHS, LBA, and Large. Try to use LBA if that won't work use Large or as last resort CHS mode.

If you build a system that is free from x86 baggage then LBA is the mode to use.

Furhter reading: *

formatting link
formatting link

640k ram & 512M hdd ought to be enough for anyone.. :)
Reply to

Issue the identify command to the card and parse the sector worth of data that it returns. It's all in there.

Reply to
Ray Andraka

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.