You wrote: > I'm so close to getting MAPM to work on C18 but I need a way to get > the c functions malloc, realloc and free to work on it. Is there a > way? I don't know whether C18 has native support for a heap (check the documentation? :) but if not, you'd have to set aside a part of the PIC's memory (so that it isn't used by C18) and write your own implementations of these functions to handle memory allocation in this area. Gerhard -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist