OF the 1980S

Total Page:16

File Type:pdf, Size:1020Kb

OF the 1980S THAT MADE THE HOME COMPUTER REVOLUTION OF THE 1980s 23 THAT MADE THE HOME COMPUTER REVOLUTION OF THE 1980s First published in 2021 by Raspberry Pi Trading Ltd, Maurice Wilkes Building, St. John’s Innovation Park, Cowley Road, Cambridge, CB4 0DS Publishing Director Editors Russell Barnes Phil King, Simon Brew Sub Editor Design Nicola King Critical Media Illustrations CEO Sam Alder with Brian O Halloran Eben Upton ISBN 978-1-912047-90-1 The publisher, and contributors accept no responsibility in respect of any omissions or errors relating to goods, products or services referred to or advertised in this book. Except where otherwise noted, the content of this book is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0). Contents Introduction. 6 Research Machines 380Z. 8 Commodore PET 2001. 18 Apple II. 36 Sinclair ZX80 and ZX81. 46 Commodore VIC-20 . 60 IBM Personal Computer (5150). 78 BBC Micro . 90 Sinclair ZX Spectrum. 114 Dragon 32. 138 Commodore 64. 150 Acorn Electron . .166 Apple Macintosh . .176 Amstrad CPC 464. 194 Sinclair QL . .210 Atari 520ST. 222 Commodore Amiga. 234 Amstrad PCW 8256. 256 Acorn Archimedes . .268 Epilogue: Whatever happened to the British PC? . .280 Acknowledgements . 281 Further reading, further viewing, and forums. 283 Index . .286 The chapters are arranged in order of each computer’s availability in the UK, as reflected by each model’s date of review in Personal Computer World magazine. Introduction The 1980s was, categorically, the best decade ever. Not just because it gave us Duran Duran and E.T., not even because of the Sony Walkman. It was because the 1980s saw the rise of the personal computer. With the help of hefty government discounts, computers inveigled their way into primary and secondary schools around the country – even if teachers didn’t always know what to do with them. Millions more computers appeared in living rooms and bedrooms around the country. For once, Britain was ahead of the world, helping to create a golden generation of British programmers. Sure, far more of us were destined to spend hours playing Elite and Chuckie Egg rather than creating games of our own, but the combination of C64s, Spectrum 48Ks, and BBC Micros directly led to the creation of a booming British software industry that continues to this day. The question that inspired this book, though, is how did these computers come to be? There was no cookie-cutter template to follow. Companies were genuinely making things up as they went along, often to brilliant effect. Every computer you read about here has a story that surprises, and it’s almost always down to the people involved. That’s why, as much as this book is a story about each computer’s creation, it’s also a story about the people that created them. Many of them British, many of them geniuses. With billions of pounds up for grabs in this nascent industry, not everyone was on their best behaviour. Ego battled ego in a quest for fame and wealth, leading to betrayals, lost fortunes, and too many shattered dreams to count. Think J.R. and Dallas, but with silicon instead of oil. And the fens of England rather than the sunbaked plains of Texas. This book tells the stories of 19 computers that each had an impact on Britain. I apologise if your favourite is missing – I would love to have covered Apricot’s machines, the NewBrain, the Oric-1, the Jupiter Ace, and the Cambridge Z88, for instance, but those will have to wait their turn. While I fully expect people to jump straight to the computers they owned, this book has been designed to be read in any order. You can choose to start your journey 6 Introduction in the late 1970s with the Commodore PET and end with the Acorn Archimedes in 1987; you can trace the stunning rise of Amstrad, which ultimately led to its swallowing Sinclair’s Spectrum business whole. It’s entirely up to you. My final note is on accuracy. These computers were built two generations ago, which has given rumours and half-truths plenty of time to gather respectability. Wherever possible, I have gone straight to the source: that means listening to oral histories, reading interviews, ploughing through historic documents, and referring to previously written books. But most of all I have, wherever possible, spoken to the people involved. The result is as close to ‘truth’ as I can get, and if that means slaying myths that have no root in reality then all the better. In fairness, these are stories that need no exaggeration to make them fascinating. I hope you enjoy reading them. Tim Danton 7 Image by Marcin Wichary/ Creative Commons Research Machines 380Z A niche in which to survive 9 Too small to rival IBM; ambitions too big to remain a supplier of components. Those were the forces that drove two entrepreneurial Oxbridge graduates to create their first computer for schools. To trace the story of the Research Machines 380Z, we need to travel back in time to 1973. This was the embryonic age of computing, when companies were selling electronics in kit form. (An era, incidentally, that was reborn by the Raspberry Pi 40 years later.) It was a time when ambitious British entrepreneurs could hold a conversation in the pub about starting an electronics business without being ridiculed. As normal, though, there is no straight line between idea and finished product. Mike Fischer and Mike O’Regan started their first business together after building a brain wave analyser for rats. You did not read that incorrectly. ‘I was working as a contract electrician for a company called Roussel Laboratories, a drug company,’ says Fischer. ‘They wanted a special piece of scientific equipment built, and they knew I could do that sort of thing. So I got the contract to build it. It was a rat’s brain wave analyser.’ He laughs at the memory. ‘It was not a large market.’ With the rat money safely in the bank, the two Mikes decided to create a new company called Research Machines Limited. It was, on the face of it, a triumph of hope over reality: neither Mike had any business experience, with only £200 cash and a German typewriter between them (the pound sign achieved, O’Regan explains, by typing capital L, backspace, hyphen). O’Regan remembers Fischer saying, ‘There’s this company IBM, which stands for International Business Machines. It’s hugely successful. Maybe we can be the equivalent in the scientific market.’ This was also the reason behind the slightly archaic name Research Machines. However, much to Intel’s annoyance, they traded using the name Sintel; O’Regan recalls a threatening letter from Intel’s solicitors that accused Sintel of ‘passing off’ as Intel by instructing its staff to answer the phone, ‘Good morning, it’S intel.’ ‘Needless to say, that was not the case,’ says O’Regan, ‘and our tiny business was not even in the same market as theirs. I can’t remember if we replied or not, but anyway we didn’t hear any more from the solicitors, though it was a bit scary for us startup innocents to receive such a letter.’ The two companies could hardly have been any different. Where Intel was already a world-renowned chip maker, having created the revolutionary 4004 microprocessor 10 Research Machines 380Z in 1971, Sintel started life as a mail-order business selling components via small ads in electronics magazines. Fischer’s enthusiasm for tinkering meant it wasn’t long before it was advertising project kits too; if you wanted to build your own digital clock back in the early 1970s, Sintel was the place to go. There was only so much money to be made from selling kits, and the pair wanted to build ‘something’ more substantial. When Fischer read about the new Zilog Z80 microprocessor, he realised that thing was a computer. ‘It was the 1st of April 1976,’ says Fischer, ‘which I remember because it was April Fool’s Day. We decided that we would have a go at making a computer based on the Z80.’ They had enough money in the bank to buy parts for 250 computers and, in a bold move, that’s exactly what they did. ‘We realised that microcomputers were going to become mainstream in the business world. And I thought that there was an opportunity to get in there before the big people, but that opportunity wouldn’t last,’ says Fischer, adding that he was realistic enough to know that the likes of DEC, HP, and IBM would soon trample on them – although in reality it took IBM five years to catch up. ‘Our plan was to go into that market for a few years and then go and do something else, something derivative.’ However, fate was to take a different turn when two advisors from the Berkshire County Council approached Sintel asking for advice on how to build a microcomputer for education. ‘We freely gave them lots of advice, and then suggested “Why don’t we build a computer and you see whether it’s appropriate?”.’ The two Mikes soon realised that education was a niche they could attack. ‘We thought we’ll survive a little bit longer if we specialise in one market and do some software for that market as well,’ recalls Fischer. ‘So for the first few years, we spent a lot of time at exhibitions explaining to people why we wouldn’t sell them a computer.’ First, though, they had a system to build.
Recommended publications
  • ACPI (Ang. Advanced Configuration and Power Interface, Zaawansowany Interfejs Zarządzania Konfiguracją I Energią) – Otwarty
    ACPI (ang. Advanced Configuration and Power Interface, zaawansowany interfejs zarządzania konfiguracją i energią) – otwarty standard opracowany przez firmy Intel, Microsoft i Toshiba, do których później dołączyły HP oraz Phoenix, po raz pierwszy ogłoszony w grudniu 1996. ACPI zwiększa możliwości systemów zarządzania energią oferowane przez wcześniejsze rozwiązanie APM. Umożliwia systemowi operacyjnemu kontrolowanie ilości energii dostarczanej do poszczególnych urządzeń komputera (napędu CD-ROM, twardego dysku oraz urządzeń peryferyjnych) i, podobnie jak APM, umożliwia ich wyłączanie, gdy nie są używane a konieczne jest oszczędzanie energii. ADC - Przetwornik analogowo-cyfrowy A/C (ang. A/D – analog to digital; ADC – analog to digital converter), to układ służący do zamiany sygnału analogowego (ciągłego) na reprezentację cyfrową (sygnał cyfrowy). Dzięki temu możliwe jest przetwarzanie ich w urządzeniach elektronicznych opartych o architekturę zero-jedynkową oraz gromadzenie na dostosowanych do tej architektury nośnikach danych. Proces ten polega na uproszczeniu sygnału analogowego do postaci skwantowanej (dyskretnej), czyli zastąpieniu wartości zmieniających się płynnie do wartości zmieniających się skokowo w odpowiedniej skali (dokładności) odwzorowania. Przetwarzanie A/C tworzą 3 etapy: próbkowanie, kwantyzacja i kodowanie. Działanie przeciwne do wyżej wymienionego wykonuje przetwornik cyfrowo-analogowy C/A. AGP - Accelerated Graphics Port (AGP, czasem nazywany Advanced Graphics Port) – zmodyfikowana magistrala PCI opracowanej przez firmę Intel zaprojektowana do obsługi kart graficznych. Jest to 32- bitowa magistrala PCI zoptymalizowana do szybkiego przesyłania dużych ilości danych pomiędzy pamięcią operacyjną a kartą graficzną. Wyparta przez szybszą magistralę PCI Express. AGP Pro - specjalna wersja gniazda rozszerzeń AGP przeznaczona do profesjonalnych kart graficznych, które zużywają dużo prądu. Gniazdo AGP Pro ma 48 pinów więcej niż standardowe gniazdo AGP. Służą one niemal wyłącznie jako dodatkowe linie zasilania.
    [Show full text]
  • Adding a 5 Pin DIN to an Amstrad CPC 464
    arduitape.blogspot.com Adding a 5 pin DIN to an Amstrad CPC 464 Share 4-5 minutes Adding a 5 pin DIN to an Amstrad CPC 464 After mentioning that I had gotten a CPC and attached a DIN to it so that I could connect it to the TZXDuino I have had a few requests on how to do it so I thought I'd try a guide. You will need to purchase 180 degree 5 pin female din that is chassis mountable. This is the type that I purchased except mine also had a mounting plate too. The standard 6128 cassette connector is wired like this. Each pin is numbered on the back so that you know which one you are connecting it too so don't worry if the pins are in different positions as it depends on whether you are looking from the connection side or the soldering side. I would use different coloured wiring for each type of connection. I used the following Ground - Black Data Input - White Data Output - Pink Remote Control - Brown At this point I added 4 male pins to the end of my wiring so that I could build a connector so that I could easily disconnect the DIN should I need to work on the cassette drive. Next is connecting the wiring to the cassette drive Make sure that when you solder you do not create any shorts and connect the wiring as follows. Close Up your computer and then test to make sure that it all works. If you want to use the built in cassette recorder you just unplug the cassette leads from the DIN and use it as normal.
    [Show full text]
  • APPEG-Minutes-07-11-17
    The All Party Parliamentary Engineering Group 07 November 2017 Hacking – can the huge data breaches be prevented? Discussion over lunch in the Cholmondeley Room, House of Lords Chair – Professor the Lord Broers Speakers: Professor Andy Hopper CBE, Professor of Computer Technology and Head of the Department of Computer Science and Technology at the University of Cambridge Dr Alistair Beresford, Reader in Computer Security at the Computer Laboratory and an Official Fellow at Queen’s College, University of Cambridge James Hatch, Director of Cyber Services at BAE Systems Applied Intelligence Introduction Lord Broers, Chairman of the group, began by thanking everyone for attending, then introduced the three speakers. Professor Andy Hopper CBE’s research interests include computer networking, pervasive and sensor- driven computing, and using computers to ensure sustainability of the planet. He has pursued academic and industrial careers simultaneously, working both at the Computer Laboratory and the Department of Engineering at Cambridge and as co-founder of thirteen spin-outs and start-ups. In recent years the companies he co-founded have received five Queen's Awards for Enterprise. He is Chairman of RealVNC Group. Professor Hopper is a Fellow of the Royal Academy of Engineering and of the Royal Society, and former president of the Institution of Engineering and Technology. He was made a CBE for services to the computer industry in 2007, and received the Royal Society Bakerian Medal this year. He has been elected Treasurer of the Royal Society from December 2017. Dr Alistair Beresford’s work examines the security and privacy of large-scale distributed computer systems.
    [Show full text]
  • A New Concept in Mobile Networking
    Networked Surfaces: A New Concept in Mobile Networking ¡ ¡ ¡ James Scott Frank Hoffmann Mike Addlesee Glenford Mapp Andy Hopper ¡ Laboratory for Communications Engineering, AT&T Laboratories Cambridge Cambridge University Engineering Department ¢ ¢ £ jws22,fh215 £ @eng.cam.ac.uk mda,gem,hopper @uk.research.att.com Abstract nectivity to a data and/or power infrastructure, simply by being in physical contact with that surface. Networked Surfaces are surfaces which provide network “Connectivity” is achieved by providing a number of connectivity to specially augmented objects, when these ob- electrically independent paths, or “links”, between the sur- jects are physically placed on top of the surface. When an face and object, which are allocated to “functions” such as object (e.g. a notebook computer) connects, a handshaking data transmission or power. Different objects may require protocol assigns functions such as data or power transmis- different functions, and the functions which are available to sion to the various conducting paths that are established. objects may differ from surface to surface. This paper describes the position occupied by this con- By “physical contact”, we mean that the object may oc- cept in the world of networking, presents an overview of cupy any position and orientation on the surface. This flexi- the technology used in its realisation, describes the current bility is achieved using a special layout of conducting “pad- prototype implementation, and outlines the potential impli- s” on the surface and object. When the object touches the cations of its introduction. surface, pairs of surface and object pads provide commu- Keywords: Mobile Networking, Ubiquitous Computing, nications channels.
    [Show full text]
  • 8000 Plus Magazine Issue 17
    THE BEST SELLIINIG IVI A<3 AZI INI E EOF=t THE AMSTRAD PCW Ten copies ofMin^g/jf^^ Office Professional to be ISSUE 17 • FEBRUARY 1988* £1.50 Could AMS's new desktop publishing package be the best yet? f PLUS: Complete buyer's guide to word processing, accounts, utilities and DTP software jgl- ) MASTERFILE 8000 FOR ALL AMSTRAD PCW COMPUTERS MASTERFILE 8000, the subject of so many Any file can make RELATIONAL references to up enquiries, is now available. to EIGHT read-only keyed files, the linkage being effected purely by the use of matching file and MASTERFILE 8000 is a totally new database data names. product. While drawing on the best features of the CPC versions, it has been designed specifically for You can import/merge ASCII files (e.g. from the PCW range. The resulting combination of MASTERFILE III), or export any data (e.g. to a control and power is a delight to use. word-processor), and merge files. For keyed files this is a true merge, not just an append operation. Other products offer a choice between fast but By virtue of export and re-import you can make a limited-capacity RAM files, and large-capacity but copy of a file in another key sequence. New data cumbersome fixed-length, direct-access disc files. fields can be added at any time. MASTERFILE 8000 and the PCW RAM disc combine to offer high capacity with fast access to File searches combine flexibility with speed. variable-length data. File capacity is limited only (MASTERFILE 8000 usually waits for you, not by the size of your RAM disc.
    [Show full text]
  • Improving the Beaglebone Board with Embedded Ubuntu, Enhanced GPMC Driver and Python for Communication and Graphical Prototypes
    Final Master Thesis Improving the BeagleBone board with embedded Ubuntu, enhanced GPMC driver and Python for communication and graphical prototypes By RUBÉN GONZÁLEZ MUÑOZ Directed by MANUEL M. DOMINGUEZ PUMAR FINAL MASTER THESIS 30 ECTS, JULY 2015, ELECTRICAL AND ELECTRONICS ENGINEERING Abstract Abstract BeagleBone is a low price, small size Linux embedded microcomputer with a full set of I/O pins and processing power for real-time applications, also expandable with cape pluggable boards. The current work has been focused on improving the performance of this board. In this case, the BeagleBone comes with a pre-installed Angstrom OS and with a cape board using a particular software “overlay” and applications. Due to a lack of support, this pre-installed OS has been replaced by Ubuntu. As a consequence, the cape software and applications need to be adapted. Another necessity that emerges from the stated changes is to improve the communications through a GPMC interface. The depicted driver has been built for the new system as well as synchronous variants, also developed and tested. Finally, a set of applications in Python using the cape functionalities has been developed. Some extra graphical features have been included as example. Contents Contents Abstract ..................................................................................................................................................................................... 5 List of figures .........................................................................................................................................................................
    [Show full text]
  • Implementation of Real-Time Applications on ARM Microcontroller
    Implementation of Real-Time Applications on ARM Microcontroller Fawad 1 and Dr. Imran Amin 2 [email protected] SZABIST Karachi, Pakistan Abstract: The ARM is a 32-bit reduced instruction set • Open platforms running complex operating systems computer(RISC) architecture for microprocessor developed for wireless consumer and imaging applications. by ARM Limited[1]. I is also known as Advance RISC[2] • Embedded real-time systems for mass storage, Machine. AMR is suitable for the low power applications automotive, industrial and networking applications. which made them leading in the mobile and embedded • Secure applications including smart cards and SIMs. electronics industry relatively low cost and small microprocessor and microcontroller. The ARM architecture is licensable. companies that are currently ARM licenses include Alcatel, Atmel, Broadcom, Intel, LG, NVIDIA, Yamaha ST Microelectronics, Samsung and many more. ARM processor families include the ARM7, ARM9, ARM11 and Cortex. The purpose of this Research is to study the ARM architecture and uses of it on real-time Applications using ARM Cortex-A8 microprocessor, which is one of the microprocessor from ARM family. Beagleboard[5] is used for experimental setup and testing real-time application on ARM microprocessor. The Beagle Board is a low-power, low-cost Single-board computer developed by worldwide Figure 1: A Conexant ARM processor used mainly in community. It is amazingly 3x3 inch width and height. As a routers open-source application the Beagle Board is the open- ARM has a vast experience on developing embedded hardware architecture which is available for embedded systems which delivers technology that achieves develop and further enhancement.
    [Show full text]
  • M the Official Amstrad Business Magazine
    Vol. 1 No. 4 December 1986 AMSTRAD£1.25 | COMPUTING- V; ■ I mm m >■ V aL- The Official Amstrad Business Magazine The Condor 1 Commands - They couldn’t be simpler! Database Creation and Maintenance DEFINE Create, redefine or describe a database DESTROY Eliminate a database or file FORMAT Create or revise a form or HELP screen REORG Reorganize the structure of a database; add or delete items Information Input and Update APPEND Attach records of one database to another EMPTY Eliminate all data in a database ENTER Insert new data into a database POST Update entries in one database with those from another UPDATE Change entries in a J--.abase meeting specified cni Jiiitions Informations* ssingand Report Writing COMPARE ' ;v*i.*are orgies in two ■■■...•.vjfcsfa- /not) n • hing o editions and The Database Manager and Reporter. c. < RE ;• i JLT database COMPUTE . ie<: iesina You know that Caxton only publish superior software products. LIST 0; datf.'i j;,se records in Cardbox is the world’s best-selling simple electronic card index. sesjc :?-^er Brainstorm is the world’s first ideas processor. Scratchpad plus is the PRINT Pirfctf. shtab^va records in ewisr only enhanced Virtual Memory Spreadsheet available foryour PRINTER Pri; ;lei output control and Amstrad. And Touch ’n’ Go is the UK’s most highly respected disk- refection SELECT Select database records based typing T\itor. meeting specified conditions, creating a Now we present Condor 1 - Mainframe computing for your Amstrad. RESULT database SORT Sort database records by Condor 1 is an extensive database management and reporting system entries STAX View or print statistics of for the non-programmer.
    [Show full text]
  • Electron UPURS User Manual
    ELECTRON USER PORT AND USER GUIDE UPURS V1.0E User Ports and UPURS serial connection for the Acorn Electron |by Martin B Contents Introduction .......................................................................................................................................... 5 What you need ................................................................................................................................. 5 The serial port ................................................................................................................................... 6 Serial Port assignments ................................................................................................................. 6 Installing the UPURS suite in the Acorn Electron .................................................................................. 7 Notes on using UPURS from disc....................................................................................................... 7 Installing UPURS to Sideways RAM ................................................................................................... 7 Getting up and running with UPURS and an FTDI USB to RS232 cable ................................................. 8 Installing the FTDI drivers in Windows .............................................................................................. 8 Uninstalling older FTDI drivers ...................................................................................................... 8 Installing the latest FTDI drivers for Windows
    [Show full text]
  • Scanned Document
    OJ )> Vl () 0 ,0 ,m' I 1-V II&JS mm&Radio4 I nederlandse ornroep stichting I THE CHIP SHOP BASICODE2 mmmRadio4 - Broadcasting Support Services CONTENTS ©NOS nederlandse omroep stichting, Hilversum, Netherland 1. INTRODUCTION 5 ISBN 0-906965-14-4 2. HOW TO USE BASICODE-2 7 This edition first published by Broadcasting Support Services January 1984 3. BASICODE- THE SPECIFICATIONS 9 THE CHIP SHOP BBC Radio4 4. BASICODE-2 PROTOCOL 12 British Broadcasting Corporation Portland Place 5. APPLE II & lie 26 London W1A 1AA 6. BBC (A& B) 29 All rights reserved. This handbook and the accompanying computer programs are copyright. No part of this handbook or 7. COMMODORE COMPUTERS 31 the accompanying computer programs may be reproduced, 8. SHARP MZSOA 36 translated, copied or transmitted by any means whatsoever without the prior written permission of the copyright owners. 9. SINCLAIR ZX81 37 The publisher assumes no responsibility for errors, nor liability 10. TANDY TRS-80 & VIDEOGENIE 41 for loss or damage, however caused, arising from the use of the Basicode 2 kit. 11. THE FUTURE 47 The BASICODE-2 kit is available for £3.95 frorr:: Broadcasting Support Services P.O. Box? London W3 6XJ Please make cheques or postal orders payable to Broadcasting Support Services. Published for The Chip Shop, Radio 4, by Broadcasting Support Services- an independent educational charity providing follow­ up services for viewers and listeners. Introduction Chapter One BASICODE-2 INTRODUCTION BASICODE has been developed by the radio programme Hobbyscoop This book and the accompanying cassette contain the details of NOS­ which is broadcast weekly by Nederlanse Omroep Stichting (NOS), BASICODE.
    [Show full text]
  • Acorn Risc Pc 600
    ACORN RISC PC 600 Acorn Acorns retort to the PowerMacs is an example of innovative design, with extensive expansion, the promise of RISC better cross-platform compatibility and graphics performance Archimedes owners only dreamed about. Ian PC 600 Burley gets a slice of the action. and CPU fans as the chip generates less than 1W of heat. Current ARM610s are 0.8 micron parts, and sample 0.6 micron parts are testing at 40MHz. One of the most striking aspects of the new RISC PC is its case, designed under the auspices of Allen Boothroyd, who designed the original BBC Micro and was a force behind hi-fi manufacturer Meridian. It is made of tough Bayer Bayblend ABS/Polycarbonate, which is used to make riot shields. Internal surfaces are coated to reduce radio frequency interference (RFI) but the external surface is an unpainted light grey. There is provision for screw-mounted peripherals inside but devices like CD-ROMs and hard disks will be clip-mounted Apple-style. Two twist-locking pins need to be turned 90° to get the case lid off. These can be padlocked and the case tethered. It takes less than a minute to open the case, swap processor modules and refit the lid, without any tools. Standard models have a slimline base case with ^ RISC PC Acorn Computers of Cambridge, and not their a two-expansion slot backplane; the front panel has a 600s get the colleagues from Cupertino, were the first to bring spring-loaded door to hide the floppy drive. If you need latest release affordable RISC computing to the masses.
    [Show full text]
  • 4. the BBC BASIC Assembler
    ARM Assembly Language Programming - Chapter 4 - The BBC BASIC Assembler 4. The BBC BASIC Assembler There are two main ways of writing ARM assembly language programs. One is to use a dedicated assembler. Such a program takes a text file containing ARM assembly language instructions, assembles it, and produces another file containing the equivalent machine code. These two files are called the source files and object files respectively. An alternative approach is to use the assembler built-in to BBC BASIC. The ability to mix assembler with BASIC is a very useful feature of the language, and one that is relatively straightforward to use. For this reason, and because of the widespread availability of BBC BASIC, we describe how to use its built-in assembler. The examples of the next two chapters are also in the format expected by the BASIC assembler. 4.1 First principles Two special 'statements' are used to enter and exit from the assembler. The open square bracket character, [, marks the start of assembly language source. Whenever this character is encountered where BASIC expects to see a statement like PRINT or an assignment, BASIC stops executing the program and starts to assemble ARM instructions into machine code. The end of the source is marked by the close square bracket, ]. If this is read where BASIC is expecting to see an instruction to be assembled, it leaves assembler mode and starts executing the (BASIC) program again. To see the effect of entering and leaving the assembler, type in this short program: 10 PRINT "Outside the assembler" 20 [ ;In the assembler 30 ] 40 PRINT "Outside the assembler" If you RUN this, you should see something like the following: Outside the assembler 00000000 ;In the assembler Outside the assembler Between the two lines produced by the PRINT statements is one which the assembler printed.
    [Show full text]