I recently found a copy of the commodore 64 programming manual in a garage sale. Of course, I had to buy it.
Compared to the *nix paradigm with heaps and stacks, it's very, er, basic. The manual explains that you are just loading registers with instructions when you program. No Heap, No Stack, No memory management.