#43201 - enliteneer - Fri May 20, 2005 6:57 am
Just ran across a very nice overview of programming the GBA
( http://members.iinet.net.au/~freeaxs/gbacomp/ ) that Im sure everyone here is familiar with.
However, Ive got a question regarding the memory map. Is it true that the linker will always put variables into external ram unless you specifically direct it to put it in internal ram? What about at runtime if you use malloc, where will that memory come from?
My program needs to save a unknown amount of data coming in from the serial, any suggestions on how best to allocate memory for this???
( http://members.iinet.net.au/~freeaxs/gbacomp/ ) that Im sure everyone here is familiar with.
However, Ive got a question regarding the memory map. Is it true that the linker will always put variables into external ram unless you specifically direct it to put it in internal ram? What about at runtime if you use malloc, where will that memory come from?
My program needs to save a unknown amount of data coming in from the serial, any suggestions on how best to allocate memory for this???