User avatar
scruss
Posts: 2542
Joined: Sat Jun 09, 2012 12:25 pm
Location: Toronto, ON
Contact: Website

Re: Why Avoid BASIC on RPi?

Mon Apr 08, 2019 7:36 pm

the same place as for every other Raspberry Pi: https://www.raspberrypi.org/downloads/raspbian/
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.

User avatar
davidcoton
Posts: 4179
Joined: Mon Sep 01, 2014 2:37 pm
Location: Cambridge, UK

Re: Why Avoid BASIC on RPi?

Mon Apr 08, 2019 8:00 pm

ScriptBasic wrote:
Mon Apr 08, 2019 7:07 pm
Where is the best place to get a copy of Raspbian for the Zero?
Here, as always.
Most "official" software will run on all current Pi models form the same download.
Where necessary the software detects and adapts to the particular model.
Signature retired

User avatar
John_Spikowski
Posts: 1492
Joined: Wed Apr 03, 2019 5:53 pm
Location: Anacortes, WA USA
Contact: Website Twitter

Re: Why Avoid BASIC on RPi?

Mon Apr 08, 2019 8:10 pm

A good perspective of then and now.

https://youtu.be/0wDtxYeJdzg

User avatar
John_Spikowski
Posts: 1492
Joined: Wed Apr 03, 2019 5:53 pm
Location: Anacortes, WA USA
Contact: Website Twitter

Re: Why Avoid BASIC on RPi?

Mon Apr 08, 2019 8:17 pm

Where necessary the software detects and adapts to the particular model.
The real answer to my question.

ejolson
Posts: 3675
Joined: Tue Mar 18, 2014 11:47 am

Re: Why Avoid BASIC on RPi?

Mon Apr 08, 2019 8:40 pm

ScriptBasic wrote:
Mon Apr 08, 2019 7:07 pm
I just ordered a Raspberry Pi Zero which should arrive tomorrow. I'll get a ScriptBasic build for it posted soon.

Where is the best place to get a copy of Raspbian for the Zero?
I'm glad you are getting a Pi Zero. I find them lots of fun due to the small size and power requirements.

My build had errors--apparently not everything compiled--but it worked well enough to run the test Fibonacci code. Also I find it better not to share binaries, but rather the source. Thanks for that.

As others have mentioned, with an interpreter such as ScriptBasic, it should be possible to create a binary that works on all Pi models. For example, if you use the built-in gcc compiler, the only thing needed is to omit any explicit -march, -mcpu, -mfpu or -mtune flags and use the compiler defaults.

User avatar
John_Spikowski
Posts: 1492
Joined: Wed Apr 03, 2019 5:53 pm
Location: Anacortes, WA USA
Contact: Website Twitter

Re: Why Avoid BASIC on RPi?

Mon Apr 08, 2019 8:51 pm

My thoughts are to offer both the Zero and B3 ScriptBasic build but I will test the single version theory.

Congrats for being the first to have ScriptBasic running on a RPi Zero.

User avatar
scruss
Posts: 2542
Joined: Sat Jun 09, 2012 12:25 pm
Location: Toronto, ON
Contact: Website

Re: Why Avoid BASIC on RPi?

Mon Apr 08, 2019 10:15 pm

When you get it to build, maybe start a new thread about it? It really doesn't belong in this megathread
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.

User avatar
John_Spikowski
Posts: 1492
Joined: Wed Apr 03, 2019 5:53 pm
Location: Anacortes, WA USA
Contact: Website Twitter

Re: Why Avoid BASIC on RPi?

Mon Apr 08, 2019 10:48 pm

I hope to have the RaspberryBASIC.org forum going by then and stop making this the ScriptBasic thread.

BTW: The forum will be open to all open source BASIC languages able to run on the RPi.

ScriptBasic
BaCon (ScriptBasic like BASIC to C translator)
Richard's BBC SDL BASIC interpreter

There is a lot of great BASIC code out there that could be given a new life on the RPi.
...

ejolson
Posts: 3675
Joined: Tue Mar 18, 2014 11:47 am

Re: Why Avoid BASIC on RPi?

Mon Apr 08, 2019 11:41 pm

