[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: EHBASIC 2.10+0.8.7 refresh: the more I try to write about it the more I prove what a doofus I am.
- Subject: Re: EHBASIC 2.10+0.8.7 refresh: the more I try to write about it the more I prove what a doofus I am.
- From: lyricalnanoha@dosius.ath.cx (Steve Nickolas)
- Date: Tue, 9 Mar 2010 13:21:13 +0000 (UTC)
- Newsgroups: comp.sys.apple2
- Organization: Mac GUI
- References: <lyricalnanoha-1267899948@macgui.com>
- User-agent: Mac GUI City Usenet Posting
- Xref: g2news1.google.com comp.sys.apple2:14566
I may have found the answer I seek.
I just compared 22 commands and functions (chr$, left$, right$, mid$, len,
asc, val, peek, poke, wait, log, sgn, abs, int, sqr, exp, rnd, cos, sin,
tan, atn) as part of trying to size up another project which I called
"SABASIC" (to replace FPBASIC's back end with that of EHBASIC, to go with
GameWare). While RND and SQR are different - and no doubt vast improvements
on the FPBASIC versions - and oddly, PEEK is different too - most of the
code I checked does not in any significant way differ from FPBASIC (that
might not be a good thing). So I may be able to rip ONERR directly from
FPBASIC as I did the other extensions.
What this makes ehbasic look like is not more nor less than a heavily hacked
(but well-improved) version of SYMBASIC, a close relative of FPBASIC which
the EHBASIC author has a commented disassembly of on his site. That might
be why there's a "noncommercial use only" line in the EHBASIC docs. (It
also explains why the FPBASIC and PDOS-RDOS stuff ported in so easily, and
why FP values are 32-bit like SYMBASIC, and not 40-bit like FPBASIC.)
What this makes ehbasic+ look like is a mutant freak of Microsoft dialects,
but somehow greater than the sum of its parts: a version of Applesoft that
feels almost like GWBASIC.
-uso.