paulwratt / bas-2.5-plus

2018 version of BAS 2.4 ANSI BASIC interpreter by Michael Haardt - http://moira.de (cpmtools fame)
MIT License
12 stars 3 forks source link

there already is a bas-2.5 from Michael Haardt #1

Open scruss opened 5 years ago

scruss commented 5 years ago

Michael has been quietly maintaining bas-2.5:

www.moria.de/~michael/bas/bas-2.5.tar.gz

Last change was late 2018. When I last spoke with him (2014?) he fixed some fairly serious floating point bugs, but didn't have time to do a full release.

Thanks for taking this project further!

paulwratt commented 2 years ago

HISTORICAL POST

In 2018 when I started the fixes, I did not get a response from Michael, and unfortunately this source only made it to source management repo after I made the fixes (so there was no way to easily generate patches), as a way to record them and find it later. I do believe 1 or 2 fixes were done that he was already aware of when he released 2.5

JCCyC commented 2 years ago

As of this moment, there's a 2.6.

scruss commented 2 years ago

yup: http://www.moria.de/~michael/bas/bas-2.6.tar.gz

Looks like it has seen some edits this year, too. These are the new items in NEWS since mid-2020:

paulwratt commented 2 years ago

its easy to miss stuff that disappears - do you have a copy of that v2.6, can you link it, because the site does not have it (its possible that v2.6 introduced some serious bugs or regressions, or the server crashed).

even though I mailed him about it at the time, before the v2.5 release, I don't even think my bug-fixes made it into the v2.5 on the site. There is also another version released around the same time from someone else that also found my repo, but targeted at GW-BASIC users, that includes sound (which none of mine have yet - is that your version @scruss?).

Remember that Bas v2.5 plus listed here tries to maintain a minimal set of improvements (ie plain CLI task oriented, &b1010). if you want something more (say a daily driver, with 256 colors, autoexec.bas, etc, check Bas v2.5 pw which is build on top of this bug-fixed version.

more importantly, for successful hacking, I added a doc on how and where to add commands (in both repo's I think), and updated the man pages too.

(ps. I'm going to leave this open permanently )

paulwratt commented 2 years ago

I have the beginnings of a build server, so I will be able to do non-arm releases when thats up (theres an armhf in the repo), at which time I'll make an assessment of whats available and provide plus release packages, and allow pw to be built with sound.

I will also make available some .bas experiments I did around the time this repo was put online, including inter-VT chat and .baz packages.

scruss commented 2 years ago

I've made no new versions, Paul. You don't want to ever see code I've written.

I managed to download 2.6 today from Michael's site, but as you clearly can't access it, I've put it here: https://scruss.com/wordpress/wp-content/uploads/2022/09/bas-2.6-20220201.tgz

I renamed it to the most recently changed file dates. Similarly, I'd downloaded an older version, and it's here: https://scruss.com/wordpress/wp-content/uploads/2022/09/bas-2.6-20200726.tgz

I also have two downloads of 2.5, one from 2016 and one from 2019. There were some bug fixes in the evaluation of FOR loops wrt the ANSI standard somewhere in the 2.5 tree history

For daily driver BASIC I tend to use Matrix Brandy, PC-BASIC or plain old QBasic in dosbox

paulwratt commented 2 years ago

What URL did you use. I was updating another repo and tested some url's, this is the only one that worked for me: http://www.moria.de/~michael/bas/ everything else breaks a Cloudflare connection. In fact ATM I cant even get there, getting redirected via cloudflare to https. Maybe it was a cached version I was seeing, but there were definitely no mention v2.6 on that page.

Hmm.. those two files are different by 4k, maybe he took v2.6 down for the same reason he had to change them, I'll have a look, do some diff's.

As for your version (I wasn't 100% sure it was you, sorry), make it available, I'd like to see how far you got (no matter how ugly). You can email it to me if you dont feel its suitable for public consumption ..

paulwratt commented 2 years ago

OK, so the v2.6 mentioned 1st in this thread was originally available in 2021 (even tho the .pot creation date is 2022-02-01, and even tho there is this in the configure.in file +UPDATED='July 27, 2020'), and contains all the mentioned improvements, along with updated man page and .pdf (there seems to be a fix in mid$ too, at least according to the man page diff)

I did find this addtion, which I thought was interesting:

+\fBbas\fP is meant to get old code running again. If you always missed a +programming language as easy as BASIC used to be back then, then advance +and learn Ruby instead. It brings back the same ease, fun and magic of +programming, but it is wonderful where BASIC is weird.

I wish Michael had made a public repo mirror somewhere (GitHub or GitLab or .. )

EDIT: so apart from the mid$ fix and the addition of do .. repeat most of the changes were docs, config, a new test, and the addition of a .de .pot file.

scruss commented 2 years ago

This was the download url I used, and it worked again a minute ago: http://www.moria.de/~michael/bas/bas-2.6.tar.gz There is no mention of it on the page, I just found it by digging

I have made no versions. There is nothing to see

paulwratt commented 2 years ago

thanks for that. I guess that will do for now. Those links are mostly for people in the future, at least until I can integrate the changes since v2.4

I have made no versions. There is nothing to see

No problems, I still have everything from the last time we talked via email (2020 I think) on a different sd-card/OS. I'd still like to make my PW version build sound as an option.

I'll try and get everything together in one place and do some updates, and (like I said above) I would like to do some release packages.