the CoCo Commuh11--z . ty -r_ JOr

The

August 1991 vo1. x1 No. 1 From Computer Plus to YOU ...

PLUS after PL�' �e�0��;;;, '' � ' -�-··-' -....··.-...... _-3',....- - ---· --. �- · · � ..,,.!..;:� ...... ,,, ��';· - . ��-

Color Computer Disk Drive DMP-134 269 Drive O $239 Drive 1 $149 TandyFax 1010 $619

BIG SAVINGS ON A FULL COMPLEMENT OF RADIO SHACK COMPUTER PRODUCTS COMPUTERS COLOR COMPUTER MISC. Tandy Educatioal Software 2.00 Tandy1000 RLXHD 1 Drive1MegRAM 999.00 Tandy Drive Controller 89.00. Spinnaker Software 2.00

Tandy 1500HD1 Drive 64 0K 1179 .00 * Extended Basic Rom Ki t (28 pin) 14.95 Max 10 by Colorware 79 .95 Tandy 28 10HD1 Drive 1 Meg RAM 2049.00 64KRam Upgrade Ki t (2 or 8 chip) 39 .00 AutoTerm by PXE Com puting 29 .95 '.)9 .95

Tandy 1000 RLHD-1 Drive-5 12K 769.00 * Tandy Deluxe Keyboard Kit 24 .95 TW-80 by Spectrum (COCO 3) 39.95 Tandy 1100FD1 Drive 640K 689.00 HI-RES Joystick Interface 8.95 TeleWriter 64 49 .95 59.95 PRINTERS Color Computer Deluxe Mouse 44 .00 TeleWriter 128 79.95 Tandy DMP-107 120 CPS 159 00. Multi Pak Pal Chip for COCO 3 14.95 Elite Word 80 79 .95 Tandy DMP-302 270 CPS 469.00 COCO 3 Service Man ual 29 .95 Elite Cale 3.0 69.95 Tandy DMP-202 180 CPS 299 .00 Serial to Parallel Converter 59 .95 CoCo3 512KSuperRam Disk 19.95 Tandy DMP-4 42 300 CPS 539 .00 Tandy Deluxe Joystick 19 .95 Home Publishing by Tandy (Coco 3) 35 .95 Tandy LP-950 Laser Printer 1299 .00 Magnavox 8135 RGB Monitor 299 .00 Sub Battle Sim. by Epyx (Co Co 3) 26.95 Tandy DMP-240 192 CPS 8 color 415.00 Magnavox Green or Amber Monitor 99 .00 Thexder by Sierra (Coco 3) 22 .45 Panasonic KXP 1180 192 CPS 189.00. CoCo3 Gime Chip 29 .95 Kings Quest Il l by Sierra (Coco 3) 31 .45 Panasonic KXP 1123 24 Wirehead 259.00. Tandy Pistol Grip Joystick 26.95 Flight Sim. II by SubLogic (Coco 3) 31 .45

Panasonic KXP 1124 192 CPS 299 .00 * PBJ OK COCO 3 Upgrade Board 29.95 OS-9 Level II by Tandy 71.95 Okidata320 300 CPS 369.00 PBJ 512K COCO 3 Upgrade 89 .00 OS-9 Development System 89 .95 Ok id ata 380 180 CPS 24 WireHD 259 .00 Tandy OK COCO 3 Upgrade Board 39 .95 Multi-View by Tandy 44 .95 OKI Laser 400 4PPM 69 9.00. Tandy 512K COCO 3 Upgrade 99.00. VIP Writer (disk only) 69.95 COLOR COMPUTER SOFTWARE VIP Integrated Library (disk) 149 .95 MODEMS TAPE DISK Prices are subject to change without notice. Please Tandy DCM-6 52.00 The Wild West (COCO 3) 25 .95 call for shipping charges. Prices in our retail store Tandy DCM-7 85.00 Worlds ofFlight 34 .95 34 .95 may be higher. Send for complete catalog. Cardinal 1200 Baud External 99.00 Mustang P-5 1 Flight SimuL 34 .95 34.95 Cardinal 2400 Baud 129.00 Flight 16 Flight SimuL 34 .95 34.95 *Sale prices through 9-15-91 CALLTOLL FREE 1·800-343·8124 • LOWEST POSSIBLE PRICES

• BEST POSSIBLE WARRANT Y

• KNOWLEDGEABLE SALES STAFF

• P.O. Box 1094 TIMELY DELIVERY us • SHOPPING CONVENIENCE 480 King Street Littleton. MA 01460 SINCE 1973 II (II) IN MASSACHUSETTS CALL 486-3193 Tandy is a registered trademark of Tandy Corp. August 1991 Vol. XI No. 1

______Columns �F_e_at _u_r_e_s ______JI I 16 Ultra/ace: BreakPoint � Greg Law The Epson Version The system calls H. Allen Curtis Part IV brings the Epson/IBM­ compatible version of the main 30 Ultra/ace program Coco Consultations Marty Goodman Serial connections

46Del phi Bureau Eddie Kuns Literally speaking

38OS-9 Hotline Rainbow Staff Down to business 6 6 34 � Trec:assstE�Sy1Tl:xis 10 Font Magician Megatank � besidefeatures ard mlumns Print#-2 irdicate Geoff Friesen • Marshall Weisenburger that theistings rro;iram with Lonnie Falk 1h:reae a1des ai tis rrafl's RAJN. Editor's notes Add the IBM extended character A battle of wits against alien forces set to the Coco 3's graphics PDN TAPEa.J ard fW\IDNGJ DISKTiu:e oiythe v.th cii

THE RAINBOW is published every month of the year by FALSOFT, Inc.. The Falsoft Building, 9509 U.S. Highway 42, P.O. Box 385, Prospect, KY 40059, phone (502) 228-4492. THE RAINBOW. RAINBOW!est and THE RAINBOW and RAINBOWfest logotypes are registered 24 trademarks of FALSOFT, Inc. • Second class postage paid Prospect, KY and additional offices. USPS N. 705-050 (ISSN No. 0746-4797). TaxTables THE RAINBOW , POSTMASTER: Send address changes to P.O. Box 385, Prospect, KY 40059. Authorized as second class postage paid from Charles Gibson• Hamilton. Ontario by Canada Post, Ottawa, Ontario, Canada.•Entire contents copyright�by FALSOFT, Inc.. 1991. THE RAINBOW is intended lor the private use and pleasure of its subscribers and purchasers and reproduction by any means is prohibited. Use of information herein is for the single end use of purchasers and any other use is expressly prohibited. All programs herein are distributed in an "as is" basis, without warranty of any kind whatsoever. •Tandy, Color BASIC, Extended Color BASIC and Program Pak are registered trademarks of the Tandy Corp.•Subscriptions to THE RAINBOW are $31 per year in the United States. Canadian rates are U.S. $38. Surface·mail to other countries· is U.S . $68, air mail U.S. $103. All subscriptions begin with next available issue.•Limited back issues are available. Please see notice for issues that are in print and their costs. Payment accepted by VISA, MasterCard, American Express, cash, check or money order in U.S. currency only. Full refund alter mailing of one issue. A refund of 10/12ths the subscription amount after two issues are mailed. No refund after mailing of three or more magazines.

August 1991 THE RAINBOW 3 THE RAINBOW

Editor and Publisher Lawren ce C. Falk

Managing Editor Cray Augsburg A Great Deal program because I don't plan to buy a disk Associate Editor SueFomby Editor: drive in the near future. I bought my CoCo Copy Editor Rob Moore I am new to the CoCo Community. I 3 only to have a machine on wh ich to Submissions/Reviews Editor Tony Olive have a secondhand 64K CoCo I received in practice 6809 assembly language. Technical Editor Greg Law exchange for an Atari game system. I also Robert Dagenais Technical Assistants Ed Ellers, have a CoCo 3, a disk drive and a CM-8 124 Pac(fi'que Gregory Shultz Monitor: I am 28 years old and have no Laval, PQ f-/7N 3YI Editorial Assistant Julie Hutchinson formal computer training. It is fun teaching Canada Contributing Editors Wi lliam Barden, Jr. myself basic computer skills. The CoCo is Tony DiStefano,Martin Goodman, M.D. a good computer from which to learn, and Unless you work with 6809-based micro­ Eddie Kuns THE RAINBOW shows that it ismuch more. I controlfers, it seems to us theCoCo is about Ari Director Heidi Nelson like the insightful tips on how to fully use the only place to use 6809 assembly lan­ Designers Sharon Adams, Teri Kays, the CoCo's potential. I also believe THE guage once you learnit. Oh well, to each his Debbee Diamond RAINBOW is more informative than my local own. Contact Tandy's Express Order sys­ Consulting Editors Judi Hutchinson, Radio Shack. THE RAINBOW is a great pub­ tem at (800) 321-3133 to obtain the casserre­ Laurie D. Falk lication, and I am looking forward to every based EDTASM. Berrer hurry though - the Typesetter Debbee Diamond issue. last time we checked, EOS had limited quan­ Andrew VanOstrand tities available. Rochester, New York Loading Binary Files Falsoft, Inc. Looking for FORTRAN Editor: Editor: I have Color Disk EDTASM+. How do I

I want more information about using the load a file that has a . BIN extension (for President Lawrence C. Falk CoCo 3 to write programs in FORTRAN-77. example, HAZARD.BIN)? General Manager Peggy Lowry Daniels William Barden's article, "Computer Aaron Sebold Asst. General Mgr. for Finance Donna Shuck Knowledge in Any Language," states that /-Iilfsboro, Monrana Admin. Asst. to the Publisher Kim Thompson FORTRAN for the CoCo is not available. But Editorial Director John Crawley Herschel B. Eliker asserts that To load a binaty (. BIN) file into Disk Director of Creative Services O'Neil Arnold FORTRAN-77, Chief Bookkeeper Diane Moore from Microware, has been available for BASIC .for execution, enter LOADM fo llowed Dealer Accounts Judy Quas hnock some time (November 1989, Page 6). by the .fi.1/1 .filename in quotes. To load a Asst. Gen. Manager For Administration I would like to know more about this binary file into EDTASM+, get inro ZBUG by Sandy Apple Microware FORTRAN product and how to pressing Z. Then load the file using the LD Corporate Business Technical Director obtain it. I own two CoCo 3s, each is command as described on Page 78 of the Calvin Shields equipped with 512K and two FD-502 disk Color Disk EDTASM+ manual. Customer Service Manager Beverly Bearden drives. I also have the OS-9 Level II operat­ Customer Service Representative ing system for these computers. RCIS Network Info Patricia Eaton 1 have research interests in computa­ Editor: Chief of Printing Services Melba Smith tional chemistry and want to develop some Chief of Prepress and Dispatch Tim Wl1elan I want to share some information about Business Assistant Wendy Falk Barsky scientific programs for the CoCo 3 using the RCIS Network. This network is com­ Chief of Building Security and Maintenance FORTRAN-77. posed of OS-9-based CoCo 3 systems only Lawrence Johnson Grady Carney and links Californiato Florida, New Jersey Asst. General Manager for Advertising, 32 Central Avenue to Canada, and a lot in between. The RCIS Development and Production Ira Barsky Westbury, NY 11590 Network is almost like a Fidonet system, Advertising Representatives Belinda Kirby, only better. Not only does the RCIS system Kim Lewis To be sure, we called Microware (again) network E-mail and messages on a daily Advertising Assistant Carolyn Fenwick and were informed that they no longer basis, it networks BBS lists and download­ (502)228-4492 support OS-9.for the 6809- they no longer file lists from all the systems, making it self FORTRAN fo r the CoCo. As you already For RAINBOW Advertising and Market­ possible for you to "request" a file from ing Office lnformation,see Page 65 have OS-9 Level II, consider using BASIC09 another remote system and have it sent to instead of' FORTRAN. BASIC09 combines a your home system. The RCIS Network has strong blend of FORTRAN- and Pascal-type been in operation for over two years (I am structures with the ease of BASIC. the SysOp of the Unknown Origin node). As a rule, the network does not tolerate any General Assembly pirating. This BBS network is free to all Editor: users. All the SysOps are dedicated to pre­ I just bought a CoCo 3 and I wou Id 1 ike serving the CoCo and OS-9. to learnassembly language. Do you know if is a list of current RCIS Net- a cassette-based assembler (something like EDTASM+) still exists? I prefer a cassette

4 THE RAINBOW August 1991 SALE coco 3 Service Manual: $39 2: $29 All our drives are TOP QUALi SOFTWARE Multipak Service Manual: $19 BRAND NEW Double-Sided Drives ord Power 3.3: Power packed V\ssembly Language Prog: $18 ith full 1-yr warranty. Our Drive 0 & ord-processor. Fast, Maximum Text Addendum (for Coco 3): $12 2 systems include Case, PS, Drive, Memory, 40/80 display, HELP Full Turn of Screw (Disto): $19 controller, official RSDOS 200pg Screen, Graphics, works with all prin­ Comp. Rainbow Guide to OS9:$19 manual & $60 software. ers, 80,000 Spell Checker, Punctua­ Compl. Rain. Guide to OS9 Dsks:$29

ion Chkr. The Best Rave Reviews.. Rainbow Guide OS911:$19 Dsk:$19 Drive O: $199 2 Drive Sys.: $299 See Older Issues for more details. $69. Full Turn of the Screw: $19 1 Drive Cable:$16 2: $22 4:$34 Inside OS9 Level II: $29 Bare 51/4" Drive: $79

Color Schematic Designer: $24 FD501 2nd Drive Upgrade Kit:$99 Musica II: $29 Lyra:$49 RGB Patch: $15 Screen Dump: $15 FD502 2nd Drive upgrade Kit:$109 Coco Midi lnterf:$99 Software:$59 Maillist Pro:$15 Comp. Checkbk:$15 oshiba 3 1/2" Drive: $79 Home Bill Manager:$15 OS9 SOFTWARE 20 MEG Hard Drive System: $459 From Alpha Software ...... 40 MEG Hard Drive System: $549 ADOS 3:$24 Ext. ADOS 3: $29 Data Window: $59 Data-Merger:$19 All our hard drive ·systems are Smartwatch RTC: $29 24-to-28: $1O Presto Partner:$29 Level II Tools:$24 complete read-to-run system fo Disk Manag. Tree:$29 Zapper: $19 use under Basic & OS9. Coco Max Ill: $39 Fonts(95): $29 Multi-Menu:$19 Warp 1:$34 CoCo XT: $69.95 w/ RTC: $99.95 MAx 10: $34 Fonts (36): $14 OS9 Level II BBS:$29 Coco XT ROM: $19.95 CGP220/NX1000 Color Driver: $14 From Burke & Burke ..... HYPER 10: $29 HYPERlll: $12 Max Edit: $14 SP Checker: $14 RSB: $39 EzGen:$19 Wild Card:$19 Other OS9 Software ... Coco Graphics Designer: $19 GSC File Xfer: $44.95 SDISK 3:$29 Label Designer: $19 OS9 RAMDISK (512K & 1MEG):$29 512K COCO 3: $229 Picture,Font,Border Disks : $7.50 ea Screen Print Util.: $19 Menu Utill:$19 lntronics EPROM Programmer: $129 Point-&-Shoot File Selection:$19 Eraser: $49 Both for $154 Coco Util II: Xfer programs between IBM & Coco. Req. 2 drives. $39 Keyboard Extension Cable: $39 enocopy: xfer between computers .$79 300 HARDWARE Coco 3 Keybd. $39 w/ Cabl: $69 Coco 2 Keybd $29 w/ Cabl: $49 utoterm: $34 Vterm: $39 512K UPGRADE;____Ib_e abs�Ju.W elewriter 64: $57 No soldering. 120ns chips. oo_s_t Zoom 2400 Modem w/ ?yr warr: $99 IP Database 111:$69 Cale Ill: $69 Low-heat design. Comes with pic­ Communications Extravaganz lture instructions & software (512K 2400 w/ Modem, Softw., Cable: $149 GAMES Ramtest/disk/Lightning, OS9 RAM­ DISK & Backup). ONLY $79. OK Magnavox RGB Cable: $19 he Quest for Thelda: $34 Board:$39 Serial-to-Parallel Interface: $39 Contras:$34 Crystal City: $34 1 MEG: $179 (OK: $129) 15" Sheilded Multipak Extension:$36 Sinistaar:$34 Kyum Gai: $29 64K Upgrades for CoCo $29 II: 40-pin Y Cable: $34 (Other Sundog Games Also Available) RGB Analog Extender: $19 reasury Pack #1,#2 & Space Pac MAGNAVOX 1CM135 RGB Color Modem Cable ( 4 - 25 pin): $15 (8 Games ea): $29.95 each Pack. Monitor w/ Tilt, Swivel & 2 Yr. RS232 2 Position Switcher: $29 Slots & Cards:$39 Wizd Castle:$1O arranty._JNCLU_QE_S_ Coco 3 RGB IW Hi-Res Joystick Interface: $11 Cable, Composite Cable Set & IBM Advanced Gravis Joystick: $59 BOOKS Cable. Only $298 500 Pokes, Peeks & EXECs: $16 Multipak Locking Plate: $8 Supplement: $9 300 Pokes: $19 Star Ribbons: $8.50 Color: $12.95 Disto Mini Controller: $74 II 3 Pokes, Peeks Books: $39 Disto Super Controller: $99 Color Basic Unravelled: $39 RSDOS 2.1 Chip: $29.95 Disto Super Controller II: $104 Disk Basic Unravelled: $19 o� 68B09E Chip: $14 GIME Chip:$39 '?>, 4-in-1 Board: $109 3-in-1: $74 Super ECB Unravelled: $19 t;�C!> Multipak PAL Chip w/ instructions: � RS232 Super Pack: $54 $15 (specify Multipak Model #)

MICROCOM SOFTWARE •1387 Brighton Henrietta Town Line Rd •Rochester,NY 1 623 a � � � - ·��:�ts, 0 To Order: All orders $99 & above (except Printers, Drives, Monitors, Computer) shipped 2nd Day at no ·extra�,��-i- Charge�� Cont.1 � n�;� US. We accept Visa,MC,Discover,Amex (3% sur), check, MO & School PO's. COD Orders (<$100) w1th1n�1� US add $5 extr . ease a d � . shipping (min $3) S&H in us & 10% (min $5) for Canada, Alaska & PR. All foreign orders. except Can. pay actual shipping char �es (min . . $5). NYS residents please add sales tax. Monitors ($12 S&H/$40 in Can.); Drives ($10 S&H/$30 in Can); omputers ($8 S&H, $25 in Can). For Orders (10-5) pm M-Sat: 1-800-654-5244. Tech Info & Order Status (3-5 pm).� 716-292-1786

CHR$ , the character on the screen. This is shown character string ( ) as in Listing 2, or 160 SAVEM F$,&HFA0F,AD-l,0 from Line 300 to the end of Listing 2. The the appropriate string of alphanumeric CoCo 165 PRINT "FINISHED" characters are shown in Figure 1, along characters. The new font and the techniques 170 with the IBM codes and actual CoCo codes used to display it work on all CoCo 3 175 'FONT DATA (IBM 160-255) 180 (IBM code - 128) to get them. Where appli­ HSCREENs (40- and SO-column). 185 DATA 1C,00,78,0C,7C,CC,7E,00 cable, the figure also includes the CoCo I hope you enjoy using this font. It should 190 DATA 38,00,70,30,30,30 ,78,00 characters you can use to generate charac­ make programming and using the CoCo 195 DATA 00 ,lC.00,78,CC,CC,78,00 ters in the new font. HP RI NT either the more enjoyable. 0 200 DATA 00 ,1C,00,CC,CC,CC,7E,00 205 DATA 00 ,F8,00,F8,CC,CC,CC,00 210 DATA FC ,00,CC,EC,FC,DC,CC,00 Char. IBM Co Co Co Co Char. IBM Co Co Co Co 215 DATA 3C ,6C,6C,3E,00,7E,00,00 Code Code Char. Code Code Char. 220 DATA 38,6C,6C,38,00,7C,00,00 225 DATA 30 ,00,30,60,C0,CC,78,00 a 160 32 JL 208 80 p 230 DATA 00 ,00,00.FC,C0.C0,00,00 235 DATA 00 ,00,00,FC,0C,0C,00,00 i 161 33 209 81 T Q 240 DATA C3 ,C6,CC,DE,33,66,CC,0F 6 162 34 lf 210 82 R 245 DATA C3 ,C6,CC,DB,37,6F,CF,03 u 163 35 # IL 211 83 s 250 DATA 18,18,00,18,18,18,18,00 ii 164 36 $ l 212 84 T 255 DATA 00 ,33,66,CC,66,33,00,00 :N 165 37 % 213 85 u 260 DATA 00 ,CC,66,33,66,CC,00,00 F 265 DATA 22 ,88,22,88,22,88,22,88 il & 166 38 rr 214 86 v 270 DATA 55 ,AA,55,AA,55,AA,55,AA Q 167 39 * 215 87 w 275 DATA DB ,77,DB,EE,DB,77,DB,EE l 168 40 + 216 88 x 280 DATA 18,18,18,18,18,18,18,18 169 41 J 217 89 y 285 DATA 18,18,18,18,F8,18,18,18 290 DATA 18,18,F8,18,F8,18,18,18 170 42 * 218 90 z r 295 DATA 36 ,36,36,36,F6,36,36,36 171 43 + I 219 91 [ 300 DATA 00 ,00,00,00,FE ,36,36,36 172 44 • 220 92 \ 305 DATA 00 ,00,F8,18,F8,18,18,18 173 45 I 221 93 310 DATA 36 ,36,F6 ,06,F6,36,36,36 174 46 222 94 t 315 DATA 36 ,36,36,36,36,36,36,36 I 320 DATA 00 ,00,FE,06,F6,36,36,36 175 47 • 223 95 � I 325 DATA 36 ,36,F6,06,FE,00,00,00 176 48 0 a 224 96 330 DATA 36 ,36,36,36,FE,00,00,00 177 49 1 13 225 97 a 335 DATA 18 ,18, F8,18, F8 ,00,00,00 178 50 2 r 226 98 b 340 DATA 00 ,00,00,00,F8,18,18,18 345 DATA 18 ,18,18,18,lF,00,00,00 179 51 3 7r 227 99 c 350 DATA 18 ,18,18,18,FF,00,00,00 180 52 4 228 100 d 355 DATA 00 ,00,00,00,FF,18,18,18 181 53 5 cr 229 101 e 360 DATA 18,18,18,18,lF,18,18,18 182 54 6 µ 230 102 f 365 DATA 00 ,00,00,00,FF,00,00,00 370 DATA 18,18,18,18,FF,18,18,18 11 183 55 7 T 231 103 g 375 DATA 18 ,18,lF,18,lF,18,1 8,18 184 56 8 cl\ 232 104 h i 380 DATA 36 ,36,36,36,37,36,36,36 �I 185 57 9 0 233 105 i 385 DATA 36 ,36,37,30,3F,00,00,00 II 186 58 n 234 106 j 390 DATA 00 ,00,3F,30,37,36,36 ,36 11 187 59 c5 235 107 k 395 DATA 36 ,36,F7,00.FF,00,00,00 di 400 DATA 00 ,00,FF,00,F7 ,36,36,36 188 60 < CXl 236 108 1 JI 405 DATA 36 ,36,37,30,37,36,36,36 189 61 237 109 m d 410 DATA 00 ,00,FF,00,FF,00,00,00 190 62 > € 238 110 n 415 DATA 36 ,36,F7,00 ,F7,36,36,36 1 191 63 ? n 239 111 0 420 DATA 18,18,FF,00,F F,00,00,00 L 425 DATA 36 .36,36,36,FF,00,00,00 192 64 @ 240 112 p J_ 430 DATA 00 ,00,FF,00,FF,18,18,18 193 65 A 241 113 q 435 DATA 00 ,00,00,00,FF,36,36,36 194 66 B 242 114 r 440 DATA 36 ,36,36,36,3F,00,00,00 195 67 c 243 115 s 445 DATA 18,18,lF,18,lF,00,00,00 196 68 D 244 116 t 450 DATA 00 ,00,lF,18,lF,18,18,18 f 455 DATA 00 ,00,00,00,3F,36,36,36 197 69 E 245 117 u J 460 DATA 36 ,36,36,36,FF,36,36,36 + 198 70 F 246 118 v 465 DATA 18,18,FF,18,FF,18,18,18 199 71 G 247 119 w 470 DATA 18 ,18,i8,18,F8 ,00,00,00 200 72 H 248 120 x 475 DATA 00 ,00,00,00,lF,18,18,18 480 DATA FF ,FF,FF,FF,FF,FF,FF,FF 201 73 I 249 121 y 485 DATA 00 ,00,00,00,F F,FF,FF,FF 202 74 J 250 z 122 490 DATA F0 ,F0,F0,F0,F0,F0,F0,F0 203 75 K J 251 123 495 DATA 0F,0F,0F,0F,0F,0F,0F,0F 204 76 L 252 124 500 DATA FF,FF,F F,FF,00,00,00,00 205 77 M 253 125 505 DATA 00 ,00,76,DC,C8,DC,76,00 JL 510 DATA 00 ,78,CC,F8,CC,F8,C0,C0 206 78 N • 254 126 r 207 79 0 255 127 515 DATA 00 ,FC,CC,C0,C0,C0,C0,00 520 DATA 00 ,FE,6C ,6C,6C,6C,6C,00 525 DATA FC,CC ,60,30,60,CC,FC,00 530 DATA 00,00,7E,D8,D8,DB,70,00 Figure !:Character Codes 535 DATA 00 ,66,66,66,66,7C,60,C0 540 DATA 00 ,76,DC,18,18,18,18,00 545 DATA FC ,30,78,CC,CC,78,30,FC

8 THE RAINBOW August 1991 550 DATA 38 ,6C,C6.FE.C6,6C,38,00 590 DATA 30,30.FC.30,30,00,FC ,00 630 DATA 00 ,00,00,18,18.00,00,00 555 DATA 38,6C,C6,C6,6C,6C .EE.00 595 DATA 60 ,30.18,30,60,00,FC ,00 635 DATA 00 ,00,00,00,18,00,00,00 560 DATA 1C .30,18,7C,CC ,CC,78,00 600 DATA 18,30,60,30,18.00,FC,00 640 DATA 0F,0C,0C,0C,EC,6C,3C,1C 565 DATA 00 ,00,7E,DB.DB.7E.00,00 605 DATA 0E,1B,1B,18,18,18,18,18 645 DATA 78,6C,6C ,6C,6C,00,00,00 570 DATA 06 ,0C,7E,DB,DB,7E,60,C0 610 DATA 18,18,18,18,18,D8,D8,70 650 DATA 70,18,30,60,78,00,00,00 575 DATA 38 ,60,C0,F8,C0,60,38,00 615 DATA 30,30,00,FC,00 ,30,30,00 655 DATA 00.00.3C.3C,3C,3C,00,00 580 DATA 78 ,CC.CC.CC.CC,CC,CC,00 620 DATA 00 ,76,DC,00,76,DC.00.00 660 DATA 00 ,00,00,00,00,00,00,00 585 DATA 00 .FC.00.FC.00,FC.00.00 625 DATA 38,6C,6C ,38,00,00,00 ,00 665 DATA *

