Inside an Assembly-Language Game
Total Page:16
File Type:pdf, Size:1020Kb
Simulations Issue A CWC/I PUBLICATION 1984 JUNE USA $2.95 CAN $3.50 THE MAGAZINE FOR TRS-80 COLOR COMPLJTERIDAND MC-10® lJSERS InsideLearn How the an Pieces Assembly-Language Work Together Game 00700 * 00710 ********PRINTER ROUTINE********* 86 FE 00720 PSTART LDA #$0FE LOA D WITH #-2 Buy Low, Sell High 97 6F 00730 STA $6F AT 'DEVNUM' 00740 CLRB Stock Market Simulator 00750 LDX #$400 TOP OF SCREEN 00760 PLOOP LDA ,X+ GET A CHARACT 00770 INCB AND COUNT IT 00780 BSR GETCHR CONVERT AND P 90 CMPB #$20 32 CHARACTERS • BNE GSKIPl Build Your ....., .1..,: I' CLRB ' LDA #$0D SEND A LINE F Own Atari / JSR [ $A002] TO [CHROUT] ' I I I MPX #$5E0 END OF SCREEN Joystick lnterf ace / ' ............ LOOP NO, PRINT SOM � TITLE DONE / .... .... I ' CORRECT I PAGE I POKE VALUE / ' I ' ' Win (or Lose) Big / /..__ Q,�A"2 o I ' ' SET·UP ''*o At Bringmee Downs , ', � I ROUTINE ' I '' ' ' SCORE ' \ ROUTINE \ \ \ Plus: Elite-Word and \ The Business Accountmg '-� System Reviewed 015E GSKIP2 I LOOP I START LLOOP 06 0 A 74470 12067 II SEND Dealer FOR FREE inquiries CATALOG invited TM ABC'S IN COLOR SPELL BOMBER In the ABC program, all 26 letters spring up in As captain of your ship, you must destroy the enemy bomber by spelling color to the familiar ABC tune. Then, colorful the mystery word. In this exciting and educational game the bomber gets detailed pictures depicting each individual letter closer with each inaccurate letter. You have only EIGHT tries to guess of the alphabet appear one by one.Your child's the mystery word or your ship will be bombed! If you guess the word fascination will mount as he or she correctly correctly, GENERAL QUARTERS will sound and your ship will fire a presses the letter on the keyboard and is missile to destroy the bomber, Three levels are available: EASY, rewarded with a musical tune before the next MEDIUM. and HARD. Challenging for all agesl detailed picture is drawn line by line onto the Atari16K. ....... T�pe: $18.95 screen: AIRPLANE for A, BUS for B, CLOWN Coco 16k ECB . ....Tape : $18.95 Disk: $22.95 for C and so on to ZEBRA for Z. Truly a must �2\: Vic 20 13k . ............... Tape: $18.95 program for the preschool to first grade age group! Coco 16KECB . .T ape: $19.95 Disk: $25.95 SPELLING BEE The word is pronounced vocally and it is up to you to type in the correct CRISS-CROSS MATH spelling.If wrong, the computer will be your friend and flash the word on the screen for just an instant. OK! Try typing the word in again. STILL As the program begins, your child is presented with a nine square WRONG I The computer wants success and allows you to see the word playing board. It is your choice as to which square you choose. After a again this time a little longer. If you just can't spell the word, the choice is made, a MATH PROBLEM appears in the square. You score computer realizes you need to learn to spell the word and leaves the your first X by answering the problem correctly. If your answer is word on the screen for you to copy. Try your best and the computer has incorrect, the square clears and your opponent is allowed his choice of a surprise for your reward! squares. The game is over when three squares vertically, horizontally, or SPELLING BEE Ill ...GRADE 5 6 SPELLING BEE I ...GRADE 1 & 2 & diagonally are won by the same player. When playing against the SPELLING BEE II .. GRADE 3 & 4 SPELLING BEE IV ...GRADE 7 & 8 computer, every answer you get wrong is won by the computer. Multi· Coco 16k ECB . TAPE: $16.95 Each level ADDITION AND SUBTRACTION program. CoCo16K. ...............Tape : $12.95 TC-INVENTORY . FRACTIONS Many insurance companies offer a discount for policy holders which have complete inventories on file. TC - Inventory is designed to help SIDE ONE: Fraction Lessons, explains fractions with the aid of graphics. you organize, maintain, and compile the personal belongings of your Child studies the different ways fractions can be represented. Lessons home. Program is user friendly and menu driven. TC - Inventory allows include: input for location of item, price of item, serial number of item, date of IMPROPER FRACTIONS purchase, and a text written description of the item. Don't put off MIXED FRACTIONS recording your personal belongings until its too late. Requires printer for PROPER FRACTIONS hard copy. Many educators have praised the use of motion and color to display the Coco 32k ECB . .. .Tape : $16.95 fractional equivalents. SIDE TWO: Fraction practice. offers a random computer generated quiz. TEACHING CLOCK Atari16k . .................................T ape: $19.95 Coco 16k . ... ... ....... .... ..... .... Tape: $19.95 Torn between teaching time on a digital or a conventional (face and hands) clock? Well, this JOYSTICK DRAW program combines the two using high resolution graphics and prompts! Your child will Joystick Draw is the simple way to explore your artistic talents! Program learn to tell time with the aid of a specially operation is easy enough for a child to use. but effective enough that designed CLOCK! Child enters the time, if TCE uses it to design many sophisticated high-resolution graphic wrong, the center of the clock displays a screens. Joystick Draw's design allows you or your child to save those graphic aid. If the child is correct a musical masterpieces for future revisions or for use in other programs reward is heard. Program offers three levels: (instructions included). Your child will spend many hours enjoying this hours, quarter hours, and five minute intervals. program and at the same time improving his or her eye hand Apple 48k . .Disk : $19.95 coordination! You will find Joystick Draw to be an easy way to design those more sophisticated graphics for your own programs! Atari 32k ..................... Tape: $16.95 CoCo16 ECB . .... Tape: $16.95 CoCo 16k ECB .... Disk: $19.95 Tape: $16.95 Additional Educational Software available for Color Computer, TOP Atari " , 100, Apple , Commodore 64 " , and VIC ·� 20 ' ..-390 P.O. Box 2477 Gaithersburg, Maryland 20879 (301) 963-3848 The Joystick that sets you free! The one-hand operation of this fantastic new without a base is something to be experienc joystick will truly set you free and increase the ed. Available direct from us or from your inde pleasure of playing your favorite video games. pendent computer retail store. (See below) The smoothness and responsiveness of this unique joystick that operates completely $49.95 suggested retail changing Printer and Modem Cables! our ParallelSTOP Printer Interface provides swit;ch Sel ectable Printer or Modem operations for both coco and MC10. It features switchable baud rates from 300 to 9600. It comes complete with power supply, modem cable and "Centronics" type print er cable. For Basic 1.1 and later revisions. Available direct from us or from your independent pbh computer retail store. (See belowJ Coco Serial I Parallel Interface Only $89.95 suggested retail Comouter P. o. Drawer 55868 Products, Inc. Houston, Texas 77055 Pbh 713/956-0207 When ordering direct from PBH please enclose S3.00 per item for shipping. MODEM OFF PRINTER Stocking Distributors Compukit Spectrum Projects Houston, TX. Woodhaven. 77059 N.Y. 11421 Authorized Dealers Endicott Computer TRS TECH Computers, Etc. Chips, Incorporated Austin. TX. Atlanta, GA. Software & Accessories Computer Services 78745 30340 Huntsville, AL. Houston, TX. 35801 77033 The Computer Store Computers More Computer Associates & Cinsoft Jasper. Huntsville. TX. Cincinnati. OH. West Fargo, .Da IN. 47456 77340 45237 N k. 58078 The Software Connection The Photo Shop Radio Shack EDC Industries Computer Plus, Inc. Ft. Lauderdale, FL. Wilmar. MN. Los Angeles. CA. Littleton, MA. 01460 33319 56201 90042 Colorware, Inc. Patterson Electronics Sound Center Radio Shack Turtle Micro Ware Woodhaven, Mountain View, AR. Whiterock, . M. East Lime, CT. N.Y. 11421 72560 N 87644 06333 & Los Alamos, . M. N 87544 IBI®ITco co TI CLE The (Word-Proces.sing) Power Elite ---- Elite-Word shows off some impressive features. 22 Stuart Hawkinson It's Accounted For All ------- Mark Data's Business Accounting System >hows that the 24 CoCo isn't just a home computer. Steve Brown Anatomy of an Assembly-language Game-p. 43 Journey to the Center of the ROM-Part Airport Controller� --------- VIII _ 66 Every little bit of your Color Basic ROM exposed. 28 Can you safely land a dozen jumbo jets? How about two Mark D. Goodwin dozen? Robert Ainscough Wacko� ------- 34 Are the Stars Random?-Part Learning numbers and fractions can be fun. Il ThomasReville You have some interesting statistical analysis techniques to 75 use on your Color Computer. Anatomy of an As.sembly-Langu�ge Game- Philip McLaughlin Part I --------- � 43 Atari JoystiCk Interface Find out what makes those arcade games tick in this six-part Reap the benefits of this popular peripheral with this easy 82 series. Mike Meehan project. James J. Barbare/lo Racetrack ·� ------- 50 Spelling Editor � What would you do with your own stable of race horses? 88 Glen Ta panila Use this program with the Spelling Verifier program from last month to keep your word files up to date. Bob Jack Stock Market Simulator ------ � This symbol Indicates the program's placement the Instant How well might you do in Wall Street's bear and bull 58 on � available cassette. our Instant ad tor details.CoCo loader, on markets? l'irL See CoCo Gary Wick Cover art by Diane Ritson Digres.sions Michael E. Nadeau Feedback Ebner's Arcade • Richard Ramella The Educated Guest � __ Charles Santee H.