Basic: the Language That Started a Revolution
Total Page:16
File Type:pdf, Size:1020Kb

Load more
Recommended publications
-
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. -
Hamurabi Wikipedia Article
Hamurabi - Wikipedia, the free encyclopedia 1/17/12 3:18 PM Hamurabi From Wikipedia, the free encyclopedia Hamurabi is a text-based game of land and resource management and is one of the earliest computer games. Its name is a shortening of Hammurabi, reduced to fit an eight-character limit. Contents 1 History 2 Gameplay 3 Influence 4 References 5 External links History Doug Dyment wrote The Sumer Game in 1968 as a demonstration program for the FOCAL programming language, programming it on a DEC PDP-8. The game has often been inaccurately attributed to Richard Merrill, the designer of FOCAL. Once a version of BASIC was released for the PDP-8, David H. Ahl ported it to BASIC. The game spread beyond mainframes when Ahl published an expanded version of it in BASIC Computer Games, the first best-selling computer book.[1] The expanded version was renamed Hamurabi [sic] and added an end-of-game performance appraisal.[2] This version was then ported to many different microcomputers. Gameplay Like many BASIC games of the time, Hamurabi was mainly a game of numeric input. As the ruler, the player could buy and sell land, purchase grain and decide how much grain to release to his kingdom. Scott Rosenberg, in Dreaming in Code, wrote of his encounter with the game:[3] I was fifteen years old and in love with a game called Sumer, which put me in charge of an ancient city-state in the Fertile Crescent. Today's computer gamers might snicker at its crudity: its progress consisted of all-capital type pecked out line by line on a paper scroll. -
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. -
BASIC Session
BASIC Session Chairman: Thomas Cheatham Speaker: Thomas E. Kurtz PAPER: BASIC Thomas E. Kurtz Darthmouth College 1. Background 1.1. Dartmouth College Dartmouth College is a small university dating from 1769, and dedicated "for the educa- tion and instruction of Youth of the Indian Tribes in this Land in reading, writing and all parts of learning . and also of English Youth and any others" (Wheelock, 1769). The undergraduate student body (now nearly 4000) outnumbers all graduate students by more than 5 to 1, and majors predominantly in the Social Sciences and the Humanities (over 75%). In 1940 a milestone event, not well remembered until recently (Loveday, 1977), took place at Dartmouth. Dr. George Stibitz of the Bell Telephone Laboratories demonstrated publicly for the first time, at the annual meeting of the American Mathematical Society, the remote use of a computer over a communications line. The computer was a relay cal- culator designed to carry out arithmetic on complex numbers. The terminal was a Model 26 Teletype. Another milestone event occurred in the summer of 1956 when John McCarthy orga- nized at Dartmouth a summer research project on "artificial intelligence" (the first known use of this phrase). The computer scientists attending decided a new language was needed; thus was born LISP. [See the paper by McCarthy, pp. 173-185 in this volume. Ed.] 1.2. Dartmouth Comes to Computing After several brief encounters, Dartmouth's liaison with computing became permanent and continuing in 1956 through the New England Regional Computer Center at MIT, HISTORY OF PROGRAMMING LANGUAGES 515 Copyright © 1981 by the Association for Computing Machinery, Inc. -
Learning to Code
PART ILEARNING TO CODE How Important is Programming? “To understand computers is to know about programming. The world is divided… into people who have written a program and people who have not.” Ted Nelson, Computer Lib/Dream Machines (1974) How important is it for you to learn to program a computer? Since the introduction of the first digital electronic computers in the 1940s, people have answered this question in surprisingly different ways. During the first wave of commercial computing—in the 1950s and 1960s, when 1large and expensive mainframe computers filled entire rooms—the standard advice was that only a limited number of specialists would be needed to program com- puters using simple input devices like switches, punched cards, and paper tape. Even during the so-called “golden age” of corporate computing in America—the mid- to late 1960s—it was still unclear how many programming technicians would be needed to support the rapid computerization of the nation’s business, military, and commercial operations. For a while, some experts thought that well-designed computer systems might eventually program themselves, requiring only a handful of attentive managers to keep an eye on the machines. By the late 1970s and early 1980s, however, the rapid emergence of personal computers (PCs), and continuing shortages of computer professionals, shifted popular thinking on the issue. When consumers began to adopt low-priced PCs like the Apple II (1977), the IBM PC (1981), and the Commodore 64 (1982) by the millions, it seemed obvious that ground-breaking changes were afoot. The “PC Revolution” opened up new frontiers, employed tens of thousands of people, and (according to some enthusiasts) demanded new approaches to computer literacy. -
Development of Time Shared Basic System Processor for Hewlett Packard 2100 Series Computers by John Sidney Shema a Thesis Submit
Development of time shared basic system processor for Hewlett Packard 2100 series computers by John Sidney Shema A thesis submitted to the Graduate Faculty in partial fulfillment of the requirements for the degree of MASTER OF SCIENCE in Electrical Engineering Montana State University © Copyright by John Sidney Shema (1974) Abstract: The subject of this thesis is the development of a low cost time share BASIC system which is capable of providing useful computer services for both commercial and educational users. The content of this thesis is summarized as follows:First, a review of the historical work leading to the development of time share principles is presented. Second, software design considerations and related restrictions imposed by hardware capabilities and their impact on system performance are discussed. Third, 1000D BASIC operating system specifications are described by detailing user software capabilities and system operator capabilities. Fourth, TSB system organization is explained in detail. This involves presenting TSB system modules and describing communication between modules. A detailed study is made of the TSB system tables and organization of the system and user discs. Fifth, unique features of 1000D BASIC are described from a functional point of view. Sixth, a summary of the material presented in the thesis is made. Seventh, the recommendation is made that error detection and recovery techniques be pursued in order to improve system reliability. In presenting this thesis in partial fulfillment of the requirements, for an advanced degree at Montana State University, I agree that permission for extensive copying of this thesis for scholarly purposes may be granted by my major professor, or, in his absence, by the Director of Libraries. -
John G. Kemeny Thomas E. Kurtz Bronze EDITION GUIDE for Windows and Macos BRONZE Edition Reference Manual
The Original from the Inventors of BASIC John G. Kemeny Thomas E. Kurtz bronze EDITION GUIDE for Windows and MacOS BRONZE Edition Reference Manual bronze Edition Guide for the True BASIC Language System Copyright © 2002 by True BASIC Incorporated ISBN: 0-939553-39-2 All rights reserved. No part of this manual may be reproduced by any means, electronic, mechanical, or photocopying, without the prior written permission of True BASIC, Inc. Address any request for reprinting portions of any material contained in this documentation, listing the purpose of the reprint or citation, and the expected edition size of the publication to True BASIC as the address listed below. Trademarks and their owners: True BASIC: True BASIC, Inc.; IBM: International Business Machines; Apple Macintosh, MacOS: Apple Computer; MS-DOS, Windows, Windows95, Windows98: Microsoft. Published by: True BASIC, Inc. 1523 Maple Street Hartford, VT 05047-0501 USA MANUAL NUMBER: 7222/M 1-800 436-2111 US & Canada Sales Department 1-802 296-2711 International Orders 1-802 296-2715 Fax (24-hour availability) [email protected] Customer Support http://www.truebasic.com Website. Printed in the United States of America. 01/2002 3 Contents 1. An Introduction to Programming .................................................................. 9 2. Why True BASIC? .............................................................................................. 11 3. Installing True BASIC and Running Demo Programs .............................. 13 Installing the BRONZE Edition on Windows -
BASIC Programming with Unix Introduction
LinuxFocus article number 277 http://linuxfocus.org BASIC programming with Unix by John Perr <johnperr(at)Linuxfocus.org> Abstract: About the author: Developing with Linux or another Unix system in BASIC ? Why not ? Linux user since 1994, he is Various free solutions allows us to use the BASIC language to develop one of the French editors of interpreted or compiled applications. LinuxFocus. _________________ _________________ _________________ Translated to English by: Georges Tarbouriech <gt(at)Linuxfocus.org> Introduction Even if it appeared later than other languages on the computing scene, BASIC quickly became widespread on many non Unix systems as a replacement for the scripting languages natively found on Unix. This is probably the main reason why this language is rarely used by Unix people. Unix had a more powerful scripting language from the first day on. Like other scripting languages, BASIC is mostly an interpreted one and uses a rather simple syntax, without data types, apart from a distinction between strings and numbers. Historically, the name of the language comes from its simplicity and from the fact it allows to easily teach programming to students. Unfortunately, the lack of standardization lead to many different versions mostly incompatible with each other. We can even say there are as many versions as interpreters what makes BASIC hardly portable. Despite these drawbacks and many others that the "true programmers" will remind us, BASIC stays an option to be taken into account to quickly develop small programs. This has been especially true for many years because of the Integrated Development Environment found in Windows versions allowing graphical interface design in a few mouse clicks. -
An ECMA-55 Minimal BASIC Compiler for X86-64 Linux®
Computers 2014, 3, 69-116; doi:10.3390/computers3030069 OPEN ACCESS computers ISSN 2073-431X www.mdpi.com/journal/computers Article An ECMA-55 Minimal BASIC Compiler for x86-64 Linux® John Gatewood Ham Burapha University, Faculty of Informatics, 169 Bangsaen Road, Tambon Saensuk, Amphur Muang, Changwat Chonburi 20131, Thailand; E-mail: [email protected] Received: 24 July 2014; in revised form: 17 September 2014 / Accepted: 1 October 2014 / Published: 1 October 2014 Abstract: This paper describes a new non-optimizing compiler for the ECMA-55 Minimal BASIC language that generates x86-64 assembler code for use on the x86-64 Linux® [1] 3.x platform. The compiler was implemented in C99 and the generated assembly language is in the AT&T style and is for the GNU assembler. The generated code is stand-alone and does not require any shared libraries to run, since it makes system calls to the Linux® kernel directly. The floating point math uses the Single Instruction Multiple Data (SIMD) instructions and the compiler fully implements all of the floating point exception handling required by the ECMA-55 standard. This compiler is designed to be small, simple, and easy to understand for people who want to study a compiler that actually implements full error checking on floating point on x86-64 CPUs even if those people have little programming experience. The generated assembly code is also designed to be simple to read. Keywords: BASIC; compiler; AMD64; INTEL64; EM64T; x86-64; assembly 1. Introduction The Beginner’s All-purpose Symbolic Instruction Code (BASIC) language was invented by John G. -
Statements and Functions
Statements and Functions The following statments and functions are found in ALL versions of the True BASIC Programming Language: ORDINARY STATEMENTS AND STRUCTURES: PROGRAM END LET DO Loop Structure EXIT DO LOOP FOR Loop Structure EXIT FOR NEXT SELECT CASE Structure CASE IF IF Structure ELSEIF ELSE END IF END SELECT CASE ELSE OTHER STATEMENTS: ASK FREE MEMORY DIM PAUSE RANDOMIZE REM STOP FOR LINE-NUMBERED PROGRAMS: GOSUB ON GOSUB GOTO ON GOTO RETURN TO SET VARIOUS OPTIONS: OPTION ANGLE OPTION NOLET OPTION ARITHMETIC OPTION TYPO OPTION BASE OPTION USING OPTION COLLATE True BASIC Functions and Statements — 1 INPUT AND OUTPUT STATEMENTS: DATA INPUT LINE INPUT MAT INPUT MAT LINE INPUT MAT PRINT MAT READ PRINT READ RESTORE ASK MARGIN SET MARGIN ASK ZONEWIDTH SET ZONEWIDTH FILE STATEMENTS: CLOSE #n ERASE #n INPUT #n: LINE INPUT #n: OPEN #n: RESET #n: PRINT #n: FUNCTIONS AND SUBROUTINES: CALL DECLARE DEF (FUNCTION) DEF DEF Structure EXIT DEF END DEF EXTERNAL LIBRARY LOCAL SUB Structure EXIT SUB END SUB FUNCTION FUNCTION Structure EXIT FUNCTION END FUNCTION DECLARE NUMERIC DECLARE STRING DECLARE SUB CHAIN GRAPHICS AND SOUND STATEMENTS: BOX AREA BOX CIRCLE BOX CLEAR BOX DISK BOX ELLIPSE BOX KEEP BOX LINES True BASIC Functions and Statements — 2 BOX SHOW CLEAR DRAW SOUND FLOOD PICTURE Structure EXIT PICTURE END PICTURE PLAY PLOT PLOT AREA PLOT LINES PLOT POINTS PLOT TEXT SET WINDOW SET TEXT JUSTIFY ASK BACK ASK COLOR ASK COLOR MIX ASK CURSOR ASK DIRECTORY ASK MAX COLOR ASK MAX CURSOR ASK MODE ASK NAME ASK PIXELS ASK SCREEN ASK TEXT JUSTIFY ASK -
Thomas E. Kurtz Professor of Mathematics and Computer
Thomas E. Kurtz Professor of Mathematics and Computer Science, Emeritus An Interview Conducted by Daniel Daily Hanover, New Hampshire June 20, 2002 July 2, 2002 DOH-44 Special Collections Dartmouth College Hanover, New Hampshire Thomas Kurtz Interview INTERVIEWEE: Thomas Kurtz INTERVIEWER: Daniel Daily PLACE: Hanover, NH DATE: June 20, 2002 DAILY: Today is June 20, 2002 and I am speaking with Professor Emeritus Thomas Kurtz. Professor Kurtz, one of the first questions I would like to ask is what brought you to Dartmouth and specifically the math department here? KURTZ: It was primarily the attraction of the geographical area. I was a graduate student at Princeton and, incidentally, at one point I lived less than a block from the Kemenys [John G. and Jean Kemeny], but I didnʼt know them down there because we were in different spheres. I think by that time he was a junior faculty member of philosophy and I was a lowly graduate student in mathematics. At any rate, in the summer of 1955, my first wife and I and our family came up to Hanover to visit people who we knew down at Princeton, particularly Bob [Robert] and Anita Norman who had moved up here. He had taken a position in the math department -- or was here for the summer at least -- and [J.] Laurie and Joan Snell, whom we knew quite well at Princeton. So we came up and spent a week…I donʼt know…and thought, “Gee, this is a lovely part of the country.” I had previously thought, “Well, obviously I am going to go out west where men are men and women are glad of it type of thing in the mountains." Then, I think it was about March of the year I was scheduled to finish my degree at Princeton and I had mentioned something about wanting to go to Dartmouth because one of my friends had said that Kemeny was in town recruiting. -
Fifty Years in Home Computing, the Digital Computer and Its Private Use(Er)S
International Journal of Parallel, Emergent and Distributed Systems ISSN: 1744-5760 (Print) 1744-5779 (Online) Journal homepage: https://www.tandfonline.com/loi/gpaa20 Fifty years in home computing, the digital computer and its private use(er)s Stefan Höltgen To cite this article: Stefan Höltgen (2020) Fifty years in home computing, the digital computer and its private use(er)s, International Journal of Parallel, Emergent and Distributed Systems, 35:2, 170-184, DOI: 10.1080/17445760.2019.1597085 To link to this article: https://doi.org/10.1080/17445760.2019.1597085 © 2019 The Author(s). Published by Informa UK Limited, trading as Taylor & Francis Group Published online: 26 Mar 2019. Submit your article to this journal Article views: 354 View related articles View Crossmark data Full Terms & Conditions of access and use can be found at https://www.tandfonline.com/action/journalInformation?journalCode=gpaa20 INTERNATIONAL JOURNAL OF PARALLEL, EMERGENT AND DISTRIBUTED SYSTEMS 2020, VOL. 35, NO. 2, 170–184 https://doi.org/10.1080/17445760.2019.1597085 Fifty years in home computing, the digital computer and its private use(er)s Stefan Höltgen Department for Musicology and Media Science, Humboldt University, Berlin, Germany ABSTRACT ARTICLE HISTORY The following chapter will discuss the relation between home computer his- Received 13 March 2019 tory and computer programming – with a focus on game programming. Accepted 16 March 2019 The nurseries of the early 1980s are the origins of the later computer game KEYWORDS industry and the private use of microcomputers becomes an essential part Homecomputer; computer of the ‘playful’ exploration and emancipation of technology.