Feeds

Sinclair BASIC comes to Raspberry Pi

Or Linux, Windows and Pandora

7 Elements of Radically Simple OS Migration

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. ®

Build a business case: developing custom apps

More from The Register

next story
Nice computers don’t need to go to the toilet, says Barclays
Bad computers might ask if you are Sarah Connor
4K video on terrestrial TV? Not if the WRC shares frequencies to mobiles
Have your say with Ofcom now, before Freeview becomes Feeview
PEAK LANDFILL: Why tablet gloom is good news for Windows users
Sinofsky's hybrid strategy looks dafter than ever
YES, iPhones ARE getting slower with each new release of iOS
Old hardware doesn't get any faster with new software
You didn't get the MeMO? Asus Pad 7 Android tab is ... not bad
Really, er, stands out among cheapie 7-inchers
Apple winks at parents: C'mon, get your kid a tweaked Macbook Pro
Cheapest models given new processors, more RAM
VMware builds product executables on 50 Mac Minis
And goes to the Genius Bar for support
Leaked Windows Phone 8.1 Update specs tease details of Nokia's next mobes
New screen sizes, dual SIMs, voice over LTE, and more
Microsoft stands on shore as tablet-laden boat sails away
Brit buyers still not falling for Windows' charms
prev story

Whitepapers

7 Elements of Radically Simple OS Migration
Avoid the typical headaches of OS migration during your next project by learning about 7 elements of radically simple OS migration.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
Solving today's distributed Big Data backup challenges
Enable IT efficiency and allow a firm to access and reuse corporate information for competitive advantage, ultimately changing business outcomes.
A new approach to endpoint data protection
What is the best way to ensure comprehensive visibility, management, and control of information on both company-owned and employee-owned devices?