Welcome! Log In Create A New Profile

Advanced

How much free RAM do we have?

Posted by thiagolr 
How much free RAM do we have?
August 11, 2009 10:04PM
Hi,

How much RAM do we have available for a homebrew app?

Thanks,


Thiago
Re: How much free RAM do we have?
August 11, 2009 11:13PM
The Wii has 24 (mem1) + 64 (mem2) MB of RAM

The beginning of Mem1 is filled with infos, and the HomeBrew community has a quasi-standard to keep an area of memory untouched to allow "return to loader". Basicly you are mssing the lower 16 Kilobyte of Mem1

You can use the Rest of Mem1 (your code resides there too)
You can use the lower 51MB of mem2 (IOS memory starts after that)

All in all, you have about 74 MB of RAM for your code, data and the anything else you bring with you (librarys)
Re: How much free RAM do we have?
August 12, 2009 02:18PM
Is there a way to specify where to allocate memory from?

I tried to allocate 20MB using malloc but it failed.
Sorry, only registered users may post in this forum.

Click here to login