Feeds

Sinclair BASIC comes to Raspberry Pi

Or Linux, Windows and Pandora

The Power of One Brief: Top reasons to choose HP BladeSystem

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

Using blade systems to cut costs and sharpen efficiencies

More from The Register

next story
Report: American tech firms charge Britons a thumping nationality tax
Without representation, too. Time for a Boston (Lincs) Macbook Party?
Apple orders huge MOUNTAIN of 80 MILLION 'Air' iPhone 6s
Bigger, harder trouser bulges foretold for fanbois
Child diagnosed as allergic to iPad
Apple's fondleslab is the tablet dermatitis sufferers won't want to take
Microsoft takes on Chromebook with low-cost Windows laptops
Redmond's chief salesman: We're taking 'hard' decisions
For Lenovo US, 8-inch Windows tablets are DEAD – long live 8-inch Windows tablets
Reports it's killing off smaller slabs are greatly exaggerated
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
prev story

Whitepapers

Seven Steps to Software Security
Seven practical steps you can begin to take today to secure your applications and prevent the damages a successful cyber-attack can cause.
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.
Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
Build a business case: developing custom apps
Learn how to maximize the value of custom applications by accelerating and simplifying their development.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.