Raspberry BASIC

Recent Posts

Pages: [1] 2 3 ... 10
1
BBC BASIC / Re: New: Console Mode editions of BBC BASIC
« Last post by John Spikowski on July 20, 2021, 09:33:23 pm »
I use Ubuntu 64 on all my Linux based systems. I never thought I would go back to a 32 bit OS again but the RPI was cheap enough so I lived through it.

My RPi 4B 8GB has been running 24/7 for over three months running Ubuntu 64. It seems I have to do a Gitlab-ce update at lest once a week. I'm running Ubuntu in full graphic UI mode (not as a server) and still have 4 GB of memory in reserve.
2
BBC BASIC / Re: New: Console Mode editions of BBC BASIC
« Last post by Richard Russell on July 20, 2021, 09:19:08 pm »
You would think the Raspberry Pi Foundation would have learned their lesson trying to offer your own OS.

I will concentrate on supporting whichever OS is more popular with users.  It's obvious that many more Raspberry Pis will be running the official 64-bit Debian than the unofficial 64-bit Ubuntu.
3
BBC BASIC / Re: New: Console Mode editions of BBC BASIC
« Last post by John Spikowski on July 20, 2021, 08:09:57 pm »
The only thing I use 32 bit Raspian for is my Zero Windows USB dongle OS.

I'm not going down that rabbit hole with 64 bit on the RPi 4B and anything else they offer going forward.

You would think the Raspberry Pi Foundation would have learned their lesson trying to offer your own OS. Microsoft is struggling trying to keep Windows relevant.
4
BBC BASIC / Re: New: Console Mode editions of BBC BASIC
« Last post by Richard Russell on July 20, 2021, 10:30:46 am »
Ubuntu 64 for the RPI is an option of the official RPi installer.

I didn't use an "installer", I just downloaded this 64-bit OS image and flashed it into a memory card.  I don't see any 64-bit Ubuntu image at that site.

Quote
Based on the support and updates coming from Ubuntu for the RPi 64 I foresee Ubuntu becoming RPi's default 64 bit offering.

That isn't the impression I've gained from 'official' pronouncements.  The description of the current 64-bit version of Raspberry Pi OS (Debian) as 'beta test' makes me think that is what will become the default 64-bit offering.  For example see this (long) thread at the forum.
5
BBC BASIC / Re: New: Console Mode editions of BBC BASIC
« Last post by John Spikowski on July 20, 2021, 09:25:39 am »
Ubuntu 64 for the RPI is an option of the official RPi installer. Based on the support and updates coming from Ubuntu for the RPi 64 I foresee Ubuntu becoming RPi's default 64 bit offering.

I'm currently running GitLab-ce on my RPi 4b 8GB. (https://basic-sandbox.us)

ScriptBasic 64 bit also runs fine on Ubuntu ARM 64 bit.

Here is a CGI echo example running on the ScriptBasic Application Server running on the same RPi 4B.

http://23.90.90.91:9090/home/echo

http://23.90.90.91:9090/home/web4cast    <-- This is using the cURL extension module to get the current weather from OpenWeather for Anacortes WA.







6
BBC BASIC / Re: New: Console Mode editions of BBC BASIC
« Last post by Richard Russell on July 20, 2021, 08:21:24 am »
Would this version allow me to run BBC BASIC on my Ubuntu ARM 64 bit OS on a RPi 4B?

I only intend to build binaries for 'official' releases of Raspberry Pi OS (which is Debian, not Ubuntu) so currently that's the 32-bit 'stable' release and the 64-bit beta-test version.  My expectation would be that the Console Mode edition of BBC BASIC is unlikely to care whether it's Debian or Ubuntu, but the GUI version might be more fussy because of its dependence on graphics drivers etc.

If it turns out that the binary is not compatible with Ubuntu you could easily build a custom version (either Console or GUI) from the source, which should have a better chance of running.
7
BBC BASIC / Re: New: Console Mode editions of BBC BASIC
« Last post by John Spikowski on July 20, 2021, 01:02:08 am »
Hi Richard,

Would this version allow me to run BBC BASIC on my Ubuntu ARM 64 bit OS on a RPi 4B?
8
BBC BASIC / Re: New: Console Mode editions of BBC BASIC
« Last post by Richard Russell on July 18, 2021, 02:13:34 pm »
I have updated the Console Mode editions of BBC BASIC to version 0.35.  The changes in this version are:

  • An edition for the 64-bit Raspberry Pi OS (currently in beta test) has been added.  This typically runs more than twice as fast as the 32-bit Raspberry Pi edition.

  • The Mac M1 ('Apple Silicon') edition now has an AArch64 assembler.  It has limited usefulness because Apple enforce the Hardened Runtime on this platform, but you could still use it to export assembled code to a file.

Version 0.35 may be downloaded from the usual place:

9
BBC BASIC / BBC BASIC for SDL 2.0 version 1.23a released
« Last post by Richard Russell on July 09, 2021, 01:19:32 pm »
I've released version 1.23a of BBC BASIC for SDL 2.0 - the cross-platform programming language for Windows, MacOS, Linux, Raspberry Pi OS, Android, iOS and in-browser.  The changes in this version are as follows:

  • BASIC Interpreter / Run Time Engine

    An experimental build for the 64-bit Raspberry Pi OS has been added (with many thanks to Simon Willcocks who wrote the AArch64 assembler which made it possible).  This runs more than twice as fast as the 32-bit Pi OS edition!

    On a MODE change, the window will be centered only if it would otherwise extend beyond the edge of the desktop.

    If SDL's message system is unavailable (which it currently is on 64-bit Pi OS), fatal errors will be reported in a MODE 7 window.

  • IDEs and Utilities

    Extended SDLIDE.bbc so Ctrl+Backspace is delete word left and Ctrl+Delete is delete word right.  Alt (Option) may be used instead of Ctrl, for compatibility with Apple Macs.

    Extended the Cross Reference utility to report mismatched quotes, parentheses and braces.

    Fixed a couple of minor bugs in the Cruncher, one of which could cause the output file to be larger than it needed to be.

    Updated BBCEdit to version 0.38.1, with thanks to Andy Parkes.

  • Libraries

    Added msgbox.bbc which provides support for Message Boxes, similar to those available in Windows.

    Updated filedlg to save and restore the VDU state (e.g. colours, viewports).

    Updated the Box2D libraries to be compatible with the 64-bit Raspberry Pi OS.

    Extended sdldebug.bbc and timerlib.bbc to include a 64-bit ARM (AArch64) version of the assembler code.

  • Example Programs

    Extended hello.bbc to include a 64-bit ARM (AArch64) version of the assembler code.

    Simplified telstar.bbc by using the built-in MODE 7 font in BBCSDL (and MODE7LIB in BB4W).

    Updated several examples to replace SDL's message boxes with BBC BASIC-created ones.

This version may be downloaded, for all the supported platforms, from the usual location.  The GitHub repository has been updated (used to build the MacOS, Raspberry Pi, Android, iOS, 64-bit Linux and in-browser editions, currently).
10
BBC BASIC / Re: New: Console Mode editions of BBC BASIC
« Last post by Richard Russell on June 11, 2021, 02:57:53 pm »
I have updated the Console Mode editions of BBC BASIC to version 0.34.  The changes in this version are:

  • I've (hopefully) worked around the apparent bug in MinGW's implementation of the _ftelli64() function.
  • Execution speed has been improved by about 10% by optimising the expression evaluator.

Version 0.34 may be downloaded from the usual place:

Pages: [1] 2 3 ... 10