From Jason Turner
Watch on YouTube

Summary

This episode explores llvm-mos, a modern compiler toolchain that enables C++23 programming for 6502-based 8-bit computers like the Commodore 64, Atari 8-bit series, and NES. Jason demonstrates how the project has evolved from his earlier experiments with x86-to-6502 and AVR-to-6502 translators to a proper LLVM backend that generates efficient, optimized 6502 assembly code directly. The episode includes a demonstration of a simple C++ program running on a Commodore 64 emulator and discusses the robust optimization options available.

Resources

Tags