Rockbox mail archiveSubject: Re: another 8MB upgrade success story
Re: another 8MB upgrade success story
From: Gerald Clark <gerald_clark_at_mindspring.com>
Date: Thu, 20 Mar 2003 07:14:16 -0600
Dynamic allocation should be fairly simple if only malloc is implemented with no release.
Use a static table of *char,int values for buffer pointers and sizes.
Allocate all buffers first, then enter the main routine.
From: "Daniel Stenberg"<daniel_at_haxx.se>
Sent: 3/19/03 12:02:10 PM
Subject: Re: another 8MB upgrade success story
On Wed, 19 Mar 2003, Justin Heiner wrote:
> Couldn't you do a quick write/read test on some part of the memory over
> 4mb? Or would that cause too many problems.
That would be the easy part. Detecting that the unit has 8MB ram should be
easy enough (doing something like you describe).
Then what? Various buffers should use different sizes. How do you achieve
that with no dynamic memory allocation?
Daniel Stenberg -- http://rockbox.haxx.se/ -- http://daniel.haxx.se/
Received on 2003-03-20