dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: another 8MB upgrade success story
From: Gerald Clark (
Date: 2003-03-20

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.

-----Original Message-----
    From: "Daniel Stenberg"<>
    Sent: 3/19/03 12:02:10 PM
    To: "Rockbox"<>
    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 -- --

Page was last modified "Jan 10 2012" The Rockbox Crew