On Mon, Aug 2, 2010 at 2:58 AM, Ullrich von Bassewitz <uz@musoftware.de>wrote: > > On Mon, Aug 02, 2010 at 02:54:00AM -0500, Payton Byrd wrote: > > Instead of dynamically allocating arrays for the selected entries on the > > heap, I set the arrays to memory locations at $A100 and $A500 and I > simply > > fill these with '\0' to initialize them instead of using free() and > > calloc(). > > You can also add arbitrary blocks of free memory to the heap using the > _heapadd function. Once done, these blocks become part of the heap, and > malloc > will use them to allocate memory on users request. > > That's a great bit of information to keep in my back pocket. :) ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Mon Aug 2 10:01:18 2010
This archive was generated by hypermail 2.1.8 : 2010-08-02 10:01:20 CEST