ScriptBasic wrote:
Mon Apr 08, 2019 10:48 pm
I hope to have the RaspberryBASIC.org forum going by then and stop making this the ScriptBasic thread.

BTW: The forum will be open to all open source BASIC languages able to run on the RPi.
That reminds me I was planning to make an annotated list addressing the question why avoid Basic for all versions which run on the Raspberry Pi. The list so far includes

. Richard's BBC Basic.
. Mono vbnc Visual Basic.
. FreeBasic.
. Chipmunk Basic.
. Gordon's RTB Return to Basic.
. Carl's Liberty Basic.
. Michael Haardt's BASIC.
. Bywater Basic.
. FUZE Basic.
. Matrix Brandy Basic.
. GAMBAS Basic.
. TinyBasic.
. SpecBasic.
. ScriptBasic original site.
. BaCon.
. Decimal BASIC.
. X11-Basic.
. CBM Basic.
. TI99 BASIC.
. Rob Hagemans' PC-BASIC.
. Travis Hartwell's PyBasic.
. Yabasic.
. SDL Basic.
. QB64 QuickBasic

Are there any other versions of Basic which run on the Raspberry Pi that should be on this list?

Edit: List updated with links. More updates.
Last edited by ejolson on Wed Apr 24, 2019 4:59 am, edited 13 times in total.

User avatar
John_Spikowski
Posts: 1492
Joined: Wed Apr 03, 2019 5:53 pm
Location: Anacortes, WA USA
Contact: Website Twitter

Re: Why Avoid BASIC on RPi?

Tue Apr 09, 2019 1:27 am

You forgot BaCon.

Do you have time to help out with the RaspberryBASIC.org forum? Maybe as a global moderator?

I think FreeBasic is only a compiler on Windows. It translates to C on Linux.

I would like to only add boards for BASIC languages known to run on the RPi series. If the language is no longer being supported will be another reason not to earn a board.
Last edited by John_Spikowski on Tue Apr 09, 2019 1:52 am, edited 3 times in total.

User avatar
scruss
Posts: 2542
Joined: Sat Jun 09, 2012 12:25 pm
Location: Toronto, ON
Contact: Website

Re: Why Avoid BASIC on RPi?

Tue Apr 09, 2019 1:37 am

ejolson wrote:
Mon Apr 08, 2019 11:41 pm
Are there any other versions of Basic which run on the Raspberry Pi that should be on this list?
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.

ejolson
Posts: 3675
Joined: Tue Mar 18, 2014 11:47 am

Re: Why Avoid BASIC on RPi?

Tue Apr 09, 2019 2:06 am

ScriptBasic wrote:
Tue Apr 09, 2019 1:27 am
You forgot BaCon.

Do you have time to help out with the RaspberryBASIC.org forum? Maybe as a global moderator?

I think FreeBasic is only a compiler on Windows. It translates to C on Linux.

I would like to only add boards for BASIC languages known to run on the RPi series. If the language is no longer being supported will be another reason not to earn a board.
I've added BaCon to the list.

A forum on BASIC for the Raspberry Pi sounds interesting. I'm sorry that I don't have time to moderate. Maybe it would be simpler to start with a thread in the other languages section of this forum just about ScriptBasic. Either way I'll stop by to see what's happening and read the posts.
scruss wrote:
Tue Apr 09, 2019 1:37 am
ejolson wrote:
Mon Apr 08, 2019 11:41 pm
Are there any other versions of Basic which run on the Raspberry Pi that should be on this list?
Thanks! I've updated the list and added links!

User avatar
John_Spikowski
Posts: 1492
Joined: Wed Apr 03, 2019 5:53 pm
Location: Anacortes, WA USA
Contact: Website Twitter

Re: Why Avoid BASIC on RPi?

Tue Apr 09, 2019 3:37 am

Should we have a board for toy (abandoned, buggy, incomplete, ...) BASICs?

I didn't want this forum to be another Retro BASIC site. The idea was to host real BASIC languages that would enhance using the RPi and supported by a community.

There currently are over 100 variations of BASIC in various states of reality.

