That's some pretty clean emulator code! Sticks fairly closely to the hardware design, and it's clear what's going on for the most part. In addition to practical use as an emulator, it might make a good learning tool for someone who wants to understand how the Atari VCS's weird hardware works. Perhaps read along with the canonical Stella Programmer's Guide ( http://www.alienbill.com/2600/101/docs/stella.html ) and the…
Thats an amazing observation mjn!!! I knew a little about the Nyquist frequency, but I didn't really hear much aliasing during development. Surely that is a good point to improve! Thanks.
The most-used 2600 emulator, Stella, doesn't do bandlimited synthesis either, without many complaints. I believe z26 is the only Atari emulator that does, so listening to differences between how things sound in z26 and other emulators might be a way to figure out if it really matters. Though as far as implementation, z26 is 100% asm, so not very easy to use as a reference.