140 265 IF CS=l THEN X=&HFA:Y=&H0F 145 'DRAW MAIN BOX 270 POKE &HEFC9,X 150 ...... 254 150 275 POKE &HEFCA,Y 230 ...... 137 155 C=l : R=l : NC=39 : NR=22 280 RETURN 310 ...... 123 160 GOSUB 300 285 END ...... 210 165 290 'DRAW BOX 170 'DRAW CHARACTER SET 295 175 300 UL$=CHR$(201-128l 180 1=32 : R=3 : C=3 305 UR$=CHR$(187-128l 185 HPRINT CC.Rl .CHR$(1) 310 LL$=CHR$(200- 128l Listing 2: LOADER 190 C=C+2 : IF C<38 THEN 200 315 LR$=CHR$(188-128l 195 C=3 : R=R+2 320 HL$=CHR$(205-128l 10 'FONT MAGICIAN 200 I=l+l : IF 1<128 THEN 185 325 HL$=STRING$CNC-2.HL$) 20 'WRITTEN BY GEOFF FRIESEN 205 330 VL$=CHR$ (186-128) 30 'COPYRIGHT (Cl AUGUST 1991 210 'DRAW MESSAGE AND BOX 335 HPRINT CC.Rl .UL$ 40 'BY FALSOFT . INC . 215 340 HPRINT CC+l ,Rl.HL$ 50 'RAINBOW MAGAZINE 220 C=28 : R=l6: NC=9 : NR=3 345 HPRINT CC+NC-l,Rl ,UR$ 100 'LOADER: IBM. FNT LOADER 225 GOSUB 300 350 FOR I=l TO NR-2 105 230 CS=0 : GOSUB 260 355 HPRINT (C,R+I l.V L$ 110 'INITIALIZE 235 HPRINT CC+l . R+l l ,"IBM. FNT" 360 HPRINT (C+NC-l.R+Il .VL$ 115 240 GOTO 240 365 NEXT I 120 LOADM "IBM . FNT" 245 370 HPRINT CC.R+NR-ll.LL$ 125 CS=l : GOSUB 260 250 'TOGGLE HPRINT CHAR SETS 375 HPRINT (C+l ,R+NR-ll,HL$ 130 CMP: HSCREEN 2: HCLS 14 255 380 HPRINT CC+NC-l,R+NR-ll.LR$ 135 HCOLOR 1: PALETTE 1.51 260 IF CS=0 THEN X=&HF0. :Y=&H9D 385 RETURN

All 530 Public Domain Programs-$145 Value All 1,020 Subscription Programs-$260 Value All 250 Graphic Pictures-$70 Value ENTIRE PACKAGE Regularly $475

An Excellent Graphics Editor! -.. ... Pictures are CoCo-MAX II compatible. ••• Each Set Of 10 Disks Only $35.00 ! Buy 2, Get One Free! Set#1 Set#2 Set#3 Clipart Celebrities Adult Only Space Pictures Cartoon Characters R-Rated Animals Great Graphics Beautiful Women More More

August 1991 THE RAINBOW 9 Print#-2

A 'festive Review

know the focus of this issue or THE which has no production date yet, was shown a computer is ordered. it should be received RAINBOW is graphics. which is one or by IMS. by the purchaser within two weeks: Hogg my favorite subjects, but I want to talk said it would be received ·'in June·· due to about the CoCo Community in gen­ back orders and IMS said it had no shipping eral and this past April's RAINBOWfest date al that time. Based on these estimates, I we expect to review the avai Iable machines in particular. We had one or our better RAINBOWfests between now and the encl of the year. in Chicago the last weekend in April. Al­ In connection with this. we also plan though the show was a little smaller than it I t was good to more reviews of software available to run has been due to a fewer number of exhib­ see so many on these machines as the software becomes itors and attendees, everyone I spoke with avai I able lo us. We intend to be able to tel I was very pleased with the turnout on both new products you what software runs on which machines. sides. 10 a greater or lesser degree. and what This is, after all, the secret of the CoCo introduced at peripherals run on the machines (those you Community: Lots of people from lots of now own for your CoCo and new equip­ places meeting to talk about their favorite RAINBOWfest. It ment which you might want to purchase). computers. to see the new offerings from just proves Looking into our own future, THE RAIN­ vendors and to just plain have fun. BOW imencls to somewhat broaden its cov­ Our CoCo Community Breakfast was once again erage of 6xono-basecl computing, but has no completely sold out, all our ·rest T-shirts intention of neglecting basic coverage of were gone before noon on Saturday, and that the spirit of the Color Computer. Thus, no matter what Delphi Saturday Night was extremely we! 1- Coco is well. sort or system you have, THE RAINBOW will attenclecl. continue to provide support for you. Most important, I think. was the confi­ Probably the most-asked question I dence expressed about the CoCo and its answered at RAINBOWfest was if we plan to future from everyone with whom I spoke. encl our coverage of purely "Coco·· com­ And the recurrent theme was something we puters and computing. I answered by rel ling have known for years and years - the all those who asked that, since sometime in Color Computer is an excellent machine I 9X2. not a single clay (except for one last that will serve many, many needs for many August, always our worst month) has gone more years. by when there has not been a new subscrip­ It was also good to see so many new tion order for THE RAINBOW in our mailbox. products introclucecl at RAINBOWfest. ltjusl THE RAINBOW plans full-scale reviews This means, of course. that new mem­ proves once again that the spirit of CoCo is of production models of these machines as bers are joining the ranks of our CoCo well. I predict your Color Computer will be well as other machines that may come to Community every clay and we owe them the around - and useful - for many years to market in the future. A major part of our support they need to learn to use their come. criteria, of course, is that the machine is computers effectively. At the same time, Also sparking interest at RAINBOWfest available to you for purchase, should you we acknowledge many of you want a little was the exhibition of pmd11c1ion models of desire to do so. We will review no computer more technical information. two computers that are vying to become the that is not an actual production machine. It is called striking a balance. Fortu­ . . CoCo 4" machine - the System IV from I chaired a seminar on Saturday at RAIN­ nately. the CoCo Community is big enough Delmar Company and the TC-9 Tomcat from BOWfest that featured representatives of for all of us. Frank Hogg Laboratory. (FHL also showed IMS, Delmar and Frank Hogg Laboratory. the TC-70.) A third computer, the MM/I, In response lo my questions, Delmar said if - Lonnie Falk

10 THE RAINBOW August 1991 Bringyourdrawi,ngs and designsto vivid, colorful GetMax-1O - the Coco lifewi,th the amazingly wordprocessor thafs popularCoco MaxIII! fun andfuriously fast! Zoom! Rotate! Animate! 13 Fantastic Fonts! 40 paint Get that easy-as-pie Macintosh feel \�thout giving brush shapes! CoCo Max III dazzles the eye! Get crisp, clear picture reso­ up your first-born! TI1is program willstretch your CoCo to the limit. Mix lution (two full hi-res 320x192 screens) ...a big, big edit window ... 28 graphics, text, large headlines, arrange multiple columns, you name it ... "C'.it-your-heart-out"drawing tools. Rotate at miniscule 1.5° angles. Max-10 \�ll S\�ftly oblige. Includes paper-saving full-page preview Undo boo-boos \\�th a click Animate for special effect.Pick'n'choose from (graphics, too!) to make your prose look proud.This is the CoCo word 16 colors out of 64.Go absolutely fmity \�th font.�(8 sizes, 5 styles & processor tl1at willleave you speechless.Printers supported: Epson FX, more available!) and an astounding 40 different brush styles! No wonder MX, RX, LXand compatibles; DMP 105, 106, 130; CGP 220 (B&W);OK.1 this soft\v.ireis recognized as the Coco community's all-time favorite! 182, 92, 192; STARNX-10, NX-1000. Works with both 128Kand 512K. Colors print in 5 shades o[ gray. Printers supported: Epson RX, FX,MX, LXand compatibles; Srnr/Gemini NX-10, NX-IOOO; DMPIOO, 105, Max-10Add-Ons 106, 110, 120, 130, 200; OKI82A, 182, 192 CGP-220 (13&\V). Max-10Fonts 36 super fonts on 2 disks.Call for list. .... Now $14.95 Spell Checker 35,000 word dictionary. Online spell checking CoCo Maxm Add-Ons to make you look the perfect professional...... $14. 95 MaxFonts disks: 95 fonts on 4 disks...... Now only $29.95 Or t\vo sets of t\vo disks each ...... $14.95 MaxEdit The font editor as creative as your imagination Only $14.95 Color Printer drivers NX-1000 Rainbow.CGP-220 and Buy both Coco MaxIII Okimate 20. For glorious color that wins hands down! ..... $14.95 andMax-10

Call 1-800-221-0916 1-203-259-7713 How toorder: Use Visa, Mastercard or M.O. add $4.00 e r .Purchase Orders C.0.0. xt a 303 Linwood Ave. subject to credit approval. Connecticut residents add8% sales llLx.Shipping $4.00 per order, usually UPS ground. UPS2nd day air $6.00extra. Next day serviceavailable. Canada: (COLORWARE f

12 THE RAINBOW August 1991 a correction that stated the "save and load 896, Hartselle, AL 35640). This company has functions will not work with Extended Color too many programs to list, but they offer a BASIC Version 1.0." catalog. I purchased the Morse terminal I have a CoCo 3, which I understand is program and it works great. The service Version 2. l, yet I am unable to successfully was excellent and the program worked as run this program. I retyped it to make sure advenised. The next source is counesy of and used all methods to debug it, but no Steve Ford. AMSAJ (P.O. Box 27, Washington, luck. Is the version in the May correction in DC 20044) is offering a new satellite-track­ About error or did I miss a later correction? ing program for the CoCo 3. The price for Your Floyd Jackson nonmembers is $49.95. CoCoPacr and Co­ Wheelersburg, Ohio CoPact3 (both with numerous features and Subscription PBBS software) for packet radio come on The program does nor save or loadfiles one disk. For further information write to correctly with Disk BASIC 1.0 or 2.0, or with Monty W. Haley (WJ5W), Route 1, Box 210- Your copy of THE RAINBOW is sent ADOS. However, there should be no prob­ B, Evening Shade, AR 72532. Last, but not second class mail. You must notify us of lem using it with Disk BASIC I.I or 2.1. Just least, is an RTTY program for a terminal a new address when you move. Notifica­ tion should reach us no later than the 15th because you have a CoCo 3 does not mean unit. It has a split-screen, SELCAL, several of the month prior to the month in which you have Disk BASIC 2.1. Check thefirst line Baudot speeds and 300-baud ASCII. Write to you change your address. Sorry, we can­ on the CoCo screen when youfirst turnon ( ) 3 James Sanford WBAGC , 20 Glen Forest not be responsible for sending another the computer. Drive, Hampton, VA 23669. copy when you fail to notify us. I hope this information will help end the Your mailing label also shows an ac­ Program Protection myth of no amateur software for our be­ count number and the subscription expi­ Editor: loved CoCo. Thanks again to THE RAIN­ ration date. Please indicate this account I'm an eighth grader who is just learning BOW, and thank you to the very-much­ number when renewing or correspond­ to program with a CoCo 3. I am writing a alive-and-well CoCo Community! ing with us. It will help us help you better diary program (for my sister) that would Ed Howell and faster. require entering a code to get in the fi le, but Caledonia, New York For Canadian and other non-U.S. sub­ scribers, there may be a mailing address pressing the BREAK key makes the codes shown that is different from our editorial useless. It would also be possible to use Disassembling BASIC office address. Send your correspondence LIST to enter the program. Could you show Editor: to our editorial offices at Falsoft, Inc., me a simple step to disable keys and com­ I am a 17-year-old computer program­ The Falsoft Building, P.O. Box 385, Pros­ mands? mer who works with both Extended Color pect, KY 40059. Danny Queck BASIC 2. 1 and 6809 assembly language. I 21 Vale Drive have a CoCo 3 and wonder if you could Vincentown, NJ 08088 point me to an easy-to-understand book or manual that disassembles the BASIC ROM. I Bunches of pokes to disable C0Co.fi111.c­ am looking for the addresses of BASIC's ' rions can be fo und in the Pokes, Peeks 'n commands (i.e., BASIC s CLS command is Execs series of books from Microcom Soft ­ located at $A928, etc.) Please help! ware. To disable the BREAK key, enter Jason Smith 329 Railroad Street POKE &HE414,0:POKE &HE42A .O Tamaqua, PA 18252-1334

To restore the BREAK fu nction, enter For disassemblies and memory maps, check out the Unraveled series written by POKE &HE414,3:POKE &HE42A,3 Spectral Associates and sold by Microcom Software. Share and Share Alike Editor: Thank you for publishing my letter in the April issue. I've been a loyal reader since 1984, and I found out firsthand what CoCo Community really means. Every day it seems I find a letter in the mail - post­ marked from Maine to California - each one offering help in my search for amateur radio software for the CoCo. I want to share with other readers what I have learned. There is a great deal_ of software for both amateur-radio and shortwave users. The problem is knowing where to look. The first source is Marty Goodman. His classic W"!fax and R"ITY programs are available by writing to him in care of THE RAINBOW. The next source is Dynamic Electronics (P.O. Box

August 1991 THE RAINBOW 13 ,

· ·. . •.\ ():�l) er . . :::::: b 5-6, 1991 . ·. .· \ __ . ·• .· .. . _ . · . . ·.. Inn Northlake . ·· ·. . ··· :··.. . ·· · .. · . · . · . : l:folid�y ..

We ll, once again CoCoPRO! invites you to join with hundreds of fellow CoCo/OS-9 /OSk fans for 2 days of fun in the sunny South, at the Atlanta CoCoFEST!

Come enjoy the "Southern hospitality" of the Atlanta Computer Society ...and while you're there, you can also enjoy:

• Informative seminars from the ''gurus" of CoCo, OS-9, and OSk! •Exhibitions and special show prices from your fa vorite vendors! • Introductions of innovative NE W products fo r CoCo/OS-9, and OSk! Createdby MartyGoodman. FULLY-compatible with the Slotpak-3, Multipak, or Y-cable. Buy this re-engineered Tandy DC Modem pak complete, or purchasethe kit and convert your own pak! Introducing a NEW set of 27 OS-9 Iv 2 tools to make your Pak- . . computing life easier! Get Window Utilities (such as a screen­ . .. · · f:i&'''ii'i. . $44.95 l $109 autodialer for voice calls (stop redialing!), and many more. One-meg upgrade $159 You'll wonder how you've done without these! $ Super Controller I <4-DOS> $89 All 27 utilities can be yours for only Eprom Programmer $49 34.95 HDISK w/RS-232 $59 HDISK $49 All Alpha Software products now available on ··... •••,• •,••,•,·,· -.·.· · ·.· ·.·.·.·. *'''''·· · . . · k in. ch 720k dis ettes for only more! ...... ·.····· ··· ·· W'\f'hi»' 3112....*...... · · $3 Adaptec 4000a hard disk board Rare SCSI board, use with Disto. $99 Data Merger $19.95 Level II Tools $24.95 Disk Mgr. Tree $29.95 The Zapper $19.95 512k Upgrade w/Lightning software Multi-Menu $19.95 059 Lv2 BBS $29.95 The BEST! 120ns DRAM, PP board $74 Presto-Partner $29.95 Data Windows $59.95 Slotpak-3 Multipak replacement. $89 12-volt adapter for above $15 WO?'' ......

• Minefield- deductive reasoning at its most deceptively s1mp1e1

THE DISK MANAGER'S APPRENTICE • Seabattle- "Battleship" for OS-9/Mvuei

OMA is a new file management utility set for use with • Knightsbridge- unique variant of chess, with an element of chancel the CoCo-3 under OECB. Each utility in the set has • CoCothello- the strategy game of the ages i been especially created to aid in organizing disks and the files they contain. These utils are combined • COCO Yahtzee- classic family dice game comes to your screenl into a single environment called OMA. Oncebooted, all utils are memory-resident. Requirements:256k CC3, joystick, OS-9 12, & Mvue Wind Int module. OMA features full wildcard file-handling, point-and­ Special package- a/1 5 fo r only $34.95 select filename features w/tagging, and 8 online

•n.•.-.·.·.·.·.·.·.·.· ·.· ·.·.·. help screens. MANY more features than any similar W'»''*· . product. Get your disks organized quickly & easily, with OMA! $29.95 OS-9 Lv 2 Operating Sys tem $34.95 BreakPoint

The System Calls by Greg Law Technical Editor

efore we get into the details of pointers - and passes the address to Variable c. Variable c contains the value A · handling system calls, turn to Get_ID( l by using the address-of (&) op­ ($41). The actual block of memory looks Chapter 8 of the Technical Refer­ erator. This same technique is used with the like ence section of the OS-9 Level II registers structure. manual. Under the heading Call­ You may wonder why pointers aren't Address Value Bing Procedure, the manual states you must being used. First of all, remember that 0100 41 load the 6809 registers with the appropriate pointers point to objects. To understand 0101 01 values and execute an SW I instruction fol­ this, assume a character is stored some­ 0102 00 lowed immediately by the system call code. where in memory. This can be illustrated by The examples at the top of Page 8-2 show the following declaration: Theoretically, there are three values as­ two techniques of using the I$Cl ose sys­ sociated with Variable i. The value of i is tem call with assembly language. I don't char c: $0100, the address of i (&i ) is $0 101 and the think we are quite ready to use embedded value pointed to by i (*i ) is $4101 - re­ assembly-language source, so we need to · For the sake of argument, assume member that i is an integer (two bytes). find another technique. Variable c is stored at Address $0100 in However, i is not declared as a pointer and Turn to Page 3-26 of the C Compiler memory and has the value of A ($41). Now therefore cannot be used with the pointer manual and read the description of the let's declare an integer and call it i. operator (*). _os9( l function. According to the manual, This is basically how pointers work, this function allows you to use virtually any int i : with a few exceptions. The most important OS-9 system call without resorting to assem­ exception is that a pointer declaration, such bly-language routines. Using the F$ ID sys­ Assume variable i is stored at Address as char *pt r, allocates a two-byte memory tem call as an example, this function can be $0 IO1. Through the use of the address-of area to store the address of the object to written as shown in Listing 1. The os 9.h operator, the program can assign the ad­ which it points. The memory required to header file is included because the reg is- dress of Variable c to Variable i as follows: store the object is not allocated. The effec­ t er s structure and the system call mne­ tive result is that a pointer initially points to monics are defined in this file. Note that i = &c : an arbitrary location in memory. This re­ both Proc_ID and User_ID are declared as quires you to add code to allocate a block of pointers. No1mally functions can returnonly You can now say that Variable i con­ memory large enough to store the object one value, but this function needs to return tains the value $0100, which is the address of and to assign the address of this block of both the Process ID and the User ID to the calling function. By declaring both para­ meters as pointers, the calling function can typedef struct obtain both values as shown in Listing 2. ( However, the calling function declares unsigned DAT_Image ; I* DAT Image poi nter */ Proc_ID and User_ID as integers - not unsigned Bl ock_Size: /* Size of the bl ock */ unsigned Bl ock_Offset ; I* Offset of the modul e in bl ock */ unsigned Li nk_Count: /* Modul e link count */ MOD_DIR: In addition to being OS-9 Online S!Gop, } Greg Law enjoys programming on all types of computers and has worked on systems ranging fr om the CoCo to the Burroughs Figure 1: Module Directory Structure 86700 super mainframe. He lives in Louis­ ville, Kentucky.

16 THE RAINBOW August 1991 used to get the Process ID and User ID. However, getpi d() returnsonly the Process ID and getui d( ) returns only the User ID­ typedef struct although I used a trick with the Process ID { unsigned Sync_Bytes: /* Sync Bytes */ in both listings I and 3 that may look unsigned Mod_Size: I* Modul e Size */ strange. unsigned Name_Offset: I* Offset to modul e name */ You may recall that the Microware C char Type_Lang : I* Type I Language byte */ Compiler stores a character value as an 8-bit char Attr_Rev: I* Attribyte I Revision byte */ char Parity: I* Header parity check */ (one-byte) signed value and stores an inte­ MOD_HDR: ger value as a 16-bit (two-byte) signed value. This is documented on Page 1-5 of the C Compiler manual. However, this is only partially correct. It is true that character values are stored in as an 8-bit Figure 2: Module Header Format memory signed value, but they are sign-extended into a 16-bit signed value in the 6809's reg­ isters. For example, assume you've written a program that uses the following C source memory to the pointer. One method of Because of the inherent complexities fragment: doing this with a pointer-to-type character involved with pointers, it is easier to de­ is as fo llows: clare the variables and structures as non­ char c: pointers and use the address-of operator in int i:

char *ptr: the examples discussed so far. c = Ox80:

ptr = malloc(si zeof(char)): Back to the discussion of the F$ IDsys­ i = c; tem call. You can also split this function

This same technique can be used with into two separate functions - get pi d() The as�embly source produced by the the regi sters structure as follows: and getu id< ) - as in the original library. compiler is as follows: The two separate functions can be written struct registers *regs; as shown in listings 3 and 4. As with the ldd 4f$80

regs = mal loc(sizeof(struct regi function in Listing l,the registers struc­ stb c,y sters )); ture is declared and the F$ ID system call is ldb c,y

• AWARDS, CERITIFICATES, DIPLOMAS • SIGNS, BANNERS, GREETING CARDS

• LABELS WITH TEXT & PICTURES ..• EVERYONE�S TALKING ABOUT... Gir&�lbi.foa Aa lli:&ay Aa 11.�3 You don't have to be an artist to create fabulous looking DUAL HI-RES JOYSTICK ADAPTER printouts on your Coco. Zebra's three graphics software

Colorware Hi-Res Tandy Hi + Low products all contain clip-art collections and each program is Res, cassette j ack S40 optimized for special types of printed items. First Prize comes with 9 disks of clip art, borders, and templates to make awards, certificates, diplomas, and HI & LO-RES JOYSTICK ADAPTER 1 licenses for business, education, family, general Tandy Hi + Lo-Res S27 purpose, humor, religion and sports ...... $49.95 Coco Graphics Designer Pl us, comes complete with HAWKSoft keyboard cable 525 Border, Font, and Picture collections to make great DOMINATION war game SIB 2 signs, banners, and greeting cards ...... $29.95 MVDOS extended DOS for you! SIS Label Designer comes with picture and font collections and lfJ1'80 ft makes great labels with text and graphics. The pro­ HA gram's features include automatic serial numbering, P .0. Box 7112 Elgin , 11 60121 3 mail merge, and auto disk directories ...... $29.95 (708) 742-3084 eves and ends All products require 64K CoCo 11 or 3, mouse or joystick, disk drive, SASE for more info and price 1 ist. and compatible printer. Please specify printer when ordering. S/H ( US & CAN ) always included Include $3 S&H. Plus $3.50 if UPS COD. VlSNMC Accepted. M.O. Check C.O.D. no credit cards l yea... warranty on ALL hard ware !! ZEBRA SYSTEMS, INC. 121 S. Burrowes St., State College, PA 16801 (814) 237-2652

August 1991 THE RAINBOW 17 In this case, c starts with a value of $80 important - it allows the calling function (-128) as usual and is sign-extended into the to handle errors as they occur. 16-bit signed value $FF80 (-128). However, The F$GModDr system call is used to get the upper byte is masked immediately after a copy of the module directory. With this the sign extension, leaving us with the 16-bit system call, you need to allocate a 2048-byte signed value of $0080 ( + 128). This technique block of memory in which to store the is used in listings 1 and 3 to ensure the module directory. The structure of each functions returna positive 16-bit Process ID. entry in the module directory is shown in However, be aware that this trick is specific Figure 1. However, there is a little trick you to the Microware C Compiler and may not must use to determine the number of entries sex work properly with other C compilers. that are actually used. Remember, you are std i.y Perhaps a better solution is to use the abs ( ) working with a 2048-byte block that is theo­ function to obtain the absolute value, as retically capable of storing 256 entries - This is fine if you are working with 8-bit seen in the fo llowing example: each entry uses eight bytes and 2048/8 is 256. signed values, but it leads to the side effect Also remember that you call the F$GModDr of creating 16-bit signed values when con­ char c: system call with the address ofthe buffer in verting from a character to an integer, which int i: Register X, and it returns with the ending is desired in most cases. If you are using the c Ox80 : address of the buffer in Register Y. Sub­ 8-bit signed value $80 (-128), this is trans­ abs< cl : tracting Register X from Register Y lated to the 16-bit signed value $FF80 (-128). (reg . rg_y - reg . rg_x) gives the number of But in this case you want to use 8-bit un­ Most of the user-mode system calls are bytes actually used. Dividing the result by signed values, which aren't supported by already included in the standard library so eight gives the number of entries used. the Mi crow are C Compiler. The C compiler you won't have to worry about those. But The F$GModDr system call also returns does support 16-bit unsigned values, so you the newer system calls, such as F$GB1 kMp, the starting address of the module directory might use the fo llowing C source fragment: F$GModDr, F$GPrDsc, F$NML ink and within the system map. Although the manu­ F$ NM Load, are very handy to have available als never explain why this address is re­ char c: in a library. The F$GB1 kMp system call is turnedor what it is used for, it is extremely unsi gned i: used to get a copy of the system block map. important as you shall see. Now examine c Ox80: Now that sounds really useful, eh? The the source in Listing 6. As usual, the reg is-

i = (unsigned ) c: manual doesn't make this point very clear, ters structure is declared and the _os9() but the system block map contains one byte function is used to perform the system call. This results in the following assembly­ for each block supported by the memory The value returnedby _os 9 () is assigned to language source code: management unit or, in the case of the status for later use. Four pointers are also CoCo 3, the DAT in the GlME chip. The declared: One points to the buffe r to store ldd #$80 number of blocks available depends on the the module directory, and three are used to stb c,y amount of memory installed in the system, returnthe values returned from the F$GModDr l db c ,y but you should use a I 024-byte buffer to system call. sex store the data just to play it safe. Remember std i ,y that the CoCo 3 uses SK blocks (8 192 bytes each) so the most common number of blocks The problem in this case is that c starts you will encounter are 16 (128K), 32 (256K), with a value of $80 (-128) and i results in an 64 (5 12K) and 128 (1024K). unsigned value of SFFSO ( +65408), which is Upon returningfrom the F$GB1 kMp sys­ far from what you want. tem call, Register D contains the size of However, you can trick the compiler each block and Register Y contains the into converting an 8-bit signed value into an number of blocks. On a 512K CoCo 3, 8-bit unsigned value while it is in a register. Register D is $2000 (8 192 bytes-per-block) This allows you to store the unsigned repre­ and Register Y is $40 (64 blocks). Each byte sentation of the 8-bit value into a 16-bit in the buffer represents one block and is A sample program that calls the GModDr( ) variable. For example, assume you are us­ encoded as follows: function is shown in Listing 7. As you may ing the following C source fragment: quickly determine, not much information is Bit 7: 0=RAM, l=Not RAM contained within the module directory - char c: Bit l:O=Data, l=Module not even the module names are there. To int i · Bit 0: O=Free, l=ln use obtain the information contained in the c = Ox80 : module header, you need to use the F$CpyMern (int) (c & Ox F F) : The typical values you will see are system call shown in Listing 8. Even though F$CpyMern appears very easy to use, there The assembly source produced is $00: Free block are a few hidden tricks that aren't docu­ $0 I: Block contains data mented in the manuals. It appears that you ldd #$80 $03: Block contains a module should be able to pass the DAT Image pointer, stb c,y the offset of the block and the byte count ldb c,y An example of how to write the GBl kMp( ) straight through to F$CpyMern,but this isn't sex function is shown in Listing 5. Note that the the case. cl ra status returned from the _os 9 ( ) function is Remember I previously mentioned that std i ,y returnedto the calling function. This is very the 2048-byte buffer is theoretically capable

18 THE RAINBOW August 1991 OS-9 Level II •

I Listing 1: Get_ ID. c #i ncl ude SYSTEM IV

Get_ ID( Proc_ID. User- IDJ int *Proc_I D: int *User_ID; { struct registers reg ;

_os9(F_ID, ® l: *Proc_ ID = (int) (reg. rg_a & 0xF FJ ;

*User_ ID = reg . rg_y ; }

Listing 2: test_Get_ID. c

main() { int Proc_ID; int User_ID:

Get_ ID<& P roc_ID. &User_ID) :

printf("Process ID = %d\n" . Proc_I D) : printf(" User ID = %d\n" . User_I D) : THE BEST OF THREE WORLDS 1 - A Multi-User Multi-Tasking System } 2 - Optional Plug-In Board tor MS-DOS

3 - Optlonal Emulator/Int erpreter for OS-9/ 6809 Software Listing 3: getpi d.c #incl ude �Ys.T:E.MJV:H·'T:h.�· 68()0Q �()�p\j.t¢f;�if i/'.. ••• · · · · · · · · ·. •. • • int getpid() s.�ry�ng ¢ustc)mei's h.e�e• arici ll:liroa(if: •:: . { ...... ······ · ··· · · · · · ::::::: ::: : .;:::: · · struct registers reg ; . .;. E��n®l>1¢ U$ing•t�ilY •i:!VCtilab1� ·1�»w�n•x •• _os9( F_ ID. ®) ; return((intl (reg . rg_a & 0xFF) ); } •2���f ,����iii!�;:mr�. �; Listing 4: getu id. c · <>#��u11:1utJf !F i ncl ude • f rf()��··p�e0 �����!�m!�� .·:::

int getuid( ) Just call, FAX, or drop us a line. We will { respond promptly with complete pricing struct registers reg ; and specifications. _o s9(F_ID, ®) ; return(reg . rg_y); •••. ····p�t,M� ¢o+ �e <:9i11J>ajly·t�#t��·��IFT •• • • • • • #:11� • • •.• • • • • • • ��ri$ �t.9' Assembled boards and kits avallable GBl kMp( bl ock) char *bl ock; � { struct registers reg ; �!����;:� delmar reg . rg_x = blo ck; Middletown Shopping Center • PO Bo."I. 78 • Middletown.co DB 19709 return(_os9(F_GBLKMP, ®)); 302-378-2555 FAX 302-378-2556

August 1991 THE RAINBOW 19 of holding 256 entries? Theoretically is the key word here because a subset of the DAT images is located at the end of this buffer. Listing GModDr. c Another point not mentioned is that the 6: F$CpyMem system call uses the DAT images #incl ude located in your workspace. This creates a problem in that the DAT Image pointer re- GModDr(buffer . buf_start, buf_end , sys_start) char *buffer; unsi gned *buf_start ; unsi gned *buf_e nd ; unsigned *sys_start ; ( struct registers reg ; int status ;

reg . rg_x = buffer: status = _os9(F_GMODDR, ®); *buf_s tart = reg . rg_x *buf_end = reg . rg_y *sys_start = reg . rg_u return( status); turned from F$GModDr is relative from the system map, meaning that you need to find the offset to the DAT Image within your workspace. The first step is to find the base address of the DAT Image relative to the start of the module directory. Since the F$GModD r system call returns the address of Listing 7: test_GModDr. c the module directory in the system map, #i ncl ude "moddi r.h" you can use it to find the base address. For example, assume the DAT Image is located ma in() ( at $0FFE and the address of the module MOD_D IR mod_di r[256] ; directory is $0AOO (both of these addresses int entri es ; int buf_s tart ; are relative to the system map). By int buf_end ; subtracting $0AOO from $0FFE, you know int sys_start ; int i; that the DAT Image is located $05FE bytes

from the start of the module directory. The if((GModDr(mod_dir , &buf_start, &buf_end , &sys_ star tll -= -1) exi t(errnol; final part of the formula is to find the absolute address of the DAT Image in your entries - (buf_end - buf_start l I 8; workspace. You can do this by adding the for(i - 0; i < entries ; i++) address of the module directory in your ( workspace to the result of the previous printf("DAT Image Poi nter - %04X\n" . mo d_d r[ J .DAT_ Image); printf( "Memory Bl ock Size - %04X\n" , mod_d r[ J . Bl ock_Size); calculation. printf( "Offset of Modul e - %04X\n" , mod_d r[ J . Bl ock_Off setl ; Now that you know how to deal with the printf("Modul e Link Count - %04X\n" , mod_d r[ J . Link_Countl; printf("\n"); DAT Image pointer, you can focus on the module header. The basic module header, which contains most of the information you need, is nine bytes in size and the format is shown in Figure 2. Note that you do not know where the module name is located within the module. You could copy a lot of

extra data in the hopes of finding the mod­ Listing 8: CpyMem . c ule name immediately following the mod­ ule header. However, the module name can #i ncl ude

appear anywhere within the module - CpyM em ( d at_ image, offset , count , buffer) especially in device descriptors where the unsigned dat_i mage ; unsigned offset ; module name is usually at the end. Since unsigned count; you know the offset of the module within char *buffer; ( the block, you can use the module name struct regi sters reg ; offset located in the module header to lo­ reg . rg_a - > 8) & 0xFF) ; cate the module name. To do this, add the reg . rg_b - (char) (dat_ image & 0xFFl ; offset of the module to the offset of the reg . rg_x - offset ; reg . rg_y - count; (mod_d i r.Offs et + module name reg . rg_u - buffer; mod_hdr. Name_Offset) and use a length of return( _os9(F_CPYMEM . ®)); at least 32 bytes - the maximum length of a module name. Listing 9 shows the final source code for

20 THE RAINBOW August 1991 a program that prints an unformatted mod­ ule directory listing. As documented above, the first step is to copy the module directory into your workspace using the F$GModDr Listing 9: moddi r. c system call. You may quickly notice that llincl ude "moddi r.h" the variables mod di r and buf start are llincl ude "modhdr .h" mod_d i r pretty much the same thing - is ma in() an array of structures of type MOD_D IR and ( buf_s tart is an unsigned integer that con­ MOD_D IR mod_di r [256]; MOD_HDR mod_ hdr ; tains the address of the first element in unsigned buf_ start; mod_di r. I used buf start so I wouldn't unsigned buf_end ; unsigned sys _start ; have to use pointer arithmetic with mod_d i r. unsigned image ; unsigned offset ; I prefer to avoid pe1forming calculations char mod_n a me[32] ; with pointers where possible. 0 char string[32] ; int entries ; int i;

if{ {GM o dDr< m o d_di r , &buf_start . & buf_end . & s ys_ startll -- -1) exi t(errnol ;

entries - (buf_end - buf_start ) I 8;

for(i - 0; i

2 CLEARlOOO:RGB : HBUFFl ,BlO:HBUFF 2,810: HBUFF3 ,810:HBUFF4 ,810: HBUF F5 ,810:SH�l :POKE140,180 : EXEC4335 O:POKE&HFBOF,O:POKE&HF84F,O:POKE &HF89C ,O:PALETTE0,63:PALETTE1 ,60 :PALETTE2 ,0:PALETTE3 ,36:DIMN$(13 Tun:�.._ J,X(29J ,F(29),Y(29J,CA(52l 65 POKE65496, . :POKE140,20:FORD�l �- TOlO: EXEC : NEXT : POKE65497 , . : POK El ...... ,,w;.._..'C/ 40, 180: RETURN �C in to a � "Graphic Experiments"(March 1991, Page 78): In the third paragraph, N E40 in TIGER! the HCIRCLE statement should be NU40. The power of the 68000, even from BASIC! In the fourth paragraph, lines 3 1 o and 320 r K-Bus! Already there arc more So, why spend THOUSANDS to­ should be lines 200 and 210. And in the than 20 different cards available day for a computer with lillle including memory cards, 2 and 4 software when for JUST $129.95 sixth paragraph, "angle from 0-90 de­ port serial cards, 4 port parallel you can have the SAM E power, cards, SCSI and noppy controller run the SAME software, for one r e - TENTH the cost! grees" should read "angles from 0-88 ' '--===='-======-::::!- ����)5 c���� a'�J ��r�·� ��� t�� degrees." The TIGER is a 68000 co- TIGER )'Ou can use Lhcse cards The TIGE!l is in processor for the TOf'.ICAT TC9 even from BASIC! 6 stock for immediate that runs at the blistering speed Just 'CALL THE 9 delivery! of 10 Mhz! That's over 5 times TIGER' fas ter than U1e CoCo3! Some � "Turbo Light"(May 1991, Page 53): functions com be speeded up by as You don't have to Call today for our complete cat­ much as 8 times with the TIGER! spend T!-IOU­ �alog and newsletter with more in­ The headings in the third column for the Si\NDS to have the fo rmation on the. TIGER and the Now use all your existing RSDOS power of the TOMCAT TC9. It's FREE! 68000! a matler power connections are reversed. The soflware and hardware AND have ;\s " Tht TICER nquiru lhf TO�ICAT TC9 to run. the power of the 68000 in the of fact the TIGER figure should read: same cabinet. Amaze your friends introductory price ORDERINGINFORMATION wilh the speedup possible with is ONLY $129.95! llVISA and u·c. o;hacjt andC.0.0. COl\i.n�al U.S. the TIGER. If and when you want SO!rwlrl S�P?ing add SS.OO Gtound·S8.00Two� OS9/Lcvcl $129.95! A1t Hatcwate ac:<1SIS�OU'ld- $27lwaD.iyb. you can add II and That's righl! ONLY Pie•" Qll lor Ne•t �y A� COits ltldC.0.0. �Ol"'!On Ground +5 aOd 10% Sh1?Plng (M.-.mo.n S5US0). NV r•lkMnll IC Volts speed that up by a factor of 2 or 3! plea11ltcid 7'%11oales1a•. You could also add 059/68000 to Now with the TIGER, FHL, long Ul 8 16 the TIGER without sacrificing the leader in Color Computer ANY of your exisling software OR hardware and software, brings the FRANK HOGG U2 7 14 hardware. OS9/68000 runs on the power of the 68000 within reach TIGER with your drives etc. lhat of Color Computer users without LABORATORY are running from your TOMCAT requiring that you abandon your Since 1976 TC9! NO extra hardware needed. existing hardware OR software. 204 Windemere Aoad Later, if you want, you can fur­ AND you get the ability to run Syracuse, NY 13205 ther improve the performance of ALL the software that will be FAX 3151469-8537 the TIGER by adding modules available someday for the more (cards) to the TIGEH on lhe expensive OS9/68000 computers. Call 31514 69- 7364

August 1991 THE RAINBOW 21 Graphics Utility 32K Extended � L [ Novices Niche

Te xt & Graphics by Keiran Kenny

With PIXTEXT4, you can place text existing line, you can use the right arrow change text, load another picture, or end directly on a PMODE4 screen. The strings to delete from left to right. The deletion the program. for the mini-font graphics characters are rectangle in Line 320 adjusts to suit the If you have a disk drive connected, the defined in lines 460-5 1 o. The string for scale you are using. image is saved to disk. Line 20 sets the each character is labeled L$, and its ASCII Do not place text too close to elements value PX=l if you use a disk drive. If you number appears in parentheses. in the graphics image or when you press do not have a disk drive, the file is saved Most of the characters are drawn in a the left arrow to backspace, you may to tape. frame that is four pixels high by three erase part of the piCture. However, you The high-speed poke is in effect pixels wide. A few, like X and Y, are can move the cursor through existing text throughout the program, except when drawn in a 4-by-4 frame. Because of their or figures without any damage. loading or saving files. Line 30 sets the small size, the characters are necessarily After you have typed the last line of variables SP and SL according to whether somewhat primitive, but they are quite text, press ENTER. At the menu, you can you are using a CoCo 2 or a CoCo 3. readable. You can get about 40 characters save your picture as a binary file, add or per graphics screen line. The Listing: PIXTEXT4 You can preload the binary PMODE4 image or run a BASIC program that draws 0 'PIXTEXT4 T( H.V) a PMODE4 picture on the screen. (Press 1 'WRITTEN BY KEIRAN KENNY 260 FORDL=lT0200:NEXT:PSET(H,V.D BREAK once the image is drawn.) Run 2 'COPYRIGHT (C) AUGUST 1991 R) 3 'BY FALSOFT. INC. 270 GOT0150 PIXTEXT 4 and answer Y to the query that 4 'RAINBOW MAGAZINE 280 X=H : Y=V asks if your picture is in memory. Other­ 10 CLS:CLEAR500 290 BT=X wise, if your picture file is saved in binary 20 IFPEEK(&Hl5F)=l96THENPX=l 300 K$=!NKEY$ : I FK$=""THEN300 format and has not been previously loaded, 30 IFPEEK(&HFFFE)*256+PEEK(&HFFF 310 IFK$=CHR$(12)THENH=0 : V=Y+8*S C/4:GOT0150 answer N to the query and follow the next F)=&H8ClB THENSP=65497:SL=65496E LSESP=65495 :SL=65494 320 IFK$=CHR$(9)THENCOLOR5:LINE( prompt to enter the filename. If it is a disk 40 GOT0450 X,Y+2)-(X+5*(SC/ 4),Y-6*(SC/4) ),P file with an extension other than . BIN, 50 PMODE4 ,l:COLOR0,l SET,BF:X=X+6*(SC/4) : COLOR0: GOT03 include the extension in the filename. 60 PRINT@224 ,"IS PICTURE IN MEMO 00 Enter the scale as a multiple of 4 (4, 8, RY? Y/N" 330 IFX>248ANDK$<>CHR$(8)ANDK$<> 70 K$=INKEY$: IFK$<>"Y"ANDK$0"N" CHR$Cl2 )ANDK$<>CHR$(13)THEN300 12, etc.) at which you want the characters THEN70 340 IFX=BT ANDK$=CHR$(8)THEN300E drawn on the screen. Do not use interme­ 80 IFK$="Y"THEN110 LSEIFK$=CHR$(8)THEN350ELSEIFK$=C diate scales - these can distort the char­ 90 CLS:PRINT@224,"LOAD PIXNAME:" HR$(13)THEN370ELSE360 acters and may result in an FC error. : :LINEINPUTPX$ :IF PX THENLOADMPX$ 350 COLOR5:LINE(X-6*(SC/4),Y-6*S Your picture appears on the screen :GOT0110 C/4)-(X,Y+2 ),PSET,BF:X=X- 6*SC/4: 100 CLOADMPX$ COLOR0 : GOT0300 with a flashing cursor in the upper-left 110 POKESP,0 360 COLOR0:DRAW"S=SC :BM"+STR$(X) cornerof the screen. Use the arrow keys 120 INPUT"ENTER SCALE :";SC:IFSC< +" , "+STR$ (Y)+L$(AS C(K$)):X=X+6*S to position the cursor. Press ENTER and 8THENSC=4 Cl4: GOT0300 type your first line of text. When you have 130 SCREENl ,l 370 CLS:POKESL,0:PRINT@l31,"l. S 140 H=0 :V=7*SC/4 AVE PIX" ..TAB (3 )"2. REPLAY" ..TAB entered enough text in this line and want 150 IFINKEY$=CHR$ (13)THEN280 (3)"3. LOAD ANOTHER" ,TA BC3)"4. E to continue entering in the same scale, 160 IFPEEKC341)=247THENV=V -8*SC/ ND" : PRINT:PRINTTABC6l"PRESS 1 - press CLEAR. The cursor appears one line 4 4)" down, at the left. In other cases press 170 IFPEEK(342)=247TH ENV=V+8*SC/ 380 K$=INKEY$ :IFK$<"l"ORK$>"4"TH ENTER, which takes you to the menu. 4 EN380 180 IFPEEK(343)=247THENH=H-6*SC/ 390 ONVALCK$) GOT0400 ,110,90,440 Press 2 for Replay and enter another 4 400 CLS:PRINT@224 ,"SAVE PIXNAME : scale at the prompt. On the graphics 190 IFPEEK(344 )=247TH ENH=H+6*SC/ "::LINEI NPUTPX$ screen, move your cursor as before. The 4 410 IFPX THENSAVEMPX$, 3584 ,9727 , cursor moves in steps adjusted to the 200 IFV <7*SC/4THENV=7*SC/4 40999 : GOT0430 210 IFV>l91THENV=l91 420 CSAVEMPX$, 1536,7679,40999 predetermined scale. 220 1 I FH<0THE NH=0 430 GOT03 70 When entering text, use the left arrow 230 IFH>249THENH=249 440 CLS:END to backspace and delete errors. If you 240 DR=PPOINT (H,V) 450 DIMA(32),B(ll0) ,L$(90) position the cursor at the beginning of an . 250 IFDR=0THENPSET(H,V,l)ELSEPSE 460 L$(48 l="U4R3D4NL3" :L$(49)=" R

22 THE RAINBOW August 1991 2LU4NGBRBD4" :L$C50)="BU4R3D2L3D2 NL3D2" :L$(73 )="R2LU4NLRBD4" :L$(7 )="NR4E4L4BF4" R3" : L$( 51 )="R3U2NL2U2NL3BD4" : L$ ( 4)="BRNHREU3BD4" 500 L$ ( 33 )="UBU2NU2BD2": L$ C 36 ) =" 52)="BUNU3R2NUNDRB D" :L$(53)="R3U 480 L$ (75 )="U4D2RNE2F2": L$(76 )=" R3 EHL2HER3L2NUD5UBR2": L$C37 )="NE 2L3U2R3BD4" : L$( 54)="NR3U4D2R3D2" NU4R3" : L$ ( 77 )="U4FRED4" : L$ ( 78 )=" 4BU3UBR4BD3D" :L$(39 )="BU3UBD4" :L : L$(55)="BU4R3DG3BR3" : L$(56 )="BR U4 F3U3D4" : L$ C 79 )=" BRHU2ERFD2GN LB $ C 40 )=" BRHU2 EBD4" : L$ ( 41)=" EU2HBR HEH ERFGN LFGN LBR" : L$ C 5 7 )=" BR3U4 L3 R" : L$ (80 )="U4R2FGNL2BRBD2" : L$(81 BD4" :L$(42 )="BR2U2NG2NL2NH2NU2NE D2R3D2" )="BRHU2ER2FDG2ENFGNL2BR2" : L$ (82 2NR2F2":L$(43)="BR2U4D2NL2R2BD2" 470 L$(65 )="U3ERFDNL3D2":L$(66)= )="U4R2FGL2RF2" : L$(83 )="R2EHLHER :L$(44)="NGNU":L$(45 )="BU2R4BD2" "U4R2 FGNL2FGNL2BR" : L$( 67 )="BRHU2 2BD4" :L$(84)="BR2U4NL2R2BD4" :L$( 510 L$(46 J="NU":L$(47)=" E4BD4" :L ERFBD2GNLBR" : L$ C68 )="U4R2FD2GNL2 85)="BRHU3BR4D3GNL2BR" $(58 )="UBU2UBD4" :L$(59 )="NGUBU2U BR" : L$(69 )="NR3U2NR2U2R3BD4" : L$( 490 L$ (86J="BR2 H2U2BR4D2NG2BD2": BD4" :L$(61 )="BUNR4BU2R4BD3" :L$(6 70)="U2NR2U2R3BD4" :L$(71)="BRHU2 L$(87 )="NU4ERFNU4" : L$(88)=" E4BL4 3)=" NRBU2R3U2L3BD4BR3" ER3BD2NLDGNL2BR" : L$(72)="U4BR3D2 F4" :L$(89)="BR2U2NH2E2BD4":L$(90 520 GOT050

Screen Utility Coco 3

Palette Control by Chuck Katsekes

Palette 40180 allows you to change the The Listing: PAL40 -80 foreground and background colors of the CoCo 3 's 40- or 80-column screen to any 10 'PALETTE 40/80 110 CLS1 :WIDTH80: GOT0120 of the 64 avai I able colors. This program is 20 'WRITTEN BY CHUCK KATSEKES 120 PRINT:PRINT"X=BACKGROUND Y a supplement to Palette 32 (TI-IERAINBOW, 25 'COPYRIGHT 1991 FALSOFT,INC. =FOREGROUND" May 1988), which changed the foreground 30 ' TH IS UTILITY SUPPLEMENTS PA 130 PRINT"<0-63> <0 -63> and background colors of the 32-column L32 . BAS AND ALLOWS YOU TO screen on the CoCo 3. 40 ' CHANGE THE FORGROUND AND BA 140 FOR X=0 TO 63 When you run the program, you are CKGROUND COLORS FOR 40/80 150 FOR Y=0 TO 63 asked if you want to change the colors of 45 ' COLUMN SCREENS ON THE COCO 160 PRINT: PRINT"X =" ;:INPUT X the 40- or SO-column screen. Press 1 forthe 3 170 PRINT: PRINT"Y =" ;:INPUT Y 40-column screen or 2 for the 80-col umn 50 CLSl :WIDTH 40 180 CLS1 : PALETTE0,X:PALETTE8,Y screen. The WIDTH command is used to 60 LOCATE3,2:PRINT"40/80 COLUMN 190 END display the selected screen. You are PALETTE UTILITY" prompted to enter the color values for the 70 PRINT:I NPUT"<>" ;0$ The selected colors

Screen Utility 32K Extended

Text-Screen Dump by Joel Hegberg

TextDump is a useful utility that al­ multitasks with BASIC's interrupts so CoCo and not have to worry about your lows you to dump 32-, 40- and SO-column you won't even know it's there. If your system crashing. One last note: TextDump screens to your printer from BASIC any printer is set to a baud other than 600, can be used with Microcom Software's time you need a hardcopy of the text on you must change the computer's baud 512K BASIC. Simply run Te.xtDump before the current screen. This utility can be before printing. To print a screen, sim­ you run the 512K BASIC boot file. used while a program is running. ply press CTRL-FI. TextDump automati­ Enter the program as listed, then save cally places your system into slow mode The Listing: TEXTDUMP it to tape or disk befo re running it. and prints the current screen. When 1 'TE XTDUMP TextDump not only informs you of any printing is completed, TextDump re­ 2 'BY JOEL MATHEW HEGBERG errors you make while entering the DATA turns control to BASIC. 3 'COPIRIGHT (C) AUGUST 1991 statements, it tells you exactly in which TextDurnp works with any Color 4 'BY FALSOFT, INC. line the error was made. Remember to Computer that has at least 32K and the 5 'RAINBOW MAGAZINE 10 'TEXTDUMP newer keyboard (with the control and save the program after you correct any 20 'CREATED JANUARY 23 , 1989 errors. function keys). This program is reset­ 30 'BY JOEL MATHEW HEGBERG Once the program runs peifectly, you protected, which means you can press 40 '936 NORTH TWELFTH STREET are ready to print text screens. TexrDump the Reset button in the back of the 50 'DE KALB, ILLINOIS 60115

August 1991 THE RAINBOW 23 60 ' =VARPTRCA$):POKE32730 ,PEEK(269) 70,86,20.16,FF,BF,8B,60,16,FF,90 70 'DEDICATED TO MY GOOD 230 POKE32731 ,PEEKC270):EXECC PEE 2 80 'FRIEND, DAVE. KCA+2 )*256+PEEK(A+3)) 340 DATA BA ,80,40,16,FF,B5,8E,40 90 ' 240 CLS:PRINT"TEXTDUMP IS INSTAL ,0,5F,1A,50,86,76,B7,FF,A2,A6,8D 100 CLEAR500,32400: RESTORE:CLS:I LED.":END 5 FPEEKC269 )*256+PEEK(270)=32401TH 250 DATA 34 ,76,B6,l,57 ,81,BF,10, 350 DATA 84 ,B7,7E,AF,A6,l,B7,7E, ENPRINT"TEXTDUMP ALREADY INSTALL 27.0,6,35,76,6E,9F.7F,DA.B6,6FC B0.86.20,A7 ,84,86 ,C0,A7 .1,B6,969 ED.": NEW 260 DATA l,56 ,81 ,BF,10,27,0,6,16 360 DATA 7E,AF,AD,9F,A0,2,B6,7E, 110 TL=0 :LT=0:LN=250:T=32401 ,FF,EE,60,0,86,86 ,FE,D6,6F,F7,87 AF,A7,80 ,B6,7E,B0,A7,80,CB,l,9FC 120 READA$ D 370 DATA 96 ,E7,81,l,10,27,0,1D,C 130 IFA$="**"THEN190 270 DATA 7E,AE,97,6F,B7 ,FF,D8,B7 l,50,10,25,0,D,5F,17,0,3F,86,4El 140 A=VAL("&H"+A$ ):IFLEN(A$)=3TH ,FF,D6,86,D,AD,9F,A0,2,96,E7,B4A 380 DATA D,AD,9F,A0,2,17,0,49,8C EN170 280 DATA 81 ,l,10,24,0,6D,8E,4,0, ,4E,FF,10,23,FF,B2,16,0,1A,Cl,70 150 TL=TL+A :LT=LT+A ;POKET ,A 5F,A6,84,B7,7E.AF,86,AF,A7 ,84,78 9 160 T=T+l :GOT0120 2 390 DATA 28 ,10,25,0,D,5F,17,0,22 170 IFLT<>A THEN PRINT" ERROR IN 290 DATA B6 ,7E,AF,81 ,80,10,24,0, ,86,D,AD,9F,A0,2,17,0,2C,8C,4 52 LINE ff" ;LN:STOP 48 ,81 ,1F,10,23,0,47 ,81,60,10,56B 400 DATA 47 ,7F,10,23,FF,95,F6,7E 180 LN=LN+l0:LT=0 :GOT0120 300 DATA 24 ,0,46 ,1A,50,AD ,9F,A0, ,AE,D7,6F,86,7A,B7,FF,A2,86,9D3 190 READA$ :A=VALC"&H"+A$) 2,B6,7E ,AF,A7 ,80,CB,l,Cl,20,779 410 DATA FF,B7,l,57,16,FE,E0,A6 , 200 IFA<>TL THEN PRINT"ERROR IN 310 DATA 10,25,0,15,5F ,A6,82,B7, 83 ,B7,7E,AF,A6,l,B7,7E,B0,86,A21 DATA STATEMENTS .":STOP 7E,AF,86,AF,A7,84,86,D,AD,9F,7F4 420 DATA 20,A7 ,84,86,C0,A7 ,l,39, 210 A$=CHR$(142 )+CHR$(126)+CHR$ ( 320 DATA A0 ,2,B6,7E,AF,A7 ,80,8C , B6 ,7E,AF,A7,80,B6,7E,B0,A7,80,98 145)+CHR$ (191) 5,FF,10.23,FF,B3 ,F6,7E,AE,D7,AlA 7 220 A$=A$+CHR$(l)+CHR$(13)+"9":A 330 DATA 6F,86,FF,B7,l,57,16,FF, 430 DATA 39 ,**,9463

Financial Help 16K Extended

Tax Tables by Charles Gibson

If you have to collect sales tax, you'll these printed charts compare favorably to to read. Then fold and place the sheets in find Tax Ta ble to be a real help. This the printed charts given out in my area. a plastic protector so you can flip it over program prints a six-column sales-tax When you are finished, you may take for the second page, if that is required for chart for the percentage rate you choose. a red pencil and draw a line behind the your tax table. If you need a second copy, It is designed for use on a CoCo 2 or 3 row of stars in each column. This causes advance the page to the next sheet, type with aDMP- 105 printer set at 2400 baud, but them to stand out and makes them easier GOTO 140 and press ENTER. it can be modified to suit your system. The codes in Line 170 are for condensed print at 3/4-line feed. The baud is set in The Listing: TAXTABLE Line so and may be changed for your printer or omitted for 600 baud. The high­ 1 'TAX TABLE =400 2 'WR ITTEN BY CHARLES GIBSON 150 POKE 65496,0 speed poke in Line 80 and the normal­ 3 'COPYRIGHT (C) MARCH 1991 160 PRINTff-2," TAX TABLE AT- " speed poke in Line 1 so are for the CoCo 3. 4 'BY FALSOFT, INC. : H*l00: "%" They can be omitted or you can change 5 'RAINBOW MAGAZINE 170 PRINTff- 2. CHR$(27l:CHR$(20); them to 65495,0 and 65494,0, respectively, 10 'TAXTABLE-WRITTEN BY CHARLES CHR$(27);CHR$(56); for the CoCo 2. Note that if you press LEE GIBSON-701 SHERMAN-EDWARDSVI 180 E=E+l :F=F+l :M=M+l :N=N+l :O=O+ LLE,IL 62025 l:P=P+l BREAK while the program is counting, the 20 CLS:CLEAR 190 IF P=481 THEN GOSUB 240 computer is left in the high-speed mode. 30 G=.0l:K=.004:L=.01 200 IF E=531 THEN GOTO 230

The counter may count to 700 or 800, 40 DIMBC1000) : DIMC ( l000):DIMD( l0 210 PRI NTff - 2 • US I NG"lll flf . ffff"; B ( E ) : depending on the rate you choose. This 00 ) C( E) : DC E) ::PRINT ff -2, "*";:PRINT J/ - 50 POKE150,18: 'BAUD RATE 2400 2 , US I NG"//### . /Nf " : B ( F ) : C ( F ) : D ( F ) : process takes two or three minutes, and 60 INPUT"ENTER RATE (.03 FOR 3% ) : PRINT/l -2, "*"::PRI NT#-2 ,USING"/f lf when it stops, printing begins. Be sure the ":H ## .##" : B(M) ;C(M): DCM) ::PRI NT#-2, printer is set as close to the top of the page 70 PRINT" INITIALIZING- PLEASE "*" : : PR I NT ff- 2 . US I NG"11 ##11 . lflf" : B ( N as possible. A fu ll printout should fill a WAIT" :PRINT" ABOUT TWO MINUTES" ) : C ( N): DC N): page, skip the perforation, and use about :PRINT" AT HIGH SPEED" :PRINT" 220 PRINT/f-2, "*" : :PRINT/l - 2.USING BE SURE PRINTER IS ON LINE" "llfflflf.ff lf" : B ( 0) : C ( 0) ; D ( 0) : : PR INT# half the next page, depending on the 80 POKE 65497 ,0 - 2,"* "::PR! NT#-2, US I NG"lflflflf . fflf"; percentage rate. You may press BREAK at 90 J=G*H B(P);C(P);D(P) : :PRINT# -2,"*":GOT the perforation if you do not want the 100 IFJ=>K THEN GOTO 120 0 180 second page. 110 G=G+ .0l: GOT090 230 PRINT#- 2.CHR$(27l:CHR$(19l:C 120 A=A+l :PRINT@l 74,A:IFG>l01 TH No responsibility for tax collection is HR$(27) ;CHR$(54): END EN GOTO 140 240 PRINT#-2:PRINT# -2:PRINT#- 2:P assumed. The figures depend on how the 130 B(A)=L :C(A)=G:D(A)=J : L=G+.01 RINT#-2 computer rounds off amounts and may :K=K+.0l : GOT0110 250 E=48l :F=53l :M=58l :N=631:0=68 have an occasional penny difference. But 140 E=0 :F=80 :M=l60: N=240 :0=320 :P l:P=73l: RETURN

24 THE RAINBOW August 1991 Would Yo u Buy a Car Yo u Couldn't Get Fuel For? Why Buy a Computer Yo u 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 rn been written. Compare the software bases represented below. We call these systems the OWL ATo m. Can your alternative to the CoCo be fixed locally? On-site service is available most areas on the ATom. + >

OWL ATom ™ ET or SX For general features of our OWL Spelling Checker A Tom including expansion capabilities, Spreadsheet check out the table below. Comparisons Data Base are also given to several Tandyrn com­ Graphics program puters. The resolution of the optional Communications VGA is also given. UNIX Compa tible Softwa re: Typical systemcomponents: Coherent™ (A UNIX Compatible Processor: 80286- 12 or 80386SX-16 Operating System) Floppy drive: 1.2 or 1.44 Meg CCompilier Memory: lMB Full Screen Editor These highly adaptable computers we Hard Drive: 40 MB, 28 ms. Line Editor call the OWLA Tom TM series. They are not Monitor: TTL Monochro me Text Formatter newcomers to the computer world, but are (720X350) A WK Language and Yacc the current versions of computers which MS-DOS Software: Standard UNIX utilities we have been building for more than 6 MS-DOS (with all utilities) Documentation: years. All systems can be configured with GWBASIC Over 1500 pages and VHS Tape your choice of hard drive, graphics Integrated Software including: One of the best features is the price: monitor, and 6 different processors. The Desktop Organizer with tracker systems described here are typical of the Outlincr new versions of our line which offer 2 Word Processor industry-standard operating systems. First year on-site� service $45 (Most areas) VGA Color (800X600X256 colors) $400. FEATURES 2500 XL* 1000 TL/2� Call 215-837-1917 for other options Processor S >ced) 80286 10) 80286 8)

Total Slots 3 4 16 Bil Slots 3 0 OWL­ l024K 640K l024K 768K WARE P.O. Box 116 VGA CGA Max. Resolution 640X480 640X200 Mertztown, PA Drh·c Slots 3 3 19539 Hard Drive Interface Yes 16 Bil) Ye� 8 Bil) Flo Drive l.44 Me 720K Call to Order: Power Su I Watts) 70 67 (800)245-6228 Warrant ( Parts and Labor) I I Year Year PA and Support:

T Microsoft. Inc.. * Trademarks as follows: Model numbers - andy Corporation, MS-DOS- (215)837-1917 OS/9 -MicroWare. Inc., UNIX- AT&T, Inc. Pro ven On the Razor's Edge of

The New Frontier: The Most Adva nced Color Computer Drive Sy�tems Ever Offered! Fast No-Halt SCSI Floppies Using Optional SCSI Controller Proven Perform ance for Dem anding Home or Business Users This is the most advanced, fully assem- single or double-sided 40 or 80 track •Fast Delivery from factory stock beled CoCo hard drive system offered. drives with the SCSJ no-halt controller. •Optional Real Time Clock with built Using the optional OMTI 5200 SCSI There are several new features with this in battery (3-10 year lifetime) controller with our Hard Drive Inter- improved interface. These include: face, our new system will support •With you have 240 Bytes of no-halt floppy drives. You need nol wait •Full SAS I/SCSI compatible (this al­ battery backed up RAM for password protection or data storage! while typing or worry about clock time . lows many add-ons to the versatile SCSI buss) losses. Why be limited to 3 fl oppy •Same super stable LRTech quality drives? A complete system could now •No-Halt FloJ>I>ies with optional SCSI ., consist of 1-3 standard CoCo floppy controller allows fu ll type-ahead � Interface Price only: drives, 1-2 (or more) hard drives, and $85. during access Real Time Clock-RAM: $25. 1-3 no-halt floppies using standard (not just CoCo) OS/9 format. Yo u can use •Low factory-direct prices

Provides both a 64K Printer Buffer and Serial and Parallel Interfaces. Serial to Parallel Printer Interface (64K Buffer) $65.

Converts serial computer output to parallel printer and also provides a 64K buffer in front of the printer. Serial side FemaleDB-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. l; rom 300-38,400 Baud.

Parallel to Serial Interface (64K Buffer) $45. Same as above except ii con"erls Centronics parallel computer output to DB-25 Female serial. Plug. into an IBM printer cahle to pro\'ide oulpul lo a serial plotter. Parallel to Parallel (64K Buffer) $39. This is parallel printer buffer with no con\'ersion. .., •·•••••••••••••caw•e•·••••• e••fi•o •ae•s••••, • ·····7 Te chnologv ·I

· · · · .· . . . · · · · · · · · · · · · · · - - ...... · .·.·. · ·•·•·•·•·•· •· •·•····· · ··· · ······ · ·: · ····:· ·:· · ·:·:.:.:··· ······ · ··················· ·· ················· · ··•> . - . I OWL WARE Software Bundle I Disk Tutorial/Utilities/Games

Bonus� DISK TUTOR Ver 1.1 Special Learn how to use your disk drive from Buncll!'CI this multi-lesson, machine language DIS!( Soft,\ arc wilh :111y program. This tutor lakes you through Dis� Drive your lessons and corrects your mistakes Purchase'! for a quick, painless disk drive introduc­ tion. (This professionally written tutor DRNES is easily worlh lhe bundle's total price.) 3 UTILITIES Floppy Drive Systems A copy verify, copy, and DOS utility. The Highest Quality for Ye ars of Service 2 GAMES We will select 2 games from our stock. Drive 0 Systems (Half Height, Double Sided, These are sold for more than $20 each. Do not mistake this software with cheap Direct Drives) "Public Domain" software which others $189. offer. All of this sofl ware is copyrighted Drive o systems complete with drive, controller, legal DOS, ca ble, case, and professional in quality. The tutor is power supply, and manual unique with us and has helped thousands of new users learn their disk Drive 1 Systems (Half Height, Double Sided , drive.

only Direct Drives) 5. $27.95 $1 1 (or even better) New 3.5", 720K Drives for OS-9 with case only $6.95 with any Disk Drive Purchase!! & Power Supply

Drive 1 Systems have drive, case, power$1 suppl49.y. (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!

All drives are new and fully assembled. We ship only FULLY TESTED and CERTIFIED at these low prices. We use Fuj i, YE Data, and olher fine brands. No drives arc used or surplus unless otherwise staled Lo you when Our prices include a discount for cash but you order. We appear to be the one of do not include shipping. the few advertisers in Rainbow who OWL·WARE has a liberal warranty policy. During the warranty can truly make this claim. We have 7 period, all defective items will be repaired or replaced al our option at no cost to the buyer except for shipping costs. Call years experience in the CoCo disk our tech number for return. Return of non·defective or un· authorized returns are subiect le a service charae. drive market! We arc able lo provide support when you have a problem. I Drives 1 Ye ar Warranty A software technique that eliminates the cartridge-interrupt problem

Interrupted Again

by Robert Gault aluable information about the Bruce Isted, I found the problem and veri­ routine loads Register A with the GIME IRQ­ proper use of the GIME car­ fied my finding through further testing and Enable image. This is transferred to Regis­ tridge-interrupt line appears in comparison with the Disto/Darling drivers. ter B for temporary storage. Bit 0 of Regis­ two articles in past issues of ter A is turnedoff by the ANDA #% 1 1111110 THE RAINBOW : "The OS-9 A Fix for a Fix instruction. The value in Register Ai the n VA C RT* Interrupt Fix" by Marty Goodman The assembly-language source code in stored in the GIME IRQ-Enable register at (November 1989, Page so), and "CoCo 3 Listing 1 is a modified reprint of Listing 1 $FF92. The result is that the fRQ interrupt is GI.ME CART* IRQS Explained" by Bruce Isted from Bruce's article. The change is com­ disabled. (August 1990, Page 20). Any programmer mented and involves the addition of a single At this point the value in Register B is working with software or hardware that instruction that corrects a subtle error in the stored in $FF92. The assumption, as stated in depends on interrupts should read these logic of the original version. the article, is that this reactivates the GIME articles. The BASIC09 procedure in Listing 2 can IRQ line, and a trapped interrupt can then be I use a no-halt, Disto Super Controller II be used with Bruce's BASIC09 Fi lepatch processed. But this assumption is valid only with my CoCo system. This controller procedure to produce a new clock module. if the IRQ-Enable image has Bit 0 set. This worked fine in the no-halt mode until I Please consult the original article for spe­ cannot be reasonably assumed under all installed a Multi-Pak Inte1face. I found I cific information about Fil epatch. conditions. The single instruction I added, could not use the no-halt drivers with the Use a text editor or the OS-9 bui ld and ORB #1, guarantees that Bit 0 is set and the CoCo 3, OS-9 Level II, the controller and the edit commands to enter the procedure in IRQ line is indeed enabled, if only briefly. Multi-Pak Interface. Because of these diffi­ Listing 2. Save the file as cl oc k60 . ptc in Note that since the IRQ-Enable register image culties, I found the previously mentioned the root directory of a backup of your Boot/ has not been changed, the system could not articles of great interest. Config/BASIC09 disk. Also, put a copy of be expected to eventually reset itself to Bruce Isted stated in his article that the Fi l epa tch. b09 from the August 1990 issue whatever status has been indicated. no-halt Disto drivers use the GIME-toggle in the root directory of this disk. I am happy to report that the Disto SC-II technique and should handle interrupts After copying both files, make sure the controller now works perfectly in the no­ correctly. I disassembled the drivers and Boot/Config/BASTC09 disk is Drive /dO. halt mode, both with and without a Multi­ determined they do indeed use this tech­ Enter the following commands: Pak Interface. nique. So having proper drivers is clearly not enough. I eagerly tried the toggle tech­ load /d0/cmds/basic09 RAINBOW ON DISK Subscribers nique presented by Bruce for the clock chd /dO/modules For your convenience, Fil epatch. b09 module since I was reluctant to do the rename cl ock. 60hz cl ock.60hz .old is included with cl ock60. ptc on this hardware modification described in Marty basic09 month's RAINBOW ON DISK. To copy both Goodman's article. files, insert the July 1991 RAfNBOW ON DISK I found the patches as listed in Bruce's At BASIC09's B: prompt, enter in Drive I dO and enter August 1990 article do not work. I had no reason to doubt the technique should work load /d0/fi l epatch. b09 copy -s /d0/source/fi lepatch.b09 since the information originated with both run fi l epatch ("cl ock60. ptc" ,"cl /dO/fi l epatch Tandy and Kevin Darling. After careful ock.60hz.old","clock. 60hz"l examination of the code in the article by and When Fi l epatch finishes its work, enter Robert Gault has a Ph.D. in chemistry. He bye to exit BASIC09. At this point you can copy -s /d0/sourc e/cl ock60.ptc began programming with a gray CoCo 1 enter chx /dO/cmds and run config to d0/modules/clock60. ptc and has written articles fo r THE RAINBOW create a new system disk with the modified and manyfo rmer Color Computer publica­ clock module. Follow the prompts, inserting a backup 832 N. tions. He can be contacted at Renaud, of the Boot/Config/BASIC09 disk as the Grosse Pointe Woods, Ml 48236 Please Nuts 'n Bolts destination disk and the RAINBOW ON DISK SASE include an when requesting a reply. As originally published, the i rqpo 11 . asm as the source disk. 0

28 THE RAINBOW August 1991 I OS-9 Level II PUT YOUR COCO TO WORK...

Listing 1: i rqpol l.as m �CERTIFICATION ®�:d1�g S(A.L D.Pol l equ $0026 D.IROER equ $0092 CHECK WRITER. Uses your printer and stan­ D.IROS equ $00AF dard bank checks to help you monthly with IROEnR equ $FF92 yo ur accounts. Saves files, reloads, edits IROPol l jsr [D.Po ll] and pauses printer to let you write In bee IROPol l amounts. Has Index screen. Manual. $19.95 GToggle lda #%11111110 BANKMAN. Contlnuously updates your check anda IROEnR stb >IROEnR GENERAL STATISTICS. Computes over 50 cl rb stats, Including Standard deviation & Std. rts error, Covariance, Correlation, Chi-Sq. & ANOVA. Includes screen tables and manual. Edits, Saves & Prints data. User friendly. Great for H.S. & College students. $29.95 ENVELOPE WRITER. Prints return and mall­ ing addresses directly on the envelope with

Listing 2: cl ock60 . ptc a DWP or on tractor envelopes with a DM P. Saves on labels! Memorizes return addres­ * Fi l ePatch patch fi le to add ses. Prints custom fonts with all printers. * revi sed GIME CART* toggle *to unmodified Cl ock.60Hz Perfect for small or large jobs. $17.95 * from Coco 3 05-9 Level I I BRAINBUSTERS. Multiple Choice/True-False 0002 01 02 c Te st Writing program. Lets you Save, Edit, C 0003 EE 0C C 0008 17 F6 Select, Randomize & Print. Many more op- C 000A AB C6 tions. Use for business or fun. . . $29.95 C 0012 09 0A THE EXAMINER. Use with above program to C 0015 7E 9C c 0018 00 lE take "On Screen" tests. Grades and Saves C 0018 41 5F results. For home or classroom. . $19.95 c 0034 04 06 TRIVIA 1-3. Try these BRAINBUSTER quiz· C 0035 DC 30 C 0036 26 SD zes. History, Sports, Sci., etc. Each $5.95 C 0058 C4 C2 BASEBALL STATS. Keeps track of 20 stats. C 0086 DC 9E Continuously updates. Full of options! User C 0088 DD 9F C 00BE 06 04 friendly. Includes manual. . $29.95 C 00BF AD SD QUICK STATS. A baseball scoreboard ! Keeps C 00C0 9F Bl track of over a dozen stats. Lets you Save, C 00Cl 00 20 C 00C2 26 02 Edit, and Print out data. Manual. $22.95 C 00C3 24 SD BALL CARDS. A database for all sports C 00C4 FA B3 card collectors. Super fast find and re- C 0191 D6 C6 trieval of record files. Manual. . C 01B9 70 52 . $19.95 C 01C5 4D 2F COCO LABELS. Prints fancy fonts with all I 0037 02 00 57 printers. Select names from alphabetical I 0090 08 AD �F 00 26 24 FA 86 FE screen Index. Prints duplicates. . .$19.95 I 0098 08 94 AF 97 AF 96 92 lF 89 I 00A0 08 84 FE CA 01 B7 FF 92 F7 CALCULATOR. One of a kind. Prints out! I 00A8 04 FF 92 5F 39 Simulates adding machine. All standard v functions plus memory banks. . $14.95 * CRC bytes for comparison only 7 *C 0207 D2 E4 Specify COCO 1, or TRADING POST *C 0208 BA 6D 2 3. Disk Only. Send check or *C 0209 FD lB DISTRIBUTORS OF money order. Add $3.00 5-STAR SOFTWARE �·· Ship ping/Handling. ' Illinois Residents add P.O. BOX 3453 CARBONDALE, IL 6.25% Sales Tax. 62902

August 1991 THE RAINBOW 29 coco Consu ltations

Serial Connections by Marty Good.man Contributing Editor

/' m having a problem connecting a make sure the device uses Pin 20 for hand­ dispense with the modems and just use a • printer to the 4-pin (bit-banger) se­ shaking and that it uses a Low signal to null-modem cable. However, the rial port on my CoCo 3. I used a modem mean that the printer or buffer is busy. Commodore 64's serial port is not standard. cable with a DB-25 connector that worked Some printers allow you to set which pin It uses RS-232 signal protocol, but not RS-232 justfine on my modem. What is the trouble? the handshake signal is on and/or the polar­ voltage levels. Instead, it uses TIL voltage Carl .!. Boll ( CBJ) ity of the busy handshake using DIP switches levels. To make matters worse, the disk Chicago, Illinois in the printer. data-storage format is utterly incompatible When you use the 4-pin port to talk to a with CoCo disk controllers, so no "read Proper cables for connecting a printer printer, serial data need only go one way ­ alien disk" program is possible on the CoCo. to the 4-pin port on the rear of the to the printer. The only communication in If you were a hacker, I'd suggest you make CoCoA diffe r in their wiring from proper the other direction is of a far less complex level-converter circuitry for the cables for connecting a modem to the port. sort than serial data. A handshake line that Commodore 64 serial port (using 1488 and The pinout for a modem cable is as follows: is either High (printer ready to receive data) 1489 or equivalent level-converter chips) or Low (printer is busy) tells the computer and then use a null-modem cable. How­ 4-pin DIN DB-25 Description to stop sending data. Thus, Pin 4 of the ever, since you have terminal programs and I 8 carrier detect CoCo serial port, which is used to receive modems working with both computers, 2 3 data from modem serial data when the port is used with a perhaps the simplest approach would be to 3 7 ground modem, is reprogrammed by the printer upload the files in question from your 4 2 data to modem driver to act as a handshake line. Pin I is not Commodore to your Workspace on Delphi. used because it is an oddball and compli­ Just type WS at the CoCo SIG prompt, then While, for a printer cable, you'd typically cated control pin inside the computer, and type XUP to Xmodem upload (you can use have: for non-interrupt-related functions, it is best YUP and ZUP for Ymodem and Zmodem) left alone. It is used for modem communi­ and follow the prompts. Then logon with 4-pin DIN DB-25 Description cations as a carrier detect line only because your Color Computer, go to Workspace and I n/c all other available lines on the 4-pin port are XDOW (YDOW or ZDOW) the files using Xmodem 2 20 busy handshake already used. (Ymodem or Zmodem). 3 7 ground You may still encounter some problems 4 3 data to printer Back-to-Back Modems because Commodore ASCII files are not /' m trying to transfe r text.files.from a international standard ASCII. If your termi­ Note that you may have to check the • Commodore 64 to a Color Computer. nal program on the Commodore 64 does not manual for your printer or printer buffer to I have modems hooked to both the make certain translations, you may have to Commodore 64 and my CoCo 3. I have also write a simple BASIC conversion program connected the two wires.fi'omthe telephone that changes the values of certain charac­ Martin H. Goodman, MD., a physician line coming out of the modems. I am having ters in the ASCII files you got from the trained in anesthesiology, is a longtime trouble getting one modem to answer the Commodore. The problems involved in­ electronics tinkerer and outspoken com­ other one, though. Can you help me? clude reversal of upper- and lowercase and/ mentator - sort of the Howard Cosel/ of Don Vaillancourt (DON\/AIL) or certain characters on the Commodore the CoCo world. On Delphi, Marty is the Mississauga, Ontario that are used for graphics and control func­ S!Gop of RAINBOW' s CoCo SIG and database Canada tions. Your approach of hooking one mo­ manager of OS-9 Online. His non-computer dem dl.rectly to another, while a bit overly passions include running, mountaineering Data transfer between a Commodore complicated, should work. Perhaps you and outdoor photography. Marty lives in 64 and a CoCo 3 is a bit tricky. With failed to put one modem into Answer mode. San Pablo, California. mostA other computers, I'd have told you to If the modems are Hayes-compatible, type

30 THE RAINBOW August 1991 AT A when in Command mode to force one the time were not damaged, bur my CoCo 2 of the CoCo 3 that you likely can get an modem off hook and into Answer mode. would nor work. A closer inspection fo und image using your CM-8. However, you will With the second modem in Command mode, that thefu se between the AC and the trans­ be able to get only six colors plus black and enter A TD to put it into Originate mode and fo rmer had blown. Why ? How should I white with the CM-8. You will not be able to attempt to connect it to the other modem. proceed with repairing my fa itl1ful, old display all 14 colors (plus black and white) CoCo 2? that are supported by CGA video. The rea­ RS-232 Signal Levels Kelly Thompson son is that the CM-8 has no provisions for Why does RS-232 signal protocol dic­ Oris, Colorado supporting the Intensity line of the CGA • tate the use of +12 and -12 volts? I protocol.Just connect all like-named signal thought inside today's computers - espe­ The CoCo (all models) always has lines between the CM-8 and the IBM CGA cially laptops -5 volts is the only voltage power going to the power transformer port of the I OOOHX, and you likely will get an level used. whileA it is plugged in. The power switch on acceptable image, apart from the fact that Tika Car the CoCo interrupts the low voltage as it the resolution of the CM-S's screen is so Rochester, New York leaves the secondary of the transformer. poor (.51 mm dot diameter) that it is mar­ This explains why most people note their ginal for display of SO-column text. There is RS-232 protocol specifies that a one is CoCos are a bit warm near the transformer, a remote possibility that sending TTL-level a voltage of between 5 and 15 volts even when not turned on. I believe Tandy video signals into the analog-level inputs of andA a zero is a voltage of between -5 and -15 must have designed the CoCo this way for the CM-8 could damage its input chip, though volts, both at the transmitter site. It also reasons relating to the added expense of in­ to elate I've had no reports of such damage specifies that, by the time the signal gets to stalling a 110-volt AC switch and/or the from others who have used their CM-8s with the receiver, the one must be at least 3 volts hassle of clearing such a switch with Un­ IBM-type CGA video signals. and the zero must be no higher than -3 volts. derwriters Laboratories or some federal Th is results in a minimum distinction be­ regulatory agency. Thus, when lightning Repackaging the CoCo tween zero and one of 6 volts. In practice, struck your power line, the surge ran right I know you don'tlike using a Y cable RS-232 voltages tend to be around Io to 12 into the transformer blowing the AC fuse. If • or 40-pin ribbon cables on the CoCo volts (plus and minus), resulting in a dis­ you are 1 ucky, mere replacement of the fuse system bus. However, I may befo rced to use tinction between a one and a zero of over 20 will restore your CoCo to operation. It is at least a short length of such cable in the volts. This great voltage difference between possible, however, that the surge cooked course of shoe-horning my CoCo 3, Multi­ the one and zero is what makes RS-232 such some of the windings on the primary of the Pak lnte1face and various devices into a PC! a rugged signal-transmission protocol. Even transformer, which would require replace­ AT-type case. ls it any better if I run the 40- when RS-232 signals are sent over wires of ment of the transformer. The CoCo' s trans­ conductor cable between the Multi-Pak and over I 00 fe et, the smal1 amount of degrada­ former supplies roughly 20 volts center­ a given device, as opposed ro between the tion of the voltage, and noise caused by that tapped. You can replace it with a 2-amp 18- CoCo and the Multi-Pak? /-lowabout using run of cable, is unlikely to affect the ability volt center tapped transformer of the sort a very short length of cable to mount the of the receiver to figure out what the trans­ available from Radio Shack. Of course such Multi-Pak at angles of 90 or 180 (back-ro­ mitter is sending. Thus, even though a lap a replacement will have to be mounted back) degrees with respect to the CoCo computer may indeed use S volts for nearly outside the CoCo, since it will not fit inside motherboard? Is there any way ro make a all its functions, it has a source of + 12 and the case. Note that CoCo 2s can be found more reliable and rugged wire connection -12 volts (sometimes just inside one chip, used at garage sales and swap meets for S 1 o between a CoCo and a Multi-Pak or be­ the RS-232 level-converter chip) to produce to $25, so you might not want to spend too tween a Multi-Pak and another device? industry standard RS-232 voltage levels. much time and money fi xing the one you Bob Kemper (BOBKEMPER) In contrast, TTL signal levels specify a have. Farr Stewart, Georgia zero with a voltage of between .9 and 2.4 volts and specify a one with a voltage of 3.4 RGB-I Meets RGB-A Many years ago I made a repackaged to s volts. As you can see, the distinction I have a Tandy 10001-1x with a 9-pin Color Computer in which I had the between a one and a zero is far smaller, as • color RGB connector. I want to adapt MultAi-Pak mounted back-to-back with the is the range of acceptable voltages. Thus, my CM-8 ro work with this video output.How CoCo l motherboard. I used a very short TTL signal levels are far more susceptible to do I do this ? What is the pinout fo r the length (less than one inch) of 40-conductor noise and voltage degradation when run connector on.my 10001-1x ? ribbon cable. I also ran 14-gauge ground over long cables. IBM printer cables, for David 1. Fall wires between the ground tabs of the Multi­ example;are best kept under 12 feet. Robust West Valley, Utah Pak and the CoCo motherboard. With this TTL parallel-printer cables (larger gauge arrangement, I never had the slightest relia­ wire and/or cables with every other wire at The IOOOHX uses IBM CGA-type RGB bility problem. So, yes, you can use a rib­ ground, or using twisted pairs of ground video. The standard pinout on a DB-9 bon cable to bend the connection between and signal for each data and control line) connectorA for this is as follows: your CoCo 3 and Multi-Pak, provided you can work at lengths of 25 feet or more, but keep that cable as short as possible (under are not generally recommended. Pin Description one inch) and you also link the grounds on I, 2 Ground both boards with a nice, thick, ground wire Interfacing with Lightning 3, 4, 5 Reel,Green, Blue (respectively) or strap. It is equally bad, however, to have The power line near my house was 6 Intensity a long ribbon cable between the CoCo and • rece111ly struck by ligh111i11g. At that 7 not used Multi-Pak as it is to have one between the time, my CoCo 2 was plugged in, but was 8, 9 HSync and vsync (respectively) Multi-Pak and a plug-in device. Some not turned on. After the lightning struck, devices are far more sensitive to the pres­ some of the other appliances that were on at CGA RGB video is similar enough to that ence of a cable. A floppy disk controller, for

August 1991 THE RAINBOW 31 RAINBOW INDEX A complete index for, July 1981 through June 1984, is printed in the SEP 83 Education $2.95 0 MAR 88 Business $3.95 0 July 1984 issue. Separate copies are available for $2.50 plus 50¢ OCT 83 Graphics $3.95 0 APR 88 Home Help $3.95 0 MAR 84 Business $3.95 0 MAY 88 Printer $3.95 0 handling. Indexes for subsequent years are published annually in the APR 84 Gaming $3.95 0 JUN 88 Music $3.95 0 July issues of THE RAINBOW. MAY 84 Printer $3.95 0 JUL 88 Anniversary $3.95 0 JUN 84 Music $3.95 0 TOTAL JUL 84 Anniversary $3.95 0 VOLUME 8 AUG 88 Games $3.95 0 KY RESIDENTS ADD 6% VOLUME 4 SEP 88 Education $3.95 0 AUG 84 Games $3.95 0 OCT88 Graphics $3.95 0 CANADIAN RESIDENTS ADD 7% GST SEP 84 Education $3.95 0 NOV 88 Data Comm. $3.95 0 U.S. MAIL CHARGE OCT84 Graphics $3.95 0 DEC 88 Holiday $3.95 0 NOV 84 Data Comm. $3.95 0 JAN 89 Beginners $3.95 0 SHIPPING & HANDLING DEC 84 Holiday $3.95 0 FEB 89 Home Help $3.95 0 JAN 85 Beginners $3.95 0 MAR 89 Hardware $3.95 0 U.P.S. CHARGE FEB 85 Utilities $3.95 0 APR 89 Business $3.95 0 MAR 85 Business $3.95 0 MAY 89 Printer $3.95 0 TOTAL AMOUNT APR 85 Simulations $3.95 0 JUN 89 Summer Fun $3.95 0 MAY 85 Printer $3.95 0 JUL 89 Anniversary $3.95 0 ENCLOSED JUN 85 Music $3.95 0 Article Reprints JUL 85 Anniversary $3.95 0 VOLUME 9 In instances where a given issue is now out of print and not available for AUG 89 Beyond BASIC $3.95 0 VOLUME 5 SEP 89 Education $3.95 0 purchase, we do provide photocopies of specific articles. The cost for this service AUG 85 Games $3.95 0 OCT89 Graphics $3.95 0 is $1 .50 plus 50 cents S/H per article. This service is provided on/y in the case of SEP 85 Education $3.95 0 NOV 89 Data Comm. $3.95 0 out-of-stock issues. OCT 85 Graphics $3.95 0 DEC 89 Holiday $3.95 0 Name NOV 85 Data Comm. $3.95 0 JAN 90 Beginners $3.95 0 DEC 85 Holiday $3.95 0 FEB 90 Home Help $3.95 0 Address JAN 86 Beginners $3.95 0 MAR 90 Hardware $3.95 0 FEB 86 Utilities $3.95 0 APR 90 Business $3.95 0 City State Zip MAR86 Business $3.95 0 MAY 90 Printer $3.95 0 APR 86 Home Help $3.95 0 JUN 90 Summer Fun $3.95 0 O Payment Enclosed, or MAY 86 Printer $3.95 0 JUL 90 Anniversary $3.95 0 Charge to my: VISA MC AE JUN 86 Music $3.95 0 0 0 0 JUL 86 Anniversary $3.95 0 VOLUME 10 CARD # AUG 90 OS-9 $3.95 0 VOLUME 6 SEP 90 Education $3.95 0 EXPIRATION DATE PHONE () AUG 86 Games $3.95 0 OCT 90 Graphics $3.95 0 SEP 86 Education $3.95 0 NOV 90 Data Comm. $3.95 0 SIGNATURE OCT 86 Graphics $3.95 0 DEC 90 Holiday $3.95 0 NOV 86 Data Comm. $3.95 0 JAN 91 Beginners $3.95 0 DEC 86 Holiday $3.95 0 FEB 91 Home Help $3.95 0 TO ORDER BY PHONE (credit card orders only) call (800) 847-0309, JAN 87 Beginners $3.95 0 MAR 91 Hardware $3.95 0 9 a.m. to 5 p.m. EST. All other inquiries call (502) 228-4492. FEB 87 Utilities $3.95 0 APR 91 Music $3.95 0 MAR 87 Business $3.95 0 MAY 91 Printer $3.95 0 send to: THE RAINBOW, The Falsoft Building, P.O. Box APR 87 Home Help $3.95 0 JUN 91 Summer Fun $3.95 0 MAY 87 Printer $3.95 0 JUL 91 Anniversary $3.95 0 385, Prospect, KY 40059 JUN 87 Music $3.95 0 JUL 87 Anniversary $3.95 0 VOLUME 11 AUG 91 Graphics $3.95 0 Please send me the following back issues: VOLUME 7 Games Education VOLUME 1 VOLUME 2 Graphics Premier Issue Printers $2.95 0 Data Comm. Holiday Beginners Utilities example, is least likely to tolerate any You have found one of the many er­ that can handle higher-density ( 1.2-Meg and amount of ribbon cable between it and the rors in Super Extended BASIC. The 1.44-Meg) floppies and include OS-9 drivers Multi-Pak. A serial card, however, is most errorA trap neglects to reset the output device for such floppies. likely not to mind being extended some to the screen so, if the error is a disk error, inches from the Multi-Pak. the error message is printed to the disk Yes, there are tricks you can use to make buffe r instead of to the screen and you don't a ribbon-cable bus extender less likely to see it. Thefix is to put PO KE 111 , 0 at the be­ cause problems. You can make the exten­ ginning of your error-trap routine to set the der from separate wires for each signal line output to the screen. I don't know why you instead of wires running in parallel all the got a UL error. way. This minimizes interference between one wire and another. Better yet, use a High-Density Drives twisted pair of separate wire (with one wire A I am considering the possibility of of each pair being ground) for every one of � using 3'12-inch, 1.44-megabyte drives the 35 signal lines (I exclude the two ground, with my OS-9 system. How many tracks do the +5 volt line, and the +12 and -12 volt they have and what hardware will I need? lines). Such a twisted-pair extender cable Philip Brown would be quite tedious to make, but I sus­ Berkeley, California pect it would offer a substantial advantage over any ribbon cable in terms of its ability Both 720K and 1.44-Meg 3Vz-inch d.Iives to work reliably at moderate lengths. have 80 tracks. However, the 1.44- MegA drives use a data density and data­ Super BASIC Errors transfer rate that is I am. having a problem with the ON twice that of 720K A ERROR GOTO fu nction in Disk Ex­ drives. Normal CoCo tended� Color BASIC 2.1. When I got an error floppy controllers reading a disk file, the computer could not cannot handle such � n� n lll\Yl\.li\fil rl\filll\Yl\.I [;fe/iS) lril � nug,'77'77g,lE [; [6)iril �/.R,.�@.l E[; find the line number of my GOTO statement, drives. Some CoCo We've put our most popular groups on sale to help you despite thefa ct I had provided it properly. hard drive systems beat the summer heat. Sale ends August 31, 1991. What's going on here? include floppy con­ NE W NEW NEW NEW NE W NEW Fred McDonald trollers on the hard Deception Path: Sliding tiles challenge you New Haven, Connecticut drive controller card ll&J in this ever- changing . Fun for all mu ages. 1-4 players. $19.95 • Soviet Bloc: Form solid rows from falling block • • shapes in this super Tetris-type game. •• • • •• $19.95 •••• • Never Forget! •• r s h c ut ou pl yo u ��� th� �a� �� ;���t ��� ��e� ;;�n�!d ��me �ii i��=� �� Each program plays on a 128K CoCo3. Disk required. perform repetitive maintenance tasks on Gcal data1 files? or, perhaps you needed to print Gcal calendar data, and Joystick required for Deception Path. couldn't. Systems' OS-9 Calendar Utilities will handle all of theseMV tasks and more! These utilities make excellent companions to the Gcal program supplied with Save $10.00! Buy both for only $30.00! Multi-Vue. Or they may be used independently to perform many handy scheduling tasks for you. Requires Tandy Color Computer w/128k, disk drive, and Level 2. Multi­ SOLITAIRE CARD GAMES Vue Recommende3 d. OS-9 Classic Solitaire: Three games in one. , $14 . 95 and Pyramid on one disk for just $14.95 High - Finance Perform a wide variety of financial anal¥sis calculations La Belle Lucie: Very addicting. Once played, this and create schedules of periodic data with this easy to ti e pl ca n g f ���isi��� ;�� ju:� ! ��i�t and I ����� =��y �������! solitaire quickly becomes a favorite. $14.95 t n- to h ! ��� �����a� ��i�ki� ��� 1�a��i�� ���lu��� p�:���t/ i�t��: e, ing oa rt on cia io All play on 128K CoCo3, with joystick and disk. ���� m���� R;��1l-e! �a��� ��!�; Com����� j � 1��� (256k/512k/1024k recommended) , disk drive, mouse/joystick,j Solitaire Special: Both disks for just $25.00! and OS-9 Level 2 w/Wind int module. Multi-Vue recommended. Tazman (requires OS9/Lll and 512K) $24.95 $2 4. 95 Kyum-Gai -To Be Ninja. OS9 Version (51 2K/OS9) $29.95 Software Developers: Systems needs quality OS-9 software to market. If MVyou have written (or are writing) software you would like to market, contact us for details! Zenix (CoCo3 128K Disk) $29.95 Crystal City (CoCo3 128K Disk) $34.95 Armchair Admiral (CoCo3 128K Disk) $14.95 Please add $2 . 50 shipping and handling to all orders . Riddle of the Ring (CoCo3/CoCo2 128K Disk) $1 0.00 Games Pack (CoCo3/CoCo2 128K Disk) $1 0.00 Software submissions invited MV Systems Checks, Money Orders, MasterCard & Visa $2.50 S&H P.O. Box 818 COD $2.00 extra. WA addresses add 8.2% sales tax. Arvada, CO 80001 " Eversoft Games, Ltd (303) 420-7777 (206) 653-5263 P.O. Box 3354 1 Oam - 6pm PST ..Arl ington, WA 98223 30 day money back guarantee

August 1991 THE RAINBOW 33 A battle of wits against alien forces

I , \'�

by Marshall Weisenbrger

elcome to the world of But for each successfully completed wave you can alter Megatank so you can use the Megatank. Your mis­ - without a missed shot - you gain one space bar in place of the second joystick sion is to save your Super Saver. Super Savers can be very button. To do this, replace Line 260 with home planet from alien helpful since they destroy all onscreen ali­ invasion. But to accom­ ens. To activate a Super Saver, press the 260 HPUT(Al ,179J-(Al+36,19 1),l,P plish your goal, you must battle five differ­ second button on your two-button joystick. SET: A$=INKEY$: IF A$0"" THEN G ent waves of aliens - choppers, blades, OSUB 560 bats, saucers and fireballs. For each suc­ Megatank Modifications cessful attack, you are awarded a certain If you don't have a two-button joystick, Megatank is written for use with an RGB numberof points, based on the type of alien. Points are awarded as follows:

Choppers 100 points Blades 250 points Bats 500 points Saucers 1000 points Fireballs 1500 points.

As written, Megarank requires a CoCo 3 and a two-button joystick. Ifyour joysticks have only one button, see the modifications listed below. You begin the game with four extra tanks (called ships) and two Super Savers. To shoot, just press the firebutton. For every five missed shots, you lose one tank. The Listing: MEGATANK

1 'MEGATANK 40 ' * MARSHALL WEISENBURGER * 2 'BY MARSHALL WEISENBURGER Marshall Weisenburger is pursuing a de­ 50 ' * 8/20/87 * 3 'COPYRIGHT (C) AUGUST 1991 gree in electrical engineering.from Bradley 60 ' **************************** 4 'BY FALSOFT , INC. 70 ON BRK GOTO 1970 University. He has been programming with 5 'RAINBOW MAGAZINE 80 POKE 65497 ,0:P$="01L225CDEFG" ' **************************** a CoCoforovertwo years. You may contact 10 90 GOT0830 20 ' * MEGA TANK * 911 N. 0614, 100 '***MAINLOOP*** him at University, Geisert Peoria, 30 ' * BY * IL 61606. Please include an SASE when re­ questing a reply.

34 THE RAINBOW August 1991 monitor. To alter it for use with a color 110 A=JOYSTK(0) 10 composite monitor or TV, make the follow­ 120 IFA53THENAl=Al+8 l,2:HCOLOR0,0:HLINE(24 9,7ll-(279 140 IFA1<0THEN Al=0:HPUT(Al,179) ,79l ,PSET.BF:HCOLOR4,0:HPRINT(31 -(Al+3 6,19 1),3 :Al=l98 ,9),Ml :GOSUB670:GOT0110 l) Change the values of Variable V as shown 150 IFA1>199THEN Al=l99 :HPUT(Al . 320 GOSUB750 in this table: 179)-(Al+3 6,19 1),3:Al=0 330 HCOLOR0,0:HLINEl35THENGOSUB640 :GO +17l.PSET.BF:X=322 : !=0:J=J+l SUB600 340 S=S+T :GOSU8440 Line# Value Change to 170 D=D+.2:E=S IN(D):!FE>0THEN X= 350 IFJ=lANDG=lTHENGOSU8600 : GOTO 450 38 22 X+l ELSE X=X-I 100 460 36 6 180 IFX=322THEN210 360 IFJ=2THENGOSU8600 : GOT0100 190 IFX>207THENX=207 370 GOT0110 470 36 6 200 IFX <0TH ENX=0 380 IFG=lTH EN110 480 55 51 210 H=H+l :IFH=lTHENPA LETTE13,W:P 390 GOSU8760 1920 36 6 ALETTE14. V 400 S=S+T :GOSU8440 220 IFH=2THENPALETTE14,W:PALETTE 410 HCOLOR0,0:HLINE(Xl,Y)-(Xl+28 15.V ,Y+l7),PSET.BF:Xl=329 : J=J+l 2) In Line 480, change W=32 to W=7. 230 IFH=3THENPALETTE15,W:PALETTE 420 IFJ=2THENGOSU8600 : GOT0100 13,V:H=0 430 GOT0110 3) Replace lines 1640, 1960 and 1970 with the 240 HPUT(X,Y)-(X+28 ,Y+l7),U,PSET 440 '*** SCORE *** : I FG=lTHEN260 450 IF S=l000THEN HCOLOR0.0:HLIN fo llowing: 250 HPUT(Xl ,Y)-(Xl+28 ,Y+l7l.U.PS E(X.Y)-(X+28 ,Y+l7),PSET.BF:HLINE ET (Xl,Y)-(Xl+28.Y+l7),PSET.BF:GOSU 1640 PALETTE 0,0: PALETTE 1,13: 260 HPUT(Al ,179)-(Al+3 6,19 1),l,P 8600 : GOSUB800 :R=4 :T=250 :U=5 : V=38 PALETTE 2,12: PALETTE 3,23: PALE SET: I FBUTTON(l)=lTHENGOSUB560 :W=0 : Il=3 : M2=0 TTE 4,33 : PALETTE 5,33: PALETTE 270 IFBUTTON(0)=0THEN110 460 IF S=4000THEN HCOLOR0,0:HLIN 6,6: PALETTE 7,51 : PALETTE 8,9: 280 SOUND230 ,l:B=Al+l9:HCOLOR3 ,0 E(X,Y)-(X+28 ,Y+l7l.PSET,8F:HLINE PALETTE 9,0: PALETTE 10,51: PALE :HLINE (B.15 5)-(B,0), PSET: HCOLOR (Xl,Y)-(Xl+28 .Y+ l7).PSET,8F:GOSU TTE 11,32: PALETTE 12,0: PAL ETTE 0,0: HLINE (8,15 5)-(8,0),PSET 8600 : GOSU8800 :R=6 : T=500 :U=6 : V=36 290 IF X+l4>8-14 AND X+l4<8+14 T :W=0: I l=4 : M2=0 13,9: PALETTE 14,0: PALETTE 15,0 HEN 320 ELSE IF Xl+l4>8-14 AND X 470 IF S=l 2000THEN HCOLOR0,0:HLI 1+14

1970 CMP: POKE 65496 ,0 0

INT'L & TECHNICAL: P.O. Box 733 Maple Valley, WA 98038 (206) 432-1 814

& New EgQ.. :111d tlwt Jar tlw ,':>'ofi 11Burke 'sAU f.'U S(, Burke SumIflt'. Killer! Till:�· montl1 WU}', w.k.e $5.()() ollrl1e ;f(/vt'1t1si:'dpna0 o[ t';/(.11 b'urkt' & Hur.kt' sofi. w;1rt' -01I i.Y World Class Chess lets product )'OU order.' Ordffs must be postm<1r.kt'dp1ior 1 o St>pt t>m bff J, J 99 J ordff l:.vphone Jar you use your Tandy t' Vt'11J:1st t'rst>n ice. Cyrus Chess cartridge 256K: "'"' >= 51 2K under OS9 Level 2. WORLDOS9 So CLftwareASS CHE(*SS">= -- Use your Tandy Cyrus Chrequess cartridgeired): under OS9 L2 $29.95 We've added mouse, FILE SYSTEM REPACK 1.1 -- Popular disk defragmenter. NEW VERSION! $29.95 disk, and windows FILE RECOVE RY SYSTEM -- helps rebuild crashed disks $24.95 support. Looks great, R. S. B." -- Real Disk BA SIC for Level 2 (BASIC ROM req uired). $39.95 and plays a mean game EZGEN 1.09 -- OS9 bootfile editor $19.95 of chess! Only $29.95. CYBE RVOICE (Software only)" -- Run your S/S SuperVoice w/ OS9! $24.95 (C)mrs C11ess C1ntddg<' $1 9.95 PE RT ASCII" -- Multi-user scrambled letter word game. ;J v;ii/;1 bf<' from TA /\l[! Y WILD & MV -- Wildcard & move directory entry utilities. $19.95 Co11s111n<'r ;\/;J1J, f�'.N .26-3064, $.29. 95) "' 256K: 51 2K WA RESIDENTS ADD HYPEBASICR-1/0 Software -- 16K Har d( disk>= I big floppy** BAS >=IC . Specifyrequ B&Bired) or DISTO: hard disk $29.95 DAGGORPATCH -- Disk patch for Dungeons of Daggorath. $ 9.95 8.2% SALES TAX. U.S. COD's add $3.75. ;1//o ws Mrg<' l/oppy ;111d hard disk com<"s or1 flopp y disk & is Min. U.S. shipping HYd1 il."cto11PEk' -..-110s, good /JFL co111pi1 tib1li(V .Ef If.<''k();\f 1Pco11JJ11e11d;Jb/<".HY PER-l-C1 for BBS &: B4S!C use, but it $4.00. Min. to Canada S/ W. nith HYPER-f.{) $5 .00. Please allow 2 =��::�::,;:,�::��il�:':<'p:·:;ll·�:�}J;:::/��fL weeks for deliwry. (h·emight or 2nd- day I•I $99.95 CYBE RVOICE -- Speech Synthesizer w/ OS9 software. • t available for in-stock COCO XT -- Adapts PC hard drives to Coco. OS9 S/W included. $69.95 : items. Softwar._. upgrades COCO XT-RTC -- coco XT, with battery backed real-time clock. $99.95 : $5 .00 each w/receipt, XT-ROM -- Boo� OS9 from B&B hard disk automatically. $19.95 : including U.S. shipping. 4' Hard disk cable set (Extra long -- standard cables are 2' or shorter) $1 7.50 ' ' ...... ······ ......

August 1991 THE RAINBOW 35 480 IF S=30000THEN HCOLOR0,0:HLI 900 HCOLOR8,0:HLINE(29,16)-(29,l 93,12),PSET:HLINE(287,ll)-(293 ,l NECX,Y)-(X+28 ,Y+17),P SET,BF:HLIN 8) ,PSET:HLINE(30,15)-(47,16) ,PSE 1),PSET:HLINE(287 ,ll)-(293,10) ,P E(Xl,Y)-(X1+28,Y+l7),PSET,BF:GOS T,BF:HLINE(32,17)-(33,18),PSET,B SET:HLINEC282,ll)-(27 5,12),PSET: UB600 : GOSUB800 :R=8 :T=l500 :U=8 :V= F:HLINE(36,17)-(37,18) ,PSET,BF:H HLINE(282,11)-(27 5,ll),PSET:HLIN 55 :W=32 :I1=6 : M2=0 LINEC40,17)-(41 ,18),PSET,BF:HLIN EC282,ll)-(275,10), PSET 490 HCOLOR0,0:HLINEC254,23)-(316 E(44,17)-(45,18) ,PSET,BF:HLINE(4 1140 HCOLOR15 ,0:HLINE(287,11)-(2 ,30),PSET,BF 8,16)-(48,18),PSET 93 ,9l, PSET:HLINE(287 ,ll)-(293 ,8) 500 HCOLOR4,0:HPRINT(31,3),S 910 HCOLOR6,0:HLINE(36,14)-(41,l ,PSET:HLINE(287 ,ll)-(293, 7),PSET 510 IF HS>S THEN RETURN 4) , PSET: H LINE( 38 , 10) - ( 39 , 13) , PSE :HLINE(28 2,ll)-(27 5,9), PSET :HLIN 520 HS=S T,B E(282,ll)-(275,8l. PSET:HLINE(282 530 HCOLOR0,0:HLINEC254,47)-(316 920 HGET(20,10)-(56,22),l ,11)-(275,7),PSET ,54), PSET,BF 930 '*** TANK /W BLACK BACKGROUN 1150 HGET(270,0)-(298,17),6 540 HCOLOR4,0:HPRINTC31 ,6),HS D *** 1160 '*** FIRE BALL DRAWING *** 550 RETURN 940 HCOLOR1 ,0:HLINE(68,19)-(89,2 1170 HCIRCLE(14,112),l,13:HCIRCL 560 '*** SUPER SAVER TEST *** 0),PSET,BF:HLINEC70,17)-(71,22), E (14, 112) , 4 , 13: HC I RCLE (14, 112) , 2 570 IF Z=0 THEN RETURN PSET,BF:HLINE(74,17)-(75,22l,PSE ,14:HCIRCLE(1 4,1 12),5,14:HCIRCLE 580 Z=Z-l:HCOLOR0,0:HLINEC249,10 T,BF:HLINE(78,17)-(79,22),PSET,B (14,112),3,15 3)-(27 9,lll),PSET,BF:HCOLOR4,0:H F:HLINE(82,17)-(83 ,22) ,PSET,BF:H 1180 HGET(0,100)-(28,117),8 PRINT(31, 13) , Z LINE(86,17)-(87 ,22),PSET,BF 1190 '*** FLY ING SAUCER DRAWING 590 PLAY "L404CEG" : HCOLOR0,0:HLI 950 HCOLOR8,0:HLINEC69,16)-(69 ,l *** NECX,Y)-(X+28 ,Y+17 ),PSET,BF:HLIN 8) ,PSET:HLINE(70,15)-(87,16) ,PSE 1200 HCOLOR2 ,0:HLINEC109,8)-(120 ECX1,Y)-(X1+28,Y+17),PSET,BF T,BF:HLINEC72,17)-(73,18) ,PSET,B ,8) , PSET:HLINE(108,9)-(12 1,9),PS 600 '*** RANDOM SHIP POSITION ** F:HLINEC76,17)-(77,18),PSET,BF:H ET:HLINE(1 07,10)-(122, 10) , PSET * LINE(80 , 17) - ( 81 , 18) , PSET , BF: H LIN 1210 HCOLOR4,0:HLINE(106,11)-(12 610 I=Il:J=0 : G=RNDC2): Xl=RND(207 E(84,17)-(85 ,18),PSET,BF:HLINE(8 3,12), PSET,B:HLINE(106,16)-(123 , ):X-RND(207 ):Y=0 : D=0 8,16)-(88 ,18),PSET 17),PSET,B 620 IF X-X1<40THEN610 960 HCOLOR6,0:HLINEC76,14)-(81,l 1220 HCOLOR13 ,0:HLINEC106,13)-(1 630 RETURN 4), PS ET: H LINE( 7 8,10) - ( 79 , 13) , PS E 07,15),PSET,B:HLINE(112,13)-(113 640 '*** ENEMY LANDS *** T,B ,15),PSET,B:HLINE(ll8,13)-(119,1 650 SOUNDl ,l:SOUNDl ,l:SOUNDl ,l:S 970 HGET(60,10)-(96,22),2 5),PSET,B OUNDl ,1 980 '*** BLANK TANK *** 1230 HCOLOR14 ,0:HLINE(108,13)-(1 660 HCOLOR0,0:HLINE(X,Y)-(X+28 ,Y 990 HCOLOR11,0:HLINE(200,10)-(23 09 ,15),PSET,B:HLINE(ll4,13)-(115 +17 ),PSET,BF:HLINE(Xl ,Y)-(X1+28 , 7,22),PSET,BF ,15),PSET,B:HLINE(120,13)-(12 1,1 Y+l 7). PSET. BF 1000 HGETC200,10)-(236,22),3 5),PSET,B 670 O=O-l:IFQ=4THEN N=278:0=168 1010 '*** HELICOPTER DRAWING *** 1240 HCOLOR15 ,0:HLINE(110,13)-(1 680 IFQ=3TH EN N=239 1020 HCOLOR4,0:HLINEC248,6)-(248 ll,15),PSET,B:HLINEC116,13)-(117 690 IF0=2THEN N=278 :0=151 ,7),PSET:HLINE(244,8)-(251 ,8),PS ,15l,PSET,B:HLINE(12 2,13)-(123,l 700 IFQ=lTHEN N=239 ET :HLINE(243,9)-(252,9),PSET:HLI 5),PSET,B 710 IFQ=0THEN1610 NE(24 2,10)-(263 , 10) ,PSET:HLINE(2 1250 HGET (100,0)-(128, 17),7 720 HCOLOR0,0:HLINE(N,0)-(N+36 ,0 41 , 11) - ( 2 6 3, 11 ) , PSET: H LINE ( 2 41 , 1 1260 '*** EXPLOSION DRAWING *** +12 ),PSET,BF 2)-(253,12),PSET:HLINE(24 2,13)-( 1270 HCOLOR7 ,0:HLINEC148,8)-(157 730 RETURN 252,13),PSET:HLINE(243,14)-(251, ,9),PSET,B:HLINE(152,5)-(153,12) 740 '*** ENEMY EXPLOSION *** 14),PSET ,PSET,B 750 HPUT(X,Y)-(X+28 ,Y+17),9:GOTO 1030 HCOLOR1 ,0:HLINEC245,15)-(24 1280 HCOLOR9,0:HLINE(150,3)-(155 770 5,16),PSET:HLINEC249,15)-(249 ,16 ,4),PSET,BF:HLINE(146,6)-(147 ,11 760 HPUTCX1,Y)-(X1+28 ,Y+17),9 ),PSET:HLINE(241 ,15)-(242,17),P� l.PSET,BF:HLINE(150,13)-(155,14) 770 PLAY P$ : PALETTE9 ,32:PLAY P$ : ET:HLINEC24 2,17)-(25 7,17),PSET:H ,PSET,BF:HLINE(158,6)-(159,lll,P PALETTE12 ,38:PLAY P$ : PALETTE12,0 LINE(24 5,9)-(24 6,ll),PSET,B:HLIN SET.BF :PLAY P$:PALETTE9 ,0 E(244,10)-(244,ll),PSET:HSET(243 1290 HLINEC148,5)-(15 1,7),PSET,B 780 RETURN .11.1) F:HLINE(148,10)-(15 1,12),PSET,BF 790 '*** BONUS SUPER ZAPPER CHEC 1040 HCOLOR13,0:HLINE(241 ,5)-(25 :HLINE(154,10l-(157,12),PSET,BF: K *** 5,5),PSET:HLINE(26 6,7)-(26 6,ll), HLINE(154,5)-(15 7,7l,PSET,BF 800 IF M2=1 THEN RETURN PSET 1300 HSET( 149,4,9l:HSET(149,13,9 810 Z=Z+l :HCOLOR0,0:HLINE(24 9,10 1050 HCOLOR14 ,0:HLINE(2 50,3)-(24 l: HSET( 156, 4,9) : HSET( 156, 13, 9) 3)-(279,lll),PSET,BF:HCOLOR4,0:H 6,7),PSET:HLINE(264,8)-(268,10) , 1310 HCOLOR12 ,0:HLINE(142,8)- (14 PRINT(31,13),Z PSET 2,9),PSET:HLINE(l43,6)-(143,ll), 820 RETURN 1060 HCOLOR15 ,0:HLINE(246,3)-(25 PSET:HLINE(1 44,4)-(145 ,13l,PSET, 830 '***BUFFERS AND COLORS*** 0, 7) , PSET: H LINE( 2 64, 10) - ( 2 68 , 8) , BF:HLINE(1 4 6,3)-(14 7,5l ,PSET,BF: 840 HSCREEN2:HBUFF1 ,247 :HBUFF2,2 PSET HLINE(14 6,12)-(147 ,14l,PSET,BF:H 47 : HBUFF3,247 :HBUFF4,270:HBUFF5 , 1070 HGET(240,0)-(268 , 17),4 LINE(148,2)-(149 ,3),PSET,B:HLINE 270: HBUFF6 ,270:HBUFF7 ,270:HBUFF8 1080 '*** GIANT FLY DRAWING *** (148,14)-(149,15l, PSET,B:HSETC14 ,270:HBUFF9 ,270 1090 HCOLOR1 ,0:HSET( 281 ,8,l):H SE 8,4,12l:HSET(l48,13,12l 850 PALETTE0,0:PALETTE1 ,0:PALETT T(288,8,l):H LINE(282,7)-(282,9), 1320 HLINE(152,0)-(153,0l ,PSET:H E2 ,0:PALETTE3 ,0:PALETTE4 ,0:PALET PSET:HLINE(287 ,7)-(287,9),PSET:H LINE(150,l)-(155,2),PSET,B:HLINE TE5 ,0:PALETTE6 ,0:PALETTE7 ,0:PALE LINEC283,6)-(283,10) ,PSET:HLINEC (150,15)-(155,16) , PSET,B:HLINE(l TTE8,0:PALETTE9 ,0:PALETTE10,0:PA 286,6)-(286,10),PSET:HLINE(284,6 52,17)-(153,18) ,PSET LETTE11,0:PALETTE12 ,0:PALETTE13, )-(285,15) ,PSET,B:HLINEC282,13)­ 1330 HLINEC154,l)-(155,2),PSET,B 0:PALETTE14,0:PALETTE15,0 (287,14) , PSET,B:HLINE(283,15)-(2 :HLINE(156,14)-(157,14),PSET,B:H 860 HCLS0 83 ,17),PSET LINE(156,2)-(15 7,3), PSET,B:HLINE 870 '*** TANK /W GREY BACKGROUND 1100 HLINE(286,15)-(286,17),PSET (15 5,13)-(156,14) ,PSET,B:HLINE(l *** 1110 HSET(283,14,6):HSET(286,14, 58,3)-(159,5),PSET,B:HLINE(158,l 880 HCOLOR11,0:HLINE(20,10)- (57, 6) 2)-(159 ,14) ,PSET,B:HLINE(160,4)­ 22),PSET,BF 1120 HCOLOR13,0:HLINE(287,ll)-(2 (16 1,13),PSET,B:HLINEC162,6)-(16 890 HCOLOR l,0:HLINE(28,19)-(49, 93 ,15), PSET:HLINE(287,ll)-(293,l 2,11),PSET 20) ,PSET,BF:HLINE(30,17)-(31,22) 4) , PSET:HLINE(287,11)-(293,13) ,P 1340 HLINE(163,8)-(163,9),PSET ,PSET,BF:HLINE(34,17)-(35,22l,PS SET:HLINE(282,ll)-(275 ,15),PSET: 1350 HGET( 140,0)-(168,17),9 ET,BF:HLINE(38,17)-(39,22),PSET, HLINE(282,11)-(275 ,14),PSET:HLIN 1360 '*** ROTATING BLADES DRAWIN BF:HLINE(42,17)-(43,22), PSET,BF: E(282,ll)-(275 ,13),PSET G *** HLINE(46,17)-(47 ,22),PSET,BF 1130 HCOLOR14,0:HLINE(287,ll)-(2 1370 HCOLOR13,0:HLINEC184,5)-(18

36 THE RAINBOW August 1991 4,16J ,PSET:HLINE( l 8 5,5)-(183 ,16) 1620 HCOLOR0,0:HLINECX.Y)-(X+28, El3,V:H=0 ,PSET:HLINE(l 83,5)-(185,16),PSET Y+l7 ),PSET,BF:HLINE(Xl,Y)-(Xl+28 1790 P=RNDC63):PALETTE5 ,P 1380 HCOLOR14,0:HLINE(l76,6)-(19 . Y+l7) . PSET. BF 1800 A$=INKEY$:IF A$<>""THENGOTO

3,16),PSET:HLINEC176,7)-(193,15) 1630 ' *** START UP *** 1840 ,PSET:HLINE(l93,17)-(176,5),PSET 1640 PALETTE0 ,0:PALETTE1 ,8:PALET 1810 NEXT PP 1390 HCOLOR15 ,0:HLINE(l76,14)-(1 TE2,9:PALETTE3 ,47:PALETTE4 ,18:PA 1820 NEXT F 92 ,8J,PSET:HLINE(175,13)-(192 ,9) LETTE5 ,18:PALETTE6 ,36:PALETTE7 ,5 1830 GOT01670 ,PSET:HLINE(l75 ,15)-(192,7) ,PSET 5:PALETTE8 ,40:PALETTE9 ,0:PALETTE 1840 HCOLOR0,0:HLINE(77,6)-(152 , 1400 HGET(l70,0)-(198,17),5 10,55:PALETTE11,56 :PALETTE12,0:P 15) ,PSET,BF 1410 '*** SETUP FOR SCREEN *** ALETTE13,40:PALETTE14,0:PALETTE1 1850 HLINE(7,103)-(87,93),PSET.B 1420 HC,LS 5,0 F 1430 HCOLOR2,0:HLINE(317,0)-(236 1650 PLAY "T3L602B-03Ll2CP90CP90 1860 HLINEC110,86)-(138 ,104),PSE ,192) ,PSET,B CP90CP90CP90CL8E-P90E-P90Ll2E-P9 T,BF 1440 HCOLOR6. 0: HPRI NT( 31 , 2). "SCO 0E-CP90CP90CP90CP90CP50C L802B-P9 1870 HLINE(l67,103)-(220,93),PSE RE" 0B-P90Ll2B-P90B- 03CP90CP90CP90CP T,BF 1450 HCOLOR6,0:HPRINT(31 ,5),"HI 90CP90CL6E-F02B-03C02L55BAGFEDCO 1880 HLINE(l5 ,132)-(210,14 6),PSE SCORE" lBAGFEDC" T.BF 1460 HPRINTC30,17),"NO. SHIPS" 1660 HCOLOR5 ,0:HPRINT( l0 ,l)," MEG 1890 HCOLOR0,0:HLINE(24 9,103)-(2 1470 HPRINT(31,8), "MISSES" A TANK":HPRINT (3,17),"PRESS ANY 79,ll l),PSET, BF:HLINE(249,71)-(2 1480 HCOLOR6 . 0: HPRI NT( 31.11)."SU KEY TO BEGIN" 79,79),PSET,BF PER" 1670 H=0 :RESTORE 1900 Ml=0 :HCOLOR4,0:HPRINT(31,9) 1490 HPRINTC31, 12 l."SAVERS" 1680 FOR F=0T04 ,Ml 1500 HCOLOR11,0:L=175 1690 HCOLOR0,0:HLINE(7,103 )-(87, 1910 Z=2 :HPRINT(31,13),Z 1510 FOR K=0 TO 235 93),PSET.BF:HLINE(167 ,103)-(220 , 1920 S=0 :A1=100 :J=0:0=5 :R=3 : T=l0 1520 N=RND(2) :IF N=l THEN L=L+l 93 ),PSET,BF 0:U=4 :V=36 :W=0:Il=0 ELSE L=L -1 1700 READ M$ ,M,U,V,W 1930 HPUT(239,151)-(275,163),2,P 1530 IF L>l78 THEN L=178 1710 HCOLOR6 ,0:HPRINT( l,12) ,M$ SET:HPUT(239,168)-(275,180) ,2,PS 1540 IF L

