hth313 6 Posted November 22, 2020 I am working on a C compiler for the 6502 and wonder if someone can point me to a suitable C project for the X16? I would like to try my own stuff out and compare generated code a bit. 1 Quote Share this post Link to post Share on other sites
0 desertfish 184 Posted November 23, 2020 If you're also able to target the Commodore-64, here's a few micro benchmarks that you could explore. They helped me identify a few bottlenecks in Prog8's code generation. https://github.com/KarolS/millfork-benchmarks/tree/master/6502 As a "project" or a substantially larger program, may I suggest Text-elite perhaps? Here's a cleaned up Ansi-C version of the origial source code taken from Ian Bell's Elite homepage; https://github.com/irmen/text-elite/tree/master/ansic (The Prog8 version of text-elite is available in the games downloads section on this forum) Quote Share this post Link to post Share on other sites
0 hth313 6 Posted November 24, 2020 Looks good, I have a cc65-chess to. I should do fine with that, thanks! Quote Share this post Link to post Share on other sites
I am working on a C compiler for the 6502 and wonder if someone can point me to a suitable C project for the X16? I would like to try my own stuff out and compare generated code a bit.
Share this post
Link to post
Share on other sites