3 ms·
cc65 provides a compiler suite and runtimes for many old 6502 machines. It really is a cool project. https://github.com/cc65/cc65 https://github.com/cc65/cc6
by jgerrish 4y ago
cc65 provides a compiler suite and runtimes for many old 6502 machines.
It really is a cool project. https://github.com/cc65/cc65 https://github.com/cc65/cc65
It provides some template configuration files describing different memory layouts. And provides common libraries for input/output.
There's also a LLVM fork for MOS: https://github.com/llvm-mos/llvm-mos https://github.com/llvm-mos/llvm-mos
They've got some interesting hacks with ZeroPage memory and register allocation: https://llvm-mos.org/wiki/Code_generation_overview https://llvm-mos.org/wiki/Code_generation_overview
Interesting if you geek out on that kind of research.