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: 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.

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

Page template was last modified "Sat Sep 18 20:21:06 2021" The Rockbox Crew -- Privacy Policy