#4431 - Shadow - Mon Mar 31, 2003 2:25 am
Hi.
I have seen on some other posts something about problems using dynamic memory allocation (malloc, calloc, etc...) on the GBA, and I was wondering why. As far as I know, it is a very useful and powerful technique, especially when it comes to making games.
So, is it possible (recommended) to use dynamic memory allocation on the GBA ? Does the GBA even have (and use) a heap ? If so, where is it located in memory and what is its size ? And finally, if it is too troublesome to use, how do you get things done without it (linked lists, dynamic arrays, etc...) ?
Thanks in advance.
I have seen on some other posts something about problems using dynamic memory allocation (malloc, calloc, etc...) on the GBA, and I was wondering why. As far as I know, it is a very useful and powerful technique, especially when it comes to making games.
So, is it possible (recommended) to use dynamic memory allocation on the GBA ? Does the GBA even have (and use) a heap ? If so, where is it located in memory and what is its size ? And finally, if it is too troublesome to use, how do you get things done without it (linked lists, dynamic arrays, etc...) ?
Thanks in advance.