I do not quite understand what you are searching for, but I can point you to CF drivers for usage with PIC. The drivers are written in mikroPascal and are well tested. Here is the link:
**broken link removed**
And here is the link for a project which explains how to write acquisition results to CF card:
But the example that you posted is in "True IDE Mode". In true IDE mode, only 3 lines of address bus are needed and the rest are connected to GND. What I want is "PC Memory Mode" which will make uses of all the address lines. Does anyone have an example for this?
I have a look, but still it's in True IDE mode with just 3 address lines connected to micro-controller. Those sites gives very good information. I may need to refer to it in future. Anyway for the time being, I need to implement PC MEMORY mode which will makes use all the address lines.