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.
Porting EhBASIC
Porting EhBASIC
Last edited by Fatsie on Thu Dec 18, 2025 10:44 am, edited 3 times in total.
Re: Porting EnBASIC
(That's Klaus Dormann - please fixup all mentions, as getting people's names right is an important thing.)
Re: Porting EnBASIC
BigEd wrote:
(That's Klaus Dormann - please fixup all mentions, as getting people's names right is an important thing.)
Re: Porting EnBASIC
Thanks - your README.md needs a correction too.
Re: Porting EhBASIC
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