Enhancing Applesoft Using Ampersand Routines

Total Page:16

File Type:pdf, Size:1020Kb

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. The disadvantages program. are that the programmer must always include the entire Location $3F5 and the 2 bytes that follow are known set of routines (or preselected subsets), even if not all are as the ampersand jump vector. Since the location is in used, and that it is difficult to extend a collected set if RAM, it can be easily modified; that is, it is possible to additional routines are desired. The second approach, us­ place into these locations a IMP (jump) to any location ing individually selected utilities, may be preferable when in memory. If the new location contains a machine lan­ only a few routines are needed or when routines from guage routine followed by an RTS (return from subrou­ different sources may be desired. The disadvantages of tine), the routine will be executed and return control to adding separate routines are that they usually require the Applesoft statement following the "&." The "&" somewhat more memory and that special programs are is faster, shorter, and easier to use than other ways to use needed to add them to the BASIC program. machine language routines from Applesoft. Many routines that use this vector (called ampersand INTEGRATED PACKAGES routines) are available to extend and modify Applesoft. For example, there are routines that replace the missing Blankenship BASIC PRINT USING command (Bongers, 1982), GOTO and Blankenship's BBASIC (Blankenship, 1984) is designed GOSUB named routines (Sander-Cederlof, 1983), time to provide a modular structured BASIC for the Apple. responses and intervals (Sanmartin, 1987), insert and de­ It both modifies and supplements Applesoft as a language, lete rows or columns into an array (Nick, 1987), provide providing REPEAT-UNTIL, WHILE-ENDWHILE, in-line editing ofstrings using word-processor-like com­ IF-THEN-ELSE, CASE, PERFORM named subroutine, mands (Smith, 1985), and so on. In addition to enhanc­ PRINT.USING, SWAP, SEARCH array, INSTR$, ing Applesoft as a language, ampersand routines can pro­ DEL.ARRAY, SORT, INKEY,INLINE, and other state­ vide functions not typically found in high-level languages ments. Graphics capabilities include BOX and BOXFILL (e.g., in-line editing). The routines are also faster than and a very general DRAW.USING command, which ac­ Applesoft routines and usually require less memory than cepts as input a character string. (Each character of the comparable Applesoft statements. string causes the cursor to move in one of eight direc­ This paper describes a number of useful routines and tions, with or without plotting.) collections of general interest, and provides information A special VECTOR address command allows the user on how several ampersand routines can be easily con­ to specify an address to which the program will jump if nected to an Applesoft program to be LOADed and it encounters an ampersand command not recognized by SAVEd along with the program in a "transparent" way BBASIC. This is designed to allow other ampersand com­ (i.e., without POKEing values to the ampersand jump vee- mands to be used with BBASIC. Reprints may be requested from the author at the Department of Psy­ The system also includes a program editor that LISTs chology, Universityof Wisconsin-Whitewater, Whitewater,WI 53190. programs with loops and IF statements indented for read- Copyright 1988 Psychonomic Society, Inc. 224 ENHANCING APPLESOFT 225 ability. Although BBASIC's commands are implemented LISTING 1 by ampersand jumps, no ampersands appear when a pro­ Portion of Program Written in BASIC Demonstrating gram is listed; listings are thus uncluttered and easy to Various Structured Programming Commands follow. All program segments are procedures; no line 1000 COMPILE numbers are referenced or needed (GOTO line number 1010 HGR is not supported). 1020 DIM WSIZE(S,S) Listing I shows a portion of a BBASIC program that 1030 WL= O:WR = 39:WT = O:WB = 23 1040 HOME saves and restores selected portions ofscreen '<windows" 10S0 WNUM= 0 to disk; an example of a screen display produced by the 1060 PRINT spec 14)"WINDOW DEMO" program is shown in Figure I. Although the text in 1070 REPEAT Figure 1 is in uppercase letters, BBASIC also allows 1080 VTAB 3: HTAB 1 lowercase text to be printed on the graphics screen. 1090 PRINT "HOW MANY WINDOWS "j 1100 INLINE A$:N = VAL (A$) The required COMPILE command in Listing 1 causes 1110 UNTIL N < 6 BBASIC to construct a table of addresses of the proce­ 1120 HOME dures defined; use of this table provides much faster pro­ 1130 FOR I = 1 TO N gram execution than would be obtained if the program 1140 PERFORM "GET WINDOW" neededto besearched for the procedures whenever a PER­ 11S0 PERFORM "OPEN WINDOW" 1160 PRINT "THIS IS WINDOW NUMBER "iI FORM command was encountered. Other commands are familiar to users of structured BASICs. 1170 INPUT "PRESS RETURN TO CONTINUE" There are two versions ofBBASIC. The standard ver­ iA$ sion, called simply BBASIC,locates itself in the low end 1180 NEXT I of memory and moves the Applesoft program above high­ 1190 FOR I = 1 TO N resolution graphics page I (HGRI). Since many longer 1200 INPUT "PRESS RETURN"jA$ programs overwrite this memory area, they are commonly moved above HGRI, and the space below the graphics 1240 DEFINE "WINDOW ROUTINES" memory area would be unused anyway. BBASIC is com­ patible with programs that can move DOS 3.3 to a lan­ 12S0 DEFINE "GET WINDOW" guage card (e.g., Basham, 1982), so the space occupied 1260 HCOLOR= 0 by BBASIC (about 8000 bytes) can be recovered in this 1270 BOXFILL WL * 7 ,WT * 8 ,WR * 7 ,W B * 8 way. 1280 REPEAT An alternate version ofBBASIC, called BBASIC.MM 1290 A= - 1:B ~ A:C = A:D A (the '<MM" means "maximum memory"), locates the 1300 REPEAT Applesoft program at the beginning of HGRI memory; 1310 VTAB WT + 1 this allows recovery of the 8000 bytes needed for high­ 1320 HTAB WL + 1 resolution graphics displays but, obviously, does not allow 1330 PRINT "LEFT (0-36) "i 1340 INLINE A$:A = VAL (A$) high-resolution graphics to be used. Neither version of 13S0 UNTIL A > - 1 AND A ( 37 BBASIC supports high-resolution graphics page 2. 1360 REPEAT BBASIC includes 46 new Applesoft commands, an edi­ 1370 VTAB WT + 2 tor, and a renumbering facility. Editing commands ad- 1380 PRINT "RIGHT ("A + 3"-39) ".I 1390 INLINE A$:B = VAL (A$) 1400 UNTIL B > 1 AND B ( 40 AND B - A ) 2 1410 REPEAT 1420 VTAB WT + 3 Note-Substantial portions of the actual program are missing from this listing. TH IS IS· \.j HmOH Nur'1BEF: 2 F'F:ESS PETUF:tl TO corn ItlUE_ here to the modular structured philosophy: to edit a por­ tion of the program, the user enters EDIT "NAME," where NAME is the name of a procedure. BBASIC's LIST command functions similarly. Blankenship also has written a character editor Figure 1. Reproduction of a grapbic:s screen generated by thepro­ (Blankenship, 1985a) and a program that concatenates gram shown in Listing 1. The screen is distorted vertically; the ac­ many program statements on a single line to conserve tual appearance of tbe screen shows more space between the lines. memory (Blankenship, 1985b). 226 EAMON BBASIC's 12-page instruction manual is printed on windows, and an interesting and useful DISK GOSUB brown paper in tiny print (to discourage photocopying) command that executes a subroutine on disk and returns and consists mostly of a simple list of the commands avail­ to the calling Applesoft program in memory. able. A separate book may be obtained that describes TERC commands are identified by preceding them with structured programming with BBASIC (Blankenship, a single quote; for example, 'GOSUB HELP [A$] passes 1986). BBASIC is available for either DOS 3.3 or the variable A$ to the subroutine HELP. Since the am­ ProDOS. persand is not used to interface TERC, no difficulties arise with the use of ampersand commands, and no command Short Cuts is therefore provided to reset the ampersand jump vector. ShortCuts (Puckett, 1983) provides a collection of over Like BBASIC, TERC locates itself in the low end of 30 ampersand routines, including protected INPUT, memory and moves the Applesoftprogram above the high­ PRINT USING, several print justification commands, a resolution graphics area.
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]
  • 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]
  • The Language List - Version 2.4, January 23, 1995
    The Language List - Version 2.4, January 23, 1995 Collected information on about 2350 computer languages, past and present. Available online as: http://cui_www.unige.ch/langlist ftp://wuarchive.wustl.edu/doc/misc/lang-list.txt Maintained by: Bill Kinnersley Computer Science Department University of Kansas Lawrence, KS 66045 [email protected] Started Mar 7, 1991 by Tom Rombouts <[email protected]> This document is intended to become one of the longest lists of computer programming languages ever assembled (or compiled). Its purpose is not to be a definitive scholarly work, but rather to collect and provide the best information that we can in a timely fashion. Its accuracy and completeness depends on the readers of Usenet, so if you know about something that should be added, please help us out. Hundreds of netters have already contributed to this effort. We hope that this list will continue to evolve as a useful resource available to everyone on the net with an interest in programming languages. "YOU LEFT OUT LANGUAGE ___!" If you have information about a language that is not on this list, please e-mail the relevant details to the current maintainer, as shown above. If you can cite a published reference to the language, that will help in determining authenticity. What Languages Should Be Included The "Published" Rule - A language should be "published" to be included in this list. There is no precise criterion here, but for example a language devised solely for the compiler course you're taking doesn't count. Even a language that is the topic of a PhD thesis might not necessarily be included.
    [Show full text]