Feeds

Basic instinct: how we used to code

In praise of Beginners All-purpose Symbolic Instruction Code

  • alert
  • submit to reddit

Top 5 reasons to deploy VMware with Tegile

Retro Week

I’ve recently caught myself, like some horrific solo re-write of the Monty Python Four Yorkshiremen sketch, waxing lyrical to my two iPod-wielding young ‘uns about the good old days; when men were men, computers were effectively clockwork, and computer games… well, come to think about it, they still cost about 69p. But you didn’t download them from an app store. Oh no. They came bound into computer magazines and had to be typed in by hand. And oh yes, they were in an arcane language called Basic.

1980: that last year of primary school when I was shown my first computer, a Sinclair ZX80. Sixth-formers from the local comp were there to test our reaction times using a necessarily simple program they’d written. Themselves. Wow. Heady stuff. Only four kiddiewinks were allowed in at a time, and even then we were only allowed to touch one key on the bizarrely colourful, flat keyboard. But it was a computer! Just like on Tomorrow’s World!

A basic Basic program

Admit it, YOU wrote this on a shop's demo micro, didn't you?

Fast-forward a year: home computing hit the big time. At senior school, various tribes formed round newly-acquired weapons of choice: parentally-purchased ZX81s and Vic-20s, with a smattering of TRS-80 (dads in technical jobs) and the occasional Commodore Pet (dads managing the dads in technical jobs).

Oh, and that one guy whose dad was an electronics engineer who owned a 64K SuperBrain that came with a built-in green screen and something called a database. Actually it was my Nanna who bought me that 1KB ZX81, and my sister the small B&W rotary dial TV to run it on. You can imagine the bargaining that ensued…

Pretty much every home computer in the early 1980s came with a Basic interpreter as standard. The exception? The Jupiter Ace running Forth in 4KB. Weird, but fun.

Program the Sinclair ZX Spectrum and BBC Micro

Choose your weapons: which platform did you pursue?

However you stored your programs - cassette, Microdrive or pages ripped out of Your Computer – even the most disinterested luddite almost certainly started their games with a variation of LOAD and RUN, the programming equivalent of mono-linguists strangling 'dos cervezas, por favor'.

Even when the program was a machine-coded version of Space Invaders shoehorned into 1KB, you invoked it by typing this arcane Basic on an actual keyboard.

It didn’t take a mammoth chunk of Basic code to fill that paltry 1KB of memory - ah, how we pined for the wide open spaces of a 16KB Ram Pack - but only having a single kilobyte meant that any viable program you found could pretty much be copied blindly, assuming the faultless coding of the author (ahem).

Program the Atari 400/800 and the CBM 64

A dialect for every machine

And thanks to the ZX81's and later Speccy's per-keyword command entry, debugging was just a simple matter of your mate reading the code v-e-r-y s-l-o-w-l-y as you moved your finger across the screen checking what you’d written. Understanding was there none. And if that failed, and if you were lucky, you saved your masterpiece-in-progress to tape, to fix next time he was allowed over to play. Heaven help the numpty who jogged the power cable.

Internet Security Threat Report 2014

More from The Register

next story
Ford's B-Max: Fiesta-based runaround that goes THUNK
... when you close the slidey doors, that is ...
All aboard the Poo Bus! Ding ding, route Number Two departing
Only another three days of pooing and I can have a ride!
Official: European members prefer to fondle Apple iPads
Only 7 of 50 parliamentarians plump for Samsung Galaxy S
Fujitsu CTO: We'll be 3D-printing tech execs in 15 years
Fleshy techie disses network neutrality, helmet-less motorcyclists
Space Commanders rebel as Elite:Dangerous kills offline mode
Frontier cops an epic kicking in its own forums ahead of December revival
prev story

Whitepapers

Why cloud backup?
Combining the latest advancements in disk-based backup with secure, integrated, cloud technologies offer organizations fast and assured recovery of their critical enterprise data.
Getting started with customer-focused identity management
Learn why identity is a fundamental requirement to digital growth, and how without it there is no way to identify and engage customers in a meaningful way.
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.
Beginner's guide to SSL certificates
De-mystify the technology involved and give you the information you need to make the best decision when considering your online security options.
New hybrid storage solutions
Tackling data challenges through emerging hybrid storage solutions that enable optimum database performance whilst managing costs and increasingly large data stores.