Fenestra6502

For discussing the 65xx hardware itself or electronics projects.
hatsugai
Posts: 9
Joined: 10 Oct 2020

Re: Fenestra6502

Post by hatsugai »

I wrote a code generator of CCLV for 6502 (W65C02S) and measured the execution time of fib and tarai.
Attachments
bench.png
User avatar
BigEd
Posts: 11464
Joined: 11 Dec 2008
Location: England
Contact:

Re: Fenestra6502

Post by BigEd »

Thanks hatsugai! This feels like valuable information, even though I can't make use of it myself.
zu2
Posts: 3
Joined: 15 Jun 2025
Location: ryukyus.
Contact:

Re: Fenestra6502

Post by zu2 »

hatsugai wrote:
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
Post Reply