� JWT E_ n tc erprises

Optimize Utility Set I NEW! Optimize your disks by eliminating fra&J'Jncntcd files and compacUng your directories for faster file access. Also includes a utiltly to assess ftlc fragmenta­ tion and directory fragmentation as well as excess directory padding.

Optimize Utility Set 1 $29.95 Foreign postage, add $3 .00

Nine-Times: Each Issue contains: 9 helpful and useful programs to help butld your OS-9 library • lnst.n.ictions, examples, and samples of Bastc09 procedures and subroutines to help with your own programs and your understanding of Baslc09 • C programs and programming examples • J-ltnt.s, Help columns, and informative articles lo advance your knowledge of OS-9 • Kyum·Gai: to beNinja (05·9 Version) is the culmination of a project started almost a year Supplied totally of 5.25" disk • Bound manual sent lo each new subscriber for ago. The talents of Glen R. Dahlgren (RS-DOS game writer for Sundog Systems), Kevin help in getting Nine-TUnes up and running, as well as lips on ustng tt with a ram Darling (a legend for his work in OS-9), and Eddie Kuns (author of KBCom) have been disk or hard disk • All graphic/joystick interface for ease of use. pooled to create a masterpiece of game software under the OS·9 operating system. Fast martial arts action with outstanding graphics, great digitized sound effects, and incredible 1-Year Subs, $34.95 Foreign postage, add $8.00 animation are featured in this arcade game, all in the 05·9 environment.

