x^3 the CoCo Comtn § THE COLOR COMPUTER MONTHLY MAGAZINE December 1990 voi x no. 5 Canada $4.95 U.S. $3.95 1 Fire up CoCo in the video studio, heat the action with . .« some word play, From Computer Plus to YOU after after Tandy 1400 HD $999* Tandy 102 32K $349* Tandy WP-2 $249* Color computer 3 W/128K Ext. Basic $89* TaWl0bTRL$439* Tandy 1000 TL/2 $659* DMP-134$219* Color Computer Disk Drive Drive $239 Drivel $149 TandyFax $759 BIG SAVINGS ON A FULL COMPLEMENT OF RADIO SHACK COMPUTER PRODUCTS COMPUTERS Tandy 1 000 HX 1 Drive 256K 259.00 ' Tandy1500HD1Drive640K 1379.00' Tandy 2500 XL 1 Drivel Meg 1119.00 Tandy 1000 RL HD-1 Drive-512K 699.00 ' Tandy 1 1 00 FD 1 Drive 640K 599.00 ' PRINTERS Radio Shack DMP-1 071 20 CPS 219.00 RadioShackDMP-302270CPS 469.00 RadioShackDMP-134160CPS 219.00' Radio Shack DWP-230 Daisy Wheel 1 79.00 Tandy LP-950 Laser Printer 1 299.00 Tandy DMP-240 192 CPS 8 color 415.00 Panasonic KXP 1 1 80 1 92 CPS 1 89.00 ' Panasonic KXP 1 1 91 240 CPS 259.00 ' Panasonic KXP 11 24 192 CPS 329.00' Okidala320300CPS 369.00 Okidata390270CPS24WireHD 515.00 OKILaser4004PPM 699.00' MODEMS Radio Shack DCM-6 52.00 Radio Shack DCM-7 85.00 Practical Peripheral 1 200 Baud 1 49.00 Practical Peripheral 2400 Baud 1 79.00 COLOR COMPUTER MISC. Radio Shack Drive Controller Extended Basic Rom Kit (28 pin) 64K Ram Upgrade Kit (2 or 8 chip) Radio Shack Deluxe Keyboard Kit HI-RES Joystick Interface Color Computer Deluxe Mouse Multi Pak Pal Chip for COCO 3 COCO 3 Service Manual Serial to Parallel Converter Radio Shack Deluxe Joystick Magnavox 8135 RGB Monitor Magnavox Green or Amber Monitor Radio Shack CM-8 RGB Monitor Radio Shack Pistol Grip Joystick PBJ OK COCO 3 Upgrade Board PBJ 51 2K COCO 3 Upgrade Tandy OK COCO 3 Upgrade Board Tandy 51 2K COCO 3 Upgrade COLOR COMPUTER SOFTWARE The Wild West (COCO 3) Worlds ol Right Mustang P-51 Flight Simul. Flight 16 Flight Simul. TAPE 34.95 34.95 34.95 79.00 ' 14.95 39.00 24.95 8.95 44.00 14.95 29.95 59.95 19.95 299.00 99.00 159 00 ' 19.95 ' 24.95 99.00 39.95 129.00 DISK 25.95 34.95 34.95 34.95 COCO Util II by Mark Data 39 95 COCOMaxlllbyColorware 79.95 MaxlObyColorware 79.95 AutoTerm by PXE Computing 29.95 39.95 TW-80 by Spectrum (COCO 3) 39.95 Telewriter 64 49.95 59.95 Telewriter 128 79.95 Elite Word 80 79.95 EliteCalc3.0 69.95 CoCo3512KSuperRamDisk 19.95 Home Publishing by Tandy (CoCo 3) 35.95 Sub Battle Sim by Epyx (CoCo 3) 26.95 ThexderbySierra(CoCo3) 22.45 Kings Quest 1 1 1 by Sierra (CoCo 3) 31 .45 Flight Sim. 1 1 by SubLogic (CoCo 3) 31 .45 OS-9 Level II by Tandy 7195 OS-9 Development System 89.95 Multi-View by Tandy 44.95 VIP Writer (disk only) 69.95 VIP Integrated Library (disk) 149.95 Prices are subject to change without notice. Please call for shipping charges. Prices in our retail store may be higher. Send for complete catalog. 'Sale prices through 12-30-90 CALL TOLL FREE 1-800-343-8124 • LOWEST POSSIBLE PRICES • BEST POSSIBLE WARRANTY • KNOWLEDGEABLE SALES STAFF • TIMELY DELIVERY • SHOPPING CONVENIENCE com P.O. Box 1094 480 King Street Littleton, MA 01460 SINCE 1973 IN MASSACHUSETTS CALL (508) 486-31 93 TRS-80 is a registered trademark ol Tandy Corp. m ** gg %Z£& Jtr Tabl o of Cont e nts ■ ■ December 1990 Vol. X No. 5 Features 10 * CoCo Home * Video Companion Mark Haverstock and Bill Wills Let the CoCo 3 create titles, credits and graphics tor your home videos 34 * Displaying Pictures Using OS-9 Level II Graphics, Part III Tim Kientzle Another look at data-compression techniques 41 A Alarm ▼ David P. Boynton A look at sounding the alarm under OS-9 In the Limelight Rascan 2A/Supersoft, Inc. Cassette #93/750 Subscription Software CHI Lettrex/Co/ess Computer Design Clll Pages Enhanced/Co/ess Computer Design Connecting the CoCo to the Real World/W/7/;'am Barden, Jr._ The Entity/B/ware Enterprises^ The Goldberg Utilities/Kennef/i-Le/oTi Enterprises_ Planet Engine Version ~\A /Gravity Studio ~ .83 74 77 78 80 76 74 79 46 Better Letters # Joel Mathew Hegberg Word play on the CoCo 3 62 * CoCo TV W Andrew T. Boudreaux Start your own TV series with a little help from a Mend Novices Niche 20 ^ Wormy Dan Tandberg, M.D. 50 *> Huck Bucks W Sharon Ling 57 ^ Hot Gold ^ Keiran Kenny 73 Angles on the CoCo Keiran Kenny Departments Advertisers Index Back Issue Info Corrections _ 95 _ 60 42 Letters to Rainbow 4 Received & Certified 82 Submitting Material 88 Subscription Infor 38 THE RAINBOW is published every month ol the year by FALSOFT. Inc.. The Falson Building, 9509 U.S. Highway 42 P !. K Y 40059, phone (502) 228-4492. THE RAINBOW. R AINBOWtest and THE RAINBOW ancl R AINBOWIest logotypes are m. trademarks ot FALSOFT, Inc. • Second class postage paid Prospect, KY and a as USPS N. 705-050 (ISSN No. 0746-47971. 'ASTER Send addres* changes to THE RAINBOW P.O, Bo< 385, Prospect, KY 40059 Authorized as second class postage paid Iron) i : Orilarlo by Canada Post. Ottawa. Ontario. Canada. • Entire contents copyright » by FALSOF T . Iric , 1 990 THE RAINBOW is Intonded Tor the pnvate use and pleasu n ind purchasers and reproduction by any means l» prohibited. Use ol irttoi ."igle end use ol purchasers and any . prohibited All programs herein aro distributed in an "as :; ' basis warranty ol any Kind whatsoever • Tandy. Color BASIC, Extended Color BASIC and Program PaK are registered trademarks ol the Tandy Corp. • Subscriptions to THE RAINBOW are $3 1 per year In the United Slates. Canadian rales are U.S. 838 Surlaca mall to other - 1 io U.S. S88, air mail U.S $103. 1 ?.beginwlthnoxtavailablesaue.«Llmltedbacklssuesareavaiiac*) Please see notice ir iind their costs. Paymenl accepted by VISA, MasterCard. An -ss, cash, cheat or money ordar m u 9 Full relund alter mailing ol one issue A return) ol T0/1 2ths the subscription amounl aller Iwo Issues are mailed No refund alter mailing ol Hires or mora magazines. Columns 54 Barden's Buffer ^ William Barden, Jr. Contest results 87 Breakpoint Greg Law 'tis the C zen 68 CoCo Consultations Marty Goodman GIME ghostbusters 58 Delphi Bureau Eddie Kuns The Delphi mailman •*» The cassslte tape/disk sym- ^V bolt oasirte les Ha piogram list- ings with those amcles are monlh's RAINBOW ON TAPE and RAINBOW ON DISK. TTtose with only the disk symbol are nol available on RAINBOW ON TAPE For details, check the RAINBOW ON TAPE and RAIN- BOW ON DISK ad on p.y 21 KISSable OS-9 Dale Puckett Legends ot the C 8 Print#-2 Lonnie Falk Editor's notes 52 Turn of the Screw Tony DiStefano EPROM programmer handbook 28 Wishing Well Fred Scerbo The tour continues & December 1990 THE RAINBOW THE RAINBOW JA tk*> Editor anil Publisher Lawrence C. Falk Managing Editor Cray Augsburg Associate Editor Sue Fomby Copy Editor Rob Moore Submissions/Reviews Editor Tony Olive Technical Editor Greg Law Technical Assistants Ed Ellers, Gregory Shulfc Editorial Assistant Julie Hutchinson Contributing Editors William Barden, Jr. Steve Btyn, Tony DiStefano Martin Goodman, M.D. Dale Puckett, Fred Scerbo Eddie Kuns Art Director Heidi Nelson Designers Sharon Adams, O'Neil Arnold, Teri Kays Consulting Editors Judi Hutchinson, Laurie D. Falk Typesetter Oebbee Diamond Falsott, Inc. President Lawrence C. Faik General Manager Peggy Lowery Daniels Asst. General Mgr. for Finance Donna Shuck Admin. Asst to the Publisher Kim Thompson Editorial Director John Crawley Senior Editor Jutta Kapf hammer Director of Production Jim Cleveland Chief Bookkeeper Diane Moore Dealer Accounts Judy Quashnock Asst. Gen. Manager For Administration Sandy Apple Corporate Business Technical Director Calvin Shields Customer Service Manager Beverly Bearden Customer Service Representative Patricia Eaton Chief of Printing Services Melba Smilh Dispatch TimWhelan Business Assistant Wendy Falk Barsky Chief of Building Security and Maintenance Lawrence Johnson Development and Advertising Manager Ira Barsky Advertising Representatives Belinda Kirby, Kim Lewis Advertising Assistant Carolyn Fenwick (502)228-4492 For RAINBOW Advertising and Marketing Office Information, see Page 95 Having a Ball in Florida Editor: I recently sent in for a subsriplion to THE rainbow, and 1 want you to know the reason. I walked into my local Radio Shack store to purchase a set of joysticks for my CoCo 2. As I wrote my check, the store mananger handed me the September issue of the rainbow and told me to have a ball. It was my first meeting with THE RAINBOW, and I did have a ball. I went home and sat right down and entered Color Ball. I am a 55-year-old kid at heart and the games fas- cinate me. I sent for the two most recent game issues and I am literally having a ball. Thank you. I found my pot-o-gold. Ray Atwood Naranja. Florida Support for the Community Editor: With regards to Jim Price's criticism of your OS-9 articles in the September issue, I think his suggestion that you ignore OS-9 is ludicrous. OS-9 is a major part of the CoCo Community and without it the CoCo, and THE RAINBOW itself, might have died long ago. We should not have to purchase an- other magazine for OS-9 articles, as he suggests, when OS-9 is such an important part of the CoCo. Moreover, his suggestion ignores the financial contribution OS-9 vendors make to THE RAINBOW through advertisements. The reduction in size of THERAINBOW is due not to OS-9 as he implies but to de- creased revenue from advertisers. This is caused in part by people like Mr. Price who do not buy THE RAINBOW and do not sup- port it or its advertisers. If Mr. Price wants "good useable mate- rial,"! suggest he support THERAINBOW, as well as its advertisers, and try OS-9. Once he sees the power of OS-9 he may develop an interest in it just as I did. Bruce Arsenault Cleveland. Nova Scotia Canada The Educated CoCo Editor: I am a gullible 63-year-old woman, but I don't believe what just happened on my CoCo 3. 1 was using your hint in the January 1987 issue (Page 148) to make print-outs of disk directories. I got tired of all the typing required for each disk, so I typed: 10 POKE 111. 254:DIRand then used RUN. By mistake, I used it on a DOS disk and got some lines of garbage. When I used it on my next disk, the directory listings were underlined. This was even better and easier to read, but I couldn't figure out what had happened. Being nosy, I listed my original line 10 and this is what I saw; 10 POKE 111.254:DIR 20 FOR N-&H16128 to &H20480 Where did Line 20 come from and what does it mean? Is my beloved CoCo 3 taking over the tedious job of programming to save my arthritic fingers? Do you think it might eventually write a program for win- ning the Florida State Lottery? Please explain. Mrs. Dorothy Topping 3400 S.W. Dunklin Avenue Okeechobee, PL 34974 To avoid a lot of technical jargon, the gohhledegook on the DOS disk dinged the BASIC interpreter. This flaked your pro- gram and sent some codes to the printer telling it to underline. (You can probably duplicate this by sending the codes your- self ) It isn ' t a miracle cure for arthritis , but we suppose this random happening could result in a winning lottery number. Powerful Connections Editor: Is it possible to modify a CoCo 3 for use with the British 240-volt, 50-Hz power sup- ply and 625-line PAL TV standard using the RF modulator and transformer from a CoCo 2 sold in Britain? If so, how would I do this? Are there any companies that would make the modification for me? PR. Marlow 50 Lime Avenue Bentley. Walsall West Midlands, G.B. WS2 OJP For information on using the CoCo over- seas, refer to "CoCoing Abroad" (November 1987, Page 32) by Marty Goodman and Don Hutchison. The CoCo Supports Him Editor: I'm a handicapped technician and I can't justify the expense of expanding my Tandy hx. In fact, my printer stays pretty much switched to my CoCo. My present em- ployer runs a Unix system, as did my last THE RAINBOW December 1 990 .// Slots & CardsM VGA Graphics Depicted CREDITS PUW 32 WINNER MID « 38 'cW 'I THREK OF ti KIND UlrMEM PAID s •■■ | GAME OVER INSERT COIN ■ nUHHB «ntS^94JT|^P CREDITS PLOV 5 C0,HS »ts MIHHKR MIB S 98 1 H "~i) : V ■■■■ " ±. .~_- ■^H '" 3*2 ' ■'■^ lir.u ram IT.l.l B COINS | IN !l 'mr *i --'T W« r M>iK>i i\MMM»«. B rv r** > V w w ^^r 576 S. Telegraph Pontiac, Ml 48053 » (313) 334-5700 Did you ever dream of visiting VEGAS, hut you weren't sure what to expect — or if you would be able l" afford it'.' Well, now you can play your favorite slot machine, or sit down at the blackjack tabic without even leaving the comfort of your home. Browse through different style slot machines (manj different Multiplier slots). Visit the change booth it- or is that when'.' - you run out of cash, without feeling a pain in your wallet. Walk around the corner and sit dow n at any of a number of different style card names. Enjoy video five card draw poker - where it takes jacks or better to win. Or play Blackjack against the ever treacherous house dealer. Play Hi-Lovi and wager the max every chance _> ou get. Do you like Keno? It so. choose your numbers, then sit back and wail to see if they are drawn! All versions display vivid true to VEGAS graphics. Whatever your name. Slots & Cards has it for you! Slots & Cards is available for the I If VI PC & Compatibles. Commodore Amiga, Atari ST and the CoCo III. See your local dealer for orders and information or call us directly three employers. Maybe I can soon afford OS-9 and learn more Unix-type skills. I love this 5 1 2K CoCo 3 system . I bought CoCo Max 3, Max 10, Color Graphics Designer Plus and Simply Belter. I use them daily, along with several rainbow programs that I've modified. I keep an 800- item wordbase inventory under Simply Bel- ter that is more flexible and much faster for my uses than dBASE or Unix. I'd rather put my dollars in this CoCo. I've got a family, bills and little time for fooling around. I wish Radio Shack treated me a little better for the money I've spent. And I wish IBM vendors were as good as the CoCo's. I think what some clerks call "their kid's computer," in addition to my sub- scription to THE rainbow, gives me the biggest bang for the buck on this planet. Michael Cormier Ft. Myers, Florida Upgrading the CoCo Editor: I want to buy a disk drive for my CoCo 3 and to upgrade the memory to 512K (it now has 128K). At present I use a tape recorder to store my programs. I want to order my disk drive out of the rainbow. I really enjoy reading THE RAINBOW and want to order RAINBOW ON DISK. What is the size of the disk? Could you tell me what is compatible with my CoCo 3 in the line of a disk drive and upgrade kits. Bemiie Luttrcll 314 Bird Circle Greeneville. TN 37743 RAINBOW ON DISK is produced on 5'U-inch floppies. Several advertisers in THE RAIN- BOW offer 5 l U-inch, Drive systems. Just compare the prices. Similarly, the 5I2K upgrade is fairly standard from advertiser to advertiser. For specifics on upgrades, see "Upgrading the Color Computer's Memory" by Marty Goodman in the March 1989 issue. The Great MPI Hunt Editor: Radio Shack in Fort Worth suggested you might be able to help me locate a Multi- Pak Interface (Cat. #26-31 24). I understand it is needed to operate my old disk drive with a new CoCo 3. I would appreciate having a list of your vendors that could help me in such a search. Thanks. Robert Heyl 8983 Eash'iew Drive Allison Park. PA 15101 Yes, the MPI is a difficult animal to locate. Check with Computer Plus to see if they can help you out. Or perhaps another reader can solve the problem for you. Looking to Ham it Up Editor: I am in desperate need of locating soft- ware for the CoCo to manage my ham shack. I had a CoCo 1 that I used for rtty about five years ago. In the last four years I put hamming and computing aside to pursue my trade as an ironworker. I re- cently became active again with both hob- bies. After much debate with and ridicule from other hams. I decided to buy the CoCo 3 rather than an IBM. For some unknown reason I wanted to support the CoCo. I now have a CoCo 3 (512K), two floppy drives and OS-9, but I have very little software for the ham radio. I need to locate more ham software and would like to interface my Kenwood 440 transciever to my CoCo. I feel I've done my part to support the CoCo. Now will the world of CoCo please help to support me? Any information on this mat- ter would be appreciated. Perhaps you could help me locate Steven Ford and any other ham-CoCo enthusiasts. Dean Maluski 27 William Street New Britain. CT 06051 As published in the February 1990 issue, Steven Ford can be contacted at 12 Fox- bridge Village Road, Branford, CT 06405. Another source of ham information is Dale Puckett, author of "KISSable OS-9." Protecting Protection Editor: I read about the Reset protection routine in the July 1990 issue of THE rainbow and at the time thought "I won't need that.' Of course now I need to use Reset pro- tection. I also need a Break/Escape protec- tion routine as well as the ability to restore all of these functions without turning off my CoCo 3. I am developing a password protection scheme, but it only protects one program. I would like to modify this so that my password will protect an entire disk from unauthorized access. Any helpful hints and advice will be welcome. Joan Claso 2480 Lazy Landing Drive Redding, CA 96002 68000s Unite! Editor: I recently attended a computer fair at Purdue University where I gathered infor- mation about Amiga, Macintosh and MS- DOS-based systems. When I looked through the information about the Amiga and Macintosh systems, I noticed these sys- tems use the 68000 and 68030CPUS, similarto the new 68K OS-9 systems offered in THE rainbow. I wonder if these systems have any similarities and, if so, is there any compatibility between them. I want to purchase a new system, but fear I might be leaving the CoCo family. Is there any hope? Kevin Bump 741 San Ricardo Drive Greenwood, IN 46142 There are myriad hardware differences ben\'een the Macintosh, the Amiga and the computers on our horizon. Still, OS-9 pro- vides a good foundation for compatibility, and OSK (OS-9 for the (>8000 series) is avail- able for all these machines. SoundTrax Update Editor: I've received a few letters from people having trouble booting their SoundTrax disk. It seems that some older drives tend to be unreliable and have problems with the SoundTrax loader. For this reason we have slightly reprogrammed the loader to be a little more understanding of these drives. While we were modifying the loader, we decided to make a few other suggested changes. First, the program can now be booted from any drive instead of the nor- mal hard-coded Drive 0. It also recognizes double-sided drives so you can access drives 2 and 3 as the flip sides of and I.Forthose who have purchased SoundTrax either through us or a dealer and have the afore- mentioned booting difficulties, or simply want to upgrade to Version 1.01 with the minor additions, please send the original disk along with your receipt and $5 to cover time and S/H. We will rush the upgraded disk to you. Thank you. Glen R. Dahlgren Sundog Systems ■ Manassas, Virginia Kudos Editor: It may be of interest to you that, as a result of your publication of my letter in the May issue I have received replies not only from some American readers, but also from Brazil and Australia. Here is a quote from your Brazilian reader: "Unfortunately, the CoCo (compatibles) ■ was discontinued here in Brazil and the only support for us is through the THE rainbow. At my work I use many pro- grams that appear in this magazine and the results that I obtain have stimulated me very much!" After that he gives a list of various Continued on Page 94 THE RAINBOW December 1 990 CoCo Graphics Designer Plus Create beautiful greeting cards, signs and banners for holidays, birthdays and other occasions. Features easy-to-use point and click in- terface and user-friendly operation. Picture, font and Border collections included. Only $29.95 (Req CoCo 2/3, disk drive, mouse or joystick, Printers: EPSON.GEMINI.Stai.DMP.PanasonlcKXP 1080/90/91/92. Citoh 8510, Okldata 92/93/182/183 & more) Picture Disk #2, #3, #4: $14.95 each VFont Disk A,B: $14.95 each Border Disk #1: $14.95j Color Schematic Designer Ver 2.0 The best Circuit Designer for the CoCo 3. Pull Down Menus, hi-resolution sym- bol sets, Keyboard / Mouse / Joystick (with proportional cursor speed system), lightning fast multiple UNDOs, Symbol Add / Modify / Rotate/Line/Box Draw, Hi-res Fonts, workspace of 640 x 1000 pixels, 3 layers, font styles (fancy, italic, block etc). Supports DMP/ EPSON/ GEMINI & compatible printers. Supports near laser quality printouts on almost all EPSON Compatibles! Only $39.95. CSD 1.1 / 1.2 owners can upgrade to version 2.0 by sending $10 w/ proof of purchase. (See Review in September 1989 Rainbow) <3& 33E MUSIC COLOR MIDI INTERFACE: Connect CoCo to MIDI world. Contains 1 MIDI input & 4 MIDI outputs to hookup to 4 MIDI devices. Multipak or Y Cable NOT REQUIRED! Only $99 SYNTRAX 2.0: Very sophisticated MIDI Seq. Ability to control multiple music synthesizers, rhythm machines or any other MIDI devices. Only $59 SYNLIB: Multi-instrument Librarian. Uses the MIDI port to save/dump pat- terns from almost every instrument. Only $49 Musica II: Best Music Composition program for the CoCo 1,2 & 3. Disk Only $29.95 Lyra: MIDI Based Music Composition program for CoCo 1,2 & 3. Only $49.95 The Lyra Companion (Book): $9.95 Studio Works: Superb Digital Audio Sampler. $39.95 w/ Cable: $54.95 Label Designer Print Labels with text and graphics; mail merge option; disk directory op- tion; serial numbering option; easy to use graphics user interface. Only $29.95 • atjus < EXTENDED ADOS 3: Here it is! Highly acclaimed DOS from Spectrosystems with built-in Ramdisk, Point-and-Pick & much more. Only $39.95 Driver for Disto RTC: $5 28-pin Adapter: $10 Smartwatch RTC: $34.95 Drivers: $10 ADOS 3: $34.95 ADOS: $27.95 From Colorware... Max 10: $39.95 Spelling Checker for Max 10: $29.95 Max 10 Fonts (36 fonts): $29.95 . , CoCo Max III: $49.95 (^"\]/^\ CoCo Max III Fonts (95 fonts): $49.95 \L *- 2> Max Edit (Font Editor): $19.95 Tr"" NX1000 Rainbow Driver / CGP 220 Driver: $19.95 CoCo Max II: $69.95 CoCo Max I (Tape): $59.95 MAXPATCH (Run Max 2 on CoCo 3): $19.95 Terminal & BBS Software AutOterm: Modem Software for CoCo 1,2,3: $39.95 VTERM: Terminal Software for CoCo 3 with VT Emulations, Xmodem, Ymodem, RAMDISK like Buffer, Conference mode, 35/40/80 track drive support. Only $39.95 CEBBS 2.1 The absolute best BBS for CoCo 3. Features XMODEM, Up/Download- ing, menus, login, message base, clock/calendar, execution of external programs, full Sysop Control & remote system access. Even HYPER- 10 Compatible. Only $49.95. Min. Req. CoCo 3, 1 Drive & RS232 THE WORLD OF OS9 Level II Tools: 25 Utilities such as windowing, wildcards, tree, etc. $29.95 Disk Manager Tree: Change, copy, view, create directories with ease. Req. 512K. $29.95 Warp One: Level ll Windowing Terminal. Req. 51 2K & RS232 Pack. $34.95 Excellent hands-on guide to OS9 program that allows you to use Basic Zapper: Patch disk errors. $19.95 Window Writer OS9 Powerful OS9 word processor with multi-tasking, pull down menus & more. Only $59. Dynaspell: 102,000 word spelling checker! Only $19.95 Start OS9 OS9 RAMDISK ln-memory disk drive! A must for every OS9 user. Req 512K. Disk Only $29.95 From Burke & Burke RSB V1.3: The revolutionary Level II for beginners. Req. 512K, 2 drives & Monitor. Book/Disk $32.99 Goldberg Utilities Vol 1: 15 Power-packed utilities such as sort, lost-file location, disk pack& more. $24.95 Vol 2: New utilities for OS9 such as file compare, protection, enhanced delete/ move/ dir/ sort/ dump, strip and much more. Only $24.95 Multi-Edit Create, edit Application Information files & icons from multivue. Only $24.95 from under OS9 Level II. $39.95 Wild fie MV Version 2.1: Use wildcards w/ OS9 & rearrange^irec- torytree. Only $19.95 EZGen Version 1.6: Powerful OS9 Bootfile editor. Change names, add/delete modules, patch bytes, etc. Only $19.95 Multi-menu: Create own pop-down windows. Req. 512K & Multivue. $19.95 Presto Partner: Notepad, cal- culator, calendar, phonebook, clock at your fingertips. Req. 512K. $29.95 Transfer Utilities From Alpha Software GSC File Transfer: Transfer files from MSDOS.OS9, RSDOS, and OS9 Level II BBS: Best BBS for OS9. Comes with terminal program. Req. 512K & RS232 Pack. Only $29.95 FLEX. Req. OS9 (Level II for Multivue Ver), 2 drives, SDISK/SDISK3. Stan- dard Version: $44.95; Multi- vue Version: $54.95 PC-Xfer Utilities: Format/ trans- fer files to/from MSDOS to CoCo ' MICROCOM SOFTWARE 1387 Brighton-Henrietta, Townline Rd., Rochester, NY 14623 To Order: Refer to Page 19 of our 6-page series (Pgs 7-19) Credit Card Toll Free Orderline 1-800-654-5244 (9AM-8PM 7 Days/Week) Tech Info (belween 4-8 pm). Order Status. Info: 716-292-1786. To Fax your order: 716-292-1775 jiur under Level 1/2. Req SDISK/SDISK 3. Only $44.95 SDISK3: Standard drive replace- ment module allows use of 40/80 DS/DD drives. Requires OS9 Level II. $29.95 SDISK: $29.95 From R3 Systems Screen Control Utility: Gain control of text screen. Only $1 9.95 Menuing Utility: Memory resi- dent menuing system. Only $19.95 Point-and-Shoot File Selec- tion: $19.95 From Frank Hogg... Dynastar: Popular OS9 word processor. Only $99.95 Dynastar -t-Dynaspell: $119 Wiz: Terminal Prog. $59.95 Sugar Software OS9 Calligrapher: $24.95 Font Massager: $19.95 Unto What Far Harbor? Just a few minutes ago I finished reading Allen Drury*s new novel Toward What Bright Glory?, the first in a series of novels expected to follow a group of college stu- dents from the year just before World War II to the present day. Drury is excellent at writing series novels, and his first work in this series holds much promise. I hope when I write my long-planned novel I can create as thought-provoking a title as this former Pulitzer Prize winner (for Advise and Consent) has here. This book's title and the book itself, including the final paragraphs from which the title comes, have universal appeal. Even though Drury writes about the issues of war and peace, the shaping of lives, the maturing of people and of nations, his title is one that can apply to almost any human endeavor. As I finished reading the final page and reluctantly closed the book (already wish- ing for the second one), I thought about our own CoCo Community. In this book the class of '39, merely three months from the bosom of their university, came face-to- face with what Mr. Drury terms "the hounds of hell" unleashed on the world by the fanatic Nazi Germany. We, in the CoCo Community, are also sometimes beset by trials of our own. While our issues may not be as world-shattering as those in Dairy's book, they are nonetheless important to those affected. And even though we are not under siege from a foreign power, my mail indicates a perception that our Commu- nity's way of life is no less threatened. I do not see this threat. We are the possessors of an amazingly sophisticated computer system. We are embraced by a caring and interested Com- munity. There are new options on the hori- zon with more powerful machines that will allow us to '"Keep on CoCo-ing." And a growing number of small developers who need our encouragement. Ours is an an- cient (as computers go) and proud heritage on which we can only improve. Toward what bright glory do we aspire? To use our CoCos, to pass them on to others and to share our information and knowl- edge. All of these are possible for each of us. And for our CoCo Community as well. I must address some of the concerns expressed recently in my mail. I realize mail is not necessarily an accurate reflec- tion of a total Community, but often those who voice their concerns speak for many others who are no less concerned but choose to remain silent. So, for concerned parties of both groups... There is no intention, plan. idea, con- cept or anything of the kind to cease publi- cation of THE RAINBOW. I don't know how these rumors get started. I've heard them for a decade. Yes, we depend on advertis- ing revenue for the vast majority of our income and if advertising drops, so will the number of our pages. But if advertising revenues increase, our number of pages will also increase. There are a number of ways in which you can help. One way is to support our advertisers. Even if you are not familiar with their product, try something new. Another way you can help is to subscribe to THE RAINBOW. It is very expensive to make our magazine available for single-copy sales. We are curtailing sales locations because there is actually a loss taken on every magazine sold. It is also less expensive to receive the magazine through subscription than to pay for each individual copy. Many of you in the CoCo Community have been, and will continue to be, with us for a long time. One of the greatest mis- takes made by the old 80 Micro magazine was to abandon its Model I and Model III readers. There are no such plans for the CoCo Community. We cancelled our plans to publish the CoCo history book because the authors said that given their time constraints they would be unable to deliver it. We want to publish that book. We tried to find some- one who would write it for us. And when there was no other answer we refunded the money to those with pre-paid orders. We would still publish the book if an author is found. If you want to write it, please give me a call. We absolutely plan to have RAJNBOwfest in Chicago this spring. We have tried to encourage plans for one or two smaller fests this fall. These smaller fests will proba- bly not be as successful as RAlNBOWfest and participants should not be discouraged if they are not. We put a lot of punch behind our show. And, at least at this time, we feel it is better to have one big show per year than two. We have every intention to continue our support of both Disk basic and OS-9. We believe both systems offer many educa- tional opportunities. We will leave it up to you to choose whether or not to learn OS-9. You should understand that as a matter of policy (my personal policy) we will not support any other publication aimed at the CoCo Community. This is not a decision based on competition, it is a decision based on the difficulty of producing a magazine/ newsletter publication. Over the years there have been perhaps a dozen such publica- tions. They have all gone out of business and left a bad taste in the mouths of many people. Some of the competition has been very large and well-funded. And some of them closed their doors at the very height of CoCo sales. Each closing hurt our Commu- nity. I decided many years ago to never allow that to happen again. I am personally optimistic about the Color Computer and the CoCo Commu- nity. There are things that can be done on a CoCo today that could not be done on a mainframe when the CoCo was introduced. To have that much user-friendliness, power and potential means your CoCo will be useful for many years to come. And we intend to be part of that with you. Onward toward an even brighter glory! — Lonnie Falk THE RAINBOW December 1990 ..Jus! limit, of any word processing feature, chances are Word Power has it...packs a lol of features.. .excellent word processor..." Word Proc. Coaparisoa-April 1989 Rainbow; Pg26. Word Power 3.3 The Best Just dot Better! ...friendly.. .amazing execution 5peed...much easier lo use than VIP software & 2 other systems I've tried.. .very user friendly.. .highest among *ord-processors"-Rainbow Oct 88 Rev. • m*** SPEED y^ Blazing Fast! Runs at 2 Mhz and uses the standard texi (screens for lightning fast execu- MEMORY . .-:. Word Power 3.3 allows 72K oil workspace on a 128K CoCo and I460K on a 512K CoCo. More memory than any other word processor. Period. EDITING Powerful full-screen editor w/1 word-wrap. 4-way cursor,scrol- ling; Line Positioning; Block Commands; Search, Replace; OOPs recall during delete, adjustable key- repeat, key-click, typeahead. Tabs, Word-Counl and much more! . Built-in extensive HELP screen can be accessed anytime during edit. POOLER Print and Edit docu- ments at the same DISPLAY Choice of 40 or 80 columns with your choice of colors. Can be used with RGB/| Composite/Mono- Ichrome Monitors and TV. Pull down menus, plain english prompts, on-screen underlining and page break display make SORTING rt lists in a flash! CALCULATOR Built-in 4 function calculator! SPLIT-SCREEN EDITING Freeze a portion of text and edit another. Its fantastic! port GRAPHICS Insert graphics in your documents! Allows you to im- PMODE 3/4, HSCREEN and CoCo Max ICOL^MN PRINTING i-^^j'^gflglyour text in 2 columns ' ^OsAwtlijwevv keystrokes! SAVING / LOADING Creates ASCII files that are compatible with other word-processors, terminal programs, etc. Allows directory point & select for easy loading/saving, Automatic Backup, file erase, free space display. ARE YOU SURE? prompts prevent accidental deletes. The Auto-Save feature automatically saves text to disk during user-defined intervals for peace of mind. Supports double-sided drives. MACROS \\ Playback up to 250 keystrokes with a sin- gle key! Automate multiple tasks with a single key! You'll love it! MAIL MERGE Type a letter, follow it with a list of names & addresses and have Word Power print out personal- ized letters. Its that easy! PRINTING Works with all printers that work with the CoCo. Allows options such as baud rates, spacing, page/print pause, partial print, page inumbering/ placement, linefeeds, multi-line headers/footers, right justification and number of copies. The values of these options can be changed in the text by embedding Printer Option Codes. The WHAT YOU SEE IS WHAT YOU GET feature allows you to preview the text on the screen as it will appear on the printer. You can view margins, page breaks, SPELLING CHECKER /ord Power 3.3 include a 80,000 word spelling checker which finds and corrects mistakes in your text. Jt jiar DOCUMENTATION Word Power 3.3 comes with a well-written instruction manual & reference card which makes writing with Word Power as easy as pie. Word Power 3.3 comes on an unprotected disk. PUNCTUATION CHECKER ■ This checker will proofread your text for punctuation terrors such as capitalization, dou- ble-words, a/an usage, spaces and more. Its the perfect addition to any word-proccessor. Upgrade Policy: Word Power 3.2 owners can get Word Power 3.3 by sending original Word Power disk and $15 to the address listed below. MICROCOM SOFTWARE, 1 387 Brighton-Hcnriella.TownlineRd.. Rochester. NY 14623 All Word Power 3. 3 orders shipped by UPS 2nd Day Air at No Extra Charge in Continental US. For Detailed Order Information, refer to Page 17 of our 6-page Ad scriesfPes 7-17) To Place Credit Card Orders Call Toll Free 1-800-654-5244 (9am-8pm 7 days/week) Technical Support (4-8pm), Order Status, Info. Technical Info; 716-292-1786 /V i. b 1 up by Nark Haverstock and Bill Wills Mm I ■ rn ODUCTIONS 10 THE RAINBOW December 1990 (L b mm §m^mm k '©fflr km® 4i Are you tired of home videos thai look homemade? Those videos wiih titles and credits on hand lettered cards. Well, put away your markers, cardboard and rulers. Use the CoCo 3 to give your home videos a more polished look. With the right software and a few dollars worth of acces- sories, yours can be a professional creation with impressive titles, special effects and even some simple animation that can be added to your videos without expensive editing equipment. Composite Video: The Link to Your VCR or Camcorder If you look at the back of a vcr you will notice several jacks, including two marked Video In and Video Out. These jacks are used to make a direct connection to another video accessory, such as a monitor or another vcr. The signal is called composite, or baseband, video and contains the picture information to be displayed or recorded in a fomiat known as NTSC (National Televi- sion Standards Committee). The informa- Mark Haverstock and Bill Wills are ama- teur videophiles who hope to be successful on America's Funniest Home Videos. Mark is a teacher and Bill is a quality control engineer for a manufacturing firm. When not writing articles and reviews for com- puter magazines their spare time is spent on Delphi. Their usernames are DRDEBUG and basickid respective!) December 1990 THE RAINBOW 11 audio in video in t Figure 1: Typical VCR Hookup tion can be transferred directly and does not need to be tuned to a television receiver. When plugging a composite video source into a VCR, you can directly record that source. If you look on the back panel of the CoCo 3, you will see two small jacks la- beled Audio and Video. These jacks are very similar to those found on the VCR. The CoCo 3 has a composite video output that can be displayed on a monitor or recorded on a vcr. The CoCo 3 is a great choice for video titling. The RGB output can be hooked to the computer's monitor for previewing. The video output connects directly to the vcr*s video input for recording as shown in Fig- ure 1. Finally, the CoCo 3 can produce up to 16 colors at one time. Working With Video The CoCo 3 has two video outputs, RGB and composite. These are quite different, so what is seen on the computer's monitor will not necessarily appear the same way on a composite monitor. What you see isn't always what you get. Color and text will differ in tint and clarity. We suggest you watch the image of your final creation on a television connected to the VCR. Your pictures, titles, credits and anima- tion will be incorporated into your video through separate scenes dubbed to your home video. These are strictly stand-alone sequences suitable for beginnings, end- ings, intermissions and the like. They will not overlay existing video footage. In other words, you can't blend the graphics titles with pictures that already exist on your videotape. This would require expensive additional Genlock hardware. Rather than record the graphics titles over the original video tape, we recom- mend you dub the works to a second video recorder. This prevents accidental erasures on the original tape and provides some flexibility in editing your final production. You can easily remove mistakes and poorly shot scenes fora more polished production. A typical hookup diagram is shown in Figure 2. It consists of a CoCo 3, a video switchbox or special effects generator, a playback vcr, a record vcr and a TV. If available, a camcorder can be used as the record vcr. Camcorders usually have multiple record heads and sophisticated editing features that may prove beneficial to the overall outcome of your video. An optional video enhanceroramplifiercan be included to further improve the quality of your final copy. Audio mixers will blend narration and music for a pleasing effect. The original footage runs on the playback vcr. Graphics and titles are generated on the computer. You can switch back and forth between the two to create a desired product to send to the record VCR. You can build a video switchbox for about $5 with parts from your local Radio Shack, or the Radio Shack Audio/Video Control Center (Cat. #15-1956) is a ready- made unit that will work equally well. If additional editing features are needed, the Video Special Effects Switcher (Cat. #15- 1274) can handle fades, wipes and audio mixing. j^j^. Figure 2: Typical Two- VCR Hookup 1 Record VCR audio in video In 1 ■ En '■ * j (« nance impllfi jption r or ; • r 1 »l) ; Audio Mixer (optional) CoCo iWdio video Switch Playback VCR 12 THE RAINBOW December 1990 HEART & SOUL Breathe Lite Into Your Color Computer. Gain complete control over your CoCo with these Pokes, Peeks 'n Execs Books. The books will give you the power of Machine Language without leaving the security ot Basic. Each book is a collection ot 'inside* information with explanations and examples. Everyone from the novice to the professional will find these books a wealth of information. 500 Pokes Peeks n Execs $16.95 500 commands such as Basic Program Autostart, Rompak Transfer to Tape, Commands/Keys Disables and much much more! For CoCo 1 ,2 & 3 Supplement to 500 Pokes Peeks n Execs $9.95 200 additional commands such as Rompak transfer to disk, double-sided drive support, 40/80 track drive support & much more! For CoCo 1,2,3. 500 Pokes, Peeks 'N Execs is a prerequiste. 300 Pokes Peeks 'n Execs for COCO 3 $19.95 All new commands for the CoCo 3!!! e&a *« For the Weekend Hacker to Professional Programmer! Complete, Commented Uninterrupted Memory Maps of the ROM. These Books Are A MUST ! DISK BASIC UNRAVELLED $19.95 Includes source code for DOS 1.0/1.1 (2.0/2.1). EXTENDED COLOR BASIC UNRAVELLED $39.95 Includes source code for Color Basic and Extended Color Basic ROM. SUPER EXTENDED BASIC UNRAVELLED $24.95 Contains source code for Super Extended Color Basic (CoCo 3 Enhancements) All Three Unravelled Books $59.95 Both the Unravelled Series and Pokes Books: $94.95 (Regular $132.95) COCO LIBRARY CoCo 3 Service Manual $39.95 CoCo 2 Service Manual $29.95 Multipak Service Manual $19.95 (specify 26-3024/3124) Full Turn of the Screw - Disto 19.95 Assembly Language Programming $1 8 Addendum For CoCo 3 $12 Color Computer Disk Manual $29.95 Start OS9 (Book & Disk) $32.99 Inside OS9 Level II $29.95 Complete Rainbow Guide to OS9 $19.95 Complete Rainbow Guide (2 Disks) $29.95 Rainbow Guide To OS9 Level II $19.95 Rainbow Guide To Level II Disk $19.95 COCO 3 GAMES (All Programs Require Min 128K Unless Specified) Sinistar (Req. 51 2K): $34.95 Those Darn Marbles (Req. 51 2K): $32 Warrior King: $29.95 In Quest of the Star Lord: $34.95 Hint Sheet: $3.95 Quest for the Spirit Stone: $18 Five Towers of Trafa-Zar: $25 Kyum-Gai: $29.95 Mine Rescue: $24.95 Overlord: $29 Games for CoCo 1,2,3 (All Programs require Min. 32K CoCo unless specified) Wizard's Castle $1 9.95. Hi-res graphics adventure filled with tricks, traps & treasure. 64K Req. Pinball Factory $34.95. Design, build, edit & play the! Classic game of pinball. 64K Req Hall of the King 1 , 2, 3 $29.95 each Hall of the King Trilogy: $74.95 Kung Fu Dude: $24.95 Dragon Blade $19.95 Champion $19.95 Paladin's Legacy $24.95 Seventh Link: $38 Caladrial 2: Weatherstone's End: $54 Slots & Cards: $39.95 White Fire of Eternity $19.95 Treasury Pack #1: $29.95. Lunar Rover Patrol, Cubix Decathalon, Qix & More. Treasury Pack #2: $29.95. Lancer, Ms Gobler, Froggie Madness & Minotaur, Ice Castles, Galagon, Devious. Space Pac: $29.95. Color Zap, Invaders, Planet Invasion Space Race, Space War, Galax Attax, Android Attack, Whirly bird, Space Sentry, Storm Arrows. Classic Pack $74.95. TP1, TP2 & Space Pac ($90) Speed Racer $34.95 Pole Position type race. Demon Seed $19.95 Battle diving, bloodthirst bats. Cashman $29.95 40 levels of animation & sound effects. Fury $24.95 Airborn dogfight simulation. Time Bandit $29.95 300 screens of full animation. Outhouse $19.95 A funny, fast action game Mudpies $29.95 Crazy circus fun, Rommel 3D: $34.95. Exciting 3D Tank Combat Game. line Rd.. Roch iffiaf MICROCOM SOFTWARE 1387 Brighton To Order: Refer to Page 19 of our 6-page series (Pgs 7-19) Credit Card Toll Free Orderline 1-800-654-5244 (9AM-8PM 7 Days/Week) Tech Info (between 4-8 pm), Order Status. Info: 716-292-1786. To Fax your order: 716-292-1775 JU When making your connections, be sure to use well-shielded video cable and keep the lengths as short as possible. This will assure a quality picture. Never use audio patch cords. Creating Your Presentation First draw the graphics and add the titles you want using CoCo Max III. After you create the screen, change to the Scroll Page function in the Options menu. This erases the outer borderof tools and palettes so only the picture is visible. Revise if necessary and save on disk. CoCo Show is a graphics viewer in- cluded with CoCo Max III that helps you Building an Audio/Video Switchbox This audio/video switchbox is a great timesaver when dubbing from two sources. If you have to reach behind your VCR to plug and unplug cables when dubbing, you will appreciate the added convenience of having this switchbox. Switchbox assembly is simple and re- quires only a few tools. You will need a drill. 'A-inch drill bit, screwdriver, flat metal file, wire strippers, pliers, soldering iron and solder. You will also need a metal project box (Cat. #270-239), six phono jacks (Cat. #274- 346), a DPDT toggle switch (Cat. #275-636), wire, and dry-transfer lettering, all of which are available from Radio Shack. - . * > COWUI1 ii <4R n aviiai ■ • ■- ••" ■ t • Construction First, remove the cover of the box and the four screws packaged inside. Mark the positions of the holes to be drilled in the top and sides (see Figure 3). Then mark the positions of the holes on the back of the box. Drill all holes using the '/ 4-inch drill bit. Use the file to remove any burrs from inside the box. Apply the dry transfer lettering or the optional template to the top of the box. Label the audio and video jacks. Mount the switch in the hole on the top of the box. Remove the grounding tabs from the phono jacks. Mount each jack in the re- maining holes in the back and sides of the box. Be sure to tightly secure the nuts on each so they form a good connection to ground. Prepare six 3-inch pieces of wire by removing about '/i-inch of insulation from each end. Wire the audio/video output lines from the two middle terminals on the switch to the jacks on the back of the box (see Figure 4). Wire the remaining audio/video inputs to the switch as shown in Figure 4. Solder each connection carefully. Be sure to in- spect the solder connections for shorts. Test your box by plugging in your com- puter and vcr as described. If necessary. re-adjust the position of the switch to match the marked switch positions. Finally, re-assemble the box by care- fully tucking the wires inside. As a finish- ing touch, cover the dry transfer letters with clear nail polish to prevent them from rubbing off. Now you can enjoy the convenience of an audio/video switch for much less than commercially made units. Figure 3: Switchbox Drilling Template Audio Output Video Input 2 - VCR Audio Video 14 THE RAINBOW December 1990 VALUE DISK PACK $54.95 RSDOS UTILITIES (for CoCo 1,23 unless otherwise specified) SUPER TAPE/DISK TRANSFER:$24.95. Copies Basic, ML and Data files from Tape-to-Disk, Disk-to-Tape, Tape-to-Tape and Disk-to-Disk. DISK UTILITY 2.1 A:$19.95. Perfect tool for every disk drive user. Allows blazing fast file copy, kill, rename, directory sort, format and info on programs with extreme flexibility and ease. Very user friendly. DISK LABEL MAKER:$19.95. Design professional labels with different borders, font styles, double strike and more. Supports DMP, Epson, Gemini, Star and compatible printers. COMPUTERIZED CHECKBOOK:$19.95. The perfect program to balance your checkbook. Add, view, modify and print accounts for chacks, deposits and ATM transactions. Entries for Checking, Savings and V i\M-d \J M-j other accounts. l"f OlVf 1^ H0ME BILL MANAGER:$12.95. Schedule your billing effectively. Allows you to enter, edit, load and save **V-flTJ.JL bj|ls & remjnds you wnen due p A r^JT CALENDAR MAKER:$12.95. Create annotated calendars, month by month. Memo feature allows "spe- . cial day reminders. * $54 #95 MAILLIST PRO:$19.95. Create mailing lists sorted by name orzipcode. Create, Edit, View, Print and Sort mailing labels. COCO 3 SCREEN DUMP: 32/40/80 column, PMODE 3/4 dump. Allows you to take snap-shots of screens while program is running! DMP & Epson/Gemini/ Star & compatibles. $19.95 (CoCo 2 version incl) BOWLING SCORE KEEPER:Organize scores for team or individual player. View, edit, print & compare scores. $19.95 VCR TAPE ORGANIZE: Catagorize/organize your tape collection. Allows ratings for cautious viewing. $19.95 RGB PATCH: Displays most games in color on RGB monitor. Req CoCo 3. $24.95 BACKUP LIGLTNING 512K (ColorVenture) Copies 35/40 track single/double sided & 80 track single sided disks in a single pass. Supports up to 4 drives, variable step rates. Copies OS9 and RSDOS disks in less time than some disk formats! Req512K. $19.95 PRINTER LIGHTNING (ColorVenture) Store from 44K to 437K (aprox 200 pages!) for output to printer with the fastest, most reliableprintspoolerforthe CoCo 3. Compatible with ColorVenture Ramdisk in 51 2K. $19.95 DAKHrtlCI^ (ColorVenture) Add two more 40 track drives to your system without losing an inch of desk space! Reset protection and lightning access - a fraction of a second! Req 512K. $19.95 SUPER 88 TELEWRITER 64 : THE COCO UTIL 88 favorites from CoCo-Times. File, screen and printer con- word processor for CoCo2! Transfer Standard Basic and trol utilities. Dumps, enhancements, Basic programming hel- Menu and key control for most ASCII files between CoCo & pers and stand-alone programs for a variety of uses, major word processing fea- IBM. Req MSDOS 2.01-3.2 & 2 Purchased seperately, a$792 value. Packaged for Only $88. tures. Disk $57.95Tape $47.95 drive IBM compatible. $39.95 VIP CALC III: Worksheets up to 512 columns by 1024 rows, 16 windows to monitor changes, 8 & 16 digit precision, trig -algebra- programable functions. 40, 64 & 80 column sup- port with 4 color pop-up menus for great displays! $69.95 VIP DATABASE 111:40/64/80 column,64 color screen displays, double clock speed, full indexing of files and menu support make this the best database for the CoCo 3 ! I n- memory, lightning -fast record sorts, Multiple- criteria searches, built-in Math Package and Mail Merge. Fill your disks with records of your own design! $69.95 WINDOW MASTER: 31 windows, 5 fonts/54 sizes, hires graphics. Req 51 2K, hires interface, joystick/mouse. $69.95 CBASIC: Basic Compiler. Specify CoCo 1,2,3 $149.95 TheSOURCE: Disassembler. Specify CoCo 1,2,3 $49.95 XENOCOPY Transfer Standard Basic & ASCII files between IBM & 300 other formats incl. CoCo, NEC, Novell, TRS-80 & Zenith. Req 2 drive IBM compatible. $79.95 MICROCOM SOFTWARE 1-800-654-5244 Credit Card bikers; . 1-716-£iPfM : :f': Inquiries & Support 4-8PM Monday-Friday 'T-71'ir3-2l2-1 775 Fax only piease. Order info on page 1§ For the first time, a community has banded together to design their next computer -- a revolutionary computer, designed .r= by you. The MM/1. u Power. The Color Computer™ era began ten years ago with an affordable, upgradeable computer with great sound and graphics. The MM/1™ continues that tradition with powerful graphics, crystal clear sound, fantastic multi-tasking, and easy to use windows. Excite your eyes with high resolution graphics that surpass the famed Commo- dore Amiga™. Mix in hot music with a MIDI musical keyboard or the built-in IBM PC style music hardware. Or buy the Extended System to play back digitally sampled horns, drums ~ even your own voice! And the MM/1 will never be out of date, because its optional 32-bit bus has both the power you need for the future and the compatibility with PC hardware you need for today. In business and pleasure, the MM/1 is ready for you. Software. S Interactive Media Systems, Inc. is working around the clock to bring you the best of the MS-DOS™ and UNIX™ software catalogs. New titles are being added each month. Ask for our catalog or for a subscription to The Insider newsletter to find out about the amazing software support for the MM/1 -- support from the Color Computer, ST, Amiga, UNIX, and DOS markets. For no extra charge, the MM/1 includes software worth over one thousand dollars: OS-9/68000™, C compiler, Basic, IBM PC File Manager for reading and writing DOS disks, tape backup support, print spooling, a graphics editor, and more. Specs. m The MM/1 is packed with features that make it ideal for business and home use. For $779, you get • slimline professional PC case with room for 2 - 5.25" drives and 3 - 3.5" drives; includes 200 watt power supply • one Megabyte of memory • graphics resolution up to 720 x 540 • up to 256 colors from its built-in palette of 16.7 million colors • PC style sound for exciting games and friendly business applications • true multitasking operating system • windows, applications, and utilities worth over $300! • 2 serial ports for printers, mice, terminals ... • MIDI capable for the music hobbyist and professional Systems MM/1 Personal (above features all standard) $ 779 MM/1 Pro (add 101-key professional keyboard) $ 859 MM/1 Pro Station (add keyboard and RGB monitor) $1 149 MM/1 Extended (Personal Plus Second Board) $1125 .$8.95 Extras MM/1 T-Shirt ("The Revolution Starts With Me") MM/1 Video (interviews.demos) Sqk The Insider newsletter $9.95 Financing is available with monthly payments less than $35! Call for details. • built-in networking interface for low-cost connection at 100 KBaud to over 120 other MM/1s! Perfect for school and business • PC keyboard port for professional XT style keyboard • Uses CM-8™and dozens of other monitor brands • 15 MHz CPU --runs circles around the Amiga! • built-in graphics coprocessor for fast logic and pixel acceleration • expandable with optional high speed bus • high density 1 .4 Megabyte floppy disk drive • OS-9/68000 in EPROM for ease of use - or you can boot off floppy or hard drive • Direct Memory Access (DMA) for smooth access to floppies and hard drive while multitasking The optional second board (the I/O Board) includes DMA SCSI host adapter, up to three more serial ports, two bidirectional parallel ports, powered serial mouse port, CoCo 8-bit analog joystick port, Realtime battery-backed clock, dual channel DMA- able 8-bit sound ports for play and record, and memory expansion that brings a full system to 3 or 9 Megabytes! For ease of use, power, and multimedia, the MM/1 is the revolution you've been waiting for. O Interactive Media Systems 1-800-866-9084 Copynp* cwiteiacB* Med* SpHms. mc. 1M0 O&MMQQ s a rawn** ol Wcrowan SyWflii Cowaawv MM/i « a raflemart ol nman M«a Spams. K CcutMpmmi(Mtinnaminst»t Cawalwi.MS-OOSijaMiWiiarlio'llOTrtCwpuaMn UNlKisamlamaftolATi!. Amga il a BMeman « Commooon MM Macrtnu DISTO PRODUCTS All Disto Products now carry a 1-Year Warranty. All Disto Add-Ons (& Super Controller II) include OS9 Driver Disks, unless otherwise specified. Disto Mini Controller (wiih RSDOSorCDOS) : $74.95 Disto Super Controller (with RSDOS or CDOS): $99.95 Disto Super Controller II (with RSDOS or CDOS): $129.95 • Mini Eprom Programmer Add On: $54.95 • Hard Disk Adapter: $39.95 w/ RS232: $69.95 • RT Clock & Printer Interface: $34.95 (OS9 Driver. $19.95) • 3-in-l Multiboard Adapter Parallel Port, RT Clock & RS232 Port. $74.95 • MEB Adapter II: $34.95 • 4-in-l Board: Parallel Port, RT Clock, RS232 & Hard Disk Interface: $129.95 RS232 Super Pack: True RS232 Port for your CoCo! Compalible with Tandy® RS232 Pack. Includes DB25 Cable. 100% Compalible with OS9 ACIA Software. Rcq. Mullipak. Only $54.95 ■r [Systems w/ Seagate Hard Drive, Controller, Cables, CoCo XT I Interface, Cables, Case (with fan. Power Supply and room for [second drive), Software & Instruction Manuals. As- Isembled/Tested/Formatted. Just Plug'N'Run. Req. Multipak. Seagate 20 Meg System: $459! .^F* HMD DRIVE Seagate 40 Meg System: $549! "^ SALE CoCo XT: Use 2 5-120 Meg Drives with your CoCo. Only $69.95 w/ Real Time Clock: $99.95 [CoCo XT ROM: Boots OS9 from hard/floppy. Only $19.95 |HYPERIO: Allows Hard Drive use with RSDOS. Only $29.95. HYPERIO Disto Version. Only $29.95 | HYPERIII: R AMDisk & Spooler to CoCo 3 HYPER I/O. $12.95 HYPERIO Utilities (by Kevin Rerner) I Hard Drive Utilities: MSA Backup, Copy/Kill/Rename, Hard iDisk Backup to Floppies (vica versa) & more. Only $21.95 I Disk Doctor Checks/locks out bad sectors, only $17.95 I Hard Drive Zap: View tracks, sectors, modify data on your hard [disk. Only $21.95 M There are a lot of dealers selling disk drives for the CoCo. Why buy from us? First. all our drives are BRAND NEW DOUBLE SIDED Drives. They are sleek, fast (6ms!), quiet and have a reputation of superb performance and reliability. Second, our Drive & 2 Drive Systems come with the acclaimed DISTO Controller - with gold plated contacts & built-in ROM which allows you to access BCTTH sides of our drives! . Third, our Drive & 2 Drive Systems come with the Official 200 page Radio Shack Disk Manual. Fourth, you get $50 worth of our utility software (Disk Util 2.1 A & Super Tape/Disk Transfer). Our drive systems are head & shoulders above the rest! Drive (with Disto Controller. Case, Power Supply, 1 Drive Cable, Manual, Software): $199 Drive 1 (with Case, Power Supply & Software): $129 Bare 5 1/4" Drive: $89 2 Drive System (With Disto Controller, Case, Power Supply, 2 Drive Cable, Manual & Software): $299 Full-Height Case/Power Supply: $59.95 Power Splitter: $9.95 1 Drive Cable: $16.95 2 Drive Cable: $22.95 4 Drive Cable: $34.95 FD501 Upgrade Kit: Bare Drive, 2 Drive Cable & Instructions: $109 FD502 Upgrade Kit: Bare Drive, 2 Drive Cable, Power Cable & Instructions: $119 Toshiba 3 1/2" 720K Drive w/ Power Supply & Case: $149 3 1/2" Bare Drive: $99 MAGNAVOX 1CM135 RGB Monitor Razor Sharp picture quality for r" ' " your CoCo! Has 14" Screen,! J, Analog/ITL RGB, Composite &^ j^- - Super VMS Inputs for CoCo 2/3, Stereo SoundTcxt Display Switch, Tilt /Swivel Stand & 2 Year Warranty. Com- patible with CoCo. IBM, a VCR & more! Only $298 (add $12 S&H/$40 in Canada) Magnavox RGB Cable for CoCo 3 and Composite Video / Audio Cable Set with Purchase of Monitor: $19.95 Wr ^oo"D"ANDK$<"r'TH ENK-ASC(K$)-68 80 A(H+U)-A(H)+D(K):H-H+U:GOTO40 90 "EATS FOOD 100 IFXOR THEN150ELSEPLAYS$(7) 110 F-1088+RND(414):IFPEEK(F)OC THEN110 120 V-3+INT(L/14):O-5-INT(L/50): IF0Z THENZ-L 200 PRINT@426. "another game?"::G OSUB220:IFK$-"N"THENSTOPELSE330 210 'PAUSE 220 K$-INKEY$:IFK$O""THEN220 230 K$-INKEY$ : I FK$-""THEN230ELSE RETURN 240 -INSTRUCTIONS 250 CLS:PRINT"INSTRUCTI0NS:". . . . "USE THE E.F.G&H KEYS TO MOVE TH EWORM AROUND THE SCREEN. EAT TH EF00D TO GROW LONGER. IF YOU HI TYOURSELF OR THE EDGE OF THE SCREEN YOU'LL DIE. HOW LONG CA NYOU GROW?" 260 "INITIALIZE 270 M-999:DIMA(M).D(4).S$(7):F0R I-1T04: READD( I ) : NEXTI : F0RI-1T07 : READS$(I):NEXTI:Z-0 280 P-98:-HEAD 290 Q-79:"TAIL 300 R-103:-FOOD 310 PRINTS416. "CHOOSE DEGREE OF DIFFICULTY (1 IS HARD 7 IS EASY)":GOSUB220:D-VAL(K$):IFD<1O RD>7THEN310ELSE:T-INT(128/D-10): L$-K$ 320 'RESTART 330 CLS0:B-PEEK(1024): "EDGES 340 C-143:' FOREGROUND 350 PRINTOl." ";:PRINT@1.Z:: PRINT@14. "wormy"; :PRINT@26." 360 F0RI-64T0448STEP32:PRINT@I.C HR$(B):STRING$(30.C);CHR$(B);:NE XTI:PRINTL$; 370 A(0)-1056+32*RND(13)+RND(16) :POKEA(0).Q:A(1)-A(0)+1:POKEA(1) .Q:A(2)-A(1)+1:P0KEA(2).P:L-2:H- 2:K-4:U-1:GOTO110 380 DATA-32.32.-1.1 390 'SOUNDS 400 DATA T-T;0-0:V-V:6;5 410 DATA T-T;0-0;V-V;5:4 420 DATA T-T;0-0;V-V:8:7 430 DATA T-T;0-0;V-V;9;8 440 DATA T80;O1;V31;9;2;5:8:2:5: 3:7;1;7:4;1 450 DATA T40;O1 : V31 ; 1 ; 2 : 1 : 2 : 1 : 2 : 1:2;05:P2;2 460 DATA T80:O5;V9:8:9;8 470 END /R\ 20 THE RAINBOW December 1990 KISSable OS-9 Legends of the C by Dale L.Puckett Contributing Editor Long winter evenings provide an opportunity to dig into another programming language. So let's take another look at the C com- piler package originally sold to run under OS-9 Level I. Perhaps you can be encouraged to take that dusty package off the shelf and break new ground. We'll start by setting up the system. The disks shipped with Microware C for the Color Computer are very full. In fact there are only 109 free sectors remaining on the C Compiler disk and 199 on the C Library disk. This presented problems when the package was released in 1985 and most OS-9 users struggled with 35-track, single- sided disks. Now with the availability of many hard disk and RAM disk systems and the added versatility of OS-9 Level II run- ning on a 5I2K CoCo 3. most people find C much easier to tackle today than it was just five short years ago. If you are still struggling with an older disk system, here's a tip that may help you. It is sometimes easier to create several system disks: one for writing and testing assembly language programs, one for BAS- IC09 programs and another for C language programming sessions. There are two ways to make multiple system disks. You can use cobbler or os9gen to put the os9boot file on each of your system disks. Ifyoudothisyou will be able to boot os-9 with the disk containing the programs you need for the particular task at hand. Dale L. Puckeit. a freelance writer and programmer, sen'es as director-at-large of the OS-9 Users Group anil is a member of the Computer Press Association. His user- name on Delphi is DALEP: on packet-radio, KOHYD @ N4QQ; on GEnie, D.PUCKETT2; and on CIS. 71446.736. If you would rather not invest the time to create a new os9boot file on half a dozen disks and use dsave to move the required programs to each CMDS directory, simply maintain one system disk and a number of system programming disks. When you take this route, you will need to boot OS-9 with your single system disk and then swap disks to insert the system programming disk with the programs you need for the language you plan to use. Don't skip this step: After inserting the system programming disk use the chx command to make the CMDS directory on that disk your current execution directory. In other words after you remove your boot disk and insert your C programming disk you must enter the following: chx /dO/cmds This command tells OS-9 where to look for the utilities and programs you will be run- ning. We're assuming you have used the makdi r command to create the CMDS direc- tory on your C programming disk. You will need to create a CMDS directory on all sys- tem programming disks. After you create the CMDS directories, store the required executable object code files (the commands) in each new directory. Each CMDS directory will be different. For example, you'll need a different set of utility programs for word processing or BAS1C09 programming than for C programming. Since the CMOS directory on the C Compiler disk from Radio Shack uses all but i()9 sectors on the disk, use a backup copy of this disk as your programming disk C. You can use those 109 sectors to store a few additional tools to make programming easier. For example, you'll need to copy your favorite editor into the CMDS directory on this disk. You may also find a few compare and word-search utilities such as comm, dlff and grep useful. You can use the copy command to move a few utilities intoyournew CMDS directory. If you're copying a number of utilities into this directory, the dsave utility will be easier. Don't forget the golden rule of com- puter operation: Do not make these changes on your original C Compiler disk from Radio Shack. Instead, immediately put a write protect tab on that valuable disk. Then make a copy of it using backup. Put your original C Compiler disk away to make a new copy should something happen to your working disk. So far we have taken care of the C programming disk you will use in /dO. Now. we'll look at the disk needed for Drive 1 . It's a fact of life that to program in C using Color Computer OS-9, two disk drives are needed. For large programs, three drives are needed if you use the single- sided. 35-track drives first released for the Color Computer. But if you use 40- or 80- Irack. double-sided disk drives, two drives are sufficient. When you purchased Microware's C Compiler from Radio Shack you received two disks. The second disk is called the C Library. It contains three directories: DEFS. LIBS and SOURCES. TheCCompilerexpects to find the DEFS and LIBS directories on a disk mounted in /dl. If they arc not found there, the compiler will not work. The paths to the DEFS and LIBS directo- ries are hard coded in the C compiler to point to /dl. If you own a hard drive, or even a double-sided drive, you will want to patch your compiler so it looks for these directories on the default drive (/dd). The DEFS directory contains a file called 0S9defs.a. which stores the definitions needed by c.asm, the relocatable macro assembler included in the C Compiler package. Take a look at any of the assembly language source files in the SOURCES direc- December1990 THE RAINBOW 21 f=" tory. They are the ones with ihe . a exten- sion. YoiTll find most of them contain Ihe line: USE /defs/os9defs.a Essentially this tells the assembler to insert the source code stored in a file named os9defs.a. located in a directory named DEFS. Again. Ihe assumption is that the DEFS directory is on Ihe same drive as Ihe SOURCES directory, /dl. When Ihe assem- bler reads this file, it learns the symbolic names of the many OS-9 function calls and variables. On closer examination of the DEFS di- rectory on the C Library disk you'll find a numberof files with an . h extension. These are C header files. Header files usually contain collections of //define statements or declaralions and are read by the compi ler when you use an //include statement in your program. With (/Include stalements in your large programs you can guarantee thai all Ihe source files will use the same definitions and variable declaralions. Remember that if you change a header file you must reconstruct all files thai use it. For example, if you need ihe definitions that deal with OS-9 signals you must include this line in your program source code. //include The left and right angle brackets tell the C compiler to look for a file named s 1 gna 1 . h in the DEFS directory. If you have stored header files in other directories you can tell OS-9 where they are located by including a complete paihlisi to the file enclosed in double quotes. For example: //include "/dd/ALTDEFS/signal .h" Since the stdi o . h file will be needed with almost every C program you write, you'll need the DEFS directory on the disk in /dl. unless you've modified your compiler to use the default drive /dd. As your C pro- gramming career begins, you probably won't use the other files in the D E F S directory very often. Bui. leave ihem intact. You'll need them when you compile programs from other sources such as the OS-9 Users Group Software Library or RAINBOW ON DISK. The L I B directory contains a file named cl ib. 1 . which stores the standard library functions, math functions and other object code needed by Ihe system. Another file in thai directory is named cstart.r and con- tains code needed in all compiled pro- grams. It must be in ihe LIB directory and thai directory must be in a disk mounted in Drive /dl. or /dd if you've modified the compiler. The SOURCES directory holds the source code for three useful sample programs and adirectory named SYS that holds Ihe assem- bly language source code used to generate portions of Ihe object code in the clib.l 1 L ▼ J 1 ost people find C much easier to tackle today than it was just five short years ago. file. Studying these files will help you understand how the C Compiler works. If you are working with Ihe Radio Shack 35-track. single-sided drives, you should delete the SYS directory from the SOURCES directory to create more space for your own source code. You can also delete the sample C source code. Jusl remember to delete these files from your backup copy of the C library disk and not the original disk from Radio Shack. There were 199 free sectors available on the C Library disk before you deleted Ihe SYS directory, so you should have plenty of room. While learning this new language don'l forget the basics. Remember, the C com- piler will look for your source code and data files in your current data directory. The SOURCES directory would be a good starling place. Don't forget to use the end command before you start compiling your C programs. To do this, type: chd /dl/sources Now that you have set up your two disks dhe C Compiler for Drive /dO and Ihe C Library for Drive /dl) you are ready to begin programming. Use your favorite editor to create a file containing a short program. For example you could use this model from page six of Kemighan and Ritchie's The C Programming Language. main( ) ( printfChello. world\n"); 1 After you type this short program, save il in a file named hel 1 o . c. You're almost ready to compile your first C program. First make sure your C Compiler disk is in /dO and your current execution directory is /dO/ CHDS. Also, make sure your C Library disk is in /dl and your current data directory is /dl/SOURCES. Then, enter the command: ecl hello. c When you press enter, your disk drives will begin lo spin and after several minutes you'll see something like this on your screen: ■hello. c - c.prep: c.passl: c.passZ: c.opt: c.asm: cl ink: The name of the source file you are compil- ing is hel 1 o . c. The other lines tell which pan of the C Compiler is running. You'll notice thai /dO starts spinning each time a new line appears on the screen. Il is loading the next program into memory. Look in yourcurrent data directory after you compile Ihe above program to see a file named c . com. List il to leam why the above messages appeared on your screen. You'll also see what OS-9 did throughout the compiling process. Let's look: echo 'hello. c* -x echo c.prep: C.PREP hello. c >ctmp.4.m x echo c.passl: C.PASS1 ctmp.4.m -o-ctmp.4.1 del ctmp.4.m echo c.pass2: C.PASS2 ctmp.4.i -o-ctmp.4.a del ctmp.4.i echo c.opt: C.OPT ctmp.4.a ctmp.4.o del ctmp.4.a echo c.asm: C.ASM ctmp.4.o. -0-ctmp.4.r del ctmp.4.o echo clink: CLINK /dl/lib/cstart.r ctmp.4.r -o-hello -Wdl/lib/clib.l del ctmp.r Let's study this listing, c.com is an OS-9 procedure file generated by ccl. It puts the various parts of the C compiler through its paces. The first line in this procedure file tells 22 THE RAINBOW December 1990 OS-9 10 echo the name of the file being compiled. It then sends the built-in Shell command, -x. This tells the Shell not to abort the process if an error occurs. After sending this signal the procedure file echoes c.prep: on your screen letting you know the name of the program it plans to run next. It then sends the command to run c.prep. The same line tells c.prep to get its input from the file named hel 1 o . c in your current data directory and to put its output into an intermediate file named ctmp.4.m. When c.prep completes its job. the procedure file sends an x command to the Shell. This tells the Shell to abort if there is an error. It then echoes c . pa s s 1 : and pro- ceeds to run that program. Notice that c. pas si gets its input from the file named ctmp.4.m that was just cre- ated by c . prep, c . pass 1 sends its output to a file named ctmp.4.1. As you study the rest of the c . com pro- cedure file a pattern will become obvious. os-9 is using a series of temporary files to store intermediate results. The output of one part of the compiler is put into a tempo- rary file used as the input for the next part of the compiler. After the temporary files have been used, they are deleted. ^include struct sgtbuf buf: /* Your "main ()" program goes here */ get1me(Sbuf ) : pr1ntf(-X02d/X02d/%02d *02d:X02d:X02d\n".buf .tjnonth. buf.t_d ay. buf.t_year. buf.t_hour. buf .t_minute. buf .t_second): Figure 1: Clock Program These temporary files act like a pipe. The difference is the compiler is so large that it won't all fit in memory at once. The temporary files are needed to hold the re- sults from one part of the compiler while the next pan is loaded into memory. This was the only way to make the compiler work on the older Level I systems. Work your way through the procedure file one line at a time until you understand what happens during each part of the compilation. Notice that several compiler parts can be used as stand-alone programs. For example you can use the relocatable macro assembler (c.asm) io create an as- sembly language source file that you have written. When you write in the C language the compiler writes an assembly-language source-code file for you. When you get to the command for c . 1 i n k . the linker program, it will be obvious why you must have a directory named L I B on a disk mounted in /dl. The linker reads two files from this directory, cstart.r and cllb.l. We haven't jumped into the mystery of C programming in this short tutorial, but hopefully we have helped you understand how to set up your Color Computer OS-9 system to effectively use the Microware C compiler. Here's something for more experienced BlfK 6 BopQc P.O. Box 733 Maple Valley. WA 98038 U.S. ORDER DESK: (800) 237-2409 INTL& TECHNICAL: (206)432-1814 059 Software (- >= 25611; *- >= 512H required): CyberVoice (Software only) - Run your S/S SuperVoice with OS9! $24.95 FILE SYSTEM REPACK - Popular disk defragmented $29.95 R. S. B." - Real Disk BASIC for Level 2 (BASIC ROM required). $39.95 EZGEN 1.08 - Bootfile editor. NEW VERSION! $19.95 PERTASCM* - Multi-user scrambled letter word game. $19.95 WILD & MV - Wildcard & move directory entry utilities. $19.95 B.1SIC Softujare (* >= 256H; ** >= 51211 required): HYPER-I/O - 16K Hard disk / big floppy BASIC. B&B or DISTO $29.95 HYPER-I/O HD UTILITIES - K. Berner's wild copy, delete, search. $21.95 DISK DOCTOR - K. Berner's GAT editor; also hides media defects. $17.95 DAGGORPATCH - Disk patch for Dungeons of Daggorath. $ 9.95 RGB-DOS FOR B&B -- 8K Hard Disk DOS, great M/L compatibility! $34.95 HYPER-VO and RGB-DOS come on /loppy disk & are EPROMable. HYPER-VO allows large floppy and hard disk directories, with good M/L compatibility. RGB-DOS olfers superior M/L compatibility and 160K directories only. We recommend HYPER-VO lor BBS * BASIC use. RGB-DOS lor commercial ML S/W. Hffordable Color Computer Hardware: CybarVoice - Speech Synthesizer w/ OS9 software - SPECIAL! $74.95 COCO XT - Adapts PC hard drives to CoCo. OS9 SA/V included. $69.95 COCO XT-RTC -- CoCo XT, with battery backed real-time clock. $99.95 XT-ROM - Boots OS9 from B&B hard disk automatically. $19.95 4' B&B HARD DISK CABLE SET - Extra long -- not the usual 24". $17.50 OK QuarterMeg (Add 8 memory chips for 256K, piggyback to 51 2K) $29.95 256K QuarterMeg (128K on-board + your CoCo 3's existing 128K) $54.95 Deluxe 512K booster kit (Upgrades 256K board to 512K, w/chips) $64.95 Bare 512K booster kit (Same as DELUXE, but no memory chips) $29.95 CyderUoice speahs Luell for OS9! We've mated a high-lech SC-02 speech synlhesizer with an entirely new kind ot OS9 device driver lhal aclually lets you specify your own pronunciation rules. You can even control Ihe style and pitch of Ihe voice • male, female high, low, fasl, slow - billions ol combinalions. Advanced features like inslanlaneous inflection control produce near human-quality speech! CyberVoice is compatible wilh Ihe Speech Systems SuperVoice - buy H/W & S/W, or just the CyberVoice software. . WA RESIDENTS ADD 8.1% SALES TAX. , i U.S. COD'S acta $3.30. Mm. U.S. , i shipping S3. 00. Mm. shipping to Canada , i $4.00. Please allow 2 weeks tor delivery. , i Overnight or 2-day delivery available tor ■ < in-stock Items. Software upgrades $5.00 ( yeach w/receipt. Including U.S. shipping. • December 1990 THE RAINBOW 23 C programmers. Often you want to print the time somewhere in your programs. The code in Figure I should do the job. When your program runs this code it should print the lime in the standard mm/ dd/yy hh:mm:ss format. The X02d's in the code above tell prl ntf you want the infor- mation printed in decimal. You always want it printed as two digits with a leading zero as a pad if necessary. In other words New Year' s Day will come out as o i /u I /9 1 . not 1/1/91. One more note about C. Many people say they don't like C because the code it generates is too long. Before you jump to this conclusion, consider this: You can't really compare the size of a finished C program to a BASIC09 program unless you play fairly and count the size of BASlC09's runD module. Remember that runb must be in mem- ory if you are going to run your packed BASIC09 programs directly from your exe- cution directory. When this factor is added you realize that C programs are really shorter than b AS1C09 programs since the standard C library stored in cllb.1 is shorter than runb. If you're fortunate enough toown a 51 2K CoCo 3 running OS-9 Level It, you can really speed up the C compiler by making a quick patch to the ccl file and preloading the modules used by the C compiler. In the ccl file the string /dl is located at an offset of S0EE4 from the beginning of the module. In hexadecimal this string reads 2F6431. Using tnodpatch or debug, change the 31 to M and save a new copy of cc 1 . This forces the linker to look for the LIB directory on Drive /dd (yourhard drive or high-capacity floppy). To preload the compiler, use build to create the following procedure file: load ccl load c.prep load c.passl load c.pass2 load c.opt load c.asm load clink With 5I2K you should be able to load most, if not all. the C compiler modules into memory. This step, along with the patch above, will cut your compiling time to less than a minute. You can speed com- pilation even further by putting your source code in a ram disk and changing your current data directory to the RAM disk. This will cause the compiler to write its tempo- rary files to the RAM disk. Disto Delivers a Megabyte of Memory Once again Tony DiStefano has teamed up with Chris and Joanne Rochon at CRC to deliver another landmark OS-9 solution. Thanks to Tony's genius and Kevin Dar- ling's programming prowess, you can now equip your CoCo 3 with one megabyte of memory. The Disto kit adds to the page switching capability in your CoCos gime so that it can access the entire megabyte of memory. I recently installed the kit and was astounded with my first free memory re- port. After loading DynaSlar and BAS1C09 and several sets of utilities. I entered mfree. The program reported 864K of available memory. Installation in my CoCo 3 was particu- larly easy since I had previously installed the 68(» microprocessor in a socket. Disto's kit adds two small internal boards to your CoCo. The first has 512K and is equipped with sockets that let you plug the original 5I2K on lop of it. The second board holds the page switching circuit that lets the GIME recognize the extra memory. This second board must be soldered to all 40 pins of the 6809. Operation of the CoCo 3 with a full megabyte of memory is a whole new expe- rience. You can almost preload every OS-9 program you own into memory and have it available within a split second. It's also a real gift for C programmers since it lets them preload all of the C compiler modules in memory with enough space left over to create a small RAM disk to store and read the many temporary files created by the com- piler. These two steps can cut your compile lime to a fourth of its original. For a detailed technical review of the Disto One Megabyte add-on kit. see the excellent review by Greg Law in the August 1990 issue of THE RAINBOW. A Multi-Vue Word Processing Shell Zack Sessions is a CoCo developer who has jumped on the Multi-Vue bandwagon. Zack can be contacted through Colorsys- tems. Box 540, Castle Hayne. NC 28429. WPSliell is a word processing-oriented graph- ics Shell that delivers a point and click interface with pull-down menus to do your word processing chores. It is similar in appearance to Mulii-Vue's gshell and MVCanvas from HyperTech. Essentially it brings all major word processing tasks together under one Shell. You supply your favorite text editor, text formatter and spell- ing checker programs, wpshell integrates them into one package. WPSliell Is a bargain at S22. It requires the wi ndi nt module from your Radio Shack Multi-Vue disk. With wpshell, you can combine an ex- isting public domain text editor, text for- matter, spelling checker and a more utility to build a full powered word processing system. It also makes these tools available with a click or two of your mouse button. It was written in 6809 assembly language using the RMA assembler. The more utility is a staple from the UNIX world that displays the contents of a file to the standard output path one screen at a time. It then waits for further instruction from you on whether to display the next screen, back up or skip forward. Sessions recommends Pete Lyall's excellent OS-9 port of the UNIX standard. wpshell is easily installed. Simply copy the program to the /dd/CMDS directory and copy the wpenv .file to your /dd/SYS di- rectory. Once these files have been copied, edit the environment file (wpenv. file) to match your system. Free Ham/os-9 BBS Online The Thermal Fusion BBS in Greenville. SC, is now online and available. It is dedi- cated to all owners of CoCo 2s and 3s and is of special interest to amateur radio opera- tors as well as OS-9 users. To connect, call 803-862-7544 at any speed between 300 and 9600 bps. Use eight bits with no parity and one stop bit. Unlimited shareware uploads and down- loads are permitted. You'll find many OS-9 programs and many BASIC games and utili- ties. Amateur radio operators will find radioteletype and slow-scan television software as well as satellite-tracking pro- grams. Of special interest to hams is the WJ5W CoCo Packet Radio Bulletin Board, Version 4.02. Monty W. Haley wrote the BBS program and normally distributes it with his CoCo Packet Radio Terminal program (CoCoPACT). Although CoCoPACT is not an OS-9 program, you can buy it directly from Haley at Route 1. Box 210-B, Evening Shade. AR 72532. Another amateur packet radio program is CoCoPacket. avail- able from Brian Carling at 5131 Ray wood Lane. Nashville, TN 37211. Thanks to Skip Mehlenbacher, W8HFA. for the tip. While we're on the subject of amateur radio, thanks to James Jones of Microware for my copy of the object and source code for the public domain KA9Q TCP/IP OSK network program. It's an earlier version dated from late 1986. Any amateur who needs this code as a staning point for a conversion to OS-9 for the CoCo may con- tact me at kohyd@wfoa. Incidentally, my IP address is [44.122.0.4]. That wraps up another year of Kissable OS-9. Have a happy holiday season and an outstanding new year. Until January, keep on hacking! ^ 24 THE RAINBOW December 1990 Would You Buy a Car You Couldn't Get Fuel For? Why Buy a Computer You Can't Get Software For? Many of you are now considering an alternative to the Color Computer to run OS/9. Are you really going to invest in an untried alternative with very limited software? Why not buy a computer that will run a UNIX Compatible (OS/9 like) operating system AND MS-DOS. According to published articles, this combination of industry-standard operating systems would run more than 90% of ALL of the software that has EVER been written. Compare the software bases represented below. We call these systems the OWL ATom.™ Can your alternative to the CoCo be fixed locally? On-site service is available most areas on the ATom. > OWL ATom ™ ET or SX These highly adaptable computers we call the OWL ATom™ scries. They are nol newcomers to t he computer world, but are the current versions of computers which we have been building for more than 6 years. All systems can be configured with your choice of hard drive, graphics monitor, and 6 different processors. The systems described here are typical of the new versions of our line which offer 2 industry-standard operating systems. For general features of our OWL ATom including expansion capabilities, check out the table below. Comparisons arc also given to several Tandy™ com- puters. The resolution of the optional VGA is also given. Typical system components; Processor: 80286-12 or 80386SX-16 Floppy drive: 1.2 or 1.44 Meg Memory: 1MB Hard Drive: 40 MB, 28 ms. Monitor: TTL Monochrome (720X350) MS-DOS Software: MS-DOS (with all utilities) GWBASIC Integrated Software including: Desktop Organizer with tracker Outliner Word Processor Spelling Checker Spreadsheet Data Base Graphics program Communications UNIX Compatible Software: Coherent™ (A UNIX Compatible Operating System) C Compilier Full Screen Editor Line Editor Text Formattor AWK Language and Yacc Standard UNIX utilities Documentation: Over 1500 pages and VHS Tape One of the best features is the price; FEATl'RES 2500 XI * 1000 TU2* Processor (Speed) X(i2WWI2t 80286(10) 80286(8) Tolnl Slots X 3 4 16 Bil Slots fi 3 Standard Memory W24K I024K 640K Max. on Board RAM 40% K 1024K 768K Graphics Output VGA VGA CGA Max. Resolution 1fl24X7fiX 640X480 640X200 Drive Slots 5 3 3 Hard Drive Interface YfsMnKin Yes(l6Bil) Yes(8 Bil) Floppy Drive 1 .2 nr 1 .44 Mpp 1.44 Meg 720K Power Supply (Walts) 200 70 (.1 Warranty ( Parts and Labor) lYear 90 Days 9H Days • Trademarks as follows: Model numbers -Tandy Corporation. MS-DOS- Microsoft. Inc.. OS/9 -MicroWare. Inc.. UNIX- AT&T. Inc. First year on-site service $45 (Most areas) VGA Color (800X600X256 colors) $400. Call 215-837-1917 for other options OWL- WARE P.O. Box 116 Mertztown, PA 19539 Call to Order: (800)245-6228 PA and Support: (215)837-1917 OWL-WARE Pro ven On the Razor's Edge of The New Frontier: The Most Advanced Color Computer Drive Systems Ever Offered! Fast No-Halt SCSI Floppies Using Optiona Proven Performance for Demanding Home or This is the most advanced, fully assem- belcd CoCo hard drive system offered. Using the optional OMTI 5200 SCSI controller with our Hard Drive Inter- face, our new system will support no-halt floppy drives. You need not wail while typing or worry about clock time losses. Why be limited to 3 floppy drives? A complete system could now consist of 1-3 standard CoCo floppy drives, 1-2 (or more) hard drives, and 1-3 no-halt floppies using standard (not just CoCo) OS/9 formal. You can use single or double-sided 40 or 80 track drives with the SCSI no-hall controller. There arc several new features with this improved interface. These include: • Full SASI/SCS1 compatible (this al- lows many add-ons to the versatile SCSI buss) • No-Halt Floppies with optional SCSI controller allows full type-ahead during access • Low factory-direct prices I SCSI Controller Business Users • Fast Delivery from factory stock • Optional Real Time Clock with built in battery (3-10 year lifetime) •With the Clock you have 240 Bytes of battery backed up RAM for password protection or data storage! • Same super stable LRTech quality ( Interface Price only: $85 Real Time Clock-RAM: $25. J 20 or 30 Meg. 40 Meg. 80 Meg. System Prices: (Includes Hard Drive, case, & fan, SCSI Controller*, LR/OWL Interface, Software. Fully assembled and tested.) $495. $585. $875. Super System Prices: (LR/OWL System as above but OMT! 5200 SCSI Controller AND 3.5" or 5.5" HD 80 Track Floppy in same case) $595. $695. $1039.(2 cases) *SCSI controller is OMTI 5100. Add $75 for OMTI 5200 with FDC. •••» .:■■■■.■■■■:■■!:>■■■■■ : ■ • ••■'•'•• ■ ■ •• Introducing the Quick-Link" Interface Provides both a 64K Printer Buffer and Serial and Parallel Interfaces. Serial to Parallel Printer Interface (64K Buffer) $65. Converts serial computer oul|)iil In parallel printer and also provides a 64K buffer in fronl of Ihe printer. Serial side Female DB-25 and Parallel side is Centronics. Includes Centronics to Centronics cable and power AC-adapter. If you need an adapter from the CoCo 4-pin serial to DB-25 add $9. Drive System Parts Hard Drives 20/30 Meg ST/PT1 $229. 40 Meg PTI 315. 80 Meg ST40% 590. SCSI Controllers OMTI 5100 HDOnly $79. OMTI 5200 HD/FD 169. OMTI 5400 HD/FD/Tape 199. (Note: We have no drivers for tape yet) Cases and Cables Case, 45 Watt PS, Fan $105. From 300-38.4(10 Baud. Parallel to Serial Interface (64K Buffer) $45. Same as above except it converts Centronics parallel computer output to 1)15-25 Kcmale serial. Plug into an IBM printer cable to provide output to a serial plotter. Parallel to Parallel (64K Buffer) This is parallel printer buffer »ith no conversion. $39. Cable set (3 pieces) 25. Drives have a 1-ycar limited warranty. Other parts are 90-day warranty. Please Note - At these prices, only very limited support can be given. Technology the Color Computer Frontier Floppy Drive Systems The Highest Quality for Years of Service Drive Systems (Half Height, Double Sided, Direct Drives) tpl 89. Drive systems complete with drive, controller, legal DOS, cable, case, power supply, and manual Drive 1 Systems (Half Height, Double Sided, Direct Drives) $ 1 15. New 3.5", 720K Drives for OS-9 with case & Power Supply $149. Drive 1 Systems have drive, case, power supply. (You may require op- tional cable and/or DOS chip to use) Special for 0/1 Combos (0,1,2,3) $259. SALE Prices on Drives! HALF- HEIGHT DRIVE UPGRADES FOR RS HORIZON- TAL CASES Why only double the capacity of your system when you ean triple in the same case? Kit includes: double-sided to fit your case, chip to run both sides of new drive, hardware, and detailed instruc- tions. Easy! Takes only 5 minutes! Model Only $115. 500, 501, or 502 All drives are new and fully assembled. We ship only FULLY TESTED and CERTIFIED at these low prices. We use Fuji, YE Data, and other fine brands. No drives are used or surplus unless otherwise slated to you when you order. We appear to be the one of the few advertisers in Rainbow who can truly make this claim. We have 7 years experience in the CoCo disk drive market! We are able to provide support when you have a problem. Drives 1 Year Warranty OWL Phones Order Numbers (only) 1-800-245-6228 1-215-682-6855 Fax: 1-215-837-1942 Technical Help 1-215-837-1917 OWL WARE Software Bundle Disk Tutorial/Utilities/Games DISK TUTOR Ver 1.1 Learn how to use your disk drive from this multi-lesson, machine language program. This tutor takes you through your lessons and corrects your mistakes "or a quick, painless disk drive introduc- tion. (This professionally written tutor is easily worth the bundle's total price.) 3 UTILITIES A copy verify, copy, and DOS utility. 2 GAMES We will select 2 games from our slock. These are sold for more than $20 each. Do not mistake this software with cheap Public Domain'" software which others offer. All of this software is copyrighted and professional in quality. The tutor is unique with us and has helped thousands of new users learn their disk drive. only $27.95 (or even better) only $6.95 with any Disk Drive Purchase!! 512K Upgrade Again at a popular price. Fully as- sembled and tested before shipping. Easy to install. Uses fast 120 ns. chips. Only $85. Now includes memory test, Ram Disk Lighting, Printer Lighting, and Back- up Lighting. All with an upgraded manual exclusive with OWL! Our prices include a discount for cash but do not include shipping. OWL-WARE has a liberal warranty policy. During Ihe warranty period, alt detective items will be repaired or replaced at our option at no cost to the buyer except tor shipping costs Call our tech number tor return. Return ot non-defective or un- authorized returns are subject to a seivce charoft OWL-WARE P.O. BOX 116 Mertztown, PA 19539 Wishing Well The Tour Continues by Fred B. Scerbo Contributing Editor If you have an idea for the "Wishing Well," submit it to Fred do the rain- bow. Remember, keep your ideas spe- cific, and don't forget this is basic. All programs resulting from your wishes- are for your use, but remain the prop- erty of the author. Last month we introduced the graph- ics needed to create an educa- tional program that reviewed the 50 states. This month those graph- ics are merged with a revised version of the Match Game that was intro- duced many months ago. I hope by now most of you have a working copy of The 50 States from last month. You may have noticed the article was short and the program listing was very long. The data statements required were rather complex since over one hundred were needed to create the graphics maps and titles for the 50 states. And that doesn't even include the additional data statements that create the title card or those that create the string locations for positioning the graphics. This month's listing is no exception. The data statements that create the maps and titles remain exactly the same as in last month's listing. I have even used the same line numbers for these data statements, so it is not necessary for you to retype the entire listing. Fred Scerbo is a special needs instructor for the North Adams Public Schools in North Adams. Massachusetts. He holds a master's in education and has published some of the first software available for the Color Computer through his software firm , Illustrated Memory Banks. Getting Started Load your working copy of The 50 States from last month into your CoCo. The lines to save are those between 1000 and 2490. Therefore, enter DEL -999 and DEL 2491 - to get rid of the old lines. his program is a good way to review material presented in The 50 States. Next, take this month's listing and enter all the remaining lines of the program. This will save you a considerable amount of time. You can also use these same commands to create last month's program from this month's listing. First, delete the extra lines after this month's listing has been typed and saved. Then enter the remaining lines from last month's program. So What's New? Earlier in this column I mentioned this is a revised version of our original Match Game. The program originally used the PCLEAR8 and PCOPY commands to increase the speed of the graphics. However we are now using a much larger graphics array to store these 50 states. Match Game origi- nally stored only 20 sets of opposites. As you can see, the number of graphics used has been more than doubled and we would very quickly run out of usable memory with these original commands. The PCLEAR8 command alone eats up four additional graphics pages of usable memory. There- fore, I went through the original listing and killed any references to PCLEAR. PCOPY and any graphics page higher than four. (Thus, PM0DE4 . 5 would be out of the question.) I quickly discovered my original use of the PCOPY command was unnecessary since this version seems to execute as quickly as the original. (This also means I can now make plans for larger uses of this shell since its storage capacity has more than doubled. Any ideas out there?) Using the Program You get our standard title card when you run this program. Since this version does not allow you to kill part of the graphics like the earlier version, you simply press ENTER to start the game. This game involves two players and is a standard Concentration-type game. Each player uncovers two squares at a time. Use the arrow keys to move the flashing cursor around the screen. When you reach a square you want to choose, press ENTER. When a match is made, it is recognized by the computer. To let the next player take a turn, press the Spacebar. When the game is over, the scorecard will indicate the winner. This program is a good way to review material presented in The 50 States. You really do not need last month's program to enjoy this one. By itself. The Match Game of 50 States can be fun for young and old alike. Let me know what you think. Conclusion I think by now many of our regular readers know how flexible these various shell programs can be. If you have an idea for material that could be included in these kinds of formats, drop a wish in the "Wish- ing Well." You might stimulate an idea thai could lead to an actual program listed in these pages. See you next month. Q 28 THE RAINBOW December 1990 32K Extended ^ 20 97 45 94 75 41 130 215 175 18 215 114 275 215 335 135 365 38 405 235 1050 111 1120 185 1170 132 1230 23 1300 135 1370 255 1440 226 1510 96 1560 74 1620 203 1680 212 1740 132 1800 22 1860 185 1920 24 1980 228 2040 3 2100 23 2160 116 2220 79 2280 129 2360 252 2420 134 END 32 The Listing: MATCH50 1 REM*************************** 7 REM*************************** 2 REM* MATCH GAME OF 50 STATES 3 REM* COPYRIGHT (C) 1990 4 REM* BY FRED B. SCERBO 5 REM* 60 HARDING AVENUE 6 REM* NORTH ADAMS. MA 01247 9 CLEAR2000 10 CLS0:PRINTSTRING$(64.220);:FO RI-1T0256:READA:PRINTCHR$(A+128) ::NEXT:PRINTSTRING$(64.211); 15 DATA46.46.42.46.44.42.46.46.4 2.46.45.36,42.37.40.101.108.108. 101.108.109.101.109.109.101.108. 108.53.60.58.48.48 20 0ATA42.42.42.43.35.42..42..42 ...43. 39.. 101.. 99. 101. 99. 103. 101 .101.101.101.99.99.53.51.58.51.5 1 25 DATA42. .42.42,32.42. .42. .42.3 3. .42. 37. .101. .101. 101. .101. 101. .101.101. ..48. ..59.51 30 DATA40. .40.40. .40,36.44. .44.4 4.36.40.36.40.100.108.108.100. .1 00. 100.. 100. 100. 108. 108 56. 35 DATA126. 124. 124. 124. 120. 113.1 24.124.124.114.48.53.60.60.56.62 .61.60.58,62.60.60.58.62.61.60.5 8.62.60.53.60.60 40 DATA123.115.115.115..117...11 2. 122. 48. 53. 51. 51. 50. 56. 53.. 56. 5 9. 51. 51. 58. 56. 53.. 56. 59. 51. 53. 51 .51 45 DATA. ..112. 122. 117. ..112. 122. .48. ..58. .53. ..58. .48. 58. .53. ..5 8 53 CoCoPRO! was proud to announce the introduction of a new game from the illustrious Steve Bjork, at the Atlanta CoCoFESTI Although this game was written exclusively for Fest attendees, we are offering our last 100 copies for sale to those who couldn't join us! MARTY'S NIGHTMARE- the Search for the Lost Seminar In this humorous arcade tribute to Marty Goodman, you can learn just how Marty must feel having ALL that CoCo knowledge!! Features hardware scrolling, over 100k of digitized sound, GREAT graphics . and LOTS of laughs for anyone who loves the CoCo community, whether or not they usually play games. Sure to become an Instant CoCo collectible! Req.512k CoCo-3 Tandy Flight Simulator II OS-9 Iv. II flying fun! Req. CoCo-3 Brand-new, factory-sealed 1 1 s^ZTf**. - Retail $34.95- CoCoPRO! price C$9.95 524.95. GAMERS SMORGASBORD Buy two of these great games, and take 20% off each! BASH! - $24.95 Z'89 - $29.95 ICALADURIL- $19.95 7th LINK - $38.00 OVERLORD - $29.00 MINE RESCUE - $24.95 Japan Scenery Disk for above Explore the orient! Rare supplemental disk from subLOGIC. Brand-new, factory-sealed! Quantities limited! /£o>l~o> Retail $34.95- CoCoPRO! price (§24.95. Trmipoc. lor r.ntl WARP FIGHTER 3D - $24.95 THOSE DARN MARBLES - $32.00 CALADURIL2-$38 ALSO, for incredible savings on gently used Coco soft- and hardware, mfgrs. closeouts.and special purchases, send $12 for 12 issues of our catalog. or BOTH for only $29.95!! ($69.90 value!) J Add $3 S & H on all orders. COD add $4. All prices U.S. funds VISA/MC add 5%. COCOPRO! 1334 BYRON AVE. YPSILANTI, Ml 48198 (313) 481 -DAVE (3283) BBS- (313) 663-6207 3-12-2400 7-E-l December 1990 THE RAINBOW 29 50 DATA121. 115. 115. 115. 120. 116.1 15. 115. 115. 120. 48. 49. 51. 51. 58.. 5 5. 50.. 59. 48. 49. 58. .55. 50.. 59. 51. 49.51.55 55 PRINT0422." BY FRED B.SCERBO ";:PRINT@454." COPYRIGHT (C) 1 990 "::PRINT@486." TO B EG1N ": 60 X$-INKEY$:X-RND( -TIMER ) : I FX$- "'■THEN60 65 IFX$-CHR$(13)THEN75 70 GOTO60 75 DIM SC(2).M(2).HH(2).VV(2).H( 4).V(4),K$(4.4).K(4.4.2).P$(100) ,P(16).B$(20).C$(20),A(20).N(100 ).B(4).C(4).D(4).E(4).F(4).AO(20 ) 80 FORI-1TO100:READPJ(I):NEXT 85 COLOR1.0 90 REM START 95 CLS0 100 GOTO110 105 DIMK$(4.4).K(4.4.2).P$(40) 110 PMODE4.1:PCLS0:SCREEN0.0:CLS 0:PRINT@263." PLEASE STAND BY " : 115 PT$(1)-"NG4D10NL4NR4":PT$(2) -"BL4ND2R6D4L6D6R6" : PL-2 120 FORY-4TO250STEP63:YY-YY+1 125 H(YY)-Y 130 II-0:FORI-2TO148STEP44:II-II +l:V(II)-I:LINE(Y.I)-(Y+58.I+40) ,PSET.BF:K$(YY.II)-"BM"+STR$(Y)+ "."+STR$(I):NEXTI.Y 135 POKE178.0:COLOR1.0:LINE(0.17 8)-(256.192).PSET.BF 140 CR$-"S4C0R58D40L58U40C1R58D4 0L58U40" 145 COLOR1.0:FORI-1TO4:FORY-1TO4 :FORQ-0TO20STEP2:LINE(H(I)+Q.V(Y )+Q)-(H(I)+58-Q.V(Y)+40-Q).PRESE T.B:NEXTO.Y.I 150 F0RI-1T04:F0RY-1T04:DRAWKS(I ,Y)+CR$:NEXTY.I 155 FORI-1TO100:N(I)-0:NEXTI 160 F0RI-1T08 165 P(I)-RND(50)*2:IFN(P(I))-1TH EN165 170 N(P(I))-1:NEXTI 175 F0RI-lT08:P(I+8)-P(I)-l:NEXT I 180 FORI-1TO100:N(I)-0:NEXTI 185 F0RI-1T04:F0RY-1T04 190 K(I.Y.l)-RNO(16):IFN(K(I.Y.l ))-lTHEN190 195 N(K(I.Y.1))-1:NEXTY.I 200 FORI-1T04:FORY-1T04:K(I.Y.1) -P(K(I,Y.1)):NEXTY.I 205 REM:F0RI-1T04:F0RY-1T04:DRAW K$(I.Y)+"BD4C0S2":DRAWP$(K(I.Y.l )):NEXTY.I 210 DRAWC0BM76.190S4U8R10D4NL10 BR6U4D8R8BR6U8R10D4NL10D4BR10U4N H4E4BR4NR10D4NR10D4R10BR6U8R10D4 L10R6F4" 215 SCREEN1.1: I FPL-2THENPL-1 ELSE IFPL-1THENPL-2 220 IF SC(1)+SC(2)-16THEN370 225 COLOR1.0:LINE(170.180)-(182. 192).PSET.BF 230 IFPL-1THENORAWBM174.190S4C0 R8L4U8G2"ELSEIFPL-2THENDRAW"BM17 4 . 190S4C0NR8U4R8U4L8D2" 235 V-l:H-l:FOR TR-1T02 240 DRAWK$(H.V):DRAWCR$ 245 X$-INKEY$:IFX$-""THEN240 250 IFX$-CHR$(13)THEN295 255 P-ASC(X$) 260 IFP-8THENH-H-1 265 IFP-9THENH-H+1 270 IFH-0THENH-1:GOTO240:ELSEIFH -5THENH-4:GOTO240 275 IFP-94THENV-V-1 280 IFP-10THENV-V+1 285 IFV-0THENV-1:GOTO240ELSEIFV- 5THENV-4:GOTO240 290 GOTO240 295 IFK(H.V.2)O0THEN240 300 COLOR1.0:LINE(H(H).V(V))-(H( H)+58.V(V)+40).PSET.BF 305 DRAWK$(H.V)+"BD4C0S2":DRAWP$ (K(H.V.1)):K(H.V.2)— 1 310 SCREEN1.1 315 M(TR)-K(H.V.l) 320 HH(TR)-H:VV(TR)-V 325 NEXT TR 330 IFINT(((M(l)/2) + .5))OINT((( M(2)/2)+.5))THEN340 335 F0RI-1T02:DRAWK$(HH(I).VV(I) )+"BD8C0S2":DRAWP$(K(HH(I).VV(I) ,1)):NEXTI 340 IFINKEY$OCHR$(32)THEN340 345 COLOR1.0:FORI-1TO2:LINE(H(HH (I)).V(VV(I)))-(H(HH(I))+58.V(VV (I))+40).PSET.BF:NEXTI 350 IFINT(((M(l)/2) + .5))OINT((( M(2)/2)+.5))THEN365 355 COLOR1 .0: FORI-1T02 : FORQ-0TO2 8STEP2:LINE(H(HH(I))+Q.V(VV(I))+ Q)-(H(HH(I))+58-Q.V(VV(I))+40-Q) .PRESET.B:NEXTQ:LINE(H(HH(I))+Q- 8.V(VV(I))+Q)-(H(HH(I))+58-Q+8.V (VV( I ))+40-Q). PRESET. BF:NEXT1 360 F0RQ-1T02:DRAWK$(HH(Q).VV(Q) )+"S4BR30BD14Cl":DRAW PT$(PL):NE XTQ:SC(PL)-SC(PL)+2:G0T0215 365 FORZ-lTO2:K(HH(Z).VV(Z).2)-0 :NEXT2:COLOR1.0:FORI-lTO2:FORQ-0 TO20STEP2:LINE(H(HH(I))+Q.V(VV(I ))+Q)-(H(HH(I))+58-Q.V(VV(I))+40 -Q). PRESET. B:NEXTO. I :GOT0215 370 FORI-1TO2000:NEXT 375 CLS:PRINT@104. "FINAL SCORECA RD" 380 PRINT0168. "PLAYER ONE -":SC( 1) 385 PRINT@232. "PLAYER TWO -":SC( 2) 390 PRINT@296."PLAYER ": : IFSCC1) >SC(2)THENPRINT"ONE WINS ! " : ELSEI FSC(2)>SC(1)THENPRINT"TW0 WINS!" 395 IFSC(1)-SC(2)THENPRINT@296." THE GAME IS TIED!" 400 PRINT@360. "ANOTHER TRY (Y/N) ?" : 405 X$-INKEY$:IFX$-"Y"THENRUNELS EIFX$-"N"THENCLS:RUN"MENU":ELSE4 05 1000 REM ALABAMA 1010 DATA"BR40BD60U20M+4.-30R30M +4.+40LD6L26D6L10" 1020 DATA"BR12BD40U12R8D6NL8D6BR 6NU12R6BR6U12R8D6NL8D6BR6R2U12NL 2R8D6NL8D6NL8BR6U12R8D6NL8D6BR6U 12R6ND12R6D12BR6U12R8D6NL8D6" 1030 REM ALASKA 1040 DATA"BR14BD64NU2R6U4NL6BR6N U2R6U4NL6BR6NU2R6U4NL6BR6E6U2L12 H6U6E2R6E2U2H2L4U4E2R4F2E4H4U4R1 2U2R16D2R12O38R4F6R4F10D4L4H10L4 H6L6H6L8M-16.+10H2" 1050 DATA"BR22BD40U12R8D6NL8D6BR 6NU12R6BR6U12R8D6NL8D6BR6R8U6L8U 6R8BD12BR6U12D6R4NE6F6BR6U12R8D6 NL8D6" 1060 REM ARIZONA 1070 DATA"BR34BD50M+30.+12R22U54 L40D8L6G4D8F4G4D4F4G6" 1080 DATA"BR18BD40U12R8D6NL8D68R 6U12R8D6L8R2F6BR6NU12BR6NR8M+8.- 12NL8BD12BR6U12R8D12NL8BR6U12M+8 .+12NU12BR6U12R8D6NL606" 1090 REM ARKANSAS 1100 DATA"BR34BD50F4R4D6R40U8M+1 0.-38L6U4L56M+4.+40 1110 DATA"BR8BD40U12R8D6NL8D6BR6 U12R8D6L8R2F6BR6U1206R2NE6F6BR6U 12R8D6NL8D6BR6U12M+6.+12NU12BR6R 8U6L8U6R8BD12BR6U12R8D6NL8D6BR6R 8U6L8U6R8" 1120 REM CALIFORNIA 1130 DATA"BR68BD70NR22U6H10L4H10 U4H4R4U4L4H6U10H4E4U8R30D26F28D6 F2G2D6" 1140 DATA"BR14BD40L6U12R6BD12BR4 U12R8D6NL8D6BR6NU12R4BR6NU12BR4U 6NR6U6R8BD12BR4U12R6D12NL6BR6U12 R8D6L8R2F6BR6U12M+6.+12NU12BR6NU 12BR6U12R8D6NL8D6" 1150 REM COLORADO 1160 DATA"BR32BD52R60U40L60D40BE 26E4R6F4" 1170 DATA"BR14BD40L6U12R6BD12BR6 U12R8D12NL8BR6NU12R6BR6U12R8D12N L8BR6U12R806L8R2F6BR6U12R8D6NL8D 6BR6R2U12L2R10D12NL8BR6U12R8D12L 8" 1180 REM CONNECTICUT 1190 DATA"BR28BD62M+20.-8R28E4R2 0E4U30L68D30F4M-16.+6D6R2" 1200 DATA"BR12BD40L6U12R6BD12BR4 U12R6D12NL6BR4U12M+8.+12NU12BR4U 12M+8.+12NU12BR4NR4U6NR4U6R4BD12 BR4NR6U12R6BR4R4ND12R4BR4D12BR4N R6U12R6BR4D12R6U12BR4R4ND12R4" 1210 REM DELAWARE 1220 DATA"BR44BD62NR30U50E8R8F2D 4G6D12F6M+10.+26" 1230 DATA"BR6BD40R2NU12R8U12NL10 BR6NR6D6NR6D6R6BR6NU12R6BR6U12R8 D6NL8D6BR6NU12R6NU12R6NU12BR6U12 R8D6NL8D6BR6U12R8D6L8R2F6BR6NR6U 6NR6U6R6" 1240 REM FLORIDA 1250 DATA"BR20BD8R28F4R26F2R4U6R 10D10M+18.+30D16G4L12H8U4M-16.-9 U6E2U4H12L8G6L6H10L10U4H2U2" 1260 DATA"BR16BD40U6NR8U6R8BR6D1 2R6BR6U12R8D12NL8BR6U12R8D6L8R2F 6BR6U12BR6R2ND12R8D12NL10BR6U12R 8D6NL8D6" 1270 REM GEORGIA 1280 DATA"BR40BD56U20M-8. -30R36G 2F30D6L2D8F2D4L10D6L4U4L36H6" 1290 DATA"BR16BD40NR8U12R8BD6NL4 D6BR6NR8U6NR8U6R8BR6ND12R8012NL8 BR6U12R8D6L8R2F6BR6NR8U12R8BD6NL 4D6BR6NU12BR6U12R8D6NL8D6" 1300 REM HAWAII 1310 DATA"BR12BD16NU4R6U4NL4BR8F 4R6E2U4H2L6G4D2BR16BD6R4E4R4F6D4 L12NH4BR20E2R8F2G2L8NH2BO6R4D4L4 U4BR10E4R4F4R6D4L12H4BD14BR8D4G4 D4R2D4F4R4E8R4E4U4H4L4H2L10" 1320 DATA"BR22BD40U12D6R8U6D12BR 6U12R8D6NL8D6BR6NU12R8NU12R8NU12 30 THE RAINBOW December 1990 BR6U12R8D6NL8D6BR8NU12BR8NU12" 1330 REM IDAHO 1340 DATA"BR44BD60R40U20L10U2H4U 2L4M-8. -22U6L12D30F4G8F2D10" 1350 DATA"BR28BD40NU12BR8R2U12L2 R10D12NL8BR6U12R8D6NL8D6BR6U12D6 R8U6D12BR6U12R8D12L8" 1360 REM ILLINOIS 1370 DATA"BR46BD6R30D6F2D30G2D4G 2D4G2L4O2F4D2L8H2L4G2L2H4U6H10U4 E2U2H6U2E6U4R6E4U4H4" 1380 DATA"BR16BD40NU12BR8NU12R6B R6NU12R6BR8NU12BR8U12M+8.+12U12B R6ND12R8D12NL8BR8NU12BR8R8U6L8U6 R8" 1390 REM INDIANA 1400 DATA"BR46BD8ND30R36D36F2D2G 6L4G8L2G4L4H4L2G6L2H4U6E2U4E4U8" 1410 DATA"BR16BD40NU12BR8U12M+8. +12U12BR6R2ND12R8D12NL10BR8NU12B R8U12R8D6NL8D6BR6U12M+8.+12NU12B R6U12R8D6NL8D6" 1420 REM IOWA 1430 DATA"BR40BD18R42D2F4D4F6D6G 2L4D4G4D4L4H2L30H2U4H4U4H6U4E2U2 H6R8" 1440 DATA"BR32BD40NU12BR8U12R8D1 2NL8BR6NU12R6NU12R6NU12BR6U12R8D 6NL8D6" 1450 REM KANSAS 1460 DATA"BR32BD18R52D2F4D4F4D20 L60U32" 1470 DATA"BR20BD40U12D6R2NE6F6BR 6U12R8D6NL8D6BR6U12M+6.+12NU12BR 6R8U6L8U6R8BD12BR6U12R8D6NL8D6BR 6R8U6L8U6R8" 1480 REM KENTUCKY 1490 DATA"BR18BD48R80E4R2E4U2E4H 4L2H4U4H4L2G2L4H6L4U2L8D4G4L4G4L 8G4L4H4L4G8L4G4D2L4D4L4D6L2R8" 1500 DATA"BR10BD40U12D6R2NE6F6BR 6NR8U6NR8U6R8BR6ND12M+8.+12U12BR 4R4ND12R4BR4D12R8U12BR6NR8D12R8B R6U12D6R2NF6E6BR6D2F4ND6E4NU2" 1510 REM LOUISIANA 1520 DATA"BR28BD10R40F4D2F4D2G4L G8D6R26D4G2D2F4L10G2F2R8G4F4DL8H 6L4D6L8H4G4L2H2L2H6L8H2L8U6E2U6E 6U2H6U16 1530 DATA-BR10BD40NU12R6BR6U12R8 D12NL7BR6NU12R8NU12BR6NU12BR6R6U 6L6U6R6BR6D12BR6U12R8D6NL8D6BR6U 12M+8.+12U12BR6ND12R8D6NL8D6" 1540 REM MASSACHUSETTS 1550 DATA"BR24BD20R50E4R2E4R8F6D 4G6L4D4F8R2D6R10E2U6H4U4R6F4D16M -22.+8U6L4G6L6H10U4L28D4L4U4L18H 2M+8.-22" 1560 DATA"BR8BD40U12R4ND12R4D12B R4U12R4D6NL4D6BR4R4U6L4U6R4BR4NR 4D6R4D6NL4BR4U12R4D6NL4D6BR4NR4U 12R4BR4D12U6R4U6D12BR4NU12R4NU12 BR4R4U6L4U6R4BD12BR4NR2U6NR2U6R2 BR4R2ND12R2BR4R2ND12R2BR4NR4D6R4 D6L4" 1570 REM MARYLAND 1580 DATA"BR24BD20R70D24R12D8L4D 2L10H6U4H6U8E4U2L8D2G6D8F6D4L6H1 0U6H2L4H2U4L6G2L6U4L2G6L6U8" 1590 DATA"BR6BD40U12R6ND12R6D12B R6U12R8D6NL8D6BR6U12R8D6L8R2F6BR 4BU12D2F4ND6E4U2BR6D12R6BR6U12R8 D6NL8D6BR6U12M+8.+12NU12BR4R2NU1 2R8U12L10" 1600 REM MAINE 1610 DATA"BR34BD36ND30R4E4U4E2M+ 6.-20E4R6F6R8F6D20R4F2D6R4F4G6L8 G4L6G2L6G4L10G8H4" 1620 DATA"BR26BD40U12R6ND12R6D12 BR6U12R8D6NL8D6BR6NU128R6U12M+8. +12U12BR6NR8D6NR8D6R8" 1630 REM MICHIGAN 1640 DATA"BR48BD68R40M+12.-22U10 H2L8G6L4H2U4E4U4E2U4H2L4H6L4G6L2 G6L2G4D8F2D6F2D2F4D2G2D4G6BU58L6 H4L6U2E2L4G4L2G6D2R8F4R8F2E4R8E4 R10U4L6H2L6G4" 1650 DATA"BR12BD40U12R6ND12R6D12 BR6NU12BR6NR8U12R8BR6D12U6R8U6D1 2BR6NU12BR6NR8U12R8BD6NL4D6BR6U1 2R8D6NL8D6BR6U12M+8.+12U12" 1660 REM MINNESOTA 1670 DATA"BR40BD64R50U8H8L4U6H4U 2E4U8E8R2E2R4E2U4L8H2L4G2L4H2L10 G4L10H4L2U2L14D8F2D6F2D12F2D28R2 1680 DATA"BR6BD40U12R6NO12R6D12B R6NU12BR6U12M+8.+12NU12BR6U12M+8 .+12U12BR6NR6D6NR6D6R6BR6R6U6L6U 6R6BR6D12R6U12NL6BR4R4ND12R4BR4N D12R6D6NL6D6" 1690 REM MISSISSIPPI 1700 DATA"BR40BD60R22D4F4R6E2R6F 2R2U64H2L26G6D2G6D6G4D6F4D4G2D4G 2D4G2D6" X Musica... Lyra... CoCo MIDI Z and 3... Co Co MIDI Pro! 'fW*K For over 7 years, MusicWare has given the CoCo community some of the best music programs around. Now, we've done it again with a high quality professional MIDI recorder/sequencer! CoCo MIDI Pro, which requires a CoCo 3 with 512K memory, will record music from any MIDI synthe- sizer. It is the equivalent of a sophisticated 16 track recording studio in your own home that would otherwise costs thousands of dollars!. Numerous editing functions and precision performance make your job easier. Only $125 for program and MIDI interface! While supplies last, Lyra, the ever popular music program thai makes il easy 10 play, iranscribe, or compose music, is only S37.00. This includes a copy of the 100 page Lyra Companion. Don*l miss Mot CoCo, a 50 minute audio tape of great CoCo music. See the review in the October 1990 Rainbow. Only S9.95 MusicWare Hamlet Route Box 1261, Seaside, OR 97138. (503) 738-0119. Ask for Lester Hands. Mastercard or Visa orders are welcome. INTRODUCING. RICKS SUPER SOFTWARE AT AFFORDABLE PRICES!! CC3FLAGS CONQUER THE WORLD I TO 6 PIAVERSI HUMAN OR COMPUTER) GAME5AYE TEATURE COlORfUl SCREEN DISPLAY REQUIRES COCO J WITH DISH DRIVE RECOMMEND RC8 HON REVIEWED AUC 89 REGUIAR PBICI $21 NOW $10 00 VOCAB H0NEY0URSCRABBLESKIILSAGAINSTAFAMIIY0FC0MPUTER0PP0NENTS 1T06 PLAYERS (HUMAN OR COMPUTER) DISTINCTIVE SCREEN WHEN DISPLAYED ON RGB MONITOR REQUIRES CCC03 WITH DISK DRIVE RIYIIWIDMAR 90 RET. PRICE $21 NOW $10 00 MASTERDIR diskette oirectory database for coco i. 2. or s handles oyer 2200 PROGRAM AND DATA TILES FROM UP TO 2S0 DISKETTES FEATURES FILE. DISPLAY. ALPHABETIC. SEARCH. WILD CARD SEARCH. MEMORY REPORT AND MORE A MOST HELPFUL AID IN FINDING THOSE LOSTPROGRAMS REVIEWED OCT B9 REGULAR PRICE $19 NDW - $1000 PROGRAMS FOR FRIENDS includes WACKO- play this card game coco style WIIH I TO A PLAYERS (HUMAN OR COMPUTER) CANADA - DRILL AND PRACTICE CANADIAN PROYINCESAND CAPITALS (BA5E00N STATES. SEPT '88) EUROPE - DRIll AND PRACTICE countries and capitals or Europe (baseo on ST ATES) SMARTY THE PIG single DIGIT MATH PRACTICE WITH THE BAD WOLr AND SMARTY THE PIG (BASEO ON CHARACTERS FROM BADWOLF.SEPT 88) INTRODUCTORY PRICE - $10 00 THE RAINBOW INDEXES BRAND NEW databases or articles, product REVIEWS. AND TAPE/DISK OFFERINGS FROM THE RAINBOW STARTS WITH RAINBOWS ORIGINAL ISSUE ENDS WITH JUNE 1990 THESE DATABASES Will BE UPDATED ANNUALLY 100* ML OYER 7200 ENTRIES COMES WITH BOTH COCO I II ANO COCO 3 VERSION THUMB THRU DATABASES WITH A SINGLE KEY COCO 3 DISPLAV5 1 5 ENTRIES ON SCREEN (COCO 1 '2 SHOWS 2 AT A TIME) EXCELLENT fOR FINDING INFORMATION FROM YOUR COLLECTION THESE ARE USEftlL. MUST HAVE PROGRAMS AT ABIVEAWAY INTRODUCTORY PRICE ONLY" - $10 00 SPECIAL INTRODUCTORY OFFER ALL THE ABOVE SOFTWARE AT THE LOW. LOW. low price oe ONLY $40.00 SEND CASH OR MONEY ORDER FOR FAST RETURN PLEASE INCLUDE $2 00 FOR SHIPPING /HANDLING RICK'S COMPUTER ENTERPRISE PO BOX 276 LIBERTT. IT 42539 llll RAIWIIV IS ARIGISKRtD TSAD1MARK Ut IAISWT. UK DecembeF 1990 THE RAINBOW 31 1710 DATA"BR6BD40U12R6ND12R6D12B R6NU12BR6R6U6L6U6R6BR4NR6D6R6D6N L6BR6NU12BR6R6U6L6U6R6BR4NR6D6R6 D6NL6BR6NU12BR6U12R6D6NL6BR6ND6U 6R6D6NL6BR6U6D12" 1720 REM MISSOURI 1730 DATA"8R36BD60R54F4G4R12U12H 4U4H6U6E4U4H4L2H10U4H2U4L54F4D4F 4D8F4D32" 1740 DATA"BR14BD40U12R6ND12R6D12 BR6NU12BR6R8U6L8U6R8BR4NR8D6R8D6 NL8BR6U12R8D12NL8BR6NU12R8NU12BR 6U12R8D6L8R2F6BR6U12" 1750 REM MONTANA 1760 DATA"BR16BD14R92D38L50D6L4U 2L6G2L2H4L4U8L2G4L4U8H6U6H6U10" 1770 DATA"BR14BD40U12R6ND12R6D12 BR6U12R8D12NL8BR6U12M+8.+12U12BR 4R4ND12R4BR4ND12R8D6NL8D6BR6U12M +8.+12U12BR6ND12R8D6NL806" 1780 REM N CAROLINA 1790 DATA"BR36BD18R72D4G2L4D4R8D 4G2L12F4R2D4G4L2G6L8H8L12H8L14G2 L28U2E4R4E6R4E8" 1800 DATA"BR12BD50NR8U12R8BR6ND1 2R8D6NL8D6BR6U12R8D6L8R2F6BR6U12 R8D12NL8BR6NU12R6BR6NU12BR6U12M+ 8.+12U12BR6ND12R8D6NL8D6BU18BL18 U12D6L8U6D12BL8U12R4L8BL6BD12H6L 2R8U6L8D12BL6U12L8D12NR8BL6NU12M -8,-12012" 1810 REM N DAKOTA 1820 DATA"BR26BD18NR68D38R74U12H 2U6H2U6H2U6" 1830 DATA"BR20BD50R2NU12R8U12NL1 0BR6NO12R8D6NL8D6BR6U12D6R2NF6E6 BR6D12R8U12NL8BR4R4N012R4BR4ND12 R8D6NL8D6BU18BL6U12D6L8U6D12BL8U 12R4L8BL6BD12H6L2R8U6L8D12BL6U12 L8D12NR8BL6NU12M-8.-12D12" 1840 REM NEBRASKA 1850 DATA"BR22BD18NR62D20R20D14R 60U8H2U6H2U6H6L4H4" 1860 DATA"BR8BD40U12M+8.+12U12BR 6NR8D6NR806R8BR4R2NU12R8U6NL8U6N L10BR6ND12R8D6L8R2F6BR6U12R8D6NL 8D6BR6R6U6L6U6R6BR6012U6R2NE6F6B R6U12R8D6NL8D6" 1870 REM NEVADA 1880 DATA"BR36BD12R42D44L4G4D4H3 4U18" 1890 DATA"BR18BD40U12M+8.+12NU12 BR6NR8U6NR8U6R8BR6D8F4E4U8BR6ND1 2R8D6NL8D6BR4R4NU12R8U12NL10BR6N D12R8D6NL8D6" 1900 REM NEW HAMPSHIRE 1910 DATA"BR40BD68R28E4R2E4R4E2U 4H4U2H4U42L2G4L4H2L4D4G2D12L4G4D 6G6D4G2D4G2D6G2D6F2" 1920 DATA"BR34BD32U12M+8.+12NU12 BR6NR8U6NR8U6R8BR6D12R8NU12R8U12 BD18BL72D12U6R6U6D12BR6U12R6D6NL 6D6BR6U12R6ND12R6D12BR6U12R8D6NL 8BF6R6U6L6U6R6BR6D12U6R6U6D12BR6 NU12BR6U12R8D6L8R2F6BR6NR6U6NR6U 6R6" 1930 REM NEW JERSEY 1940 DATA"BR56BD4M+20.+10D8G6D2F 4R2F4M-8.+24G4L4U6L8H8L2H4U4E6R2 E2U2H6U8R2U8E6" 1950 DATA"BR36BD32U12M+8.+12NU12 BR6NR8U6NR8U6R8BR6D12R8NU12R8U12 BD18BL62R8L4D12L4BR14NR8U6NR8U6R 8BR6ND12R8D6L8R2F6BR6R8U6L8U6R8B R6NR8D6NR8D6R8BR6BU12D4F4ND4E4U4 1960 REM NEW MEXICO 1970 DATA"BR36BD14R54D40L44D8L10 U48" 1980 DATA"BR368D32U12M+8.+12NU12 BR6NR8U6NR8U6R8BR6D12R8NU12R8U12 BD18BL62ND12R8ND12R8D12BR6NR8U6N R8U6R8BR4F6NG6NF6E6BR6ND12BR6NR8 D12R8BR6NU12R8U12L8" 1990 REM NEW YORK 2000 DATA"BR78BD4R24D16L2D12R2D1 8L2D10G4L4M-22.-9H6L50U6E6R2E4U2 R4U2R10D2R16U2E4U2H4E10R4E2R4BD6 0BR22E2R4E2R8D6L8G2L8U4 2010 DATA"BR36BD32U12M+8.+12NU12 BR6NR8U6NR8U6R8BR6D12R8NU12R8U12 BD18BL46D4F4ND4E4U4BR6ND12R8D12N L8BR6U12R8D6L8R2F6BR6U12D6R2NE6F 6" 2020 REM OHIO 2030 DATA"BR92BD14D26G4D2G4D2L4G 2D4L4G2D2L4H6L2G2L6G2L4H6L4H4U32 R4E4R4F8R16E4R4E4R4E2R6" 2040 DATA"BR36BD40U12R8D12NL8BR6 U12D6R8U6D12BR6NU12BR6U12R8D12L8 2050 REM OKLAHOMA 2060 OATA"BR96BD24D28L10H2L2G2L4 H2L4H4L6G2L4H2L8H2U16L24U6R78" 2070 DATA"BR6BD40U12R8D12NL8BR6U 12D6R2NE6F6BR6NU12R4BR6U12R806NL 8D6BR6U12D6R8U6D12BR6NR8U12R8D12 BR6U12R6ND12R6D12BR6U12R8D6NL8D6 2080 REM OREGON 2090 DATA"BR106BD14NH4M-6.+14F6D 28L80H4U8E4U34R14F2D6F2R12M+20.- 8R8E2R6E2R6" 2100 DATA"BR20BD40U12R8D12NL8BR6 U12R8D6L8R2F6BR6NR8U6NR8U6R8BR6N R8D12R8U6NL2D6BR6NR8U12R8D12BR6U 12M+8.+12U12" 2110 REM PENNSYLVANIA 2120 DATA"BR20BD18E6R2O4R70F10D2 G4D2G4F8D4G6L4G4L74U40 2130 DATA"BR4BD40U12R6D6NL68D6BR 4NR6U6NR6U6R6BR4ND12M+6.+12U12BR 4ND12M+6.+12U12BR4NR4D6R406NL4BR 8U6H4NU2F4E4U2BR4D12R4BR4BU12D8F 4E4U8BR4N012R6D6NL6D6BR4U12M+6.+ 12U12BR4D12BR4U12R6D6NL6D6" 2140 REM RHODE ISLAND 2150 DATA"BR46BD20ND30R26D8R2D6F 4R2F4D8G2L6U8H4L8D12L6G2L4G2L4U4 BR22U8R4D8L4" 2160 DATA"BR24BD32U12R8D6L8R2F6B R6U12D6R8U6D12BR6U12R8D12NL8BR6R 2NU12R8U12NL10BR6NR8D6NR8D6R8BD1 8BL70NU12BR6R8U6L8U6R8BR6D12R8BR 6U12R8D6NL8D6BR8U12M+8.+12U12BR6 R2ND12R8D12L10" 2170 REM S CAROLINA 2180 DATA"BR36BD18E4R4E2R18F4R14 F12G12D2G8L2G4L4H4U2H4U2H8L2H8L4 H2L4U2E4R2" 2190 DATA-BR12BD50NR8U12R8BR6ND1 2R8D6NL8D6BR6U12R8D6L8R2F6BR6U12 R8D12NL8BR6NU12R6BR6NU12BR6U12M+ 8.+12U12BR6ND12R8D6NL8D6BU18BL18 U12D6L8U6D12BL8U12R4L8BL6D12L8U1 2BL6D12L8U12NR8BL6L8D6R8D6L8" 2200 REM S DAKOTA 2210 DATA"BR26BD12NR68D38R64F4R2 F6U4H2U4E2U4H2U12H2U6H6E2" 2220 DATA"BR20BD50R2NU12R8U12NL1 0BR6ND12R8D6NL8D6BR6U12D6R2NF6E6 BR6D12R8U12NL8BR4R4ND12R4BR4ND12 R8D6NL8D6BU18BL8U12D6L8U6D12BL8U 12R4L8BL6D12L8U12BL6D12L8U12NR8B L6L8D6R8D6L8" 2230 REM TENNESSEE 2240 DATA"BR26BD28R90G6L2G4L8G4L 2G6L66U4E2U6E4U4" 2250 DATA"BR10BD40U12L4R8BR4NR6D 6NR6D6R6BR6U12M+8.+12NU12BR6U12M +8.+12U12BR6NR6D6NR606R6BR6R6U6L 6U6R6BR6NR6D6R6D6NL6BR6NR6U6NR6U 6R6BR6NR6D6NR6D6R6" 2260 REM TEXAS 2270 DATA"BR50BD4R12D14R4F2R4F6R 8E2R4F2R6F2D8F2D6G4L4G6L4G4D8L4H 4L6H6L2H4L2H6L4G6L2H2L4H10U2H4R2 8U30R4" 2280 DATA"BR28BD40U12L4R8BR4NR6D 6NR6D6R6BR6E6NH6NE6F6BR6U12R8D6N L8D6BR6R8U6L8U6R8" 2290 REM UTAH 2300 DATA"BR40BD8R22D14R20D36L42 U50" 2310 DATA"BR32BD40NU12R8U12BR6R4 ND12R4BR6ND12R8D6NL8D6BR6U12D6R8 U6D12" 2320 REM VIRGINIA 2330 DATA"BR24BD48R88U4H4L2H4U4H 2M-12.-4U4H4L2H4L8G4L2G12L6G4L6H 4L4G6D2G10R10" 2340 DATA"BR18BD28D8F4E4U8BR6D12 BR6U12R8D6L8R2F6BR6NR8U12R8BD6NL 2D6BR6U12BR6ND12M+8.+12U12BR6D12 BR6U12R8D6NL8D6" 2350 REM VERMONT 2360 DATA"BR88BD4D4G2D12L4G4D6G6 D4G2D4G2D6G2D6L22U22L4U4E2U18M+6 .-14R38" 2370 DATA"BR12BD28D8F4E4U8BR6NR8 D6NR8D6R6BR6U12R8D6L8R2F6BR6U12R 6ND12R6D12BR6NR8U12R8D12BR6U12M+ 8.+12U12BR4R4ND12R4" 2380 REM WASHINGTON 2390 DATA"BR36BD14R62O36L16M-40. +6H2U4L8H2M-6.-20H6U2R8F4R4U2H2U 2H4R6" 2400 DATA"BR6BD28D12R6NU12R6U12B R4ND12R6D6NL6D6BR4R4U6L4U6R4BR4D 12U6R6U6D12BR6NU12BR6U12M+8.+12N U12BR4NR8U12R8BD6NL2D6BR4BU12R4N D12R4BR4D12R6U12NL6BR4ND12M+8.+1 2U12" 2410 REM WISCONSIN 2420 DATA"BR42BD62R42U12E2U6E2U4 E2U4E2U4L2M-8.+12L2U8R2U6H4M-22. -6L6U4L4D2L8D7G2L2G6D10F10D6F2D6 F4" 2430 DATA"BR8BD28D12R6NU12R6U12B R6D12BR6R6U6L6U6R6BR6NR6D12R6BR6 NR8U12R8D12BR6U12M+8.+12U12BR6NR 6D6R6D6NL68R6U12BR6N012M+8.+12U1 2" 2440 REM WEST VIRGINIA 2450 DATA"BR56BD10D10R18D8R4E6R4 E2R6F4D4L6D2G4D2G6L4M-8.+12F2D4G 2L4G2L14H2L4H4L4H4L2H2U4H2U4E4U2 E4U2E6U2E6U2E4U2E4D4" 2460 DATA"BR18BD38D8F4E4U8BR6D12 BR6U12R8D6L8R2F6BR6NR8U12R8BD6NL 2D6BR6U12BR6ND12M+8.+12U12BR6D12 BR6U12R8D6NL8D6BU18BL66NU12R6NU1 2R6U12BR6NR8D6NR8D6R8BR6R8U6L8U6 R8BR4R4ND12R4" 2470 REM WYOMING 2480 DATA"BR34BD18R56D36L56U36BF 8F4R2U6L2G2" 2490 DATA"BR12BD28D12R6NU12R6U12 BR6D4F4ND4E4U4BR6D12R8U12NL8BR6N D12R6ND12R6ND12BR6D12BR6U12M+8.+ 12U12BR6NR8D12R8U6L2" ff^ 32 THE RAINBOW December 1990 Newspape FINAL EDITION DeskTop Publishing for the CoCo3? With Newspaper Plus - Final Edition you can create complete and sophisticated Banners, Headlines along with Text Col- umns and Graphics. Import different pic- tures, fonts, fill patterns and text from disk and create a publication with that pro- look to it. Comes complete with 22 fonts, 50 NewsArt pictures and fill patterns. 128k or 512k Disk $48.95 ShellMate By Eric Crichlow $24.95 •What MuHi-Vue should have been...!' NOW work OS-9 Level Two in a point 'n click environment similar to the DiskMas- ter program on the Amiga. ShellMate is one of the FIRST commercial programs to fully use the Multi-Vue windowing system that is both friendly and powerful. Com- mands like COPY, DELETE, RENAME, LIST, and PRINT are at your finger tip. Additional features like creating a direc- tory, list the contents of a standard OS-9 archive file as well as create and dearchive a file. How about viewing VEF and GIF pictures.. .NO PROBLEM! ShellMate is a well thought-out and useful program for OS-9. System requirements: OS-9 Level 2, Multi-Vue, Mouse or Joystick and at least 256k system memory. COLORING BOOK By John Crawford This new Second City Software program is an electronic Coloring Book. It's so easy to use that any one who can 'point-n- click' a mouse or joystick will be able to enjoy this program. It is designed for ages 3 to 7, however, a few of our software testers are well into middle age and have been seen spending hours using Color- ing Book. Once you have colored your picture, you can save it to disk or clear the colors and start all over again selecting a completely different color palette set. Program supports Black & White hardcop- ies to a Star NX-1 000 dot matrix printer. COLORING BOOK: $22.95 MORSE CW TUTORIAL $19.95 WORD SEARCH GENERATOR: $1 9.95 SPACE RAIDERS: $16.95 STARPIC UTILITY: $1 9.95 DMP-PIC UTILITY: $19.95 GEM-PIC UTILITY: $19.95 Will print PMODE pictures on your Dot Matrix Printer. Works in a Point 'N Click pull down menu environment. Loads in ANY "/MAX" extension picture file. Select different PMODE screens and even 'INVERT your picture! This is a full featured, easy to use picture utility. CHECK-09MV #2.1: $25.95 Finally, aprogram that interacts with Multi- Vue for FAST and EASY check balancing. 512k DISK. APBBS Ver: 3.01.15 $39.95 A powerful, high quality, and affordable BBS program by Mike Guzzi for OS-9 Level II. Unleash the power of your 51 2k CoCo 3 with this BBS package that comes complete with all the needed STUFF that SysOp's have been demanding. An added bonus that you get with APBBS is full support after the sale. If we at Second City Software are unable to answer your question, Mike Guzzi (the author) has put his personal phone number in the man- ual! What better way to show a commit- ment to your software purchase! APBBS requires a CoCo 3 with 51 2k, at least two double sided floppy drives (a hard drive is strangle recommended), OS-9 Level 2, and RS-232 pak. APBBS is not for every- one. It is designed and intended for the SysOp who demands performance and support... om KBCom is a flexible terminal program for OS-9 Level 2 that allows you to call and log into other computers. Some of the features include: • VT100, VT52, ANSI, OS-9 and CRT terminal emulation • Powerful macros • Hot-Keys • An Alarm/Clock • Conference Mode • Full control over all RS-232 & Window parameters • XON/XOFF flow control • ASCII, XModem, YModem, YModem batch, and kermit file transfers KBCom: $44.95 •What if... all CoCo music programs were this good?' UltiMusE III (the Ultimate Music Editor, CoCo III) is a MIDI 'Notation Sequencer*. It lets you write and edit sheet music on a 640x1 92 graphics screen using the mouse, play it on ANY MIDI-equipped synthe- sizer, and print out the score. Written by an experienced computer professional who is also a serious amateur musician and composer. Copy a favorite piece of sheet music just as it looks! Why should your music sound like a machine? Ul- tiMusE III has a wide pitch range, from 4 octaves below Middle C to over 3 above. NEW FEATURES INCLUDE; Part Copy, Percussion Table/Staves, MIDI Clock, Note Articulation, Note Translator, Note Joiner, FULL Point 'N Click mouse/key- board menus! UltiMusE III is the perfect computer music program for both the professional & beginner musician. System requirements: CoCo3 with at least 256k memory, OS-9 Level 2, Mouse/ Joystick, MIDI Synthesizer, a Serial to MIDI cable or a MIDI interface pak. $54.95 MIDI Cable: $19.95 MIDI T Cable $22.95 Casio MT-240 MIDI Keyboard $149.95 Casio MT-540 MIDI Keyboard $1 79.95 MASTER CATALOG or MASTER CATALOG 3: $1 9.95 ea. Organize your floppy disks with Master Catalog. Supports single & double sided drives, alphabetize, sort, and search & find up to 3,000 filenames. Program sup- ports a Column Format Hard Copy and is 100% ML for lightning response. When ordering, please specify CoCo 1 -2 or 3 version. Second City Software P.O. Box 72956 • Roselle, IL 60172 (708)653-5610 MasterCard - Visa - C.O.D. - Checks/M.O. Add $2.50 Shipping / $4.50 Foreign C.O.D. orders add an additional $2.50 Allow 1 to 3 weeks delivery ":";t: . ■ .. . ■ :..■■' Displaying Picture Files Using OS-9 Level II Graphics Part III by Tim Kientzle ith this third article in our series we continue last month's theme by looking at two very different, albeit very effective, compression methods. Unfortunately these methods are complex and BASIC09 programs to decode them would be long and slow-running. Because of this, the second part of this article addresses some changes and im- provements to our VEF program. The com- pression methods discussed are those used by CM3 and GIF formats. They are a little tough to understand, so if you have diffi- culty, go to the second half and find out about the improvements made to the VEF viewer. Non-RLE Compression Last month several different variants of a compression method known as Run- Length Encoding (RLE) were discussed. This method is so named since it com- Tim Kientzle is currently pursuing a doc- torate in mathematics at the University of California at Berkeley and has worked with the CoCo since 1982. He is best known in the CoCo world as the author ofV-Term. He can be found on Delphi as TIMKIENTZLE. Or you can contact him at 14 Croxton Avenue, Oakland, CA 94611. Another look at data- compression techniques presses files by encoding sequences of a single repeated byte, or run. Due to its simplicity, variations of RLE are very common. There are. of course, other meth- ods. CoCo Max III has an interesting and effective compression method that encodes repeated bytes occurring either horizon- tally or vertically. By taking advantage of vertical and horizontal repetition, it can compress many graphics files significantly better than most of the RLE variants. The CompuServe Information Service (CIS) has standardized its Graphics Interchange For- mat (GIF) to allow many different types of computers to share picture files. This is done by storing detailed information about picture resolution and color mapping so that viewer programs can adapt the picture to whatever display hardware is available. GIF is also somewhat remarkable since it uses a sophisticated compression method known as Lempel-Ziv- Welch compression (LZW), so named after its three founders. LZW creates a table of common sequences of bytes and uses this table to encode the data. Since this method automatically adapts to any kind of data by generating this table from the specific data file, it is very effec- tive at compressing many kinds of data. Vertical and Horizontal Compression CM3 format does several things to sim- plify programming, provide good compres- sion and to avoid lengthening files. These will be discussed without much detail. CM3 compresses each line separately. Each line of the graphics data is stored with a header byte followed by the graphics data. This helps to simplify programming since each line can be handled separately. It also helps prevent the lengthening of files. If a line would be too long compressed, it can be stored uncompressed. This means that in the worst case only one byte would be added for each graphics line. The compres- sion uses two arrays of bits that tell how to restore each byte on the line. A compressed line starts with an array of 160 bits (20 34 THE RAINBOW December 1990 bytes), one bit for each byte of graphics data on this line. If the corresponding bit is zero, the previous byte is duplicated. If the bit is one. a bit is checked in a second array. If that bit is zero, the byte above is dupli- cated. Otherwise, a byte is copied from the data stored in this line. This requires only one bit if a byte duplicates the one before it, two bits if the the byte duplicates the one above it or 10 bits if the byte doesn't satisfy either of these. As long as there are a lot of bytes that are either horizontally or verti- cally duplicated, this will work well. But even if there aren't the line can always be stored uncompressed. For many files this might mean lines in the middle of a picture (where there is probably more detail) might be stored uncompressed, while lines at the top and bottom would be stored compressed. Storing Patterns The Lempel-Ziv-Welch compression method used by GIF is rapidly becoming an industry standard. The OS-9 archiving programs ar and pak use it, as do the MS- DOS programs ARC and ZOO, the Unix com- press program and others. The method was originally described by the authors in a series of articles published in professional magazines. The full details of lzw com- pression can get complicated, but the basic idea is simple. The ideas behind lzw compression are described first, then we'll take a look at some other features of the GIF format. If you think about it, the only way files can be compressed is to take advantage of repeated patterns in the data. For RLE, the kind of pattern exploited is a repeated single byte. For CM3, the patterns looked for are single bytes repeated either vertically or horizontally. In the case of LZW compres- sion, the patterns compressed are deter- mined from the data itself. An LZW encoder keeps a table of each sequence of bytes it sees, then uses the position in that table as a code for that sequence. As a rough ex- ample, if it read abcdabc it would first store the sequence ab, then the sequence cd. Next it would see ab, encode that using the code for ab and then store abc in the table. Each time it sees a sequence that extends an already known sequence, that sequence is added to the table. In this way it can adapt to almost any sort of data. The only tricky part of this is that the encoder must make sure the decoder can figure out this mess. Citing from the above example, if we put ab in our table and then immediately used that code, the decoder would not know what the code stood for. Instead, the encoder will simply not use a code that has just been added to the table. This way the decoder can build its own table of codes and be assured that whenever it sees a code in the data, that code is already in its own table of sequences. The strong point of GIF is its compres- sion method. This method fulfills one of the twodesign goals of the format, which is to reduce file size for quick transmission between systems. The other goal is to allow picture reproduction on any system. For this reason GIF is careful to store the picture size and color information in a format that is easily interpreted on a wide variety of computers. An obvious question to ask is that if GIF has such a great compression method, then why isn't it being used by everyone? There are two reasons for its lack of universal appeal. First of all, GIF is intended to allow picture files to be moved between many different types of computers. As a result it avoids storing information that might not be useful on some machines like animation information or pattern data. There is also a trade-off in complexity. GIF is much more complex than RLE approaches. GIF requires more data memory (the encode/decode tables require at least 16K), more program code and more time to encode or decode a file. For many program authors this is simply not worth the benefits. More Level II Tips and Tricks Let's think about ways to increase the speed of our vef program. If you look at the vef program, there are three major pieces of code. The first procedure reads and inter- prets the header. The second retrieves a 1 ine of graphics data from the file. The third procedure puts that line of graphics data on the screen. The header is read only once per picture and additional speed in this opera- tion would not significantly effect the speed of the program. When retrieving a line of graphics data from the file, there are few ways faster than a Get of the entire line, which is used for uncompressed data. Last month a trick was shown using an OS-9 system call to get exactly one compressed packet. The reason Get can't be used to retrieve the entire packet is that the length of the packet is not known in advance. Get always reads exactly enough to fill the appropriate variable. The only part left to improve upon is the code to put a line of graphics on the screen. You may recall in the first part of this t . I 1 1 c: . jakwood Ave. Jackson, HI 4yzUj VISA/MC.MO, checks MI res add 4% tax (517)787-3610 $2.50 S/H most orders Host orders snipped next bus. day! WeaUAl new coCol,2 & 3 products! Send LSASE for new CoCo newsletter Want adds, product news, much more Clubs write we want to hear from you .etter quality 2UUGX tor NLQ Both full color, W/rear/top/bot , feed paper park & builtln serial for dual auto port select! or chose the DISTO ser/par adapt .W/modem switch. CITIZEN 2 yr. war. all W/STAR*MAX software. Convertable push/pull tractor, more GSX-140 W/special GFX*HAX see below' Get real 24pin software not just old 9pin SH that works on the new prlnte GSX-140 64 cps LQ/192 cps draft 200GX 213 cps draft/40 cps NLQ NXlOOORalnbow 120 cps draft/30 NLQ ;-l<0 24plnLQ 9 pinNLQ OK w/Disto I479.95+J12 S/H/I !279.95+$12 S/H/I l269.95+$12 S/H/I SiftO serial/parallel adapter with bull tin modem switch $44.95+$5 S/H m 19.95 $12. 95 BLACK en-Mo COLOR 4 clr heat-trans KASCAN Digitize in B&W,I6, 4096 color & 3D from VCR, VIDEO disk, camcorder etc near photo quality.RAS'MAX optional (see below). 4096 mode requires 512k CoCo3 128/512k disk $1 jL9 54j6 -S/H _ graphics otter Hhat-You-See Is-Wnat-You-Get colors, onscreen pre vlew/clr-editlng no guessing/ waste T-shirt prints, partial prints even print double-screen CM3 to fit 8x10 picture frame single screen fit 5x7 •MAX software is the BEST, easier to use and saves on ribbon cost I! BM°$Ml; print BS.W.16 & 4096 clr on NxT0O0,GSX140.DMP240,2O0GX,CGP-220 even T-shirt prints of 4096 color See GFX'MAX for wallet & postcard. CoCo3 128k disk $24.95 With RASCAN-2 $14.95 tma.°WS>X color CM3,HGE,HSCREEN2 etc STAR, CITIZEN. DMP-240 & compatables also 16 level B&W grayscale driver CoCo3, 128k, disk $21.95 (RfMU special for new 24 wire L> printers. New modes/sizes not possablt with 9 pin printers, wallet, postcari & more. HSCREEN2, GIF, MGE. CH3, IMG ONLY for 24pin LQ EPSON color compat CoCo3, 128k, disk, LQ prt. $24.95 RAS'MAX $14.95 With STAR'MAX or a»°MMl as STAR'MAX but for CGP-2 CoCo3Tl28k. disk $18.? F : DP253 / inl & ?o^a?a L §)es STAR CoCol,2,3 disk 118.95 reate SPRITES.wri te your own video games in BASIC! Adds 18 new BASIC & easy to use commands. Complete with extensive manual & demo game wrlten in Sprite-BASIC on the disk. Never done before on any CoCo. Fantastic! CoCo3, 128k. disk $44.95 ULTRAED+ BEST assembler & disassembler ever for the CoCo3. 2 buffers, disk I/O 80 col screen, handy online help file & get editable source code disassembl req.EDTASM cart to make working dis Coco 3. l?flk. disk $24 .95 LJUFKR HOUND Digitize any sound for programs or sound effects for animated graphics Easy for novice, W/hacker features w/demos. Nothing to write down/forge Nothing else to buy. Works with your BASIC programs. A complete package Real MULTI-TASKING under US-DOS. CoCo3. 128k disk w/cable $44.95 SUPER BOOK Ultimate reterance tor BASIC or M/L frogrammlng. Memory maps, helps more han PEEKs & POKES very easy to use "fee!. toys CoCo3 disk $24.95 ■m* CCl .2,3 disk $19.95 December 1990 THE RAINBOW 35 series I mentioned two methods of putting the data on the screen. The first method was the one used in the PutLi ne procedure, the GPLoad escape sequence. This sequence causes the window system to store the following data into a Get/Put buffer, which can then be put directly on the screen. (This is the Put of a graphics image on the screen and not the BASIC09 PUT command to write a variable to a file.) The problem with this method is that OS-9 transfers the data from your program to the window system one byte at a time. It would be much faster to copy the data directly into the Get/Put buffer. An example of this can be seen in Listing 1 . It uses a GetStat call to map the buffer so it can be accessed directly. This is faster than the GPLoad sequence originally used. Don't spend a lot of time re-creating the buffer from scratch if it can be avoided. This process can be avoided with a new procedure to create and map-in the buffer, which is run near the beginning of VEF. To accommodate this, a few changes must be made to our main VEF procedure. These changes are included in the revised vef procedure in Listing 1. There is very little speed gained with this version since the PutLi ne routine has to copy the data byte-by-byte to the buffer. This process is just as slow as having the window system do it with GPLoad. To cor- rect this have the GetLine routine put the line data directly into the buffer, which makes it unnecessary for us to copy the line data around. An example of this is in List- ing 2. Since the required changes (remov- ing the Li ne variable and using a variable to hold the address of the Get/Put buffer) affect nearly every procedure, a full listing has been included. This version is almost as fast when displaying uncompressed VEF pictures as programs written completely in C or assembly language. Speeding it up for 51 2K OS-9 Level * Listing 1: SetBuffer.b09 PROCEDURE 0000 0027 004C 0063 006B 0074 007B 0092 0093 009A 00BD 00F1 0101 010B 0116 0117 0146 016C 0160 01A3 PROCEDURE 0000 0030 0033 0035 0068 006F 007F 0088 00C1 0105 0118 0123 0145 0155 0168 0173 0175 0176 0194 SetBuffer (* Creates and maps in a Get/Put Buffer TYPE Registers-CC.A.B.DP:BYTE; X.Y.U: INTEGER TYPE ScrnType-sctype: INTEGER: bytes: INTEGER: width: INTEGER PARAH scpath:BYTE PARAM scrn:ScrnType PARAM BufAddress: INTEGER DIM Regs Registers DIM I:INTEGER DIM null:BYTE null-0 (* Do a GPLoad to create the buffer RUN GFX2(scpath."gpload".l.l.scrn.sctype.scrn.width,l,scrn. bytes) FOR 1-0 TO 159 PUT ffscpath.null NEXT I Regs.A-scpath \Regs.B-$84 \Regs.X-$0101 \Regs.Y-l RUN SysCalKJSE.Regs) \<* Now. get access to it BufAddress-Regs.X \(* The rest of the program needs this value END PutLine (* Assumes we have a previously mapped-1n Buffer BASE TYPE LineType-long(160):BYTE: short(80) :BYTE TYPE ScrnType-sctype: INTEGER: bytes: INTEGER: width: INTEGER PARAM scpath:BYTE PARAM scrn:ScrnType PARAM linenum: INTEGER PARAM line:LineType PARAM BufAddress: INTEGER \(* NOTE! New Parameter... remember to change VEF1 DIM I: INTEGER IF scrn.bytes>80 THEN \(* Copy line. long into buffer FOR 1-0 TO 159 POKE BufAddress+I.llne.longd) NEXT I ELSE \(* Copy line. short into buffer FOR 1-0 TO 79 POKE BufAddress+I.line.shortd) NEXT I ENDIF RUN GFX2(scpath."Puf. 1.1.0. linenum) END PROCEDURE VEF 0037 003E 0041 006C 00AC 00C3 00C4 010A (* Display a VEF format picture file on a window screen PARAM Filename: STRING BASE (* Stores Info about the screen we're using (* sctype-0S9 screen type: bytes-bytes/line: width - pixels/line TYPE ScrnType-sctype: INTEGER: bytes: INTEGER: width: INTEGER (* Since there are two different sizes of lines, we create a structure (* with two different-sized arrays, so we can use fast GET and PUT 36 THE RAINBOW December 1990 014C 0160 017B 017C 0188 018F 0198 01A1 01AC 0183 01BA 01C1 01C2 01D9 01E5 01E6 0203 021F 0250 025F 0273 0274 0297 02B8 02C3 02C4 02FC 0318 0323 0350 036C 038A 0395 0396 03BD 03DE 040E 0441 0450 0490 0496 0498 (* commands for 1/0. TYPE L1neType-long(l60):BYTE; short(80) :BYTE DIM palette(16):BYTE DIM compress: INTEGER DIM 1 ine:LineType DIM scrn:ScrnType DIM path.scpathrBYTE DIM 1: INTEGER DIM char:BYTE DIM buffer: INTEGER (* First, open the file OPEN #path.Filename:REAO (* Get the header Information RUN GetHeaderlpath.scrn.se type. palette. compress) (* Create the screen and set up "scrn" structure. RUN SetScreen(scpath.scrn) RUN SetBuffer(scpath, scrn. buffer) FOR 1-0 TO 15 \(* Set the palettes RUN GFX2(scpath."Palette".i.palette(i>) NEXT 1 FOR i-1 TO 8 \(* VEF convention is to skip top 8 lines RUN GetL1ne(path .scrn. bytes. compress. line) NEXT i FOR i-0 TO 191 \(* Load and display each line RUN Get Line (path. scrn. by tes.compres s.l 1ne) RUN Put L 1 ne ( scpa th. scrn. 1. line. buffer) NEXT 1 RUN GFX2("Bell") \(* Tell the user we're done GET #scpath,char \(* Wait for a key press RUN GFX2("K111Buff".l.l) \(* Kill the buffer we used RUN GFX2("Select") \<* Select the screen where we started CLOSE ffpath \(* close the disk file IF scpath>2 THEN \(* If It's not Stdl/O. close the screen CLOSE #scpath ENDIF END compressed pictures would require rewrit- ing the UnSquash routine in C or assembly. Project Ideas Once you understand the vef program and the changes made to it. there are several other programs to try. Change the final version of the VEF program to handle MGE format pictures. If you know C or assembly, rewrite the VEF program in either of these languages. At the very least, rewrite the UnSquash procedure. You might even try finding a good description of the CM3 format and writing a display program for that. Saving a graphics screen can be done in essentially the same way. The only differ- ence is that you use the GetBl k operation to get a line of graphics into a buffer, map in the buffer and then output the data. You will have to work around a minor bug that prevents the GetBl k operation from work- ing on the full width of the screen. (You'll have to get only '/z of the line at a time.) If you have access to information on other graphics formats, compare it to those discussed here. In particular, try to figure out how the compression method works and whether or not it would work better than any of these. J ALL ^r NO MORE COMMANDS ^^ SEARCHING AT YOUR j/r THROUGH FINGERTIPS MANUALS KEYBOARD TEMPLATES FOR YOUR COCO ALL Commands for CoCo 1-2-3 on ONE Template $6.95 Telewriter 64 Template 5.95 Telewriter 128 Template 5.95 Please add $2.00 Shipping S Handling for each Template (NC Residents Add 5% Sales Tax) PLEASE SEND CHECK OR MONEY ORDER ONLY P&M PRODUCTS 1003 Shalimar Drive High Point, North Carolina 27262 (919) 887-2236 * ATTENTION * * Chess lovers & stradegy gamers* TAKE NOTE Game Gem Games Announces POWER PIECES The Epic of Conquest for a 51 2K CoCo 3 'Experience the thrill of:moving* ,attacking,reconnaissance * and distance attacking * all scaled to chess board size* Save and load games no two games the same Splendid point and click environment and all for ONLY $27.95 Send Check or Money Order to. Game Gem Games PO Box 487 Clarksburg, WV 26301 *CHECKS ALLOW 2-4 WEEKS DELIVERY* * Sorry no COD'S * * 51 2K CoCo3 1 Disk Drive * December 1990 THE RAINBOW 37 About Your Subscription Your copy of the rainbow is sent second class mail. You must notify us of a new address when you move. Notifica- tion should reach us no later than the 1 5th Of the month prior to the month in which you change your address. Sorry, we can- not be responsible for sending another copy when you fail to notify us. Your mailing label also shows an ac- count number and the subscription expi- ration date. Please indicate this account number when renewing or correspond- ing with us. It will help us help you better and faster. ForCanadian and other non-U. S. sub- scribers, there may be a mailing address shown that is different from our editorial office address. Send your correspondence to our- editorial offices at Falsoft. Inc.. The Falsoft Building. P.O. Box 385. Pros- pect. KY 40059. Listing 2: VEF.D09 PROCEDURE VEF 0037 003E 003F 0041 006C 00AC 00C3 00C4 0000 0007 00E0 00EB 00F2 00F9 0100 0101 0118 0124 0125 0142 015E 018F 019E 0101 0102 01F5 0216 0221 0222 025A 0276 0281 02AE 02CA 02D9 02E4 02E5 030C 0320 0350 0390 03AC 03DF 03E5 03E7 (* Display a VEF format picture file on a window screen PARAM F1lename:STRIN6 BASE (* Stores info about the screen we re using TYP [* Stores info about the screen we re using , ... , (* sctype-0S9 screen type: bytes-bytes/line: w dth - pixels/line TYPE ScrnType-sctype: INTEGER: bytes: INTEGER: width: INTEGER DIM palette(16):BYTE DIM compress: INTEGER DIM scrn:ScrnType DIM path.scpath:BYTE DIM 1: INTEGER DIM char:BYTE DIM buffer: INTEGER (* First, open the file OPEN #path.Filename:READ (* Get the header information RUN GetHeaderf path. scrn. sctype. palette. compress) (* Create the screen and set up "scrn" structure. RUN SetScreen(scpath.scrn) . .„«.- RUN SetBuffer(scpath. scrn. buffer) \<* Create and map in G/P Buffer FOR 1-0 TO 15 \(* Set the palettes RUN GFX2(scpath. "Palette". 1 .paletted )) NEXT 1 FOR 1-1 TO 8 \(* VEF convention 1s to skip top 8 lines RUN GetLine( path. scrn. bytes. compress. buffer) NEXT 1 u „ FOR i-0 TO 191 \(* Load and display each line RUN Getl1ne(path. scrn. bytes. compress. buffer) RUN PutLine(scpath.1 ) NEXT 1 RUN GFX2("Bel1") \<* Tell the user we're done GET #scpath.char \(* Wait for a key press RUN GFX2("K1HBuff".l.l) \(* Kill the buffer we used RUN GFX2("Select") \(* Select the screen where we started CLOSE #path \(* close the disk file IF scpath>2 THEN \(* If It's not StdI/0. close the screen close fscpath ENDIF END PROCEDURE 'path", return window type, palettes. GetHeader (* Read header info from (* and compression code. PARAM path:BYTE PARAM wintype: INTEGER PARAM palette(16):BYTE PARAM compress: INTEGER (* Stores all the Info 1n a VEF header in one variable TYPE VEFheader-comp:BYTE: VEFtype:BYTE: pal s(16) :BYTE DIM header:VEFheader GET #path. header \(* Actually read the header info from path. type into window type compress-header. comp \(* Set compression type palette-header. pals \t* Set palettes wintype-8-header.VEFtype \(* Convert VEF pictur IF w1ntype<7 THEN wlntype-wintype+l ENDIF END SetScreen ,. h . (* Creates the screen, and sets the scrn variable TYPE ScrnType-sctype: INTEGER: bytes: INTEGER: width: INTEGER PARAM scpath:BYTE PARAM scrn:ScrnType DIM sc DIM 1 FOR 1- READ NEXT 1 (* This (* It DATA J scrn.w rncode(14):BYTE INTEGER 1 TO 14 scrncode(i ) 1s the "magic" sequence that will set up the new screen right, has the codes for DWSet. Select. CurOff 1B.120.»08.$00.S00.J28.$18.J00.J01.$00.*1B.*21.$05.$20 idth-320 \(* Width is the width of the screen in pixels 38 THE RAINBOW December 1990 017B IF scrn.sctype-5 OR scrn.sctype-7 THEN 0194 scrn.w1dth-640 01A0 ENDIF 01A2 01A3 scrn.bytes-160 \<* L1nes1ze 1s number of bytes per line. 01D6 IF scrn.sctype-5 OR scrn.sctype-6 THEN 01EF scrn.bytes-80 01FA ENDIF 01FC 01FD OPEN #scpath.'7w": UPDATE \(* Create a new window 0220 (* scpath - 1 \ RUN GFX2(scpath."DWEnd") \ (* Use the same window 0261 0262 RUN GFX2(1. "Select") \(* Select our StdOut screen 028E 028F scrncode(3)-scrn.sctype \(* Byte 3 Is the screen type 0289 scrncode(6)-scrn.w1dth/8 \(* Byte 6 1s the screen width in characters 02F5 PUT //scpath. scrncode 02FF END PROCEDURE SetBuffer 0000 (* Creates and maps 1n a Get/Put Buffer 0027 TYPE Registers-CC.A.B.DP:BYTE: X.Y.U: INTEGER 004C TYPE ScrnType-sctype: INTEGER: bytes: INTEGER; width: INTEGER 0063 0064 PARAM scpath: BYTE 006B PARAM scrn:ScrnType 0074 PARAM BufAddress: INTEGER 007B DIM Regs:Registers 0084 DIM I:INTEGER 008B DIM null:BYTE 0092 0093 null-0 009A (* Do a GPLoad to create the buffer 00BD RUN GFX2( scpath. "gpload'M .l.scrn.sctype.scrn.wldth.l . scrn. bytes) 00F1 FOR 1-0 TO 159 0101 PUT tfscpath.null 010B NEXT I 0116 0117 Regs.A-scpath \Regs.B-$84 \Regs .X-$0101 \Regs.Y-l 0146 RUN SysCall(J8E.Regs) \(* Now. get access to 1t 016C 0160 BufAddress-Regs.X \(* The rest of the program needs this value 01A3 END We've Just Converted Over 250 Macintosh Quality Pictures For The Color Computer. Each Set Includes An Excellent Graphics Editor! Pictures are CoCo-MAX II compatible. Set#l Clipart Space Pictures Animals More Set #2 Celebrities Cartoon Characters Great Graphics More Set #3 Adult Only R-Rated Beautiful Women Each Set Of 10 Disks Only $35.00 ! Buy 2, Get One Free! Coco 1,2 And 3 32K Minimum Disk Only T&D Subscription Software • 2490 Miles Standish Dr., Holland, Mi 49423 • 616-399-9648 December 1990 THE RAINBOW 39 PROCEDURE PutLlne 0000 0048 0067 006E 0075 0076 0094 PROCEDURE 003F 0078 0094 00A2 00A9 00CE 00CF 00DB 00DC 0101 0115 0130 013F 0155 0164 0180 0182 PROCEDURE 0000 0039 0058 0077 008F 0090 009B 00A6 00AO 00AE 00C9 0106 0111 0147 017F 0187 0189 01AB 01B9 01C4 1 D6 01F4 01FF 0203 0222 022D 024F 025A 025C 0260 0261 (* Assumes we have a previously mapped-1n G/P Buffer, and that line data (* 1s already in the G/P Buffer PARAM scpath:BYTE PARAM Hnenum: INTEGER RUN GFX2(scpath."Put".1.1.0,11nenum) END GetUne (* Gets one line of graphics data from the file Into the buffer (* "bytes" Is the length of the line expected, "compress" (* is the compression format PARAM path: BYTE PARAM bytes: INTEGER PARAM compress: INTEGER PARAM buffer: INTEGER \(* Address of mapped-1n buffer DIM scratch(300):BYTE IF compress-0 THEN \(* means no compression RUN I .Readipath, buffer. bytes) ELSE \(* compress is not zero RUN GetPacketfpath. scratch) RUN UnSquash( scratch. buffer. bytes/2) RUN GetPacket(path. scratch) RUN UnSquash( sera tch.buffer+bytes/2. bytes/2) ENDIF END UnSquash (* UnSquash data in scratch Into memory (into G/P Buffer) PARAM scratch(300):BYTE \(* Data to unsquash PARAM target:INTEGER \(* Address to put result PARAM targslze: INTEGER \(* size of result DIM scrpos.linestop:INTEGER DIM i.runend: INTEGER DIM temp:BYTE scrpos-0 \1 inestop-target+targsize \1-target WHILE KUnestop DO \(* Keep going until we get to the stopping point scrpos-scrpos+1 runend-1+LAN0(scratch(scrpos).l27)-l \(* Find where this group will end IF runend>linestop THEN \(* Some Squashed VEF files have problems... runend-1 inestop ENDIF IF scratch(scrpos)>127 THEN \(* If high bit set. temp-sera tch(scrpos+l) scrpos-scrpos+1 FOR 1-1 TO runend POKE i.temp \(* Repeat this value. NEXT 1 ELSE FOR 1-1 TO runend \(* Otherwise. scrpos-scrpos+1 POKE l.scratch(scrpos) \(* copy data straight. NEXT 1 ENDIF ENDWHILE END ROCEDURE GetPacket (* Gets one Squashed packet from the input path (* Uses the ISRead system call to read the entire packet (* at once, which is much faster. PARAM path:BYTE PARAM scratch(300):BYTE DIM packsize:BYTE DIM Ipacksize:INTEGER 002F 0067 0088 008F 009B 00A2 00A9 00AA 00CD 00EA 00FF PROCEDURE 0000 001E 0043 004A 0051 0058 0061 0062 008A 00BC 00E4 010A GET #path.packsize \(* Get 1-byte packet size Ipacksize-packslze \(* Make 1t an integer RUN I_Read ( pa th.ADDRt scratch). I packs 1ze) END I„Read (* Call the IJRead system call TYPE Registers-CC.A.B.DP:BYTE: X.Y.U: INTEGER PARAM path:BYTE PARAM bufaddr: INTEGER PARAM buf size: INTEGER DIM regs: Registers regs.A-path \(* A register holds the path regs.X-bufaddr \(* X register holds the buffer address regs.Y-bufstze \(* Y register holds the size RUN SysCall($89.regs) \(* Read data into buffer END f&\ 40 THE RAINBOW December 1990 A look at sounding the alarm under OS-9 by David P. Boynton Very few people know much about the OS-9 F$Alarm (callcode $1E) system call due to its lack of documenta- tion by Tandy in the Techni- cal Reference section of the Level II man- ual. When I first learned to use syscall under BASIC09, 1 thought it would be neat to set an alarm. -So I gave it the address of a time packet and had no success. I then tried using the other registers, but still had no luck. After a while I completely forgot about it. Then one day I bought Inside OS- 9 Level ll from Frank Hogg Laboratories David P. Boynton is a sophomore at Sun- nyslope High School and has worked for two years in computer maintenance at a local newspaper. In his spare time David enjoys football, wrestling and computer programming. He can be contacted at SS27 N. 35th Dr., Phoenix. AR 85051. OS-9 Level * The Listing: alarm.b09 PROCEDURE 0000 001 E 0034 004F 0074 0070 0086 0092 00B6 00C2 00D6 00DC 0103 0110 012A 0135 0147 0160 0167 0173 ') alarm (* Alarm Version 1.00.00 (* By David Boynton *) TYPE Time_Packet-Year. Month. Day. Hour. Minute: BYTE TYPE Registers-CC.A.B.DP:BYTE: X.Y.U: INTEGER DIM TP:Time_Packet DIM Regs:Registers DIM CHAR:STRING[1] (* Get function from command line *) PARAM Function:STRING[l] (* Set error trap *) ON ERROR GOTO 100 (* Make sure function 1s from 1 to 4 *) IF VAKFunctionXl OR VAL(Function)>4 THEN 100 IF Function-"4" THEN (* Clear *) PRINT "Clear Setting." Are you sure [Y/N] : ": PRINT CHAR-" WHILE CHAR- DO RUN inkey(CHAR) December 1990 THE RAINBOW 41 Figure 1: Conditions for F$Alarm Clear Alarm Entry conditions: A=0 B=0 Exit Conditions: None Set Audio Alarm Entry Conditions: A=0 B=l X=address of the 5-byte time packet Get Alarm Status Entry Conditions: A=0 B=2 X=pointer to 5-byte buffer for packet return Exit Conditions: If A=0 and B=0, then the alarm was cleared. If A=0 and B=l, then an audio alarm is set. If A=255 and B=255. the alarm has already gone off. Otherwise, the alarm is a signal alarm, and A=Proc ID and B=Signal Exit Conditions: None Set Signal Alarm Entry Conditions: A=Proc ID B=signal to be sent X=address of time packet Exit Conditions: None Happy Holidays From... Thanks to those who stopped by our booth at the Atlanta CoCo Fest! »: Mini Banners :» Multiple Line Banners on ANY Printer! NtWI Create single or multiple line banners with adjustable heights and widths. Up to 1 6 lines o( text with independently sized characters. Even works with daisy wheel and non- graphic printersl Includes over 30 fonts! INTRODUCTORY PRICE $14.95 »: Mini Basic :* More Memory for Basic without Learning New Commands! PRETTY NEWI Tired of being limited to 22K for Basic) We were loo, so we created MultiBasic, a utility which allows you to use the "hidden" memory of your CoCo 3 without learning ANY new commands. Load multiple programs, disk chain, share subroutines and variables, all without interrupting program flow. HOLIDAY PRICE $24.95 • : Shadow BBS:- Complete RS-Dos BBS with Low Hardware Requirements! ALSO PRCTTY NEWI Finally, an RS-Dos BBS with power, speed, and flair. Uses RS232 Pak OR serial port. Does not require a hard drive or memory upgrade! features: SysOp Utilities, Up to 2 55 Msg Areas, X/Y Modem, ANSI, Status Window, Clock, AutoMessage, User Surveys and Profiles, and too much more to mention herel A full appreciation of Shadow BBS comes, not, however, form it's many features or low hardware requirements, but from the flair and smoothness of the program itself. We want you to see what this BBS can do. Call the Shadow's Realm, the official Shadow BBS HQ, at (409) 63-REALM (300-2400 Baud, 24 Hrs.) and see for yourselfl HOLIDAY PRICE $34.95 Sub-Etna Software Call or Write for Information! P.O. Box 1 52442 Add $2.50 S&H and $3.50 C.O.D. Lufkin, Texas 7591 5 Texas residents add 8.25% tax. (409) 639-ETHA [3842] "Don't Panic — Wc ship Fast!" Corrections "Wishing Well" (August 1990, Page 30): The line numbers to be changed in the listing for EZTHELO (from July 1990) to create EZTHEL02 are incorrect. The correct lines are 2, 25, 60. 65, 70, 71. 72, 74, 75, 76, 86, 87, 255. 301.996. and 997. STATEMENT OF OWNERSHIP. MAN AGEMF.NT AND CIRCULATION ] A) Title of publication: The Rainbow, 'lite Color Computer Monthly Magazine. B) Publication No.: 705050. 2) Dale of Tiling: September 13. 1990. 3) Frequency of issue: Monthly, 3A! No. of issues published annually: 12. 3B) Annual subscription price: S3 1. 00. 4| Complete Mailing Address of known office of publication: The Falsofl Building. 9509 U.S. Highway 42. Prospect. Jefferson County. Kentucky 40059. 5) Complete Mailing Address of headquarters of general business offices of the publisher Same. 61 Names and complete addresses of publisher, editor, and managing editor: Publisher and Editor: Lawrence C Falk. The Falsoft Building. 9509 U.S. Highway 42. Prospect, Kentucky 40059; Managing Editor Cray Augsburg. The Falsoft Building. 9509 U.S. Highway 42. Prospect. Kentucky 40059. 7> Owner Falsofl. Inc.. The Falsofl Building. 9509 U.S. Highway 42. Prospect. Kentucky 40059. 8) Known bondholders, mortgagees and other security holders owning or holding I percent or more of total amount of bonds, mortgages or other securities: None. 9) For completion by nonprofit organizations authorized to mail at special rates (Section 423.1 2 DMM). The purpose, function and nonprofit status of this organization and the exempt status for Federal Income tax purposes (Check one): Not applicable. 10) Extent and nature of circulation: (X)=Averagc No. copies each issue during preceding 1 2 months: ( Yl=Actual No. copies of single issue published nearest to filing date. A) Tolal No. of copies printed: I x) 35.083 (y) 34,300 B> Paid Circulation: 1 ) Sales through dealers and carriers, street vendors and counter sales (x) 7.306 (y) 9.205. 2) Mail subscription: HI 18.693 ty) 24.547. CI Total paid circulation: t.x) 25.999 (y) 33.752. D) Free distribution by mail, earner or other means, samples, complimentary and other free copies: (xl 1,192 (y) 153. E) Tolal distribution: (x> 27.191 (yl 33,905. F) Copies not distributed: 1 1 office use. left over, unaccounted, spoiled after printing: (x) 341 (y> 395. 21 Returns from news agents: (x) 7.55 1 (y) 0. G) Total: ( x) 35.083 (y) 34,300. 42 THE RAINBOW December 1990 Not only does Tandy produce our favorite CoCo, we think it produces the best portable and MS-DOS computers as well. We've found that when satisfied Color Computer users decide to add portability or MS-DOS to their computing habits, many stick with Tandy. For these people we publish PCM, The Premier Personal Computer Magazine for Tandy Computer Users. Each month in PCM, you'll find information and programs for the Tandy 1 00, 1 02 and 200 portable computers. And you'll find even more coverage for Tandy's MS-DOS machines — from the graphics of the 1 000 to the power of the 5000. PROGRAMS AND PROGRAM DISKS! We learned from THE RAINBOW that readers want programs to type in . so each month we bring you an assortment of them: games, utilities, graphics, and home and business applications. For those who don't have time to type in listings, we offer a companion disk with all the programs from the magazine. Also included in PCM each month is the Software Shopper, an "onmail" database service from which you can order the latest shareware products from our Delphi databases for Tandy MS-DOS and PC users — even if you don't have a modem! TUTORIALS AND PRODUCT REVIEWS! As if all this weren't enough, we offer regular tutorials on DeskMate, telecommunications and hardware; assembly language, BASIC and PASCAL programming tips; and in-depth reviews of the new software, peripherals and services as they are released. Add it all up and we think you'll find PCM to be the most informative and fun magazine for this market today! YES! Please send me a one year (12 issues) subscription to PCM for only $28.* A savings of 22% off the newsstand price. Name Address City _ State _ ZIP In order to hold down costs, we do not bill. My check in the amount of is enclosed. Charge to my: □ VISA J MasterCard J American Express Acct. # Exp. Date Signature To order by phone (credit card orders only) call 800-847-0309. 8 a.m. to 5 p.m. EST. For other inquiries call 502- 228-4492. ' Canadian subscribers U.S. $38. Surface rate elsewhere $64, airmail $85. Allow 6 to 8 weeks for first copy. Kentucky residents add 6% sales tax. U.S. currency only, please. Mail to: PCM, The Falsoft Building, P.O. Box 385, Prospect, KY 40059 017D 0181 0196 01A1 01AC 01BA 01BC 01D0 01D2 0104 01D6 01E3 01F4 01FF 020A 0218 0226 023F 025A 025C 025E 02B1 02CA 02D9 02DB 02F4 0337 0339 0348 0366 0368 036A 036C 038C 0398 03B8 03C4 03D1 03E9 03FA 040D 041E 042F 0440 044B 0456 0464 0472 0486 0488 048A 04B6 04C6 04D3 04EB 04F9 0507 0518 052B 053C 054D 055E 056C 057A 058F 0591 0593 05A9 05E6 05F4 061A 0640 0667 0688 06BC OR CHAR-"Y" THEN STR$(TP.Year): "/": • ": STRS(TP.Hour): STR$ will get signal ENOWHILE IF CHAR-"y" Regs.A-0 Regs.B-0 RUN syscall($lE.Regs) PRINT PRINT "Setting Cleared." ENDIF END ENDIF IF Function-"3" THEN (* Get Setting *) Regs.A-0 Regs.B-2 Regs.X-ADDR(TP) RUN syscall($lE.Regs) IF Regs.A-0 AND Regs.B-0 THEN PRINT "Alarm has been cleared." END ENDIF PRINT "Current alarm setting: "; (TP. Month); 'V; STR$(TP.Day ) : : STR$(TP. Minute) IF Regs.A-0 AND Regs.B-1 THEN PRINT "Mode: Audio" ENDIF IF Regs.A>0 AND Regs.A<255 THEN PRINT "Print process ": STR$(Regs.A) ; : STRS(Regs.B): " at alarm." ENDIF IF Regs.A-255 THEN PRINT "Alarm has already sounded." ENDIF END ENDIF (* Get date from command line *) PARAM Dat:STRING[8] (* Get time from command line *) PARAM Time:STRING[5] IF Function-"!" THEN (* Set an audio alarm *) TP.Year-VAL(LEFT$(Dat.2)) TP.Month-VAL(MID$(Dat.4.2)) TP.Day-VAL(RIGHT$(Dat.2>) TP.Hour-VAL(LEFT$(T1me.2)) TP.Minute-VAL(RIGHT$(Time.2)) Regs.A-0 Regs.B-1 Regs.X-ADDR(TP) RUN syscall<$lE.Regs) PRINT "Audio alarm set." END ENDIF (* Get Proc Id & Signal from command line *) PARAM Id.Sig:STRING[3] IF Function-"2" THEN (* Set a signal alarm *) Regs.A-VAL(Id) Regs.B-VAL(Slg) TP.Year-VAL(LEFT$(Dat.2)) TP.Month-VAL(MID$(Dat.4.2)) TP.Day-VAL(RIGHT$(Dat.2)) TP.Hour-VAL(LEFT$(Time.2)) TP.Minute-VAL(RIGHT$(Time.2)) Regs.X-ADDR(TP) RUN syscall($lE.Regs) PRINT "Signal alarm set." END ENDIF 100 (* Error routine *) PRINT "Use: ALARM [Date] [Time] [Process Id] [Signal]" PRINT "Functions:" PRINT " 1 - Set an audio alarm" PRINT " 2 - Set a signal alarm" PRINT " 3 - Get current setting" PRINT " 4 - Clear setting" PRINT \ PRINT "All dates and times MUST be padded with zeros.' END and read the "Bugs" section of the book. This section told me more about the alarm call. I began to experiment with this call and discovered its usefulness. The alarm call has four different func- tions. The call sets the alarm (actually the CC3I0 module) to make a tone once per second for a duration of 15 seconds. It also sets the alarm for cl ock to send a process signal on time match, gets the alarm status and clears the alarm. To tell the clock which function you want, set the A and B registers upon entry to the call. The entry conditions for the call are shown in Figure 1 . I have written a short BASIC09 procedure named Alarm to demonstrate the alarm's functions. This procedure was written as a command line utility and as such all input is given on the command line. It will not prompt you for anything except to clear the alarm. The command syntax is as follows: alarm [Date] [Time] [Procid] [Signal] The functions are: 1 — set audio alarm 2 — set signal alarm 3 — get alarm status 4 — clear alarm The date and time must be padded with zeros for the procedure to be read properly, syscall and in key must also be in memory or in the current execution directory. For example, if you want to set an audio alarm for August 8, 1990, at 5:30 p.m., enter: alarm 1 90/08/08 17:30 If you use the standard shel 1 supplied by Tandy, enclose ail the parameters in paren- thesis and quotes as follows: alarmC'l". "90/08/08". "17:30") Since I use ShellPlus, this is done for me. You can find ShellPlus on Delphi or just about any CoCo BBS. To get the status and clear the alarm, the only parameter is the proper function. For example, to get the status, enter al arm 3. I hope this was informative and you will find many uses for the call. Have fun with the program. ■ IBM 4 t»W • «n -n (■» i. • i..» *-- ... — *- (i -mm COW Tandy Tt/2 Z."JZ. - -- *»» *" It 00% . .. - •™«-» TDP/2 Options: • 12" monochrome monnor $89.95 • 1 44 Meg floppy $119.95 • 14" CGA monitor $279.95 • 720K floppy $99.95 • 14" EGA monitor & card $499.95 • 360K floppy $99.95 • 14" VGA moraior card $599.95 • 20 Meg dnve $279.95 • 1 .2 Meg floppy $119.95 • 40 Meg drive $349.95 External Hard Drives tor Tandy EX, HX Computers Complete System - just plug in (requires 384K mm.) 20 Meg $389.95 40 Meg 30 Meg $429.95 $499.95 Now we carry r 100. SX, TX. SI. TL. 3000. 4000 — | 2nd Floppy 360K TEAC $119.95 720K Mitsubishi $99.95 31/2" Mitsubishi $119.95 Tandy EX, HX — 360K or 720K External Floppy For EX or HX $139.95 Tandy 1400 LT 360K External Floppy $199.95 IDE Drives tor new Tandy 1000. SX, TX. SL. TL Hard Drive Controller Will run 1 or 2 Hard Dnves Supports drives up to 120 megabytes $99.95 Tandy EX. HX External Hard Drive 10 Meg $299.95 20 Meg $389.95 30 Meg $429.95 40 Meg $499.95 Tandy 1400 LT 720K External Floppy Drive $199.95 s 20 Meg - CALL 1000. 1000A Memory Board with 512K Expands memory to 640K $199.95 -Tandy EX. HX 384K Memory Expansion Card Includes 384K $189.95 - Tandy 1400 LT - 20 Meg Internal Hard Disk Drive $699.95 Tandy ' is a registered trademark ol Tandy Corporation TRUE DATA PRODUCTS P.O. Box 347, 115 So. Main Street Uxbridge, MA 01569 Tel. 508-278-6555 1-800-635-0300 Hours: 9 a.m. -6 p.m.. Sat. 10 a.m. -4 p.m 1ST QUALITY MERCHANDISE QUALITY CUSTOMER SERVICE 508-278-6555 TECHNICAL ASSISTANCE 508-278-5556 FOR YOUR PROTECTION WE CHECK FOR STOLEN CREDIT CAROS 40 Meg - CALL - 1000, SX, TX. SL, TL, 3000. 4000 - Memory Upgrades From $50 Color Computer — Drive O Includes ttoppy dnve, case & power supply, controller & software $179.95 - Color Computer • Drive O + 1 Includes 2 floppy drives, case & power supply, controller & software $269.95 CORPORATE P O 5 WELCOMED ALL PACKAGES SHIPPEO UPS EXCEPT CANADA AND APOs CODS A00 $3 30 MASTERCARD' VISA ADD 2*. ALL RETURNS MUST HAVE RMA» (CALL 508-27B- 6555) YOU MAY BE SUBJECT TO A RESTOCK- ING FEE SHIPPING 'HANDLING CHARGES NON-REFUNDABLE 1 YEAR WARRANTY UNLESS OTHERWISE NOTED PRICES 'TERMS-CONDITIONS SUBJECT TO CHANGE WITHOUT NOTICE Tzzzzzz/////. ^ b////////////V / yw/wWA /T^ZZZZZZZZZ STJ fl////////zzzz^ rfTZZZZZZZZZZZfo T "rfsssss// J ^zzzzzzzzzz^. 1 ^zzzzzzzzzz T j ZZZZZZZZZZ^X R 0A?/////////ZZZZ$> / . 1 4&ZZZZZZZZZZZZZ. A *7777ZZZHZZZZ& dd-on is a word game plus a whole lot more. Il is simi- lar to a popular board game but has a few differences in scor- ing. To play this game you must have a CoCo 3 with a joystick or mouse plugged into the right joystick port. You can use a composite monitor. RGB monitor or a tele- vision set. Since this program uses the high Joel Mathew Hegherg has been program- ming for seven years. He enjoys creating games and utilities for the Color Com- puter. In his spare time he teaches others how to use computers. For further infor- mation on this program contact Joel at 936 N.ttth St.. Dekalb. IL 60115. resolution screen of the CoCo 3. an RGB monitor works best. I've also kept televi- sion users in mind by not using the first few columns of the screen since these cannot be seen when using a TV set. The object of Add-on is to create as many words as possible while gaining the most points. Points are awarded for each letter in the words you create. You only get points for the word that you create. For example, if you create the word "mob' (see Figure 1 ) you will have indirectly created the words 'not*, 'be' and 'farms.' You will only get points for the word 'mob.' Also on the grid are some colored squares. The dark red squares multiply the score of the word you create by three. The orange squares multiply the score by two. The dark blue squares multiply the score for the letter that occupies that square by three and the light blue squares multiply it by two. Words are created from the letters on the grid. To begin the game, the computer randomly selects a starting word. New words must originate from one of the words al- ready on the grid. To start a game, players must first select their tiles. These tiles are turned over to keep you from knowing the letters you have. Next, a grid appears on the screen and the first player's tiles are dis- played face up. That player should study both his letters and the words on the grid. When a word is chosen, the player enters it via the keyboard. Using the joystick/mouse, move the cursor to the square where your word should begin and click the button. Push the arrow key to show in which direc- tion the word should go (downward or to the right). If everything is done correctly, your word is placed on the grid. If you make a mistake typing your word and you've already entered it. simply press CLEAR to re-enter your word. If you cannot make a word, you may pass to the next player without receiving any points. To pass your turn, click the joystick/mouse when you would normally be entering your word. For the most part, any instructions needed are given onscreen. The * tile is a wild card letter. It isn't worth any points, but can be good to have. To create a word with this wild card, the player must include the * within the word. For example, you might eatetprin*er for the word printer. m . ....... ....... ...... ......... I I IF! I I •....4. ..<.....}... .<....{ i i IA; I ! IHiOiRiN; I i i IMIOIBI :p;A;S;T;E: -......•..,..■......'.....'.....■ Figure 1: Word Creation The game ends at playerdiscretion. This could be when you have run out of tiles or you cannot make any more words with your current letter tiles. If you are in a multi-player game, the rule for when a game ends should be mutually agreed upon prior to play. To end the game, press BREAK. At the beginning of this article I said "a word game plus a whole lot more." By this I mean the extensive point and click system used in this program. I designed this pro- 46 THE RAINBOW December 1990 gram to give the player more control over what happens in the game. When you first run the program, a blue screen appears with CMP on one side and RGB on the other. Simply point to the side for your monitor (television sets use CMP colors) and click the joystick/mouse but- ton. These are the default colors. You may change or edit these by clicking on the Colors menu selection. To change a color, simply point to the box containing the color and hold down the joystick/mouse button. Quickly clicking the button changes the colors one at a time. Clicking the word Border changes the border color. If you make a mistake and/or want the default colors, simply click on the word CMP or the word RGB. You can return to the main menu at any time by pressing break. Doing this in the middle of a game causes your final scores to be displayed until you click the joystick/ mouse button. To return to BASIC, simply click on the BASIC menu selection. Have fun and enjoy! Please feel free to contact me if you have any questions or comments about this program. Click on the About Add-on menu selection. After my name and address are displayed, click the mouse/joystick button to see the values for each letter used in the program. □ CoCo3 110 217 220 159 290 192 360 102 470 231 600 107 650 130 700 135 780 177 850 176 950 46 1000 88 1090 231 1150 232 1220 238 1290 89 1370 30 1460 241 1570 91 1650 115 1720 169 END 115 The Listing: ADD-ON 'COPYRIGHT 1990 FALSOFT. INC. 10 ' 20 * 30 'ADD-ON WORD GAME •(C) MARCH 28. 1989 BY 'JOEL MATHEW HEGBERG '936 NORTH TWELFTH STREET "DE KALB. ILLINOIS 60115 40 50 60 70 80 • 90 ' 100 POKE65496,0:WIDTH32:CLS:PMOD E0.1:PCLEAR2:PCLS:SCREEN0.0:HSCR EEN0:CLEAR7600:DIMPL$(4).ZZ$(100 ).GB$(15.15).SC(4):HBUFF1.500:BD -0:POKE&HFF9A.BD 110 POKE65497.0:CLS:R-RND(-TIMER ):HCOLOR4.2:HSCREEN2:HLINE(160.0 )-(160.191).PSET:HPRINT(9.11)."C MP":HPRINT(29.11)."RGB" 120 IFBUTTON(0)O0THEN120 130 GOSUB1740:GOSUB1780:GOSUB183 0:IFBUTTON(0)-0THEN130 140 IFPX<160THENCMP:ELSERGB 150 • 160 'DATA FOR LETTER DISTRIBUTE 170 180 3.G 5.0 2.W 190 200 210 220 .6. 230 DATA A.8.B.3.C.3.D.3.E.11.F. .2.H.3.I.8.J.2.K.I.L.5.M.2.N. .7.P.3.Q.I.R.5.S.5.T.6.U.3.V. .3.X.1.Y.2.Z.1 •DATA FOR LETTER VALUES DATA 1.3.3.4.1.5.6.5.1.8.7.5 6.1.3.9.4.3.4.1.8.7.9.6.9.0 SUPER BACKUP UTILITIES ** Requires ainimua 64K « * Copies either standard or OS-9 disks * Does not abort on errors; allows you to copy disks 'hat contain bad sectors * Errors are reported by track and sector number * Utilizes all you.- RAM. 512K version will Bake ■ultiple copies of a disk after loading the data only once » A Bust for single-drive backups: Copies 10 tracks at a tiBe using 64K Copies 19 tracks at a time using 128K Copies an entire 80-track disk using 512K' Less disk snaps wan a big savings in time SUPER BOOT *» COCO-3 ONLY " » BOOT your DECB (RS-DOS) disks by typing DOS * Automatically sets printer baud rate Supports 380, 600, 1200, 2480, 4800, 9608 * Automatically sets nuaber of disk tracks/sides Supports 35, 36, 40, 80— single or double « Automatically sets drive step rate Support? 6, 20, 30 * Displays directory in two columns, up to four 'pages*. As many as 128 entries can be displayed without scrolling off the screen » Auto-slarts file named STARTUP or select file to LOAD or LOADM using arrow keys Each program $15. ■ (U.S.). Both $25.00 Send check or Boney order to! C. EN&AND 128 Shepherd Dr. N.E. Calhoun, 6A 30701 TEST WRITING PROGRAM Designs multiple choice and true/false questions. Allows you to edit, save, load, select, display, randomize and print. Includes utilities for making a cover sheet, answer key and Instruc- tions. Uses 32K. ONLY $39.95 the EXAMINER Permits Bralnbuster quizzes to be taken on-screen rather than In written form. Ideal for classroom, home or office, for serious use or just-for-fun. Uses 32K. JUST $24.95 TRIVIA QUIZZES Trivla-1 Trivia-2 Trlvia-3 Trlvla-4 (25 Questions). (50 Questions). (50 Questions). (50 Questions). . $5.50 .$10.95 .$10.95 .$10.95 (History, Sports, Arts & Scl., etc.) TKASDIKI^ !P@©T DISK ONLY. Send check or money order. P.O. Box 3453, Carbondale, IL 62902 Specify CoCo 1, 2 or 3. Add $3.00 S/H. December 1990 THE RAINBOW 47 240 'DATA FOR STARTING WORDS 250 ' 260 DATA 15. COMPUTER. PRINTER. TAN DY. RAINBOW. DISKETTE. MONITOR. JOYS TICK. CARTRIDGE. KEYBOARD. KILOBYTE S. CASSETTE. MOUSE, I NTERFACE.BAUDR ATE. BASIC 270 GOTO1140 280 POKE65497.0:HCOLOR8.0:HCLS:L N-0:A$-"PLEASE WAIT. . .":G0SUB134 0: RESTORE : F0RX-1T015: FORY-1T015 : GB$(X.Y)-"":NEXTY.X:FORT-1TO100: ZZJ(T)-"":NEXTT 290 F0RT-1T026:READ A$.A:F0RB-1T A:GOSUB1740:GOSUB1780 300 X-RND(100):IFZZ$(X)<>— THEN3 00 310 ZZ$(X)-A$:GOSUB1830:NEXTB.T: FORT-1TO100: IFZZ$(T)-""THEN ZZ$( T)-"*":NEXTT:ELSENEXTT 320 IFINKEY$O""THEN320 330 NP-1:FORT-1TO27:READA:POKE40 00+T.A:NEXTT:HCLS:LN-0:AS-"HOW M ANY PLAYERS?" :GOSUB1340:HPRINT( 1 0.5)."1 PLAYER":HPRINT(30.5)."2 PLAYERS":HPRINT(10.10)."3 PLAYER S":HPRINT(30.10)."4 PLAYERS" 340 IFBUTTON(0)O0THEN340 350 GOSUB1740:GOSUB1780:GOSUB183 0: IFBUTTON(0)O1THEN350 360 IFPY<40OR PY>870R PX<80OR PX >311THENSOUND1.1:GOTO350 370 IFPY<48THEN390:ELSEIFPY>79TH EN NP-NP+2:GOTO390 380 SOUND1.1:GOTO350 390 IFPX<152THEN410:ELSEIFPX>239 THEN NP-NP+1:GOTO410 400 SOUND1.1:GOTO350 410 LP-100:HCLS:FORPL-1TO NP:SC( PL)-0:PL$(PL)-STRING$(9.32):GOSU B1550:NEXTPL 420 " 430 "SELECT A STARTING WORD. 440 ' 450 READ A:B-RND(A):FORA-lTO B:R EADA$:NEXTA 460 " 470 'INITIALIZE GAME BOARD 480 ' 490 F0RX-1T015:F0RY-1T015 500 IFRND(0)>.07THEN520 510 GB$(X.Y)-MID$(STR$(RND(4)).2 .1) 520 NEXTY.X:FORT-lTOLEN(A$):GB$( T+4.8)-MID$(A$.T.l):NEXTT 530 ' 540 'START THE GAME 550 ' 560 FORPL-1TO NP 570 ' 580 'PUT GAME BOARD ON SCREEN 590 ' 600 ONBRKGOTO1110:HCOLOR8.0:HSCR EEN2 :P0KESHFF9A.BD: HLINEt 95.22 ) - (215.143) .PSET.B 610 FORT-103TO214STEP8:HLINE(T.2 3)-(T.143).PSET:NEXTT:F0RT-31T01 43STEP8:HLINE(95.T)-(215.T).PSET :NEXTT 620 F0RX-1T015:F0RY-1T015:IFGB$( X.YX"l"OR GB$(X.Y)>"4"THEN640 630 A-VAL(GB$(X.Y)):IFA-1THENHPA INT(X*8+93.Y*8+20).3.8:ELSEIFA-2 THENHPAINT(X*8+93.Y*8+20).7.8:EL SEIFA-3THENHPAINT(X*8+93.Y*8+20) .2.8:ELSEHPAINT(X*8+93.Y*8+20).5 .8 640 HC0L0R4:IF(GB$(X,Y)>"@"AND G B$(X.YX-"Z")OR GB$(X.Y)-"*"THEN HPRINT(X+11.Y+2).GBJ(X.Y) 650 NEXTY.X 660 HCOLOR2:HLINE(80.168)-(227.1 91).PSET.B:GOSUB1700:HLINE(0.0)- ( 319, 15). PRESET. BF:HLINE( 0.144 ) - (319. 160). PRESET. BF 670 HCOLOR8:HPRINT(6.0). "PLAYER #"+MID$(STR$(PL),2)+":"+STR$(SC( PL)) 680 HPRINT(6.1). "ENTER YOUR WORD OR CLICK TO PASS.":W$-"" 690 HC0L0R1:HLINE(LEN(W$)*8+96.1 59)-(LEN(W$)*8+101.159').PSET:FOR T-0TO25:NEXTT: HLINEt LEN(W$)*8+96 .159) -(LEN(W$)*8+101. 159). PRESET : FORT-0TO25 : NEXTT: I FBUTTON( 0)-lT HEN WS-0:GOTO1040 700 A$-INKEY$:IFA$-""THEN690:ELS EIFA$-CHR$(13)ANDLEN(W$)>1THEN76 0:ELSEIFA$-CHR$(8)THEN730 710 IFLEN(W$)>14THEN690:ELSEIFA$ -"*"THEN720:ELSEIFA$<"A"OR A$>"Z "THEN690 720 HC0L0R6:HPRINT(12+LEN(W$).19 ).A$:W$-Wt+A$:GOTO690 730 IFW$-""THEN690 740 W$-LEFT$(W$.LEN(W$)-1) 750 HLINE(96.152)-(300.159).PRES ET.BF:HCOLOR6:IFW$-""THEN690:ELS EHPRINT(12.19).W$:GOTO690 760 HLINE(0.8)-(319. 15). PRESET. B F:HC0L0R8:HPRINT( 6.1). "FIND STAR T POSITION OF WORD." 770 PX-INT(JOYSTK(0)/4.25)+l:PY- lNT(J0YSTK(l)/4.25)+l 780 HGET(PX*8+88.PY*8+16)-(PX*8+ 95.PY*8+23).1:HC0L0R6:HLINE(PX*8 +88 . PY*8+16 ) - ( PX*8+95 . PY*8+23 ) . P SET.BF:FORT-0TO10:NEXTT 790 HPUT(PX*8+88.PY*8+16)-(PX*8+ 95.PY*8+23).1 800 IFINKEY$-CHR$(12)THEN660:ELS EIFBUTTON(0)O1THEN770 810 HLINE(0.8)-(319. 15). PRESET. B F:HC0L0R8:HPRINT( 6.1). "WHICH DIR ECTION? (USE ARROW KEYS)" 820 DX-0:DY-0:A$-INKEY$:IFA$-CHR $(12)THEN660:ELSEIFA$-CHR$(9)THE NDX-1:ELSEIFA$-CHR$(10)THENDY-1: ELSE820 830 TP$-PL$(PL):UL-0:AL-0:LX-PX: LY-PY:LW-1 840 IFGB$(LX.LY)-MID$(W$.LW.1)TH EN AL-1:GOTO880 850 IFGB$(LX.LY)>"@"AND GB$<-"Z" THEN920 860 I-INSTR(TP$.MID$(W$.LW.1)):I FI-0THEN920 870 MID$(TP$.I.l)-" ":UL-1 880 LX-LX+DX:LY-LY+DY:LW-LW+1:IF LW>LEN(W$)THEN910 890 IFLXOOR LX>150R LY<10R LY>1 5THEN970 900 GOTO840 910 IFUL-0OR AL-0THEN920:ELSE980 920 HLINE(0.8)-(319. 15). PRESET. B F:HC0L0R3:HPRINT( 6.1), "LETTERS D NOT MATCH! !!" 930 IFINKEY$O""THEN930 940 IFBUTTON(0)O0THEN940 950 IFINKEY$-""AND BUTTON(0)-0TH EN950 960 GOTO660 970 HLINE(0.8)-(319. 15). PRESET. B F:HC0L0R3:HPRINT(6.1)."W0RD TOO LONG!!!":GOTO930 980 LX-PX:LY-PY:DW-0:TW-0:WS-0:P L$(PL)-TP$ 990 FORT-lTOLEN(W$):GB$(LX.LY)-M ID$(W$.T.1):P-HP0INT(LX*8+93.LY* 8+20 ) : HC0L0R6 : HPRI NT( LX+1 1 . LY+2 ) .GB$(LX.LY):L-ASC(MID$(W$,T.l))- 64: IFL — 22THEN L-27 1000 WS-WS+PEEK(4000+L):IFP-3THE N TW-TW+1:ELSEIFP-7THEN DW-DW+1 : ELSEIFP-2THEN WS-WS+PEEK(4000+L) +PEEK(4000+L):ELSEIFP-5THEN WS-W S+PEEK(4000+L) 1010 LX-LX+DX:LY-LY+DY: NEXTT 1020 IFDW>0THEN WS-WS*2:DW-DW-1 : GOTO1020 1030 IFTW>0THEN WS-WS*3:TW-TW-1 : GOTO1030 1040 HC0L0R8:SC(PL)-SC(PL)+WS:HL INE(0.0)-(319.15).PRESET.BF:HPRI NT( 6.0). "PLAYER #"+MID$( STR$(PL) ,2)+":"+STR$(SC(PL)) 1050 HPRINT(6.1). "SCORE FOR THIS WORD:"+STR$(WS) 1060 HPRINTdl. 18). "CLICK TO CON TINUE." 1070 IFBUTTON(0)O0THEN1070 1080 IF8UTTON(0)-0THEN1080 1090 NEXT PL:F0RPL-1T03:IFINSTR( PL$(PL)." ")<>0THENGOSUB1550 1100 NEXTPL:GOTO540 1110 HCOLOR8.0:HSCREEN2:POKE&HFF 9A.BD:F0RT-1T0 NP:HPRINT(10.T*2) ."PLAYER #"+MID$(STR$(T). 2 )+":"+ STR$(SC(T)):NEXTT 1120 A$-"CLICK BUTTON FOR MENU." :LN-23:GOSUB1340 1130 GOTO1310 1140 POKE65497.0:ONBRKGOTO1140:H COLOR8.0:HSCREEN2:POKE&HFF9A.BD: HPRINT(1.0). "ABOUT ADD-ON PLAY GAME COLORS BASIC" 1150 HLINE(0.8)-(319.8).PSET:HLI NE( 111.0) -( 111.8). PSET: HLINEt 199 ,0)-(199,8).PSET:HLINE(263.0)-(2 63. 8). PSET 1160 GOSUB1740:GOSUB1780:GOSUB18 30:IFBUTTON(0)-0THEN1160 1170 IFPY>8THENSOUND1.1:GOTO1160 1180 IFPX<111THEN1210:ELSEIFPX<1 99THEN280:ELSEIFPX<263THEN1350 1190 POKE65496.0:POKE113.0:EXEC( PEEK(&HFFFE)*256+PEEK(&HFFFF)) 1200 NEW 1210 HCLS:A$-"ADD-ON WORD GAME": LN-2:GOSUB1340:A$-"(C) MARCH 29. 1989 BY":GOSUB1340:A$-"JOEL MAT HEW HEGBERG":GOSUB1340 1220 HPRINT(3.16)."ANY QUESTIONS ABOUT THIS PROGRAM MAY":HPRINT( 3. 17). "BE DIRECTED TO THE AUTHOR :":HPRINT(3.19)."Joel Mathew Heg berg":HPRINT(3.20)."936 North Tw elfth Street":HPRINT(3.21)."De K alb. Illinois 60115" 1230 LN-23:A$-"CLICK TO CONTINUE .":GOSUB1340 1240 IFBUTTON(0)-1THEN1240 1250 GOSUB1740:GOSUB1780:GOSUB18 30: IFBUTTON(0)-0THEN1250 1260 HCLS:A$-"INDIVIDUAL LETTER SCORES" :LN-1:GOSUB1340 1270 RESTORE:FORT-lT026:READA$.A :NEXTT:F0RT-1T026 1280 READA:IFT/2<>INT(T/2)THENHP RINT(3.LN).CHR$(T+64)+"-"+STR$(A )+" P0INT(S)":ELSEHPRINT(23.LN). 48 THE RAINBOW December 1990 CHR$(T+64)+"-"+STR$(A)+" POINTtS )":LN-LN+1 1290 NEXTT:HPRINT(13.LN)."*- P OINT(S)" 1300 A$-"CLICK TO RETURN. " : LN-23 :GOSUB1340 1310 IFBUTTON(0)O0THEN1310 1320 GOSUB1740:GOSUB1780:GOSUB18 30: 1FBUTTON(0)O1THEN1320:ELSE11 40 1330 GOTO1330 1340 HPRINT(20-INT(LEN(A$)/2).LN ).A$:LN-LN+2:RETURN 1350 HCLS:A$-"CLICK HERE TO RETU RN":LN-0:GOSUB1340:HLINE(0.8)-(3 19.8).PSET 1360 HCOLOR8:FORT-0TO8:HLINE(150 .20+T*12)-(170.30+T*12).PSET.B:N EXTT 1370 FORT-0TO8:HPAINT(160.21+T*1 2),T.8:NEXTT 1380 HPRINTC 17, 16), "BOARDER" :HPR INT(19.17)."CMP":HPRINT(19.18)." RGB" 1390 GOSUB1740:GOSUB1780:GOSUB18 30:IFBUTTON(0)-0THEN1390 1400 IFPY<12THEN1140 1410 IFPY>126THEN1460 1420 IFPX<150OR PXM70THENSOUND1 ,1:GOTO1390 1430 P-PEEK(&HFFB0+INT((PY-20)/l 2)):IFP>63THEN P-P-64 1440 P-P+1:IFP>63THEN P-0 1450 POKE&HFFB0+INT((PY-20)/12). P:GOTO1390 1460 IFPY>151THENS0UND1.1:G0T013 90:ELSEIFPY<136THEN1500 1470 IFPX<1520R PX>175THENSOUNDl ,1:GOTO1390 1480 IFPY<144THENCMP:BD-0:POKE&H FF9A.0:GOTO1390 1490 POKE&HFF9A.0:BD-0:RGB:GOTO1 390 1500 IFPX<1360R PXM91THENS0UND1 .1:GOTO1390 1510 BD-BD+1:IFBD>63THEN BD-0 1520 POKE&HFF9A.BD:GOTO1390 1530 GOTO1530 1540 ' 1550 'USER LETTER SELECTION 1560 ' 1570 1FLP<1THENRETURN:ELSEHC0L0R 8.0:HSCREEN2:POKE&HFF9A.BD:HPRIN T(9.0). "PLAYER #"+STR$(PL) :HPRIN T(9.1). "SELECT YOUR TILE(S).":HC OLOR2:HLINE(80.168)-(227.191).PS ET.B:GOSUB1700 1580 FORX-0TO9:FORY-0TO9:IFZZ$(X *10+Y+1)O""THEN HCOLOR4.0:HLINE (50+X*22.30+Y*13)-(50+X*22+15.30 +Y*13+9).PSET.BF 1590 NEXTY.X 1600 IFLP<1THENRETURN:ELSEG0SUB1 740:GOSUB1780:GOSUB1830 1610 IFBUTTON(0)O1THEN1600 1620 IFPX<50OR PX>2630R PYO0OR PY>156THEN SOUND1 .1 :GOTO1600 1630 GX-INT((PX-50)/22):GY-INT(( PY-30)/13):IFHPOINT(50+GX*22.30+ GY*13)O4THENS0UNDl . 1 :GOTO1600 1640 HLlNE(50+GX*22.30+GY*13)-(5 0+GX*22+15.30+GY*13+9). PRESET. BF 1650 IFBUTTON(0)O0THEN1650 1660 LT$-ZZ$(GX*10+GY+1):ZZ$(GX* 10+GY+l)-"": F0RT-1T09: IFMID$(PL$ (PL).T.l)-" "THENMID$(PL$(PL).T. 1)-LT$:ELSENEXTT 1670 LP-LP-1:GOSUB1700:FORT-1TO9 :IFMID$(PL$(PL).T.l)-" "THEN1600 1680 NEXTT:FORT-0TO800:NEXTT:RET URN 1690 END 1700 F0RT-1T09:1FM1D$(PL$(PL).T. 1)-" "THEN1720 1710 HC0L0R4:HLINE((T+4)*16+4,17 0)-((T+4)*16+16.189).PSET.BF:HCO L0R8:HPRINT(T*2+9.22).MID$(PLt(P D.T.I) 1720 NEXTT:RETURN 1730 ' 1740 'GET POINTER LOCATION 1750 • 1760 PX-JOYSTK(0)*5:PY-JOYSTK(1) *3:RETURN 1770 ' 1780 'PUT POINTER ON SCREEN. 1790 ' 1800 HGET(PX.PY)-(PX+5.PY+5).l 1810 HC0L0R8:HLINE(PX.PY)-(PX+5, PY+5).PSET:HLINE(PX+4.PY)-(PX.PY ).PSET:HLINE-(PX.PY+4).PSET:RETU RN 1820 ' 1830 'ERASE POINTER 1840 • 1850 HPUT(PX.PY)-(PX+5.PY+5).1:R ETURN /«\ Exclusive! €111 PagesE ▼. a.© ♦ Desktop Publishing, "igrapher or CAD Pulldown Greeting Card Designer, Form taker, Calligrapher or CAD for the CoCo3. Page size 640(384. lorn «enus, icons and dialog boxes. Iaport ASCII text or enter froa keybord, aix text with graphics, fiow text around irregular shapes. Magnify, rotate, flip, enlarge, reduce, stretch and slide screen in seconds. Page previa*, select printers froi pull-down aenu. Reg: CoCo3 Hi-Res interface, fcB/OIP aonitor, joystickAouse, Epsu.. •-■. ipatibles, DHP105/106, CGP220 B/¥, Iaagewriter, C.ITOH 8510 Prowriter -i Tandy printer... €111 1 lipartE Font Set 9 /Set 3 for CIU PagesE v.2.0 DIO Fonts still only S49.95 1500+ clipart for CIII PagesE. $29.95 14 Banner fonts each set 1 set S14.95 2 sets S21.95 18+ new doctaent fonts for all versions of HAX-10 only S14.95 CJll rOnlS (TOe Rainbow review 7/90) 59 tttX" like fonts for the Colortlax, Newspaper series and the RAT... only S19.95 €111 -Lettrex Letter-quality text directly froi your current ASCII files. 14 great NU3 text fonts. Req.64IC CoCo 1/2/3, aonitor, 1 drive, Bouse, Epson or compatible printer.. only S19.95 CJll I D~l^ink (SM Rainbow review 9/90) Disk to Disk Tele File Transfer Program . Graphics interface. Req. CoCo3, RGB or CUP aonitor, aodea, 1 Drive. joystick/Bouse... only S24.95 2 for S29.95 UPGRADE POLiai CIII Pige« V.1.0 owners can upgrada to CIII PagesE v.2.0 by sending the original systea disk, copy of the sales slip and S12.00 to the address listed below. MbnvB programs Bald Mclunlvnly through pfaless 1917 Madera SI. #8 Qmuputer £jesjffn Phone 14141 549 0750 Write/call for FREE catalog containing discounts Send Check or Honey Orders - No COD's /^. All Orders add S3.00 Stf , WI Residents add 5* Sales Tax Hyper -Tech Software MVCanvas2.0 Finally a professional full screen editor for OS-9 Level II and Mulli-Vue. MVCanvas is Ihe only CoCo graphics editor to support multiple resolutions with up to 16 colors of 64 displayed in 320 x 200 mode with palette animation and full functional clipboard. MVCanvas also supports multiple fonts with soeOBB, bold u nderline, and proportional options. Printer support includes: Epson, Star, C.Itoh, DMP (Tandy), with color printer supported for Star NX- 1000 R, Citizen GSX-140. Tandy DMP-240 amd CGP-200. Epson LQ-2550 and compatablcs. ShellMate 2.2 ShellMale is the epitome of what a point and click file management system was meant to be. With ShellMale, you have access to commands such as copy. move, delete, rename, makdir and free at the touch of a button. It also gives you point and click access to the Public Domain picture display utilities VEFShow and GIFOS9. as well as the archive utility Ar. The biggest benefit of ShellMale is that it allows you to manipulate large batches of files with one mouse click when cither copying, moving, deleting or arcing. You can also easily move through simultaneously displayed Source and Destination directory trees by either double clicking on a subdirectory name, or clicking on Ihe "Parent" command. System Requirements (both programs) CoCo3, OS-9 LVL II. Multi-Vue. Disk Drive and 512k MVCanvas $49.95 ShellMate $24.95 S3.00 S/H S2.50 C.O.D (U.S. only) Nev. res. add 6% sales tax Send Check / Money Order Hyper-Tech Software /434I Gannet Cir. #174 /Las Vegas. NV 89103 Phone: (702) 362-5346 December 1990 THE RAINBOW 49 Graphics Huck Bucks by Sharon Ling Children love to play with money. And now they can make their own play money with Huck Bucks. The dollar bill created by this program can be altered by changing the ASCII code for the border or the center. For example to change the dollar sign in the center to an asterisk, first find the ASCII code for the asterisk. Next type PRINT ASC("*") and press ENTER. The computer will display 42. the code for the asterisk. Then in lines 100, 110, 130 and 140 change the number 36 (found in the middle of the data line) to 42. Run the program and the middle will be starred. To change the value of the money, lines 90, 120 and 150 should be changed. The changes to S5, SI0, S20 and $50 are listed below. $5 90 DATA 37.32.32.53.32.32.-33.37 .32.32.53.32.32.37.999 120 DATA 37.32.32.37.-16.32.70.7 3.86.69.36.-16.32.37.32.32.37.99 9 150 DATA 37.32.32.53.32.32.-33.3 7.32.32.53.32.32.37.999 $10 90 DATA 37.32.49.48.32.32.-33.37 .32.32.49.48.32.37.999 120 DATA 37.32.32.37.-16.32.36.8 4.69.78.36.-16.32.37.32,32.37.99 9 150 DATA 37.32.49.48.32.32.-33.3 7.32.32.49.48.32.37.999 $20 90 DATA 37.32.50.48.32.32.-33.37 .32.32.50.48.32.37.999 120 DATA 37.32.32.37.-15.32.84.8 7.69.78.84.89.36.-15.32.37.32.32 .37.999 150 DATA 37.32.50.48.32.32.-33.3 7.32.32.50.48.32.37.999 $50 90 DATA 37.32.53.48.32.32.-33.37 .32.32.53.48.32.37.999 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % 1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 1 % % % $$$ % % % % $$$$$ % % % % $ONE$ % % % % $$$$$ % % % % $$$ % % % 1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 1 % % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Figure 1 120 DATA 37.32.32.37.-16.32.70.7 3.70.84.89.-16.32.37.32.32.37.99 9 150 DATA 37.32.53.48.32,32.-33.3 7.32.32.53.48.32.37.999 The Listing: HUCKBUCK 'COPYRIGHT 1990 FALS0FT. INC. 10 READ C 20 IF C-444 THEN PRINT#-2:END 30 IF C-999 THEN PRINT#-2 40 IF C >0 AND C <999 THEN PRINT #-2.CHR$(C); 50 IF C <0 THEN N-ABS(C):READ C: FOR X-l TO N:PRINT#-2.CHR$(C);:N EXT X 60 GOTO 10 70 DATA -45.37.999 80 DATA 37,-43.32.37.999 90 DATA 37.32.32.49.32.32.-33.37 .32.32.49.32.32.37.999 100 DATA 37.-3.32.37.-16.32.-3.3 6.-16.32.37.-3,32.37.999 110 DATA 37.32.32.37,-16.32.-5.3 6.-16,32.37.32.32.37.999 120 DATA 37.32.32.37.-16.32.36.7 9.78.69.36.16.32.37.32.32.37.99 9 130 DATA 37.32.32.37.-16.32.-5.3 6.-16,32,37.32.32.37.999 140 DATA 37.-3.32.37.-16.32.-3.3 6.-16.32.37.-3.32.37.999 150 DATA 37.32.32.49.32.32.-33.3 7.32.32.49.32.32.37.999 160 DATA 37.-43.32.37.999 170 DATA -45,37.999 180 DATA 444 /P\ 50 THE RAINBOW December 1990 Protect and highlight gour important magazine collection with sturdy RAINBOW binders Distinctive, Durable RAINBOW Binders the rainbow is a vital resource to be referred to again and again. Keep your copies of the rainbow safe in our quality, distinctive binders that provide com- plete protection. These attractive red vinyl binders showcase your collection and ensure your rainbows are in mint condition for future use. Each binder is richly em- bossed with the magazine's name in gold on the front and spine. They make a handsome addition to any room. Put an End to Clutter Organize your workspace with these tasteful bind- ers. Spend more time with your CoCo and eliminate those frustrating searches for misplaced magazines. A set of two binders, which holds a full 12 issues of the rainbow, is only $13.50 (plus $2.50 shipping and handling). Special Discounts on Past Issues To help you complete your collection of the rain- bow, we're offering a special discount on past issues of the magazine. When you place an order for six or more back issues of the rainbow at the same time you order binders, you are entitled to $1 off the regular back issue price. To order, please see the "Back Issue Information" page in this issue. Know Where to Look You may purchase the "Official And Compleat Index To THE RAINBOW" for $1 when you purchase a set of binders. This comprehensive index of rainbow's first three years (July 1981 through July 1984) is usually priced at $2.50. YES. Please send me set(s) of RAINBOW binders **35&. Take advantage of these special offers with your binder purchase: Save $1 off the single issue cover price for back issues. Minimum order of 6 magazines. Please enclose a back issue order form from a recent issue indicating magazines wanted. Purchase the "Official and Compleat Index to THE RAINBOW" for $1. (Regular price $2.50.) (These offers good only with the purchase of a rainbow binder set) Name _ Address City State ZIP □ My check in the amount of Charge to: □ VISA Account Number Signature is enclosed. (In order to hold down costs, we do not bill.) □ MasterCard □ American Express . Expiration Date Mail to: Rainbow Binders, The Falsoft Building, P.O. Box 385, Prospect, KY 40059. Binders are $13.50 per two-binder set plus $2.50 shipping and handling. If your order is to be sent via U.S. mail to a post office box or foreign country, please add $2. Kentucky residents add 5% sales tax. U.S. currency only, please. In order to hold down non-editorial costs, we do not bill. For credit card orders call (800) 847-0309, 8 a.m. to 5 p.m. EST All other inquiries call (502) 228-4492. Turn of the Screw EPROM Programmer Handbook by Tony DiStefano Contributing Editor Data used to program an EPROM can be a customized DOS, a frequently used util- ity, or a fun game. In some cases a knowledge of ma- chine-language programming may be nec- essary. Whatever the data, it must be in memory before you load and execute the mprom software. The software expects the data to start at memory location 12288 (S3000). All numbers in Hex will be preceded by a $. In the case of a 2764 EPROM. the data ends at 20479 (S4FFF). For a 27128 chip, the end address is 28671 (S6FFF). In the case of the 27256. only half of the EPROM can be pro- grammed at a time. To program a 27256 you must program both halves individually and make sure you program the right data. In both cases the data start and end locations are the same as a 27128. After the data is loaded into memory, load the MPROM software by typing LOADM "MPROM": EXEC. You are greeted with the title page and the option to work with a 2764, a 27128 or one of two halves of a 27256 EPROM. Choose the proper EPROM and press ENTER. If the wrong EPROM is inserted into the socket, you will not damage the EPROM or the adapter, but it will not properly program or verify. The next screen to appear is the Main menu. Following is a detailed description of each item in this menu. 1. EPROM ERASED? — verifies the EPROM is completely erased. Initially and after each Tony DiStefano is a well-known early spe- cialist in computer hardware projects. He lives in Laval Onest. Quebec. Tony's user- name on Delphi is DISTO. erasure, all bits of the EPROM are in the logic 1 (High) state. The status line starts by printing CHECKING FOR FF's If all bits are erased the status line will indicate OK! at the end. If a location is not properly erased, the status line appears as AT XXXX EXPECTED FF FOUND YY XXXX is the EPROM address (starting from 0), FF is the expected data (in this case it is all ones or 255, SFF) and YY is the actual data found. If more than one address is not completely erased, the last non-erased address appears on the status line. When checking an EPROM to make sure it is erased, the OK must appear on the status line. If just one bit is missing, the EPROM is not fully erased and cannot be properly programmed. To erase a used eprom, use ultraviolet light. Refer to the EPROM eraser's manual for more details. 2 . PROGRAM EPROM — starts the program- ming process. This transfers the data in memory to the EPROM. Before starting this process, make sure the properly erased EPROM is placed in the socket. Pin 1 of the eprom goes to Pin 1 of the socket. Pin 1 of the socket is in the lower right corner when sitting in front of the keyboard with the MPROM and controller plugged into the computer. Make sure the battery pack is properly connected before starting. The process starts by displaying the following message on the status line PROGRAMMING ADDRESS: XXXX YY XXXX is the current EPROM address being programmed and YY is the program pulse width. Let me explain. In the good old days it was believed that each location of an eprom had to be programmed for about 50ms. or about '/m of a second. It doesn't sound like a lot of time, but when you have a 16K eprom, it takes over 14 minutes. Today's EPROMs do not have to be pro- grammed so long. Initially, a 1ms program pulse is sent to the address being pro- grammed. If it proves to be enough and the data is correct, a 4ms insurance pulse is given. If the verification shows invalid data, additional 1ms pulses are sent until the data is correct or the system has sent a maximum of 15 pulses. Then an insurance pulse four times greater than the number of pulses sent is given and the value of YY is changed to reflect the new pulse width. If the eprom data is still not valid, the pro- gram gives up and issues a status line of EPROM NOT PROGAMMED PROPERLY AT ADDRESS:XXXX XXXX is the address where the EPROM failed. At this point, re-program the EPROM. If it fails at the same address, there is a problem with the EPROM and it should not be used. If it fails at the next address, the batteries may be weak and need replacing. Caution: Never plug or unplug the battery pack with an EPROM in the socket. Always remove the EPROM first. When all the addresses of the EPROM are properly programmed, OK! is printed on the status line. 3. VERIFY EPROM — Even though EPROMs are verified during the programming stage, it is sometimes necessary to verify an EPROM without programming it, such as when comparing two EPROMs. The EPROM is verified by comparing the data found in the 52 THE RAINBOW December 1990 EPROM to that in memory. The status line reads VERIFYING EPROM If no difference is found, OK! is displayed on the status line. If a difference is found the status line changes to AT XXXX EXPECTED YY FOUND 11 xxxx is the address where the discrepancy was found, YY is the data it expected to find and ZZ is the actual data found. If more discrepancies are found, only the last one is shown on the screen. 4 . READ EPROM — It is sometimes neces- sary to transfer data from one EPROM to another or from an EPROM to disk. In either case data must first be transferred from EPROM to memory. This option transfers the contents of the EPROM into memory. The data resides in memory starting from 1 2288 (S3000) and is either 8K or 1 6K for a2764 and 27 1 28 respectively. Either half of a 27256 is 16K. The status line displays MOVING EPROM TO MEMORY and OK! is printed when the move is fin- ished. No verification is done when reading the EPROM. Verify the EPROM after a move with Option 3. 5. RETURN TO BASIC — When all EPROM activity is completed, this option returns you to BASIC. The MPROM software is still intact and you can return to it by entering EXEC (as long as you have not changed the execute address). The EPROM data is also intact. It is still in memory and unchanged. Now is the time to save the EPROM data to disk. For a 2674 the proper format for saving data is SAVEM "/7/e/iaw on the EPROM so it points up. Solder a short piece of wire from this pin to Pin 22. 4) Solder pins I, 26. 27 and 28 together. 5) Solder a piece of wire to Pin 2 of the eprom. Insert the other side of this wire into the socket hole left by Pin 20. 6) Inset the 2764 into the 24-pin socket. Pin 3 of the 2764 must go into Pin 1 of the socket. Pin 4 of the 2764 into Pin 2 of the socket, and so on. /R\ BED Binary Editor for Disk * BED will get rid of 99 percent of your disk problems. It will read any sector and display it, edit it and write it back on the disk. It will also search the disk for bad sectors and it will hardcopy. Send $13.95 plus $2.95 shipping and handling to: Soft & Friendly fi^ 129 Prairie ~ Virden, IL 62690 December 1 990 THE RAINBOW 53 Barden's Buffer Contest Results by William Barden, Jr. Contributing Editor Back in Ihe July issue I listed eight problems for CoCo solu- tions, a request to beef up the speed of one of my answers and a reader challenge to solve a second puzzle for big bucks (SM 50,000,000 - 50 million MicroDollars). Reader response was excellent with Keiran Kenny of Cremorne, NSW, Australia, winning the special long distance award. I'm always amazed by the programming proficiency and knowledge of CoCo users. I usually wind up learning more from readers' letters than I provide in the column. Here are the exciting results of that challenge plus an extra bonus — a program to display play- ing cards on the screen. Sum of Digits Puzzle The original puzzle asked in how many ways nine digits could be written in three 3- digit rows so that they add up to the proper result. A typical row looks like this: 645 192 tion to the problem was wrong. As Paul H. Johnson, a faithful reader and computer- puzzle buff from San Francisco, put it: "I 837 There are 9*8*7*6*5*4»3*2*ior9! (read as nine factorial) configurations to check in this problem, a total of 362.880. As several readers pointed out. my programmed solu- Bill Barden has written 35 hooks and hun- dreds of magazine articles about small computers . His newest Color Computer project. Connecting the CoCo to the Real World, is a book of CoCo interfacing proj- ects. He has over 20 years experience in the industry on systems ranging from main- frames to micros. m always amazed by the programming proficiency and knowledge of CoCo users. I usually wind up learning more from readers 9 letters than I provide in the column. hate to mention it. but I believe your Line 215 is a bit flawed in that it does not recog- nize the possibility of a 'carry'." My pro- gram does not check for such units digits as 7+6=( I )3. This erroreliminated about half of the possible answers. Paul used a high- speed poke with a string in his version. Robert Gault of Grosse Point Woods. Ml, did quite a bit of work on both a recursive BASIC09 program to compute the answers (about four hours from my 20 hours) and. even more impressive, an assembly lan- guage version, which computes all 336 solutions in just over six minutes! Walter D. Pullen of Kent. WA, found an elegant solution. He used an array instead of nine separate variables. Walter immedi- ately checked the units and tens digits to see if their sums equaled the answer digits. If not, he went directly to the next increment. He also noted that "if S1+S2+S3 is correct, then so isS2+Sl=S3." James Jones of Clive. Iowa, was another reader who did a great deal of work on a high-speed solution to this puzzle. His BAS- IC09 version computes the answers in 32 seconds on his CoCo 3. James (who by his comments revealed that he is either a bright computer science student or a professor) used a clever trick. He looped through only the addend digits and not the answer digits. This makes the number of iterations in the loop 9 h =53l,44i instead of 9''=387,420,489, only 7ra of the total. This is possible be- cause with any two addend digits, the an- swer digit is fixed. Another observation he had was that the sum of the two loos digits and any carry from below must be less than or equal to nine. This saves additional iterations. The third observation he made was the same as Walter's above. I have to give James the Son of Perplexing Puzzles #8 Award for his work. His OS-9 solution is shown in Listing 1. Reader Challenge Unfortunately. I was not very specific about the rules in my challenge to arrange the Ace. King. Queen and Jack of each suit (16 cards) in a four-by-four matrix so that no value or suit appears more than once in any row. column or major diagonal. Read- ers didn't know whether I wanted OS-9, BASIC, a physically short program, a fast program, or embellished program solutions. Again, it was James Jones who came through with the fastest overall version without manual calculations. In James' words, his OS-9 program "seems to chug out one solu- tion per second." One of the best non-OS-9 solutions came 54 THE RAINBOW December 1 990 from Waller D. Pullen. It's shown in List- ing 2. Walter writes, "my solution to the main card puzzle finds and displays the first solution in eight minutes. The second solution is found six minutes later, and thereafter a different solution is found every few minutes. There are 1 152 total solutions to this puzzle, all of which happen to be geometrically similar to your example so- lution except that the board is rotated or the suits are switched. All possible solutions will be found in about three days. Note that there are potentially 1 6 factorial board solu- tions that must be checked to find them. If your sum of digits program checked 9! positions and ran in 20 hours, then a similar method employed here would take l6!/9!*20 hours or 132 centuries! To get a workable solution, we must use a little insight. Note that if the Jack of Clubs (J-C) is in the upper-left corner and the Jack of Hearts (J- H) is in the square next to it, then no matter where the other 14 cards are we can't have a solution because a Jack appears twice in the top row. This means we can avoid permutating through 14! (87 billion) boards in this case, and by applying similar checks at each position, we can reduce a complex problem with 16! (20quadrillion) possibili- ties to an elegant program producing swift solutions. The program is completely gen- eral. Try reducing the value of N in Line 20 and solve the problem for a smaller board or add a new value and suit to V $ and S$ and find a solution to the five-by-five board. Whenever a board is found meeting the row and column restrictions, the message test- ing is printed, the diagonals are checked and if OK, the solution is displayed." While not nearly as fast as James' OS-9 program, Walter's is a well-crafted Extended Color BASIC version. There were other entries that worked. Entries that found random configurations that gave one or more solutions and others in which the answers had more than one card value or suit in the same row. column or diagonal. I hope that all readers who responded will not be too offended over my lack of rule definition. In this case, I feel a fair judgment is to declare both James Jones and Walter D. Pullen co-winners, with James winning hands down for speed. Each co-winner will receive 25.ooo.ooo MicroDollars (about $25 at current exchange rates) and. of course, adulation of Barden's Buffer readers for many years to come as readers peruse back issues in front of a roaring fire on those cold winter nights. Displaying Playing Cards As usual, I attempted to do grandiose things with limited graphics for this col- umn. My original intention was to provide nice graphics for the King. Queen and Jack in addition to displaying all of the cards with numeric values. But even the CoCo 3, 640-by-i92 graphics mode is not quite good enough for those face cards, although a reader might prove me wrong. A more modest program in Listing 3 shows a Dis- play Card subroutine that will display any card value and suit at a given point on the CoCo 3 screen. (Thanks to Rick Cooper of Liberty. KY, for the DRAW strings for the suits). Call the program for a 32o-by-i92 CoCo 3 graphics screen with the following parameters: • ZA$ - "vs" where v is the value -1,2, 3. 4, 5, 6, 7. 8. 9. T, J. Q. K. or A - and S is the suit - C for Clubs, H for Hearts, S for Spades or D for Diamonds. To specify the Ace of Hearts, for example, ZA$-"AH". • Z X , Z Y = screen coordinates for the top- left corner of the card in x, v format. To draw the card so that the top-left comer is in the screen center set ZX-160 and ZY-96. The cards are 50 pixels high by 60 pixels wide, allowing you to put five cards per row in three rows on the screen at one time. The actual subroutine assumes that the DRAW strings defining both the values and suits have been defined somewhere in your own program, in addition to a 13-eIement string array V$. One interesting feature of the program is that it inverts the value on the card bottom. You will see an upside down 10, for example, if you specify ZA$-"TC". The suit is drawn upright in the center of the card. This subroutine may come in handy for simulating poker or other card games, providing a lot more useful display than simply a "J-H" type of notation. See you next month with more CoCo topics. Q PRODUCTIVITY SOFTWARE BY (Danosoft BEST WORD PROCESSOR Dale Rickert's Feature Packed "Simply 'Better" "Significantly Better? Mais Oui!" - Rainbow, February. 1990 Has Database Features lilt* holding a 5000 mad list in memory for quick recall. • Run 2 interactive Wordprocessors at once • MaU-Merge • Sort TexJ - Create Tasks • Create Indexes • Table of Contents • Print-Fill Forms ■ Displays Fonts in Colors • Displays Underlin- ing • Print Spooling • Auto Saves • Print/Save Blocks of Text • To 480K of Text Storage • Numbering • Indenting • Calculator ■ Headers • Footers - Paging • Finds ■ Case Reversal • Help Screens • Preview "WYSIWYG" • Much More . Extensive Manual, with Tutorials. Any CoCo3. Only S39.95 US/ S46.50 CDN. French Manual S7.00 US/S8.20 CDN.extra BIG BASIC Get 92K from your 1 28K CoCo 3 and 476K on 512K for basic programs and variables. BIG BASIC creates programming windows with up to 58 separate running programs or 38 parts of one large program or database. Allows big programs to run fast. Also disk chains unlimited program sections or data. 7 Demos/Manual. S3 9.95 US /S46.50CDN Scan, Edit. Copy. Printout, any computer or disk memory. Fix disks. Restore killed files. Enter MJ_ Listings. Dual Windows! Run 2 Programs at once! Disk chain unlimited pro- gram sections or data. Demo & Manual. Any CoCo 64K or more. 1.1 or 2.1 DECB. Only S24.95 US or S28.50 CDN. UTILITIES PACKAGE 6 Background running M.L. Utilities that allow your CoCo to access both sides of doublesided drives. Any CoCo 64K or more. 1.1 or 2.1 DECB . S 17.95 US/S20.80 CDN. ia^CMiTTT Best software to simulate drives in memory. Install, re-install, format and reformat from direct mode or from a program. Up to 720K and 4 Ramdisks with the Disto 1 meg board! To 360K and 2 Ramdisks on a 512K. OnlyS12.95USorSl4.95 CDN. MEMORY TUTORIALS BABY BASIC for more program space. GRAPHICS UTILITY for many screen, in mem. BABY BASIC: Any CoCo/GRAPHICS: CoCo3 only Only S8.95 US/S 10.50 CDN. EACH Disk. COCO ARCHIVER 232H CoCo3 Disk File Manager & Archiver for RS-OOS. Lists archived files with descriptive memos and lists disk directories in 4 columns. Copies, lolls & renames. Has Wildcards: BBS shareware feature. RETRIEVES to Disk. Screen or COMPUTER. SI 7.95 US/S20.80 CDN. Order by Phone/Mail DANOSOFT Box 124, Station "A" MissisMuga. Ont. Canada L5A 2Z7 (416)897-0121 vm Add S2.50S&H Ont. Add 8% tax Visa. Mastercard December 1990 THE RAINBOW 55 OS-9 Listing 1: SumDigits.b09 PROCEDURE SumDigits BASE DIM dl.d2.d3.d4.d5.d6.d7.d8.d9.cl.c2: INTEGER DIM ul: INTEGER DIM InUse(10):BOOLEAN 0002 0031 0038 0044 0045 0082 00C3 00DE 00DF 00EF 00F9 0104 0105 0120 0130 013A 014A 0157 0161 017A 018E 0198 01A9 01B9 01C6 01D0 01E0 01ED 01F7 0213 0227 0231 0246 0256 0263 026D 027C 0289 0291 0293 02A4 02B1 02BB 02CB 02D8 031B 031D 0327 0329 0334 033E 0340 034B 0355 0357 0361 0363 036E 0378 037A 0385 038F 0391 039B 039D 03A8 03B2 03BD 03BE 0013 001 F (* goal: generate all possible sums of the following form: *) (* dl d2 d3 + d4 d5 d6 - d7 d8 d9. where the d(i) are distinct *) (* non-zero base digits. *) FOR dl:-l TO 9 InUse(dl):-FALSE NEXT dl (* units digits first. . . *) FOR d3:-l TO 9 InUse(d3):-TRUE FOR d6:-l TO 9 IF NOT(InUse(d6)> THEN InUse(d6):-TRUE RUN DigSum(d3.d6.d9.c2) IF d9<>0 AND N0T(InUse(d9)) THEN InUse(d9):-TRUE (* tens digits *) FOR d2:-l TO 9 IF NOT(InUse(d2)) THEN InUse(d2):-TRUE FOR d5:-l TO 9 IF N0T(lnUse(d5)) THEN InUse(d5):-TRUE RUN DigSum(d2+c2.d5.d8.cl) IF d8<>0 AND NOT(InUse(d8)) THEN InUse(d8):-TRUE (* hundreds digits *) FOR dl:-l TO 9 IF NOTdnUse(dD) THEN InUse(dl):-TRUE ul:-9-(dl+cl) IF ul>dl THEN u 1 : -d 1 ENDIF FOR d4:-l TO ul IF N0T(InUse(d4)) THEN InUse(d4):-TRUE d7:-dl+cl+d4 IF N0T(lnUse(d7)) THEN PRINT 100*dl+10*d2+d3; " + "; 100 *d4+10*d5+d6; " - ": 100* d7+10*d8+d9 ENDIF InUse(d4):-FALSE ENDIF NEXT d4 InUse(dl):-FALSE ENDIF NEXT dl InUse(d8):-FALSE ENDIF InUse(d5):-FALSE ENDIF NEXT d5 InUse(d2):-FALSE ENDIF NEXT d2 InUse(d9):-FALSE ENDIF InUse(d6):-FALSE ENDIF NEXT d6 InUse(d3):-FALSE NEXT d3 END PROCEDURE DigSum PARAM dl.d2.sum.carry:INTEGER sum:-dl+d2 IF sum>9 THEN sum:-sum-10 0036 carry:-l 003D ELSE 0041 carry :-0 0048 ENDIF 004A END 32K Extended ^ / . 255 . 237 \/| 80 END Listing 2: CARDPUZL 10 'CARDPUZL - BY WALTER PULLEN - 21 JUNE 1990' 20 N-4 : V$-"JQKA" : S J-"COHS" : D-l 30 NN-N*N:DIM V( N.N) .S(N.N) . A(NN ).D(1.N.N*4):J-1 40 I-I+1:IF I>N THEN IF J>-N THE N 100 ELSE 1-1 : J-J+l 50 V(I.J)-l:S(I.J)-0 60 S(I.J)-S(I.J)+1:IF S(I.J)>N T HEN S(I.J)-1:V(I.J)-V(I.J)+1:IF V(I.J)>N THEN S(I.J)-0:V(I.J)-0: GOTO 140 70 A-V(I.J)*N+S(I.J)-N:IF A(A) T HEN 60 ELSE X-0:Y-0 80 X-X+l : IF XOI AND (V(X.J)-V(I .J) OR S(X.J)-Sd.J)) THEN 60 EL SE IF X1):B-B-(D( l.Y.X)>l):NEXT X: IF A>D OR B>D T HEN 140 ELSE NEXT Y 130 U-U+l : FOR Y-l TO N:FOR X-l T N:PR1NT " ";MID$( V$ . V(X.Y) .1) ; MID$(S$.S(X.Y).1);:NEXT X : IF Y-l THEN PRINT. "SOLUTION: ":U:NEXT Y ELSE PRINT:NEXT Y 140 I— I - 1 : 1 F Kl THEN I-N: J-J-l : IF J<1 THEN PRINT "DONE":END 150 A(V(1.J)*N+S(I.J)-N)-0:GOTO 60 56 THE RAINBOW December 1 990 32K Extended 220 255 350 4 10060 157 END 175 Listing 3: DRAWCARD 100 • SAMPLE SETUP 110 CLEAR 500 120 DIM V$(13) 130 HSCREEN2 140 HCLS 150 ' INCLUDE THESE STRING DEFIN ITIONS SOMEWHERE 160 V$(2)-"R5L5UE2R2EU2H2L2G" 170 V$(3)-"BUFR2E2UHLRFU3H2L2G" 180 V$(4)-"BR5U4RL6E4RD4" 190 V$(5)-"BUFR3EU2HL4U4R5" 200 V$(6)-"BRR3EU2HL3GD2BU3U2E3R F" 210 V$(7)-"E6U2L6" 220 V$(8)-"BUFR3EU2HL3GD2BU4U2ER 3FD2G" 230 V$(9)-"BUFR3EU6HL3GD2FR4" 240 V$(10)-"R4L2U8G2E2BM+4.+8;R3 EU6HL2GD7" 250 V$(1)-"U7ER3FD7U4L5" 260 V$(11)-"BUF3REU7L2" 270 V$(12)-"BUFR3H2F2EU6HL3GD6" 280 V$(13)-"U8D4F4H4E4" 290 D$-"E6F6G6H6" 300 H$-"U2EURUR2DRDFEURUR2DRDFD2 G6H6" 310 S$-"E6F6D2G2L4D2U2L4H2U2" 320 C$-"E2RU2E2R2F2D2RF2D2G2L4D2 U2L4H2U2" 330 B$-"R50D60L50U60D30BR19" 340 ■ SAMPLE CALLING SEQUENCE 350 ZX-100:ZY-100:ZA$-"QD":GOSUB 10020 360 GOTO 360 10000 ' SUBROUTINE TO DRAW CARD ON SCREEN 10010 • ZA$-"VS". ZX-SCREEN X CO ORD. XY-SCREEN Y COORD 10020 ZU$-RIGHT$(ZA$.l) 10030 IF ZU$-"C" THEN ZU$-B$+C$ ELSE IF ZU$-"H" THEN ZU$-B$+H$ E LSEIF ZU$-"S" THEN ZU$-B$+S$ ELS E ZU$-B$+D$ 10040 ZVJ-LEFT$(ZA$.l) 10050 IF ZV$-"T" THEN ZV-10 ELSE IF ZV$-"J" THEN ZV-11 ELSE IF Z V$-"Q" THEN ZV-12 ELSE IF ZV$-"K " THEN ZV-13 10060 IF VAL(ZV$)O0THEN ZV-VAL (ZV$) 10070 GOSUB 10140 10080 HDRAW ZU$ 10090 GOSUB 10140 10100 HDRAW "BM+4.+10"+V$(ZV) 10110 GOSUB 10140 10120 HDRAW •BM+47 +48"+"A2 •+V$( ZV) 10130 RETURN 10140 HDRAW ■BM *+STR: "+ST R$(ZY)+";" 10150 RETURN /«\ Game 4K novices niche Hot Gold by Keiran Kenny This program is for the small child who is not up to hi-speed, zip"em and zap'em games. Gold is hidden at a ran- dom location on the CoCo's black screen and after a slight delay a cursor appears on the screen in another random loca- tion. This slight delay is necessary to ensure the cursor and the gold do not appear in the same location. Press an arrow key to move the cur- sor. If the cursor moves toward the gold cache you're hot. If it moves away from the location of the gold cache you're cold. CoCo will print the word gold in big golden letters when you hit the spot. The cursor's movement is intention- ally slow to match the reaction time of a small child. To speed it up, reduce the value of DL in Line 10. To slow it down, increase the value of DL. The Listing: HOTGOLD -COPYRIGHT 1990 FALSOFT. INC. 1 'HOT GOLD' by Keiran Kenny. Sydney, 1989. 10 CLEAR200:DL-200 20 DIMP(68) 30 F0RT-1T068:READL:P(T)-L:NEXT 40 DATA 0,1.2.3.4.32.36.64.96.12 8.160.192.193.194.195.196.164.13 2.131.7.8.9.10.11.39.71.103.135. 167.199.200.201.202.203.171.139. 107.75.43 50 DATA 14.46.78.110.142.174.206 .207.208.209.210.21.53.85.117.14 9.181.213.214.215.216.185.153.12 1.89.57.24.23.22 60 CLS0 70 PRINT@0."**HOT OR COLD! LOOK FOR GOLD!**": 80 FORD-1TO2000:NEXT 90 H-5+RND(58):V-5+RND(26) 100 X-RND(64)-l:Y-2+RND(29):IFX- H ORY-V THEN100ELSESET(X,Y.2) 110 IFXCHR${9)ANDK$OCHR$(10)ANDK$OC HR$(94)ORK$-""THEN130ELSERESET(X .Y) 140 PRINT@0.CHR$(31) 150 IFPEEK(341)-247THENY-Y-1:IFY +K-V THENPRINT@14."C0LD!"ELSEIF Y+1>V THENPRINT@14."H0T!" 160 IFPEEK(342)-247THENY-Y+1:IFY -1>-V THENPRINT@14."C0LD!"ELSEIF Y-KV THENPRINT@14."H0T!" 170 IFPEEK(344)-247THENX-X+1:IFX -1>-H THENPRINT@14. "COLD! "ELSE IF X-KH THENPRINT@14."H0T!" 180 IFPEEK(343)-247THENX-X-1: IFX +K-H THENPRINT014. "COLD! "ELSE IF X+1>H THENPRINT@14."H0T!" 190 IFX-H ANDY-V THENRESET(X.Y) : GOTO260 200 IFY<3THENY-3 210 IFY>31THENY-31 220 IFX<0THENX-0 230 IFX>63THENX-63 240 SET(X.Y.2):F0RD-1T0DL:NEXT:R ESET(X.Y) 250 GOTO140 260 HV-131 270 FORZ-1TO68:SOUND60+Z.1:PRINT @HV+P(Z).CHR$(159);:NEXT 280 PRINT@6."Y0U STRUCK GOLD!!!" 290 FORD-1TO3000:NEXT 300 PRINT@1. "LUCKY YOU! LOOK FOR MORE? Y/N" 310 K$-INKEY$:IFK$-""THEN310 320 IFK$-"Y"THENCLS0:GOTO70 330 IFK$-"N"THENCLS:END 340 GOTO310 /W\ December 1990 THE RAINBOW 57 Delphi Bureau The Delphi Mailman by Eddie Kuns OS-9 SIG Database Manager There has been some confusion about how to send mail on Delphi, so I thought 1 would explain Mail this month. Mail allows you to send private messages (or files) to other users on Delphi. This is different from the Forums in which all messages are publicly viewable. To enter Mail, type MA I L at the CoCo or os-9 sig prompt, or type MAIL MAIL at Delphi's Main menu. You can also enter Mail by typing /MAI L at almost any prompt within Delphi. To leave the Mail area, press CTRL-Z or type EXIT at the Mail> prompt. While in Mail, Delphi's slash commands (such as /WHO) no longer work. From Mail you can send a message to someone by entering SEND and responding to the prompts. While you type your mes- sage, remember to press ENTER after each line of text. Press CTRL-Z to send the com- pleted message. If you change your mind while editing a message, press CTRL-C to cancel it. For example: MAIL> send To: gregl . rickadams Subj: I'm back! Hello. Just wanted to let you know that I am back from vacation. I'll see you online later. Eddie "2 MAIL> Eddie Kuns is pursuing a PhD in physics at Rutgers University. He lives in Aurora, Il- linois and works as a programmer and researcher at Fermilah. Eddie is database manager of the OS-9 SIG: his username is EDDIEKUNS. Notice that the same message can be sent to several individuals — just type all the usemames, separated by commas or spaces, of those people you want to receive the message. You can read new mail by pressing ENTER at the Mail> prompt. To find out who the messages are from and what the subjects are before reading the mail, enter DIR. Specific messages can be read by entering the number associated with that message. You can then press enter to see any following messages. If you receive a new message while you are in the Mail area, enter READ/NEW to read them. When you read a message, you'll notice the sender's name looks like BOSiB::ED- DIEKUNS. Most likely, the BOS1B:: part of the name is not important to you — it merely tells you which Delphi computer the sender was logged on to when they sent you the message. You don't need to include the computer name when you send mail to other users — simply specify their user- names. For the curious, bosib means it's machine IB at Boston. Delphi's central location. REPLY and SEND/EDIT are two useful mail commands. Once you have read a message and want to send a reply to the author, enter REPLY. Mail automatically supplies the name of the person you are replying to and the subject of the reply. If you want to edit the message use the S E N D / EDIT or REPLY/EDIT commands. This leaves you in your selected editor (EDT or OLDIE) to edit the text of the message as you enter it. The message is sent when you exit the editor. If you want to reply to a message and include parts of the message in your reply you can enter REPLY/EXTRACT. This returns you to your selected editor with the text of the message to which you are replying. Mail can also be used to send a file, which is convenient if you have edited a message offline or want to send a program or file. First, upload the file (ASCII or bi- nary) into your Workspace. To send the file, type SEND followed immediately with a space and the exact name of the file as it exists in your Workspace. It looks like this: SEND filename. ext To download a mail message enter EXTRACT/NOHEADER//7e«0«l£'.CA7 right after you read the message, filename. ext is the name you want Delphi to use when it stores the file in your Workspace. You can then go to your Workspace and download the file. Use caution when sending and receiv- ing files, however. Delphi allows each user only 50 free blocks (or 25K) of disk space. You must pay for disk usage above that limit. Enter D I R while in your Workspace to find out how much you are using. Once you have downloaded a file from your Work- space, be sure to delete it using the DELETE command. Once you no longer need a message, delete it. Deleting a message may not immediately free its space, however. Mail waits until the total amount of deleted mail exceeds a threshold before purging it from your mail file (MA I L.MAI) in your Workspace. You may want to periodically enter the command PURGE/RECLAIM to clean out your mail file. Purging isn't enough, though. While the message text is deleted, your mail file still contains space for the directory information of the file. If you receive a lot of mail, you will want to occasionally use the COMPRESS command. This removes all unused space from your mail file. After using COMPRESS, go into your Workspace and delete the MAIL. OLD file, which is your old mail file. Within Mail are a number of parameters you can set. Enter SHOW ALL to display your current settings. A very useful parameter is 58 THE RAINBOW December 1990 PERSONAL_NAME. If you want your real name (or a phrase) to be attached to any mail messages you send, enter the command SET PERSONAL_NAME "real name" You can find additional information about Mail's features by typing HELP. Next month I'll describe how to use folders within Mail. This is a convenient way of sorting the messages that you don't want to imme- diately delete. Database Information: When you upload a group of files to the OS-9 SIG database, please direct your sub- mission to the right Topic area. You don't need to submit it to New Uploads. Your group is automatically placed in New Uploads for about a month and will then be moved into the appropriate database area. Tim Kientzle released make, a useful utility for anyone writing code. This ver- sion of make was ported from UNIX. Rick Adams' patch for TlSBdit allows it to run in an OS-9 Level II device window. Finally, the enhanced gf x2 (a new version of gf x2 for BASIC09) uploaded by Kevin Darling is the one Dale Puckett has been talking about for several months in "KlSSable OS-9." Tetris has finally made its way to OS-9 on the Color Computer. Mike Sweet ported it from UNIX to OS-9. Matthew Thompson posted information about the 68070 and vsc chips which make up the heart of the MM/l and TC-70 computers. In the CoCo SIG, Glen Dahlgren contrib- uted utilities that allow you to play sound files created with SoundTrax, as well as a sample which is described as a rap for Kyum Gai: To he Ninja. Marty Goodman posted the first new entry into the Soapbox database area since its creation with a trip report by Phillip Brown (THEFERRET) de- scribing a recent visit to the Soviet Union as part of the University of California at Berkeley Glee Club. □ Database Report Applications: MVFINANCE.AR 07ESRTIMOTHY Tim Faddon MAKE FUNNY ENQUIRER HEADLINES KENCARLIN Ken Carlin Utilities: OEARC EMTWO Paul M. Filch Jr. FILE UNFRAGMENTER ZACKSESSIONS Zack Sessions KEYBOARD DIAGRAM RODHARPER Rodney Harper QTIP 3.1 DISK REPAIR PROGRAM JOHNTORONTO John Beveridge GRAPHICS COMPOSER/FORMATTER JOHNTORONTO John Beveridge AIF MANAGER AIRBORNE Jeff Shearman MAKE 1.1 T1MKIENTZLE Tim Kientzle BASE CONVERSION TIMKIENTZLE Tim Kientzle XPRES.ARC XLIONX Mark W. Farrcll PATCH TO SUPER DIRECTORY ZACKSESSIONS Zack Sessions Device Drivers: DISTO SASI DRIVER PATCH KSCALES Ken Scales Patches: SHELL+ 2.1 PATCH PAULSENIURA Paul Seniura CHANGE TERM FROM/TO 40/80 COLUMN MKJ Ken Heisl TSEOIT PATCH FOR DEVICE WINDOWS RICKADAMS Rick Adams ENHANCED GFX2 OS9UGPRES Kevin Darling Telcom: 0S9BBS VERSION 1.3 EMTWO Paul M. Fitch Jr. Graphics & Music: TIGER VEF SCG Steve Gilbert WEBER CORRECTION HAZE Hadley Hazen THE CHURCH LADY MICHAEUN Mike Nelson TETRIS FOR OS-9 DODGECOLT Mike Sweet SOUND MASTER JMLSOFT Jim McDowell OWLCASE.VEF SCG Steve Gilbert BUGS BUNNY SPEAKS OUT MICHAEUN Mike Nelson MORE DIGITIZED SOUNDS MICHAEUN Mike Nelson DEPTHCHARGE WJMOORE Warren Moore WEBER'S CONCERTINO HAZE Hadley Hazen THREE STOOGES MICHAEUN Mike Nelson COLLECTION OF DIGITIZED SOUNDS MICHAEUN Mike Nelson Programmers Den: COMPILED DEARC SEBJMB Jeff Blower TIMEX.PAK MISHOO Mike Shook 68K-OS9: 68070/VSC SPEC L0WD0WN MATHOMPSON Matthew Thompson KENNETH LEIGH PRESS RELEASES PKW Paul K. Ward CoCo Sig Richard P. Trasborg CoCo 3 Graphics: INGRID002.IMG TRAS KATHY001 TRAS Richard P. Trasborg RASGO.BAS & INGRID TRAS Richard P. Trasborg GIF FILES TOMMIETAYLOR Tommie Taylor COCO 3 ANIMATOR PROGRAM! PYROMAN1AC Richard Goedeken RACHAEL TRAS Richard P. Trasborg CC3DEM0.BIN ALANDEKOK Alan DeKok SCREEN "WASH" UTILITY SET OLDGROUCH Eric A. Wolf Utilities & Applications: LOAN AND MORTAGE PAYMENTS BACKFIRE Christopher Johnson Games: WORDWRAP AJACK Andrew Jackson Music & Sound: KYUM-GAI RAP FOR SOUNDTRAX PLAYE SUNDOGSYS Glen Dahlgren SOUNDTRAX SCORE PLAYER SUNDOGSYS Glen Dahlgren Soapbox (chitchat): SOVIET TRIP REPORT MARTYGOODMAN Many Goodman December 1990 THE RAINBOW 59 GET 'EM WHILE THEY'RE BACK ISSUES STILL AVAILABLE Have you explored the wealth of information in our past issues? From our very first, four-page issue to many with more than 300 pages of material, it's all just for CoCo users — a great way to expand your library! A WORLD OF INFO AT A BARGAIN PRICE All back issues sell for the single issue cover price. In addition, there is a $3.50 charge for the first issue, plus 50 cents for each additional issue for postage and handling if sent by United Parcel Service. There is a $5 charge for the first issue, plus a $1 charge for each additional issue on orders sent by U.S.Mail. UPS will not deliver to a post office box or to another country. MOST ISSUES STILL AVAILABLE Issues July 1981 through June 1982 are available on white paper in a reprint form. All others are in regular magazine form. VISA, MasterCard and American Express accepted. Kentucky residents please add 6 percent sales tax. In order to hold down costs, we do not bill, and no C.O.D. orders are accepted. Due to heavy demand, we suggest you order the back issues you want now while supplies last. To check availability and order, review and fill out the form below and mail it with your payment. For greater convenience, order through the Rainbow Magazine Services area of our Delphi CoCo SIG. RAINBOW INDEX A complete index for. July 1 981 through June 1 984. is printed in the July 1984 issue. Separate copies are available for $2.50 plus 50e han- dling. Indexes for subsequent years are published annually in the July issues Of THE RAINBOW. TOTAL KY RESIDENTS ADD 6% U.S. MAIL CHARGE SHIPPING & HANDLING UPS. CHARGE TOTAL AMOUNT ENCLOSED Article Reprints In instances where a given issue is now out ol print and not available lor purchase, we do provide photocopies ol specific articles. The cost for this service is $1 .50 plus 50 cents S/H per article. This service is provided only in the case ol out-ol-stock issues. Name Address City State j Payment Enclosed, or Charge to my: Q VISA □ MC □ AE CARD# Zip EXPIRATION DATE SIGNATURE PHONE ( ) . TO ORDER BY PHONE (credit card orders only) call (800) 847-0309, 8 a.m. to 5 p.m. EST. All other inquiries call (502) 228-4492. send to: THE RAINBOW The Falsoft Building P.O. Box 385 Prospect, KY 40059 Please send me the following back issues: VOLUME 1 MAR 87 Business $3.95 J JUL 81 Premier Issue S2.00 Q APR 87 Home Help $3.95 J AUG 81 S2.00 U MAY 87 Printer $3.95 a SEP 81 Education $2.00 □ JUN87 Music $3.95 j NOV 81 $2.00 Q JUL 87 Anniversary $3.95 a DEC 81 Holiday $2.00 J FEB 82 $2.00 -i VOLUME 7 AUG 87 Games $3.95 a VOLUME 2 SEP 87 Education $3.95 a JUN83 Primers $2.95 U OCT 87 Graphics S3.95 a NOV 87 Data Comm. $3.95 a VOLUME 3 DEC 87 Holiday $3.95 j AUG 83 Games $2.95 Q JAN 88 Beginners $3.95 a SEP 83 Education $2.95 Q FEB 88 Utilities $3.95 j OCT 83 Graphics $3.95 J MAR 88 Business $3.95 a MAR 84 Business $3.95 Q APR 88 Home Help $3.95 a APR 84 Gaming $3.95 Q MAY 88 Printer $3.95 a MAY 84 Printer $3.95 Q JUN 88 Music $3.95 a JUN84 Music $3.95 Q JUL 88 Anniversary $3.95 a JUL 84 Anniversary $3.95 'J VOLUME 8 VOLUME 4 AUG 88 Games $3.95 a AUG 84 Games $3.95 Q SEP 88 Education $3.95 a SEP 84 Education $3.95 Q OCT 88 Graphics $3.95 a OCT 84 Graphics $3.95 Q NOV 88 Data Comm. $3.95 .j NOV 84 Data Comm. $3.95 Q DEC 88 Holiday $3.95 j DEC 84 Holiday $3.95 Q JAN 89 Beginners $3.95 a JAN 85 Beginners $3.95 □ FEB 89 Home Help $3.95 a FEB 85 Utilities $3.95 □ MAR 89 Hardware $3.95 a MAR 85 Business $3.95 Q APR 89 Business $3.95 a APR 85 Simulations $3.95 Q MAY 89 Printer $3.95 a MAY 85 Printer $3.95 Q JUN 89 Summer Fun $3.95 j JUN85 Music $3.95 a JUL 89 Anniversary $3.95 a JUL 85 Anniversary $3.95 Q VOLUME 9 VOLUME 5 AUG 89 Beyond BASIC $3.95 j AUG 85 Games $3.95 Q SEP 89 Education $3.95 □ SEP 85 Education $3.95 a OCT 89 Graphics $3.95 □ OCT 85 Graphics $3.95 □ NOV 89 Data Comm. $3.95 a NOV 85 Data Comm. $3.95 D DEC 89 Holiday $3.95 j DEC 85 Holiday $3.95 □ JAN 90 Beginners $3.95 a JAN 86 Beginners $3.95 J FEB 90 Home Help $3.95 j FEB 86 Utilities $3.95 Q MAR 90 Hardware $3.95 j MAR 86 Business $3.95 Q APR 90 Business $3.95 a APR 86 Home Help $3.95 a MAY 90 Printer $3.95 j MAY 86 Printer $3.95 Q JUN 90 Summer Fun $3.95 j JUN86 Music $3.95 a JUL 89 Anniversary $3.95 a JUL 86 Anniversary $3.95 a VOLUME 9 VOLUME 6 AUG 90 OS-9 $3.95 a AUG 86 Games $3.95 □ SEP 90 Education $3.95 j SEP 86 Education $3.95 a OCT 90 Graphics $3.95 j OCT 86 Graphics $3.95 a NOV 90 Data Comm. $3.95 j NOV 86 Data Comm. $3.95 j DEC 90 Holiday 53.95 a DEC 86 Holiday $3.95 j JAN 87 Beginners $3.95 a FEB 87 Utilities $3.95 a uAamwL This is a fascinating CoCo 3 game of skill and coordination. Pyr- amix is 100% machine language written exclusively to take ad- vantage of all the power in your 128K CoCo 3. The Colors are brilliant, the gra- phics sharp, the action fast. Written by Jordon Tsvetkoff and a product of ColorVenture. Disk: $19.1)5^ l/occd d'mAmn ,/ocal Freedom turns your computer into a digital voice recorder. The optional Hacker's Pac lets you incorpo- rate voices or sounds that you record into your own BASIC or ML programs. This is not a syn- thesizer. Sounds are digitized directly into computer memory so that voices or sound effects sound very natural. One "off- the-shelf" application for Vocal Freedom is an automatic message minder. Record a message for your family into memory. Set Vo- cal Freedom on automatic. When Vocal Freedom "hears" any noise in the room, it plays the prerecorded message directly from its Random Access Memory with amazing fidelity! You may also SAVE or LOAD sounds to and from DISK. VF also tests memory to take advantage of from 64K up to a full 512K. Requires low cost amplifier (RS cat. #277-1008) and any microphone. Will run on a CoCo 1, 2, or 3. Vocal Freedom Disk: $34.95. Optional Hacker's Pac Disk: $19.95. Disk for both: $49.95 Jjnhtmma Ilwntal Reads your master disk once and then makes super fast multiple disk backups on all your drives! No need to format blank disks first! Supports 35, 40 or 80 track drives. This utility requires 512K. Disk: $19.95 Would your friends be impressed if your com- puter could read their minds? Mental Freedom uses the techniques of Biofeedback to control video game action on the screen. Tele- kinesis? You control the action with your thoughts and emo- tions. Your goal is to materialize and levitate objects with the power of your mind while avoid- ing the insidious cobra. Mental Freedom teaches peace of mind in the face of adversity. Mental Freedom even talks in a per- fectly natural voice without using a speech synthesizer! Re- quires Radio Shack's low cost Biofeedback monitor, Cat. #63- 675. Will run on a CoCo 2 or 3 but not CoCo 1. Disk: $24.95 QMM^L JMumima These three utilities give real power to your CoCo 3 Ui(MnjdM, JjnhtmmqA This is the best Ramdisk avail- able. It lets you have up to 4 mechanical disk drives and 2 Ram drives on-line and is fully compatible with our Printer Lightning. Disk: $19.95 l/'MWi Jjjq /umj/nrj, Load it and forget it — except for the versatility it gives you. Never wait for your printer again! Printer runs at high speed while you continue to work at the keyboard! Disk: $19.95 Produce standard grade 2 Braille on a Brother daisy wheel printer. Easy to use for sighted or blind user. No knowledge of Braille is necessary. Call for free sample. Will run on CoCo 1, 2, or 3. Disk: $69.95 UruBA VDOS, The Undisk, ramdisk for the CoCo 1 or 2 only. Available only on tape: $24.95 VDUMP, backup Undisk files to single tape file. Requires VDOS. Tape: $14.95 VPRINT, Print Undisk directory. Requires VDOS. Tape: $9.95 Add $2.50 shipping/ handling in USA or CANADA Add $5.00 to ship to other countries Dr. Preble's Programs 6540 Outer Loop Louisville, KY 40228 24 Hour Hot Line (502) 969-1818 Visa, MC, COD, Check Start your own TV series with a little help from a friend IN/I embers of my CoCo SIG in New Or- leans discussed at a recent meeting various ways of gathering with other CoCo owners in the city. We hail already explored several unsuccessful ideas and were perplexed on how to accomplish our objective. Several new ideas, including public service an- nouncements and advertisements on local TV stations, were suggested. My son. Brent. was in production on his own TV show and said we should consider making our own show on the Color Computer. He offered to help us with the project and explained that if ours was an educational program without direct advertising we could get the equip- ment and studio at no cost through the Community Access Corporation, which is local cable Channel 42. Channel 42 pro- vides facilities and equipment for local community-related programs. Within two weeks all the necessary forms A local cable- n producer. Andrew Bou- dreau.x, Jr.. has used the Color Computer for over three years. He lives in New Or- leans with his wife and three children, lie can he contacted at 20 Gihh Drive. Chahnette. I. A 7004S. had been completed and we had a commit- ment to produce a I. v week series called Learn Your Color Computer. The excite- ment of this new project sparked our members into action. Member Chris Mayeux decided to write the scripts and host the show. Others searched for Vi-inch com- mercial tapes, lined up technical assistance, collected special cables and connectors as well as other bits and pieces needed. Below are several Color Computer pro- grams created by Chris Mayeux for our show that may be of interest to you. Every TV station requires a one minute header at the beginning of a show. HEADER (Listing 1 ) creates 30 seconds of color bars, a 20 second slate and a in second count- down. Instructions for this are included. CREDGEN (Listing 2) produces the titles for the beginning of the show as well as the credits at the end of the tape. TELEPRMT turns a monitor (BAV or color) or TV into a teleprompter so your host can read the script while on camera without having to memorize many pages of written ASCII tiles (with a . TXT extension) from any word processor can be made compat- 62 THE RAINBOW December 1990 ible with TELEPRMT with SCRIPTO. To be most effective, files must be saved in a 32- column format without words being bro- ken apart on the monitor. WHOSONLN allows for the use of a floor monitor during your show. This allows the host to know who is on hold for up to five phone lines. There is also a single crawl line that can send messages from the con- trol booth to the host while on camera. This was an enjoyable project for our group. While it was interesting to work in an actual TV studio, we discovered we could have the same results with a quiet room, our CoCo setup and one camera. This enables us to do our show on days when we can't use the studio. We made our show by shooting part of a studio/host direct shot followed by a section read directly from the computer output. This process was repeated until we had completed a 30 minute show. We found that by continually putting the camera in Pause mode, a three man crew could do this type of filming with positive results. We finished the last three shows in this manner. With a '/z-inch video camcorder, we shot the show with our own cable adapters and dumped the results to the commercial '/«- inch tape. When using only one camera, frequent change of camera placement will produce a multi-camera effect. There is time during the computer direct to allow for camera and tripod movement for a new angle. A general release from Tandy Corpora- tion should be obtained before any TV sta- tion or cable company is approached about producing this type of show. Releases for music, talent and software used on the show should also be secured. These re- leases are recommended for the protection of your group even if they are not require- ments of the TV station. Use the talents within yourown group to produce a show. Scripts on various subjects can be written by anyone in your group. You can choose one host or. for more club involvement, a series of rotating hosts for the show. The people who work behind the scenes are very important to the overall success of the show. A project of this magnitude requires acommitment from the entire group to be successful. We learned several things during the production of our show that might be help- ful to you. First of all, keep both text and demonstrations simple. Whatever the sub- ject, make sure your segments are related and can be easily connected in the viewer's mind. Repeat instructions often during a segment. Make sure demonstrations of instructions are exact and cohesive. Break subjects into as many simple sections as time permits. For a smooth show, elect one director who is responsible for the overall quality of the production. For assistance in the production of your own show, write to the National Federation of Local Cable Programmers, P.O. Box 27290, Washigton, D.c. 20038-7290. If your com- munity does not have cable, contact the local TV station and ask about the possiblity of airing your show. We of the CoCo SIG in New Orleans hope your group has as much fun as ours with this project, and that the final produc- tion is met with positive results. □ [ Move into the '90s with DiSTD »« [?^®PS^ J Snap©? ©©laiU'ofey I NOW AVAILABLE AT YOUR RADIO SHACK STORE PART # 90-2009 UNDER OS-9: Buffered read /write sector achieved without halting the CPU means no loss of time or keyboard strokes. Mini Expansion Bus for 1 Super Add-On. One DOS included. $130 Sail®©? ©©sattffofeir • Sockets for 4 DOSes • Mini Expansion Bus for 1 Super Add-On. • One DOS Included. $99 vmwmi Lowest Price Anywhere! Sockets for 2 DOSes Accepts 24/28 pin DOS One DOS Included. $75 NEW! GET U Of memory in your COCO 3 with DISTOs 1 MEG Upgrade Kit. • Requires a 512K COCO 3 and soldering experience. • Kit includes 51 2K mem and all necessary hardware. • OS9 Drivers, by Kevin Darling, included. ®MILV§fl@® NEW ! From Rainbow s author, Tony DiStef ano: "A Full Turn of the Screw" The complete collection of "Turn of the Screw" articles from Jan '83 to Jul '89. $20 Zero K Kit SI 59 MEBII A carrier to plug in 1 Super Add-On. Multi- Pa K required. $35 RS-232 PAK Compatable with RS Deluxe RS-232 Pak. DB-25 cable included. Multi-Pak rqd. $55 RGB to MONO Monochrome video & Audio adapter. $35 Super Add-Ons 4IN1 Multi-Board Adapter Hard Disk, Real Time Clock Serial & Parallel Ports. Req. SC-IIorMEB-Il.$l30 3IN1 Multi-Board Adapter Real Time Clock, Serial & Parallel Printer Ports. $75 RTC & Printer Interface Rtime & Parallel Port. $35 MPROM Adapter EPROM Programmer. $55 Hard Disk Adapter SCSI or SASI. No Multi-Pak needed if used with SC-I or SC-I1. RGB DOS and Hyper I/O supported. $40 HDISK & RS-232 Same as above but with RS-232 Serial Port. $70 RS-232 Adapter A true Serial Port. $40 SR-3* 51 2K Upgrade ^)(D Upgrades a COCO 3 to 512K memory. Ramdisk, printer spooler and memory test software included! Zero K $25 CRC Inc. 11 Boul. Des Laurentides, Laval, Quebec, Canada H7G 2S3 1-514-967-0195 Include S&H of $4 or $8 if order exceeds $70 MC/Visa Accepted Sorry: No personal cheques December 1990 THE RAINBOW 63 32K Extended 150 182 250 59 360 81 500 36 610 187 680 176 790 2 900 146 990 211 1120 115 1260 174 1420 156 1580 57 1740 6 1880 171 END 254 Listing 1: HEADER 'COPYRIGHT 1990 FALSOFT. INC. 10 20 30 40 50 60 70 ■ *************************** "TV HEAOER GENERATOR "WRITTEN BY CHRIS MAYEUX •BE SURE YOU ARE IN 32 COLUMN ■VDG MODE BEFORE OPERATING •THIS PROGRAM 80 ' 90 **************************** 100 ■ WHERE EVER COMMANDS ARE 110 • CRAMMED TOGETHER. IT IS 120 ' FOR TIMING PURPOSES. DO 130 ' NOT SPREAD THEM OUT !!! 140 *************************** 150 'GENERATE COLORBAR PATTERN 160 *************************** 170 CLS 180 PRINT@0."30 SECONDS COLOR BA R LOADED. . .":PRINT:GOSUB 280:CLS 190 CB$-STRING$(4.32)+STRING$(4. 159)+STRING$(4.175)+STRING$(4.19 1)+STRING$(4.207)+STRING$(4.223) +STRING$(4.239)+STRING$(4.255) 200 PRINT@32.""::F0R X-l TO 13 :P RINT CBS; :NEXT X 210 TIMER-0 220 IF TIMER<1800 THEN 220 230 GOSUB 1760 240 GOTO 360 250 *************************** 260 'GIVE DIRECTIONS TO USER 270 *************************** 280 PRINT"STEP 1 RECORD" 290 PRINT" pause" 300 PRINT 310 PRINT"STEP 2 RECORD." 320 PRINT" OFF OF " 330 PRINT" S A KEY." 340 K$-INKEY$:IF 350 RETURN ■ *********** 360 370 380 390 CLS •ENTER SLATE • *********** . SET RECORDER T AND PUT IT ON . WHEN READY TO TAKE RECORDER PAUSE ANO PRES K$-"" THEN 340 *************** INFORMATION *************** 400 PRINT"WE WILL NOW MAKE A SLA TE SCREEN" 410 PRINT"ENTER THE FOLLOWING IN FORMATION" 420 PRINT 430 *************************** 440 * THESE ARE THE DEFAULTS 450 *************************** 460 NMS-"SHOW NAME" 470 SN$-"0001" 480 PD$-"PRODUCER'S NAME" 490 DTS-"00/00/00" 500 LNS-"30:00" 510 CUS-"00:30" 520 ' ************************** 530 PRINT"25 CHARACTERS MAX" 540 LINEINPUT"SHOW NAME:";K$ 550 IF LEN(K$)>25 THEN K$-LEFT$( K$.25) 560 IF K$-""THEN NM$-NM$ ELSE NM $-K$ 570 LINEINPUT-SHOW NUMBER (####) :":K$ 580 IF LEN(K$)>4 THEN K$-LEFT$(K $.4) 590 IFK$-""THEN SN$-SN$ ELSE SNS -KS 600 LINEINPUT"PRODUCER NAME:":K$ 610 IFK$-"" THEN PD$-PD$ ELSE PD S-KS 620 LINEINPUT"DATE (#/##/##):": K$ 630 IF MID$(KS.3.1)<>'7" THEN L$ -LEFTS(K$.2)+"/"+RIGHTS(KS.5):KS -L$ 640 IF MID$(K$.6.1)<>*7" THEN L$ -LEFT$(K$.5)+"/"+RIGHT$(K$.2):K$ -L$ 650 IF (MID$(K$.3.1)-"/" AND MID $(K$. 6.1 )-"/") THEN DTS-KS:GOTO 670 660 IF K$-"" THEN DT$-DT$ 670 LINEINPUT"SHOW LENGTH (##:## ):";KS 680 IFK$-"" THEN LN$-LN$ ELSE LN $-K$ 690 LINEINPUT "CUE TIME (#:#); ":K$ 700 IF K$-"" THEN CU$-CU$ ELSE C US-KS 710 LINEINPUT-FACILITY NAME:";FC $ 720 IF FCS-"" THEN FCS-"HERE" 730 CLS:PRINT"20 SECONDS OF SLAT E IS LOADED. ":PRINT:GOSUB 280 740 *************************** 750 'DRAW SLATE SCREEN 760 *************************** 770 CLS(0) 780 PRINT@96. "TITLE :"+CHRS( 128)+ NM$: 790 PRINT@135."SHOW #":SN$: 800 PRINT@192. "PRODUCER :"+CHR$(l 28)+PD$; 810 PRINTO260. "DATE :"+CHR$( 128)+ DT$; 820 PRI NT@322 . "LENGTH : "+CHR$ ( 128 )+LN$+CHR$(128)+"MINUTE(S)": 830 PRINT@389."CUE:"+CHR$(128)+C U$+CHR$(128)+"MINUTE(S)": 840 PRINT@448."FACILITY:"+CHR$(1 28)+FC$: 850 TIMER-0 860 IF TIMER<1200 THEN 860 870 GOSUB 1760 330 *************************** 890 'TEN SECOND COUNT-DOWN 900 *************************** 910 CLS:PCLS:PRINT@238."wait" 920 N0$-"C0D9R1C5R9C0U9L10D16R10 U16" 930 N1$-"C5R10L9D16U16L1D9R10L10 D7R10C0U16" 940 N2$-"C5D8R1U8L1C0R10D9L10D7R 10U1C5U6R1D6" 950 N3$-"C0R11D9L10R10D7L10U1C5U 14L1C5D14" 960 N4$-"C5R10L10C0D9R10U9D16L1C 5L9U6R1D6" 970 N5$-"C0R10D1C5D8R1U9C0L11D9R 10D7L10U1C5U5R1D5" 980 N6$-"C0R10D1C5D8R1U9C0L11D9R 10D7L10U7" 990 N7$-"C0R10D16L1C5L9U7R1D7L1U 7R8L9U8" 1000 N8S-"C0R10D16L10U7R10L10U9" 1010 N9$-"C0R10D9U9L10D9R10D7L10 U1C5U6R1D6" 1020 P1$-"BM100.82":P2$-"BM116.8 2" : P3$-"BM136 .82" : P4S-"BM152 .82" 1030 PMODE 3.1:SCREEN 1.0:PCLS0: SCREEN 0.0 1040 CIRCLE(130.90).50.5 1050 PAINT(130.90).3.5 1060 LINE(95.80)-{167.80).PSET 1070 LINE -(167.100) .PSET 1080 LINE -(95. 100). PSET 1090 LINE -(95. 80). PSET 1100 PAINT(96.81).5.4 1110 DRAWBM170.60C5E5F3G5" 1120 DRAWBM93.60H5G3F5" 1130 DRAWBM129.40U5R4D5" 1140 CIRCLE(131.27).15.5 1150 CIRCLEC131.27) .12.5 1160 DRAW P1$+N0$:DRAW P3$+N1$ 1170 DRAW P2S+N0$:DRAW P4$+N0$ 1180 CLS:PRINT@0."10 SECONDS COU NTDOWN LOADED... ":PRINT:GOSUB 28 1190 1200 1210 1220 1230 1240 1250 1260 1270 1280 1290 1300 1310 1320 1330 1340 1350 1360 1370 1380 1390 1400 1410 1420 1430 1440 1450 1460 1470 SCREEN 1.0 DRAW P2$+N0$ T$-"10":GOTO 1270 *************************** TIMER-0 IF TIMER<50 THEN 1240 *************************** GOSUB 1310:GOSUB 1460 DRAW P3$+NT$:DRAW P4$+N0$ GOSUB 1720 IFT$-" 2"THEN1610 GOTO 1230 ■ ************************* ' THE TENS PORTION ' ************************* TT$-LEFT$ I FTTS-" IFTTS-"1 IFTT$-"2 IFTT$-"3 IFTT$-"4" IFTT$-"5" IFTT$-"6" IFTTS-"7" IFTT$-"8" IFTT$-"9" RETURN • ************************* ' THE ONES PORTION (T$.l) THENNTS THENNTS THENNTS THENNTS THENNTS THENNTS THENNTS THENNTS THENNTS THENNTS -N0S: RETURN -N1S:RETURN -N2S:RETURN -N3S: RETURN -N4$:RETURN -N5S:RETURN -N6S: RETURN -N7S: RETURN -N8S: RETURN -N9S: RETURN 64 THE RAINBOW December 1990 1480 1490 1500 1510 1520 1530 1540 1550 1560 1570 1580 1590 1600 1610 1620 1630 1640 1650 1660 1670 1680 1690 1700 1710 1720 1730 1740 $(T$.l) THENNO$-N0$: THENN0$-N1$: THENN0$-N2$: THENN0$-N3$: THENN0$-N4$: THENN0$-N5$: THENN0$-N6$: THENN0$-N7$: THENN0$-N8$: THENN0$-N9$: RETURN RETURN RETURN RETURN RETURN RETURN RETURN RETURN RETURN RETURN • ************************* TT$-RIGHT IFTT$-"0" IFTT$-"1" IFTT$-"2" IFTTJ-"3" IFTT$-"4 IFTT$-"5 IFTT$-"6 IFTT$-"7 IFTT$-"8 IFTT$-"9 RETURN • ************************* • DONE COUNTING NUMBERS • ************************* SCREEN 0.0:CLS TIMER-0 IF TIMER<240 THEN 1660 GOSUB 1760:GOTO 1800 GOTO 1680 • ************************* • DECREMENT DIGIT VALUES ■ ************************* R-VAL(TJ) R~R" 1 R$-STR$(R) 1750 1760 +"pau )+"yo 1770 1780 1790 1800 1810 1820 1830 1840 1850 1860 1870 1880 1890 1900 1910 1920 1930 T$-R$: RETURN PRINT@482, "press se"+CHR$(128)+"on ur"+CHR$(128)+"re TIMER-0 IF TIMER<600 THEN RETURN ***************** 'CHOOSE TO RE-DO • **************** +CHR$(128) +CHR$(128 corder"; 1780 ********* SOMETHING ********* CLS PRINT PRINT PRINT PRINT PRINT PRINT PRINT PRINT PRINT (1) REDO COLORBARS' (2) REDO SLATE" (3) REDO COUNTDOWN' (4) DON'T REDO" CHOICE — ->": K$-INKEY$:IF K$-"" THEN 193 1940 IF INSTR("1234".K$)-0 THEN SOUND 200.1: GOTO 1930 1950 PRINT K$ 1960 IF K$-"4" THEN END 1970 ON VAL(K$) GOTO 170.390.910 70 148 180 34 300 246 450 239 530 57 640 3 780 212 930 196 END 30 Listing 2: CREDGEN 'COPYRIGHT 1990 FALSOFT. INC. 10 'credgen.bas 20 'A CREDITS GENERATOR FOR THE 30 'COCO IN TV ENVIRONMENT. 40 ' 50 CLS:PRINT"SETTING UP. PLEASE WAIT..." 60 CLEAR 11000:DIM CP$(21 . 15) : FL $-"CREDI TS . GEN : 0" : DN-1 : FORX-1 TO 20:FOR Y-l TO 14:CP$(X . Y J-STRIN G$(32.32):NEXT Y:NEXT X:VERIFY N 70 FOR X-l TO 20:CP$(X.1)-"PAGE #"+RIGHT$(STR$(X),LEN(STR$(X))-l ):Q-32-LEN(CP$(X,l)):CP$(X.l)-CP $(X.1)+STRING$(0.32):NEXT X 80 CLS 90 PRINT@12. "CREDGEN" 100 PRINT@44." ":PRINT 110 PRINT" ITS" 120 PRINT" REDITS" 130 PRINT" 140 PRINT" CS" 150 PRINT" FILE" (1) EDIT SOME CRED (2) DISPLAY SOME C (3) QUIT PROGRAM" (4) CHANGE FILESPE (5) SAVE MEMORY TO 160 PRINT:PRINT" FILESPEC:"; F L$ 170 MU$-INKEY$:IFMU$-""THEN170 180 ON VAL(MU$) GOTO 320.620.990 .210.1010 190 SOUND 200.1 :GOTO 80 200 'set filespec 210 CLS :PRINT@0. "FILENAME :###### ##": :PRINT@9. ,,n : :LINEINPUT FL$ 220 IFFL$-""THENFL$-"CREDITS.GEN :0": DN-1: GOTO 80 230 IFLEN(FL$)>8THENFL$-LEFTJ(FL $.8) 240 FL$-FL$+".GEN" 250 PRINTO0."FILENAME:";FL$ 260 PRINT"dISK OR tAPE ?" 270 DT$-INKEY$:IFDT$-""THEN270 280 IFDT$-"D"TJHENDN-1ELSEDN— 1 290 IFDN— 1THENFL$-LEFT»(FL$.8): PRINT@0."FILENAME:"•FL$•" 300 IFDN-1THEN LINEINPUT"DRIVE: " :DD$: IF INSTR("0123".DD$)-0 THEN PRINT@64.""::GOTO300:ELSE FL$-F L$+":"+DD$:PRINT@0."FILENAME:";F L$ 310 GOTO 80 320 "edit some credits 330 CLS 340 PRINT@0."(1) LOAD FROM FILE" 350 PRINT@32."(2) LOAD FROM MEMO RY" 360 MU$-INKEY$:IFMU$-""THEN360 • 370 IFINSTR("12".MU$)-0THEN360 380 IFMU$-"2"THEN 440 390 OPEN "I".#DN.FL$ 400 FOR X-l TO 20 410 FOR Y-0 TO 14 420 L1NEINPUT#DN.CP$(X.Y) 430 NEXT X 440 CLS 450 PRINT@0. "WHICH PAGE ? (1 - 2 0)" 460 LINEINPUT ">" ; PN$ : I FPN$-""TH New Modems €% 2l'-Vi (1) Two versions of SondFaxModems Send any text file and most graphics files from your computer lo any Fax machine in the world. Both external and internal (for PC) models. And with lull 2400 Baud data modem capability. (2) V.42/V.42bls 2400 Baud data modams. These have both error correction and data compression (gives much higher effective throughput, as much as 9600 Baud). All are high quality modems made by Zoom Telephonies in the USA. with performance features unmatched by competitors costing three times as much. Fully Hayes compatible. Work with any computer. All the features you expect in state of the art modems. With two year mfg warrantee (a seven year warantee is available). Money saving premiums for Delphi, GEnie, CompuServe, etc. ProcComm (PC) ♦ $5 QuickLink (Mac) + $5 WizPro is free (shareware) Send Fax external modem $149.00 Send Fax Internal modem {for PC) $139.00 Come with software for PC or MAC your choice (ask about Granite Computers OSK telcom software) 2400 v.42/v.42bia external modem $235.00 2400/1200/300 BPS external modem internal modem (for PC) $115.00 $105.00 Plaaeaadd USA - aftipplng and handing S3 SO Canada - Ai PP and Insurance $7*6 GCS FILE TRANSFER UTILITIES now updated to Version 3.0 The GCS File Transfer Utilities provide a simple quick method lo (ransler text and binary tiles lo and t'om a variety ol floppy disk formats. Need lo transfer tiles lo and Irom PC (MSDOS), RSOOS, FLEX or MINI-FLEX disks on your OS-9 system? You need GCS FJe Transfer Utilities. Commands Dir. Dump, Read, Write. Rename. Delete, Format PC disk Dir. Dump. Read Write RS or FLEX disk Version 3.0 handles most 5.25 and 3.5 formals. Any level sub-direclories (PC). Binary tiles. Use pipes for direct and multiple transfers. Multi-Vue version can be used under Multi-Vue or as stand alone Shell commands. Requires OS-9 L2 for COCO 3 LI lor COCO 1 or 2 2 drives (one can be hard or ramdisk. one floppy 40 T DD DS). Muhi-Vue for Multi-Vue version SDISK3lorCOC0 3 SDISK for COCO 1 or 2 GCS File Transler Utilities for CoCo Multi-Vue version $54.95 Standard version $44.95 Version 3.0 update - either version (provide disk number) $15.00 D. P. Johnson SDISK or SDISK3 $29.95 LI & L2 Utilities $75.00 Ask about FORTH09 (6809 & OSK) Standard ditkansa aia OS-9 format (525*1 - add S2.50 lor 35'. Ordars mini M prapaid cr COO VtSA/MC accaptad. Add St .75 SAH COD II addilonal GRANITE COMPUTER SYSTEMS 571 Centar Road Hillsboro, NH 03244 (603) 464 - 3850 OS-fl ia a tademajfc of Uoowara Syslsms Caparison and Motorola he MS-DOS is a BadornflrkolUoroaoR Corp. FUEXHa Badamark ol TSC. Inc. December 1990 THE RAINBOW 65 EN 80 610 CP$(PN.WL)-L$:GOTO 440 850 FOR Y-l TO 14 470 IF(VAL(PN$)>20 OR VAL(PN$)<1 620 "display some credits 860 PRINTCP$(X.Y): ) THEN 450 630 CLS 870 NEXT Y 480 PN-VAL(PN$) 640 PRINT" (1) LOAD FROM FILE" 880 FOR TD-1 TO 450 490 CLS:PRINT@33.CHR$(8)::F0RX-1 650 PRINT" (2) LOAD FROM MEMORY" 890 K$-INKEY$:IFK$<>"" THEN 960 TO 14:PRINTLEFTS(CP$(PN.X).31): 660 K$-INKEY$:IFK$-""THEN660 900 NEXT TD NEXT X:FOR TO-1 TO 1000:NEXTTD:C 670 IFK$-"2" THEN 770 910 NEXT X LS:LINEINPUT"EDIT IT?": ESS: IFES$ 680 OPEN"I".#DN.FL$ 920 POKE 1534.110 -"N"THEN 440 690 FOR X-l TO 20 930 K$-INKEY$:IF K$-"" THEN 930 500 LINEINPUT"WHICH LINE ? (1 - 700 FOR Y-l TO 14 940 GOTO 80 14) ":WL$:WL-VAL(WL$) 710 LINEINPUT #DN.CP$(X.Y) 950 'pause credit screen 510 IF(WL<1 OR WL>14) THEN 500 720 NEXT Y 960 IF K$-"0" THEN 80 520 CLS 730 NEXT X 970 K$-INKEY$:IFK$-"" THEN 970 530 PRINT@0."PAGE:":PN:" LINE:" 740 CLOSE #DN 980 GOTO 900 :WL: 750 PRINT"CREDITS LOADED. .. PRESS 990 'terminate process 540 PRINT@32.STRING$(32.175);:PR ANY KEY" 1000 VERIFY OFF:END INTCP$(PN.WL)::PRINTSTRING$(32.1 760 K$-INKEY$:IFK$-""THEN 760 1010 'save memory to file 75):PRINT 770 CLS:PRINT@5."Q-QUIT ANY OTHE 1020 PRINTO480. "WORKING. . .": 550 PRINT "SURE YOU WANT TO CHAN R TO PAUSE": 1030 OPEN "0".#DN.FLS GE IT?" 780 FOR X-5 TO 2 STEP -1 1040 FOR X-l TO 20 560 K$-1NKEY$:IFK$-"" THEN 560 790 PRINT@0,X; : FORTD-1TO370:NEXT 1050 FOR Y-l TO 14 570 IFK$-"N"THEN 440 TD 1060 PRINT #DN.CP$(X.Y) 580 PRINT@64.""::LINEINPUT L$ 800 NEXT X 1070 NEXT Y 590 IFLEN(L$)>32THEN L$-LEFT$(L$ 810 CLS:FOR TD-1 TO 740:NEXT TD 1080 NEXT X .32) 820 CLS 1090 PRINT@480."FILE SAVED...": 600 IFLEN(L$X32THEN L$-L$+STRIN 830 FOR X-l TO 20 1100 FOR TD-1 TO 1000:NEXT TD G$(32-LEN(LS).32) 840 PRINT@33.CHR$(8): 1110 CLOSE #DN:GOTO 80 > 30 19 45 208 ... 107 \A™ 1 230 .... 320 420 END Listing 3: TELEPRMT 'COPYRIGHT 1990 FALSOFT. INC. 10 CLEAR 14000:MX-0:DIMS$(300):S F-26 : ST-0 : PT-1 : RO-PEEK( 359 ) : POKE 359.57:SCREEN 0.1 20 CLS:INPUT"tAPE dISK->";D$ : I FD $-"D"THEND-lELSED— 1 30 PRINT:INPUT"FILENAME":FL$:IFF L$-""THEN30 40 IFD--1THENPRINT"REWIND TAPE. PRESS play":INPUTPR$ 50 POKE 359.R0:SCREEN 0.0:GOSUB 350:POKE 359.57:SCREEN 0.1 60 PRINT:PRINT"CMD>": 70 MU$-INKEY$:IFMU$-""THEN70 80 IFMU$-"?"THENCLS:PRINT"p PAUS E":PRINT"n NEXT LINE" : PRINT"s ST ART AND STOP SCROLL" : PRINT"b BAC KUP TEXT A BIT":PRINT"a ADJUST S PEED":PRINT"q EXIT TO RAT-DOS":P RINT: INPUT "PRESS enter" :PR$:GOT 060 90 IFMU$-"S"THENCLS:GOTO140 100 IFMU$-"B"THENK$-MU$:GOTO330 110 IFMU$-"A"THENK$-MU$:GOTO320 120 IFMU$-"Q"THEN POKE 359.R0:EN D 130 GOTO60 140 GOSUB 480 150 FOR X-ST TO MX 160 F0RY-1T0LEN(S$(X)) 170 PRINTMID$(S$(X).Y.l): 180 K$-INKEY$:IFK$O""THEN280 190 F0RTD-1T0SF:NEXTTD 200 NEXT Y 210 PRINT 220 NEXT X 230 FOR TD-1 TO 1000: NEXT TD 240 IF EF-1 THEN 270 250 IF RF-1 THEN POKE 359.R0:SCR EEN 0.0:GOSUB 380:POKE 359.57:SC REEN 0.1:GOTO 140 260 IF RF-2 THEN POKE 359.R0:SCR EEN 0.0:GOSUB 440:POKE 359.57:SC REEN 0.1:GOTO 140 270 PRINT:GOTO 60 280 IFK$-"S"THENFORTD-1TO1000:NE XTTD:GOTO 60 290 IFK$-"P"THEN GOSUB 550:GOTO 190 300 IFK$-"N"THEN PRINT:GOTO 220 310 IFK$-"Q"THENEND 320 IFK$-"A"THENPRINT:PRINT"SF-" :SF:INPUT"SPEED":SF:GOTO60 330 I FK$-"B"THENPRINT: LINE INPUT" BACK HOW MANY?>":ST$:ST-X-VAL(ST $):IF ST<0 THEN ST-0:GOTO 140:EL SE:GOTO 140 340 GOSUB 480:GOTO190 350 'get first 175 lines 360 OPEN "I",#D.FL$ 370 FOR PP-0 TO 174:LINEINPUT#D. S$(PP):NEXT PP:MX-174:RF-RF+1:RE TURN 380 "get 2nd 175 lines 390 MX-0 400 IF EOF(D) THEN RF-RF+1 : EF-EF +1:MX-MX-1:RETURN 410 LINEINPUT#D.S$(MX) 420 MX-MX+1 : IF MX-175 THEN MX-MX -1:RF-RF+1:RETURN 430 GOTO 400 440 'get lines until eof 450 MX-0 460 IF EOF(D) THEN:MX-MX-1:CL0SE //D: RETURN 470 LINEINPUT#D. S$( MX): MX-MX+1 :G OTO 460 480 ' five second countdown 490 SCREEN0.0:FORTD-1TO375:NEXTT D 500 SCREEN0.1:FORTD-1TO375:NEXTT D 510 D 520 D 530 D: 540 550 560 570 SCREEN0.0:FORTD-1TO375:NEXTT SCREEN0 . 1 : F0RTD-1T0375: NEXTT SCREEN0.0:FORTD-1TO375:NEXTT SCREEN0.1:RETURN ' pause scrol 1 ing K$-INKEY$:IFK$-""THEN560 GOTO 480 110 27 230 49 END 247 Listing 4: SCRIPTO 'COPYRIGHT 1990 FALSOFT. INC. 10 CLS 20 PRINT"SCRIPTO" 30 PRINT"A UTILITY TO MAKE SHORT SCRIPT" 40 PRINT"TELEPROMPTER COMPATIBLE ...":PRINT:PRINT 50 PRINT"PROCEED ???":SOUND 200. 1 60 PR$-INKEY$:IFPR$-""THEN60 70 IFPR$-"N"THENEND 80 CLEAR 15000:DIM S$(175) 90 PRINT"dISK OR tAPE ???" 100 DT$-INKEY$:IFDT$-""THEN100 110 IFDT$-"D"THEN DV-1 ELSE DV-- 1 120 IF(DTIO"D" AND DT$<>"T")THE N DV-1 130 IFDV--1THENLINE1NPUT"REWIND TAPE. PRESS PLAY AND ENTER" :PR$ 140 LINEINPUT"FILENAME:";FLJ 150 IFFLS-"" THEN FL$-"SCRIPT" 66 THE RAINBOW December 1990 160 PRINT "LOADING: ";FL$ 170 OPEN "I".#DV.FL$ 180 FOR CT-0 TO 174 190 IF EOF(DV) THEN 230 200 LINEINPUT#DV.S$(CT) 210 NEXT CT 220 PRINT"FILE IS GOOD. . ." :CLOSE #DV:GOTO 320 230 PRINT-FILE IS SHORT. .. LETS FIX IT":SOUND 200.1 240 IF DV— 1 THEN LINE 1 NPUT" POS I TION TAPE. PRESS RECORD";PR$ 250 CLOSE#DV:OPEN "0" ,#DV. FL$ 260 FOR X-0 TO 174 270 IF S$(X)-•••'THENS$(X)-■ , 280 PRINT #DV.S$(X) 290 NEXT X 300 CLOSE #DV 310 PRINT"FILE FIXED. 320 SOUND 200.1 330 END 90 15 190 107 280 185 END 63 Listing 5: WHOSONLN "COPYRIGHT 1990 FALSOFT. INC. 10 CLEAR 5000:PP-PEEK(359):POKE3 59.57:SCREEN 0.1 20 DIM N$(4).M$(4):DFJ-STRING$(3 2.42) 30 MSJ-STRING$(3.175)+"THIS IS A N AUTOMATIC MESSAGE. .. PLEASE CHA NGE IT"+STRING$(5.175) 40 FORX-0TO4:N$(X)-DF$:M$(X)-DF$ :NEXTX 50 CLS 60 PRINT@0,N$(0): :PRINT@32.M$(0) 70 PRINT@64.STRING$(32.128); 80 PRINT@96.N$(1)::PRINT@128.M$( 1): 90 PRINT@160.STRING$(32.128): 100 PRINT@192.N$(2)::PRINT@224.M $(2); 110 PRINT@256.STRING$(32.128): 120 PRINT@288.N$(3)::PRINT@320.M $(3); 130 PRINT@352.STRING$(32.128); 140 PRINT@384.N$(4)::PRINT@416.M $(4); 150 PRINT@448.STRING$(32.128): 160 POKE1087.49:POKE 1183.50:POK E 1279.51:P0KE 1375.52:P0KE 1471 .53:P0KE 1535.13 170 FOR X-l TO LEN(MSS) 180 PRINT@480.MID$(MS$.X.31): 190 FOR D-l TO 20:K$-INKEY$:IFK$ <>"" THEN 210 ELSE NEXT D:NEXT X 200 GOTO 170 210 'here com the options 223 IF(K$-"Q" E 359.PP:END 230 IF(K$-"M" OR K$-"nT)THENPRIN T@481.CHR$(8)::LINEINPUT SM$:MS$ -STRING$(33.175)+SM$+CHR$(175):G OTO 50 240 IFINSTR("12345".K$)>0THENGOS OR K$-"q")THEN POK UB 260 250 GOTO 50 260 NM-VAL(K$)-1 270 IF NM-0 THENPRINT@1.CHR$(8): :LINEINPUTN$(NM):PRINT@33.CHR$(8 );:LINEINPUT M$(NM) 280 IFNM-1 THENPRINT@97.CHR$(8): :LINEINPUTN$(NM):PRINT@129.CHR$( 8);:LINEINPUTMJ(NM) 290 IFNM-2 THENPRINT@193.CHR$(8) ::LINEINPUTN$(NM):PRINT@225.CHR$ (8)::LINEINPUTM$(NM) 300 IFNM-3 THENPRINT@289.CHR$(8) ;:LINEINPUTN$(NM):PRINT@321.CHR$ (8)::LINEINPUTM$(NM) 310 IFNM-4THENPRINT@385.CHR$(8): :LINEINPUTN$(NM):PRINT@417.CHR$( 8);:LINEINPUTM$(NM) 320 IF N$(NM)-'"'THEN N$(NM)-STRI NG$(32.42):M$(NM)-N$(NM) 330 IF LEN(N$(NM))>32 THEN N$(NM )-LEFT$(N$(NM).32) 340 IF LEN(M$(NM))>31 THEN M$(NM )-LEFT$(M$(NM).3D 350 GOTO 50 /R\ ®Q®$ EVERYONE'S TALKING ABOUT... DUAL HI-RES JOYSTICK ADAPTER Colorware Hi-Res Tandy Hi + Low Res, cassette jack 140 HI & LO-RES JOYSTICK ADAPTER Tandy Hi + Lo-Res S27 HAWKSoft keyboard cable S25 DOMINATION war game S18 MYDOS extended DOS for you! SI5 HAWKSoft P.O. Box 7112 Elgin, II 60121 (708) 742-3084 eves and ends SASE for more info and price list. S/H ( US ft CAN ) always included M.O. Check C.O.D. no credit cards 1 year warranty on ALL hardware !! WE'VE CHOSEN THE BEST OF OVER 760 PROGRAMS (OVER 6 YEARS OF ACCUMULATING FINE SOFTWARE), AND PACKAGED THEM FOR YOU. 12 PROGRAMS EACH PACKAGE. COLOR COMPUTER I, II or III SPECIFYTAPE OR DISK. ONLY S29.95 EACH PACKAGE! 5 NEWONES! #1 Home Mgmt I #2 Education #3 Adventures II Budget CtiOcKDOO* BtiflflCQI Cos! o' Living Tinycaic Spreadsheet Electronic Dateboc* Account Manager Stock Market WOro Processor lottery Analyst Coca Database Coco Terminal Bartender »4 Business Helper 8* P»ty Workmate />*— Word Processor S&Ji Spreadsheet Calendar Accounts Receivable Accounts Payable Income Property Mail L«sl Sma» Business Helper Stock Oaning Job Log Asset Manage' #7 Machine Lang. Tut. Basic Compiler Ml Tutorial Pt ' ML Tutorial Pi 2 ML Tutorial Pi 3A 3B ML Tutorial PI 4 ML Tutorial Pi 5 ML Tutonat Pi 6 Ml Tutorial Pt 7 ML Tutorial Pt 8 MIT Dictionary Coco Technical Look Coco Technical look Pit 1-3 #2 Education Fia-ih Card Spanish lessons Typmg Tutor Creativity Test Anih Football Cost ot living Matli Tutors l 2 Tngonometry Tuioi Typrrtg Game Word Tests Talking Alphabet Clown Dunk Math #5 Games III S.V.Oy Rovn Gray Lady Flippy The Seal Ab»o Builders Pan*er X / , Mrs P.ic / I Fire Runner Cosmic Bays &g Batlle Tank Kron King Pede #8 Gamble Issue ** Dungeon Master Hired Tired Fired . -A. If I Jungle Keys Amulet ol Power The Tnp Cookies Barracks Genesis Project HamOo £igma Experiment #6 Electronics Tutor ial Etectronics t + 2 Electronics 3 + 4 ^ ' Electronics S * 6 Electronics 7 ♦ 8 x * Electronics 9 ■» 10 Etectronics it * 12 Electronics 13 Electronics 14 Etectronics 15 Etecironics 16 Electronics 17 Electronics 16 JH&* Horse Hacing Rack Track _ Black Jack S>01 Machine , Lottery Analyst Coco Keeno Lucky Money Betting Pool Baccarat Draw Po-er Turile Races Hi i.o Craps //\ V Paint Coco 3 Convert Coco 3 Demons Cutfe Function Keys Bowlmg3 Coco 3 • Coco 2 W^ard Coco 3 Drawer H-fles Chess FYRDraca 3 Whammy 3 Coco J Screen Pi #9 Coco 3 Only 29 95 EACH SET * Special This Month * Buy 2 Packages and get 1 FREE RAINBOW S5r S^jl T&DSubscription Software • 2490 Miles Standish Dr • Holland. Ml 49424 • (616) 399-9648 TURN TO PAGES 65 & 96 FOR A COMPLETE LISTING OF ALL OUR PROGRAMS December 1990 THE RAINBOW 67 CoCo Consultations GIME Ghostbusters by Marty Goodman Contributing Editor II in getting a ghost image on my screen. This image is present with both my RGB and composite video monitors. I replaced the GIME chip with a new one from Tandy National Parts and the image problem remains. Any ideas? Neal Budd (NEALBUDD) St. Petersburg, Florida By far the most common cause for a problem like this is a defective GIME chip or one that is making poor contact with its socket. Since you have replaced the GIME chip and reseated the chip in the socket as well, perhaps your problem is more subtle. Some kind of ringing in the memory cir- cuitry? I'd urge you to re-check the seating of that GIME chip and thoroughly inspect the contacts on the gime chip socket for signs of corrosion. Neal later responded: // was the GIME chip that was at fault. And apparently the one sent to me by Fort Worth was also defective. The problem was solved when I tried a third one borrowed from another computer. How very unusual. Tandy National Parts seldom sends defective parts. I've been highly impressed with the quality of their service. However. I guess no one is perfect! Glad you solved the problem. Martin H. Goodman, M.D., a physician trained in anesthesiology, is a longtime electronics tinkerer and outspoken com- mentator — sort of the Howard Cosell of the CoCo world. On Delphi. Marty is the SIGop of rainbow's CoCo SIG and database manager ofOS-9 Online. His non-computer passions include running, mountaineering and outdoor photography. Marty lives in San Pablo. California. GIME Extractions I've heard you, Marty, recommend use of two jeweler's screwdrivers at diago- nally opposite ends of the GIME chip as a means of removing it. I used an alternative solution. I fabricated a GIME chip extractor from an ordinary IC puller. I merely filed down the grabbing part of an ordinary IC puller (of the sort available at Radio Shack and most other electronic supply houses) so that they were 'la inch in width and not the '/* inch width sported by the stock puller. At this point I could insert the grab- bing part of the IC puller at diagnonally opposite corners of the GIME chip and smoothly lift it from its socket. Robert Capone Reading, Pennsylvania Thanks for the tips, guys! Wide-Screen Modem Pak How can I make use of 40 or 80 columns on the screen with my Direct Connect Modem Pak? How can I transfer to disk such tape-based games as Pyramid, Raaka- tu or Madness and the Minotaur? Dwane Flint (OEANE) Leesville. Louisiana The software in the DC Modem Pak limits it to 32 columns. If you use other software that drives the hardware of the DC Modem Pak (such as Mikeyterm, Delphi- term and Vterm, all of which have provi- sions for talking to the modem pak ) you can operate the Modem Pak and have an 80- column screen. You'll need a Multi-Pak, Slot Pak III or Y cable to connect both the DC Modem Pak and disk controller to the CoCo at the same time. The DC Modem Pak is such an ill-conceived device I strongly recommend you get rid of it and invest in any inexpensive 1200-bps external modem that can be hooked to the 4-pin serial port of your Color Computer and used with Delphiterm, Vterm and a host of other terminal programs. No Multi-Pak will then be required. You will also get faster, more efficient file transfers. I don't have any how-to series of steps for putting those classic tape games on disk, but the usual problem with ancient tape-based games is those games load at location S600 in memory. This conflicts with the disk buffer area in a disk-based system. Putting them on disk involves off- set loading the games into memory above location SE00 and adding a little assembly language block-move program that, upon execution, block moves the program back down to S600 (or wherever it is normally loaded) and then transfers control to the now properly located program. Gaining Grounds Where is a good site to solder a really big ground wire onto the motherboard of the CoCo? I'm putting mine in an AT-type case and want a site to connect the ground wire. Ted Jaeger (TEDJAEGER) Fayetteville, North Carolina The spots where the clips that connected the motherboard to the back of the key- board used to go are excellent locations. Lands for Extended ADOS I have two older disk controllers that lacked lands 36 through 39 on their 40-pin edge connectors. This presented a problem when I wanted to use them with Extended ADOS that requires Pin 37 (the AI3 line) to connect its I6K EPROM to the CoCo. Some DB-25 connectors have pins that you indi- vidually crimp to wires and plug into blank DB-25 connectors. These pins come joined by a strip of metal. I cut thin strips from this spare metal, bent one end up slightly to facilitate later soldering and bonded them to the controller card using Super Glue in 68 THE RAINBOW December 1990 one case, and Devcon Plastic Welder in another. After the strips were attached I used a file at the edge to make sure the edge was smooth. Both controllers now work fine with Extended ADOS-3. D.S. Ricketts (STEVEPOX) Portland. Oregon Double Sides for TW-80 Several folks have asked me about using TW-80 with double-sided drives. If you load the configure program for TW-80 vow will find in it the following: 370 GOSUB 3890:D2-A 380 GOSUB 3890:D3-A Edit those statements to read instead 370 GOSUB 3890:02-&H41 380 GOSUB 3890:03-&H42 and then run the configure program. TW-80 will now recognize the back sides of drives and 1 as drives 2 and 3. This is the usual arrangement in ADOS and most other Disk BASIC enhancements. However, the drives will still be treated as 35- (not 40-) track drives. Art Flexser (ARTFLEXSER) Miami A very interesting and helpful solution! Long Printer Lines How far can I run a parallel printer cable? /' ve been told that 12 feet is the limit, but I'm in a situation where I really need to run a 25-foot cable. Ernest N. Dotson, Jr. (ENDOTSON) Marmet, West Virginia In most applications parallel printer cables will work fine in lengths up to about 3() feet. Your best bet is to extend such a cable by using a 36-wire male-to-female, 36- pin Amphenol (often incorrectly called Centronics) connector. This assures that all data lines in the extension are separated by grounds. I've heard of people who run parallel cables 50 feet or more without problems, but that is pushing matters and success will vary with the exact circuitry used for the parallel output and input cir- cuits that are joined by such cables. Jameco, of Belmont. California, used to sell a paral- lel cable conditioner specifically designed to make extra long parallel printer cables work more reliably. I believe it incorpo- rated circuitry to buffer the data lines and/ or clean up problems with the data strobe using a Schmitt Trigger circuit. More widely available, albeit more expensive at S150 or so, are pairs of serial-to-parallel/parallel- to-serial converters, that separate your printer from your computer by 100 feet or more by sending the data over a small cable in serial protocol at 19.200 baud or more. This last solution results in slower through- put than a straight parallel cable and could slow things down in graphics-intensive printing situations. Banking Made Eas y Balancing made Simple ! NO More Statement Blues « >>>$20.00 *■ I.J..OO S^H <<< mVEnTDRY niHSTER small Business coileclers,Home finy items! Name & addresses ij_kej; Periodicals Parts lists a u en dors APPROX. 5QOO items per Disk 20,000 item 14 Drives X 5000 >>> S4G.OG wmm + 363.00 S^H <<< Requirements: COCQ3 1 disk for- TO or Monitor StOSS. GRIOGS SSlffit PER RIP 32 VEORS EXPERIENCE B R E M E R. T O N , III R S H I N G T ON 9 8 3 1 1 Quality 0S9 lavtl 2 Soltmri from ColorSystems Specialty Programs H VB mn« f Mramd New! Mike Printed Banners in tne Mulw-vue Environment Features Incluae. 'Pull Down" Menus On-Screen Previewing Two Fonts 21 Built-in Images Image Editor *na Much More/ 512* ma Mouse/ joystick Required Only $20 MPShsl A word Proccessing Oriented Graphics aiell A 'Point end Click' Interface to 111 your Word Processing Neeos Features Include 'Pull Down' MenuS User CustoniraDle WOrkS witn any Editor. Text Formatter 4 Spelling Checker only S22 All Programs Require Multi-Vue Please add S3 for Overseas Shipments NC Residents add 5* Sales Tax GaTes Pyranid Sol Hair* Variation of tne One Player Cere Cine Reviewer; i« Tne Rainoov OctoDer 1990 1256*1 KnightsBr idg« You n«ve seven Krionts and so does tne Computer Out tne one you COtn move IS cnosen at rancon' 1256k; CoCothallo v ou ire pitted against tn« computer in tne POOulir ooird game Idipted for your Color Computer 3 I 12BK ) CoCoYihtzac Up 10 four pliyers can Dliy Dice Poker it tne same time 1256K. 80 column monitor! All games in full color anc reQulre a mouse or joystick All Games Just 510 eiofi or any 3 for $25 ColorSystems P.O. Box 540 Castle Hayne, NC 28429 (919) 675-1706 (voice) (919) 675-1847 (data) (ownea & opgratea Dy Zack c Sessions! December 1990 THE RAINBOW 69 Disk BASIC/MS-DOS Crossover Can I use 35-traek drives with your program (from the June and July 1986 is- sues) that provides a means of reading and writing ASCII text files from and to an MS- DOS disk on the Color Computer? In that article you also gave an address for Xeno- soft, a company with a product that would read and write alien disks (including Disk BASIC disks) on an MS-DOS machine. I wrote to that address and my letter was returned. Are they still in business? Charles Gable Wayne. New Jersey I'm afraid you must have a 40-track- capable drive to properly read and write MS-DOS disks since MS-DOS has always used all 40 tracks. However, if you are lucky and the file you want to read on the MS-DOS disk is located within the first 35 tracks of the disk, then my program will successfully read and transfer it to CoCo format. Simi- larly I believe that if you first formatted your single-sided MS-DOS disk on an MS- DOS machine (FORMAT IS) and then used my MS-DOS program to write to it, it will work perfectly well as long as you don't try to cram enough files on it to fill more than the first 35 tracks. My FORMAT program that formats an MS- DOS disk on a CoCo will no AT LAS T - AFTER OVER TWO YEARS OF PROGRAMMING... Three C's Projects proudly announces the release of THE POWER STONES OF ARD II The Five Towers of Trafa-Zar A twist of fate has put you inside the stronghold of the evil wizard. Trafa- Zar. Ill prepared and inexperienced, your only hope of survival is to find the Mind Stone, the second of the three great Power Stones. As an apprentice of the great wizard. Niz. you must rely on your magical training, your wits and your cunning as you face the forces of evil that inhabit the towers. This fast paced adventure game is really loaded with graphics. You will explore more than 600 rooms and come eye-to-eye with monsters from beyond your imagination. It features an improved, full game save and easy one key command inputs with over FIFTY commands including twenty spells and arrow key movement. It takes two full disks just to hold this much excitement !!! ONLY $25.00 And We Pay Shipping!' Color Computer 3 and one Disk Drive required. N.C. residents add 5% sales tax 'Outside continental U.S. must send $3.00 shipping and handling ARD I : The Quest for the Spirit Stone see review - Rainbow Aug 88 TtlQEF, Cd PROJECT S send check or M.O. to: Three C's Projects, P.O. Box 1323, Hamlet, NC 28345, (919) 582-5121 doubt fail if used with a 35-track drive. Xenosoft, I am happy to say, is still in business and moved to newer and bigger quarters a few months after my article was written. There were some serious problems with mail forwarding due to errors made by his local Post Office, the proprietor tells me. Xenosoft has been steadily adding support for more and more alien formats to Xenocopy, which now permits a PC com- patible to read and write disks from over300 different types of alien computers (OS-9 is currently not supported). Their new ad- dress is 2210 Sixth St., Berkeley, CA 94710. Of LaserJets and DeskJets We've seen IIP DeskJet printers adver- tised for as little as $350 and HP LaserJet printers for under $900. Can either of these be used with the Color Computer? Should one consider getting them instead of a 24- pin dot matrix printer? Bill Condie (DESKMAN) Manhattan. New York David Francis Austin, Texas I've heard from several CoCo users who use the HP DeskJet ink-jet printer and are very pleased with it. At $350, one should seriously consider it when compared to the more expensive (S300 and up) 24-pin print- ers. Note that the DeskJet and laser printers take paper one sheet at a time and may not be suitable for some label and forms printing appli- cations. Additionally, unlike impact print- ers, they cannot handle multiple-form copies at once. But as prices on these come down, they are be- coming attractive al- ternatives to higher- end, NLQ dot-matrix printers. The DeskJet can (with an optional cartridge) be set up to emulate Epson print- ers, which makes it instantly compatible with a wide range of software. I also saw the HP LaserJet II driven by the CoCo- based Microworks video digitizer at one RAlNBOWfest a long P $18.00 time ago. LaserJet printers require com- plex escape sequences to select fonts and no CoCo word processor programs are set up to conveniently use all of their power. But you can use a minimum of their fea- tures and fonts with most existing pro- grams if you are patient about defining appropriate macros for embedded control characters. In Search of RFI Is there a way to disable the TV output of the CoCo 3, thereby reducing RF interfer- ence when using a monitor? James H. DeStafeno Wyoming. Delaware You can disable the RF output by either entirely desoldering the RF modulator box or by cutting the power trace that goes to it under the PC board. I do not recommend this. I think if you do this you will discover that the RFI you seek to eliminate is still present. You see, most if not all, of the RFI from the CoCo comes from transmission from the main computer board and not from the RF modulator. One Cart Short In attempting to perform the CART inter - rupl-strapping procedure that you described in one of your articles, I discovered what may be a simpler way to get the same result in the 26-3124 (new style, smaller) Multi- Pak. You can get at Pin 8 of the 40-pin sockets at the low ends of the four pull-up resistors (R3 through R6). Short these to- gether at their low ends and the strapping is accomplished without having to take out the main motherboard or remove the ground-plane sheet. Jim Harrison San Diego That sounds excellent. Thank you for the tip. Your technical questions are wel- comed. Please address them to CoCo Consultations, the rainbow, p. o. Box ms, Prospect, KY 40059. We reserve the right to publish only questions of general interest and to edit for brevity and clarity. Due to the large volume of mail we receive, we are unable to answer letters individually. Questions can also be sent to Marty through the Delphi CoCo sic. From the CoCo sig> prompt, pick Rainbow Maga- zine Services. Then at the rainbow> prompt, type ask (for Ask the Experts) to arrive at the experts> prompt , where you can select the "CoCo Consultations"online form, which has complete instructions. 70 THE RAINBOW December 1990 Color Computer Software ) CBASIC Editor/Compiler The ULTIMATE Color Computer I Basic Compiler!!! II you want to write last machine language programs but you don't want to spend the next lew years trying to write them in Assembly Language , then CBASIC Is the answerlll CBASIC is the only fully integrated Basic Compiler and program editing system available lor the Color Computer. It will allow you to lake lull advantage of all the capabilities available in your color computer without having to spend years trying to learn assembly language programming. CBASIC allows you to create, edit and convert programs Irom a language you are already familiar with Extended Disk Color Basic, Into last efficient machine language programs easily and quickly. 'The most complete Editor/Compiler I have seen lor the CoCo...--The RAINBOWUarch 1986 CBASIC is a powerful tool for the Beginner as well as the Advanced Basic or M.L. programmer CBASIC features well over 150 compiled Basic Commands and Functions that lully support Disk Sequential and Direct access files, Tape, Printer and Screen I/O. CBASIC supports ALL Ihe High and Low Resolution Graphics, Sound, Play and String Operations available in Enhanced Color Basic, including Graphics H/GET, H/PUT, PLAY and H/DRAW, all with 99% syntax compatibility. Specify Coco 1, 2 or 3 Disk $149.00 fOIMTTII OUTfUT/IIESSSiH Uindow Uriter i Flirt m/Cliit Hri Frxtnm fy.'l/i Uindoi Uritir is our litiit provu for U» IMW "'«" Opwilinj Sjstii, it ofliri en icriin disilH of lota, llihe l lPj'fliriri, !»>">"•»' irt smstriit chiracur displiys ill i» j-jsti (>*d Mi «ith lillli or no Wort on tw ustrs pirl Uinta flistfr It IM Wis Color CwiiUr Uo'« Pritissor tnil supports fullv juitUirf print ir. huh nilito proportior.it printer fonts tor rtir lypfsit *iility output. Its point ml diet inttrlict litis it supli to usi. ind its tittnsivl forilttint CIPlbilitiM lllf it POWrful enoujh for rwen tht lost sophislicitU .'.:■ Window Master V3.0 Decemb er Specials Window Master and Writer... .$99.00 Adv. Pgm Guide and DA Pak...$49.00 Font/Icon Editors & Memory Game $19.95 Edt/Asm III and The Source...$89.00 CBASIC Editor/Compiler $1 25.00 51 2 K Only $99 Give your COCO 3 all the power it deserves with this easy to install (no soldering/plug in) 100% Tandy compatible 512K memory upgrade. Completely assembled and tested. Includes Ramdisk & Memory Test soltware described below. $99 or 51 2K ♦ Window Master $149 Co Co 3 Turbo Charger Turbo Charge your 512k Coco 3 with this ALL Machine Language program that will run your machine at double speed all the time even for floppy disk access and give you 2 ULTRA High Speed Ram Disks. It's Reset protected so it won't disappear like other Ramdisk programs. You also get a 512K memory tester program, it performs several bit tests as well as an address test. Requires 51 2K & DISK $19.95 The Ultimate User Friendly Point & Click operating enviornment for your Coco 3. Simple enough even lor children to use, just point and click to run programs, select tiles, do disk or lile maintenance or almost any task you currently do by typing commands. You also get things like a print spooler, Programmable Function Keys, a Buflered Keyboard, Ramdisk, Serial I/O port and Deluxe Pak support along with Windows, Icons, Buttons, Pull Down Menus, Edit Fields and Mouse functions all in one program. It has multiple fonts in 54 possible sizes and styles, Enhanced Basic Editing and much much more. It add over 50 commands and Functions to Basic to lully support the Point & Click System without the need lor OS9. "..It otters so many features thatltlsprobably underprlced. Irecommend this software toall CoCo3 owners." -The Rainbow Feburary 1 989 It is completely compatible with existing Basic programs and takes absolutely no memory away from basic. It requires 1 Disk Drive, R.S. hires Interface & Joystick or Mouse. Includes 128 & 512K versions lor only $69.95. Window - Ware Window Writer- A point & click Word Processor, leatures both Mouse & Keyboard type editing, proportional printer support, powerful formatting capability, works with any printer. On screen Italic, bold etc. WYSIWYG "Window Y/riter is a powerful wordprocessor that Is fun to use, very user friendly The Enviornment compares favorably to that of Microsoft Windows " ■ RAINBOW Dec. 1989 Requires Window Master & 51 2K - $59.95 Window Writer/W - same as above lor non Window Master owners, 512K & Disk $79.95 Window Basle Compiler -similar to CBASIC only it compiles all the Window Basic Statements I o create super last Machine Language programs & Desk Accessories. $99.00 Window Edt/Asm - A full featured Editor & Assembler lor Window Master. $49.95 Font/Icon Editors - A utility disk with the Font & Icon Editors to create or edit your own, includes Basic & M.L. versions $19.95 Advanced Programmers Guide - A guide lor Basic & M.L. programmers on interlacing to Window Masters complete system including System Calls, Memory Map, Interrupt handling & Extended Memory Access. $24.95 The Memory game- a point & Click concentration game, lots of fun. $19.95 Desk Accessory Pak - Installs up to 7 resident D.A. programs, including: Font & Icon Editors, Function Keys, Terminal program, Graphics Editor & Calendar and more. $39.95 Data Pack III Plus V1.1 AUTOPILOT end AUTO-LOG Procemaort X-MODEM DIRECT DISK FILE TRANSFER VT.1QO S. VT-52 TERMINAL EMULATION No lost data even at 2400 Baud on the Serial L'O port. 6 Selectable Display Formats, 32/40/64/80 columns ASCII & BINARY disk lile transler via XMODEM. Directly record receive data (Data Logging). VT-100 emulation lor VAX, UNIX and other systems. VT-100/52 cursor keys, position, PF & Alt. Kbd. keys. Programmable Word Length, Parity, Stop Bits Complete Full and Hall Duplex operation, Send lull 128 character sel Irom Keyboard . Complete Editor, Insert, Delete, Change or Add . 9 Variable length, Programmable Macro Key buffers. Programmable Printer rates Irom 110 to 9600 Baud. Send Files Irom the Bulfer, Macro Key Bullets or Disk. Display on Screen or Prinl the contents ol the Butler. Freeze Display & Review Information On line . Built in Command Menu (Help) Display. Supports: Modem-Pak & Deluxe Pak or Serial Port. Specify Coco 1, 2, 3 Disk $49.95 "The Source" The SOURCE will allow you to easily and quickly Disassemble machine language programs directly from disk and generate beautilul, Assembler Source Code. And ■ The Source" has all the features and functions you are looking lor in a Disassembler . • Automatic Label generation. • Allows specifying FCB, FCC and FDB areas. • Disassembles programs directly Irom Disk. • Automatically locates addresses. ■ Output listing to the Printer, Screen or both. • Generates Assembler source directly to disk. • Built in Hex/ASCII dump/display. • 8 Selectable Display formats 32/40/60/80. • Built in Disk Directory and Kill file commands. • Menu display with single key commands. ' Written in Ultra last machine language. Specify Coco 1, 2 or 3 Disk $49.95 EDT/ASM III EDT/ASM III is a Disk based co-resident Text Editor & Assembler. It is designed to take advantage ol the new features ol the COCO 3. It has 8 Display lormats Irom 32/40/64/80 columns. The disk also contains a free standing ML Debug Monitor. EDT/ASM III has Ihe most powerful, easy to use Text Editor available in and Editor/Assembler package lor the Color Computer. " Local and Global string search and/or replace. • Full Screen line editing. " Load and Save standard ASCII formatted files. • Block Moce & Copy, Insert. Delete, Overtype. • Create and Edit files larger than memory. The Assembler leatures include: • Conditional ll/Then/Else assembly. ■ Disk Library files up to 9 levels deep. • Supports standard Motorola directives. • Allows multiple values in FCB/FDB directives. • Allows assembly Irom Buller, Disk or both. Specify Coco 1, 2 or 3 Disk $59.95 To order products by mall, send check or money order tor the amouni ot purchase, plus o>4.00 lor shipping & handling to the address below. To order by VISA, MASTERCARD or COO call us at 1.800-383-3529 (Monday thru Saturday, 8am 10 5pm PST). CER-COMP Ltd. 5566 Ricochet Avenue Las Vegas, Nevada 89110 1-800-383-8529 Still pounding away at that keyboard? Save Time and Money with a Combination Subscription! SAVE up to 19°/85THEN370 200 A-V/57. 29577951 210 H-150:X-160:Y-182 220 HLINE(X.Y)-(X+H*C0S(A).Y).PS ET:HLINE-(X+H*COS(A).Y-H*SIN(A)) .PSET:HLINE-(X.Y).PSET 230 HPRINT(19.22)."A" 240 HPRINT(INT((X+8+H*C0S(A))/8) ,22)."B" 250 HPRINT(INT((X+H*C0S(A))/8).I NT((Y-6-H*SIN(A))/8))."C" 260 HPRINT(INT((X+(H*C0S(A)/2))/ 8).23)."c" 270 HPRINT(INT((X+8+H*C0S(A))/8) .INT((Y-(H*SIN(A)/2))/8))."a" 280 HPRINT(INT((X+(H*C0S(A)/2))/ marked A, B and C. Their opposite sides are marked a. b and c. Line 220 draws the triangle and lines 230 through 280 put the letters on the angles and sides. The sine, cosine and tangent functions of the angle (A) and the lengths of the sides are printed on the screen. Press any key to clear the screen for the next angle. The program was written for an RGB monitor (Line 30) but it should work on a CMP monitor if you change Line 30 to read PALETTE CMP. Although I am not certain what the color display will be with this change. 8).INT((Y-8-(H*SIN(A)/2))/8))."b 290 HPRINT(0.5)."SIN(A) -"+LEFT$ (STR$(SIN(A)),6) 300 HPRINT(0.7)."COS(A) -"+LEFT$ (STR$(C0S(A)).6) 310 HPRINT(0.9)."TAN(A) -"+LEFTJ (STR$(TAN(A)).8) 320 HPRINTC0.il) $(H*SIN(A)).8) 330 HPRINTC0.13) 340 HPRINTC0.15) $(H*C0S(A)).8) 350 HPRINT(0. 17). "Press any key. •a -"+LEFT$(STR •b - 150" "c -"+LEFT$(STR 360 EXEC44539:K$-INKEY$ 370 HCLS8:GOTO60 380 POKE65496.0:CLS:END <«\ <* Model 1 01 $37.95 (1 01 P $43.45) Serial to Parallel Printer Interface * Works with any COCO * Compatible with "Centronics" Parallel Input Printers * Just turn the knob to select any one ot 6 baud rates 300-9600 * Comes complete with cables to connect to your printer and computer * Can be powered by most printers Model 1 04 $46.95 (1 04P $53.95) with "Modem Switch" * Same features as 101 Plus * Built in Serial Port tor your Modem or other serial device * Switch between Serial Output and Parallel Output All items covered by a 1 year warranty SAVE $2 PER ITEM BY SENDING CHECK OR MO WITH YOUR ORDER Some ot the Printers That Can - Supply power tor the 1 01 and 1 04 are Radio Shack. Star, Okidala. Brother. Juki, and Smith Corona Some of the Printers That Cannot - Supply power lor the interfaces are Epson, Seikosha. Panasonic. Silver Reed and NEC. II your pnnter cannot supply power to the interface you can order your interface with the "P" option or you can supply your own AC adapter We recommend the Radio Shack 273- 1431 AC adapter with a 274-328 connector adapter * Free Shipping in the USA (except AK and HI) on all orders over S50 * On orders under S50 please add S2 50 lor shipping and handling * OrdersshippedinU.S A and Canada only You Can Pay By: * VISA or MasterCard * Or send check or money order payable in US lunds. and deduct S2 per item * Ohio customers add 6°o sales tax Metric Industries Inc. P.O. Box 42396 Cincinnati, OH 45242 (513)677-0796 December 1990 THE RAINBOW 73 Miscellaneous CoCo 1.2&3 T&D Software's Cassette #93 T&D Software's Cassette »93 packs a variety of programs for work and play. There are 10 programs altogether; four arcade-type games, three databases, two quizzes and one text adventure. Of the four arcade-type games, two of them. Invaders and Doctor Who3, are space invaders shoot'em up games that require a joystick. With Invaders you are moving across the bottom of the screen, shooting at and dodging rows of moving blocks firing at you. Doctor Who3 has you in the air sailing between a moving, shooting laser beam while individual spaceships crash into you. The third game. Drop Pack, is a Tetris- type game that requires you to rotate differ- ent shaped pieces to fill a wall. The fourth game is Grabber. It challenges you to gather boxes from eight corners and place them inside eight rooms without being zapped by other faster moving grabbers who ran- domly appear to undo your work and to chase you. The most entertaining game in my opin- ion is Grabber. This is due in part to its cheerful monkey-grinding music that keeps your shoulders bouncing in sync with the little grabber on screen (at least mine did). The three database programs, Mr. Movie, BabySitter and CoCo3 Recipe Machine. store information for easy recordkeeping. Mr. Movie files the specifics for the home- video movie maker who can't remember which tape he put Aunt Sarah's 94th birth- day party on. For easy access the program records specifically where on the tape that rare footage is squeezed. BabySitter keeps a list of clients, their addresses, phone numbers, kids' names (they're numbered for easy memorization) and pay rate. It then adds your total income to date for each individual client. It gives the business of babysitting a professional flair. The CoCo3 Recipe Machine catego- rizes each recipe and lets you conveniently look for and print copies of recipes for connoisseurs awed by your feats in the kitchen. If you're stingy about sharing your secrets, and feeling a tad bit sly, use the Edit feature todelete one of the recipe's ingredi- ents before printing it. Of course, you may be choosing Uncle Joe's Underground Baked Beans over your best friend. I suppose if you don't make home movies, babysit or cook in any great capacity, the database programs may not prove to be much of an organizational timesaver. However, the babysitting program is a good way to record your earnings for tax pur- poses if you have a large amount of this work and an unswerving loyalty to Uncle Sam. All three programs let you print and save to disk. You can save Mr. Movie data to tape. Time for two quizzes. How well-versed are you in Bible scriptures? OK, then iden- tify the following quote: "Pride cometh before a fall." If you can name the book, chapter and verse, you might be able to handle the brutally tough Bible Scripture quiz program. It's demanding, but have faith and remember that even if you miss all 53 questions, God is merciful. Just humbly move on to the vocabulary quiz. Now, how well-versed are you in the English language? Do you consider your- self to be a glib, recapitulating charlatan or a vociferous braggadocio? I hope neither because one's a smooth-talking quack and the other is a loud-mouthed braggart. Just checking. Anyway, you can be either and still take this vocabulary quiz that includes up to 100 questions. Vocab is fun if you enjoy learning new words. Its one short- coming is that there aren't enough ques- tions and aftera short while there is nothing new to leam. Silvcrcape is Cassette #W's only text adventure. It takes you on a journey to find the lost Lord Silvercape who's been cursed by an evil witch. Most of the adventure takes place inside a castle where death awaits behind uncertain doors. Open one of these and it's back to the drawing board. There are four windows above the text; one for directions, one with graphics showing where you are. one that tells you what items are in the room and one that tells you what items you are carrying. The adventure moves along at a good pace, the riddles and anec- dotes are not overly difficult and the graph- ics window helps you remember your way around, although parts of it you should map along the way. Silvercape would be enter- taining for hours if it had a Save feature. After going through every passage, curse, guard and dragon, you might suddenly find yourself back in the death chamber, which may cause you to put the game away for a week or so. T&D Software gives you a lot for your money. Even if you have no use for the database programs, couldn't care less about broadening your vocabulary and feel that Bible-scripture computer drills somehow detract from the intimacy of such a book, the arcade games and text adventure alone are well worth the price. These programs are designed for beginners, and they come with brief, simple instructions. (T&D Software, 2490 Miles Standish Drive, Holland, MI 49424; 616-399-9648; $8) — Kellv Goff Utility OS-9 The Goldberg Utilities As most CoCo users know, OS-9 is a powerful and flexible operating system loosely based on the Unix operating system from Bell Labs. In addition to the obvious differences in hardware, there are also fundamental differences in the way the two operating systems are used. The OS-9 sys- tem comes with approximately 30 utilities, many designed to be used as stand-alone programs. An average Unix installation, on the other hand, comes with several hundred small utility programs. Many of these are not especially useful when used alone, but can be combined with other small pro- grams to do very complex tasks. Since the early days of OS-9 for the CoCo, Stephen Goldberg has been writing small, useful utilities and filters. Some have appeared in THE rainbow, usually in Dale Puckett ' s "Kissable OS-9" column. The best of the Goldberg utilities are now available in two volumes from Kenneth-Leigh En- terprises. Each program is small, fast and well crafted. Individually, only a few of these programs would make the average 74 THE RAINBOW December 1 990 os-9 user take notice. But together. The Goldberg Utilities form a sort of tool kit for OS-9. The small programs can be combined using OS-9 pipes to perform some truly amazing feats. Since The Goldberg Utili- ties are available in two volumes, I will treat them separately. But I recommend the purchase of these volumes as a set rather than the purchase of one single volume. The first volume contains 13 programs. Some are simple in both concept and use. These include cl s that clears the screen and val , a decimal-hex-binary base converter. There are also a couple of programs de- signed to stand alone and perform useful tasks. The first of these programs are named pk and unpk. pk is used to pack text files to save space, and unpk unpacks them when needed. Another program in this group is unl oad, which easily removes modules from memory. Also included is an enhanced version of copy. The enhanced version's biggest advantage over the standard ver- sion is that it allows for prompted overwrit- ing of existing files with the same name as the one you are copying. It can also use a large buffer to speed the copy process, especially during single-drive copying. Finally there is append. This program func- tions as a combination of the standard OS-9 utilities bui 1 d and merge, append can cre- ate text files, add to the end of text files and combine two text files by adding one to the other. The rest of the programs can be used alone or with other programs to form new tools. These are some of the most interest- ing programs in the group, count is a small program that counts lines, words and char- acters. It has options to count any combina- tion of these based on the command line parameters entered. Although count can be used to work on groups of files, it is most successful when used on a single file. The same can be said about the programs head and tall. These programs allow you to look at either the first or last lines of a text file, head is especially useful when I need to peek at a file to remind me of its contents. The output of tan can vary based on the command line parameters. It can either be the whole file minus the first n lines or just the last n lines. The programs upper and 1 ower convert files to all upper- or lower- case text. This can be useful for files cre- ated all in uppercase like bulletin board files. The sort utility is an in-memory sorter that takes its input from the standard input path and sends its output to the stan- dard output path. This makes it most func- Free Disk-ZAP with any purchase! VIP Software for the CoCo 3 VIP Writer III includes VIP Speller $79.95 VIP Calc III $69.95 VIP Database III $69.95 VIP Library /WDCE $179.95 Upgrade Writer to Writer III $49.95 Upgrade Calc to Calc III $29.95 Upgrade Database to Database III. ...$39.95 Upgrade Library to Library /WDCE.. ..$99.95 VIP Software for ALL CoCos VIP Writer includes VIP Speller $69.95 VIP Calc $59.95 VIP Database $49.95 VIP Disk-Zap $29.95 VIP Integrated Library $149.95 Upgrade any VIP pgm to VIP Library $99.95 Upgrading? Send disk only + amount + S/H See our January ad for product descriptions. VISA M/C SD Enterprises info line (805) 566-1317 P. O. Box 621 Carpinteria Ca 93013 VIP Library orders add $4 S/H USA, $5 Canada & $10 Foreign Other orders add $3 S/H in USA, $4 Canada, $6 Foreign. COD orders add an additional $2.75. Checks allow 3 weeks lor delivery. Calif, res. add 61/4 % tax. Classic Solitaire Klondike • Pyramid • Canfield Play these classic favorites in 16 color high-res graphics 128KCoCo3 One Disk Drive Joystick $14.95 La Belle Lucie Solitaire This solitaire is not for the faint of heart! Hoyle rules. 128KCoCo3 One Disk Drive Joystick $14.95 7o n i v Arcade Color graphics. 32 levels of play. Z.eniX Awesome speed. Sound. Tazman (CoCo3)(requires OS9/1I & 512K) $24.95 Armchair Admiral (CoCo3) $14.95 Riddle of the Ring (CoCo3/CoCo2) $10.00 Games Pack I (CoCo3/CoCo2) $10.00 Zenix Demo Disk (CoCo3) : FREE Buy 2 Get 1 FREE! Buy two programs and receive a third of equal or lessor value for FREE! Offer expires Dec. 31 , 1 990. Checks. Money Orders, MasterCard & Visa $2.00 S&H. COD additional $2.00. WA a ddresses add 8.1% sales tax. 30 day money back guarantee (206) 653-5263 Eversoft Games, Ltd P.O. Box 3354 Arlington, Wa 98223 10am - 6pm PST December 1990 THE RAINBOW 75 tional when used as a filter along with other programs. Another Unix-style utility in volume one is g rep. The Unix version is unbelieva- bly powerful, but difficult to use with many of its options. Goldberg's version of grep finds expressions in files. It also has op- tions that allow case-specific matches, and the output can be numbered or totaled several ways. This one will take some time to master, but the results are well worth the effort. I did not immediately appreciate the program named zcopy since I usually use another utility to do the same thing. This utility copies multiple files from one direc- tory to another. It accepts a list of files to copy as standard input and since the file- names are not changed requires only the name of the destination directory for out- put. When used in conjunction with d, -copy is an excellent tool for organizing messy directories. The most useful program of the group is the directory lister, d. Unlike dir, d dis- plays one filename per line and can serve as the first program in a pipe. It can accept wildcards to display certain fi les. It can also suppress those files. This is more difficult to describe than to use. Forexample the line d *.ba? produces a list of all files that end in .ba plus one character, such as tempf i 1 e . bas and newf i 1 e . bak. Adding a - to the filename descriptor causes d to produce a list of all files except these. Used alone d is not a real powerhouse, but when used to supply names to other utilities through pipes it is indispensable. Volume Two consists of 12 more utili- ties that are just as useful as those in Vol- ume One. The easiest to use are code and crypt, code prints ASCII codes of input characters and crypt encrypts or decrypts files for security, dsort permanently sorts the filenames in a directory. There is also an improved version of del that accepts filenames as standard input and doesn't abort on an error. Another enhanced ver- sion of an OS-9 utility is 1 ist, which also accepts filenames as standard input and numbers output. The enhanced version of dump adds options to read files in the execu- tion directory or dumps memory modules. Finally, the version of s a ve is either new or enhanced based on your version of OS-9. Level II does not include a save utility. The Goldberg version has much better error handling capabilities than the Microware version which, in my opinion, makes it a better tool. New utilities in Volume Two include mv and prep, mv copies a file to a new location and deletes the original, prep splits input into one word per line and converts each to lower case. Also included is comm which compares two files line-by-line and then displays the results in column format. Output format is controlled by command line para- meters. The stri p utility removes charac- ters from each input line according to command line parameters. It can remove the beginning or the ending of a line as well as all characters aftera specified location in the line. It is also useful when removing excess information from tabular files and the left margin from formatted text files. The power utility of Volume Two has to be rep, which allows you to repeat a com- mand. The main advantage of rep is that it can repeat an operation that was not origi- nally designed to be repeated. It provides increased flexibility by using a clever argu- ment substitution system that works with other programs that cannot accept multiple input. These descriptions are necessarily in- complete but give an overview of The Goldberg Utilities. The power of these programs is in their ability to work to- gether. For added speed several of these utilities can be combined to accomplish the same amount of work in less time. The utilities are relatively small and can be kept in memory, which makes them faster and even more useful. Each volume comes on a single disk and includes adequate instruc- tions with examples for each program. An appendix explains the most effective ways of combining separate programs into memory-efficient groups that can be loaded into memory and linked to make them a permanent part of your system. These packages go a long way in making OS-9 similar in style to the Unix environment and making you more productive. I really enjoyed testing and messing around with The Goldberg Utilities. I find them useful, fast, expertly crafted and well-designed. I highly recommend them to anyone using OS-9, Level I or Level II. (Kenneth-Leigh Enterprises, 1840 Biltmore Street nw, #io, Washington, DC 20009; 202-462-1210; each volume $24.95 plus $2.50 S/H) — Don McGarry Game CoCo3 The Entity The Entity is a new action-adventure game by Mike Snyder that will make you miss the simple days of earlier computer games. As a player, you become a bodiless alien life-form whose purpose is to perform 1 good deeds in a large American city. The number of guesses available at the proper verb/noun combinations is extremely lim- ited and you will have to re-start the game approximately every 20 moves. It is irritat- ing to be unable to perform your assigned deeds. Irritation became frustration and soon I was tapping the CoCo keys with a bit more insistence. Veteran adventurers will probably over- look the above mentioned irritations and finish the game in just a few hours. Less patient players who like to break and list a game to follow a programmer's logic will have the added irritation of breaking oui the disassembler to unscramble this game's machine language. % " " " rt . »-.*.*• 1 1. I !<.*■.» •v^r i.r«*. \b, «l...i fo ir. i.«t .« i). ..»._..« Co * i*ll fcv*t«>(.9. thm ..Ir I . I l • t • C »■•«' IM» » * • . •« Moor* r»««» toy*! hcrti -ni t. . l T •- « - - .1 .1 !• CI T> • '•(1*1 •i.-fO ■* h»r • r<.tn *-*- Htw rNrr» cliftti in. * %•% <-.«? « «nn'iM tftlrn • f ^ r l r f The introductory graphics are nicely displayed and reflect the time and attention given to the aesthetic content of this pack- age. The white-on-black text is easy to read despite a few grammatical and spelling errors. Each screen is loaded separately from the disk drive (a drive is required for The Entity.) This slows the game slightly, but response time to player's input is very quick. This may be due to an obviously short verb/noun list. I strongly recommend the use of a map after your first few experimental adven- tures. The game counts your moves and records your score. You are awarded 10 points for each successfully completed good deed. Moves must be made very carefully to avoid the ominous Play Again? screen. To display your total points and number of moves used, enter SCORE. Note that this is counted as a move and is probably a waste of your time. STATUS is a command unique to The Entity. STATUS describes the body you currently inhabit. However, the use of this command counts against you as a move and should be avoided once all of the differ- ent bodies in the game have been memo- rized. Finding good deeds to perform is less difficult than finding an order in which to accomplish them without reaching the 20 moves-per-game maximum. EXA (examine) and SEA (search) are useless in the various cells. SPE (speak) is not helpful either. This challenging game can often be quite lonely. But persistence is 76 THE RAINBOW December 1990 rewarded with a nice congratulatory graph- ics display. The Entity could be improved in many ways. First of all. the move number and score should be displayed on each input. An updated version of the screen should be shown after each move to reflect the changes made during play. I would eliminate the unnecessary wasting of moves. For ex- ample, it should not count as a move to look at a newly created scene. I also suggest the author consult a dictionary to correct the grammatical and spelling errors that exist. I am not an enforcer of proper English etiquette, but mistakes such as these can be very difficult to decipher. It is not always immediately clear whether an unaccepted command is really wrong or simply the result of poor grammar and improper spell- ing. Even though author error might be a good alibi when explaining a loss, it leads to massive confusion for the gameplayer. The Entity is a virtually bug-free pro- gram from Biware Enterprises. In all the hours my children and I spent muttering over this exasperating little gem, it did not crash. As is characteristic of games that operate on three letter input. I received some strange responses to my commands. For example, OPE might be interpreted as either "operate" or "open." And LEA as "lean" or "leave." I will not discuss the correlation be- tween the package cost and the satisfaction of playing the game. I will instead leave that up to individual analysis. (Biware Enterprises, c/o Kandi Stinson, BOX 265, Allen, OK 74825, 405-857-9932; $18) — Mike Shav Utility CoCo 1 . 2 & 3 CllILettrex Many CoCo and other computer users have printers that produce only draft-qual- ity print. There are thousands of printers still being used that have no built-in Near Letter Quality (NLQ) mode. This makes it difficult for computer users to make pres- entation-quality printouts of text files. Rather than investing in a new printer, CoCo users may now obtain NLQ without the cost. Clll Lettrex is a program that reads an ASCII text file from any CoCo word processor and converts the printout to NLQ text in any one of 14 nlq fonts. There are a few things you will need besides an Epson or Epson-com- patible printer. You*ll need a CoCo with 64K or more memory, a mouse or joystick, and a disk drive. Two disk drives will speed operation. Clll Lettrex can also be of value to users with printers supporting NLQ fonts, such as Star NX- 1 000, who want more and /or different fonts. Clll Lettrex is easy to use and well- designed. The program functions as a filter for ASCII text. I tested the program on an NX-1000R printer. It performed well and printed quality text samples in the different fonts. In fact, the fonts were sharper and clearer than the manual portrayed. One thing that Coless Computer Design might consider is higher-quality printing and copying for their own manuals. When the program begins, you are greeted with an opening screen and three point-and-shoot pull-down menus. Pick a baud for your primer, a font and a pitch. Then load a file and print it. This entire operation takes about as long as reading this paragraph. Once the font and baud have been set, there is no need to re-set them unless it becomes necessary due to the length of time you are in the program. the Rulaford Research BBS Ys»y'S/£ — ^e^ EE -\ — c s >:x///,r7 y — ? — i- ■4 \ V 'V*^ ^ — -n^ — ■=: — ^ _ Introducing a new M/D/ Music BBSi Use your computer, a terminal program, and a modem to communicate with other users nationwide Download public domain programs for the CoCo and IBM Try out new music programs by downloading demos Order products on-line Set your modem for 300, 1200, or 2400 baud, 8 bits, no parity (call (61 9) 690-3648 if you need assistance) No connect fee! " v - ■' Ca/i (6i9) 662-2428 today.' \ \ December 1990 THE RAINBOW 77 One feature that I really liked was the demo file. This is a 2'/:-line file that allows you to see what your text will look like in the font you have chosen. If you like what you see. select Print with the mouse and the font loads and prints. Press E to abort printing. P to pause printing and C to con- tinue printing after a pause. The program automatically senses whether or not your printer is online. If your printer is not online, click on the file box and repeat the procedure from (he beginning. Also, there is good error trapping that will give you a big error box displaying an appropriate message and return you to the main screen. So if you forgot to put a disk in, or format it, or left the drive door open, or typed the wrong file name, you can quickly recover. This is a very useful feature. The documentation that accompanies Clll Letirex is 24 pages long and has 18 figures to assist programming needs. There are also several font tables for font size and estimation of characters-per-Iine. The only complaint I have is the quality of the print in the manual itself. If you have a word processor that leaves its control codes visible, your document will not print correctly. You must hide the control codes so they are not visible on the screen. Your files will then print in the prescribed order. This is a package that is well worth the required investment. (Coless Computer Design, 1917 Madera St., #8, Waukesha, vvi 53186; 414-549-0750; $24.95 plus $3 S/H) — Jeffrey Parker Desktop Publishing CoCo3 CHI Pages Enhanced Version 2.0 I recently had the pleasure of stacking some pretty exciting CoCo desktop pub- lishing packages against one another in an article for THE RAINBOW (May 1989). If Clll Pages Enhanced had been part of that ar- ticle, it would have received some high marks in certain areas and low marks in other areas. Then in February 1990. Jim Issel, a noted RAINBOW reviewer, looked at the original Clll Pages. He was not entirely thrilled by it. Many of his comments about the program produced responses by the program's author. Walter Bayer of Coless Computer Design. Walter took the com- ments to heart, and in less than six months he had completely rewritten several of the more criticized features of his program for an enhanced version. These enhancements and other improvements to this program are the focus of this review. Clll Pages is a full-featured desktop publishing package for the CoCo 3. Like its predecessors, Clll Pages attempts to put as many different features as possible on the same screen simultaneously. At the same time, it relies on a wimp (Windows. Icons. Mouse and Pull-down menus) environment to acquaint users with creating and editing. cm Pages operates with either 1 28K or 5 1 2K , though limited to one and three pages of editing respectively. All these tools in one place is good, but even with the required Tandy High Resolution Joystick Interface and a mouse, the left column is so crowded that you can often accidentally click on the wrong icon even if you are pointing at the right one. After a period of adjustment. I could work with these newly enhanced features. Probably the most important upgrade to the package is its speed and smoothness of operation. With Version 2.0 the speed is dramatically improved. A hefty rotation or horizontal flip has been reduced from a several-minute wail to one of several sec- onds. Another enhancement is the require- ment that the user choose the appropriate printer baud from within the program. This must be done when the program is first started. The manual has grown from 68 to 83 pages. The package now contains a sepa- rate reference card that is very useful. The text still has grammatical errors and is rigorous in places, but the overall quality has improved. The font, as well as the quality of printing and reproduction make the manual appear "muddy" and unclear. The edges of the letters are poorly defined making the text difficult to read. The manual was printed with Clll Pages, but is not an accurate representation of the quality print produced by the program. Clll Pages is now distributed on two double-sided, double- density disks. Both sides of each disk must be backed up before the program can be used. Printer support has remained the same and the Undo function is still limited. If you use the Invert Box feature, the only way to undo it is to exactly match the size with the Invert Box feature. It seems as though there should be a better way to do this. The Text pull-down menu has been replaced with a Graph pull-down for clip-art and picture files. The Text feature is still slow, and if you go too fast, you lose characters. The user interface takes some getting used to. but is workable. Once an action on a panel has been completed, there is more than one way to get your frame back. The WIMP environment usually negates the ne- cessity of having to read the manual, but with Clll Pages you must read the book first. The program comes with more than 15 fonts, dozens of clip art images as well as enough unique graphics and text-import features to make it a strong contender in the CoCo desktop publishing market. What Clll Pages lacks in finesse, it makes up for • HI Pages is a ful I -featured desktop publishing package for the CoCo 3. With Version 2.0 the speed is dramatically improved. in muscle and brawn. Jim Issel said the program fills a gap in CoCo DTP. He also said this gap must be filled. I agree with both of his statements. This is an interest- ing and full-featured product that still needs further streamlining, but it is a good solid value and will get the job done. New to Clll Pages is the Clll Clip An Set 2 package for cm Pages Enhanced Version 2.0. This is an outstanding value. Although Clll Pages is already loaded with clip an. fonts and borders, this set of clip art is excellent in both quality and quantity. There are 672 custom-designed images featured in categories labeled Creatures, Miscel- laneous, RAD Concept, Weird, Symbols and D & D Fantasy. This is my only criti- cism. Each 14-cIip file is labeled with one of the above, but they could be broken into 78 THE RAINBOW December 1990 other themes such as Holiday. Religion, Sports. Business, etc. The accompanying manual provides a printout of each clip-art file to find what you are looking for. If you prefer to use the computer, a file viewer called V 7 is included with each clip-art disk. I was disappointed with the program at first, but when 1 loaded the art and printed it on a Star NX- 1 000 with the standard driver in CM Pages, I was impressed. This is a very good value for clip-art and/or CM Pages Enhanced users. Clip art requires CM Pages Enhanced Version 2.0. Upgrading from Version 1.0 costs S 1 2, and you must return your original system disk and sales slip, cm Pages En- hanced Version 2.0 requires a I28/512K CoCo 3, a High Resolution Joystick Interface, a mouse or joystick, at least one disk drive and an RGB or composite monitor. This package will not work with TV. A mouse and at least two disk drives are recom- mended, as is a printer. Make sure your printer is supported. (Coless Computer Design, 1917 Madera Street #8, Waukesha, WI 53186, 414-549- 0750; CIII Pages V2.0, $49.95 plus $3S/H; OH Clip Art, $19.95 per set plus $3 S/H) — Jeffrey Parker Utility OS-9 Level Planet Engine Version 1.1 Planet Engine Version l.l is an OS-9 Level II program with graphics to show the planets, stars and constellations. This pro- gram requires a 5 1 2K CoCo 3 and OS-9 Level II. Mitlti-Vue, a mouse and a color monitor are optional, but recommended. The high- resolution display mode used by this pro- gram makes a monitor desirable. As Planet Engine begins, the screen displays celestial bodies along the ecliptic plane. The ecliptic plane is a band of the sky that includes the section inclined 50 degrees north of the Earth's equator to the section declined 50 degrees south of the equator. The main view shows planets, stars and constellations. A line traces the southern horizon, with the zenith pinpointed by a cross. The relative locations of the various bodies are determined by the time and also your location on Earth. Planet Engine dis- plays stars, planets or constellations. Scroll bars can be used to change the time by hours or days. The program contains three pull-down menus. The first menu provides access to the same features available under the Tandy icon in the Multi-Vue menu. The second menu toggles on or off the display of stars, planets and constellations. You can also change the date and time as well as your location on Earth. The time can range from approximately 32.700 B.C. to 32,700 a.d. And your location can, literally, be anywhere on Earth. The planets' orbits can be viewed in an overlay window. With the third menu you can view each planet in an overlay menu. The only drawback of this program is the lack of detail in the pictures of indi- vidual planets. These views do not fully exercise the CoCo's graphics capabilities. Planet Engine is an extremely easy program to learn. I discovered many of the program's features through experimenta- tion before reading the manual. This pro- gram can be operated with a mouse, but it also accepts keyboard commands. A 13- page manual that accompanies the program is thorough and well-organized. The man- ual takes you through backup and installa- tion. It also gives you a sample question, information on the data displayed and in- structions on using the various program features. Application ideas are included as well. For example, comparing the posi- Nine-Times The first magazine devoted exclusively to OS-9! | Every other month you will receive a disk jam-pocked | with programs and articles all for OS-9. I Each issue contain*: 9 helpful and useful programs to help build your OS-9 library • Instructions, examples, and samples of BasicOQ procedures and subroutines to help with your own programs and your understanding of Basic09 • C programs and programming examples • I'rogram reviews, Hints, Help columns, and Informative articles to advance your knowledge of OS-9 ■ Supplied totally of 5.25" disk ' bound manual sent to each new subscriber for help in getting Nine-Times up and running, as well as tips on using it with a ram disk or hard disk ■ All graphic /Joys tick Interface for case of use. 1-Year Subs, $34.95 Canadian posiagc, add $1.00 Foreign posiagc, add $7.00 Back Issues: Available for the May 1 989 through September 1 990 issues. Please write for information on Back Issue contents. Back Issue, ea. $7.00 Foreign postage, add $1.50 ea. Mliya/jne Source: Due to many inquiries, the source code for the magazine graphic shell Is being provided as an informational tool. Included Is the actual BasicOO source code and compiled modules on disk, as well as documentation and a printed copy of the source code. Source, $24.95 Foreign postage, add $1.50 To order, please send U.S. check or money order to: Technical Assuttanci (2161-758-7694 Sorry, no C.O.D.'a or credit cards: Foreign & Canadian orders, please U.S. checks, allow 3--1 weeks for receipt of first issue/back issue. CapyrUm ICI liH. I'll IM-» 1. ■ tn.Mtr. nt Htcrn.nr* ty.i — ■ Corp. »n« Motor* JVVT Enterprises 5755 Lockwood Blvd. Youngsiown, OH 44512 RAINBOW ctmif CAHOM SOU. U.a money ordar*. Aloha Software Technologies JnS££ data windows l£J& - ITS HERE!!!' ne package tkat all CO«~0 owner* have been looking lor Finally a complete compreh daubw fyilrm for tie COCO. Fvll dalabaae support include* iuci definable fields, multiple key field*, automatic toning {by key Heidi), fait vearchmg, browing, uer definable editing, nvi definable *indo»v Idatahave view*), imporveiport, merge capability, culcopy paste, and even fall report generation auc u»e* 512k OS9 !*>«■! II Remind »*>"*** DISK MANAGER TREE Inovenauie utility make* yo*rOS° life a breeze! No more Hgn Dig with complex directory iiniclure*' No more *e arching for file* and typing long path name*' hverytbiagn.di*ptaycxlBiingwindow»! Allow* you to .huge, create, aad delete directories with tingle key*trr>kci. Abo allow* yon to copy, view and delete Glea i u>i u easily! A m«*t for any OS9 u*et 5 1 2k OS° \\**<\ H Rehired aJ° °5 , LEVEL II TOOLS Without the nghi took OS« d difficult... TV** ARF the right loot*! With these great utililte* inynae can Me OS° like a pro! Complete wildcard. Dee and windowing commands make OS° easy to n»e' if you want to lUrt nting OS , tht* » what you need! If you already use OS°. these tool* will *ave yon hour* of time and headaches! 2S great utililie*. ' "•'■ Level II Required S2«9S _, PRESTO- PARTNER Thai is what vo» have beeo waiting for' Finally RAM RriiJeal *o(tware for your COCO V Runt in the back grvund * hi'*- you do other work' Include* a notepad thai doe* anlomatic a umber calculation*, a calendar with alarm, a phone book dtal can auio-dial your phone, a real time clock and mack, ouch, more! Tnu program will organize your enure life! 512k OS Level II Re quired (llaye* compatible modem required for anto- WaRP -ONE , Finally, a complete OS9 Level II wiodowing terminal program. Many feature* include Auto-dial ck Macro, X* Y modem. ANSI graphic*, buffer capture, on line tuner, chat mode, window*, and mack, micb, more' Perfect for any BBS uierl More power than you'll ever nccd!5l2kOS9 Level 114 RS-232(orCOMM-4> Pak Required 1M 95 , OS» LEVEL II BBS RELEASE 34 Sy*tem come* complete and ready to run. U*e the bndt m menu or create your own. Run your own program* games on bne! Complete niewage lystem included Pile Iraufer lyitem lupporu Xmodem and Ymodcm p|i lomaUr validation with keyword scanning 1 bvr mes with it* own termul program tree! Now include* ANSI graphic* mesa* and editor' See hoard while it .! For aDEMO call (504 »M o .576H-VIZ'2400Baudl. OatactKComflxt game akvo included! 512k OS Level II and RS- 232 (or COMM-I) pak required S2*.«5 COMM-4 ArrEtfnON'!! AHA* Soft**** Tnehnolopa hat inoM up Wtk Coco *wa to bring una the k*0P*»fftn1 COMM 4 port' 4 poru m car tie*.' Tbat'i nnt*. If lo 4 men u oof wn»! Spec* T""- IRQfcnehi ri .-.-■■ .1 i . -.--:-.< ■>.■. line alkwi you to cornea 10 in IRQ back mod Tculry cunewDUe *»! tactrctor/. no asKwl drnw needed! Gwa. (oooku *mfc nef* ■ < :t >..,.-- ibai i "- -• - ■ :-- com- puter* » ■*•** penpoenJ*' A - . for .--. BBS Band A perfect sun* for OW Lewi II BBS COCO > Required r hie eotek ' Inii wonderful utility allow* you to patch anything! Patch command* directly on disk aad fix CRCa automat- cally! Palch Ike OS9 Boot file! Save loit 6ks! Fa cranehd dktb! One me of tha program could be worth Lhepnce' 64k OSQ Level I or II required SW** MULT! - MENU Tku grcal Multi Vue utility allow* you lo easily create your own pop- down menu*! No programming etpenence required, becauie no programming i* done! You *vtfl be able to run any OS9 command or progiam from a menu 1 Meuncreauon n*uper*tmple.iupeteasy Actual ty *ee ike menu a* it develop*- A must fur Multi Vue uien! Make* aon Mulb ■ Vue wlrwarc run under Mulu ■ V„e' 512k OS9 I fvel II A Mulli Vyr RfUBitrd. l\?.9il Alpha Software Technologies I SIM) W) .5 1 70. .one. 210 Bluefiekt Dr. Slide IL LA 764H Plea»c»*) I'OOSJspp.ni* Handhai COO Ordei I1HJ E«r» (5(M1M9-S76I|BBS| December 1990 THE RAINBOW 79 tions of two planets on different dates or viewing the sky from various locations are two suggestions. The disk includes the program and its graphics files, in addition to icon and appli- cation information for Multi-Vue users. The program is not copy-protected and can run from any directory or subdirectory on a hard disk. Since the program is fairly disk- intensive, a RAM disk or hard drive will increase the speed of the graphics. Planer Engine uses the Multi-Vue interface, but can run from the command line in a four color graphics window. Plane! Engine is a well-written pro- gram. The first time I used it. I accidentally failed to copy one of the many data files to my hard drive's subdirectory and the pro- gram still ran flawlessly. The only thing missing was a small section of the sky. As a test I ran the program a few more times with randomly selected data files missing and had the same results. Planet Engine contains a wealth of pic- torial information. It has helped me in locating constellations during observations of the night sky from my yard. It also allows me to watch the movement of constella- tions, planets and stars over a period of time. This program would be an asset to teachers in grades 4-12. amateur astrono- mers or anyone else interested in the cos- mos. For its usefulness and extensive data. Planet Engine is a bargain at S24. (Gravity Studio, Box 791, Belton, TX 76513- 0791 ; $24 plus $2 S/H, $5 S/H outside North America) — Toni Long Book CoCo 1 , 2 & 3 Connecting the CoCo to the Real World Would you like to return an inactive, dust-collecting CoCo to exciting everyday use as a weather station? Why not make your CoCo a central control for a complete in-home burglar alarm system? Or perhaps you are not interested in these ideas, but would like to further expand your knowl- edge on the inner workings of the CoCo and have some fun, too. If any of the above applies to you, then Connecting the CoCo to the Real World by William Barden. Jr. may be just the book for you. For a couple of years now I have enjoyed reading William Barden, Jr.'s column ("Barden's Buffer") in THE RAINBOW, as well as his books on assembly language and graphics for the CoCo. So I was excited about the opportunity to review his latest book. Connecting the CoCo to the Real World. I was only slightly disappointed to discover that a few of the projects in the book are simply transplanted from his monthly column. My disappointment was short-lived, though, as I soon learned that there are enough new projects to keep his fans' interest. The book and its projects are designed with the novice in mind. Knowledge of digital circuits and programming is not required to build, or use, any of these proj- ects. All you really need to know is how to enter and save a program on your CoCo, as well as how to cut and solder wires. If you want to expand or improve any of these projects, though, you will need an under- standing of digital circuits and program- ming with both assembly language and BASIC. After you've read the book and built some of the projects, it may be beneficial to leam even more about digital circuits and programming. One chapter is devoted to the work of the CoCo's analog-to-digital circuitry. Other technical information on the inner work- ings of the CoCo are scattered throughout the book. This information is designed for those who want to learn more about the way in which the projects and the CoCo work in tandem, but it is not necessary to build or operate the projects. Although after build- ing a few projects, your interest and curios- ity may increase enough to pursue a deeper understanding of the more technical as- pects of these projects. The cost of the projects vary, but none are outrageously expensive. All of the projects can be built for less than S20 with average costs ranging from less than S5 to slightly more than $10. These costs do not include a proto-board which is needed for several of the more complicated projects. This is an inexpensive item that can be purchased for about Sio from your local Radio Shack. For those who are familiar with Mr. Barden's column, the book will be easily understood since the projects follow this same style. For those unfamiliar with the Barden style, it can be summed up as the KISS (Keep It Simple Stupid) principle. The instructions are not step-by-step, but they are easy to read and follow. Barden offers suggestions on possible applications and expansions for the completed project. He also encourages exploration of your own ideas. I had a few problems with the book. First of al 1 1 thought it was too short. I also found problems with the first few projects. Not with the projects themselves, but with Mr. Barden's failure to thoroughly explain for- mulas used to help analyze the readings and find resistances. These formulas are given with little explanation of their origin. While it is possible to build and use these projects without this knowledge, further expansion and changes to the projects without this information could be difficult. It may be necessary to do some reverse engineering to discover the origin of the formulas used. Connecting the CoCo to the Real World is a good book that offers some atypical ideas on how to use the CoCo. The book is easy to read and the projects are both useful and fun. If you're not careful, there might even be some learning amidst all the fun. (William Barden, Jr., Box 3568, Mission Viejo, CA 92692, 714-589-8426; $19.95) — Chris Hvde 80 THE RAINBOW December 1990 * tew» 7 Color Printer! RAINBOW NX-1 020 This next generation color printer sets new standards in color printer performance... 225 cps. 4 NLQ fonts including Script, plus a new high speed draft font; but the enhancements don't stop there. Add a 16k buffer, a special quiet mode, top feed, bottom and reartractor, and the list goes on. Seven on-demand colors, 8 color graphics modes, Epson and IBM emulation for maximum software compatibility. Virtually everything desired in a printer is here - speed, color and versatility at an affordable price with a 2 year warranty. OUR PLUG W GO FOR THE COCO SYSTEM INCLUDES: • NX-1 020 Rainbow Multi-Font Printer • Blue Streak Ultima $QCQ95 • Software Support tO*/'' Disk** +S10 Shipping • Color Screen Dump & insurance Utilities COMPLETE All Dayton Associate's products have a 30 day moneyback guarantee. All printer systems are "Plug 'n' Go for the CoCo". Epson is a registered trade mark o( Seiko Epson Corp. IBM is a registered trade mark ot International Business Machines Price and Specifications are subject to cnange without notice. The New Generation of §}c@i|i^ Printers NX-1 001 MULTI-FONT This enhanced version of the legendary NX-1000II is the latest low-cost high- performance printer from Star Micronics. Fully featured with 4 NLQ plus a draft font. 10 character sizes from subscript to quadruple size, 4k buffer, 180 cps, friction and tractor feed, and much much more. Backed by a 2 year warranty. Epson and IBM emulation modes for maximum software compatibility. A performer so versatile you may never exhaust it's creative possibilities. OUR PLUG W GO FOR THE COCO SYSTEM INCLUDES: • NX-1 001 Multi Font Printer • Blue Streak Ultima The Smallest, Sleekest, Fastest Serial To Parallel Converter You Can Buy! 7 Switchable Baud Rates 300 -600 •1200* 2400 -4800 "ntfemv *199 ! +S10 Shipping & Insurance COMPLETE "The Software Support Disk A Dayton Associates exclusive that comes with any printer purchase. It consists of a CoCo Installation Tutorial, a CoCo Graph- ics Screen Dump Utilities and a Control Code Tutorial . Provided to help you get the most out of your system! 9600*19200 Use this "smart" cable to con- nect a Centronics parallel printer to any version CoCo or use it to improve performance of your current printer. The cables are long-life, high quality shielded cables with moulded plugs for extra durability. The Blue Streak Ultima Powered version add S6.00. $ 39 95 +S2 Shipping % FREE with purchase ol any NX-1 020 or NX-1 001 System Order Your System Today... Call (513) 885-5999 DAYTON ASSOCIATES^, INC. 9644 Quailwood Trail • Spring Valley, Ohio 45370 Shipping charges to Canada, P.R.. HI. AK, AP0. FPO are double Triple charge to all other countries. Visa & Master accepted within the continental U.S. Ohio residents add 6.5% sales tax COD add $3.00 The following products have recently been received by THE RAINBOW, examined by our magazine staff and issued the Rainbow Seal of Certification, your assurance that we have seen the product and have ascertained that it is what it purports to be. M jili. I. a high-level math funclions library forOS-9 and ihc C compiler. Includes sin, cos. tan. arccos. irunc. powlO. and many other useful math functions. Bils-N-Byles, 4140 Victory Drive SW.Porl Orchard, WA 98366: $27.42. MVDYVG 1.0. a program that displays drawing files from the Muhi-Vue main screen. You can doodle or erase on files or get a fresh re-display all by mouse clicks. Multi-tasking allows mvdwg to run as many drawing windows as resources permit. Requires a 5 12K CoCo 3. OS-9 Level II. and Mulli-Vue. Gravity Studios. Box 791 . Belton. TX 765 13-0791; 47. $2 SIH. Data Windows, an OS-9 database that can be run under Mulli-Vue. Data Windows also works without Mulli-Vue. Full database support includes user-defin- able fields, multiple-key fields, automatic sorting, fast searching, browsing, user-definable editing, user- definable windows, import/export/merge capability, cut/copy/paste. and report generation and mailing label facilities. Requires 512K and OS-9 Level II. Alpha Software Technologies. 210 Bluefield Drive. Slidell. LA 70458. (601) 688-3140; $59.95. $3 SIH. Delta Pro. a digitizer hardware unit. It uses the Delta format for record and playback. Delia allows high- quality audio recording and playback at low sampling rates. Sampling rates as low as IK per second still provide good audio quality. Software support pro- grams arc included on disk. Full programming in- structions are given for development of personalized programs using the pack. This digitizer can digitize a 50-KHz. 5-volt sine wave to 8-bit accuracy. Mic and line level inputs as well as headphone output are included. Requires 64K. disk version 1.1. and Mulli- Pak or Y-cable. Lucas Industries 2000. 14720 Cedar St. N.E.. Alliance. OH 44601. (216) 823-4221: $129.95 plus $4 SIH. 10 day free trial offer. K.IV on Disk #14. II Kings from the King James version of the Bible, in ASCII files lor the CoCo 1, 2 or 3. A word processor or text editor is recommended for viewing the files. Requires 32K and disk drive. BDS Software. P.O. Bo.x 485. Glenview. IL 60025- 0485: $3. ^, The Rainbow Indexes, a two disk package con- ^^ mining databases for ten years of RAINBOW articles, reviews, and RAINBOW ON TAPE/DISK. CoCo I & 2 and CoCo 3 versions supplied on disk. Minimum requirement is 32K and disk drive. Rick Cooper. P.O. Box 276. Liberty, KY 42539: $10. CoCo-Cassette #98. a monthly collection of software programs that includes: Flippy Tutorial ( how to make floppy diskettes out of Hippy diskettes). RecipelMeall Grocery (stores recipes on tape or disk and helps plan meal combinations). Dungeon Maze (3-D type Adventurcl. Snow Ski (joystick controlled ski game). Hot Load (a TSR program that will run BASIC or Machine Language programs). Ship War (graphics game played against the computer). Error Trap (al- lows you to abort, retry or ignore errors). Space War 3 (two-dimensional outer space battle game for the CoCo 3), Maze Master 3 (CoCo 3 graphics maze game). Wizard's Den (a graphics adventure). T&D Software, 2490 Miles Standish Drive. Holland. Ml 49424. (616) 399-9648; $8. 512K Copy Utility, designed to make full use of a 5 1 2KCoCo3.Thisutility will format disks25% faster than BASIC'S DSKINI command. Also has simplified KILL and rename commands. Its real power is in copying files. Select files to be copied or use the all files option. If you are using a single-drive system, constant disk swapping is eliminated because 5 1 2K of RAM can hold all the files on your disk, even 80 tracks. Carl England. 128 Shepherd Drive N.E.. Calhoun. GA 30701, (404) 629-7197: $15. Space Age. an action adventure. You must explore four zones of a space station and destroy Iravo, the master control computer. Written in machine language. Space Age will take you through dozens of Hi-Res 16- color rooms. The game includes Pause and Quit features, and a limited continue feature that lets you continue from the point where you were killed. Re- quires a CoCo 3, a disk drive and a joystick. Biware Enterprises. ClO Kandi Stinson. P.O. Bo.x 265. Allen. OK 74826; $20. Directory Library, gives you the ability to easily organize and manage your library of CoCo disks. The program manages an unlimited number of diskettes and accommodates single, multiple, and double-sided disk systems. Features include add. update, view, print, search, erase, and special name. Search the library of directories fora specific program or data file and be informed of its resident diskette. Use the special name feature to include OS-9 disks to the library. Requires aCoCol.2or3 with adisk drive and any compatible printer (optional). Johnson Software. P.O. Box 92. Dayton. OH 45449. (513) 866-2601; $1750 plus $2 SIH. KJ V on Disk #15. 1 Chronicles from the King James version of the Bible, in ASCII files for the CoCo 1,2 or 3. A word processor or text editor is recommended for viewing the file's. Requires 32K and disk drive. BDS Software. P.O. Bo.x 485. Glenview. IL 60025- 0485: $3. Scripteller. is a user-friendly program that enables the user to analyze handwriting and obtain an interpre- tation of the writer"s character and personality. Re- quires a CoCo 3 and disk drive. A printer is optional. E.Z. Friendly Software, 118 Corlies Avenue, Poughkeepsie, NY 12601, (914) 485-8150; $26.95 plus $1.50 SIH. Picture Disk #1. this disk package contains four picture collections: People, School. Science 1. and Science2. Each collection contains 30 pictures. The picture files are CoCo Graphics Designer-compat- ible. Supplied are conversion utilities to generate CoCo Max, CoCo Max II, CoCo Max III. and Max 10 format compatible disks. Zebra Systems. Inc.. 121 S. Burrowes Street. Slate College. PA 16801 . (814) 237- 2652; $14.95 plus $3 SIH. DS69VIEW. a viewer for the DS69A/B 16-level. digitized, .Pix pictures. Presents choice for viewing files on an RGB or composite monitor. Includes instructions and eight hi-res, 16-lcvel digitized pictures. Sieve Ricketls. 10625 SE 362nd HB32. Boring. OR 97009. (503) 663-7169: $3 SIH. Also available from Delphi in the CoCo 3 Graphics Database. ♦ Turbo DOS. an alternative DOS for the CoCo. Features include customizable palettes and start- up message, a new width 64 command, reset protec- tion, modified dir and DOS commands, disk labeling program, works with 35- or 40-track, single- and double-sided drives, color burst disabling, key repeat, hotkeys, repeat last command, and more. After cus- tomizing your Turbo DOS it can be burned into an EPROM or be run out of RAM. Jeffery Barnes, 3699 N. 175 E. Box 66. Warsaw. IN 46580; $25. MINIGOLF!. an 18-hole miniature golf game. You must make par to advance to the next hole. Hill. tube, and blow-bar hazards present an interesting challenge. J.T. Rawlinson Software. 361 St. Germain Avenue. Toronto. ONM5M IW6 Canada: $21.95 plus$3 SIH. ^? First product received from this company The Seal of Certification is open to all manufacturers of products for the Tandy Color Computer, regardless of whether they advertise in THE RAINBOW. By awarding a Seal, the magazine certifies the program does exist — that we have examined it and have a sample copy — but this does not constitute any guarantee of satisfaction. As soon as possible, these hardware or software items will be forwarded to THE RAINBOW reviewers for evaluation. 82 THE RAINBOW December 1990 Rascan 2.4 — Digitizing a Rainbow of Colors here has been a strong interest for several years now in video frame grabbers for the CoCo. Products like The Micro Works DS-69 series have sought to serve this interest, bin most of ihese products have been strictly black and white devices with no color capability. There remains an unfilled demand for a digitizer that actually captures color im- ages. The Rascan digitizer is a product thai might just meet this demand. This product, developed in Australia and sold by Super- soft, allows you to capture and display full- color pictures as well as high-quality black- and-white pictures with a CoCo 3. Rascan even allows you to produce images in 3 i>. The Rascan digitizer is a bit different from most other digitizers. It plugs into the CoCo 3*s joystick ports instead of the expansion port and can. therefore, be used without a Mulli-Pak Intel lace. The box has a video input (RCA-type phono jack) that works with almost all home video equip- ment. The unit also has brightness and con- trast controls, a power sw itch, ami a second switch to control a II Iter that is used to keep the color portion of a TV signal from inter- fering with the process. To set up the dig- itizer. Iced your chosen video source into the input and plug the two cables into the joystick ports. Then put a copy of ihe driver disk into Drive 0. type "RUN CONFIG" and press ENTER. Aflerselling the monitor type (for an RGB or composite monitor), press ii to save the settings. "RUN BOOT" starts the program and pro- duces the Main menu. You must then select the desired mode. Choose 640-DV-200 with dithering for 16 levels of gray. 640-by-20t) with four actual gray levels. 320 by -200 with 16 colors or the 4096-color mode. The mm<> color mode works only on a 5 1 2K system, but the normal black-and-white modes work in either I2XK or 51 2K. To begin the digitiz- ing process, gel the video signal ready, select the Capture Image option and sw itch on the Rascan unit. The menu disappears and a thin bar sweeps from right to left on the display. The next step is to adjust the brightness and contrast controls to gel a clear image with gooil gray tones. Nexl, use the -m.i and CTRL keys to center the picture vertically. The left and right arrow keys center the image horizontally. When Ihe bardisappears at the left of the screen, press BREAK, switch off Ihe Rascan unit and press BREAK again. The image is now in memory and can be saved to disk. Rascan black-and-white image Hies can be loaded \atoMax-lo, CoCo Max ill ot Color Mm 3, Kul ihe 16-color, false-color mode is ihe preferred method for importing files into ihe latter iwo. The video source can be almost any- thing that provides a composite video sig- nal, but since the system takes about 15 seconds to scan Ihe image. Ihe image must remain stationary during this period. The best way lo take pictures of stationary subjects or art work is louse a camcorder on a tripod to tape the subject for a few minutes and then play the tape into the Rascan unit later. In some cases you might be able to freeze a frame on ihe VCR, but this will not work well on most decks so it"s advisable not to use slill pictures. Laser videodiscs will do just fine if the disc was recorded in the W) minute c\v mode. Many newer play- ers have a digital memory, which will cre- ale still frames from any disc. December 1990 THE RAINBOW «3 A DISK IS A TERRIBLE THING TO WASTE. Join DELPHI and educate your disks with public domain programs from the world's premier online CoCo library. DELPHI'S Color Computer area is managed by Marty Goodman , so you know you'll find lots of great stuff. Downloads are only $6.00 per hour , with no surcharge for high speed access and no premium for dialing locally via Tymnet. If you have many floppy disks or a large hard disk, join DELPHI'S 20/20 Advantage Plan and enjoy downloading 20 hours each month for $20 . As a Rainbow subscriber, you get a FREE lifetime DELPHI membership ($29.95 value) which includes a credit worth one evening hour of use. If you don't already subscribe to Rainbow, just request a subscription when you signup to DELPHI and, for the $28 subscription fee, you'll get the same great deal! With your Color Computer and modem: • Dial 1-800-365-4636 • At Usemame: type JOINDELPHI • At Password: type RAINBOW, if you already subscribe to Rainbow type SENDRAINBOW, if you do not yet subscribe and wish to do so. DELPHI EDUCATING DISKS SINCE 1982 General Videotex Corporation • Three Blackstone Street • Cambridge MA 02139 800-544-4005 • 617-491-3393 OUR LATEST 30 ISSUES ISSUE #66, DEC. 1987 ONE ROOM ADVENTURE 0S9 TUTORIAL RIVER CAPTAIN SOUNDS BETTING POOL ADVANCE MATH TABLES ELECTRONICS 9 LOWER TO UPPER NOIDS ISSUE #67, JAN. 1988 MEDIA MASTER SAVE THE EARTH WEIGHTS* MEASURES LOW RES GRAPHICS COAST TO COAST BACCARAT BATTLESHIP ELECTRONICS 10 TAPE CONVENIENCE DUEL ISSUE #68, FEB. 1988 COINFILE WORD COUNTER SQUIRREL ADVENTURE AREA CODES DRAW POKER TURTLE RACES ELECTRONICS 11 MULTI-SCREEN CANON PRINT COCO TENNIS ISSUE #69, MAR 1988 POLICE CADET STAMP COLLECTION BARRACKS ADVENTURE CITY/TIME HI-LO/CRAPS OLYMPICS HIRES CHESS ELECTRONICS 12 DOUBLE EDITOR DOUBLE BREAKOUT ISSUE #70, APR. 1988 BLOTTO DICE SUPER COMM GENESIS ADVENTURE PLANETS PHKWAR SIGN LANGUAGE ARX SHOOTOUT ELECTRONICS 13 MAGIC KEY SNAP PRINT ISSUE #71, MAY 1988 SUPER LOTTO RODOL ADVENTURE MAZE YAHTZEE3 PHASER SHAPESPLATES STAR WARS ELECTRONICS 14 PRINTER CONTROL MAZE2 ISSUE #72, JUNE 1988 MARKET WATCHER 3 STOOGES HOSTAGE ADVENTURE PROGRAM TRIO GLADIATOR U.S. S CANADA QUIZ JEOPARDY ELECTRONICS 15 COCO 3 PRINT CTTY ISSUE #73, JULY 1988 FOREIGN OBJECTS CHESS FUNDAMENTALS WATERFOWL QUIZ WHAMMY3 ADVENTURE TUTORIAL CIRCLES EDUCATION TRIO WRITE-UP EDITOR PICTURE PACKER AIR ATTACK ISSUE #74, AUG. 1988 VIDEO CAT 3 1 EYE WILLIE JAVA GAME TRIO CRIONAUT WARRIOR ENVELOPE PRINT RAM DRIVE 3 MODE 2 XMODEM TRANSFER CAVE II ISSUE #75, SEP. 1988 DRACULA ADVENTURE HELP TRIO PROGRAM SHOWDOWN DICE TARZAR 1 ADVENTURE ARAKNON CASH aOW REPORTING GRAPHICS LETTER GRAPHIC EDITOR ADDRESS BOOK SQUARES ISSUE #76, OCT. 1988 SUPER BLITZ 3 CHAMBERS TRIO RACE EARTH TROOPER STARGATE BOWUNG SECRETARY DISK TUTORIAL JOYSTICK >KEY80ARD KEYBOARD < JOYSTICK mBjgBj ISSUE #77, NOV. 1988 POLICE CADET 12 STARSHIP SHOWDOWN MUSIC COMPOSER COUPONS/REBATES PROGRAM LIBRARY BOYSCOUTSEMAPHOR HOUSEHOLD CHORES MAXOMAR ADVENTURE CHUCK LUCK3 ■aowiaiiMH ISSUE #78, DEC. 1988 POLICE CADET 13 TANK TURRET WAR OF THE WORLDS SPINSTER CAFE COCO-SIZE SIGN MAKER LEGAL DEDUCTIONS BOOKKEEPING CAR LEASE 3 ay/.i:n!niikfnifii,'iK' ISSUE #79, JAN. 1989 POLICE CADET 14 DRAW POKER 3 TILER TEX BATTLE INSIDE THE COCO COCO BULLETIN BOARD HOT DIRECTORY VCR TUTORIAL PRINTER CONTROL aiiiaaiHrt ISSUE #80, FEa 1989 SCRABBLE SPELLING CHECKER SANDSTONE ADVNT. THE FAMILY FEUD HARNESS3 HANDICAP MINIGOLF3 ULTIMATERM3 NETWORKING TUTORIAL AMAZING PLACE ammxwsm ISSUE #81, MAR. 1989 MONSTERS SUPER CONCENTRATION TEN PROGRAMS COC03 FINANCE SNOWBALL FIGHT RULER POP-UP WINDOWS TARZAR2- CASTLE SUPER LISTER ISSUE #82, APR. 1989 DUNGEON MAZE DISK TRANSFER MAIL MERGE SUPER SPREADSHEET BUSTER TILER TWO DREAM TUNNa DISKUTIUTY3 EDUCATION TRIO ■IHfWillBH ISSUE #83. MAY 1989 TSD FIRST 80 MODEM BATTLESHIP CHURCH MANAGER SUPER FILE SORT BASEBALL STATS TARZAR PT. 3 INVOICE CARD SQUEEZE SW0RDPLAYU2 Miami ISSUE #84, JUNE 1989 CROSSWORD PUZZLES MOUNT DEATH TERRON DISK/TAPE TRANSFER PAPERWORKS SUPER DATABASE CONNECT3 BUSINESS MODEL MASS FORMAT HMM ISSUE #85, JULY 1989 5 PLAYER POKER RESUME WRITER CRAZY CHEMIST JOURNEY UP SUBMAINIA WORKBENCH VACATION PLANNER DISK EDITOR II NIGHT OF THE NINJA naamfiniHai ISSUE #86, AUG. 1989 TIME TRAP PHONE ACCOUNTANT ON TARGET NAME THAT TUNE 3 USER DEFENCE CHECKBOOK BAUNCER 3 KROACH ADVENTURE SUPER BAR GRAPH EASY LETTER WWEM ISSUE #87, SEP. 1989 PURCHASE ORDER INVENTORY INVOICE AMERICAN TRIVIA KR0ACH2 ADVENTURE TETRA SOLO POKER GAUXYQ3 IBM PICTURE VIEWER RGB PATCH iMIMUll ISSUE #88, OCT. 1989 SALES PROSPECTING VIRUS 3 WILL MAKER JOURNAL-GEN. LEDGER POLICE CADET 15 RED DOG MAD LIBS MACINTOSH PICT. SAVER FROG mmnHnianiiiMftia ISSUE #89, NOV. 1989 SPEECH INDEXER QUEST ADVENTURE EDUCATION TRIOS BIG LETTER PANGO ELEMENTS GARDEN PUNNER VIDEO SHOW WARP ISSUE #90, DEC. 1989 MUSIC-4 VOICE HONEYCOMB POINT OF SALE ORBS ADVENTURE IBM -COCO CIVIL WAR LIST UTILITIES BREAK-IN COCO III UBYRINTH MASTER MtBiMWasWHIfflB ISSUE #91, JAN 1990 TRENCH FIGHTER COCVERT3 SPEED GAMES BUSINESS STARTER CAVERN QUEST3PT. 2 8UILDERS HELPER TARZAR IV ADDRESS FT ANIMAL GRAPHICS ISSUE #92, FEB 1990 PENTA-SAME ROTISSERIE LEAGUE NICKS OUEST SOUTAIR EDUCATION 4 IBM -BASIC BASEBALL CARD ORG. MUNCHY3 RIVER RAID 3 awiina ISSUE #93, MAR 1990 MR. MOVIE INVADERS COC03 RECIPE MACHINE SILVERCAPE3ADV. BABY-SITTER'S BASE BIBLE SCRIPTURE VOCABUURYQUIZ DROP PACK DOCTOR WHO 3 ge<:i:i:;tia:i ISSUE #94, APR. 1990 FUSHCARD REAL ESTATE LISTINGS BIBLE QUESTIONS 1 SPELLING QUIZ 1 NO LEFT 3 PICTURE VIEWER 3 TANK SHOWDOWN TARZAR 5 ADVENTURE GENESIS ai':'i;-:i'i=ia ISSUE #95, MAY 1990 DREAMTIME ADVENTURE XT/AT SYSTEMS BIBLE QUIZ 2 16FUGS FRACTIONS SOUTIARE PUZZLE 4 512KRAMDRIVES3 FOOD FACTORY 3 WHO PART 2 Mam ISSUE #96, JUN 1990 ENTREPENEUR OR. PHREDI PRINTER FONT COOES BIBLE QUESTIONS PT. 3 CALO ADVENTURE FORM MAKER DRAGON ESCAPE PUNE EXPLORER WHO PART 3 EACH ISSUE CONTAINS 10 PROGRAMS READY TO LOAD. AVAILABLE ON TAPE OR DISK. SUPER SAVINGS SINGLE ISSUE..- _ S 8.00 2-5 ISSUES { 6.00 EA 6-10 ISSUES S 5.00 EA 11 OR MORE ISSUES S 4.50 EA ALL96 6SUES $250.00 PURCHASE 20 OR MORE ISSUES AND RECEIVE A FREE 6 MONTH SUBSCRIPTION COCO I, II, AND III All Programs Include Documentation. We Send 1st Class - No Charge! For Information on Subscription Prices. Turn to Pages 67 & 96 ' TOM MIX PROGRAMS RAINBOW CERTIFICATION SEAL Mail Or Call m§> T&D SOFTWARE 2490 MILES STANDISH DR. HOLLAND, Ml. 49424 (616)399-9648 PLEASE CIRCLE TAPE OR DISK I 17 2S 33 41 49 5? 85 73 81 89 10 18 26 34 42 50 58 St 74 82 90 II 19 27 35 43 51 58 87 75 83 81 12 20 28 38 44 52 60 86 78 84 92 11 21 29 37 45 53 61 69 77 85 93 14 22 30 38 46 54 62 70 78 86 94 15 23 31 39 47 56 (3 71 79 87 95 8 16 24 32 40 48 56 64 72 80 88 98 Name Address. City State . Zip. Card#- Total $ The big feature of the Rascan system is its color and 3-D capability that requires a 512K system and a little maneuvering. The Rascan unit is purely a black-and-white device and is not equipped to decode composite color signals. To achieve color, the software takes three separate scans of the image (one each forred, green and blue) and drops them into separate ram buffers. It then displays each in sequence 60 times a second in their respective colors. This is accomplished through a set of color filters that comes with the system to take three separate shots of the subject on tape, one with each filter held in front of the lens. The software allows you to select which buffer to use at any given time and get the images into the right places. When this has been completed, the 4096-color display mode puts the full color image on the screen. The 3-D mode works much the same way except you take two pictures without filters (one for left, the other right) with the camera moved four inches to one side between shots. Then drop the images into the red, green or blue buffers. To view the result, use a pair of red/blue or red/green 3-D glasses, which may have been bought a few years ago to view a special 3-D movie shown on local TV. The yellow/purple glasses used for the 1989 Super Bowl half- time show won't work. The Rascan system produces high-qual- ity digitized pictures, though good results take some time and practice. Tonal grada- tion is very good once the brightness and contrast are set up properly, and resolution is acceptable at about 250 lines both hori- zontally and vertically. (This is somewhat better than the horizontal resolution of a typical home VCR.) A minor flaw is that the area of the image captured is about 83% of the vertical area (200 lines out of a total field of 241) and about 75% of the available hori- zontal area. This can be moved to any desired portion of the image, but it may be a limiting factor in some cases. As the different ratios would imply, the image is somewhat stretched horizontally and people may appear fat. The color and 3-D display modes have a problem in that the field-sequential tech- nique used to display two or three buffers at once causes a strong flicker effect. This can be reduced by darkening the room lights and turning the monitor or TV contrast down, but some flicker will still remain and may be somewhat bothersome. The flicker has no effect on still photos of Rascan displays taken from the monitor screen as long as you use a shutter speed of 'A second or slower. Printer drivers are available for Epson- compatible and CGP-220 printers. Reviews of these optional products are forthcoming. Despite the flicker in the color modes and the somewhat tricky brightness and contrast adjustments, the Rascan system is the best Color Computer digitizer I've ever seen. I have no qualms about recommend- ing it to the serious CoCo 3 user. (Supersoft, Inc., 363 Oakwood Avenue, Jackson, MI 49203; 517-787-3610; $199.95 plus $6 S/H) — Ed Ellers ACCOUNTING SYSTEMS SMALL BUSINESS ACCOUTING This sales-based accounting package Is designed for the non-accountant oriented businessman. It also contains the flexibility for the accounting oriented user to set up a double entry journal with an almost unlimited chart of accounts. Includes Sales Entry, transaction driven Accounts Receiva- ble and Accounts Payable, Journal Entry, Payroll Disbursement, and Record Maintenance pro- grams. System outputs Include Balance Sheet, In- come Statement, Customer and Vender status Re- ports, Accounts Receivable and Payable Aging Reports, Check Register, Sales Reports, Account Status I Ms. and a Journal Posting List. $79.95 INVENTORY CONTROL/SALES ANALYSIS This module is designed to handle Inventory con- trol, with user defined product codes, and produce a detailed analysis of the business' sales and the sales force. One may enter/update Inventory data, enter sales, run five sales analysis reports, run five Inven- tory reports, set up product codes, enter/update salesman records, and update the SBAP inventory. $59.95 PAYROLL Designed for maintaining personnel and pay- roll data for up to 200 hourly and salaried em- ployees with 8 deductions each. Calculates pay- roll and tax amounts, prints checks and maintains year-lo-date totals which can be auto- matically transferred to the SBA package. Com- putes each pay period's totals for straight time, overtime and bonus pay and determines taxes to be withheld. Additional outputs include mailing list, listing of employees, year-to-date federal and/or state tax listing, and a listing of current misc. deductions. Suited for use in all states ex- cept Oklahoma and Delaware. $59.95 PERSONAL BOOKKEEPING 2000 Handles 45 accounts. Enters cash expenses as easily as checks. Handles 24 expense categories. Menu driven and user friendly. $39.95 ACCOUNTS RECEIVABLE Includes detailed audit trails and history re- ports for each customer, prepares invoices and monthly statements, mailing labels, aging lists, and an alphabetized customer listing. The user can define net terms for commercial accounts or finance charges for revolving accounts. This package functions as a standalone A/R system or integrates with the Small Business Account- ing package. $59.95 ACCOUNTS PAYABLE Designed for the maintenance of vendor and A/P invoice files. The system prints checks, voids checks, cancels checks, deletes cancelled checks, and deletes paid A/P invoices. The user can run a Vendor List, Vendor Status report. Vendor Aged report, and an A/P Check Regis- ter. This package can be used either as a stan- dalone A/P system or can be integrated with the Small Business Accounting Package. $59.95 MICROTECH CONSULTANTS INC, Ordering Information Add S3 00 shipping & handling, MN residents add 6% sales lax. Visa. Mastercard. COD (add S3. 50). personal checks. 1906 Jerrokl Avtnue St Paul, MN SSI 12 Drattr /nqvitut tn-ited A tuhor Smbmtsnons act*pt*4 OS -9 u a trad* mark nf Mum* an (612)633-6161 86 THE RAINBOW December 1990 tis the C Zen by Greg Law Technical Editor Reading and writing files with BASICw should by now no longer be new information to you. Now we will cover the same concepts with the C compiler. Most of the techniques are similar, but there are differ- ences. There are even a few pitfalls thrown in for good measure. In review, we discov- ered three basic types of I/O operations with BASiow: interactive, sequential access and direct access. Interactive access uses the INPUT and PRINT commands to get data from the user and print it on the screen or printer. I call it interactive since the INPUT command al- lows you loedit your input before you press ENTER. Also, both commands are primarily intended for interactive prompts and que- ries to the user. Sequential access uses the READ and WRITE commands to read and write ran- dom-length sequential records that are of- ten stored in memory as a single structure. If you recall our recent discussions, each field and record is terminated by a known character in sequential access files. Keep in mind that these two commands do not readily lend themselves to printing prompts on the screen or printer due to the use of field and record terminator characters. Direct access uses the GET and PUT commands to read and write fixed-length records, which are also stored in memory as a single structure. This allows you to quickly locate and retrieve any record within a file by calculating the offset of the record. This is accomplished by multiplying the record number by the size of the record. //; addition to being OS-9 Online SlGop, Greg Law enjoys programming on all types of computers and has worked on systems ranging from the C11C0 to the Burroughs Bt>/W super mainframe . He lives in Louis- ville. Kentucky. There are only two basic types of input/ output operations in C. buffered and un- buffered. Even though there are only two types of operations, the differences be- here are only two basic types of input/output operations in C, buffered and unbuffered, and the differences between them can be very confusing to the novice. tween them can be very confusing to the novice. These two operations can be fur- ther divided into dozens of subcategories. These subcategories are grouped into rou- tines for singular data types (character, integer, long and floating point), routines for multiple data types, specialized data conversion routines and miscellaneous routines. The good news is that there are direct counterparts to basicto i/o commands. For simplicity's sake we will first examine these. The differences between Disk basic and BASIC!) 1 ) were covered in the September iwo issue of therainbow (Page 28). In the first example, a very simpl istic command is given to open a file. The same operation in C is very similar: Int path: path - open( "datafile.dat". I): First, a variable is declared that will be used to hold the returned path number. The open! ) function is called with the name of the file and the access mode as arguments. The access mode specifies the operations that can be performed on the file and is either I for reading. 2 for writing, or 3 for reading and writing. Note that open( ) re- turns the path number as an integer value, much the same as BASIC09. The big differ- ence here is the method used to obtain the returned value. Also, the openO returns negative one (-1 ) if it cannot open the file and. unlike BASIC09. C performs almost no error handling for you. For this reason, the value relumed should be tested to deter- mine whether or not an error occurred. 1nt path: path-openCdataf1le.dat". 1): 1f(path — -1) exlt(errno): In this case the routine attempts to open the file, then tests path to dctemiine whether or not an error occurred. If an error is detected, the program is terminated by calling exi t( ) with the value of errno as an argument. Many of the library functions, espe- cially those dealing with I/O. are little more than delegates between you and the operat- ing system itself. For example. open() does nothing more than place the address of the filename and the access modes into the registers and performs the I$0pen system call. The operating system attempts toopcn the file and returns the results to open( ). If the file is successfully opened, the path number is relumed in one of the registers December 1990 THERAINBOW 87 Submitting Material To Rainbow Contributions to mn rainbow are wel- come from everyone. We like to run a variety of programs that are useful, help- ful and fun for other CoCo owners. WHAT TO WRITE: We are inter- ested in what you want to tell our read- ers. We accept for consideration any- thing that is well-written and has a prac- tical application for the Tandy Color Computer. If it interests you. it will proba- bly interest lots of others. However, we vastly prefer articles wiih accompany- ing programs thai can be entered and run. The more unique the idea, the more the appeal. We have a continuing need for short articles with short listings. These are especially appealing to our many beginners. FORMAT: Program submissions must be on tape or disk, and it is best to make several saves, at least one of ihem in ASCII format. We're sorry, bul we do not have time to key in programs and debug our typing errors. All programs should be supported by some editorial commentary explaining how ihe pro- gram works. We also prefer that editorial copy be included in ASCII format on the tape or disk, using any of the word proc- essors currently available for the Color Computer. Also, please include a double- spaced printout of your editorial mate- rial and program listing. Do not send text in all capital letters: use upper- and lowercase. COMPENSATION: We do pay for submissions, based on a number of crite- ria. Those wishing remuneration should so slate when making submissions. For ihe benefit of those wanting more detailed information on making submis- sions, please send a self-addressed, stamped envelope (SASE) to: Submis- sion Guidelines, run rainbow. The Fal- soft Building. P.O. Box 385. Prospect. KY 40059. We will send you compre- hensive guidelines. Please do not submit material cur- rently submitted to another publication. andopen( ) returnsthispathnumbertoyou. If an error occurs, the carry Hag in the condition codes register is set and an error code is placed into one of the registers. In this case. open( ) stores the error code in errno and returns -1. You probably think the process of open- ing a file and checking it for an error condition is long and drawn out. One of the prime advantages of C is the ease with which such tasks can be shortened. In the above code path is assigned the value re- turned from open( ) and compared against -I. Shortening the logic a little, we basi- cally have the following form: a - b-. if(a 1) Do you remember the basic laws of alge- bra? Given an equation, the value for a given variable can be determined through mathematics: 2x + y = I2 + .V+ v lv-.v + y= 12 +y 2v-.v=12 .v= 12 Let"s apply this formula to our code. In the following section, a and b are used to represent an arbitrary variable or function. a - b; lf(a — -1) (a - b): if(a — -1) lf((o - b) — -1) By now you must think I've gone stark raving mad. If you do not understand the connection between the laws of mathemat- ics and Ihe process I used to derive Ihe short-hand notation, follow along closely as the technique unfolds. Given the assign- ment statement a-b. isn't (a-b) the same? The parenthetical enclosure of the assign- ment statement has no effect so it must be the same. And isn't (a-b) the same as a? It is since a and b are both the same. Then the results must be equal. The parentheses are added to the assignment statement so that the assignment operation is performed prior to the comparison. Whew! Checking our work, the original statement is: path - openCdatafile.dat". 1): 1f(path 1) Since path is assigned the value returned from openO. we can assume these are equivalent. Therefore, the following must also be true: The only difference is thai path is com- pletely dropped from the formula, which makes the results useless. In other words, Ihe file may be opened bul ii isn't helpful since we lossed ihe path number into the bit bucket. With this logic in mind, we should be able to finalize Ihe statement as: lftpath-open("dataflle.dat".l) — 1) Although this looks correct and may in- deed be mathematically correct, it is logi- cally incorrect. The reason is a four-letter word known among C programmers as precedence. This one curse word renders the above statement useless. Because the comparison operator (— ) is higher on the precedence chart than the assignment op- erator (-). the above statement is the same as: temp - openCdataf1le.dat". 1): path - (temp — -1) That is. if temp is assigned a value of - 1 , the comparison isTrue ( I ). Otherwise the com- parison is False (0). A bizarre side effect causes path to be assigned a value of True or False based on the results of the compari- son. Because of the rules of precedence, we must enclose the assignment operation within parentheses to force the compiler to perform the operations in the desired order. Our final result is if((path-open( "datafile.dat". 1)) — 1) exi t(errno): Now you know why precedence is often referred to as a four- letter word. I urge you to locate a book with the precedence chart in it. Copy that page, cut it down to size and paste it on a wall or monitor within easy reach. And it may help to remember my motto. "If in doubt, add parentheses!" Remember, it is belter to be safe than sorry. Stay tuned next month for the continuation of our discussion of file I/O. By then we should have a few examples to better illus- trate these concepts. I7i\ if(open("datafile.dat". 1) -1) a 88 THE RAINBOW December 1990 I # THfiLDA * THE * CONTRAS 1 J ^ v# - o 1 O'O ::■ ._ it r ••I wixiy 10: — - ■■bW '" *l: OS--J1? suit r Better men than you have lsll«! the quasi, but the hand oi me good princess Thekla Is loo mucti lo resisil Stolen by the evil necromancer Divinax, she lias been secreted la' Irom prying eyas and il Is now up lo you lo regain I no places ol Ihe mystical Lite Force and save the lair Udy Tba Ouesl lor Tbelda Is an outstanding arcade program mal combines acllon and advenlura lo Bring you 3n Incredible video game pUiyiny experience Travel Ibrougboul over 500 clitlerenl screens saarcbing lor magical objects and spells, lighting horrible crealures, and gathering Ihe various pans of ine Life Force guarded by ever- increasing terrors. You'll enioy the highest quality 320x200 rasolu- ilon 16 color graphics and digital sound eltecls that you've come to expect Irom Sundog Syslems Ihe game play Is last and lurious. and only you can rescue the princess and complete the LEGEND OF THELOAI Reg I28K CoCo 3. dish drive, and |oystlck (2-bulton joystick supported | Hint book now available lor Theldal Contains clues, maps, and even a BASIC program to modity your own characters! J4.95 In Ihe year 2671 , a mysterious ob|acl landed on Earth, heralding the alien Invasion ol Ihe Red Falcon Only two courageous soldiers nave a hope ol stemming this alien Inlestabon. Armed with your military training and Ihe latest weapon technology, you and a friend must tight back the horde Sundog Syslems presents our second 512K game. TIM Centres. You'll see why we decided lo use 512K on this project' Ama2ing graphics with 320x225 resolution. 18 color tun screen animation and horizontal smooth scrolling! Background digital sound ellects and real-time music 1 Ona or two player action AT THE SAME TIME! You'll agree that this is one ol the best arcade games yet lor your SI2K CoCo 3 Needless lo say, playing hero won't be easy, playing The Contras will be tougher! Req. 512K CoCo 3. disk drive, and 2-button joystick. $34.95 $34.95 The superior technology ot the evil Overlords has ensnared yet another Innocent planet, however, this one contains Ihe Crystal City, bastion ol democracy and Independence. Earth has had enough! Break through level upon level ol their virtually invulnerable delenses, deleat the end guardians, and make your way ever closer lo treeing the slaves ol Ihe Crystal City 1 This amazing arcade game is an achievement in Its own right. Full 128K/512K utilisation! Super last horizontal hardware scrolling on the 1 28K computer! Wild digital sound ellects and background music score' 30 mlnulas. or over 30 megabytes, ol non-repeating 320x200 resolution. 16 color graphics! This game has It all. order a demo disk to see it llrst 1 Can you save Me Crystal City Irom unbeatable roes' Req. 128K CoCo 3, disk drive, and joystick $34.95 SuiisfcaaR JTOir-gsi it _* fi £ i* *- ' — » A new generation of Color Computer products V-Term Terminal HOLIDAY SALE PRICES!! -Vax, Unix, Mainframe, and BBS systems -Vl-100, Vt-52, Vidtex & Ascii emulations -Serial port to 2400, RS-232 to 19,200 baud -XModem, XModem-CRC, YModem, ASCII -15 entry autodial, 10 programmable macros Disk (128k or 512k CoCo 3) SALE .. $34.95 Telepak II RS-232 A Truly Compatible RS-232 Interface! It comes with a 3 foot DB25 cable, gold edge contacts, and low power drain (5v) components. Telepak H & Manual SALE $44.95 Prices are marked down for the Holidays!!! Games, Buy 2 or more and get 10% off !!! Order before Dec. 1st & get free shipping!! Sale ends December 31st, 1990 !!! HOLIDAY SALE PRICES!! Turbo 512k Ram -Fully assembled and tested board •Premium 120ns 256x1 memory chips -Easy to follow instructions ^~ -Fast and easy installation OtUClIO IVOfACS -Complete With 512k Software Digital Audio Sample -RamDisk, RamTest, & Print Spooler Holiday Sale Price >>> $79.95 0k board w/software ... $29.95 Studio Works Pro NEWt CD Quality samples up to 35k by 8 bits! Supports 1 MEG systems! SWP W/O cable - $44.95 W/cable - $59.95 With CD Quality ADC 8 bit Rom Pak - $94.95 Soundtrax The perfect partner for Studio Works! Soundtrax is a sound sequencing system that Imports digitized audio samples & provides total control. For CoCo 3, mouse/]oystk, & disk .... $34.95 Zenix $29.95- In Quest of the Stafford $34.95- Hint sheet for Starlord $3.95 Hall of the King 1 2 or 3 $29.95 Dragon Blade $19.95 White Fire of Eternity . $19.95 Champion $19.95 * CoCo 3 only Games Games Games Those Darn Marbles ...$31.95- The Quest for Thelda $34.95- Kyum-Gai: to be Ninja. $29.95- Warrior King $29.95- Kung-Fu Dude $24.95 Paladin's Legacy $24.95 Sinistaar 512k CoCo 3 .$34.95- • CoCo 3 only CoCo 3 $24.95 ^f^ SuprfHe III ^&ty(^ MS/Dos $24.95 Suprfile III is a powerful, user friendly, easy to use, multi-purpose database! It can be used for Mailing lists, Labels, a Checkbook Manager, Shopping lists, Personal items inventory, Audio/Video lists and on and on! Features: Add, Delete, Search, ,— n=^^=j Sort, Print Labels & Reports. Fkeys Iff Sixdrive (CoCo 1,2, 3) $ 9.95 (CoCo 1,2, 3) $ 9.95 Locking Plates Multi-Label IB (CoCo 2 or 3) $4.95 (CoCo 3 only) $ 9.95 Toll Free 1-300-441-GIME Order line Free 2ND AIR from Midwest to California Orders: 9am to 9pm Eastern time On-line orders: Delphi's CoCo Slg Inquiries & technical assistance: 7pm to 9pm: GIMMESOFT P.O. Box 421 Perry Hull, MD 21128 301-256-7558 Add $3.00 for shipping and handling Add $3.00 for COD (USA only) MD residents add 5% sales tax VISA/MC/Check/Money Order/COD Continued from Page 6 programs which, he says, may help me. Your Australian reader advises me to use Art Gallery from Radio Shack to obtain large letters. I am impressed that the maga- zine is so widely distributed and I wish it every success. Sidney B. Howie Carmel, New York We're glad we could be of service, and thanks for the kind words. Printers and Hard Drives Editor: What kind of serial-to-parallel printer interface would 1 need to connect my DMP- 1 33 printer to my CoCo 3? I am interested in purchasing one and do not know that much about the parallel interfaces. I understand that there are different sizes, but I would like to know what size to get. I am also interested in purchasing a hard drive for my CoCo 3 and 1 don"t know how to purchase one. What do I need to have one and what comes with it? I understand it cuts down on having to use software all the time. I would like to know how one is used and what programs can be put on it. My CoCo 3 has I28K. but I have been thinking about going 10512K.I would like to know whether ornot it would be worth the money. Dwaine Acker P.O. Box 923 Shelburne.NS BOT IWO Canada Microcom and Metric Industries, both advertisers, offer serial-to-parallel con- verters. Perhaps other vendors do, too. The "size" you mention must refer to an op- tional buffer. That is up to you. For infor- mation about hard drive systems for the CoCo. see "A Hard Drive for Your CoCo" (March 19X9, Page 441 the rainbow welcomes letters to the editor. Mail should be addressed to: Letters to Rainbow, The Falsoft Building, p.o. Box 385, Prospect, kv 40059. Letters should in- clude the writer's full name and address. Letters may be edited for purposes of clar- ity or to conserve space. Letters to the editor may also be sent to us through our Delphi CoCo Sic. From the CoCo sig> prompt, type RAI to take you into the Rainbow Magazine Services area of the Sic. At the rainbo\v> prompt, type LET to reach the i.etters> prompt and then select Letters for Publication. Be sure to in- clude your complete name and address. The Rainbow Bookshelf The Rainbow Bouk of Simulations 20 award-winning entries from THE RAINBOWs first Simulations contest. The Second Rainbow Book of Simulations The 16 Winners from our second Simulations contest. The Complete Rainbow Guide to OS-9 Authors Dale Puckelt and Peter Dibble demonstrate OS-9 - s multitasking and multiuser features. The Complete Rainbow Guide to OS-9 Level II Vol.1: A Beginners Guide to Windows Puckett and Dibble uncover the mysteries of the new windowing environment. The First Rainbow Book of Adventures Contains 14 winning programs from our first Adventure contest. The Second Rainbow Book of Adventures Featuring 24 of the most challenging Adventure games ever compiled. The Third Rainbow Book of Adventures The Excitement continues with 19 new Adventures. The F'ourth Book of Adventures Fourteen fascinating new Adventures from the winners of our fourth Adventure competition. A Full Turn of the Screw The Rainbow Introductory Guide to Statistics Dr. Michael Plog and Dr. Norman Sten/.el give a solid introduction to the realm of statistical processes. Name Address City State -} Payment Enclosed, or 3 VISA Zip. Q Charge to: J MasterCard J American Express Account Number Card Expiration Date Signature J The Rainbow Book of Simulations (first) J Rainbow Simulations Tape (first) -J First Simulations Package J The Second Rainbow Book of Simulations Q Second Rainbow Simulations Tape J Second Rainbow Simulations Disk J Second Simulations Package with Tape J Second Simulations Package with Disk J The Complete Rainbow Guide to OS-9 J Rainbow Guide to OS-9 Disk Set (2 disks) a Rainbow Guide to OS-9 Package -iThe Windows & Applications Disk for The Complete Rainbow Guide to OS-9 Level II, Vol. I J The Rainbow Book of Adventures (first) CI Rainbow Adventures Tape (first) J First Adventure Package J The Second Rainbow Book of Adventures -J Second Rainbow Adventures Tape J Second Adventure Package -IThe Third Rainbow Book of Adventures LI Third Adventures Tape J Third Adventures Disk Set (2 disks) Q Third Adventure Package with Tape J Third Adventure Package with Disk -I The Fourth Rainbow Book of Adventures .} Fourth Adventures Tape Q Fourth Adventures Disk 3 Fourth Adventure Package with Tape -J Fourth Adventure Package with Disk J A Full Turn of the Screw J Introductory Guide to Statistics -I Guide to Statistics Tape or Disk (indicate choice) J Guide to Statistics Package (indicate choice of tape or disk) Add $2 per book Shipping and Handling in U.S. Outside U.S., add $4 per book Kentucky residents add 6% sales tax (Allow 6 to 8 weeks for delivery) $.935'$ 3.50 $>9S" $ 3.50 $1930" $ 6.00 $,935" $ 4.95 $_A95 $ 4.95 SW35 $ 4.95 S1&36 $ 8.95 $?036 S 8.95 $1935" $12.95 $3MJd $19.95 $4735" $29.95 $19.95 $,Z<9S $ 2.00 $_^35" $ 2.00 $J530 $ 3.50 $J335" $ 6.95 $J335" S 6.95 $gZ3C $11.95 $1435 $ 6.95 5^35 $ 6.95 §1435 S 7.95 $2*96 $11.95 $26190 $12.95 $1035" $ 7.95 $^935 $ 6.95 $>3S $11.95 $2*90 $13.90 $2536 $18.90 $19.95 $^ft95 $ 2.95 $^S35 $ 2.95 $1230 $ 4.95 Total Mail to: Rainbow Bookshelf, The Falsoft Building, P.O. Box 385, Prospect, KY 40059. To order by phone {credit card orders only) call (800) 847-0309, 8 a.m. to 5 p.m. EST. For other inquiries call (502) 228-4492. Please note: The tapes and disks offered by The Rainbow Bookshelf are not stand-alone products. That is, they are intended to be an adjunct and complement to the books. Even if you buy the lape or disk, you will still need the appropriate book lor loading and operating instructions. OS-9 is a registered trademark of the Microware Systems Corporation. 94 THE RAINBOW December 1 990 Advertisers Index We encourage you to patronize our advertisers — ail of whom support the Tandy Color Computer. We will appreciate your mentioning the rainbow when you contact these firms. Alpha Software Technologies .... 79 Burke & Burke 23 Carl England 47 CerComp 71 CoCo Pro 29 Coless Computer Design 49 Color Systems 69 Colorware , IBC Computer Plus IPC CRC/Disto 63 Danosoft 55 Dayton Associates ofW.R. Hall, Inc 81 Delphi 84 Delphi 92 Dr. Preble's Programs 61 Eversoft Games, Ltd 75 Frank Hogg Laboratories 90 Frank Hogg Laboratories 91 Game Gem Games ,. 37 Gimmesoft 93 Granite Computer Systems 65 Hawksoft, Inc 67 Howard Medical 98 Hyper-Tech Software 49 Interactive Media Systems 16 JWT Enterprises 79 Metric Industries 73 Microcom Software 7 Microcom Software 9 Microcom Software 13 Microcom Software 15 Microcom Software 17 Microcom Software 19 Microdeal 5 Microtech Consultants, Inc. 86 Musicware 3 1 Owl- Ware 25 Owl-Ware 26 Owl-Ware 27 PCM Magazine 43 P&M Products 37 Rainbow Back Issues 60 Rainbow Binders 51 Rainbow Bookshelf 94 Rainbow on Tape and Disk 72 Rick Cooper 31 Rulaford Research 77 Russ Griggs 69 SD Enterprises 75 Second City Software 33 Soft and Friendly 53 Sub-Etha Software 42 Sundog Systems 89 Supersoft, Inc 35 T & D Software 39 T & D Software 67 T & D Software 85 T & D Software 96 Tandy/Radio Shack BC Three C's Products 70 Trading Post 47 True Data Products 45 Zebra Systems 97 | Call: Belinda Kirby Advertising Representative (502) 228-4492 □ Call: Kim Lewis Advertising Representative (502) 228-4492 The Falsoft Building 9509 U.S. Highway 42, P.O. Box 385, Prospect, KY 40059 FAX (502) 228-5121 December 1990 THE RAINBOW 95 FROM T&D SUBSCRIPTION SOFTWARE *v v|4o^ T&D SUBSCRIPTION SOFTWARE HAS ACCUMULA TED OVER 1 .000 PUBLIC DOMAIN PROGRAMS FOR THE COLOR COMPUTER. S&Sfc* WE ARE SELLING 630 OF THE BEST. JUST THE GOOD STUFF ! nr 'Stin 9l *hZ ns ADVENTURES 1,2 Each Disk/Tape Contains 9 Great Adventures Ready To Run TELECOMMUNICATIONS 1-3 T1 • Haysao, Kermlt, Mlksyteim, TeleTerm T2 - Cobbs BBs Terminal Package T3 - GETERM Communications GRAPHICS 1-14 - Atlanta, Cube, Space, * - Objects, Wargame, Worldmap, - 9 Coco 3 Graphic Programs *g - 22 Coco Max Pictures syb (7 ship) MEMORY • 51 2K Bare Board • Populated 512K 8 Software • 1 MEG Bare Board ■ Populated 1 MEG 'requires S12K upgrade $40 $89 S160- S200- HARD DRIVE 20,000,000 Bytes or the equivalent to 1 25 R.S. 501 's on line are packed into this hard drive, pre installed and ready to run. This complete easy to use package includes a Seagate 20 Meg Hard Drive, a DTC 51 50 Controller and interlace, ' a heavy duty case, power supply and fan and a 1 year warranty. This 20 Meg Hard Drive will also work with Tandy and IBM clones. RSB Access Basic thru OS-9 $39.45 FILE REPACK Un-Fragments disc$29.45 See Rainbow Reviews 8/89 10 Meg 20 Meg 30 Meg 40 Meg 80 Meg ** $349 $499 $549 $598 $1,090 "reconditioned DISTO BOX Mini Controller $ 75.00 Super Controller $ 98.00 No Halt Controller $129.00 3 in 1 Board $ 69.45 Mini Expansion Bus $ 30.00 RS-232 Port $ 49.95 Clock and Parallel Port $ 40.00 PRINTERS ISTARNX-1000R COLOR $249.00 ISTARNX-100011 $189.00 |VA-1 Video Converter $29.45 for CoCo 1&2 |HR-2 Dual Hi-res adapter FLOPPY DRIVES 52 MPI 5% Full Height 40 track $75.00 Double Sided 360K 55B TEAC 5'/4 Half Height 40 track $98 Double Sided 360K 235 TEAC 3Vi Half Height 80 track $89 Double Sided 720K I FR-35 Frame Fits 314 into 5% space $12 1 502-C Power Cable for 502 $12 30 Day Money Back Guarantee Howard Medical's 30-day guarantee is meant to eliminate the uncertainty of dealing with a company through the mail. Once you receive our hardware, try it out; test it for compatability. If you're not happy with it for any reason, return it in 30 days and we'll give your your money back (less shipping.) Shipping charges are for 48 states. APO, Canada and Puerto Rico orders are higher. New SLOT-PACK III $89.45 Howard Medical Computers 1690 N. Eiston Chicago, Illinois 60622 Order Status and Inquiries 312-278-1440 Master Card • Visa • Discover American Express C.O.D. • School P.O.'s Order Line 800-443-1444 Make Christmas magic with your CoCo The Dazzling Word Processor $TL^95 ^ $0 A 95 *>• 34 Save $100 BOTH CoCo Max III and Max-10 for $ ^ 9 ?^ $ 49 95 C h ri SI ITI aS BOnUS: THE WORKS for an amazing $79.95 The Works is: CoCo Max III + Max-10 plus ALL the additional fonts at a super low price About Max-10 What the CoCo Community needs is a word processor that's rock solid, blindingly fast, feels like a Macintosh, makes all the others look boring, and does not cost $80. Max-10 is just that and more. It allows on screen mixing of graphics and text, large headlines, multiple columns and full page preview (with graphics). We swear that Max-10 will add excitement to your word processing, and that's no small task! PRINTERS SUPPORTED: epson fx.mx.rx.lx AND COMPATIBLES: DMP 105.106.130: CGP220 (B&W): OKI 182.92.192: STAR NX- 10. NX 1000 Max-10 Add-ons - Max-10 Fonts. 36 super fonts on 2 disks. Send for list. Order #C-23 ....$MHI $14.95 NOTE: Max- 10 and CoCo Max Fonts hot! iniecchangable. - Spell Checker 35.000 word dictionary for online spell checking and dictionary lookup. Perfect seamless integration with Max-10. Order #C-24 tjfiM $14.95 System Requirements Max-10 and CoCo Max III Require: any CoCo 3: 1 or more disk drives; joystick or mouse; Radio Shack Hi Resolution joystick interface: a video or RGB monitor or a TV. About CoCo Max III Whether you doodle for fun or design graphics for a living, CoCo Max will amaze you. It's simply that good! Its major features include: Huge picture area (2 full hi-res 320x192 screens). Large editing window. Zoom mode for detail work. 28 point and click drawing tools. Shrink and stretch. Rotation at any angle (1.5° steps). 51 2K memory support (all features worR with 128K too). Undo (Oops) feature to fix mistakes. Animation. Special effects. Color sequencing (8 colors, variable speed). 13 fonts (more available). Each font has 8 sizes and 5 styles for thousands of possible combinations. Translate program to convert most types of pictures. CoCo Show "slide show" program. Miniload program to help use pictures with your software. Color edit- ing of patterns. Prints in single or double size. Select 16 of 64 available colors, all 64 colors are shown at once for easy selection. Pull-down menus. 40 paint brush shapes. Two color lettering. Spray can. Amazing "flowbrush". RGB and composite monitor support. Colors print in 5 shades of gray. PRINTERS SUPPORTED: EPSON rx.fx.mx.lx AND COMPATIBLES: STAR/GEMINI NX-10.NX-1000: DMP100.105.106.110.120.130.200: OKI 82A.182.192: CGP-220(B4W) Color Drivers available. See next column. CoCo Max III Add-ons - Max Fonts disks. 95 fonts on 4 disks. For those thousand words your pictureeauals. Now only fcMQ^29.95 Or two sets of two disks each^pi^$l4.95 - Max Edit Don't like our fontsTMake your own or edit existing ones. Creativity literally from scratch. Don't pass this offer ^ up! IJf^ $14.95 - Color Printer drivers NX-10OO Rainbow. CGP-220 and Okimate 20. Bring your pictures to life with the magic of coipr. For CoCo Max III only tlj*i $14.95 Happy Holidays from all of us at Colorware Call or Write Now (203)656-1806 Weekdays 9-5 EST Ordering Information: We accept Visa. Mastercard. Checks and M.O. C.O.D. is $4 extra Purchase orders are subject to credit approval. Connecticut residents add 8% sales tax. Shipping: $4 per order (usually UPS ground). UPS 2nd Day Air: $4 extra. Next Day service available. Canada: $6 per order (Airmail). Outside U.S. & Canada: Add 10% of order total. [COLORWARE Colorware 242-W West Ave. Darien. CT 06820 You can't afford to miss these Big Savings on Our CoCo 3 System Floppy Disk Drive Color Computer 3 All Coco Software in Stock r CM-8 H . ^„ Color Monitor V3 Off. 17 g95 Reg. 299.95 Reg. 199.95 Reg. 299.95 Pistol Grip Joystick 2195 Reg. 29.95 SHANGHAI 1 ' S f t S| THE MICROSC MISSION B . CREATING NEW STANDARDS PROVEN LEADERSHIP RELIABLE QUALITY Over 7,000 USA locations, 39,000 employees, Over 1.500 engineers and technicians seven research and development centers, 31 develop, evaluate and test to our exacting USA and overseas manufacturing plants— standards— NOBODY COMPARES! NOBODY COMPARES! -Radio /hack AMERICA'S TECHNOLOGY Prices apply at participating Radio Shack stores. Computer Centers and dealers. Not all items available in all stores Stand sold separately Sale ends 12/24/90. Radio Shack is a Division ot Tandy Corporation