[141] Pluck State
- Conlan Walker
- Sep 13, 2024
- 1 min read
While the system does has its share of faults, I've taken an interest to the Commander X16! It uses an architecture and processor family I'm somewhat familiar with it, so I thought I could use it as an opportunity to get better at assembly language, which I am far from good at.
I made a very simple music driver for its PSG channels. It's very limited, only having a single envelope generator, while having a music data footprint that is larger than I'd like.
However, I did write it entirely in 65c02 assembly, and do I consider making literally anything in assembly to be a feat in and of itself.

Since the music data format obviously has no music creation software that supports it (since I just made it), I had to type in the song by hand using assembler macros
(after I initially created the loop in a tracker to use as a reference).
That data looks something like this.
Without macros I don't think I would've even attempted to do that.
Here's the code for all of that:
Next week I'll likely look at the X16's FM soundchip, though that'll likely be more complicated to manipulate properly
I've also been looking into potentially learning MML, as there are compilers for it whose output can be used with a music driver that emulates music drivers from older systems.
Comentarios