|
Rockbox mail archiveSubject: Re: Digrom2/ATA2Re: Digrom2/ATA2
From: Nicolas Sauzede <nsauzede_at_yahoo.com>
Date: Mon, 21 Jan 2002 10:03:06 +0100 (CET) >just create a variable : > unsigned long clusters_per_fat = sectors_per_fat * 128; > ... > if ((cluster - 2) >= clusters_per_fat) > break; Well, I'm gonna try that.. :) > I'm sorry, line 1) was totally wrong :((( there is a > confusion between the number of sector containing the fat > and the number of clusters the fat handles. But I wonder how digrom2 can work for you björn/alan, because even if your 6GB HD is (nearly) empty, your 3 minimum files (archos.mod, ROM1.DAT and ROM2.DAT) should be located at least after the two FATs, so how cant the test 'if (cluster < 2 || (cluster * sectors_per_cluster) >= sectors_per_fat)' can work if cluster>=2*sectors_per_fat ?????? I must be a fool somewhere.. :) Keep up the good work, you all -- gizz ___________________________________________________________ Do You Yahoo!? -- Une adresse _at_yahoo.fr gratuite et en français ! Yahoo! Courrier : http://courrier.yahoo.frReceived on 2002-01-21 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |