Rockbox.org home
releases
current build
extras FAQ
manual
wiki
docs index mailing lists
IRC
forums bugs
patches



Rockbox mail archive

Subject: Re: Digrom2/ATA2
From: Nicolas Sauzede (nsauzede_at_yahoo.com)
Date: 2002-01-21


>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 @yahoo.fr gratuite et en français ! Yahoo! Courrier : http://courrier.yahoo.fr



Page was last modified "Mar 9 2008" The Rockbox Crew