> pata_hd_read_data() gave me about 320kbytes/s, while read_sector() gave about 
> 130kbyte/s.
I haven't done actual speed tests, so you are more correct then me.
But I also don't like calling a procedure 256 or 512 times, when read
sector could be used.

One thing you must keep in mind is that SD Card uses the same port as
23k256 (spi ram), or other things the user may want. With SD Card, you
must watch the chip select line, so read sector is better. Mostly
because I like the usage of storing file name locations in an external
ram such as 23k256. Internal PIC ram works fine too, but you are
limited to the number of files per directory.

do you have a 23k256?

>When large_array is not used, read_sector() yields about 520kbytes/s
Ok, how. Are you suggesting to use two normal arrays of 512 bytes?

>Ok, time to svn up :-)
I'll get my stuff up on SVN asap.

>You'll regret that one ;-)
all suggestions are welcome. I won't regret it. Hopefully you have
lots. We can start a list of issues.

Matt.

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to