All projects

Cix502

Cix502 is a simple MOS 6502 emulator written in C99, built with clarity and precision in mind.

Cix502 is a simple MOS 6502 emulator written in C99, built with clarity and precision in mind. It is the C sibling of ae6502: the same processor, approached from the metal side rather than the tooling side.

Tech

  • C99 for the emulator core
  • CMake as the build system

What I learned

  • Revisiting the 6502 in C99: dispatch tables, status flags, and memory access patterns.
  • What clarity and precision cost each other in emulator code.