User avatar
John_Spikowski
Posts: 1492
Joined: Wed Apr 03, 2019 5:53 pm
Location: Anacortes, WA USA
Contact: Website Twitter

Re: Why Avoid BASIC on RPi?

Tue Apr 09, 2019 6:14 am

Image

I have the RaspberryBASIC.org forum installed. Feel free to join the forum to help get it going. I still have some cleanup and features to add.
Last edited by John_Spikowski on Tue Apr 09, 2019 8:47 pm, edited 1 time in total.

User avatar
Burngate
Posts: 6044
Joined: Thu Sep 29, 2011 4:34 pm
Location: Berkshire UK Tralfamadore
Contact: Website

Re: Why Avoid BASIC on RPi?

Tue Apr 09, 2019 8:52 am

ejolson wrote:
Mon Apr 08, 2019 11:41 pm
... an annotated list addressing the question why avoid Basic for all versions which run on the Raspberry Pi.
Does that mean only under Raspbian, or can you include RISC OS Basic?

After all, this thread was started by DavidS who is known to be a fan of RISC OS
He said right at the beginning
DavidS wrote:
Tue Nov 20, 2018 1:38 pm
I posted this in Off Topic so it does not dilude the other language section, as any thread about BASIC in any way shape or form tends to get pretty long pretty fast.

User avatar
Gavinmc42
Posts: 3877
Joined: Wed Aug 28, 2013 3:31 am

Re: Why Avoid BASIC on RPi?

Tue Apr 09, 2019 10:25 am

I use PiCore for lots of stuff, small OS, boots into ram, comes with Micropython.
Shell script, AWK and SED get used too, would be nice if I had a basic Basic.

So what Basic compilers/interpreters are there?
What is the list of known Basics that work on Pi's?
I'm looking for a small, one binary exe version to start with.

And how about one that works on RISC-V too ;)
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

User avatar
scruss
Posts: 2542
Joined: Sat Jun 09, 2012 12:25 pm
Location: Toronto, ON
Contact: Website

Re: Why Avoid BASIC on RPi?

Tue Apr 09, 2019 12:04 pm

ejolson wrote:
Mon Apr 08, 2019 11:41 pm
Are there any other versions of Basic which run on the Raspberry Pi that should be on this list?
Found a couple more. These are in the Raspbian repos: There's also bas55, a full implementation to the ECMA-55 Minimal BASIC standard. Decimal Basic and Michael Haardt's Basic are close to the ECMA 116 standard.

There was also that embedded BASIC that's closed source and popular on PIC32 microcontrollers that launched here a couple of years back to no acclaim. Can't remember what it was called. Update: MMBasic

Probably not worth including are cross-development tools like zmakebas for Fuse, which allow fairly rapid development and testing of ZX Spectrum BASIC programs on an emulator. I'm rather fond of smallish BASIC systems: if you add too much, you might as well use something like Python.
Last edited by scruss on Tue Apr 09, 2019 12:30 pm, edited 1 time in total.
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.

jahboater
Posts: 4759
Joined: Wed Feb 04, 2015 6:38 pm

Re: Why Avoid BASIC on RPi?

Tue Apr 09, 2019 12:23 pm

Purely for amusement, here is the list I had.
It duplicates some of the above, and not all of them are available on the Pi.

BBC BASIC V
MS-BASIC
QuickBASIC
BASIC Compiler C2+
ARM BASIC (== BBC BASIC?)
Dartmouth BASIC
SBASIC
ANSI BASIC
CBM BASIC 2.0
FreeBASIC
C64 Basic
Simons Basic
AmigaBasic
AMOS Basic
TurboBasic
PowerBasic
VB.Net (etc)
RealBasic (Xojo)
NEC BASIC
Tandy (Radio Shack) BASIC
QB64
MS-QuickBasic
QBasic
CBM BASIC 2
X11-Basic (has bignums and fib() function)
Decimal BASIC
Matrix Brandy BASIC
MMBASIC
GW BASIC
PC-BASIC
MS Visual BASIC

ejolson
Posts: 3675
Joined: Tue Mar 18, 2014 11:47 am

Re: Why Avoid BASIC on RPi?

Tue Apr 09, 2019 3:23 pm

