2 ms·
The way to do it is to make a C-like language that has types and operators that map easily onto the 6502 architecture. After all, C was designed to map onto th
by WalterBright 2y ago
The way to do it is to make a C-like language that has types and operators that map easily onto the 6502 architecture.
After all, C was designed to map onto the PDP-11 architecture - things like postincrement.
- billyjobob 2y agohttps://github.com/irmen/prog8 https://github.com/irmen/prog8
- flohofwoe 2y agoThere's also millfork which is a "mid-level" language specifically for 8-bit CPUs: https://github.com/KarolS/millfork https://github.com/KarolS/millfork
- polymipisexp 2y agoThe PDP-11 postincrement thing is very often repeated, and I'm sure there are good reasons to suspect it, but here is one bit of evidence to the contrary I find convincing https://yarchive.net/comp/c.html https://yarchive.net/comp/c.html