ebook img

Compute!’s first book of IBM PDF

338 Pages·1985·52.754 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Compute!’s first book of IBM

.I J I I I - - COMPUTE!'s FIRST BOOK OF I I " I ~ L 11 \I \ L CJ CJ I I ~ L CJ I / L=> v .. I CJ I CJc-.JCJ ~ CJ CJ CJ \.::J c=J 11 71 I 0 I v 11 / I I I 22~e~!~[~ublications,lnc.9 Greensboro, North Carolina The following articles were originally published in COMPUTE! magazine, copyright 1984, COMPUTE! Publications, Inc.: "PC Monochrome Graphics" (November); "IBM Personalized Form Letters" (December). The following articles were originally published in COMPUTE!'s PC & PCjr magazine, copyright 1984, COMPUTE! Publications, Inc.: "Martian Prisoner" (March); "Spelling Bee" (March); "The 8088 Microprocessor: Brains of PC & PCjr" (March); "Word Hunt" (March); "Choosing a Display for your PC/PCjr" (April); "Getting Started with a Disk Drive" (April); "The Screen Machine: Graphics Made Easy" (April); "Aardvark Attack" Oune); "Gradebook" Oune); "Munchmath" Oune); "Notemaker" Oune); "PC/PCjr PEEKs and POKEs" Oune); "States and Capitals Tutor" Oune); "Beginning BASIC: READ, DATA, and RESTORE" Ouly); "Calendar Maker" (July); "Custom Characters" Ouly); "Customizing the Func tion Keys" Ouly); "Laser Barrage" Ouly); "Bowling Champ" (August); "Quickversi" (August); "Simplified Date and Time" (August); "Super Directory" (August); "BASIC Hints" (September-originally titled "Beginning BASIC: Variables, Arrays, and PRINT Using"); "Experiments in Machine Language" (September); "TERMPlus" (September); "Creating Animation with PUT and GET" (October-originally titled "Animation Made Easy"); "Sculpt-a-Shape Graphics Editor" (October). The following articles were originally published in COMPUTE! magazine, copyright 1985, COMPUTE! Publications, Inc.: "IBM Rebound" (February); "IBM BASIC's Undocumented SHELL Command" (April); "Home Financial Calculator" (May); "IBM Disk Rx" (May); "Unlocking IBM BASIC Programs" Oune); "Chess" (September). Copyright 1985, COMPUTE! Publications, Inc. All rights reserved Reproduction or translation of any part of this work beyond that permitted by Sections 107 and 108 of the United States Copyright Act without the permission of the copyright owner is unlawful. Printed in the United States of America 1098765432 ISBN 0-87455-010-6 The authors and publisher have made every effort in the preparation of this book to insure the ac curacy of the programs and information. However, the information and programs in this book arc sold without warranty, either express or implied. Neither the authors nor COMPUTE! Publica tions, Inc., will be liable for any damages caused or alleged to be caused directly, indirectly, in cidentally, or consequentially by the programs or information in this book. COMPUTE! Publications, Inc., Post Office Box 5406, Greensboro, NC 27403, (919) 275-9809, is one of the ABC Publishing Companies and is not associated with any manufacturer of personal computers. IBM PC, PC XT, and PCjr are trademarks of International Business Machines, Inc. Contents Foreword . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v Chapter 1. Getting More from Your IBM . . . . . . . . . . . . . 1 Simplified Date and Time Michael A. Covington . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Choosing a Display for Your PC/PCjr Ottis R. Cowper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Getting Started with a Disk Drive Patrick Parrish . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Super Directory Charles Brannon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 TERMPlus: Upload and Download with Cartridge BASIC Dale McBane and Jeff Hamdani . . . . . . . . . . . . . . . . . . . . . . . . 29 Disk Rx Michael A. Covington . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Chapter 2. Recreation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 Martian Prisoner Alan Poole / Translation by Gregg Peele . . . . . . . . . . . . . . . . . . 55 Aardvark Attack Todd Heimarck / Translation by Tim Victor . . . . . . . . . . . . . . . 60 Laser Barrage Sean Igo / IBM Version by Kevin Mykyty11 . . . . . . . . . . . . . . . . 65 Rebound Chris Metcalf and Marc Sugiyama . . . . . . . . . . . . . . . . . . . . . . 71 Quickversi David Bohlke . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 Bowling Champ Joseph Ganci / Tra11slatio11 by Tim Victor . . . . . . . . . . . . . . . . . 83 Chess Joh11 Krause . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 Chapter 3. Applications . . . . . . . . . . . . . . . . . . . . . . . . . . 103 Home Financial Calculator Patrick Parrish . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 Notemaker Alfred f. Bniey ................................... 125 Personalized Form Letters Donald B. Trivette . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 Calendar Maker Paul C. Liu / Translation by Kevin Mykytyn 135 Chapter 4. Education ...... ·. . . . . . . . . . . . . . . . . . . . . . 155 Munchmath Gerald R. Anderson / Tra11slation by Jeff Hamdani ......... 157 States and Capitals Tutor Enoch L. Moser/ Translation by Tim Victor .......... . . .. 162 Word Hunt Robert W. Baker / Translation by Patrick Parrish . . . . . . . . . . . 169 Spelling Bee Daniel Bonachea / Translation by Gregg Peele . . . . . . . . . . . . 177 Grade book Stephen Levy / Translation by Gregg Peele .. ............. 182 Chapter 5. Graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195 The Screen Machine Charles Brannon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197 Custom Characters Sheldon Leemon .... ...... ........... . . ........... 216 Creating Animation with PUT and GET Charles Brannon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227 Sculpt-a-Shape Graphics Editor for BASIC Animation Charles Brannon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233 Monochrome Graphics Michael A. Covington . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243 Chapter 6. Programming . . . . . . . . . . . . . . . . . . . . . . . . . 245 BASIC Hints C. Regena . ......... ......... .................... 247 Beginning BASIC: READ, DATA, and RESTORE C. Regena . .... .... ...... ................ ........ 258 Customizing the Function Keys Melody and Michael A. Covington . . . . . . . . . . . . . . . . . . . . . 266 BASIC's Undocumented SHELL Command Michael A. Covington . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268 Unlocking BASIC Programs Peter F. Nicholson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272 Chapter 7. Machine Language . . . . . . . . . . . . . . . . . . . . . 277 PEEKs and POKEs Michael A. Covington . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279 The 8088 Microprocessor: Brains of PC and PCjr Ottis R. Cowper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285 Experiments in Machine Language Michael A. Covington . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288 Source Code for Chess John Krause . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297 Appendices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309 A. Beginner's Guide to Typing In Programs ........... 311 B. The Automatic Proofreader Charles Brannon ............................... 313 C. Disk Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324 Disk Coupon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327 .I J I I I - - Foreword Maybe you bought your IBM hoping you could use it at home for personal use as well as a business tool. Or maybe you wanted your kids to become computer literate, and since you had a PC at work, the PCjr seemed like a good choice. What ever your reason, you chose a powerful machine. And COM PUTE! Publications has been supporting it continually in our magazines and books since 1983. This latest publication for IBM personal computers, COMPUTE!'s First Book of IBM, has something for every IBM user. With thinking games (like "Chess" and "Quickversi"), educational games ("Srelling Bee," Word Hunt," and "States and Capitals Tutor"), and games that require quick reflexes ("Bowling Champ," "Aardvark Attack," and "Rebound"), COMPUTE!'s First Book of IBM is sure to give every game player the fun and challenge he or she wants in a good com puter game. Did you think the built-in terminal program TERM was the only communications software you needed for your PCjr, only to be surprised to discover that it didn't upload or down load? Now just add the modifications found in Chapter 1, and transform TERM into "TERMPlus," a terminal program that will turn your PCjr into a complete communications terminal with uploading and downloading capabilities. Do you find yourself having to enter and reenter the date and time each time you turn on your IBM because you can't get the format just right? "Simplified Date and Time" makes the task easier. Perhaps you've always wanted to write your own pro grams with complex graphics? Learn how to create your own characters and make intricate patterns on a monochrone dis play. Use "The Screen Machine" and "Sculpt-a-Shape Graph ics Editor" to design, create, and save vivid graphics to add to your own programs or simply to recall and admire. As with all COMPUTE! publications, the writing is clear and concise. And all the programs have been debugged and are ready to type in. We've even included "The Automatic Proofreader," an aid that checks your typing as you enter each vii program line, making program entry a snap. Or, if you'd pre fer not to type in the programs, you can purchase a disk with all the programs from COMPUTE!'s First Book of IBM by using the coupon in the back of this book or by calling toll-free 1-800-334-0868. viii

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.