I’m almost done with Mission: Moon (check my last post here). Yesterday I was adding some intro screens, fancy text, etc… When I tried to run it once more, bad things started to happen – things that when you see, you know you are putting code over something important.
After some digging, I realized that the game has grown to big and it was overwriting all my sprite definitions and other stuff. When I first started I put all eight sprites after the address ~15,000 to have enough space, but unfortunately it wasn’t enough. My program has around 12kbytes and the Commodore has around 38kbytes free, right? So it is easy to fix that, right? Move the sprites up, right? Wrong! (more…)