This updated version uses an undocumented stat() parameter to detect when the music has stopped and restarts it as needed. I also seeded some of the unused sfxs with some random clicks and buzzes.
This was just a quick experiment to see if stomping on the music and sound effects areas of memory might make for interesting audio.
I played with different types of damage (and repair) to the memory. But I was just treating it as one big chunk of memory. If you started manipulating patterns individually, you could probably get more useful results.
Sometimes it is interesting. Sometimes, not so much. And sometimes it even stops. (If one were sufficiently motivated, he or she could probably ensure that no loops were ever set to "stop".
Would love to hear from anyone else who has done anything similar.
While trying to interest my son in PICO-8, I ended up with code that let you fly a little ship around with Lunar Lander-style thruster control. I'm not sure that he's going to take the bait. But I couldn't leave it alone and had to turn it into a little game.
Visiting waypoints is not a very deep game. But I enjoy the mindlessness of it more than I expected.
The code is not consistent. I'm still figuring out what compromises are worth it in that little tiny editor window.
[edit 2016-12-14] added glitchy text effect, cleaned up some code, reversed the up and down buttons