Rockbox mail archive
Subject: Re: error in disk write code
From: Greg Haerr (greg_at_censoft.com)
: ./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?
Page was last modified "Jan 10 2012" The Rockbox Crew