jahboater wrote:
Tue Apr 09, 2019 12:23 pm
Purely for amusement, here is the list I had.
It duplicates some of the above, and not all of them are available on the Pi.

BBC BASIC V
MS-BASIC
QuickBASIC
BASIC Compiler C2+
ARM BASIC (== BBC BASIC?)
Dartmouth BASIC
SBASIC
ANSI BASIC
CBM BASIC 2.0
FreeBASIC
C64 Basic
Simons Basic
AmigaBasic
AMOS Basic
TurboBasic
PowerBasic
VB.Net (etc)
RealBasic (Xojo)
NEC BASIC
Tandy (Radio Shack) BASIC
QB64
MS-QuickBasic
QBasic
CBM BASIC 2
X11-Basic (has bignums and fib() function)
Decimal BASIC
Matrix Brandy BASIC
MMBASIC
GW BASIC
PC-BASIC
MS Visual BASIC
Where can you find a copy of Dartmouth Basic?

User avatar
John_Spikowski
Posts: 1492
Joined: Wed Apr 03, 2019 5:53 pm
Location: Anacortes, WA USA
Contact: Website Twitter

Re: Why Avoid BASIC on RPi?

Tue Apr 09, 2019 4:36 pm

Where can you find a copy of Dartmouth Basic?
Dartmouth College? :D

https://www.allbasic.info/forum/index.p ... 347#msg347

https://www.youtube.com/watch?v=WYPNjSoDrqw
QuickBASIC 1.00 for the Apple Macintosh operating system was launched in 1988. It was officially supported on machines running System 6 with at least 1 MB of RAM. 

Heater
Posts: 13593
Joined: Tue Jul 17, 2012 3:02 pm

Re: Why Avoid BASIC on RPi?

Tue Apr 09, 2019 6:24 pm

Amazing. 1000 BASIC dialects listed here and the one True BASIC is not included: https://www.truebasic.com/
Memory in C++ is a leaky abstraction .

User avatar
scruss
Posts: 2542
Joined: Sat Jun 09, 2012 12:25 pm
Location: Toronto, ON
Contact: Website

Re: Why Avoid BASIC on RPi?

Tue Apr 09, 2019 8:05 pm

Heater wrote:
Tue Apr 09, 2019 6:24 pm
Amazing. 1000 BASIC dialects listed here and the one True BASIC is not included: https://www.truebasic.com/
Yeah, but it hasn't had Unix support for ages.

My materials engineering bias is showing, but any BASIC without the MAT matrix commands is not fully useful.Although Computer Concepts' Fast ST BASIC (like BBC BASIC, but no line numbers, possibly pre-dating the Arch version, running from a cartridge) was pretty neat.
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.

User avatar
John_Spikowski
Posts: 1492
Joined: Wed Apr 03, 2019 5:53 pm
Location: Anacortes, WA USA
Contact: Website Twitter

Re: Why Avoid BASIC on RPi?

Tue Apr 09, 2019 9:08 pm

I thought I would never call a computer cute but the Raspberry Pi Zero won the prize. 8-)

ejolson
Posts: 3675
Joined: Tue Mar 18, 2014 11:47 am

Re: Why Avoid BASIC on RPi?

Wed Apr 10, 2019 2:33 am

Heater wrote:
Tue Apr 09, 2019 6:24 pm
Amazing. 1000 BASIC dialects listed here and the one True BASIC is not included: https://www.truebasic.com/
It would appear that True Basic runs only on the one true operating system: Microsoft Windows.

Coming soon to a forum thread right here: Fortran Man and The Fibonacci Code--a cartoon written by neither Lee Schneider, Todd Voros nor Dan Brown.

User avatar
John_Spikowski
Posts: 1492
Joined: Wed Apr 03, 2019 5:53 pm
Location: Anacortes, WA USA
Contact: Website Twitter

Re: Why Avoid BASIC on RPi?

Wed Apr 10, 2019 3:02 am

I was able to do a clean build of ScriptBasic on the Raspberry Pi Zero W.

I'll post a DEB soon.

How does everyone like the black sheep theme for the forum :?:

Return to “Off topic discussion”