Back Issues: Available for the May 1989 through May 1991 issues. l�casc Always wanted to play the great CoCo 3 games but didn't want to sacrificeyour OS·9 write for information on Back Issue contents. features? Muftitask while playing Kyum·Gai. Have multiple Kyum-Gai's running in memory. Don't worry about switching windows, becauseKyum·Gai: 05·9 auto·pauses, Back Issue, ea. $7.00 Foreign postage, add $2.00 ea. to wait for your return.

Magazine Source: Due to many inquir1cs. the source code for the Put simply, this is an unprecedented pieceof software for the CoCo; a landmark gamesure to be magazine graphic shell is being provided as an informational tool. Included is a major part of the Color Computer histO<)'. Dant miss out on this game! the actual Basic09 source code and compiled modules on disk, as well as Req. 512K CoCo Ill with OS-9 Level 2 and joystick. $29• 95 \ documentation and a printed copy of the source code. Source, $25.95 Foreign postage, add $5.00 VISA, Mastercard, Money Order, and 1 COD (USA only, please> accepted. All ( U.S. 31. 1991 � Foreignpostage excludes Te rrtlories andCanada . New rates elf. May foreign orders must be sent in US cur· • ) ,... To order, please send U.S. JWT Enterprises rency Money Orders. Include $2.50 for check rm yo shipping in USA and Canada, $5.00 o one rder to: � ..> 5755 L ockwood Blvd. � Foreign . $3.00 extra for COD orders. {{RAINr'\\BOW' VA residents please add 6% sales tax. '"V""' """"'' ...... Technical Assistance: Youngstown, OH 445 12 (216)-758-7694 C[HTlflCATION Dealer inquiries welcome.Authors:we're P.O.l:Juv.Q9 Box 766 Afl,,,. ..,,,.,j

August 1991 THE RAINBOW 37 OS-9 Hotline

Down to Business

THE RAINBOW Staff

I recently took my CoCo 3 and dual Yes, you'll find a hard drive more than I did it once. The manual instructs me to disk drive to work and use it to track helpful when working with OS-9. In the simply enter bas i c09, but this doesn't work. inventory and maintain accounts meantime, perhaps other readers will let He/pl receivable. The programs I am using are you know what software they use for busi­ Kris Petterson Data Master, Dynacalc and DynaStar. I ness purposes. Maidstone, Saskatchewan realize I need a hard drive to speed my Canada work, but rig hr now I wonder if there are A Graphical Point of View any business programs our there fo r Le11ef A fr iend gave me several Disk BASIC We can help. The Multi-Vue manual 11 on the CoCo 3. What software do other disks fl/led with graphics files. The has a couple of blurbs that make it people use ? problem is that I use OS-9 mosr of' the difficult for beginning users. Step 4 R. Bryan Pratt time. I can transfer the files to OS-9 disks, on Page 1-6 of that manual should read A-L Machine & Assoc. but I have no way ro look at them under PO. Box 21222 OS-9. Any suggestions? edit /dO/sys/env .file Roanoke, VA 24018 Marty Goldstein Chicago Note the space after edit. The line above We know of no "business" software is a two-part command line. The first part, designed specifically for OS-9 Level II Thanks to Tim Kientzle, we have an edit, tells the computer you want to edit a on the CoCo 3. However, as you have excellent solution. Tim has written a file. The rest of the I ine is the pathlist, your found, most general packages work fine for program called View that lets you way of telling OS-9 the name of the file you most small-business applications. Basically look at graphics images in most any CoCo want to edit, along with the drive and direc­ all you need is a word processor, a spread­ format or the GIF format. The latest version tory where that file can be found. The space sheet and a database. of this OS-9 Level II shareware program is between the two parts is required. It's in the We did a quick check of The OS-9 Source­ 4.3, and it is available in the OS9 Online da­ manual, too, but the typestyle makes it hard book from Microware (get a copy for your­ tabase on Delphi. The graphics files must to see. The real goof is that Tandy mis­ self - you 'II see a lot of things you might be stored on OS-9-formatted disks. For those printed the lowercase letter o for the num­ not otherwise expect). Three companies who don't have access to Delphi, we con­ ber 0 in the first part of the pathlist. We listed that carry business software for OS-9/ tacted Tim and he gave us permission to don't know too many people who have a 6809 are: supply View 4.3 on this month's RAINBOW Drive /do. ON DISK. We'll include a few graphics Another error in the Multi-Vue manual South East Media samples from. Coco Gallery, too. You can appears on Page 1-7, also in Step 4. Since 5900 Cassandra Smith Rd. get many more images, though, from the Drive 0 is a device, there should be a slash Hixson, TN 37343 Delphi CoCo and OS-9 On line SIGS. in front of the pathlist. Step 4 should read (615) 842-4600 Getting Into Multi-Vue & BASIC09 chx /dO/cmds Specialty Electronics, Inc. I have a couple of problems I hope 909 North Cleveland you can solve fo r me. First, I am BASIC09 is located in the CMOS directory Enid, OK 73703 having trouble adjusting my recently of the Boot/Config/BASIC09 disk included (405) 233-1632 purchased copy of Multi-Vue for 512K. with the OS-9 Level II package. To get it Everything goesfine until Step 4 on Page 1- running, put a backup of that disk in Drive Trend Computer Systems 6 of the Multi-Vue manual. Then the /HOC­ Id O and enter 828-A Dodsworth Ave. ess fa ils. What am I doing wrong? The Covina, CA 91724 second problem I am having is getting BA­ chd /dO (818) 331-4114 SIC09 running. Mostfrustrating ofa// is that chx /dO/cmds

38 THE RAINBOW August 1991 Without T&D your Coc,o is a Barebone System ISSUE #95, MAY 1990 ISSUE #96, JUNE 1990 ISSUE #97,.JULY 1990 ISSUE #98, AUGUST 1990 ISSUE #99, SEPT., 1990 DREAMTIMEADV. ENTREPENEUR FCC EXAM HELPER FLIPl'Y TUTORIAL IDEA TREE XT/AT SYSTEMS DR. PHRED! EMPLOYEE SCHEDULE RECIPE/MEAUGROCERY MASTER'S BIBLE QUIZ 2 PRINTER FONT CODES FLYING SAUCER ADV. DUNGEON MAZE MORSE CODE 16 FLAGS BIBLE QUESTIONS PT. 3 SPEECH AID SNOW SKI TELESALE CONTACTS FRACTIONS CALO ADVENTURE MOWER MADNESS HOT LOAD PROMISED LAND QUIZ SOLITAIRE PUZZLE 4 FORM MAKER JET TRIVIA SHIP WAR PROPOSAL WRITER 512K RAM DRIVE 3 DRAGON ESCAPE INSTANT CALENDAR ERROR TRAP ALPHABET SCRAMBLE _1 FOOD FACTORY 3 Pl.ANE EXPLORER WORLD MASTER .1 SPACE WAR _1 MAGIC PUMPKIN WHO PART 2 WHO PART 3 AIR WAR .1 MAZE MASTER .1 DR. WH0.1 PART 4 11:11Ml111 "*'m! tiS:\\11088 J\JtAiljfijUM 1mmm

ISSUE #IOI, NOV. 1990 ISSUE #102, DEC. 1990 ISSUE #!03, .IAN. 1991 ISSUF. #104, FEil. 1991 ISSUE #105, MARCH 1991 ISSUE #106, APRIL., 1991 GOSSIP REAL ESTATE ANALYSIS FAMOUS PEOPLE WINE CELLAR ROBOCROOK STOCK PORTFOLIO COST ESTIMATOR COCO PAYROLL LABRYNTH _1 llOMl3 RUN CREDff CARD ACCT. THE BARREL SALO INVENTORY DR. STRANGE ADV. DATA ANALYSIS SPLIT/APPEND FILES AIJC'S ' 12.1"S SERVICE MANAGER PERSONAL STATS TANNING SALON MEDICAL FILE IN ITl.ALIZE -15 + ANTIQUE COLLECTOR CROSUMS PUZZLE ALAIX -3 TREASURE HUNT WORD GENERATOR _1 PIG OUT FOUR SCORE DIAMOND QUEST DEATH HIJNT RIVERBOAT BLACKJACK PRIVATE EYE ADVENTU RERYPTOGRAM _1 QUICK TAX JOIJ SKILLS 512K RAM CAT. 3 TURTLE RACE _1 HEARTS _1 GHOST HUNTER Hl·l.OAD JOIJ APPLICANT Bingo CallC'rJ SUPER SCREEN DUMP COCO JO KESTER HI-COPY QUAD EDUCATION .1 El.DUS 3 DUCK HUNT KEYBOARD REMAP TETRAl'AK .1 LEARN! SMURr llEST _1 llRl'AK-INJ PART , illiiilHIH mm:m iijliMUthj En1D 1016\t{j H\11 lfljljllQl811llll Last 12 issues shown here! � 11.11.1m1:t1Zf!U·fii·Ml·t4J � RAINBOW RAINBOW CERTiflCATI ON C[RllFICA TION SEAL Don't waste a minute! SF.Al. Check out all our public domain issues.

Music 1-7 Utitlites 1-8 Adventures 1,2 Ml - 8 UJilities & 8 Songs *12 Programs Ench, Ul·U4 Require Disk* A I - CIA, Death Ship, Gargoyle, Kingdom, Kiugtul M2 - 17 Mnsicn Files U I - Dir32, Disk Zapper, Rom Copy, Snap, + - Ocleysey, Nnclcnr Sub, Wen'wnm� Wills.1dv M3 - 16 Mnsicn Files U2 - Aackup, Dis!..1est, La bel, OfTS<'f, + A2 - An Basic, Disk Master, Unarc, Unlock, + M6 - 23 . Bin Files rearly to play US - Assemhkr, Basic 64, Datnbnse, Recover, + M7 - 2J .Bin Fiks ready to piny Telecommunications 1-3 U6 - 64 Look, HGR Color, LUST 32, Tnpe Type, + Tl · Hnysae, Kennit, Mikeytenn, Teletcrm U7 - Letter hencl print with 30 miui piclltres Graphics 1-14 T2 - Cobbs BRs Tcm1i11nl Pncknge US - Fig Forth language with tutorials! GRI - /\tlantn, Cube, Space + T3 - Getm11 Communications GR2 � Objccls, Wnrgnme, Worlclmap, + GAMES 1-1 1 GR3 - 9 Corn 3 Graphic programs. Education 1-4 *Each Disk/Tnpe Coutaius 12 Programs* GR4 - 22 Coco Max Piclurcs El - 12 Prngnnns for young kids. GAI - Blnckhox, Cnr race, Horses, Star1n'k+ GR5 - 22 CocoMnx Pictures E2 · 12 Programs for High School Kids GJ\2 - Chess, Rider, Ru hie, Vapor wom1, + GR6 - 22 Coco Mnx Pict11res EJ - I I Prog rams Tench the Coco's Commands GJ\3 - Rackgammo11, Gremlin, Poker, Rnhols, + GR7 - 15 Coco Mnx Piclurcs E4 - 5 Graphic ProgramsAbout Australia GJ\4 -Hawks, Lunar World, Snucc-r, Shootrm, + GR8 - 22 .BIN Pictures GAS - Battleship, Chicken, Rnccwny, Squash, + GR9 - 22 .BIN Pictures HOME MANAGEMENT 1-4 GA6 - Kings Am1y, Nnvygnus, Shipsu l>, Tanks, + GRIO - 14 Large .BIN Pictures * 12 Programs Each Disk/Tnpe GA 7 - Connccl 4, F- 16, Pizzn, Ruhic, + GR! I - 8 MGE Pictures HI - Calenclar, Financial Advise, Typi ng Tutor, + GAS - Footbnll, Gem1 Attack, Othello, Slither, + GR 12 - Coco Mnx 3 Pictures H2 - Check, Last Will, Word Processor, + GA9 - Battle, Flight, Mnx Graphics, Prix, + GR 13 - Macpnint Graphic Editor H'.1 - Envelope, Finance, Interest Rate, + GA 10 - Blockacle, Life, Missi le2, Scramblc, + GRl4 - 5 Macintosh Pictures H4 - Specling Fix, Spelling Checker, + GA 11 - Bunker 3, Guncfal, Nuke Attack, Traders, +

Mail To: � Prices: [II T&D Subscription Single Issue (Tape or Disk) ... $ 8.00 *All issues conatain 6- 15 ready to nm programs on disk or tape. 2-5 ISSUES ...... $ 6.00 Ea. Software *Original software includes documentation. . 2490 Mlles Standish Drive 6-10 Issues ...... $ 5.00 Ea. *We send firstclass! No charge. Holland MI 49424 11 or more Issues ...... $ 4.50 Ea. '!'Personal checks welcome. (616) 399-9648 All our software (189 disks)... . . $ 279.00 *Write for a free catalog. Fax: (616) 396-2744 One year subscription ...... $ 60.00 *Programs are for Coco 1,2 or 3. ------

Public Domain Originnl Software Ml GR! El UJ GAi GR2 E2 U2 GA2 Name l6 JI 46 61 76 ,, IU6 M2 17 32 47 62 77 92 M.1 GR-1 E.1 U.1 GA.1 18 33 48 63 78 93 M4 GR4 E4 U4 GM Address 19 34 49 64 79 94 M5 GR5 lJ5 GA5 _ 20 35 50 65 80 95 M6 GR6 HI U6 GA6 21 36 5 1 66 81 96 City State Zip 22 37 52 67 82 97 M7 GR7 H2 U7 GA7 # 23 38 53 68 83 98 GR8 H-1 lJ8 GA8 Credit Card 9 24 39 54 69 84 99 Al GR9 H4 GA9 10 25 40 55 70 85 100 A2 GRIO GA JO I l 26 4l 56 71 86 101 Total $ GRl l GAi i Expiration 12 27 42 57 72 87 102 13 28 43 58 73 88 103 Tl GRl2 14 29 .. 59 74 89 '"' T2 GRU . 15 JO 45 60 75 90 105 T_1 GRl4 Please Circle TAPE or DISK If you have two drives, leave your Sys­ make. When you exit the editor, the original command, I need to know how to call itfrom tem Master (backup) in Drive /dO and put file is deleted and SCRATCH is renamed with the shell. the BASIC09 disk in Drive Id 1. Then enter the original filename - that is, unless some­ Robert D. Cook thing bombs the edi t command, in which Medley, Florida chd /dl case SCRATCH is left on the disk. We encour­ chx /dl/cmds age you to read Page 7-5 in the "OS-9 Com­ OS-9 Level II does not include an as­ mands" section of the Level !I manual. sembler. Instead, BASIC09 is provided At this point you can enter basi c09. It SCRATCH is a "normal" file and is not inter­ with the package. OS-9 Level I comes should load from disk and start running. fering with edi t. So let's look at why the with asm, the assembler to which you refer, editor bombed. and BASIC09 was sold separately. The Level When you use edi t, you must press the II assembler, called RMA, comes in the De­ space bar as the first character on any line of velopment System. The command line on text you want in the file. But these spaces Page 3-2 in the Level II manual is given don't appear in the final text file. They are solely as an example of how OS-9 command used by the editor so it knows whether you lines work. It is not intended as a sample of are entering a command or a line of text. how to call the (nonexistent) asm assem­ Our guess is that when you created Trans - bler. l ate, you entered at least one line without If you also haveOS-9 Level I, you can use pressing the space bar first, and edi t exe­ a sm with its definitions (provided in the cuted the line immediately as a command DEFS directory of the Level I disk) under without storing it in the file. You did this Level II. Be aware that direct-page vari­ with either all the lines or just the last one, ables are different between Level I and which contains the q (Quit) command. If Level II. Also, OS-9 Level II provides system you listyour Transl ate file, you'll find it is calls and error codes that are not included in empty, or that the last line doesn't have the the Level I defs files, especially for the single letter q on it. windowing functions. This would be fine if Translate were just going to be used as a text file - you Level I and the CoCo 3 could just edit again and correct it. But in About a year ago, a friend switched to To better understand your difficulties this case, the ed it command on Page 58 of another machine and gave a lot of his getting BASIC09 going, you' 11 need to bone our book is using Transl ate as a list of CoCo software to me. Included were up on OS-9's hierarchical directory struc­ editor commands that are intended to alter OS-9 (Version 1.01.00) and the C Compiler­ ture. We strongly recommend you read MakeScreens. As explained in the book / got the original packages complete with "OS-9: Catch the Wave" (January 1988, Page (please reread that section very carefully), manuals. I want to learn to use OS-9, and I 166). Also read all you can about pathlists these commands are executed automati­ have both a CoCo 2 and a CoCo 3. Does and the chd and chx commands. cally so you don 't have to enter them from OS-9 work on the CoCo 3? the keyboard. The actual text lines in Trans - Charles Rempel OS-9 Guide Troubles late are not intended to appear in Ma - Plum Coulee, Manitoba There seems ro be a problem with the keScreens or Engl i shScreen. Canada procedures Engl i shScreen, Ma­ So edi t knows its instructions are keScreens andTrans late beginning coming from Transl ate. It sets up Trans - What you received is OS-9 Level I, of on Page 54 of The Complete Rainbow Guide l ate as an internal macro and opens it. But which there are three versions: 1.00, To OS-9 Level II. When I entered when it gets to the enclof the file, it cloesn't 1.01 and 2.00. Versions 1.00 and 1.01 do see a q, which would tell it to quit. Rather, not work with the CoCo 3. Version 2.00does edi t #44K MakeScreens

40 THE RAINBOW August 1991 @ , h ID\.

acr@ -

by William P. Nee

rogrammers are always look­ the macro when it is called in the program. Loops within the macro also use the ing for ways to streamline pro­ A macro call has the fo llowing fo rmat: backslash, followed by a period and the gram production, and "Assem­ letters A through Z. Each macro ends with bly Line" is a good source of macroname valueO, value], value2, ... ENDM. Ifyou have a file of macros, you can new ideas. This time we're add them to your program in one of two goingP to examine programming macros, INCLUDE MACRONAME ways: You can insert and I'll introduce a looping technique I near the start ofthe program for each macro loosely refer to as recursive programming. used, which forces the disk to run and find I addressed macros in my last article, but that macro every time you test your pro­ they're certainly deserving of a closer look. gram. Or you can load an entire macro file, Macros are a lot like subroutines but delete the ones you won't use and then start with the fo llowing differences: Macros can your program. You can eliminate unneces­ be saved by themselves or as part of a macro sary lines in the macro by starting that line file; they are added to the program each with an asterisk (*) - the equivalent of time they are called, eliminating the BSR REM in BASIC - which I did in Line 300 command but using more memory; and since I could include the same information values, strings, or memory locations can be as part of the program. Doing this won't add passed directly to a macro as part of a call. the line every time the macro is called, Macros are efficient, professional-look­ therefore saving memory and increasing ing programming tools. Unfortunately, speed. I like to save macros without adding macros are not supported by the Tandy an extension (EDTASM+ will acid one) so I EDTASM+ cartridge. You 'II need Color Disk can distinguish between macros and source EDTASM+ to use them. code. Listing 3 starts off with two macros. Be sure to include the macros as part of Line 100 defines the name of the first macro the source code in any written program or as LOCATE and states that this is indeed a no one will know what the macro does macro. The next line means Register A is to when it's called unless they can disassemble be loaded with the second value passed to Remember, the values passed can be any the program from ZBUG. There are seven combination of numbers or strings, or they macros defined in the Tandy Color Disk can even be memory locations. Line 640 is EDTASM+ manual. These macros are shown Bill Nee bucked the snowbird trend by retir­ the first call. It is to the macro LOCATE and on (unnumbered) Page 139, and they were ing to Wisconsin from a banking career in passes the contents of memory locations the sta11 of my macro file. If you have a Florida. The success of his 13-part series, X3, Y3 and SIZE as values 0, l and 2. The very, very long macro that is going to be "Machine Language Made BASIC" (July macro multiplies Value l and Value 2 then used several times in your program, you 1988 to July 1989), prompted him to continue adds Value 0 to that result. Values are may be better offadding it as a subroutine writing articles about Color Computer indicated within the macro by a backslash and branching to it rather than using all the machine-language programming. You may (\) (SHIFT/CLEAR keys) followed by 0 memory required by repeated calls. contacr Bill at Route 2, Box 216C, Mason, WI through 9. If you have more than ten values 54856-9302. Please include an SASE when to pass, you can use A through Z after 0 Again and Again requesting a reply. through 9. Listing 1 is a BASIC program that draws

August 1991 THE RAINBOW 41 I 64K Disk

Listing 1: ENLARGEl

1 'THE ASSEMBLY LINE 140 FOR Y3=0 TO SS Reviewer 2 'BY WILLIAM NEE 150 IF S(X3,Y3)=1 THEN GOSUB 170 3 'COPYRIGHT (C) AUGUST 1991 160 NEXT Y3 ,X3:RETURN 4 'BY FALSOFT , INC. 170 FOR X2=0 TO SS Information 5 'RAINBOW MAGAZINE 180 FOR Y2=0 TO SS 10 S=3 : S4=S*S*S*S :S3=S*S*S :S2=S* 190 IF S(X2,Y2)=1 THEN GOSUB 210 s 200 NEXT Y2 , XZ:RETURN In order to continue to bring Tandy 20 SS=S-1 210 FOR Xl=0 TO SS 30 DIM S(SS,SS) Color Computer users all the best 220 FOR Yl=0 TO SS 40 FDR X=0 TO SS : FOR Y=0 TO SS information about new hardware and 230 IF S(Xl ,Yl)=l THEN GOSUB 250 50 S(X,Y)=l : NEXT Y ,X:S(2,1)=0 :S( 240 NEXT Yl,Xl:RETURN software products each month, we 1.2)=0 :S(2,2)=0 250 FDR X0=0 TO SS are constantly looking for new people 60 'S(X,Y)=l :NE XT Y,X:S(l,1)=0 260 FDR Y0=0 TO SS to join our independent review staff. 70 PMODE4 ,l:COLOR0.5:PCLS: SCREEN 270 IF S(X0,Y0)=0 THEN 310 1 1 280 XX=S4*X4+S3*X3+S2*X2+S*Xl+X0 Therefore, we invite you to join THE ' 80 FOR X4=0 TO SS 290 YY=S4*Y4+S3*Y 3+S2*Y2+S*Yl+Y0 RAINBOW's elite fleet of reviewers. 90 FOR Y4=0 TO SS :IF YY>l91 THEN 310 You read THE RAINBOW because 100 IF S(X4,Y4)=1 TH EN GOSUB 130 300 PSET( XX , YYJ you love your Color Computer, so if 110 NEXT Y4 ,X4 310 NEXT Y0,X0:RETU RN you want a creative outlet and a 120 GOTO 120 130 FOR X3=0 TO SS chance to examine quality hardware and software, with your observations published nationwide, we want to hear from you. Send us a cover letter with your name, address, occupation, list of Listing ENLARGE2 eq uipment, areas of general inter­ 2: ests, and a sample review of a CoCo 1 'THE ASSEMBLY LINE E CENTER OUT" ," 3.REGULAR PATTER product you are currently using. We 2 'BY WILLIAM NEE N" look forward to your response. After 3 'COPYRIGHT ( C) AUGUST 1991 210 DS=INKEYS:IF DS=" "THEN 210 220 D=VAL(DS):IF D3 THEN all, we already see you have the best 4 'BY FALSOFT, INC. 5 'RAINBOW MAGAZ INE 210 ELSE POKE &H6004 ,D taste in computers. 10 CLEAR200 . &H6000-l 230 PMODE4,l:COLOR0,5:PCLS:SCREE 20 IF PEEK(&H6015J<>l6 THEN LOAD Nl. 1 . Reply to: M"ENLARGE":PDKE&HFF40 ,0 240 EXEC &H6015 30 PCLEAR8 :L=l6:FB=&HFF00 250 AS=INKEYS:IF AS=""THEN 250 E 40 LO=&H62AE LSE 390 Reviews Editor 50 CLS: INPUT"SIZE OF SQUARE [3-6 260 PMODE4 ,5:COLOR0,5:PCLS: SCREE The Rainbow ] ";S:SS=S-l:IF S<3 OR S>6 THEN Nl. l The Falsoft Building 50 270 FOR X=0 TO SS: FOR Y=0 TO SS P.O. Box 385 60 POKE &H6000,S:POKE &H6001 ,SS: 280 IF PEEK( LO+S*Y+X )=l THEN LIN E(X*L,Y* L)-(X*L+L,Y*L+L) ,PSET.B Prospect, KY 40059 POKE &H6002 ,S*S : POKE &H6003 ,S*S* s 290 IF PEEK( LO+S*Y+X)=0 THEN LIN 7 0 PRINT" TH IS WI LL BE - " ,," 1.RA E(X*L,Y*L)-(X *L+L,Y*L+L),PSET,BF NDOM PATTERN"," 2.YOU PICK THE P 300 NEXT Y,X ATTERN" 310 AS=INKEYS:IF AS="" THEN 310 80 AS=INKEYS:IF AS=""THEN 80 320 IF AS="A" THEN 100 90 A=VA L(AS):ON A GOTO 100,120 330 IF AS=CHRS(l3) THEN 190 100 FOR X=0 TO SS:FOR Y=0 TO SS 340 GOTO 310 110 POKE LO+S*Y+X ,RND(2)-l:NEXTY 350 V=PPOINT(XX*L+L/2,YY*L+ L/2) ,X:GOT0260 360 IF V=5 THEN LINE(XX*L,YY*L)­ 120 PMODE4 , 5 : COLOR0 , 5 : PCLS : SCREE· (XX*L+L, YY*L+L) ,PSET,BF:POKE LO+ Nl. l S*YY+XX,0 130 FOR X=0 TO SS: FOR Y=0 TO SS 370 IF V=0 THEN LINE(XX*L.YY*L)­ 140 POKE LO+S*Y+X ,l:LINE(X*L,Y*L (XX*L+L,YY*L+L) ,PRESET,BF:POKE L )-(X*L+L,Y*L+L), PSET,B:NEXT Y,X O+S*YY+XX ,l 150 X=JOYSTK(0) :Y=J OYSTK(l) 380 GOT0180 160 XX=INT(X/4) :YY=INT(Y/4):IF X 390 CLS: PRINT X>SS OR YY>SS THEN 150 400 PRINT "l . REFORMAT TH IS SQUARE 170 LINE(XX*L,YY *L)-(XX*L+L,YY*L ","2.BACK TO MAIN MENU" +LJ,PRESET,B:LINE(XX*L, YY*L)-(XX 410 AS=INKE YS:IF AS="" THEN 410 J_J --< *L+L, YY*L+ L),PSET,B:IF PEEK( FB)= 420 A=VAL(A$):0N A GOTO 440 ,470 254 OR PEEK( FB)=l26 THEN 350 430 GOTO 410 180 AS=INKEYS:IF AS=CHRS(l3) THE 440 PMODE4,5:COLOR0,5:SCREEN1 ,l N 190 ELSE 150 450 XX=X0: YY=Y0 190 X0=XX:Y0=YY :CLS 460 GOTO 150 200 PRINT"WHICH DIRECTION?"," 1. 470 GOTO 50 FROM THE CORNERS IN"," 2.FROM TH

42 THE RAINBOW August 1991 repeated enlargements of a 3-by-3 square. Initially all the values within a corresponding 3-by-3 array are set to 1, Listing 3: ENLARGE.ASM which means they will each be drawn. Any cell you define as having a value of 0 is 00100 LOCATE MACRO 00110 LOA \1 20 VALUE skipped by the program and not drawn. 00120 LOB \2 30 VALUE Line starts the main portion of the 00130 MUL so 00140 ADDB \0 lST VALUE program. Each cell in the array is checked. 00150 ENDM If it has a value of 1, the program goes to 00160 00170 PSET MACRO Line 130 where again each cell is checked. 00180 LOA \1 Any value of 1 causes a jump to Line 170, 00190 LOB #32 00200 MUL then to Line 210 and finally to Line 250 00210 ADDA $BA where the actual computation of the point to 00220 TFR D.X 00230 LOB \0 be PSET is made. The basic pattern is re­ 00240 LSRB peated four times, getting larger each time. 00250 LSRB 00260 LSRB Try the program using Line so and then 00270 ABX using Line 60. A 3-by-3 square is the only 00280 LOA \0 size that can be enlarged four times across 00290 ANDA .If ? 00300 * LOU #$9200 PART OF THE PROGRAM the screen, and even it gets cut off at the 00310 LOA A,U bottom. The next program enlarges squares 00320 COMA 00330 ANDA . x only three times. 00340 STA . x The machine-language program in List­ 00350 ENDM 00360 ing 3 starts off with a LOCATE macro that 00370 ORG $6000 computes the current location within the 00380 SIZE RMB 1 00390 SS RMB 1 array at any time. LOCATE is fo llowed by a 00400 SIZESQ RMB 1 PMODE 4 PSET macro. Notice that Line 300 00410 SIZECU RMB 1 00420 WH ICH RMB 1 has been omitted since I can make Register 00430 ACROSS RMB 1 U a constant in the program (I'm not usually 00440 DOWN RMB 1 00450 X3 RMB 1 this lucky). Space is then reserved for all of the variables. At this point you could set the

GRANITE COMPUTER SYSTEMS PRICES SLASHED ON ALL MODEMS NEW 9600 Baud V.32/V.42/V.42bis data modems. MNP1-5LAPM. Error Correction and data COIT'f.>ression (much higher effective throughput - as much as 38400 Baud). External - call for price

ADOS PRODUCTS NEW PRICE 2400 Baud V.42/V.42bis data modems. MNPl-5/1.A PM. Errorcor rection anc:Jdata compression (mudi highereffectrve throughput- as m..ich as LIMITED TIME ONLY! 9600 Baud). External S189 (+S7 S&H). EXTENDED ADOS-3 ...... $29.95 NEW PRODUCT 9600 Baud Send/Receive Fax modems. Send/Receive texl/graphics files from/toyour computer/any Fax machine in the world. Full (Requires ADOS-3) 2400 Baud data modem capabilitiy. Disto real-time clock driver, $5. Includes software. External $149/lnternal $139 (+$5 S&H)

Adapter for controllers lacking 28-pin ROM socket, $10. NEW PRICE 9600 Baud SendFax modems. Send text/graphics files from your computer to any Fax machine in the world. Full 2400 Baud data modem capability. Includes so�ware. External $129/lnternal $119 (+SS S&H) ADOS-3 ...... $24.95 NEW PRICE 2400 Baud Data modems External $1 09/lnternal $99 (+$5 S&H)

These are all high quality modems made by Zoom Telephonies in the USA. Fully Hayes EXT. ADOS-3 PLUS ADOS-3 ...... $49.95 compatible. Two year mfg warranty. Software available. S&H Canada (Air PPand Ins) V.42/v.42bis $12.00 Sendfax/Data $8.00

SMARTWATCH REAL-TIME CLOCK .... $29.95 GCS FILE TRANSFER UTI LITIES- Version 3.0

Usable in controllers with 28-pin ROM socket, or in ROM pack, The GCS File Transfer Utilities provide a simple and C1Jick method to transfer text/binary $10. Includes OS-9 Level II driver. Ext. ADOS-3 driver, $5 with files frorrV!o a variety o( floppy disk fo rmats. clock, $1 O separately. Commands PC, RS, FLEX disks: Dir, Dump, Read, Write PC disks: Rename, De�te, Format ADOS FOR CoCo 1 and 2 ...... $14.95 Handles most 5.25 and 3.5 fo rmats. Any level sub-directories (PC). Binaryfiles. Use pipes for mu hip� file transfers. Multi-Vue version can beused underMulti- Vue or as stand alone Shellcommands. -All ADOS software is sold on disk with configuring utilities that Requires OS-9 L2 for COCO 3, L1 for COCO 1 or 2. 2 drives (one can behard/ramd isk, generate an EPROMable binary file. Information is provided for one floppy 40 TDD DS). Multi-Vue lor Multi-Vue version. SDISK3 br COC03 - SDISK having an EPROM burned by mail for $15. for COCO 1 or 2. Multi-Vue version $54.95 Standard version $44.95 - See our earlier ads, and reviews in July 1987 and October 1989 V3.0 updates (prov ide disk number) $1 5.00 D.P. Johnson Software SDISK or SDISK3 $29.95 Ll+L2 Utils $75.00 Rainbows (available on request) for product descriptions. Shipping andhan dlling - any software $2.00 � 11111 N. Kendall Dr. Orders m.Jst be prepaid or COD. VISA/MC accepted. COD is additional. Suite A108 Center Road, Hillsboro, NH USA SPECTROSYSTEMS FL 571 03244 --__::::--- _ Miami. 33176 � (305) 274-3899 (603) 464-3850 OS-9 j, a 'rOOS i1 • trademuk ofMero.oft Corp. FLEX i1 a nr�ricof TSC, Inc.. WE CANNOT ACCEPT CREDIT CARDS

August 1991 THE RAINBOW 43 DP Register to #$60, but the program is quick enough as it is. Routine THREE is the first loop. Once the 00460 Y3 RMB 1 00470 X2 RMB 1 location has been computed from the three 004B0 Y2 RMB 1 values passed in the LOCATE macro call, the 00490 Xl RMB 1 00500 Y1 RMB 1 value of that location is checked. If it's not 00510 X0 RMB 1 0, the program branches to TWO and another 00520 Y0 RMB 1 00530 xx RMB 1 00540 yy RMB 1 00550 XCORO RMB 2 00560 YCORO RMB 2 00570 005B0 START LOY //ARRAY 00590 LOU /1$9200 (SEE LINE 300 ) 00600 THREE CLRA 00610 L1 STA Y3 00620 CLRB 00630 L2 STB X3 00640 LOCATE X3,Y3.SIZE 00650 TST B,Y CHECK THE CURRENT VALUE 00660 BEQ L3 00670 BSR TWO BRANCH IF 'l' 006B0 L3 LOB X3 00690 INCB 00700 CMPB SS 00710 BLS L2 00720 LOA Y3 00730 INCA 00740 CMPA SS 00750 BLS L1 00760 RTS 00770 007B0 TWO CLRA 00790 L4 STA Y2 00B00 CLRB 00B10 L5 STB X2 00B20 LOCATE X2.Y2,SIZE 00B30 TST B,Y 00B40 BEQ L6 00B50 BSR ONE 00B60 L6 LOB X2 loop is started. If the new location calcu­ 00B70 INCB 00BB0 CMPB SS lated in Loop TWO is not 0, the program 00B90 BLS L5 branches to Loop ONE and then finally to 00900 LOA Y2 00910 INCA Loop ZERO. If the value in this location is 1, 00920 CMPA SS lines 1210-1570 compute the coordinates to 00930 BLS L4 00940 RTS be PSET. Both coordinates must be checked 00950 to see that they are within the 255-by-191 00960 ONE CLRA 00970 L7 STA Y1 screen. The various size values were poked 009B0 CLRB into their locations by the BASIC program 00990 LB STB Xl 01000 LOCATE Xl .Yl. SIZE (Listing 2). 01010 TST B,Y You can draw the pattern in three differ­ 01020 BEQ L9 01030 BSR ZERO ent ways: You can draw from each corner 01040 L9 LOB Xl going in; from the center of the screen going 01050 INCB 01060 CMPB SS out in each direction; or starting at the 01070 BLS LB upper-left corner. The way you want to 010B0 LOA Y1 draw is picked in the BASIC program and the 01090 INCA 01100 CMPA SS corresponding value stored in WHICH. 01110 BLS L7 Routine Tl computes the coordinates for 01120 RTS 01130 the . Notice that the PSET macro, 01140 ZERO CLRA however, is called using ACROSS and DOWN. 01150 L10 STA Y0 01160 CLRB Because Routine T2 starts at the center of 01170 Lll STB X0 the screen, it must check to see that coordi­ 011B0 LOCATE X0 ,Y0 ,SIZE 01190 TST B.Y nates will fit into one-fourth of the screen 01200 LBEQ DONE (127 by 96 pixels). Again, the new coordi­ 01210 LOA SIZECU 01220 LOB X3 nates are computed, but still passed as 01230 MUL SIZE*SIZE*SIZE*X3 ACROSS, DOWN. Finally, Routine Tl PSETs the 01240 STD XCORD 01250 LOA SIZESQ new coordinates. 01260 LOB X2 The end of Routine ZERO branches back 01270 MUL to Routine ONE where the next value is 012B0 ADDO XCORD +SIZE*SIZE *X2 01290 STD XCORD checked, which may cause a branch back to 01300 LOA SIZE ZERO. When Routine ONE is completed, it 01310 LOB Xl 01320 MUL branches back to Routine TWO where the 01330 ADDO XCORO +S IZE*Xl next cell is checked. This may cause a 01340 ADDB X0 +X0 01350 ADCA /10 branch to ONE, which may cause a branch to z ERO. The RTS in Line 760 finally ends the

44 THE RAINBOW August 1991 program and returns to BASIC. Save the source code with W ENLARGE.ASM and as- 01360 CMPD 11255 semble with A ENLARGE.BIN /NS/WE. 01370 LBHI DONE 01380 STB xx The BASIC driver in Listing 2 clears 01390 space for the machine-language program 01400 LOA SIZECU 01410 LOB Y3 and loads it, if necessary. After you choose 01420 MUL the size of square you want, Line 60 pokes 01430 STD YCORD 01440 LOA SIZESQ the size values into their locations. You 01450 LOB Y2 must then decide whether you want the 01460 MUL 01470 ADDO YCORD computer to pick a random pattern or if you 01480 STD YCORD want to draw it yourself. In either case, a 01490 LOA SIZE 01500 LOB Yl large square is drawn on the screen. Ifyou 01510 MUL chose the random pattern option, some of 01520 ADDO YCORD 01530 ADDB Y0 the inside squares will be black- these are 01540 ADCA 110 the squares that won't be drawn. If you 01550 CMPD lf l 91 01560 LBHI DONE don't like the pattern, press the up arrow 01570 STB yy and a new one will be drawn. If you are 01580 01590 LOB WHICH creating your own pattern, move the joys- 01600 CMPB 113 tick until it flashes the square you want and 01610 LBEO T3 press the firebutton to reverse the color in 01620 CMPB #2 01630 LBEQ T2 that square. 01640 In either case, when you have a pattern 01650 Tl LOO xx 01660 STD ACROSS you like press, ENTER and then decide in 01670 PSET ACROSS . DOWN which direction the pattern will be drawn. 01680 LOA 112 55 UPPER-RIGHT CORNER 01690 SUBA xx When the pattern is completed, press ENT- 01700 LOB yy ER and then either reformat the old square 01710 STD ACROSS 01720 PSET ACROSS . DOWN or start with a new one. The larger the 01730 LOA xx square, the longer it will take to complete 01740 LOB 111 91 LOWER- LEFT CORNER 01750 SUBB yy the enlargement. Remember, the program 01760 STD ACROSS may still be working even if it appears 01770 PSET ACROSS . DOWN 01780 LOO 11HFBF LOWER-RIGHT CORNER otherwise. The ENTER key works only when 01790 SUBA xx the patternis finished. Save this program as 01800 SUBB yy 01810 STD ACROSS ENLARGE2. For a sample, number the cells 01820 PSET ACROSS . DOWN of a four-sided square from I (upper left) to 01830 LBRA DONE 01840 16 (lower right), blacken squares 3, 8, 9 and 01850 T2 LOO xx 14 and then choose Direction I. When the 01860 CMPA 11127 pattern is fi nished, also blacken square 16 01870 LBHI DONE 01880 CMPB lf9 5 and try again. 01890 LBHI DONE You could convert this program to color, 01900 LOO 11$8060 01910 ADDA xx but in the CoCo 2 you'll only have 128 bits 01920 ADDB yy across to use, so large squares won't give 01930 STD ACROSS 01940 PSET ACROSS . DOWN you a pretty design. The PMODE 4 program 01950 LOO 11$8060 shows artifact colors on my television. I 01960 ADDA xx 01970 SUBB yy hope this article encourages you to experi- 01980 STD ACROSS ment with macros. I'd like to see macros 01990 PSET ACROSS . DOWN 02000 LOO lf $8060 used more often in machine-language pro- 02010 SUBA xx gramming. If you have questions about 02020 ADDB yy o 02030 STD ACROSS macros or any suggestions f r subjects you'd 02040 PSET ACROSS . DOWN like to see covered, please let me know. 02050 LOO lf $8060 02060 SUBA xx 02070 SUBB yy � 02080 STD ACROSS 02090 PSET ACROSS.DOWN 02100 BRA DONE a 02110 181JTI">B)� IB�ll'.P TI)� 02120 T3 PSET XX .YY P.O. Box 733 02130 DONE LOB X0 Maple Valley, WA 98038 02140 INCB 02150 CMPB SS 02160 LBLS Lll 02170 LOA Y0 Red: DS98oot 02180 INCA 02190 CMPA SS � Green: <: CMOS 02200 LBLS Ll0 02210 RTS []::> SYS 02220 Blue: 02230 ARRAY RMB 1 � DEF S 02240 END START ( PrinL.. ) � System Setup

OSKenLook: The Next Interface ... August 1991 THE RAINBOW 45 Delphi Bureau

Literally Speaking by Eddie Kuns OS-9 SIG Database Manager

ou may have noticed that many o f rum messages are nicely for­ Hey , everybody ! This is a test of forum 's matted, with centered lines and automatic line formatti ng ! What wi ll thi s look like when formatted? indented sections. Well, if you've wondered how people (a) SO-column Screen Ycreate these formatted messages, pay atten­ tion. I'm going to disclose all their secrets Hey , everybody ! This is a test - they use dot commands. of forum's Normally when Delphi displays the text automatic line formatti ng! What wi ll this look like when you entered as your forum message, every­ formatted? thing you type is automatically reformatted for the width of the screen on which the (b) 32-column Screen message is being read. Therefore, you can type your text 80 characters wide without the text looking odd on a screen with only a Figure Automatic Text Reformatting 32-column capability. Delphi automatically 1: reforn1ats the text to the proper width. These reformatting rules are simple: If several consecutive lines of text all begin with a message to appear. For this reason, there 2a shows a sample reply to a user's ques­ nonblank character, they are considered are two often-used commands that almost tion. To get this result, the author placed a one block of text. A block of text is ended by always appear in pairs: . l t and . el . The . l t by itself on the line just prior to the a blank line, and a line beginning with one . l t command instructs Delphi to start the fl oat declaration. He also put . el on its or more blanks begins a new block. For literal mode, and . el ends the literal mode. own line afterthe call to pff init . Figure 2b example, the following text, Note that these commands must be by them­ shows how it would look if he hadn't. selves on a line, and the period must be the Hey , everybody ! Thi s is first character on the line (hence the name, Turning the Page a test of forum 's dot commands). In literal mode the text The . page command is a very useful dot automatic line formatting! appears exactly as entered, without any command that allows you to ask those read­ What wi ll thi s look like reformatting. ing your message if they want to continue when formatted? One way to get nicely formatted forum reading. If you are posting a long source­ messages is to edit the message offline. Put code listing in response to a specific per­ is reformatted as shown in Figure 1. . l t by itself on the first line and . el on the son's question, it is possible that not every­ This automatic reformatting can some­ last. Then send this file as your forum one will be interested in reading several times interfere with the way you want your message. pages of code. A polite way of handling this The problem with literal mode is that the is to announce that the message is long and message appears nicely formatted only to include a line similar to the following: those whose terminals are as wide as the Eddie Kuns is pursuing a PhD in physics at terminal you used to enter the text. For this .page Conti nue reading? Rutgers University. He lives in Aurora, reason I discourage use of this mode except Illinois, and works as a programmer and for specific sections of a message. Literal This causes Delphi to ask anyone read­ researcher at Fermi lab. Eddie is co-man­ mode is invaluable for presenting tables, or ing your forum message if they want to ager of the CoCo SIG; his username is for including code fragments or other types continue. If they answer"No" (or press N), EDDIEKUNS. of text you don't want reformatted. Figure they will proceed to the Forum> prompt

46 THE RAINBOW August 1991 from the message to which you are replying is very helpful in supplying a context for You need to incl ude pffi nit to pri nt fl oating poi nt vari abl es . This should do your reply. I emphasize short - you don't the trick in thi s case: want to quote the entire message, just enough fl oat f; to make it obvious to what you are replying. doubl e d; pffini t(); There are several other, less-used, dot commands. I'll save these for next month Hope this hel ps ! and provide an example showing several of these clot commands in use. (a) Desired Result Database Information The OS-9 databases have been undergo­ ing some reconstruction as you may have You need to incl ude pffinit to pri nt fl oati ng point variabl es . Thi s should do the tri ck in thi s case: already noticed. Greg Law, the OS-9 SIGop, has been working very hard, with some fl oat f; double d; pffinit(); help from me and other users, to reorganize Hope thi s hel ps ! the OS-9 databases. There are two goals: To (b) Without Dot Commands make files easier to find; and to make the databases more consistent. The result of this is that many files may be moved from one database into another. Some databases are being merged, such as Applications and Figure 2: Use of Literal Mode Utilities, while others may be split. I will have more details on this next month, but for now, don't worry. No files will be without seeing the remainder of the mes­ that is more easily demonstrated than ex­ deleted. sage. But if they answer "Yes" (press Y) or plained. In the fo llowing snippet, I quote In the OS-9 General Infmmation database, just press ENTER, they will see the rest of another user's question: Jim Sutemeier contributed an article de­ your message. The . page command with­ scribing how to build a UPS (Uninte1TUp­ out any additional text simply generates a .1m 4 /annot=> tible Power Supply) for the CoCo. If you More? prompt. Hey , Eddie. How was your trip? have trouble with momentary brownouts, . lm 0 you may want to take a look. Greg Law A Marginal Situation posted a patch for Computerware's di r­ With dot commands, you can also play It was great! copy to allow this utility to work with OS-9 with the margin settings, although the only Level II windows. Brian Paquette submit­ margin normally changed is the left margin. Here's how it appears: ted a Pig Latin filter that functions a lot like If you want to indent a section of text, the Valley Girl filter I mentioned last month. precede that section with . 1 m 5 and fo llow > Hey . Eddie! How was Philip Brown's single-sided copy program it with . 1 m 0. This sets the left margin to the > your tri p? allows you to copy files from one disk to fifth column for the section you want in­ another when you have only one disk drive. dented and resets it to normal following the It was great! While Tandy's copy command has a single­ indented text. drive option, it requires that both disks be If you include a section of text from Yes, the > symbol in the left margin comes formatted identically. another message and want to "quote" that from the /annot=> part of the . lm com­ In the Device Drivers database, Hugo text to separate it from your own, you can mand. You can use any character or charac­ Bueno posted a patch to windin t that dis­ use a special feature ofthe . 1 m command ters you want. Sometimes a short quote ables its erasing and redrawing of each

NEW! Graphics Oriented Assembly Language A brand ne w language fr om a brand new Color Computer supporter. GOAL (Grap hics Oriented Assembly Language) is American Computing modeled after 68000 and VA X-11 assembly language to make Equipment programming in assembly easier. P.O. Box 39281 * Programs are assembled into memory­ * 19 powerful memory-saving addressing modes Louisville, 40233 KY saving object code * 130 pages of documentation, sample programs, * Low-level principles mean GOAL assembler, interpreter, and fonts included 1-800-346-2794 programs execute fast * CoCo 3 version requires at least 128K, disk drive 9am-6pm. VISA/MC/Check * Vl.00 has over 200 instructions with 40 * CoCo 2 version requires 64K, disk drive Shipping: US $3, Canada $5 , special graphics instructions *Price until August 31st: $29.00 Olher Countries $7 * Multi-tasking fe ature allows a BASIC * GOAL Icons & ACE Fonts: Each $10.00 C.O.D. add S3 program and many GOAL programs to * GOAL, Icons, & Fonts: All three for $39.00 KY residents add 6% sales tax run simultaneously * OS-9 Version Available In August

August 1991 THE RAINBOW 47 window's title bar when you change to, or MFlTOO. ART from, a Multi-Vue menu window. Because PAULSENIURA Paul Seniura EASE THE USE OF PASCAL09 interrupts are disabled while the title bar is Database Report TONYSCHOUNTZTony Schountz being redrawn, some people lose characters MOTOROLA CROSS ASSEMBLERS when they switch windows while telecom­ NES Eric Stringer municating. This patch fixes the problem. RANDOMIZE.AR Tim Kientzle uploaded a patched version JSUTEMEIER Jim Sutemeier General Information IOCTL.H + SGTTY .H of the Burke & Burke real-time-clock driver COC03_UPS THEFERRET Philip Brown that includes the patches described by Bruce JSUTEMEIER Jim Sutemeier MINI LINT Isted in the August 1990 issue of THE RAIN­ DELMAR SOFTWARE BRIANPAQ Brian Paquette BOW as well as other enhancements. PAGAN Stephen Carville SMALL C COMPILER MM/1 IN RICHMOND TIMKIENTZLE Tim Kientzle PKW Paul K. Ward ANSI DRV THE C VERSION GNU NEWSLETTER MDALENE Mike Dalene JBUCATA Jason Bucata DELMAR AND PERIPHERAL TECHNOLOGY 68K-OS9 EDELMAR Ed Gresick TOP DISKS INDEX MM/1 SOFTWARE BUNDLE EDELMAR Ed Gresick PKW Paul K. Ward MM/l AT BUSCON Tutorials & Education PKW Paul K. Ward NEW ELEMENT OS9BERT Ben Schneider Applications Tim Kientzle released the newly-ported DIRCOPY PATCH FOR LEVEL 2 Small C compiler, which he worked on with GREGL Greg Law Philip Brown, into the Programmer's Den. MVCHECK V2.2A PATCH If you don't have the Microware C com­ KEJTHBAUER Keith Bauer piler, or if you always wanted to examine General Information Utilities REPAIRING A GOLDEN HOUR the inner workings of a compiler, take a DOALL: MULTIPLE FILE MANAGEMENT MARTYGOODMAN Marty Goodman look. Small C doesn't support all the fea­ THEFERRET Philip Brown TOSHIBA 1000 NICAD FIX tures of C. Brian Paquette's Mini Lint looks SPEECH FILTERS MARTYGOODMAN Marty Goodman for balanced parentheses, curly braces and MDALENE Mike Dalene INDENT V2.0 comment markers in C source code. CoCo 3 Graphics THEFERRET Philip Brown MARVEL SUPER HEROES Ed Gresick posted an index to the TOP NEW HEADER RICKMAC Richard McNabb disks. (TOP stands for The OS-9 Project and RICKGRAY Rick Gray DS69VIEW W/PRINT FOR CGP220 is located in Germany.) The TOP disks SBACK Vl.O LDMOORE Larry Moore contain a lot of free software, either ported SEBJMB Jeff Blower BLADERUNNER SCANS APPLICATIONS RICKMAC Richard McNabb from other operating systems or written BSCHWING Baron Schwing MODELT.CM3 from scratch. Most of the TOP programs SCREEN DUMP VERSION 1.1 RICKMAC Richard McNabb work only on 68000-series machines be­ MARLOU Marie-Louis Marcoux NEW 640 !MG VIEW MASTER cause of their size. SGREP TRAS Richard P. Trasborg BRIANPAQ Brian Paquette In the CoCo SIG, Marty Goodman DICK TRACY CM3 PICTURE PIG LATIN CONVERTER CORTLEY Patrick Fingliss described his efforts to repair a "Golden BRIANPAQ Brian Paquette 1991 PRINTER ART CALENDARS Hour" clock and the Ni Cad battery pack for SINGLE-SIDED COPY LDMOORE LaITy Moore his Toshiba portable computer. Larry THEFERRET Philip Brown MORE COCOMAX ART BY HCR Moore released a newer version of Steve LOTTO . AR HOWARDC Howard C. Rouse JSUTEMEIER Jim Sutemeier 3 MORE COUNTRY GIRLS IN !MG Ricketts' DS69View with the printer driver SCRIBE- TEXT GENERATOR LDMOORE Larry Moore for the Tandy CGP-220 printer. Larry Moore BRIANPAQ Brian Paquette also posted two 1991 printer art calendars. SPEECH SUPPORT Utilities & Applications While this article won't see print until the MDALENE Mike Dalene TEXT FILE SPLITTER middle of the year, it's not too late to take a ARTFLEXSER Art Flexser Device Drivers look. Richard Trasborg uploaded a new WINOINT INTERRUPT PATCH Games version of David Mills' 640 !MG viewer. MRGOOD Hugo Bueno SLOT. BAS This release fixes a problem some people CLOCK.BB FOR B&B RTC HOUSES Rick House encountered when trying to use 311z-inch TIMKIENTZLE Tim Kientzle ROULETTE drives with an earlier version. HOUSES Rick House Graphics & Music DUNGEON DEPTHS FIX FOR ADOS-3 Art Flexser contributed a text-file split­ MILITARY SOUNDS ARTFLEXSER Art Flexser ter. This program takes a large text file and DRIFTY Richard Gonzales SCUD MISSILE ATTACK splits it into several pieces - prompts ask HIS LAST DAYS (UME, MT-540) HOUSES Rick House how large you want each segment to be. DFYE Danny Fye JOUST-A KNI GHTS BATTLE HIS LAST DAYS (UME. MT-240) HOUSES Rick House This is useful if you download a huge file DFYE Danny Fye and your editor can only look at part of it at MICHELLE IN LACE ON TH E BEACH Product Reviews & Announcement a time. Rick House uploaded four games; BOYNGER David Boynton DEMO FOR CHECKBOOK+ two betting games - a slot-machine and KRISTIAN AND CHRISTIE IN SWIMSUI JOELHEGBERG Joel Hegberg GRAPHICSPUB Bob Montowski roulette - and two others. Joe Sannucci Telecommunications released the latest version of Wayne Laird's Programmers Den COCOS9ER. TX5 BBS list, which includes over 325 BBSs span­ ALARM. H SANNUCCI Joe Sannucci ning four continents! 0 THEFERRET Philip Brown

48 THE RAINBOW August 1991 Th e fo llowing products have re cently been received by THE RAINBOW, examined by our magazine staffand 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.

System IV, a 68000-based computer that runs OS-9/ bier, an interpreter, sample GOAL boot programs, 68000, Uniflex, MINIX, StarDos and REXDOS. The fonts and sample programs. Requires a 35-or40-track DPMAX, two additional programs for the Delta Pro Tem1inal system includes one megabyte of memory, disk drive. A111erica11 Co111pl//ing Equip111e111, P.O. package - OPMAX and DACCOMM. BIN - to increase the four serial ports, two parallel ports, one high-density Box 39281. Louisville, KY 40233, (502) 459-7966; productivity of your Delta Pro system. DPMAX is an $29 floppy drive and a PC-compatible keyboard interface. interface program using DCOMM. BIN as the main dig­ The Console system includes the above features and itizer and disk access routines. DPMAX offers advanced adds a VGA card and a 101-key, AT-style keyboard. Disk Manager's Apprentice, a new file-manage­ features such as jump sequencers, MIDI playback, Both systems include Professional OS-9/68000, Ver­ ment utility set for use with the CoCo 3 under Disk real-time level meter and memory displays, point­ sion 2.4. Delmar Company, Middle101vn Shopping BASIC. Each utility in the set has been created to help and-shoot interface during record and playback, and 78. 19709, (302) Cellter, P.O. Box Middletown. DE you organize Disk BASIC disks and the files on the constant audio monitoring. DACCOMM. BIN is a machine­ 378-2555: $999; Terminal system Console system disks. These utilities are combined into a single ex­ language interface program that uses the CoCo 3 $1149. ecutable environment called DMA. Once booted, all interrupts to allow playback of Delta-Encoded sound utilities are memory resident. Some of the tools are: files through the CoCo 6-bit DAC. This allows for All Rick's Software, an offering of every program Full wild-card file handling - all wild-card syntax playback without the Delta Pro pack. DPMAX re­ advertised by Rick's Computer Enterprise: can be used with COPY, Kl LL, MOVE, v I EW, DIR, CAT, etc.; quires a CoCo 3, a disk drive, the Delta Pro interface CC3FLAGS. a Risk-type strategy game; VOCAB, a and Point and Select filename features - allows pack, a Multi-Pak or Y cable, and a joystick or mouse. scrabble word game; Master Dir, a disk database; tagging of multiple files to copy, kill, etc. OMA Lucas Industries 2000, 14720 Cedar Street NE, Alli­ Programs fo r Friends, three educational programs supports RAM disks. Requires a CoCo 3, at least one ance, 0/-14460 1, (216) 823-4221 ; included with the and a card game; The Rainbow Indexes, a database of disk drive and an SO-column display. CoCo PRO! purchase of' the Delw Pro package. all articles published in THE RAINBOW: NIB Com­ Products. 1334 Byron Ave .. Ypsilanti, Ml 48198, pressor, a graphics compression utility; Rick's CoCo (313) 481-3283, $29.95, plus $4 Si!-!. OS-9 Calendar Utilities, utilities designed to work Gallery, selected pictures from Rick's personal libra1y; alone or as companions to gca l, the calendar program Gallery Maker. a graphics viewing utility for your Tools II, a new set of 27 OS-9 Level l I tools to make supplied with Multi-Vue. They allow the user to auto­ own picture files; Puzzles, a jigsaw puzzle program your computing easier. Features window utilities (such mate many of the repetitive tasks that go with that lets you create puzzles from your own graphics as a screen saver, global search-and-replace with wild maintaining gca l calendar files. The utilities operate · pictures; Tetra, the popular block-puzzle game; Master cards, a GO command to easily change directories), on data files of the same format as those created by Directory 3, all new CoCo 3 version of Master Dir; process-scheduling utilities, al arm and demon (a so­ gcal. Also included on the disk are a Multi-Vue and S1e1·e' s Pies, more graphics pictures. Rick's phisticated background-task manager with sched­ application-infom1ation file (AIF) and an icon file for 276, Computer Emerprise, P.O. Box Libeny. KY uling), script-file utilities, recobbl er, 1/0 port utilities use with gca l under Multi-Vue. The user can click on 42539; $33, plus $2 S!l-1. including netl ink and an autodialer for voice calls, a calendar data file and have it opened automaticafly and calculation utilities. CoCo PRO' Products, 1334 when gcal runs. MV Systems. P.O. Box 818, Arvada, 481 98. (313) 481-3283; DynaStar - OS-9/6809 and OS-9/68000 versions, Byron Ave., Ypsilanti, Ml co 80001-0818, (303)420-7777; $14.95, $2.50 S!/-I. a menu-driven screen editor equally suited to the tasks $34.95, plus $4 SIH. of program preparation and word processing. Single­ keystrokecommands move the cursor in any direction by character, word, tab, line or full screen. These commands also delete characters, words, or even whole lines. For programmers, there is an auto-indent mode. DynaStar permits editing files larger than memory. Dynastar has a Help menu that displays at the top of the screen a brief definition for each First product received from this company command. DynaSwr allows users to create powerful + macros with its unique macro facility. Also included is the DynaFonn print formauer. DynaForm's stan­ dard features include pagination, headers and footers, single, double, and multiple spacing, boldface, double­ The Seal of'Certif ication is open to all manufacturers of products for the Tandy strike, underline, and a macro facility with many Color Computer, regardless of whether they advertise in THE RAINBOW. options. Frank Hogg Laboratory, 204 Windemere 13205, (315) 469-7364; $200. Road, Syrarnse. NY By awarding a Seal, the magazine certifies the program does exist -that we have $5 plus Si!-!. examined it and have a sample copy - but this does not constitute any guarantee Goal 1.00, Graphics-Oriented Assembly Lan­ of satisfaction. As soon as possible, these hardware or software items will be +guage (GOAL) for the CoCo 3. If you already know forwarded to THE RAINBOW reviewers for evaluation. assembly language, this reference is all you need for programming in GOAL. It comes with a 134-page manual and software. Software includes an assem-

August 1991 THE RAINBOW 49 � lffi@WD®�@ 1f------

Database coco 1, 2 & 3 enter all of the information from the back of desktop publishing program. Sooner or later a card. The data is stored in a one-granule Max- 10 users break down and buy addi­ disk fi le. tional font sets to experience the full flexi­ The Print option allows you to print only bility of this excellent product. However, a single card. I would 1 ike to see an option even with the full acid-on setsfrom Color­ Baseball Card Catalog for printing all data fi les. If I go to a swap ware, there has always been room for fur­ meet, it could be advantageous to have a ther expansion - and a strong need for A couple of weeks ago a friend noticed printout of all cards. some very specific additional items. I had a small stack of baseball and football Baseball Card Catalog fills a niche in Walter Bayer of Coless Computer De­ cards from my childhood days of card flip­ my library. But if you have a large collec­ sign was involved in some of the work that ping. A fe w clays later she brought over a tion, the data entry procedure will require led to Max-10, and he enthusiastically sup­ magazine so we could check their present many hours of typing. In addition to having ports it. He produced DIO Fonts to fill some values. To our amazement, we fo und that your card information stored on disk, it is of its . There are "only" 19 fonts in this the handful of cards is worth hundreds of also advantageous to have your cards in package, but they provide an excellent dollars - one particular Nolan Ryan card binders in an order that facilitates easy sample that may be used immediately with topped them all at $150! I knew the cards access. (It is surely less time-consuming.) the standard Max-10 program or used to would be valuable someday, but this was a supplement the Colorware font offerings. shock after having paid little, if any, atten­ By the term supplement, I have in mind tion to their rising value over the last 20 such useful items as Woodhaven 8 Point, years. which fi lls out the size variety of this popu­ Recently I saw an advertisement for the lar and useful font family. Other fonts where grand opening of a sports-card shop. I �! so DID Fonts fills out partial families include learnedthat card swap meets are held regu­ Venice and Digital. DIO Fonts' Writing 12 larly in my area. Suddenly I saw the money­ provides an alternative freehand script to making potential of this old hobby, but I the one in the older group. If your desktop needed to organize my records. Then Base­ publishing efforts include some simulated ball Card Catalog, a product from the freehand correspondence between two Millsoft Company, arrived for review. people, the slight differences between these Baseball Card Catalog is a database that two freehand-like fonts might be an artistic is designed to help serious card collectors I might sell some of my c<1rds in the near need rather than just an affectation. keep track of their baseball cards. The pro­ future, though I stress the word might. After gram requires a CoCo 3, two disk drives al 1, few cards in the collection show signs of Writ ing 12.?Jint: and a monitor (a printer is optional). There future value decreases. And with cards like lle>Rl.aµ µuh1v.ih

50 THE RAINBOW August 1991 /

Subscribe to these convenient services Back issues of both RAINBOW ON and receive each month's programs in a TAPE and RAINBOW ON DISK are also avail­ ready-to-run form. No more long tedious able! (see our back issue ad in this issue) hours wasted typing! No more red eyes RAINBOW ON TAPE back issues and sore fingers ! All you do is load and run, are available beginning with the April using the current issue of THE RAINBOW as 1982 issue. A single copy of RAINBOW documentation. ON TAPE is $1 0 within the U.S., $12 in all OS-9 programs are available tool One side of other countries. The annual .subscription the RAINBOW ON DISK is formatted for the for RAINBOW ON TAPE is $80 within the OS-9 opera ting system (OS-9 pro- U.S.;$90 in Canada; and $1 05 for all other grams cannot be put on tape) so countries. U.S. currency only. you can get all the great pro­ RAINBOW ON DISK back issues are grams in the magazine. available beginning with the October 1986 A one-year subscription issue. A single copy of RAINBOW ON to THE RAINBOW and RAINBOW DISK is $12 within the U.S., $14 in ON TAPE is only $91 in the U.S., Canada, $16 in all other coun-­ $1 08 in Canada, $1 53 foreign sur­ ries.The annual subscription for RAIN­ face rate and $1 88 foreign airmail. BOW ON DISK is $99 within the A one-year subscription to THE U.S.;$1 15 in Canada; and $130 for all RAINBOW and RAINBOW ON DISK is other countries. U.S. currency only please. only $1 15 in the U.S., $1 38 in Canada, Subscribe today and start enjoying THE $183 foreign surface rate and $21 8 foreign RAINBOW and your CoCo the easy way, airmail. U.S. currency only. without the fuss!

and Save Money Too!

Yes! Sign me up fo r a joint 1 -year subscription ( 12 issues) to:

0 THE RAINBOW and Rainbow on Tape 0 THE RAINBOW and Rainbow on Disk 0 New 0 Renewal (attach labels)

Name 0 My check in the amount of is enclosed. Address charge to: 0 VISA 0 MasterCard 0 American Express i C ty ______Account Number ______

State Zip Expiration Date __ Signature ______

Use our convenient subscription envelope inserted in this magazine. For credit card orders call(800) 847-0309, 9a.m. to 5 p.m. EST. All other inquiries call (502) 228-4492 ':' Payment must accompany order, we do not bill. U.S. currency only, please. Kentucky residents add 6% sales tax; Canadian residents , 7% GST. Please allow 6 to 8 weeks for delivery of first copies. All subscriptions begin with the current issue.

Please note : While group purchases of RIANBOW ON T,\PE and RAINBOW ON DISK are permi11cd (and multiple subscriptions are even discounted. if purchased in one order from a club). no license to make copies is conveyed or implied. Unauthorized coping of any copyright product is strictly illegal. and news pages, for each author, and for To take advantage of this program's that make up a waveform for the note. A headlines, classified ads, etc., this project features you must have a CoCo 3, a disk representation of the waveform is displayed made me realize why font libraries exist. drive and one joystick. GrafExpress sup­ on the screen, and a Max command allows The Coless Computer Design package is a ports both composite and RGB displays, you to optimize a waveform if some of the welcome addition to this library. joysticks with orwithout a Hi-Res interface weight settings cause distortion or "clip­ The main value of this package is that it and the CoCo 3's high-speed operation. ping" of the harmonics when a note is finally provides Max-JO with a good Zapf After making a backup of the GrafEx­ played. There is no provision for saving or Dingbats 12 set. For those who do not know press disk, you can run the introductory loading the waveform harmonics or any of what this is, the name Zapf Dingbats (usu­ program that showcases some of the capa­ the other values you may use in Wave­ ally provided in 12 point) is reserved for a bilities of this programming system. These Maker, so you must write them down if you graphics fontof small, miscellaneous sym­ include 12 different graphics screen sizes plan to use them later. bols often needed inside text. Such symbols with horizontal resolution from 128 to 320 In addition to performing their primary include the characters for the four card suits pixels and vertical resolution from 192 to functions, the three included application used in bridge columns, a Maltese cross, 225 lines per screen, fast-drawing com­ programs provide concrete examples for male and/or female figures, a check mark, a mands, multiple-screen animation, screen using GrafExpress. bell, a pointing hand, a martini glass and a scrolling, an 8-octave/4-voice music syn­ The GrafExpress system does not replace small watch. These symbols also include thesizer, sprite animation, object-collision BASIC, but augments it. With 49 commands editing and arrow characters. Do not con­ checking, and high or low priorities for the to learn,Gra fExpress may be a little intimi­ fuse a Zapf Dingbats font with clip art - sprites. The sprite priorities allow you to dating to the novice or inexperienced pro­ Zapf Dingbats are much smaller and serve choose whether an animated sprite appears grammer. To the more experienced, a distinctly different purpose. Zapf Ding­ to be drawn (or moved) in front ofor behind however, GrafExpress can be a great bene­ bats are used inside the text and take up one another sprite. With the GrajExpress sys­ fit since the author explains how to imple­ character position per symbol. tem you can also create windows on a ment theGra fExp ress system in both BASIC In summary, this fontset is useful, works screen. You can then move the windows on and assembly language to achieve mul­ properly with the other Max-JO elements, the screen, copy from one window to an­ tiple-screen animation, multiple waveforms and is quite inexpensive. I highly recom­ other, and turnthe windows on or off. You and up to 255 pictures, screens, sprites or mend it, especially after learning that Mr. can also set a screen 's border color, select windows. Bayer provides immediate technical sup­ fast or slow CPU operation, turntext echo­ I found it quite enjoyable and rewarding port for any problems you might have. My ing to the screen on or off, select different to use the GrafExpress system, especially problem was a defective disk that caused text font sizes, turn sprites on or off and when I could move my graphics creations his loading program to crash. We traced the define music waveforms. around the screen with sound and/or fo ur­ problem to a badly done backup procedure, voice music. With some practice and pro­ and his willingness to go through a step-by­ gramming time, it is possible to create step process is one more plus for an already impressive games and programs for the excellent package. Coco 3. If youwant to market a program created (Coless Computer Design, 1917 Madera with GrajExpress, you must understand St., #8, Waukesha, WI 53186; 414-549-0750; that only those ofyou who ownthe GrafEx­ $14.95, plus $3 S/H) press system will be able to use that pro­ gram. You may discuss with the author the - H. Larry Elman possibility of licensing a program with the GrajExpress system included.

(Softronics Vanguard, 605 Evergreen Graphics coco 3 I I Three application programs are included Drive, Holmen, WI54636; 608-526-9226; $35) with GrajExp ress: An Intro program, Pic­ Maker and Wave-Maker. Pie-Maker is a - Richard L. McNabb GrafE xpress 1.0 graphics editor that allows you to create pictures pixel by pixel with a joystick. From Softronics Vanguard has introduced its a choice of 16 different colors, you can set a Graphics Coco 3 first offering to the CoCo community, and pixel, draw a line, and draw either a box I I what an offering it is. GrafExpress J .O is a outline or a box filled with one of the colors. graphics/sound system that can help you There are also provisions for saving, load­ when creating games and many other types ing and killing picture files. A Directory Ml O Clip Art of programs. command is available for checking the file­ GrafExpress comes with a well-written, names on a disk. Pictures created with Pic­ After almost Ioyears of writing software 38-page manual that provides great detail on Maker can then be used later with the reviews, I've learned that some products using the various programming features. GrafExpress system as simple pictures or are both fun to experiment with and easy to Section 1 of the manual deals with general animated (or non-animated) sprites. review because they take little work and information about the system. Section 2 Wave-Maker is used to create wave­ give much pleasure. Among the best of explains how to use GrajExpress with BAS­ forms for any music you might want to use these products is a set of clip ai1 from Coless IC. Section 3 details how to use GrajEx­ in your program. With the joystick, you can Computer Design. press within assembly-language programs. set the volume, frequency,decay rate, tempo The M Jo Clip Art package is intended for And the final section reviews the applica­ and duration of a note. In addition, you can use with the Max-JO home publisher. It tion programs included with the package. select the weights for the eight harmonics contains 300 separate pieces of clip art pack-

52 THE RAINBOW August 1991 aged on five flippy disks. For those of you politicians are just modern astrologers?) parties should contact The Trading Post for who have two-sided drives, please remem­ The normal collections of office symbols more information. ber these are flippy disks, not floppy disks. and academic symbols are also present. One problem with printing envelopes on If you forget that you are working with Two of my favorites are an angry-looking a standard printer involves feeding the flippy disks, you may wonder why you teacher who seems to come from the envelopes through the printer. As the docu­ can't get to half of the files. They are "Archie" comic strip and a disgusted parent mentation that comes with Envelope Writer accessible - just fl ip the disk over. Any­ examining a report card. makes clear, you should use special tractor­ how, five disks and a good manual at this feed envelopes if you are using a dot-matrix price is an amazing bargain. printer. These envelopes are available at Most clip art users in our local club print most office/computer-supply outlets. Most the art so they can view it at their leisure daisy-wheel printers can handle standard rather than using the often-provided View envelopes, but it wouldn't hurt to use the program. Coless Computer Design provides tractor-feed envelopes if your daisy wheel a manual with all 300 clip-att designs printed can handle it. for your convenience. With 300 designs to choose from, a view program might be just too unwieldy, at1d I like their solution. Coless Computer Design has always MCLIP 2 provided excellent technical support for their products - even by phone - but it was not needed at all for this package. Transportation and sports are covered However, while talking to Mr. Bayer (Co­ with about two dozen images. There are a less owner) as part of a review for a com­ dozen or two animals and all sorts of faces, panion product (DIO Fonts), he remarked including a recognizable Marilyn Monroe. that he has over 1500 clip art items that can As for quality, I printed many of these be used with Max- JO if simply moved from images on my NX-1 000 and was pleased with one format to another. He put in a plug for the results. his Cl/I Pages£, which he used to move the Adding the MIO Cl1jJ Artpackage to a 300 images in this package toMax-IOformat Max- JO collection is a must for the serious from the more-packed format his products CoCo user. use. I immediately bought Cl/I Pages£. Although it is a full graphics program, my (Coless Computer Design, 1917 Madera interest for this review is only in the clip-art St., #8, Waukesha, WI 53186; 414-549-0750; moving/reformatting utility. $19.95, plus $3 S/H) I disagree with Mr. Bayer on one point, however. He said that if a user has the Cl/I - H. Larry Elman Pages£ clip-art-format moving utility, nothing else is needed. This statement pre­ Home Help coco 1, 2 & 3 sumes greater artistic ability than most of us I I have and also undervalues the excellent artistry in the 300 samples provided. Putting any of these clip-art items into your Max- JO text is simplicity itself - Envelope Writer Envelope Writer is written in machine about three menu-driven mouse clicks is all language, which may make it fairly speedy. it takes. Andthis is the first clip art I've used Many computer owners use word proc­ Of course speed isn't a real concern with that is of sufficient quality that I could take essors to handle daily correspondence. Some this type of program - the limiting factors pleasure in using the expand/shrink/resize owners go further by printing return-ad­ are that you'll be typing the addresses and options. dress labels to affix to the envelope. Enve­ the printer can only go so fast, and machine The 300 clip-art images include symbols lope Writer goes beyond this in an attempt language can't correct these limitations. for almost every known holiday in North to make it easier to print single envelopes Of more immediate concern, the pro­ America, both civic and religious. The more for personal or business mail. Whereas gram uses Tandy-specific printer codes for well-known holidays (like Christmas) have businesses, clubs and other organizations typestyle changes. Envelope Writer allows whole collections of images. Also included often use mailing-list programs to create you to independently select from normal, are a number of patriotic and military many address labels, Envelope Writer of­ elongated, condensed, elite and bold types­ symbols. fers a way to print a return address and a tyles forthe return and recipient's addresses. There is a full, 26-letter illuminated al­ recipient's address on one envelope at a If you don't own or use a Tandy printer that phabet for those who want to begin text time. supports these codes (newer Tandy printers chapters in a manner reminiscent of monks While The Trading Post indicates it don't), you are limited to whatever typesty­ hundreds of years ago. Don't laugh, I found cai·1ies a CoCo 2 version of Envelope Writer, les you can manually set with your printer. this, plus shrink/expand, too tempting, and the version we received for review is in­ In addition, both addresses will be in the I spent almost an hour playing with the tended for a CoCo 3 with one disk drive and same typestyle. As the Tandy-specific codes selections in just this one section! a Tandy printer. Therefore, specific points are hard-coded into the machine-language Another disk contains the entire set of made in this review are for the CoCo 3 program, it is difficult indeed to alter them, signs and the symbols of the major version only. I assume the CoCo 2 version and downright impossible if you are not political parties. (Is this possible proof that also works with the CoCo l, but interested familiar with disk-editing programs. Enve-

August 1991 THE RAINBOW 53 lope Writer should include some form of positions - the program positions the print­ Entering a slash at the main entry screen set-up program for those using more-stan­ head based on the width of characters in the takes you to a menu from which you can set dard printers. If nothing else, it should be chosen typestyle. I created some pretty new defaults for the returnaddr ess, spac­ written in BASIC so those who know how unusual-looking envelopes (not to mention ing, typestyles to be used for the returnand can edit them at will. Again, speed is not wasted a few) because of this. To standard­ recipient addresses, and printer speed. Af­ important enough in this case to forego ize address placement, Envelope Writer ter you change a default, the system suppos- such fundamental flexibility. should use the "normal" typestyle when As most people know, envelopes come adjusting the printhead position, regardless in several different shapes and sizes. Enve­ of the chosen style. lope Writer does allow for this - the user After you load and execute the program, has control over tab (margin) settings and the main entry screen appears. It is on this vertical placement for the returnand recipi­ screen that you enter the name and address ent's addresses. In addition, the vertical for the addressee. Upper- and lowercase spacing required for tractor-feed envelopes characters are visible onscreen (at least is adjustable. with the CoCo 3 version). Six lines are The only spacing problem I encountered provided for the address. Pressing ENTER was with the tab settings. Different typesty­ after the sixth line automatically calls the les for the recipient's address cause the print routine and, assuming all else is set address to be printed at different horizontal correctly, the envelope is printed.

NX-1MUL00TI-FONT1

edly saves it in a fi le named FILE. DAT. This appears to be intermittent at best. On sev­ eral occasions, I changed some defaults (which should have been saved), turnedthe power off and back on, and reran the pro­ RAINBOW gram only to find the settings were not exactly as I had left them. (Oh, some were right, but others weren't.) Envelope Writer NXThis next gener-1ation020 color printer sets new This does come with a BASIC program called standards in color printer performance ... 225 enhanced version of RESET that sets all defaults back to their cps, 4 NLO fonts including Script, plus a new the legendary NX-100011 is the original states by creating a new FILE. DAT high speed draft font; but the enhancements latest low-cost high-performance printer don't stop there. Add a 16k buffer, a special quiet from Star Micronics. Fully featured with 4 NLO fi le. mode, top feed, bottom and rear tractor, and the plus a draft font. 1 O character sizes from No provision is made for editing either list goes on. Seven on-demand colors, 8 color subscript to quad ruple size, 4k buffer, 180 cps, the return address or the recipient's ad­ graphics modes, Epson and IBM emulation for friction and tractor feed, and much much more. dress. This could be frustrating in situations maximum software compatibility. Virtually Backed by a 2 year warranty. Epson and IBM (home or small business) in which more everything desired in a printer is here - speed, emulation modes for maximum software than one person sends correspondence via color and versatility at an affordable price with a compatibility. A performer so versatile you may 2 year warranty. never exhaust it's creative possibilities. the mail. It is sorely missed when entering information for the addressee - if you OUR PLUG 'N GO FOR THE COCO OUR PLUG 'N' GO FOR THE COCO make a mistake, you must start over. And if SYSTEM INCLUDES: SYSTEM INCLUDES: you press ENTER after that sixth line, your • NX-1020 Rainbow Multi-Font Printer • NX-1001 Multi Font Printer • Blue Streak Ultima •Blue Streak Ultima CoCo will faithfully print the envelope, • Software Support Disk 5 •Software Support Disk useless as it is. • Color Su er Gem rint · Q9 Along this line, another missing fe ature p p +$10s24 Shipping & Insurance +$10s Shipping & Insurance 1 aaaa is file 1/0. You cannot save a database of

••• (513) 885 ..59 99 addresses, which could make this program OrderAll Dayton Yo urAssociate's System produc Totsday have a 30Call day moneyback guarantee. extremely useful. Nor can you load ad­ dresses from a word-processor file. Visa &Masleraccepted within ofH�I{ f • the continental U.S. Computers are great for situations in A T N ASSQ TES I N Ohio residen1s add &.S% salestax 9644D Y ailOwood Trail • SprinCIAVal ley, Ohi 537C0 which they can make a task more efficient. Qu g o 4 COD add Shipping charges to Canada. P.R .. HI, AK, APO. FPO are double. Triple charge 10 all other countries. S4.00 Epson is a reois!ered trade mark of Seiko Epson Corp. IBM is a registered trade mark o! International Business Machines Corp. Price and Specilk:alions a1e subject 10 change wi!hou1 notice But for the time and trouble involved,

54 THE RAINBOW August 1991 Envelope Writer offers no advantage over window so your printer functions with that games in three other windows. All of these using a word processor for addressing single particular operating program. The author various programs worked fine. Then, I tried envelopes. In its current form, I find it has wisely provided a priority level func­ Mikeyterm and it locked up the computer. difficult to recommend Envelope Writer to tion as well by using the command You will have to experiment to see which anyone - especially at its current price. A=USRS[xJ, where xis between I and 255. other machine-language programs run with The higher the number, the more priority your computer. (Trading Post, P.O. Box 3453, Carbondale, the CPU gives to the program running in a I am impressed with BASIC Windows. It IL 62902-3453; 618-457-5258; $17.95, $3 S/H) specific window. This handy function lets works as advertised and provides a great you decide which program will have the way to capitalize on the extra memory in the - Cray Augsburg most priority. ff you forget the priority level CoCo 3. I love the ability to load four of my selected for a program, you can use favorite games and switch between them A=USR9[0J fo r a reminder. If you don't without having to quit one to play the next. specify a priority level, all operating win­ BASIC Windows is a program that CoCo 3 Utility coco 3 I I dows share equal processing time. users will love to have in their bag of tricks. The 5-page instruction sheet contains very useful information on techniques you (KB Enterprises, 435 Brightwaters Dr., BASIC Windows 2.0 can use to enhance the usefulness of this Cocoa Beach, FL 32931; 407-799-3253; $34.95) program. I tried running Radio Shack's BASIC Windows is a great, new program EDTASM in one window and some BASIC -Jerry Semones for your 5 I 2K CoCo 3 with one or more disk drives. The program is supplied on a single 514-inch nonproteoted disk, so make a backup copy for safe keeping. The disk contains a BASIC boot program and the JOO-percent machine-language windows program. BAS­ IC Windows creates either two or four win­ ... For the CoCo dows that can be used to run up to four separate BASIC programs simultaneously. ' " Don't expect the screen to be divided into The smallest, S 18". �rr-� two or four windows-you actually get up le to four separate screens you use in the Fastest.Seri normal way. Each screen is identified as Conuerter. Window l, Window 2, Window 3 or Win­ dow 4. You step through each window by F pressing the clown arrow key and either F Use this "smart c (forward) or R (reverse). printer to an '¥ To get the program up and running, t perfo rmanc · simply type RUN "BOOT" and press ENTER. long-life, hi You are then asked if you want all four · plugs tor ex windows activated or just two windows. Next, you are asked if you want the win­ dows mirrored. Mirroring a window al lows it to communicate with its "mirror." With­ out this function operating, the programs running in each window are unaware of each other, which can cause programming problems. The last question asks if you want to run the high-speed poke. Since some programs won't run at the higher speed, you have the option of turningit off. Once all three questions have been an­ swered, the main machine-language pro­ gram loads and automatically executes. After the title screen appears, you see the first window screen, identified as Window TYPE HI-RES COLOR SUPER SUPER SUPER During my experimentation with BASIC SELECTION/ I. TUTORIAL GEMPRINT GEMPRIN T GEMPRINT Windows, I tried the program with CC3-DOS Oolme mstruct1onal program rt1at iwll Disk soft1·1<1re that will Wi ll transfer a Pmode 0. I. 2. 3. or Tra 11sfers color screens lo and ADOS-3 - both were fully supported. select 24 special features of your transfer a Hscreen 1.2.3 or -I ./ picture screen to prmter 8x11• Co/orNX- 1020. 8'x11" printer or display mellwds to picture scme11 to pri11te1 l1ardcoµy. Black/1vf1ite. 1�1!1itelbfack llardcopy in any Just remember to load any operating sys­ mcorporate them mta your programs Grey level s/1admg for color. or grey level sllading for color. Pmode or Hscreen mode. tem other than Disk BASIC before trying to run BASIC Windows. Order YourSystem Today••• Call (513) 885 ..59 99 A command in BASIC Windows 2.0 al­ All Dayton Associate's products have a 30 day moneyback guarantee. lows you to lock out a particular window, Vi�,1 ,\ tvl.1sterau ept('(! ''i1hi11 which gives more processing time to the the rnnlinen1,1J U.S Ohio residl'n!� .1 dd (1..J'�.. :-,1 les f,1x 96DAYTO44 N ASSOC• IATES0rH�1t , 4537INC.0 Quailwoocl T1·ail Sp1·i11g Val ley, Ohio \OD ,1 dd 54.00 other active windows. You can also set a Sh1pp1ng clrnges to Canada. P.R . H!. AK. APO. FPO are double. Triple charge to all otller countries.

August 1991 THE RAINBOW 55 The ultimate shoestring desktop publisher fo r the CoCo 3 ltralace: The Epson Ve rsion

Last month we saw the major listing for is devoted to the listing for the Epson ver­ Ultra/ace. As explained then, there are two sion. versions of this program: One version is Enter the listing for ULE as it appears by H. Allen Curtis designed for Tandy-standard printers and here, and save it to the Ultra/ace File disk the other is for Epson/IBM-compatible print­ we created before. Then check last month's ers. Because there wasn't room, we printed installment for optional changes you can only the Tandy version last time. This month make. Also, limited instructions for using Ultralace were given last time. Both versions, ULT and ULE, appear on this month's RAINBOW ON TAPE/DISK.

In the Future We've presented all the listings required for the Ultra/ace desktop-publishing sys­ tem. In the final installment next month, we'll cover actual operation of Ultra/ace. In the meantime, three font-file disks are available from me at the address given above: Fonts T through Y ($5), Fonts J through Y ($ 12), and Fonts A through Y ($ 19). Please include payment to me by check or money order. 0

/-/ . Allen Curtis lives in Williamsburg, Vir­ ginia. He is interested in 17th and 18th century history and enjoys biking through the colonial capital. He balances past and present with his computer work. He can be contacted at 172 Dennis Drive, Will­ iamsburg, \/A 23815, (804) 229-7086. Please include an SASE when requesting a reply.

56 THE RAINBOW August 1991 48 T=V :L=U : K$="F" : GOT0138 50 IFZ=U AND L+4>W-1THENL=U :IFT< P THENT=T+D+l 52 IFZ<>U AND L+4>W-1THENFL=l :GO T0112 54 HGET( L,T)-(L+l ,T+Dl,l:HLINE(L ,TJ-(L+l ,T+DJ,PSET,BF 56 POKE&H23 ,Al: POKE&H24,A2 58 IFSCI=1THEN420ELSEIFSCI=2 AND KS=lTHEN428ELSEIFSCI=2THEN432 60 KS=INKEYS:IFK$=""THEN60 62 K=ASC(K$):!F K>64 AND K<91THEN N=K-64:B=N:HLINECL,T)-(L+l ,T+D) , PRESET,BF:GOT0106 64 IFK>96 AND K47 AND K<58THENN=K-47:B=N +52 : GOT0106 68 IFK>32 AND K<48THENN=K-32:B=N +62 : GOT0106 The Listing: ULE 70 IFK>57 AND K<65THENN=K-57:B=N +77 : GOT0106 1 PCLEARl :CLEAR6000 :CMP:WIDTH40 : 16 LOADM"MLR": POKE&HFFA2 ,&H70:LO 72 IFK=32THENZ=L+S :IFL+8lTH 6 FORI=0T029: POKEl+&Hl321 ,PEEKC K 22 POKE&HFFA2 ,&H7A:GOT0492 ENL=L-2:GOT050ELSEL=0 : GOT050 +l):NEXT:RETURN 24 . 80 IFK=93THENIFH=lTHENSOUND60 ,9: 7 K=&Hl35F:GOSUB6: POKE&Hl27F,l:P 26 GOSUB384 : POKE&HFFA2 ,&H70:5AVE GOT050ELSEZ=U:HLINE(L,T)-(L+l ,T+ OKE&Hl283 ,&H50: POKE&Hl2DE,0:POKE M"OUT1",&H4000 ,&H5FFF,&HAC73:POK D), PRESET,BF:I FL+DX -lD THENT=T-l-D:GOT050 5:POKE&Hl283 ,&H3C : POKE&Hl2DE,0:P 28 EXEC&HF3C : GOSUB384 : POKE&HFFA2 84 IFK=10THENHPUT( L,T)-(L+l ,T+D l OKE&Hl263 ,0:POKE&Hl280,&HlE:GOSU ,&H70: 5AVEM"OUT" , &H4000 ,&H5DFF,& ,l:IFT+DW-5THENL= L-4:GOT050 l":POKE&HFFA2 ,&H73: LOADM"R2": POK ":POKE&HFFA2 ,&H70: LOADM" !Nl":POK 88 IFK=9 AND L+4W*.5THENHGET(U,T BIN"TOF$+"M"+P$: RENAME"R/BIN"TOF CREENH : POKE&HE6E4,&HE7 :HBUFF1 ,39 )-(W-I-l,T+.5*D+.5),6:HPUT(U+l ,T $+" R"+PS :EXEC&Hl2CB:NEXT 9:HGETC8,152)-(9,152+D),l )-(W-l,T+.5*D+ . 5),6:HGET(U,T+.5* 12 POKE&HFFA2 ,&H72: LOADM"DMENU/H 42 HBUFF4 , 3200:HBUFF5 ,2104:HGET( D+l.5l-CW-I-l,T+D ),6:HPUT(U+l ,T+ Rl :0":POKE&HFFA2 ,&H7A: RETURN 0,0)-(639,19),4:HBUFF6 , 1520 .5*D+l.5)-(W-l,T+D ) ,6:GOT0104 13 ' 44 EXEC&HF00 :HGET(48,16)-(63,31) 102 IFK=95THENHGETCU+l ,TJ-(W-l,T 14 ,5:EXEC&HF00 :DX=l6:DY=l6 +.5*D+. 5),6:HPUT(U,TJ-(W-l-l,T+. 15 HC0LOR3 ,0:0N BRK GOT0332 46 PALETTEl,0 5*D+. 5),6:HGETIU+l ,T+.5*D+l .5)-(

August 1991 THE RAINBOW 57 W-l,T+D) ,6:HPUT(U,T+.5*D+l .5)-(W CREEN3: POKE&HE6E4,&HE7 :GOSUB170: TURN -1-I . T+D).6 L=Ll :EXEC&HF8E:GOT0128 218 GOSUB212:CLS: LOCATE6 ,8:PRINT 104 IFK<>95THENHPUT(L,T)-(L+l ,T+ 140 JFK$= ' 'B'' OR K$=' 'b' 'THEN168 "ENTER TOP MARGIN (0 - 10) : ";:L Dl.l:GOT050ELSE50 142 JFK$= ' 'H'' OR K$= ' 'h' 'THENGOSUB3 INEINPUTV$:LOCATE6,10:PRINT'' ENTE 106 HLINE(L,T)-(L+l ,T+D) , PRESET , 24 : GOT0396 R LEFT MARGIN '';: IFV$=' '''THENV$=S BF: I FL+M(B)W-1THENL2 146 IFK$=' 'K'' OR K$=' 'k' 'THENGOSUB3 220 LOCATE24 ,10:IFH=lTHENPRINT' ' ( =L-W+l :L=W- l:GOT050ELSE50 08 : GOT0128 0 - 200): ''.:LOCATE35 ,10ELSEP 108 IFZ=U THENL=U :IFT

l0THENV=l0 ' AND TW-50THENSOUND60 ,5:LOCAT 4 OT0128 El0,15:PRINT' 'LEFT MARGIN TOO BIG ' ' 120 IFL+Ll<0THENLl=Ll+2 : GOT0120 154 JFK$=' 'R' ' OR K$=' r 'THENIFH=lT '':L OCATE8 ,16:PRINT' 'RELATIVE TO R 122 IFSCI<>ZTHENHPUT(L,T)-(L+Ll , HENH=3 :U=2*U :W=2*W :Tl=2*Tl : T2=2* IGHT MARG IN!'':L OCATE14,17:PRINT'' T+D ) , 6: L =L +Ll+L2 : L=2* I NT ( . 5* L +. 5 T2:GOT0128ELSEH=l :U=.5*U :W=.5*W : TRY AGAIN. '':GOT0220 ):L2=0ELSEL=U :GOSUB476:KS=KS+l :G Tl=. 5*Tl : T2=.5*T2 : GOT0128 230 I FU<0THENU=0 OT0432 156 JFK$=' 'T' ' OR K$=' 't' 'THENGOSUB2 232 IFH=l AND U>200THENU=200 124 N=FL+l :ON N GOT050 .54,62 98 : GOT0128 234 IFH=3 AND U>400THENU=400 126 HDRAW ' 'BM' '+STR$(L)+' '.' '+STR$ (T 158 IFK$= ' · c ·. OR K$=' 'c' 'THEN252 236 GOSUB212:LOCATE4 ,12:PRINT ' 'EN ' ' )+F$(B): RETURN 160 JFK$= ' · s ·. OR K$= ' s 'THENGOSUB3 TER RIGHT MARGIN ( 0 - '';3 20+(H-l 128 HSCREEN0:CLS:ATTR0,4:LOCATE1 24 : GOSUB322:IFK$=' ' l"THENGOSUB7 :G )*160 ; ' '): '';:LINEI NPUTW$ : IFW$=' ''' 0,4:PRINT' 'A: ART-DESIGNS'':LOCATE OTO l 28E LS EIFK$= ' '2"TH ENGOSUB8 : GOT THENW$=STR$(W) 10 ,5:PRINT' 'B: BACK TO SCREEN '':L O 0128ELSEI FK$=' ' 3"THENPOKE&Hl3FF, 0 238 W=VAL(W$ ):IFW' '9" THENSOUND IT AT THE MOST' ' :LOCATE6,17:PRIN 60 . 10: RETURN E LSEK$= ' ' l "+K$ T' 'RECENT CURSOR POSITION? (Y/N) 176 GOSUB212 '':LOCA TE6, 18: PRINT' ' IF NOT , IT W 178 GOSUB216 ILL BE SET TO THE" : LOCATE6 ,19:PR 180 OPEN ' ' I'' .#1 . ' 'FONT' '+K$ INT' 'LOWEST POSSIBLE CURSOR POSIT 182 FORI=lT084 :LINEINPUT#l ,F$(I) ION. '' :LOCATE37 ,17 ' ' :NEXT 248 GOSUB322 :IFK$=' 'N'' OR K$=' n 'T 184 FORl=lT084:INPUT#l.M (l):N EXT HENGOSUB424: GOT0250ELSEIFK$=' 'Y'' 186 INPUT#l .D,S:CLOSE#l :IFD>7 AN OR K$=' 'y' 'THENP=T:L=U :T=V : RETURNE D Dll AND Dl5THEND=23 250 P=V+(D+l )*( -l+INT((l92-V)/(D 188 K=T +l ))):RETURN 190 T=T+INT( .5*(0D-D) ):V=T :IFT<0 252 GOSUB212:CLS: LOCATE5 ,8:PRINT THENT=0 :V=0ELSEIFT>P THENT=P-1 ''FILENAME INCLUDING EXTENSION:'': 192 IFV>=0THENV=V-D-l:GOT0192ELS LOCATE13,9:LINEINPUTF$ : Z$=RIGHT$ EV=V+D+l (F$,2):IFASC(Z$)=58THENDRIVEVAL( 194 IFK=0THENGOSUB424 :GOSUB250 RIGHT$(Z$ ,l)):F$=LEFT$(F$,LEN( F$ 196 RETURN )-2 l ELSEDRIVE0 198 HPUT(l6,20)-(lll,170) ,5 254 N=INSTR( F$ , ' '/' ') :IFN=0THEN252 200 GOSUB250 ELSEG$=LEFT$(F$,N)+' 'DAT'' 202 HGET( L,T)-(L+l ,T+D) ,l:GOT050 256 J=0:IFRIGHT$(F$,3)=' 'DAT ' 'THEN 204 POKE&H23 ,Al:POKE&H24 ,A2:GOSU RENAMEF$TOLEFT$(F$,N)+' 'TXT' ':F$=L B322 EFT$ ( F$ , N )+' 'TXT'' ION CHANGE ' ' :LOCATE10,16:PRINT' 'S: 206 K=ASC(K$):IFK>96 AND K64 AND K<90THEN176ELSESO 260 CLOSE#2 :0PEN' 'O' ' .#2.G$ EXIT Ultra Lace ' ' :LOCATE14,18:POK UND60,9:GOT0204 262 IFDN=lTHEN288ELSEGOSUB210:J= _E&H23 ,Al : POKE&H24 ,A2:POKE&HFFD8 , 210 POKE&H23,Al : POKE&H24 .A2:RETU J+l : GET#l ,J:C$=A$ 0 RN 264 B=INSTR(B$ , ' ']'' l :IFINSTR(A$ , '' 134 K$=INKEY$ :1FK$=' '''T HEN134 212 POKE&H23 ,Al-l:POKE&H24 ,A2:RE ] '')>0 OR B>0THENDN=l : I FB>0THENB$ 136 JFK$=' 'D' ' OR K$=' ' d ' 'THENGOSUB3 TURN =LEFT $(B$,B-l)EL SEC$=LEFT$ (C$,IN 26: GOT0128 214 POKE&H23 .Al-2:POKE&H24,A2:RE STR(C$ , '']' ')-ll:B$=' ' '' 138 IFK$=' 'F'' OR K$=' 'f' 'THENOD=D :L TURN 266 N=INSTR(C$ ,CHR$(13)):1FN>0TH l=L:EXEC&HF8E:POKE&HE6E4 ,&HE6:HS 216 POKE&H23 ,Al-4:POKE&H24 ,A2:RE ENGOSUB286 :C$=RIGHT$ (C$,LEN(C$)-

58 THE RAINBOW August 1991 DELPHI'S 20/20 ADVANTAGE, VISIBLY SUPERIOR

DELPHI $20

G E N E $124

C 0 MP USERVE $120-$256

COST OF 20 EVENING HOURS OF DOWNLOADS AND CHAT

On DELPHl's 20/20 Advantage Plan, you get 20 hours of connect time each month for only $20. Additional time is only 2 cents/minute. No other full-featured online service even comes close!

And those are 20 hours of real online fun and productivity. Download files, chat with friends, send electronic mail, play multi-player games, and make travel reservations.

Join DELPHI now for only $39.95 and your first 20 hours are free. With your Coco and modem:

• Dial 1-800-365-4636 DELPHI

• At Username: type JOINDELPHI THE WORLD'S PREMIER ONLINE

• At Password: type COC020 INFORMATION SERVICE

800-544-4005 • 6 17-49 1 -3393

Already a DELPHI member? Type GO USING ADVANTAGE Nl:IFC$=" "THENCS=B$: GOT0270ELSE2 MOVE CURSOR UP UNTIL "+ES :PR XEC&HF00 : GOT0128ELSEHGET(64 0-DX . 66 INT" DOWN ARROW : MOVE CURSOR D 96)-(639 ,95+DYl.5:HSCREEN0:EXEC& 268 GOSUB276:C$=CS+BS OWN UNTIL "+ES HF00 : GOT0128 270 N=INSTR(C$ ,CHR$(13ll:IFN>0TH 320 LOCATE5 ,22:PRINT"PRESS ";:AT 368 IF K>lTHEN372 ENGOSUB286:C$=RIGHT$(C$,LEN(C$l­ TR0,4,U:PRINT"SPACE" ; :ATTR0,4:PR 370 GOSUB322:K=ASC(K$l:IF K>96 AN Nl:IFC$=""THEN262ELSE270 INT" TO RETURN TO MENU";:LOCAT El D K96 AN 274 GOT0264 RETURN D K3THEN GET( L,Tl-(L+l ,T+Dl ,l:HLINE(L,Tl­ RN SOUND60 ,9:GOT0328ELSEDIRK:PRINT" (L+l ,T+Dl ,PSET,BF:GOT0376ELSERET 286 IFLEFT $(C$ ,Nl=CHR$(13 lTHENPR FREE GRANULES:";FREE(K) : PRINT" URN INT#2 ," [":RETURNELSEPRINT#2 .LEF PRESS SPACE TO CONTINUE":GO 378 K$=1NKEYS:IF L-4>U AND KS=""T T$(C$,N- ll:RETURN SUB322 : RETURN HENHPUT( L,T)-(L+l ,T+Dl .l:L=L-4:H 288 CLOSE#l :PRINT#2 ,C$:CLOSE#2 :D 330 CLS: LOCATE10,8:PRINT"l : NORM GET ( L . Tl - ( L + 1 . T +D l . 1 : H LINE ( L . Tl- RIVE0:DN=0 :GOT0128 AL" : LOCATE10 ,9:PRINT"2: DOUBLE W (L+l ,T+Dl ,PSET,BF:GOT0378ELSERET 290 IFH=l AND W>320THENW=320 IDTH": LOCATE10,10:PRINT"3: DOUBL URN 292 IFW>640THENW=640 E WIDTH- LENGTH": LOCATE10,ll:MI$= 380 KS=INKEYS:IFT+D0 AND K$=""T UTTS :GOSUB304 : Tl=2*INT(VAL(T$ )* . HEN334ELSE128 HENHPUT( L,T)-(L+l ,T+D),l:T=T-D-1 5l:IFH=l AND Tl>320THENT1=320ELS 334 CLS3 : POKE&HFFD8,0:DRIVE0 :HGET(L,T)-(L+l ,T+Dl,l:HLINE(L,T EIFT1>640THENT1=640 336 IFERN0>-1 AND PEEK(&Hl3FFl<> )-(L+l ,T+Dl ,PSET,BF:GOT0382ELSER 300 GOSUB212:LOCATE6,12:PRINT"EN 9THENPOKE&HFFA1 ,12l:POKE&HFFA2 ,l ETURN TER 2ND TAB VALUE: ": : LINEINPUTT 22ELSEEND 384 IFHK=0THENRETURN S:GOSUB304:T2=2*INT(VA L(T$ ) *.5): 338 IFE RN0<25THENAD=&HABAF+ERNO* 386 F$=F$+CHR$(HS )+RIGHT$(STR$(H IFHl AND T2>320THENT2=320ELSEIFT 2ELSEIFERN0>26THENAD=&HC290+2*(E Fl.ll:HR=HR+l :HF=HF+l :IFHR=5THEN 2>640TH ENT2=640 RN0-27lELSEAD=&H890D HF=l :IFHK=lTHENHK=0 :CC=0 :RETURNE 302 RETURN 340 WIDTH40 : LOCATE8,10:PRINT" ": LSEIFHK=2THENHS=82 :U=8 :W=416:GOS 304 1FT$="c" OR TS="C" THENTS=ST :PRINTCHRS(PEEK(ADllCHR$(PEEK(AD UB516ELSEHS=77:U=l6:W=304 :GOSUB5 R$(L): RETURNELSERETURN +l )) ;" ERROR IN LINE"; ERLIN 16 306 IFU$=""THENU$=STR$(U) :RETURN 342 LOCATE12,14:PRINT"CONTINUE? 388 IFHR=9THENHF=l :IFHK=2THENHK= ELSERETURN (Y ,Nl":GOSUB322 :1FK$="Y" OR KS=" 0:CC=0 : RETURNELSEHS=82 : U=0 : W=288 308 CLS: LOCATE2 ,2:PRINT"F2 : y"THENWIDTH40 :CLS5 : PALETTE0 ,63:P :GOSUB516 CALL COMMAND MENU" : LOCATE2 , ALETTE1 .0:GOT0128 390 IFHR=l3THENHK=0 :CC=0 : RETURN 3:PRINT"RIGHT ARROW : MOVE CURSOR 344 END 392 V=0 :L=U :T=V : GOT0250 RIGHT" :PRINT" LEFT ARROW : BAC 346 GOSUB404 :IFHK=3THENGOSUB28:G 394 CLS:LOCATE10,10:PRINT"ARE YO KSPACE" :PRINT" UP ARROW : MDV OT0128ELSEGOSUB26 : GOT0128 U SURE? (Y/Nl ":GOT0322 E CURSOR UP 1 LINE": PRINT" DOWN 348 CLS:LOCATE8,10:PRINT "l : SAVE 396 GOSUB322:IF KS<"l" OR KS>"3"T ARROW : MOVE CURSOR DOWN 1 LINE FULL SCREEN":LOCATE8,12:PRINT"2 HENSOUND60 ,8:GOT0128ELSEHF=l :HR= 310 LOCATE2 ,7:PRINT"ENTER: : SAVE HALF SCREEN" 1:HS =76: I FKS="l "THENHK=l : U=0 : W=6 CARRIAGE RETURN &" : LOCATE15 ,8:P 350 GOSUB322 :IFK$="l"THENGOSUB40 40ELS EIFK$="2"THENHK=2 :U=64 :W=47 RINT"MOVE CURSOR DOWN 1 LINE":PR 4:GOSUB26:GOT0128ELSEIFK$="2"THE 2ELSEHK=3 :U=32 :W=320 ·I N T " CLEAR : TAB" : LOCATE7 , NGOSUB404 :GOSUB28: GOT0128ELSESOU 398 GOSUB516:GOSUB392 :HF=l : GOT01 ll:ATTR0,4,U:PRINT"KEYS WITH SHI ND60,9:GOT0128 28 FT HELD DOWN";:ATTR0 ,4 352 GOSUB322 : GOT0128 400 CLS:LOCATE11,8:PRINT"TOP MAR 312 LOCATE2 ,13:PRINT"RIGHT ARROW 354 GOSUB322 : K=VAL(K$l:IF K6THENSOUND60 ,9:GOT0354ELSEIFK> ARGIN =" ;U:LOCATE11.10:PRINT"RIG ROW : CLEAR LINE": PRINT" UP ARR 3THENPOKE&Hl02A,l:K=K-3ELS EPOKE& HT MARGIN =" ;W:LOCATEll,ll:PRINT OW : MOVE CHAR-LINE TOWARD" :LO Hl02A,0 "BOTTOM MARGIN =" ;P+D : LOCATEll,l CATE15,16:PRINT"CURSOR HALF OF S 356 DK=K :POKE&Hl027 ,K:CLS : EXEC&H 2:PRINT"TAB1 =" ;Tl:LOCATE11 ,13:P CREEN":PRINT" DOWN ARROW : UNDE F00 : POKE&HE6E4 ,&HE6 : HSCREEN3 :POK RINT"TAB2 =" ;T2 RLINE": PRINT" CLEAR : CLEA E&HE6E4,&HE7 402 GOT0320 R SCREEN 358 GOSUB322 : K=ASC(K$l:IFK<48 OR 404 GOSUB212:CLS : LOCATE12 ,8:PRIN 314 PRINT" 0: UPPER/L K>51THENSOUND60 ,9:GOT0358ELSEK= T"FI LENAME: ";: LINEINPUTF$ : ZS=RI OWER CASE":LOCATE4,22:ATTR0,4,U: K-48:DX=( K+l l*l6:POKE&Hl028,2*K+ GHT$(F$,2l:Zl$=Z$ :IFASC(Z$ )=58TH PRINT"PRESS SPACE FOR REST OF KE 3: I FK>0THEN368 ENDRIVEVAL( RIGHT$(Z$,l)l:F$=LEFT Y LIST ";:ATTR0 ,4:LOCATE4 ,22:E$=" 360 GOSUB322 : K=ASC(K$):IF K>96 AN $(F$,LEN(F$l-2lELSEZ$=" :0" STOPPED BY ANY KEY OR MA D K< l23THENK=K-97ELSEIFK>64 AND 406 IFHK=0 OR ll=lTHENRETURNELSE RGIN": GOSUB322 K<77THENK=K-39ELSESOUND60 ,9:GOTO HL=LEN(F$)+2:IFHL>8THENF$=LEFT$( 316 CLS:LOCATE6 ,5:ATTR0,4,U:PRIN 360 F$ . 6 l:HL =8 T"KEYS PRESSED AFTER CTRL KEY" ;: 362 POKE&Hl029 ,K:EXEC&Hl033 :IFDX 408 CC=l : FORI=lTO HL:POKEPF-1+1 ,A ATTR0,4:LOCATE2,7:PRINT"RIGHT AR >48THENDX=48 SC(MID$(F$+Z$ ,l,lll:NEXT:RETURN ROW : MOVE CURSOR RIGHT UNTIL"+ES 364 DY=DX :IFDK>lTHENDX=2*DX :IFDK 410 LOCATE15,4:ATTR3,2,U:PRINT"U :PRINT" LEFT ARROW : MOVE CURSO =3THENDY=DX ltraLace"; :ATTR2 ,2:LOCATE8,6:PRI R LEFT UNTIL "+ES 366 IFPEEK(&Hl02A)=0TH ENHGET (544 NT"TH E ULTIMATE SHOESTRING" : LOCA 318 LOCATE2 ,ll: PRINT"UP ARROW : ,96)-(543+DX ,95+DY ),5:HSCREEN0:E TE11,8:PRINT"DESKTOP PUBLISHER" :

60 THE RAINBOW August 1991 ATTR3 ,2:LOCATE 11,12:PRINT"BY H. 466 PRINT#2 .RIGHT$CSK $,LENCSK$)­ Al len Curti s": LOCATE13,14:PRINT" KS) COPYRIGHT 1990" : LOCATE16,4:ATTR3 468 IFEOF(l)=- lTHENCLOSE#l :CLOSE ,2:RETURN #2 : GOT0472 412 CLS:ATTR0,4:0PEN"I",#l, "STR" 470 GOSUB214:LINEINPUT#l ,SK$ : PRI :FORI=lT06:LINEINPUT#l,AC$: LOCAT NT#2 ,SK$ : GOT0468 E4 , 7+I : PRINTAC$ : NEXT 472 IFRE$="TEMP"THENKILL"REST/DA 414 GOSUB212: K$=INKEY$:IFKS=""TH T:"+ZA$ : RENAME"TEMP/DAT : "+ZA$ TO Submitting EN414ELSEIFKS>"6" OR KS<"l"THENS "REST/DAT : "+ZA$ OUND60 ,5:GOT0414 474 GOT0168 Material 416 SK=VALCK S):KS=l 476 KS=KS-l:IFKS=0THENRETURNELSE 418 FORI=lTO SK:LINEINPUT#l .AC$ :N IFMID$(SK $,KS,1J<>" "THEN476ELSE EXT:CLOSE#l : RETURN RETURN To Rainbow 420 POKE&H23 ,Al : POKE&H24,A2:IF KS 478 GOSUB212: SK=6 : KS=l :SCI=2:CLS <=LENCAC$)THENK$=MID$CAC$,KS,l): :LOCATE4,8:PRINT"Type fi l ename o KS=KS+l :GOSUB422 : GOT062ELSESCI=0 f ASCII fi le you want tr Contributions to ·11-1E RAINBOW are wel­ :HPUT(L,T)-(L+l ,T+D),l:U=UT:GOTO ansl ated : "; : LINEINPUTFA$ : Z$=RI come from everyone. We like to run a 50 GHT$CFA$ ,2): ZA$="0" :IFASC CZ$)=58 variety of programs that are useful, help­ 422 IFASCCK$ )=94THENK$=CHR$(13) : THENZA$=RIGHT$CZ$,l):FA$=LEFT$(F ful and fun for other CoCo owners. RETURNELS ERETURN A$ , LENC FA$ )-2) WHAT TO WRITE: We are inter­ 424 V=l92-(D+l)*INTC192/CD+l )):T 480 POKE&HFFD8.0:0PEN"I",#l .FA$+ ested in what you want to tell our read­ =V : RETURN ":"+zAS : RETURN ers. We accept for consideration any­ 426 I FH=1TH ENU=4*INT( . 25*L):RETU 482 GOSUB212:CLS: LOCATE11,9:PRIN RNELSEU=8*INTC .125*L) : RETURN T"l : FULL SCREEN FILE": LOCATEll, thing that is well-written and has a prac­ 428 POKE&HFFD8,0:IFEOFC 1 )=-1THEN 10:PRINT"2: HALF SCREEN FILE" :LO tical application for the Tandy Color CLOSE#l :POKE&HFFD9 ,0:SCI=0:HPUT( CATE11,ll:PRINT"3 : WORD PROCESSO Computer. ffit interests you, it will proba­ L,T)-(L+l ,T+D),l:U=UT: GOT050ELSE R FILE" : LOCATE11,12:PRINT"4 : ASC bly interest lots of others. However, we GOSUB214:LINEINPUT#l .SK$ : POKE&HF I I STRINGS vastly prefer articles with accompany­ FD9 ,0 484 GOSUB322: IFK$="l"THENI1=1 :GO ing programs that can be entered and 430 IFSK=0THENSCI=0:U=UT: GOT0450 SUB30 :Il=0 : GOT0128ELSEIFK$="2"TH run. The more unique the idea, the more 432 POKE&H23 ,Al: POKE&H24 ,A2:IF KS ENil=l : GOSUB34 :Il=0 :GOT0128ELSEI the appeal. We have a continuing need <=LENCSK$ )THENK$=MID$CSK$ ,KS,l)E FK$="3"THEN486ELSEIFK$="4"THENSC for short articles with shon listings. These LSE446 I=l : UT=U :GOSUB426 :GOSUB412:GOT01 434 IFASCCK$)=91THENK$=CHR$ (13): 68ELSESOUND60 ,5:GOT0128 are especially appealing to our many RS=l 486 UT=U :GOSUB478 : GOT0168 beginners. 436 IFASCCK$)=94THENKS=KS+2 :IF KS 488 HPUTC L.T)-(L+l ,T+D) .l:L=U :IF FORMAT: Program submissions >LENCSK$ JTHENKS=l : GOT0428ELSE432 T

" " AND SZ=lTHEN 490 CLOSE#l :FORI=0T02000 :NEXT:GO in ASCII format. We're sorry, but we do HPUT( L,T)-(L+l ,T+D) ,l:L=U : SZ=0EL T0128 not have time to key in programs and SESZ=0:I FL>U AND KS=l AND K$=" " 492 IFERLIN=4 72THEN474 debug our typing errors. All programs THENHPUTC L.T)-(L+l ,T+D) ,l:L=U :IF 494 IFERLIN=40THEN48 should be supported by some editorial T

2THEN124ELSESK=0 : GOTO 50 processors currently available for the 430 500 IFERLIN=4 70 AND ERN0=23 THEN Color Computer. Also, please include a 446 IFSK$=""THENHPUTC L,T) -(L+l ,T CLOSE#l :CLOSE#2 : GOT0472 double-spaced printout of your editorial +D ) ,l:L=U ELSEKS=l :IFRS=lTHENRS= 502 IFERLIN=30 OR ERLIN=34 OR ER material and program listing. Do not 0:GOT0428ELSEIFL+S+8>W THEN488EL LIN=480THEN504ELSE506 send text in all capital letters; use upper­ SEK$=" ":GOT062 504 SCI=0:SOUND60 ,5:LOCATE5 ,ll:P 448 IFT

=LENCSK$)THEN4 516 IFH=lTHENU=.5*U :W=.5*W : RETUR 68 NE LS ERETU RN

August 1991 THE RAINBOW 61 An important link in the Coco community is its ability to communicate with fellow users. If questions arise, a fresh source of information can be invaluable. We here at THE RAINBOW have decided to create "Intercom," an information exchange point for Pen Pals, Coco Clubs and BBSs. If you would like a Pen Pal or are running a Coco Club or BBS, send us a letter including the information listed here to: The Rainbow Intercom, P.O. Box 385, Prospect, KY 40059. Only those parties who have signed our non-piracy "agreement form" appear in listings of Intercom. Also, please notify us if you want to add or delete any names on this list.

38 11 N. Fosler Ave., Baldwin Park, 91706-39 12, NEW YORK (818) 960-80 10 11' Adirondack Color Compu1er Club, Thomas P. COLORADO Delaney, I 0 Rosewood Drive, Clifton Park, 12065, "il' Colorado Springs Color Cornpu1erClub, Bud Ward, (5 18) 3 71-4 781 «.-.,, I '111 I 8 years old, and my sys1e111 includes a 64K I I 18 Claiborne Road, Colorado Springs, 80906-55 13, NORTH CAROLINA CoCo 2, a CCR-8 1, Orchestra 90-CC, a Speech/ (7 19) 392-8268 'B" Norca Users Group, Ma11hew Royal, Roule 21 Box Sound Can ridge. a modern and a B/W TV sci . I enjoy CONNECTICUT 906, Faye11eville, 28304, (9 19) 484- 1230 designing prac1 ical casscl te-based appl ical ions 1·or 1he 'B" Connec1icu1 C0Conu1 Conncclion, Charles Joseph OHIO CoCo. I also enjoy writing and perform ing music in Scanlon. I Hoskins Rd .. Apl. 8A6, Simsbu ry, 06070, 'B" The Columbus and Ccn1ral Ohio Color Compuler English and French. I am somewhat fluent in wri11en (203 ) 65 1-8134 Club, Richard Heber. 546 Woodside Drive S.W .. French. I will try to answer all legitima1e le11ers. FLORIDA Pa1askala, 43062. (614) 927-3357 S1c•1•e W. B11c/Jlcr 'B" Cross-Coun1ry Color Compuler Club, Tom Tillie, PENNSYLVANIA 1102 West Sierra A1·en11e 860 Gardenia Drive, Royal Palm Beach, 3341 I,(407 ) 'B" Pi11sburgh Color Group, Ralph Maning, 309 Fra­ Sa111a A11a. CA 92 707-3856 798-3726 zier Drive, Pillsburgh, 15235, (4 12) 823-7607 GEORGIA RHODE ISLAND :!:.iI' m a 15-year-old s1udent and own a 512K CoCo 3. 'B" A1lan1a Compu1cr Socic1y. Inc., Alan R. Dages, 'B" New England "CoCo u1s" Color CornpulerCl ub, 1wo disk drives, a CM-8 monitor. a DMP-105 prin1cr 4290 Bells Feny Road, Suilc 10639, Kennesaw, 30 1 44, Anhur J. Mendonca, P.O. Box 28106 Nonh S1a1ion, and a 2400-bps modem. I co-SysOp a BBS and love ( 404) 469-5 1 I I voice, (404) 636-299 1 modem Providence. 02908, (401) 272-5096 (Sig3) reading THE RAINBOW. I don 't know much OS-9 or IDAHO SOUTH CAROLINA machine language, but I'm learning. I like 1clecom­ 'B" Snake River ColorCompu1crClub, Emil Frank lin, 'B" Spananburg CoCo Club, Jesse W. Parris, 152 Bon rnunications, word processing and games. Ir you can 1750 Carmel Drive, Idaho Falls, 83403, (208 ) 522- Air Ave., Sparlanburg, 29303, (803) 573-988 1 speak English well, I would be happy 10 lalk 10 you. 0220 SOUTH DAKOTA Norman Gibson ILLINOIS 'B" Empire Area Color Compu1er Users Group of 450 Wilfi"id Lm•igne 11202 'B"Glenside ColorCompulcrClub,Tony Podraza, 119 Soulh Dako1a, Carl !-10!1, P.O. Box 395, Brandon, Avl111cr. PQ .1911 3W2 Adobe Circle. Carpc111crsville, 60 110, (708) 428- 57005. (605) 582-3862 Canada 3576 TEXAS IOWA 'B" Mid Ci1ics TRS-80 Users Group, Rob Yoder, P.O. $:::JI want to stan a club here in Madison. I'll t:allmin c 'B" Mid Iowa CoCo. Terry Simons, 1328 481h. Des Box 171566. Arling1011, 76003, (817) 535-793 1 the Eas1side CoCo Madison Club. I have a CoCo 3 Moines, 503 1 I, (515) 279-2576 UTAH wilh a tape recorder and an RGB monitor. I abo have KANSAS 'B" Sall Ci1y CoCo Club, L. Todd Knudsen, 6357 S. a CoCo 2. 11· someone can provide ins1ruc1ion on how 'B" The Kansas Ci1y Color Compu1er Users Group, Lo1us Way, Wesl Jordan, 84084, (801 ) 968-8668 to use my modern I would be gra1cru1. I'm looking ror Gay Crawford, 1601 Kiowa Drive, Olalhe, 66062, VIRGINIA calalogs ol' informa1ion, ideas and coniacrs. (913) 764-94 13 n Richmond Area Color Compuler Organiza1 ion, t'Vla11 Thornton KENTUCKY William T. Mays, Jr., 6003 Wes1bourne Drive, 102 Village Gr. Ln. E. 'B" Hardin Coun1y Color Compulcr Club, Paul Ur­ Richmond, 23230, (804) 282-7778 Madison. WI 53 704 balms, 2887 Republic Ave., Radel i IT,40 1 60, (502) 'B" Sou1hwes1e111 Virginia Color Compuler Club, Ricky 35 1 -4757 Sulphin, Roule I Box 20, Henry, 24 1 02, (703) 365- .6 I'm 17 years old and am looking for a pen pal. I LOUISIANA 20 18 enjoy using my 5 I 2K CoCo 3 wi1h prinler, disk drive. 'B" The CoCo SIG, Chris1opher Mayeux, 20 Gibbs WASHINGTON SIOI pack, modern and Delia Pro Pack for many Drive, Chahnelle, 70043, (504) 277-6880 voice, (504) 'B" Bellingham OS-9 Users Group. Rodger Alexander, programming puqioses, including school work, games 277-5 135 modem 3404 Illinois Lane, Bellingham, 98226, (206) 734- and music. I would enjoy corresponding wi1h anyone MASSACHUSETTS 5806 who shares my in1eres1 in compulcrs. My 01her hob­ 'B" NonhEas1 CoCo Club, Jose Jouben, 440 Nonh 'B" Pon O' CoCo, Donald Zimmemian, 3046 Banner bies include science fic1ion and music. I 'II answer all Ave .. Bldg. 9 #2 10, Haverhill, 01 830, (508) 52 1-0164 Rel. SE, Pon Orchard, 98366-88 I 0, (206) 87 1 -6535 le11ers I rece ive. MICHIGAN WEST VIRGINIA Jason Leinen 'B" Greaier Lansing Color Computer Users Group, E. 'B" I-I un1ing1011 Area ColorCompu1er Symposium, Jim 916 Bei•crly Lane Dale Knepper, P.O. Box 141 14, Lansing, 4890 I, Bush, P.O. Box 391, Lesage, 25537-039 1, (304) 736- West Bend. WI 53095 (5 17) 626-69 17 53 14 MISSISSIPPI AUSTRALIA 75: Cen1ral Mississippi Color Compu1cr Society, Boisy 'B" Aus1ralian Na1ional OS-9 Users Group, Gordon G. Pi1re, 60 I I 1-55 Nonh, Jackson, 392 1 3, (60 I)956- Bcnlzen, C/- 8 Odin S1ree1, Sunnybank, Queensland, 9377 4109, (07) 344-388 1 MISSOURI "il' Brisbane Sou1hwes1 Colour Computer Users Group, 'B" CoC0Nu1s User Group, Clyde Lloyd, 21 16 N. Bob Devries. 21 Virgo SI., Inala, Queensland, 4077, ARIZONA Columbia, Springfield, 65803, (4 17) 866-8738 (07) 372-78 16 'B" Tucson Color Compu1er Club, Bruce Srni1h,3030 NEBRASKA CANADA Mus1ang Drive. Tucson, 85708, (602) 747-7859 75: Bruce Gers! c/o Me1ro Area CoCo Club, P.O. Box "il' 4 C's (Cornwall ColorComputer Club), Roben L. CALIFORNIA 3422. Omaha, 68 103 LeBrun, 45 I Lei1ch Dr., Cornwall, Ontario, K6H 5P5, 'B" Color America Users Group, Jack W. Eizenga, (613) 932-4792 voice, (613) 936-0823 modem

62 THE RAINBOW August 1991 "'Le Club D'Oridinateur Couleur du Quebec Inc., 3E5. (506) 382-7706 THE NETHERLANDS 8000 Baul. Metropolitain. Ville d"Anjou. Quebec. 73' Vancouver Color Computer Club (VC3). Jordan J. 73' European OS-9 User Group, Peter Tutelaers, HIK IAI. (5 14) 729-8467 Dobrikin. P.O. Box 76734, Postal Station 5. British Strijperstraat 50A, 5595 GD Leende, "'The Edmonton CoCo Users Group, Lloyd Folden. Columbia. VSR 557. (604) 420-608 1 [email protected], +3 1 -4906- 1971. (OSK) 13208- 128 Avenue. Edmonton. Alberta. T5L 3 H2, GERMANY PUERTO RICO (403) 426- 1888 73' OS-9 Users Group in Europe. Burghard Kinze l. 73' Puerto Rico Color Computer Club. Luis R. Marti­ "' Mo11Clon-Dieppe-Riverview CoCo Club. Philippe Leipziger Ring 22A, 5042 ER FTSTADT, +49-2235- nez, P.O. Box 2072, Guaynabo, 00657-7004. (809 ) Lantin. 77 Ninth St.. Moncton. New Brunswick, EI E 41069. (OS-9/6809) 799-82 17 or (809 ) 728-23 14

State/City BBS Name Access Number Parameters SysOp (Spcl'd-P:irity-Word Bits-Stop Hits)

Arkansas Jonesboro The 8-Bit Wonderland (50 I) 931-9528 300/ 1 200/2400-N-8- I Mike S111i1h Sheridan The Grant County BBS (50 I ) 942-404 7 300/ 1 200/2400-N-8- I Eddie Gilmore California Hollywood Zog·s Cavern BBS (213) 461 -79.+8 300/ 1 200/2400-N-8- I Alan Sheltra Laguna Hills Rainbow Connection (714) 83 1 -6530 300/ 1 200/2400- -8- 1 Eric Levinson Info Service Marysville 09-0nline BBS (916) 742-6809 300/ 1200- -8- 1 Jim Vestal Colorado Colorado Springs The Time Sarari (719) 635-7228 300/ 1 200-N-8- I David Vallier Connecticut Manches1er Silk City BBS (203 ) 649-9057 300/ 1 200/2400-N -8- I Darren Kindberg Waterbury Applause BBS (203 ) 754-9598 300/ 1 200/2400-N -8- 1 Carmen Izzi, Jr. Florida Cocoa Beach KB Enterprises' CEBBS' (407 ) 799-3282 300/ 1200-N-8- I Kevin Berner Hawaii Ft. Shafter CoCo"Nuts BBS Service (808 ) 845-7054 300/ 1 200/2400-N-8- I Tommie Taylor Illinois Carpentersvi I le The Pinball Haven BBS (708 ) 428-8445 300/ 1 200/2400-N-8- I Jeffrey R. Chapin La Grange Park S & V BBS (708 ) 352-0948 300/ 1 200/2400-N-8- I Paul Jerkatis Kansas Beloit Kansas Konncktion BBS (913J rni-56 JJ 300/ 1 200-N-8- I Gary N. McCarty Louisiana Harvey The Node 3 (504) 347-4320 300/2400-N-8- I Gene Clifton Michigan Lansing Bcnchboard BBS (5 17) 394-2447 300/1 200/2400-N-8- I John Evans Taylor J & L · s CoCo Corner (313) 292-47 13 300/ 1 200/2400-N-8- I Jim Snider New York Wappingers Falls The Dutchess CoCo (9 14) 838- 126 I 300/ 1 200/2400-N-8- I Chris Serino North Carolina Concord The Stargate BBS (70.+) 788-7867 300/ 1 200/2400-N-8- I Jim Brock Wilmington Bill's Board (lJ 19) 395-4366 300/1 200/2400-N-8- I Bill Medcalf North Dakota Minot AFB The 9-Linc BBS (70 I) 727 -6826 300/ 1 200-N-8- I David Hensley Ohio Columbus Spring wood BBS (614) 228-737 1 300/ 1200/2400-1 -8- 1 Edward Langenback Reynoldsburg East Side Connection CEBBS (614) 755-2492 300/ 1 200/2400-N-8- I John L. Wilkerson Oklahoma Tecumseh Pat BBS' (405 ) 598-5082 300-N-8- I Pat A lei ridge Pennsylvania Conshohocken Charlie·s Help Linc (215) 825-3226 300/1200-N-8- I or . 7- 1 Charles DiManino Johnstown CoCo Electronic BBS' (814) 535-1497 300/ 1 200/2400-N-8- I Alben Balclish Rhode Island Central Fa lls The Weather Connection II BBS (40 1 ) 728-8709 300/ 1 200/2400- -8- 1 Eric Chew Virginia Fall Mills Clem·s CornerBBS " (703 ) 322-4053 300/ 1 200-N-8- I Richard Douglas Bailey Richmond Tree House BBS (804) 744-0 157 300/ 1 200/2400-N-8- I Doug James Wisconsin Marinette Phoenix Interstate Data Systems' (715) 732- 1036 300/ 1 200/2400/9600-N-X- I Joe Boburka Canada Lunenburg, N.S. Color Nova BBS (902 ) 6.14-3095 300/1 200/2400-N-8- I John D. Clcvelancl Cornwall. Ontario 4Cs BBS (613) 936-0823 300/ 1 200/2400-N-8- I Mike Lebrun

Notes: ' KB Enterprises· CEBBS is up rrom 5 p.111. to 9 a.111. (EST) seven clays a week. 'Pat BBS is up 5 p.m. to 9 p.m. weekdays and 10 a.111. to 10 p.m. weekends. This new BBS is counting on you for uploads. -'CoCo Electronic BBS is up 8 p.111. to 6 a.111. seven clays a week. 'Clem's Corner BBS is up from 6 p.m. to 11 p.m. seven days a week. 'Phoenix Interstate Data Systems has a .75/hr charge for premium services. paid in advance.

August 1991 THE RAINBOW 63 The Premier Personal Computer Magazine for Ta ndy® Computer Users

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 100, 102 and 200 portable computers. And you'll find even more coverage for Tandy's MS-DOS machines - from the graphics of the 1000 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! r------� YES! Please send me a one year (12 issues) subscription to PCM for only $28.* A savings of 22% off the newsstand price . In order to hold down costs, we do not bill.

My check in the amount of ___ is enclosed. Address ______Charge to my: City O VISA 0 MasterCard O American Express

State ______Acct. # ______

ZIP ------Exp. Date _ Signature ______

To order by phone (credit card orders only) call 800-847-0309, 9 a.m. to 5 p.m. EST. For other inquiries call 502- 228-4492. · Canadian subscribers U.S. $38 plus 7% GST. 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 .. Advertisers Index

We encourage you to patronize our advertisers - all of whom support the Tandy Color Computer. We will appreciate your mentioning THE RAINBOW when you contact these firms.

Ace ...... 47 Delphi ...... 59 PCM Magazine ...... 64

Burke & Burke ...... 35 Delphi ...... BC Rainbow Back Issues ...... 32

Burke & Burke ...... 45 Eversoft Games, Ltd ...... 33 Rainbow Binders ...... 66

· CoCoPRO ! ...... 14 Frank Hogg ...... 21 Rainbow on Tape and Disk ...... 51

CoCoPRO! ...... 15 Granite Computer Systems ...... 43 SpectroSystems ...... 4�

Colorware ...... 11 Hawksoft ...... 17 Sundog Systems ...... 37

Computer Plus ...... IFC JWT Enterprises ...... 37 Sundog Systems ...... IBC

Dayton Associates Microcom ...... 5 T & D Software ...... 9 of W.R. Hall, Inc ...... 54 MV Systems ...... 33 T & D Software ...... 39

Dayton Associates Owl-Ware ...... 25 Trading Post ...... 29 of W.R. Hall, Inc ...... 55 Owl-Ware ...... 26 Zebra Systems ...... 17 Delmar Company ...... 19 Owl-Ware ...... 27

'

Call: Call: [jjBelinda Kirby D Kim Lewis Advertising Representative Advertising Representative (502) 228-4492 (502) 228-4492

The Falsoft Building 9509 U.S. Highway 42, P.O. Box 385, Prospect, KY 40059

FAX (502) 228-5121

August 1991 THE RAINBOW 65 Protect your important magazine collection

Distinctive, Durable, Attractive Know Where to Look RAINBOW Binders You may purchase the "Official and Compleat Index to THE RAINBOW" for $ I THE RAINBOW is a vital resource to be when you purchase a set of binders. This referred to again and again. Keep your comprehensive index of RAINBOW's first three copies of THE RAINBOW safe in our quality years (July through July is usually distictive binders that provide complete 1981 1984) priced at $2.50. protection. These attrac1ive red vinyl binders showcase your collection and ensure your RAIN BOWS are in mint condition for future use. Each binder is richly embossed with the magazine's name in Yes! Please send me ___ set(s) of Rainbow binders gold on the front and spine. They make a handsome addition to any room. Name ------Address Put and End to Clutter Ciiy S tal e Zip J" , A Organize your workspace with these tasteful binders. Spend more time with 0 My check in the amounI of ___ is enclosed. your CoCo and eliminate those charge to: 0 VISA [l MasterCard OAmerican Express frustrating searches for misplaced Account: Number magazines. I Expiration Date __ Signature ______A set of two binders, which holds a fu ll 12 issues of THE RAINBOW, is only I want to take advantage of these special offe rs with my binder $13.50 (plus $2.50 shipping and purchase: handling). o save $1 off the single issue cover price for b·tck issues. Minimum order or 6 magaz ines . Please encl ose a back issue order Special Discounts form from a recent issue indicaling m agazines wanted. on Past Issues QPurchase the Official and Compleat Index Io THE To help you complete your collection RALNBOW" for $1. (Regular price $2.50.) of THE RAINBOW, we're offering a Special offersgood only wilh !he purchase or a RAINBOW binder sci. Binders special discount. on past issues of the arc $ 13.50 per lwo-binclcr sci plus $2.50 shipping and hand l i ng. 1r your order is magazine. 10 be sen! via U.S. mail to a post officebox or rorcign country. please add $2 . When you place and order for six or Kcn1ucky resiclenls acid 6% sales lax; Canadian reicle111s. 7%GST. U. ·.curre ncy more back issues of THE RAINBOW at only please. In order 10 hold clown non-cclil orial costs . wc clo 1101 bill. the same time you order binders, you are Mail to: Rainbow Binders, The Falsoft Building, P.O. Box 385, entilled to $ I off 1he regu lar back issue Prospect KY 40059. For credit card orders call(800) 847-0309, price. To order, please see the "Back 9a.m. to 5 p.m. EST. All other inquiries call (502) 228-4492 Issue Information" ad in this issue. Hall of the Klng 1, 2, or 3 Coco 1 - 3 1$29.95 ea. %• i Han. i the K!1g Trilogy $74 , 95 White Fire of Eternity coco 1-3 * $19.95 «• Dra�on Bla1(i CoCp 1 - 3 $1Q.95 Champion coco 1 - 3 $19.95 Paladin's Legacy Visa, Mastercard. Check. Money Order, and COO coco 1 - 3 + $24.95 (USA only, please) accepted . All foreign orders Warrior King must be sent in US currency Money Orders. Include $2.50 for shipping in USA and Canada. $5.00 CoCo 3 $29.95 Foreign. $3.00 extra tor COD orders. PA residents In Quest of the Star Lord , add 6% sales tax. Dealer inquiries welcome. coco 3 . $34.95 . Authors: we· re look in tor new software 1 Hint Sheet · $ 3. 95 Being online never felt so fine.

Join the online network with personality. The most interesting conferences. l 0,000 programs you can download for your own use. All the most popular services. Free Membership Two membership plans: an hour or $6 Dial by modem, an hour with the Advantage. $1 20/20 1-800-365-4636 Join us online, the water's fine. Press return. At password, type RB22 DELPHI

Voice, 1-800-695-4005 617-49 1 -3393