|
Rockbox mail archiveSubject: [Fwd: Re: error in disk write code][Fwd: Re: error in disk write code]
From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Fri, 08 Nov 2002 19:39:25 +0100 Greg Haerr wrote: > : ./fat mkfile /a 3000 > : > : fails with the CVS code. It seems that files over about 2MB don't work. Works for me. What error do you get? > 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. What is wrong with the cache algorithm? I can't see any error in there. > 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. Why wouldn't it? Please explain. > Of course, larger mp3's play properly. Does anyone > know the default clustersize on the JB? That depends on what program you used for formatting the disk and how large it is. /Linus Received on 2002-11-08 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |