back to article Acorn’s would-be ZX Spectrum killer, the Electron, is 30

The Sinclair Spectrum made the Acorn Electron inevitable. In June 1982, less than two months after Sinclair had unveiled the Spectrum - which had still not shipped, of course, even though Sinclair had promised the first Spectrums would be in punters’ hands by the end of May - Acorn co-founder Hermann Hauser was heard talking …

COMMENTS

This topic is closed for new posts.
  1. Byz

    The electron taught me a real lesson

    First machine I used was an Elliot 903, then a BBC B (both at school)

    I couldn't afford a computer when I left school until a local department school had a basement flood and I got an electron for £50 due to the box being damaged.

    The electron was much slower than a BBC B so code I'd written on the BBC ran like very slowly, so the electron taught me to optimise my code (I was revolving 3D shapes on screen in response to keys being pressed).

    In the end I had a version that ran faster on the electron than on the original Beeb :)

    I've been using what I learn't throughout my career and always look to optimise my code (even now with fast processors) many times by taking others code and thinking about the problem laterally I came up with much faster algorithms. My favourite was taking a program from Scientific American to grow a crystal on the screen that took 15 hours to plot, by thinking through what was going on I got it down to five minutes :)

    What I really learnt was that a better algorithm was much cheaper and efficient than faster hardware (plus far more satisfying).

    I still miss my electron (traded it in part exchange to buy a BBC Master) :(

    1. Byz
      FAIL

      Re: The electron taught me a real lesson

      oops!

      Was going to right ran "like a dog" and then thought better as dogs are quite fast so put in "very slowly".

      So now it reads "ran like very slowly" so now I sound like my children's friends (I keep telling mine off for using "Like" inappropriately).

      :o

      1. Byz
        FAIL

        Re: The electron taught me a real lesson

        Plus I can't spell Write!!!!!

        I'm a paid up member of DNA (National Dyslexic Association).

        ;)

        1. Suricou Raven

          Re: The electron taught me a real lesson

          That is what the spell chequere is for.

          1. Byz
            Happy

            Re: The electron taught me a real lesson

            :D

        2. MrT

          Ran like a dog...

          ... went down like a lead balloon

          ... be blunt and make some very cutting remarks

          Curious turns of phrase all ;-)

    2. Anonymous Coward
      Anonymous Coward

      Re: The electron taught me a real lesson

      "I still miss my electron (traded it in part exchange to buy a BBC Master)"

      Come on... the master was a fantastic machine, WAY better than the electron.

      I always wanted a BBC micro but by the time i got enough cash the Archimedes knocked on the door of my local computer-shop. Needles to say that I didn't buy that BBC Micro. That waving Union Jack on screen of that A440 looked astonishing... and (quite) a bit later there was this "Lander Demo".... I couldn't believe my eyes how stunningly smooth that was. No Amiga game even came close.

    3. swissrobin

      Re: The electron taught me a real lesson

      Surely the real optimization would be to just render a bitmap of the finished crystal to the screen? :-)

      Pointless optimizations are my pet hate :-) Leave the code doing the obvious thing until such time as it doesn't run fast enough, then go and optimize it, if you must.

      I like all the RISCOS links and chat - I am too old to have had RISCOS whilst I was a school boy - we had a Commodore Pet and a 380Z :-

      http://en.wikipedia.org/wiki/Commodore_pet

      http://en.wikipedia.org/wiki/Research_Machines_380Z

      So I think I'll get hold of a Pi and give it a whirl :-)

    4. Jim 59

      Re: The electron taught me a real lesson

      I was revolving 3D shapes on screen...

      I did that too. Just simple BASIC and color swapping, nothing real time. Making simple mathematical patterns was strangely fascinating.

  2. Stefing

    No Master

    Excellent article - but no mention of the BBC Master?

    1. A J Stiles
      Stop

      Re: No Master

      No -- it's an article about the Acorn Electron. The article about the BBC Master will be out towards the end of 2015.

  3. Michael Strorm Silver badge

    32K- the BBC Micro's most annoying limitation

    That 32KB RAM limit on the BBC B quickly became its achilles heel and pointlessly limiting on an otherwise powerful (and expensive) machine. If you tried exploiting its rather nice high-resolution modes you were left with sod all RAM. Even having 48K would have made a major difference.

    I appreciate that RAM was still expensive when the BBC launched in 1981, but they must have known that it was falling fast (*) and made provisions to let existing users cheaply upgrade - at least- and replaced the Model B with a 48K version as soon as it became cost-effective to do so.

    I realise that they eventually released a short-lived 64K Model B+, but that was *much* later (only shortly before the 128K BBC Master came out) so by that point the established base was of 32K machines and software had to be written around that.

    The Electron lacking the memory-saving Teletext mode shouldn't have been an issue, since for the price it should have had 48K by that point. If you take away the rather nice OS and BASIC- and the marketing glow cast by its association with the high-end BBC Micro- the Electron looks a bit overpriced against its intended competition. (In fact, I came across a contemporary magazine that described the Electron as an underspecced machine giving the impression it was designed to milk the user on expansion units).

    Despite this my understanding is that Acorn probably *would* still have sold a lot if it had launched in quantity in time for Christmas 1983. (**) However, I've heard it commented that the Electron's inherent limitations probably would have been an issue in the long run.

    (*) Apparently Jack Tramiel delayed the release of the Commodore 64 until RAM prices had fallen enough to make its 64KB RAM affordable.

    (**) i.e. before the non-availability of the Electron had led them to buy competitor's machines instead- which of course increased *their* user base and not Acorn's- instead of later on when most people had a computer and Electrons started being produced in large quantities just as the market was slumping

    1. jason 7

      Re: 32K- the BBC Micro's most annoying limitation

      I always felt the BBC B could have done with losing a couple of expensive and probably not that often used ports and bumping the ram another 16k at least.

      Wonderful connectivity but.......

    2. Peter Gathercole Silver badge
      Boffin

      Re: 32K- the BBC Micro's most annoying limitation

      The basic limitation of the BBC Micro was the way that the memory map was laid out. There was 32KB of the address space reserved for ROMs, normally 16KB for the OS, and 16KB for the Basic, or whatever sideways ROM you were using. This was at a time when Sinclair has all of their OS and Basic in a16KB. This only left 32KB without some address-trickery for RAM.

      The segregation of the OS and sideways ROMs was a great feature for speed, and allowing separation of the OS and other packages, and really allowed you to do a great deal. The architecture allowed you to have 'service ROMs', essentially add-ons to the OS to handle interrupt driven hardware (the OS could bank-switch the ROMs to handle interrupts), which meant that you could add things like floppy disk drives, mice, teletext adapters, software sprites (Acorn's Advanced Graphics ROM), sophisticated music hardware and even networks and hard disks relatively easily.

      With one of the ROM positions populated by static RAM (there were several side-ways RAM boards, mine is an ATPL board with a write-protect switch) you could even (dare I say it) load ROMs from disk. I got the Acorn ISO Pascal Compiler (two ROMs, one an editor and runtime, and the other the compiler) running in a single 16KB bank of RAM by re-vectoring the OSCLI ROM bank switch vector, and loading the compiler from floppy or Econet and then swapping back at the end of the compile.

      The BBC OS was a masterpiece of good software engineering, and with the associated Advanced User Guide, which mapped the OS and rest of the system out like a blueprint (and even contained a board schematic), enabled magical things to be done.

      When the B+ came along, Acorn copied what Solidisk and Watford had done as add-ons, and moved the 20K graphics screen and some of the low memory pages used by the sound, floppy disk, and other queues into "shadow" memory in the address space normally occupied occupied by the ROM and OS by bank switching, meaning that the low 32KB above 0x700 (I believe, it was 0xE00 on a normal model B without additional filesystems) to be used for programmes. The Master 128 took this even further by adding bank-switched ROM images as standard. "Shadow" screen memory generally broke programs that directly manipulated the screen bitmap without using the OS.

      Of course, if you wanted the full 64K of memory, the you could have bought the 6502 Second Processor, which not only gave you a lot of mode-independent memory, but ran at a screaming 3MHz. Playing Elite on a BEEB with a second processor and a Bit-Stick attached gave you smoother full mode-1 four colour graphics (without the screen-tearing divide between the two colour mode 4 and four colour mode 5, something the Electron version could not do because it was missing the interrupt timer used to switch modes at the appropriate position), but also gave you incredible control of the ship!

      I always thought that the 64KB claim of the Commodore 64 was a swizz, because the first thing it did when turned on was copy the OS and Basic out of the ROM and into RAM, effectively leaving you with only 39KB (if I remember properly) for any programs, and it did not have the high resolution modes (640 pixels wide) that allowed you to do 80 column text, which enabled us to use the BBC as a terminal to the minicomputers at the Polytechnic where I worked at the time. On the C64, you could use something approaching the full 64KB, but only if you wrote the whole thing in machine code, and disabled Basic.

      1. Test Man
        Thumb Up

        Re: 32K- the BBC Micro's most annoying limitation

        " always thought that the 64KB claim of the Commodore 64 was a swizz, because the first thing it did when turned on was copy the OS and Basic out of the ROM and into RAM, effectively leaving you with only 39KB (if I remember properly) for any programs, "

        Seem to vaguely recall similar on a Vic-20.

        And then the BBC Master 128 had 64K RAM, 64K sideways RAM? And while you could store programs in sideways RAM, you couldn't run it from there?

        1. Bod

          Re: 32K- the BBC Micro's most annoying limitation

          "And then the BBC Master 128 had 64K RAM, 64K sideways RAM? And while you could store programs in sideways RAM, you couldn't run it from there?"

          Basically a paging mechanism as I understood it. You could get sideways ram for the plain model B also. Sat in one of the ROM chips and like those it you would page it in and out of the 64K addressable memory. So one of the ROMs would have to take a back seat while you use the ram.

          One thing I never got my head round though was I swore the 32K Beeb had 64K worth of actual dram chips. I remember believing they were 4K each or something and counting them up and that makes 64. I assumed it was same as the C64 then where the 32K of ROM was copied into RAM... but seems not?

      2. Michael Strorm Silver badge

        Re: 32K- the BBC Micro's most annoying limitation

        Interesting feedback, explains some things- thanks.

        I do vaguely remember the sideways RAM thing; we used COMAL (*) for programming at school and IIRC had to load it from the networked hard drive into the sideways RAM.

        I have to say that, for all this cleverness of design, having to limit the main RAM to 32K *maximum* as a consequence was still a major price to pay, essentially crippling the usability of the high-res modes.

        The 64K "overshadowing" on the C64 was a limitation, I agree- my 64K Atari 800XL had the same problem. However, the space *was* usable for machine code games in both cases. Not ideal, but not quite a swizz either.

        (*) COMAL was supposedly a hybrid of BASIC and Pascal. However, since BBC Basic already incorporated many of the "structured" features of Pascal, COMAL- on the BBC at least- ended up being not significantly different in practice anyway.

      3. Paul Shirley

        Re: 64KB claim of the Commodore 64 was a swizz

        Not quite. BASIC probably did copy the 4K character ROM into RAM at the same mapped address (not going to find the manual to check). Everything else was simple bank switching, the RAM was still writable and usable for graphics even banked behind ROM.

        The default memory map had 40K of contiguous user RAM, 38K available to BASIC and another 4K high block for direct access before doing anything tricky. Any graphics was on top of that, not taken from it. I had little problem using 60K of the RAM for games.

        Was fairly similar on the other machines of the time, only the Electron and BBC seemed to have such crippling hard limits. I remember the painful explanations our BBC porting guy gave about squeezing games onto the Electron, requiring slicing the graphics then reassembling mirrored and rotated pieces in realtime. Further sapping performance.

        Even lowly machines like the Oric were fully capable of paging large amounts of RAM into a simple, >32K memory space. Have to wonder what they were thinking at Acorn.

    3. moonface

      Christmas 1983.

      I agree that the Electron would have been a lot more successful if they had produced sufficient quantities before Christmas 1983. To me, this was the time everyone upgraded their Atari 2600's and Intellivisions. My parents waited hours outside an independent computer shop in Edgware ( a few miles from my home) to get an Electron for Christmas. Other parents found it far more convenient to get a C64 which were available everywhere. Went back to school and I was the only kid with an Electron. However, I loved it and it lasted me until an Amiga 500 upgrade.

  4. TheTrouser
    Happy

    Acorn Atom

    I had one of these before the Electron came out - spent hours and hours on it programming games with the tiny < 1K RAM

    30 years later I still spend hours and hours on my Alienware PC using the latest programming languages as part of my job.

    Wish I'd kept the Atom though :(

    1. GettinSadda

      Re: Acorn Atom

      Erm... the Atom came with 2KB of RAM as the lowest

      1. TheTrouser

        Re: Acorn Atom

        Yes - but only < 1K was available was available for programming with - the OS used the rest.

      2. 8Ace

        Re: Acorn Atom

        Part of the first 1K was used as "Zero Page". This was used in the Atom & BBC Micro as an extra set of 256 fast registers as the 6502 could address this area using a single byte. The rest was buffers etc IIRC.

        I concur that the BBC OS 1.2 was a superb piece of work. I disassembled and dumped the whole thing on a dot matrix printer, the printout was about 20cm thick. There were all sorts of gems in there, the whole thing was so elegant and well thought out.

    2. Simon Harris
      Happy

      Re: Acorn Atom

      I got mine with the 2K RAM (1K shared 512 bytes video text mode and 512 bytes program memory, and 1K workspace) at the beginning of the school year in 1980. My Christmas present that year was an extra 10K of RAM chips to give it 6K screen, 5K program and 1K workspace and the floating point ROM. If you were sneaky and didn't need graphics you could use the 5 1/2K of unused screen memory for additional program space.

      Mine ran (mostly) happily overclocked from its standard 1MHz to 2MHz. I say mostly because the RAM was nominally 650nS access time, so I had to swap it around until I found a combination that put the slower chips at the end of video memory so I could use most of the graphics modes overclocked.

      Still have it in a cupboard at my parents' house! Of the 9 or so computers that I've owned (excluding the ones built from the chips up!) the Atom is still my favorite, and was my main computer from 1980 until 1987.

  5. Robigus
    Happy

    Valuable life lessons wringing it's neck.

    T'was as good as I could afford on paper-round money. No Mode 7, but that was no biggy. Solid enough to play tennis with. Really.

    It provided a very useful lesson in life. I was writing some code and I'd wrung the neck out the Electron and I'd tried everything I could think of, loads of in-line assembler, turning off the screen updates during processing etc.

    I wrote a letter detailing the things I'd tried to "Your Computer" magazine to the agony uncle page; Tim Hartnell I think it was. My letter was subsequently published with my bullet points stripped out of the question and placed as the answer.

    If I was to write a letter to my young self it would express the sentiment that "The World is full of bullshitters and people wanting undeserved credit. You'd better get used to dealing with them."*

    * I hasten to add that in my experience pretty much everyone is quite nice really.

  6. Peter Mount
    Happy

    Ah memories

    Did my O level on one in 1986 & by 87 had a second one with 64K of ram (Slogger Master Ram board) which replaced the CPU with a daughter board, a faster CPU & 32K of shadow ram.

    That machine had a 3 way toggle switch added which provided 3 modes:

    * Normal - where it ran as a standard electron

    * Turbo - where the new cpu ran at top speed (can't remember the speed off hand)

    * 64k - where the video remained on the original ram but the OS ran on the shadow ram - so BBC Basic had more ram available than the BBC B had.

    Then there were the floppy drive (+3) added to it.

    Ah takes me back.

    1. ThomH

      Re: Ah memories

      The Slogger has a really neat trick — if the program counter goes beyond D000 (if memory serves) then writes automatically go to the video page. Othwise they go to the shadow page. Why? Because that's where the ROM routines for graphics output are and the original machine ROM is used unmodified.

  7. BigAndos
    Happy

    A good few years after the Electron, my primary school replaced its BBC Micro with a couple of Acorn Archimedes machines. I have very happy memories of sneakily loading the Lander demo every time the teacher's back was turned.

  8. IHateWearingATie

    Hurrah, a bit of love for the partially forgotten Electron...

    Nice to see the Electron given a write up - it's the forgotten cousin of the BBC Micro and not usually mentioned in the stories written about the time.

    I had an Electron, bought for me second hand by my Dad well after they had stopped production (couldn't afford a new computer). Still, it played Elite and The Last Ninja so I was happy!

  9. signpost
    Happy

    Ah the memories

    I loved my Electron, despite ending up with it after a failed attempt to buy a BBC model A at the original price.

    However I do blame it for reducing my 'O' level grades. Instead of studying, I spent my time trawling through the machine code of BBC games I'd acquired. Searching for delay loops & changing/removing them to make the games run at a decent pace on the Electron.

    I seem to recall that my favourite of the time was Free Fall (http://www.iancgbell.clara.net/freefall/index.htm), although I still occasionally hum the tune from Frak!

    Happy times.

  10. hugo tyson
    Coat

    Last ADFS bug...

    I remember an all-nighter getting the last (hah!) bugs out of ADFS for the Electron. *COMPACT would sometimes corrupt the disc. Like on the Beeb, *COMPACT uses the screen RAM as working buffer by default - you get to watch your data flashing by as the disc is defragmented.

    This works fine on the Beeb where the screen RAM is just memory, and the cursor is a hardware sprite.

    But on the Electron, to save having that hardware, the cursor is written into the screen RAM using software in timed interrupts.... simple fix: turn off the cursor during *COMPACT. But the time it took to work out WTF was going on... you had to be there.

    But at least we found it, so it wasn't me personally that cancelled Xmas.

  11. harryb

    The replacement for the Ferranti ULA was actually made by Synertek and used their standard cell library. As a student fresh out of uni with my head filled with tales of how easy VLSI was I was hired to work on it (along with one other - hi John!)

    The fancy production techniques were with the Synertek chip because it could be flipped upside down and then using ultrasound bonded directly to the PCB (plus a blob of expoxy on top).

    We spent quite some time working with Synertek on simulation and trying to make sure the chip would work first time. Apart from getting the signals on one pin the wrong way up we achieved it, which was good going in those days.

  12. Spoonsinger

    Florists M2105's...

    Cleaning them up, re-soldering keys, re-soldering the modem, sending them back. Happy day's with no stress and a shiny future leading to other better paid prospects. (ps they were crap and outdated as games machines even when they were released, rock solid in an industrial/retail roll though).

    (pps M2105's are Electrons with bits bolted on - for informational purposed to people of a certain age - i.e. young).

    1. Thomas Gray

      Re: Florists M2105's...

      I was just coming to post that the machine found a niche market as the ordering system for InterFlora. I remember going into a florist in Lincolnshire in the mid '90s and being surprised to see one in the back room, still functioning.

  13. ecofeco Silver badge

    Hard to believe

    It's hard to believe it's ONLY been 30 years and my outdated bargain smart phone has more power than those old PCs, yet they were no less astounding and inspiring and opened new worlds for many.

    Love these old program and PC articles. Keep them coming.

  14. Will Godfrey Silver badge

    Fond memories indeed

    On a slightly sadder note, what challenges do today's kids have that they will remember in years to come?

  15. Christian Berger

    Manufacturing issues

    What I don't understand is why they didn't have more dynamic manufacturing. I mean back then automatic mounters probably were rare, much of the assembly had to be done by hand. In a nutshell it seems like it would have been easily possible to produce nearly on demand, avoiding stockpiles.

  16. HippyFreetard
    Happy

    Happy Birthday Electron!

    My parents bought us (to share) the Electron with tape player and games, and a brand new portable colour TV. It was a real live computer, the kind of thing only "other" kids got.

    Once you'd played the games, there was only one thing left you could do with it, and that was to go through the "Learn Programming" book.

    Did anyone have "Computer Fun" with little monsters - with names like Deadeye Dick - where you would write the program from a book and have to look up in the back what the different lines were for your machine? (and/or "Machine Code Programming for Beginners" with robots?) Did anyone else have "Legend of Silver Mountain" which was a type-your-own adventure game?

    The great thing is that my kids love it when I fire up Electrem or Beebem and they love to play my old games. Great games are timeless :)

    Thanks for the nostalgia, Reg!

  17. OrsonX
    Coffee/keyboard

    You are at a crossroads, there is a lamp here and a bearded pirate.

    Good times.

    Still got mine.

  18. Zot

    "How Olivetti stitched up Acorn"

    [url]http://elleeseymour.com/2012/02/24/how-olivetti-stitched-up-acorn/[/url]

  19. Jay 2

    Ah the Electron. Like most people I knew of someone who had one. Whilst there was the fact that it could run the same stuff as the BBCs, there didn't seem to be too many games. And the odd bit of code aside, I'm sure most kids wanted computers to play games.

    As a quick aside I was still messing about on a BBC Master in 1992 when I was doing A-Level Computing. Though we used COMAL rather then BBC Basic.

  20. J.G.Harston Silver badge

    Master Compact

    The mistakes of ripping too much hardware out of the Electron were learned when the Master Compact was designed - keep MODE 7, remove all the additional hardware, but not munge everything into one amorphous lump, so the hardware map and system environment still "looks" identical to the processor, just with functionality missing.

    Nice little machine, the Compact, I managed to lever in a floppy drive under the keyboard.

  21. Martin H Watson

    It is in the loft next to my 512kb Amstrad, but I do still have mine

  22. Robinson

    I had one...

    I had one, mostly used it to play Elite. Elite on the Electron wasn't as good as the BBC B original (wasn't fast enough to do sun twinkling and didn't have colour, for example), but it was OK. Friends with C64's had the best games, the best graphics and the best sound. But I was OK with it. Taught me how to code (BASIC and Assembler) too.

  23. Arwel2

    Ah... but the fun with BBC basic was the assembler, no? Just a little square bracket and away! I once wrote a key-logger that sat on the school BBC, waiting for "*Iam" commands, using the screen refresh event to watch all key presses, and passing anything other than the login commands unmolested to the command line interpreter, but saving the next twenty characters whenever anyone tried to log in (on econet). Got the teachers password within hours. Happy days! :o)

    But the ability to just drop in assembler into BBc Basic so easily was amazing.... just something like this, I think...

    10 DIM code 12

    20 FOR opt=1 TO 3 STEP 2

    30 P%=code

    40 [OPT opt

    50

    60 *****INSERT ALL KINDS OF FUN ASSEMBLER HERE!*****

    70

    80 ]

    90 NEXT

  24. Ossi

    I had an electron. Loved it. I was more into programming than playing games (although I played Eclipse *a lot*). It helped me with my computer science GCSE (I was in the first year of GCSE's, so it still meant being able to program a computer back then, in lovely BBC BASIC). It's still got the best keyboard I've ever used. In fact, I've still got it. Just waiting for it to become a valuable antique now.

  25. Stuart Halliday

    I remember converting several BBC programs to the Electron.

    I even converted a £250 graphic/mouse BBC B program to the Electron. Not surprisingly, the company wasn't interested in releasing a 'low cost' Electron version.

    Oh happy days... :)

  26. Stuart Halliday

    Happy Days...

    I loved the way that RISC OS used vector based addresses.

    So when you needed to upgrade any part of the OS you just ran the new software. No need for a reboot.

    When I moved to Windows XP, it seemed so backwards and primitive.

  27. Sean O'Connor 1
    Thumb Up

    Thanks Acorn

    Still got my Electron in the garage. I've built my career on what I learned using my Electron when I was a kid so thanks to everyone who ever worked at Acorn!

  28. heyrick Silver badge

    Got two in a box...

    ...I really must dig them out and play, just for nostalgia's sake.

This topic is closed for new posts.