6,006 karma · joined April 25, 2011
Making 8-bit dev tools since 2016: https://8bitworkshop.com/
The NES has a 7-bit DAC, but since we're bit-banging with the CPU we only have enough time between samples for about 13 levels. Each level has its own toggle-wait-toggle-wait routine, and then we shift another bit and decide whether to branch to the next (level+1) routine or the previous (level-1) routine.
https://8bitworkshop.com/v3.12.1/?platform=apple2&file=delta...
But it's an ambitious experiment, and the docs are worth reading through. Every now and again I give it another try :^P
I think your beef is not with Meshtastic, but with the distro/compiler, and I am going to bet you're compiling C++ with clang.
(compiling legacy code with legacy versions of Emscripten is quite frustrating, almost as bad as updating your JS code to be compatible with accumulated changes in the Emscripten ABI)
It might be nice to have Ada's tasks driven by DOS interrupts, though. I think GNAT did this.
His blog post on pi is here: https://mariozechner.at/posts/2025-11-30-pi-coding-agent/