Page 2 of 2
Re: Fenestra6502
Posted: Fri Oct 23, 2020 11:02 pm
by hatsugai
I wrote a code generator of CCLV for 6502 (W65C02S) and measured the execution time of fib and tarai.
Re: Fenestra6502
Posted: Wed Nov 25, 2020 12:24 pm
by BigEd
Thanks hatsugai! This feels like valuable information, even though I can't make use of it myself.
Re: Fenestra6502
Posted: Tue Jun 17, 2025 5:27 am
by zu2
Thank you for the information.
I was surprised to see the deep discussions.
I seem the tarai function is suitable for this kind of benchmarks, especially for measuring the performance of procedure/function calls.
Dr. Ikuo Takeuchi, the inventor of the tarai function, is famous as a Lisp hacker (one of the developper of TAO and NUE). It is said that tak version is McCarthy's mistake.
By the way, I made a MC6800 SBC (MC68B00, 2MHz) to compare the performance with Fenestra 6502 and others. Does anybody know if there is a C compiler for MC6800? If not, I will write a code generator of CCLV for MC6800.
hatsugai
There are three cross C compilers for the MC6800, all of which are maintained and require Fuzix-Bintools.
EtchedPixels/Fuzix-Compiler-Kit: Fuzix C Compiler Project :
https://github.com/EtchedPixels/Fuzix-Compiler-Kit/
zu2/chibicc-6800-v1: A Small C Compiler for MC6800 (fork from chibicc) :
https://github.com/zu2/chibicc-6800-v1
zu2/CC6303: A C compiler for the 6800 series processors :
https://github.com/zu2/CC6303