Feeds

Sinclair BASIC comes to Raspberry Pi

Or Linux, Windows and Pandora

Choosing a cloud hosting partner with confidence

The 80's are so now, as hot on the heels of the RISC OS' Raspberry Pi debut comes the equally retro-tastic news that the BASIC version used in the Sinclair ZX Spectrum can also run on the Pi.

The BASIC in question is SpecBAS, is a project run by a chap called Paul Dunn.

Full Pi support came to the project with the recently-released version 0.755.

SpecBAS is billed as offering “all the features of Sinclair BASIC” , but also adds the following:

  • Procedures, with both referenced and normal variable parameters
  • Flow control with DO..LOOP, WHILE..LOOP, DO..UNTIL
  • Better array handling, with variable BASE settings and FOR..EACH support
  • Better string handling with LEFT$, RIGHT$, MID$, REPEAT$ etc
  • Memory banks which can be loaded, saved and utilised to hold a variety of data types
  • Many, many more maths functions, with both radians and degrees support
  • Graphics with 8bpp in any supported resolution with full palette changing, rotation, scaling etc
  • Sound support with MOD/S3M/XM/IT/MP3/VOC/WAV etc
  • Turtle graphics, sprites, tilemaps.

The language also offers mouse support, which will sadly make the Kempston mouse redundant. On the upside, SpecBAS busts the 48K memory limit, which may or may not be a good thing depending on your appetite for large BASIC projects.

To get SpecBAS working on a Pi, you'll first need to run a linux distribution with hard floating point support. Raspbian Wheezy, the distribution recommended by Raspberry, fits the bill.

The software is free and available here. ®

Beginner's guide to SSL certificates

More from The Register

next story
Ex-US Navy fighter pilot MIT prof: Drones beat humans - I should know
'Missy' Cummings on UAVs, smartcars and dying from boredom
Don't wait for that big iPad, order a NEXUS 9 instead, industry little bird says
Google said to debut next big slab, Android L ahead of Apple event
Xperia Z3: Crikey, Sony – ANOTHER flagship phondleslab?
The Fourth Amendment... and it IS better
Netscape Navigator - the browser that started it all - turns 20
It was 20 years ago today, Marc Andreeesen taught the band to play
A drone of one's own: Reg buyers' guide for UAV fanciers
Hardware: Check. Software: Huh? Licence: Licence...?
The Apple launch AS IT HAPPENED: Totally SERIOUS coverage, not for haters
Fandroids, Windows Phone fringe-oids – you wouldn't understand
Apple SILENCES Bose, YANKS headphones from stores
The, er, Beats go on after noise-cancelling spat
Here's your chance to buy an ancient, working APPLE ONE
Warning: Likely to cost a lot even for a Mac
prev story

Whitepapers

Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
Cloud and hybrid-cloud data protection for VMware
Learn how quick and easy it is to configure backups and perform restores for VMware environments.
Three 1TB solid state scorchers up for grabs
Big SSDs can be expensive but think big and think free because you could be the lucky winner of one of three 1TB Samsung SSD 840 EVO drives that we’re giving away worth over £300 apiece.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.