kernel : malloc, free & lsmem
malloc & free Malloc & free are available in the kernel. For instance telestrat cc65 target uses its internal malloc function. Anyway, it’s possible to use malloc & free in assembly with kernel primitive. When the malloc is done, it returns a pointer (or null if it’s not possible to do the malloc). When the Read more about kernel : malloc, free & lsmem[…]