Sparkling gems and new releases from the world of Free and Open Source Software
Retro programming
BBC BASIC for SDL 2.0
One of the great things about home computers in the 1980s is that you could learn almost everything. They were not abstracted, nor were they typically complex, and many would even come with their own BASIC interpreter. Perhaps the most famous of these, especially in the UK, was the Acorn BBC Micro, a modest home computer built for the BBC Computer Literacy Project. They were expensive, but discounts were offered to teachers. They were widely used in schools, so most students of the time played with them. The best thing about the BBC, and its cheaper cousin the Acorn Electron, was that it came with a book teaching you how to use its ROM-resident BBC BASIC programming language, which was surprisingly adaptable. It was generally better than the competing BASIC interpreters because it offered IF, THEN, and ELSE statements, as well as named procedures and long variable names, helping many young developers onto the first steps of their software engineering ladders.
Many developers did just this, with many BBC machines being used for serious development work and research. As a result, BBC BASIC has kept its cache. BBC BASIC for SDL 2.0 is a modern recreation of the same language, built this time on the powerful foundations of SDL rather than a 2MHz 6502. For a start, it's cross-platform, which means you can finally run your Linux-written BBC code on almost any other system, from Windows to almost any Android device. Programs can even be compiled into WebAssembly for web integration, and the project includes its own graphical development environment, much like Arduino. But the best thing is that you can now access the power of SDL from your code, which means this new BASIC is capable of advanced sound and graphics processing, including OpenGL and shaders. In this way, it's both a refreshing change to something like Python and a genuinely useful prototyping tool for anyone with BBC BASIC burned into their teenage neurons.
Project Website
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Ubuntu 24.04 Comes with a “Flaw"
If you're thinking you might want to upgrade from your current Ubuntu release to the latest, there's something you might want to consider before doing so.
-
Canonical Releases Ubuntu 24.04
After a brief pause because of the XZ vulnerability, Ubuntu 24.04 is now available for install.
-
Linux Servers Targeted by Akira Ransomware
A group of bad actors who have already extorted $42 million have their sights set on the Linux platform.
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.