Linux Format

Relive your BBC Basic days!

Credit: www.bbcbasic.co.uk/bbcsdl

The BBC Micro was launched 42 years ago, in 1981. Like other home computers of that era, T such as the TRS-80 and CBM Vic-20, it came with a built-in Basic interpreter. Unlike most other home computers, this wasn’t created by Microsoft but was one that Acorn had created.

A former BBC engineer, Richard T Russell, who was involved with the BBC Micro development, has developed an excellent open source version of BBC Basic. You can find the source code on GitHub (https://github.com/rtrussell/BBCSDL). It’s cross-platform and comes in two versions: BBC Basic for SDL 2.0 and BBC Basic Console Mode edition. It’s available on platforms such as Linux, Windows, Android and Raspberry Pi. We’re using a Pi but you can follow along on PCs, too.

After you’ve installed it, take a look at some of the example games and programs that come with it. All include source code and are pretty good. If you’ve ever wondered how to program a sudoku game including the generator and solver, it’s all there. The Aliens demo shows moving rotating objects at a high frame rate, achieving 60fps for 80 objects on a Raspberry PI 4B.

The two IDES

When you click the BBC Basic icon, you are offered two different IDEs: BBCEdit or SDLIDE. After trying both, if you decide you want to stay with your favourite, just tick the Don’t Ask Me Again checkbox. However,

INSTALLING BBC BASIC SDL

There are two versions of BBC Basic, the console version and the SDL version, which has better graphics. In. Scroll about halfway down the page and you’ll see a table with downloads for different platforms. Select the one appropriate for your system, usually 64-bit x86; we’re going with 64-bit Raspberry Pi. If you’re not sure, use the terminal command uname -m and it should show aarch64 on 64-bit Pis (x86-64 for PCs) or armv7l for 32-bit Pis (x86 on 32-bit PCs).

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format2 min read
OBS Studio
Version: 30.0.2 Web: https://obsproject.com There are lots of good options for recording screencasts, but if you want to live-stream T your desktop, one of the best options is OBS Studio. The app works with all the major online streaming providers, s
Linux Format1 min read
Wine For Wayland
2023 was a great year for the Wayland driver for Wine. The goal was to move forward from the experimental phase and make the driver a proper upstream component. A year later, after several merge requests, many people are now already able to use the l
Linux Format2 min read
Back Issues Missed One?
ISSUE 313 April 2024 Product code: LXFDB0313 In the magazine Discover how to use the ultimate hacker’s toolkit, staying out of trouble while doing so. And join us as we take the Puppy Linux developer’s new distro for a run and explore its container

Related Books & Audiobooks