#75057 - pettersson - Thu Mar 09, 2006 9:43 pm
Hi,
i'm using devkitarm r17 and have encountered some problems regaring memory on ds (arm9)
if i set a static array (like char a[1000]) application just crashes.
otherwise, if i try it dynamically (using malloc) i always get a null pointer as a result from malloc (doesn't matter how small the blocks are).
even a 2 byte allocation just returned a null pointer.
i already tried a different arm9 linker script (the one i found on the forums), but no difference...
thx for help...
i'm using devkitarm r17 and have encountered some problems regaring memory on ds (arm9)
if i set a static array (like char a[1000]) application just crashes.
otherwise, if i try it dynamically (using malloc) i always get a null pointer as a result from malloc (doesn't matter how small the blocks are).
even a 2 byte allocation just returned a null pointer.
i already tried a different arm9 linker script (the one i found on the forums), but no difference...
thx for help...