Rockbox mail archiveSubject: Re: error in disk write code
Re: error in disk write code
From: Greg Haerr <greg_at_censoft.com>
Date: Fri, 8 Nov 2002 10:41:19 -0700
: ./fat mkfile /a 3000
: fails with the CVS code. It seems that files over about 2MB don't work.
Files created over 2046 * 1024K (just short of 2MB) don't
work with the current code. It appears the problem is the
statically allocated array of FAT cache sectors, which is 0x20
long. It will need to be made larger for > ~2MB file support,
or the cache algorithm changed.
How does the current read code handle large files if the clustersize
is 1? It appears that it wouldn't work, but I haven't been able to
test yet. Of course, larger mp3's play properly. Does anyone
know the default clustersize on the JB?
Received on 2002-11-08