Porting EhBASIC

A forum for users of EhBASIC (Enhanced BASIC), a portable BASIC interpreter for 6502 microcomputers written by Lee Davison.
Post Reply
Fatsie
Posts: 23
Joined: 02 Sep 2017

Porting EhBASIC

Post 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.
Last edited by Fatsie on Thu Dec 18, 2025 10:44 am, edited 3 times in total.
User avatar
BigEd
Posts: 11463
Joined: 11 Dec 2008
Location: England
Contact:

Re: Porting EnBASIC

Post by BigEd »

(That's Klaus Dormann - please fixup all mentions, as getting people's names right is an important thing.)
Fatsie
Posts: 23
Joined: 02 Sep 2017

Re: Porting EnBASIC

Post 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.
User avatar
BigEd
Posts: 11463
Joined: 11 Dec 2008
Location: England
Contact:

Re: Porting EnBASIC

Post by BigEd »

Thanks - your README.md needs a correction too.
jimjag
Posts: 1
Joined: 02 Feb 2024

Re: Porting EhBASIC

Post 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
Post Reply