Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Digrom2/ATA2

Re: 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.fr
Received on 2002-01-21

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy