I'm interested in seeing it on the list so when I need it it'll be around, though I don't have a specific need for it right now. Sounds great, though! -Adam Peter Onion wrote: >Fellow PICsters, > >I have some code that uses all of bank 2 on a 16F877 as a dynamic memory heap. > >There is an alloc for getting a chunk of registers > a free for returning them to the heap > >Also a garbage collector for when things become too fragmanted (but I've not >used/tested this very much yet) > >There is a one byte overhead per allocated chunk. > >I'll tidy up the code an post it here if anyone is interested. > >Peter > >-- >http://www.piclist.com hint: To leave the PICList >mailto:piclist-unsubscribe-request@mitvma.mit.edu > > > > > -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu