Remix.run Logo
▲ whartung a day ago

I already had a 6502 simulator that I wrote over 10 years ago. I had not touched it in a long while, but coming back to it, it was remarkably far along toward running ‘816 (or so I thought).

So I uplifted it to a full boat ‘816 core. Once I had that, compiler development accelerated since the testing was much better. The AI and unit tests could generate the code, run the code, and analyze CPU state and memory.

Real game changer.

My proto compiler is in Java, but not idiomatic Java by any means. It’s limited to static allocation and constructs available in the new language to make porting it later, ideally, mostly mechanical.