Page 1 of 1

Porting EhBASIC

Posted: Wed Dec 17, 2025 11:05 am
by Fatsie
I am porting EhBASIC to different platforms. I started from Klaus Dormann's repo and reworked the setup. I also made code compatible with cc65 assembler and ported it to sim65.
Please find the information on the codeberg repo: https://codeberg.org/NostalgicDreams/ng ... 02-EhBASIC

Plan is to port the BASIC compiler to different 6502 computers but also as stand-alone on FPGA boards and hopefully also an ASIC in the end.
Purpose is more to get familiar with all the different environments of the ports than to provide a BASIC interpreter as a daily driver. In that respect I tend to stick to the original implementation as close as possible and not implement new features. I did add the mixed case patch but I may revert that later on still.

Re: Porting EnBASIC

Posted: Wed Dec 17, 2025 12:31 pm
by BigEd
(That's Klaus Dormann - please fixup all mentions, as getting people's names right is an important thing.)

Re: Porting EnBASIC

Posted: Wed Dec 17, 2025 1:56 pm
by Fatsie
BigEd wrote:
(That's Klaus Dormann - please fixup all mentions, as getting people's names right is an important thing.)
Done, seems I did it right in the code itself but messed up in this post AFAICS.

Re: Porting EnBASIC

Posted: Wed Dec 17, 2025 2:15 pm
by BigEd
Thanks - your README.md needs a correction too.

Re: Porting EhBASIC

Posted: Wed Feb 04, 2026 3:28 pm
by jimjag
I also have a port, but it is of a later version of EhBASIC and avoids hardcoded values for zeropage variables. It is in ca65 format and it is part of my `miniOS` system for my JJ65c02 setup. Check out https://github.com/jimjag/JJ65c02/blob/ ... /ehbasic.s