Understanding Apple Basic 1983.Pdf

Total Page:16

File Type:pdf, Size:1020Kb

Understanding Apple Basic 1983.Pdf ~ :.9E UNDERSTANDING J.S.A / _/ APPLE® IAlll: Step-by-step Instruction for the Beginner An Alfred Handy Guide E:':] by Richard G. Peddicord UNDERSTANDING APPLE® BASIC by Richard G. Peddicord AN ALFRED HANDY GUIDE Computer Series Editor: George Ledin Jr. ~ ALFRED PUBLISHING CO., INC. ~ ~ SHERMAN OAKS, CA 91403 This Handy Guide is not a publication of Apple Computer Inc. and should not be used in lieu of the instruction manuals that accompany their products. All information regarding Apple computers may not be accurate or completely up to date. Editorial Supervision: Joseph W. Cellini Cover Design: Paula Bingham Goldstein Copyright © 1983 by Alfred Publishing Co. Inc. Printed in the United States of America All rights reserved. No part of this book shall be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information or retrieval system without written permission of the publisher. Alfred Publishing Co., Inc. 15335 Morrison St. PO Box5964 Sherman Oaks, CA 91413 Library of Congress Cataloging in Publication Data Peddicord, Richard G. Underst.anding Apple BASIC. (An Alfred Handy Guide) Bibliography: p. Includes index. 1. Apple .// (Computer)-Programming. 2. Basic (Computer program language). I. Title. QA76.8.A662P43 1983 001.64'2 83-15654 ISBN 0-88284-246-3 CONTENTS 1. INTRODUCTION • • . • • • • • • • • . • • • . • • . •. • . • 4 2. ABOUT YOUR APPLE ..•.••.•......•.•....• 5 3. A PRINTING CALCULATOR............... 9 4. LINE NUMBERS AND STATEMENTS • • • 12 5. VARIABLES AND ASSIGNMENT STATEMElfrS •••••••••••••••••••••..•••.•.••• 14 6. INPUTTING DATA FROM THE KEYBOARD • • • • • • • • • • • • • • • • • • • • • • • • • • • • • . • • • • • 16 7. READING DATA FROM YOUR PROGRAM ••••.•••••• ••••••.•••••• •. ••••.. •••• 18 8. A COMPUTERIZED SHOPPING LIST • • • 20 9. ARITHMETIC EXPRESSIONS • • • • • • . • • • • • 22 10. LOGICAL EXPRESSIONS • • . • . • • • • • • • • • • • 24 11. IF ••• THEN .~................................ 26 12. FOR • • • NEXT • • • • • • • . • . • . • • • • • • • . • • • • • 28 13. LOAN AMORTIZATION . • • . • . • • • • • • • . • • • . 31 14. MAGIC SUMS • . • • . • • • • • • • • • . • . • • . • • • . • 33 15. STRING VARIABLES . • . • . • . • . • • • . • 34 16. ONE-DIMENSIONAL ARRAYS • • • . • • • • . 36 17. ACCOUlfrS RECEIVABLE • . • • • • • • • • . • • • • • 38 18. BUBBLE SORTING . • . • • . • • • • • • . • • • . • . • . • 41 19. TWO-DIMENSIONAL ARRAYS • • • • • • • • • • . 43 20. LOW-RESOLUTION COLOR GRAPIDCS • • . • • . • . • . • • • . • . • • • 46 21. HIGH-RESOLUTION COLOR GRAPmcs • • • • • • • • • • • • • • . • • • . • • • • • 48 22. SYSTEM AND EDITOR COMMANDS . • . 50 23. DISK OPERATION • . • • • • • • • • • • • . • . • . • • • 51 24. SEQUENTIAL FILES • • • • • • • • • • . • • • • • • • • . • • • 53 25. WHERE TO GO FROM HERE • • • • • • • • • • • • • 56 26. BIBLIOGRAPHY • • • • . • • • . • • • . • • • • • • • • • • • • • • 57 27. INDEX • • . • . • • • • • • • • . • • • • • • • • • • • • . • . •• • • . • • 58 3 1. INTRODUCTION The Apple II computer continues to be one of the most popular microcomputers of all time. The version of BASIC that has become standard on these machines is called Appleso:ft BASIC, and it is one reason why the Apple is so popular. Appleso:ft BASIC lets you do things that other versions of BASIC do not, such as put many state­ ments on the same line, use long variable names, and omit certain parameters. Kids like it because it permits lots of variation, and because it is user-friendly. If you want to learn Applesoft BASIC, this Handy Guide is a good place to start. It is very important that you work the examples on an Apple computer and that you try some of the exercises. Otherwise you may for­ get, or never understand, some of the concepts. Many schools and libraries have one or more Apples. Phone around and ask if you can use one. Many computer stores have Apples, and perhaps even some of your friends have them. And of course you can always buy one. The important thing is to be able to use an Apple when you want to. 4 2. ABOUT YOUR APPLE A great variety of software and hardware are available for the Apple II computer, and its Applesoft BASIC has become one of the more flexible BASICs in operation today. THE SCREEN The Apple II features a high-resolution color screen of 280 columns and 196 rows, with six different colors (black, white, orange, pink, blue, and green) available for each pi:cel, or picture element. This is about the same resolution and color range as the personal game computers on the market today. It follows that you can program games on your Apple II. It is not possible to attain the same speed as these commercial programs, however, because you will be working in Applesoft BASIC, and the commercial programs are written in assembly language, which is faster because it's closer to the machine language itself. The low-resolution screen on the Apple II has 40 columns and 40 rows, and each pixel can be one of 16 different colors from black to white. The reason why you have more choice of color with the lower resolution has to do with the way the color TV signal is generated and how the color image is stored. HOOKING UP YOUR APPLE The configuration that has proven to be most cost effective and useful consists of an Apple II computer with one disk drive connected to a TV set via an RF modulator. The RF modulator converts the Apple's TV signal into the same kind of signal that the televi­ sion receiver is expecting. Most RF modulators for computers generate an output signal that is picked up on Channel 3 or 4. The first thing you must do before turning on the power is to check the connections on your system. Your Apple II computer has a power cord that plugs into the back (see Figure 2.1). Plug this into a grounded 115- volt AC circuit. If you try to use an ungrounded circuit, the manufacturer's warranty is void, and for good reason. Coming out of the Apple will be what looks like a hi-fi cable, and indeed it has the same kind of plug on the end, a so-called RCA phono plug. This plugs into a little metal box that attaches to your TV set antenna, and to your outside TV antenna. There will be a sliding switch on the box that switches power between the computer and the antenna. This arrange­ ment permits the family color TV set to be used as your Apple's output device. You may or may not have a disk drive connected to your Apple. If one is connected, so much the better. If one is not connected, do not attempt to connect one using only this Handy Guide. You must use the instruc­ tions supplied with the drive. You can, however, hook up your Apple II to a TV set and turn on the power to 5 Figure 2.1 Hooking up your Apple//. both. The Apple's power switch is located in the back on the far left. It is a rocker switch; push the top part in to turn the power on. The power light in the lower left corner of the keyboard will come on. THE KEYBOARD A diagram of the Apple II keyboard is shown in Figure 2.2. Your first step is to try out a few of the essential keys. The RESET key is most useful. Try it. You will hear a bleep from the Apple's speaker and the flashing square cursor will be immediately to the right of the Applesoft prompt character, ] . Whatever pro­ gram you were working on will still be in memory, and whatever shapes you had entered will still be there. In other words, no real harm is done if you press RESET. The SHIFT key works the same as in a type­ writer: hold it down while you strike a key; the upper­ case version of the character will be sent to the central processing unit. In Applesoft, you enter characters one at a time and then press RETURN. Until you press RETURN, the machine has no idea what you have typed in. There­ fore you can make all the corrections you want to a line before sending it centrally. The arrow or cursor keys (on the right side of the keyboard) are extremely useful 6 ~ i' t.:> Resets system ~ I Causes repetition of ~ <t> any key held down I ~ Returns to beginning 'E.. of new line <t> I ::.::::: Hold down while striking Moves right past another key. Nothing will characters ~C"' appear on screen, but I 0 special character will be ---Moves left past ~ sent centrally characters Press for upper case POWER I 48 K I -.l in making corrections, since they move the cursor across text on the screen without changing it. Only when you press another key will the indicated change be made. You will use these keys often. If you want to move the cursor over many char­ acters, you can hold down the repeat key (REPT) while you hold down one of the arrow keys. This same REPT key will cause any character to be repeated. Some commands that you should be aware of are listed below: HOME Clears text and moves cursor to top left. DEL Put beginning line number after DEL, then a comma, then the ending line number. Every line from begin to end will be DELeted from program. LIST Lists your program. RUN Runs your program. PR#l Enables printer in slot 1. PR#6 Enables disk drive in slot 6. PR#O Disables printer. EXERCISES 1. Play follow the leader with us. Simply do each thing listed below as many times as indicated: a. Press RESET 3 times b. Press SPACE BAR 2 times c. Press RETURN 1 time d. Press your nose 1 time e. Press letter M 10 times f. Press left arrow(+-) 10 times g. Type PRINT ''GOTCHA'' 1 time h. Press RETURN 10 times 8 3. A PRINTING CALCULATOR Applesoft BASIC has a feature that is quite use­ ful ifyou have some arithmetic calculations to perform. Basically all you have to do is type the word PRINT I followed by an arithmetic expression that the machine can understand, hit RETURN, and the machine will give you the correct answer.
Recommended publications
  • DOCUMENT RESUME Basic Programming II
    DOCUMENT RESUME ED 280 432 IR 012 568 TITLE Basic Programming II: Course Guide; Revised Edition; INSTITUTION Hawaii State Dept; of Education; Honolulu; Office of Instructional Services; REPORT NO RS-86-9863 PUB DATE Jun 86 NOTE 205p; PUB TYPE Guides Classroom Use Guides (For Teachers) (052) Computer Programs (101) Reports Descriptive (14I) EDRS PRICE MFOI/PC09 Plus Postage; DESCRIPTORS Business Education; Classification; Computer Graphics; *Computer Literacy; Computer Science Education; Course Descriptions; *Course Objectives; Ethics; *Learning Activities; Mathematics Instruction; *Microcomputers; *Programing; Programing Languages;_Resource Materials; Secondary Education; State Curriculum Guides; *Teaching Methods IDENTIFIERS *BASIC Programing Language ABSTRACT This guide is designed to provide teachers with guidelines and suggested activities for teaching a one-semester advanced programming course7-BASIC Programming II--for the ninth through twelfth gradesAlthough primarily oriented toward _ mathematics_the guide does offer sample applications in_business that also_address the needs of students with_a variety of_academic_ backgrounds._Intended to serve as a framework of goals and activities upon which the teacher can organizei_build, and expand his or her course, the_guide provides a course description, course requirements, a course outline, a syllabus, course management considerations, sample_activities and programs, and suggested resources. The activities include teaching strategies for introducing_concepts, developing specific skills,
    [Show full text]
  • David T. Craig 941 Calle Mejia # 509, Santa Fe, New Mexico 87501 Home (505) 820-0358 Compuserve 71533,606
    ------------------------------------------------------- David T. Craig 941 Calle Mejia # 509, Santa Fe, New Mexico 87501 Home (505) 820-0358 CompuServe 71533,606 ------------------------------------------------------- Mr. Jef Raskin 8 Gypsy Hill Pacifica CA 94044 Re: Canon Cat and SwyftCard information Dear Mr. Raskin: Enclosed is a photocopy of the Canon Cat article that I wrote for the Historical Computer Society. The printed article is much better than the draft that you saw. Thanks for your help. Unfortunately, I was unable to obtain copies of all of your various articles concerning the Cat and Information Appliance. I did finally receive your LEAP paper from my local public library via inter-library loan, but the library could not locate your Venture Vulture paper. I received the LEAP paper after I had sent the final Cat paper for publication so was not able to correctly document LEAP's technology. In an e-mail to me from at least a month ago you said that if I sent you an envelope large enough for a SwyftCard and return postage that you would send me one. Please use the envelope that I've sent this letter in for this purpose. You should also find here self-sticking stamps for the postage and a mailing label with my mailing address. I would also very much like, if possible, to obtain a user's manual for the SwyftCard. From your comments in Microsoft's book Programmers at Work this manual seems to be very well written. There is no rush in returning this envelope so please take your time. I am slowly updating my Cat paper to add a correct description of LEAP and more information about the people behind the Cat and its hardware and software.
    [Show full text]
  • Retrocomputer Magazine
    Jurassic News Retrocomputing: Buon compleanno tre scuole di Spectrum! pensiero, un solo movimento C R La storia del BASIC A Y 1 Le mostre Torino: Steve Jobs 1955-2011 Bertiolo 2012 Apple Club: il miniBASIC Trento: Era domani Retrocomputer Magazine Anno 7 - Numero 41 - Maggio 2012 Collophon I dati editoriali della rivista Jurassic News Jurassic News Rivista aperiodica di Retrocomputer Jurassic News Coordinatore editoriale: Tullio Nicolussi [Tn] E’ una fanzine dedicata al retro- Redazione: computing nella più ampia accezione del [email protected] termine. Gli articoli trattano in generale dell’informatica a partire dai primi anni Hanno collaborato a questo numero: ‘80 e si spingono fino ...all’altro ieri. Besdelsec [Bs] Lorenzo [L2] La pubblicazione ha carattere Sonicher [Sn] puramente amatoriale e didattico, tutte Salvatore Macomer [Sm] Lorenzo Paolini [Lp] le informazioni sono tratte da materiale Giovanni [jb72] originale dell’epoca o raccolte su Internet. Antonio Tierno Cecilia Botta Normalmente il materiale originale, Moira Bertolini anche se “giurassico” in termini Felice Pescatore informatici, non è privo di restrizioni di Luca Papinutti utilizzo, pertanto non sempre è possibile Damiano Cavicchio Massimo Cellini riportare per intero articoli, foto, schemi, listati, etc…, che non siano esplicitamente Diffusione: liberi da diritti. La rivista viene diffusa in formato PDF via Internet agli utenti E’ possibile che parti del materiale registrati sul sito: pubblicato derivi da siti internet che non sono citati direttamente negli articoli. www.jurassicnews.com. Questo per la difficoltà di attribuzione del Contatti: materiale alla fonte originale; eventuali [email protected] segnalazioni e relative notifiche sono benvenute. Copyright: I marchi citati sono di copyrights La redazione e gli autori degli dei rispettivi proprietari.
    [Show full text]
  • QUICK REFERENCE CARD an Error Message Is Given If a DOS Command INIT X [,Vv] [,Ss] [,Dd] Quantity Is Too Large Or Too Small
    DOS COMMAND PARAMmRS HOUSEKEEPING COMMANDS QUICK REFERENCE CARD An error message is given if a DOS command INIT X [,Vv] [,Ss] [,Dd] quantity is too large or too small. Initializes a blank diskette to form a slave On this card, DOS commands are grouped into diskette. Assigns greeting program name X these 5 categories: and volume number v (if specified). SAVEs ALL FILES the BASIC program currently in memory, under Housekeeping commands: file name X. INIT LOAD DELETE VERIFY MAXFILES Parameter As shown Min Max CATALOG RUN LOCK MON Slot SAVE RENAME UNLOCK NOMON ,Ss S1 S7 Drive ,Dd D1 D2 CATALOG [, Ss] [,Dd] Displays volume number and all files on a Volume ,Vv V0 V254 Access Commands: * diskette, with each file's type and sector FP INT PRil INil CHAIN * Using v0 is like omitting the Vv parameter. length. * indicates a LOCKed file. the diskette's volume number is ignored. • Sequential Text File Commands: Type Description (How created) OPEN READ APPEND EXEC Smallest volume number INIT will actually assign to a diskette is 1. I Integer BASIC program file (SAVE) CLOSE WRITE POSITION A Applesoft BASIC program file (SAVE) T Text File (OPEN, then WRITE) Random-Access Text File Commands: SEQUENTIAL TEXT FILES B Binary memory-image file (BSAVE) OPEN CLOSE READ WRITE Parameter Machine-Language File Commands: As shown Min Max Byte SAVE X [,Ss] [,Dd] [,Vv] BLOAD BRUN BSAVE ,Bb Bill B32767 Relative Field * ,Rp Rill R32767 Stores current BASIC program onto diskette, under file name X. Overwrites any previous NOTATION AND SYNTAX * With EXEC, always relative to field Ill.
    [Show full text]
  • Enhancing Applesoft Using Ampersand Routines
    Behavior Research Methods, Instruments, & Computers 1988, 20 (2), 224-230 Enhancing Applesoft using ampersand routines DOUGLAS B. EAMON University of Wisconsin-Whitewater, Whitewater, Wisconsin Machine language routines, which can provide many useful and unusual applications for BASIC, run faster than BASIC and usually occupy less memory than comparable BASIC routines. Ex­ amples of two types of easy-to-use enhancements to Applesoft BASIC are described. The first type consists of integrated collections of enhancements and extensions that are used as a group. A second type allows program developers to select only those routines that are desired. Features available in several sets of such routines are discussed. Applesoft BASIC's ampersand (&) jump feature gives tor or BLOADing the routines each time the program is the programmer an easy and fast way to connect machine run). language routines to BASIC. When the Applesoft inter­ There are two major approaches to development of preter encounters an "&," it does an immediate and un­ commercially available ampersand utilities. In the first, conditional jump to location $3F5 (decimal 1013). This the routines are provided as an integrated and insepara­ feature, originally described as being "intended for the ble collection. A second approach is to provide routines computer's internal use only" and "not a proper that may be individually selected and added to programs. APPLESOFT command" (Apple Computer, 1978, The major advantage ofthe first approach is that it is pos­ p. 123), has become the favorite procedure for execut­ sible to provide many functions with less memory, since ing machine language routines from a running Applesoft the utilities usually share subroutines.
    [Show full text]
  • Automated Malware Analysis Report for $06A896BA.Xls
    ID: 191155 Sample Name: $06A896BA.xls Cookbook: defaultwindowsofficecookbook.jbs Time: 00:38:32 Date: 21/11/2019 Version: 28.0.0 Lapis Lazuli Table of Contents Table of Contents 2 Analysis Report $06A896BA.xls 4 Overview 4 General Information 4 Detection 4 Confidence 4 Classification 5 Analysis Advice 5 Mitre Att&ck Matrix 6 Signature Overview 6 Networking: 6 System Summary: 6 Hooking and other Techniques for Hiding and Protection: 6 HIPS / PFW / Operating System Protection Evasion: 6 Behavior Graph 7 Simulations 7 Behavior and APIs 7 Antivirus, Machine Learning and Genetic Malware Detection 7 Initial Sample 7 Dropped Files 7 Unpacked PE Files 7 Domains 7 URLs 8 Yara Overview 8 Initial Sample 8 PCAP (Network Traffic) 8 Dropped Files 8 Memory Dumps 8 Unpacked PEs 8 Sigma Overview 8 Joe Sandbox View / Context 8 IPs 8 Domains 8 ASN 8 JA3 Fingerprints 8 Dropped Files 8 Screenshots 9 Thumbnails 9 Startup 9 Created / dropped Files 9 Domains and IPs 9 Contacted Domains 10 URLs from Memory and Binaries 10 Contacted IPs 10 Static File Info 10 General 10 File Icon 10 Static OLE Info 10 General 10 OLE File "$06A896BA.xls" 10 Indicators 10 Summary 11 Document Summary 11 Streams 11 Stream Path: \x5DocumentSummaryInformation, File Type: data, Stream Size: 4096 11 General 11 Stream Path: \x5SummaryInformation, File Type: data, Stream Size: 4096 11 General 11 Stream Path: Workbook, File Type: Applesoft BASIC program data, first line number 16, Stream Size: 15728 11 General 11 Copyright Joe Security LLC 2019 Page 2 of 13 Network Behavior 12 Code Manipulations
    [Show full text]
  • Using an Apple II Microcomputer for Real-Time Control in a Behavioral Laboratory
    Behavior Research Methods & Instrumentation 1983, Vol. 15(2),158-166 SESSION IV TECHNICAL ISSUES IN SYSTEM DESIGN STUDENT COMPETITION AWARD Using an Apple II microcomputer for real-time control in a behavioral laboratory WINFORD A. GORDON, DON FOREE, and DAVIn A. ECKERMAN University ofNorth Carolina, ChapelHill, North Carolina 27154 This report describes the hardware and software developed to implement an Apple II (48 KB) as a real-time control device for operant experiments. The hardware has a straightforward design, so that it is readily understandable and can be built by individuals with only minimal experience in the use of integrated circuits and other electronic components. The software routines listed below represent an approach to controlling and handling the data generated by an operant experiment. Using these routines, we are able to record each response and experi­ mental event, the time of the occurrence, and the conditions at that time. The advent of microprocessor systems has made THE INTERFACE EXPANSION real-time computer control broadly available. Yet, lack­ ing the electronic skills needed to interface a micro­ The first element in the system is the AIO serial­ processor with laboratory equipment, many researchers parallel interface card, which has two 8-bit parallel are reluctant to implement a computer control system. ports and two serial ports. Since we do not use the Commercially produced hardware and software systems serial ports in this application, the expansion circuit are available, but the cost of these systems is often could be adapted to any device that provides two prohibitive. We have developed a control system that is 8-bit parallel ports.
    [Show full text]
  • Apple Confidential 2.0 the Definitive History of the World's Most Colorful
    vi Reviewers love Apple Confidential “The Apple story itself is here in all its drama.” New York Times Book Review “An excellent textbook for Apple historians.” San Francisco Chronicle “Written with humor, respect, and care, it absolutely is a must-read for every Apple fan.” InfoWorld “Pretty much irresistible is the only way to describe this quirky, highly detailed and illustrated look at the computer maker’s history.” The Business Reader Review “The book is full of basic facts anyone will appreciate. But it’s also full of interesting extras that Apple fanatics should love.” Arizona Republic “I must warn you. This 268-page book is hard to put down for a MacHead like me, and probably you too.” MacNEWS “You’ll love this book. It’s a wealth of information.” AppleInsider “Rife with gems that will appeal to Apple fanatics and followers of the computer industry.” Amazon.com “Mr. Linzmayer has managed to deliver, within the confines of a single book, just about every juicy little tidbit that was ever leaked from the company.” MacTimes “The most entertaining book about Apple yet to be published.” Booklist i …and readers love it too! “Congratulations! You should be very proud. I picked up Apple Confidential and had a hard time putting it down. Obviously, you invested a ton of time in this. I hope it zooms off the shelves.” David Lubar, Nazareth, PA “I just read Apple Confidentialfrom cover to cover…you have written a great book!” Jason Whong, Rochester, NY “There are few books out there that reveal so much about Apple and in such a fun and entertaining manner.
    [Show full text]
  • Call-A.P.P.L.E. Magazine 1978-11/12
    • • APPLE PUGETSOUND PROGRAM LIBRARY EXCHANGE NOVEMBER-DECEMBER 1978 $1.00 Vol. 1, No. 10 6708 39th Avenue S. W. Seattle, Washington 98136 (206) 932-6588 BYTES from the APPLE Val J. Golding, President (206) 932-6588 Software Stuff, etc., etc., etc., etc., etc., etc., etc., etc., etc., etc., etc., Michael Thyng, Secretary (206) 524-2744 Dick Hubert, Administrative Asst. (206) 255-7410 by Val J. Golding Darrell Aldrich, Program Editor (503) 581-8600 Ron Aldrich, Asst. Prgm. Editor (206) 782-7082 The BIG NEWS for this issue is APPLESOFT WORKSHOP is here! Bob Huelsdonk, Technical Consultant, Basic (206) 362-4910 The cost is S6.41 postpaid, and orders will be accepted, subiect to the Don Wdliams, Technical Consultant, Assembly (206) 242-6807 following conditions: This preliminary version w~1 be updated several Steve Paulson, Circulation (206) 242-2700 times over the next few months. Updates will be ava~able at $2.00 postpaid. This version is disk-dependent in that it requires disk for certilin routines, including Append. Every attempt has been made to debus it, but IN THIS ISSUE •••••••••••••••••• Page some may stiR remain. Please allow 30 days for delivery on this and the other new Library Paks. Bytes from the Apple. 1 LO-RES Color Assembly Routines ..................... 2 tibrary Paks 3 and 4 are expected to be available by the time you Checkbook Patches for Disk. 5 . "ad this. Pak 3 will contain Home E~ak 1, Musit;pak 1 and more games. Use of the Game Paddles . 5 Pak 4 wit contain a complete financial program, arnortzation, etc., along Write-Apple ..................................
    [Show full text]
  • Download Better Developer
    Tonight we’re going to talk about how to be a better developer. I’m going to share a bit of my personal journey, some of the practices that I’ve found to be useful, and some tips that you may be able to use. Image credit: Flickr user jichikawa 1 I started programming in 1982 when my parents purchased my first computer. It was a ZX81. The standard model (as shown) came with 1KiB of memory … I had an expansion pack with a whole 16KiB. --- But my parents were mean. They wouldn’t buy me any games to play. 2 Instead, they bought me the Sinclair Learning Lab, a course in learning to program Sinclair Basic So I figured I’d make my own games. --- As an aside – the ZX81 used audio cassette tapes for storage. 3 At High School, many hundreds of hours working with Apple //e machines. Applesoft Basic, 6502 assembly language, USCD Pascal and lots and lots of games. 4 I went to Canterbury University and with a degree in Computer Science. 5 I’ve worked for Apple as a hardware service technician. 6 In 1997 I started my career as a full time professional software developer, working with Borland Delphi . 7 Then in 2004 I moved into the world of C# and .NET 8 9 I’ve been programming in some form for 33 years. I’ve been doing it professionally for 18 years. 10 Shouldn’t I be good at it by now? 11 Shouldn’t I at least *think* that I’m good at it? --- Fact is, just a few years ago, I felt like a muppet.
    [Show full text]
  • For the APPLE Iigs
    for the APPLE IIGs TML BASIC for theApple IIGs is the STRUCTURED PROGRAMMING language you have been waiting for! TML SUPPORT BASIC is a complete programming en­ vironment combining an amazingly fast TML BASIC has a variety of advanced 16-bit BASIC compiler and a fully in­ statements and features similar to those tegrated mouse-based, multi-window found in high-level languages like Pascal and C. By making structured programming editor with pull-down menus. We've also easy, TML BASIC programs are both added numerous structured programming easier to write andeasierto maintain. Older features while, of course, providing COM­ BASIC features like line numbers and PLETE access to all of the Apple IIGs GOTO's are simply not needed. Toolbox functions. v Implements advanced statements like DO/WHILE/UNTIL, IF/THEN/ELSE, ADVANCED INTEGRATED EDITOR PROGRAMMING THE PRINT USING, INPUT USING, and more. APPLE 1/Gs TOOLBOX The TML BASIC editor is integrated with the compiler to make your programming as v Subprograms may be called by name Most important of all - TML BASIC lets and passed parameters. Full recursion ast and efficient as possible. you program using the Apple IIGs Toolbox is supported! ROM. TML BASIC comes equipped with v Use the mouse for sophisticated cut, predefined libraries providing complete v Supports true local and global variable copy and paste editing. access to everyToolbox routine - Super hi­ usage. res graphics, Sound, Menus, Windows, v Exact location of detected errors is high­ etc. And new statements like MENUDEF, v Alphanumeric labels are supported. EVENTDEF, and TASKPOLL are pro­ lighted by the editor.
    [Show full text]
  • Atari Microsoft BASIC II Manual
    - Reference Manual : ATARI MICROSOFT BASIC II* ATARI® MICROSOFT BASIC INSTRUCTIONS - ABS 47 INKEY$ 49 RAMDOMIZE 42 AFTER 26 INPUT 31 READ 43 - ASC 48 INPUT . .. AT 31 REM 43 ATN 47 INSTR 49 REN UM 23 - AUTO 18 INT 47 RESTORE 44 CHA$ 48 KILL 20 RESUME 44 - CLEAR 26 LEFT$ 49 RETURN 45 CLEAR STACK 26 LEN 49 RIGHT$ 49 - CLOAD 18 LET 31 AND 47 CLOSE 27 LINE INPUT 32 RUN 24 - CLS 60 LINE INPUT... AT 32 SAVE 24 COLOR 57 LIST 20 SAVE ... LOCK 24 - COMMON 27 LOAD 21 SCAN$ 50 CONT 19 LOCK 22 SETCOLOR 59 - cos 47 LOG 47 SGN 48 CSAVE 19 MERGE 22 SIN 48 - DATA 43 MID$ 49 SOUND 64 DEF 27 MOVE 32 SOR 48 - DEFSNG 12 NAME . .. TO 22 STACK 45 DEF DBL 13 NEW 23 STATUS 52 - DEF INT 12 NEXT 32 STOP 45 DEFSTR 14 NOTE 33 STA$ 50 - DEL 19 ON ERROR 33 STRING$(n,A$) 50 DIM 28 ON ... GOSUB 34 STRING$(n,M) 50 - DOS 20 ON ... GOTO 34 TAN 48 END 29 OPEN 35 TIME 53 - EOF 51 OPTION BASE 36 TIME$ 51 ERL 51 OPTION CHA 36 TROFF 25 - ERR 51 OPTION PLM 37 TRON 25 ERROR 29 OPTION RESERVE 37 UNLOCK 25 - EXP 47 PEEK 52 USA 54 FILL 60 PLOT 59 VAL 51 - FOR ...TO .. .STEP 29 PLOT .. .TO 59 VARPTR 45 FRE(O) 52 POKE 52 VERIFY 25 - GET 29 PRINT 37 WAIT ... AND 46 GOSUB 30 PRINT ... AT 38 +(Concatenation) 48 _ GOTO 30 PRINT ... SPC 38 ! (Remark) 43 GRAPHICS 56 PRINT .
    [Show full text]