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

Re: MMBASIC - A BASIC interpreter for the Raspberry Pi

Sun Apr 29, 2018 8:41 pm

On the one hand:

"MMBasic is a free and open BASIC interpreter for 32 bit microcontrollers."

On the other hand:

"The files may not be distributed or made available to others without specific written permission.
Object files (ie, .o, .exe, .hex files) generated using one or more of the source files (modified or not) are for personal use only and may not be distributed without written permission.
The files are provided without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose."

So not "open" at all then.

Think I'll give it a miss thanks.
Slava Ukrayini.

gkaiseril
Posts: 679
Joined: Mon Aug 08, 2016 9:27 pm
Location: Chicago, IL

Re: MMBASIC - A BASIC interpreter for the Raspberry Pi

Sun Apr 29, 2018 8:46 pm

No ARM version, so this will not run on a PI unless you can obtain the source code and recompile it for the ARM.
f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng.

User avatar
rpdom
Posts: 21820
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: MMBASIC - A BASIC interpreter for the Raspberry Pi

Sun Apr 29, 2018 8:49 pm

gkaiseril wrote:
Sun Apr 29, 2018 8:46 pm
No ARM version, so this will not run on a PI unless you can obtain the source code and recompile it for the ARM.
Did you look at the downloads?

gkaiseril
Posts: 679
Joined: Mon Aug 08, 2016 9:27 pm
Location: Chicago, IL

Re: MMBASIC - A BASIC interpreter for the Raspberry Pi

Sun Apr 29, 2018 8:57 pm

DOS MMBasic Version (includes documentation)
PIC32-Generic MMBasic (includes documentation)
Maximite Version
DuinoMite Version
UBW32 Version
Micromite MkII
I do not see ARM or Raspberry Pi. But one can obtain the source code.

The RPF will not do this because this software is not open source or public license. There is nothing preventing an individual from downloading and compiling the source code to an executable format as long at that individual abides by and follows the agreed upon terms.
f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng.

User avatar
rpdom
Posts: 21820
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: MMBASIC - A BASIC interpreter for the Raspberry Pi

Sun Apr 29, 2018 9:52 pm

gkaiseril wrote:
Sun Apr 29, 2018 8:57 pm
DOS MMBasic Version (includes documentation)
PIC32-Generic MMBasic (includes documentation)
Maximite Version
DuinoMite Version
UBW32 Version
Micromite MkII
I do not see ARM or Raspberry Pi. But one can obtain the source code.
From the forum links: http://www.thebackshed.com/forum/upload ... mbasic.zip
(No, I haven't tried it, but it is ARM code and Pi is mentioned)

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

Re: MMBASIC - A BASIC interpreter for the Raspberry Pi

Sun Apr 29, 2018 11:11 pm

cdeaglejr wrote:
Sun Apr 29, 2018 6:16 pm
MMBASIC Home Page - http://mmbasic.com
Thank you. This looks like fun. Unfortunately, on both a Zero W and a 3B+ (both running Stretch) all I get from running the 2018-01-12_224620_mmbasicstretch.zip binary is:

Code: Select all

«timestamp» gpioTick: pigpio uninitialised, call gpioInitialise
«timestamp» gpioTick: pigpio uninitialised, call gpioInitialise
«timestamp» gpioTick: pigpio uninitialised, call gpioInitialise
…
I have to pkill mmbasic from another terminal to make it stop … halp?

pauses only to read manual
  • In order for the firmware to work pigpio software version 64 must be installed …” — ah, it is, via the pigpio package
  • The firmware requires privileged access to the Pi hardware and so must be run using the sudo command sudo ./mmbasic — eww, really? That's a bit 2014.
  • The Pi-cromite firmware sits in a tight loop polling for input and so will use 100% of one CPU. It is running at priority zero most of the time so the operating system is able to time-slice processor access. During time-sensitive I/O operations the priority will be raised and other processes locked out.aaaaiiiiiiiiiiiiiiiieeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee!!!!!!!!!!!!!!!!!!!!!!111!!!!!!!!!!!! (FX; runs away screaming, optional Goons-style splosh indicating having run off the end of Canada)
I'm sure it's a cool program, but it's not a “firmware”: it's a program. Unless you run it under one of the bare-metal OSs, I kind of expect to be able to do other things, like copy and paste from the terminal your command is running in. Also, the closed-source thing is a big nah.
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.
Pronouns: he/him

Return to “Other programming languages”