6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Thu Nov 21, 2024 11:52 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: History?
PostPosted: Fri Nov 23, 2018 12:33 pm 
Offline
User avatar

Joined: Wed Feb 14, 2018 2:33 pm
Posts: 1488
Location: Scotland
Mindful of the fact the Lee is no-longer with us, I'm wondering if anyone knows some of the history of EHBasic?

Specifically if it was a project that Lee started from scratch or something else that was adapted.

I'm basically confused as to why the current source code looks like a disassembly of something else. Did Lee lose the source code at one point? Or is Lees original source gone forever and all we have is a disassembly that's been fiddled with over the years to work with..

No specific reasons, just idle curiosity, really. I have both EHBasic and BBC Basic 4 running on my little system now and I'll probably stick to BBC Basic more for familiarity than anything else, but EHBasic might be easier to hack...

Cheers,

-Gordon

_________________
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/


Top
 Profile  
Reply with quote  
 Post subject: Re: History?
PostPosted: Sat Nov 24, 2018 4:06 am 
Offline
User avatar

Joined: Sun Jun 30, 2013 10:26 pm
Posts: 1949
Location: Sacramento, CA, USA
Although the differences are obvious and numerous, I don't think any reasonable argument would be able to plausibly deny a "non-trivial" influence from the Microsoft versions of the late 1970s. Evidence includes (but is certainly not limited to) the general order in which the reserved tokens are defined, the nearly identical "CHRGET" uhm "LAB_GBYT" subroutines, etc. Efficient 6502 code to implement a BASIC interpreter is bound to involve some idiomatic coding patterns, but (as a 6502 coder with over 35 years of experience) I stand by my claim that the influence is undeniable.

_________________
Got a kilobyte lying fallow in your 65xx's memory map? Sprinkle some VTL02C on it and see how it grows on you!

Mike B. (about me) (learning how to github)


Top
 Profile  
Reply with quote  
 Post subject: Re: History?
PostPosted: Sat Nov 24, 2018 8:36 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10985
Location: England
I've a feeling the log and trig functions are directly "borrowed" from MS Basic. But I haven't looked into it.
There's an article here
https://www.pagetable.com/?p=46
and a source repo here
https://github.com/mist64/msbasic
which consolidates all the flavours of MS Basic into one source tree.


Top
 Profile  
Reply with quote  
 Post subject: Re: History?
PostPosted: Sat Nov 24, 2018 1:54 pm 
Offline
User avatar

Joined: Wed Feb 14, 2018 2:33 pm
Posts: 1488
Location: Scotland
Ok, thanks (both) for that. I've seen the published MS stuff but have really not gone through it any any sort of detail at all, but it seems like EHBasic is a Microsoft-ish BASIC with Enhancements... I can live with that.

Cheers,

-Gordon

_________________
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: