Dealing with a non-deterministic bug in 65816 assembly is incredibly hard. But it is also intensely satisfying when you manage to fix such a bug.
#CommanderX16
Writing self-modifying code. I feel so naughty. #CommanderX16
Off-by-one errors are annoying. Off-by-one errors when working in 65816 assembly are double annoying.
#CommanderX16
Passing arguments via the stack on a 65816 is extremely error-prone.
#CommanderX16
Back from my day job business trip with a few orders to fulfill! But as teased, here's a video showing off TurboWave and TurboTracker using several PCM samples (and a few wavetables)

https://www.youtube.com/watch?v=t2Tmajb0Ww4

#TurboWave #TurboTracker #CommanderX16 #Chiptune #ChipSky #Wavetables
TurboTracker: Mediocre Demosong Using Samples!

YouTube
Looks like I may have found another bug in the #CommanderX16 emulator. Not even going to investigate further. The broken instruction is easy to replicate with a bit of self-modifying code. I kinda love 8 bit bare metal coding.
Just used the 65816 mvn instruction for the first time. A bit fiddly, but useful. #CommanderX16