Professional Documents
Culture Documents
INUKIDER#
L7
///,/2/2\\/Z4_:_
oupownim PA
l'ILFEi( /04 Lou) ivt“to Pe1.z3
t>t5tr
February 1982
Single Copi e s *2
12e ore-7
- - To f_r ti
the RAINBOW
5803 Timber Ridge Drive • Prospect, KY 40059 VOL. I NUMBER 8
P RINT 4* g
00 Planes 12
commas in these data statements, be
PREPARE FOR TAX certain to enclose that part of the
TIME. EASILY V statement in quotes, because commas
are data field terminators.
By Lawrence C. Falk This program is written with an
optional hard copy printout for
Last month we made sure that your the LP VII. Note the "IF PR"
checkbook was in balance, and now statements before all the PRINT
we're ready to take that balanced #-2,'s. If you do not have a
checkbook and start work on your printer, you can still key this
income tax return for 1981. program in as written and just answer
TAXTAB will categorize all your "N" or "NO" to the question of
checks and make it pretty easy to see whether to use the printer. This is
where to put those deductions. At a handy technique to use to allow
the same time, it will also total up either dual or single output.
all your income so you can tell how Finally, since tax information is
much money you've made during the confidential, we've added a
year. "password" to this program. If you
When next month's RAINBOW arrives, don't answer the password correctly
there will be a program that plugs in in line 4, the program jumps to line
this month's information to a tax 2000 and erases itself. You might
form (1040) so you can do your own wish to change the password from my
taxes. first name to something else.
In order to make TAXTAB as To use this program, merely go
universally useful as possible, we've through your checkbook and write a
set it up so YOUU enter your DATA line for each deductible item
information as DATA statements, and for all the income items you
beginning with line 361. You can put have. Run it for a printout either
in one entry for each line (or a to the screen or a printer.
number of them on a line if you'd You don't have to do all the
like) through line number 998. If entering at once, but you will have
you need more lines, (you also need a to resave the entire program (with
CPA) you can move line 999 to 1999 the newly added DATA lines) after
and use the additional space. each session.
Obviously, you can change the The listing:
input structure and save the data to (Continued on Page 5 )
tape or disc. We're leaving it as a
DATA statement program to insure
speed. - R A I NI Et O
Data lines are structured into PUBLISHED BY FALSOFT
three .strings and one numeric 5803 Timber Ridge Drive
variable. The first string, R$, Prospect, KY 40059
tells what sort of an entry you are
making, Income or Expense. The Lawrence C. Falk -- Editor
second string, TT$, refers to the
TYPE of entry -- Interest Income, The RAINBOW is intended for the personal use and plea-
MDs, Local Taxes, etcetera. Refer to sure of its subscribers and reproduction by any means is
lines 82, 91 and 92 for the proper forbidden. Use of programs and information herein is for
codes. the single end use of subscribers and any other use is
Next we have IDS, which is an prohibited,
actual description of the item. This TRS-86, Color Computer and Extended Color Basic are
might be "1981 Property Taxes" or the trademarks of Tandy Corp.
like. Finally, AM is the dollar All programs herein are distributed on an 'as is'
amount. A typical input line would basis, without warranty.
look like this: Subscriptions to the RAINBOW are $12 per year in the
United States. Canadian and Mexican rates are $16 per
361 D,MD,Dr. Smith,45 year. Surface mail to other countries is $26, air mail
to other countries is $44, due to postage costs aim.
The "D' is for deduction, MD means Limited back issues available for $2 each, plus $2.51
physicians, Dr. Smith is the for shipping and handling.
physician's name, and 45 is the Payment accepted by cash, check, money order, VISA or
amount of money paid. If you imbed MASTERCARD. Please include account number, expiration
date and your signature when using bank cards.
The RAINBOW is published every month of the year.
LETTER S L E T - FE R S L E T I
- - E R S L E T T E IRS
Page 3
C) Re 1 N1ECrIWRai I NI P.
B0 4J -r CD RA I 1'4 Mt CD 1,4
CO-RESIDENT EDITOR/ASSEMBLER
(CORES9)
CORES9 is a complete full function editor/assembler package that will allow you to create,
edit and assemble 6809 machine language programs for the color computer. It features a
powerful full function text editor and supports the entire 6809 instruction set with all
addressing modes, forward and reverse labia references, will output object code directly to
memory or "COMM" compatible tapes and much more. Price S39.95
40 M=1000 DIVIDENDS"
50 PRINT:INPUT "SHALL I PRINT AL 105 IF X$="01" THEN PRINTO-2,"
L ENTRIES (Y/N)";A$ OTHER INCOME"
60 PRINT 106 IF X$="MD" THEN PRINTO-2,'
70 IF A$="Y" THEN 3600 DOCTORS"
72 CLS: PRINTi964,"DO YOU WISH. . 107 IF X$="M" THEN PRINTO-2," ME
.":PRINT DICINE & DRUGS"
73 PRINT' 1—INCOME TABLES" we IF X$="MI" THEN PRINTO-2," M
74 PRINT' 2—DEDUCTION TABLES" EDICAL INSURANCE"
75 PRINT" 3—TAX SUMMARY":PRINT" 109 IF X$="ST" THEN PRINTO-2,"
4—END PROGRAM":PRINT STATE TAX PAID"
76 INPUT " <ENTER > APPROPRIATE
. 110 IF X$="LT" THEN PRINT#-2,"
NUMPER";Z LOCAL TAX PAID"
77 IF Z=3 GOTO 2999 111 IF X$="RE" THEN PRINTO-2,"RE
78 IF Z=4 THEN END AL ESTATE TAXES PAID"
79 IF Z=2 GOT090 112 IF X$="BT" THEN PRINT#-2,"
BO CLS:PRINT:PRINTaB,"INCOME SEL SALES TAXES PAID"
ECTOR":PRINT 113 IF X$="PT" THEN PRINT#-2,"PE
82 PRINT"(W) WAGES"1,"(II) INTE RSONAL PROPERTY TAX PAID"
REST INCOME",*(D) DIVIDENDS",," 114 IF X$="HI" THEN PRINTO-2,"
(OI) OTHER INCOMER:PRINT MORTGAGE INTEREST"
84 INPUT " <ENTER) APPROPRIA 115 IF X$="CI" THEN PRINTO-2,"CH
TE CODE";X$ ARGE AND CREDIT INTEREST"
65 GOT0100 116 IF X$="AI" THEN PRINTO 2," -
c II re
The ULTIMATE Cenlinr Computer Smart Terminal Fragram
TO ORDER YOUR ROM-PAK, SEND CHECK OR H.O. FOR $49.95 TO CC)NINI E C I CON-80, BOB ROM,
93-15 86 DRIVE, WOODHAVEN, NY 11421. OR, YOU CAN CALL IN YOUR ORDER TO OUR EIS AT (212) 441-3755.
CONNECTION-80
OF WOODHAVEN
BOB ROSEN
93-15 B6 DRIVE
WOODHAVEN, NY 1 1 421
MO( OUI OUR 01.1)R EIS AT (212) 441-3755 24 MRS EVERY DAY
Page 7
C)111
1PUTERWARE
1I
iv■Arr products for
SOFTWARE
Color Invaders ■ Color Pac Attack • Monitor •
Adventure Games • Text Editors • Assemblers •
PASCAL • Magikube • Finance Programs ■ Color
Data Organizer • Graphic Games • Disassembler
HARDWARE
32 K RAM Expansion Board • 16 K RAM Set ■
Cables • Interfaces • Power Pack ROM Cartridge
• Printers
ACCESSORIES
Books • Cassettes • Supplies • Service Manuals
Call or Write:
‘ 411 "COIVIPLITERWARE ®
"Dept C • Box 668
6809 Specialists Encinitas, CA 92024 • (714) 436-3512
Computerware is a trademark of Computerware.
Paae 8
Software Review
!GATOR Z ()INIE
Where else but up East in the a "shirt alert!" Then, its up to you
heart of Preppyland could there be a to get the gator before the gator
game that lets you get back at all gets the shirt'
the alligator people? If this all sounds a little silly,
From IMB (P.O. Box 289, I suppose it is. But GATOR ZONE is
Williamstown, MA, 01267, $18.95) a blast to play. The only one around
comes GATOR ZONE, where you can do here who doesn't like it is our
battle against IZOD—looking "veddy preppy" 13—year—old who -- as
alligators before they eat up your those of the age will -- cannot see
shirts. the humor in it all. If you're tired
As always with IMB, the graphics of alligator shirts, penny loafers,
are sensational. This one takes Mummy and Muffy, GATOR ZONE will do
place on a 3D—looking landscape with you a world of good. And, if your
mountains in the background. The nickname happens to be Muffy,
gators scuttle across a GATOR ZONE this game is different enough for you
looking for shirts to eat, and you to enjoy it.
have to blast them before they do. Button down your collar...grab
The shirts appear at random, and your joystick...and head for the
you get a little advance warning with GATOR ZONE. You'll be pleased.
B I C) R11-1Y T HM 8.c
- -
MINIS F I EL D
ML Rabbit
Protect your software investment with ML WORD CC7
Rabbit. Software for the Color Computer is too Word Processing for the Color Computer.
expensive to have only the original tape. ML WORDCC7 coupled with your Color
Rabbit can make Backups of any Color Computer & printer turns your machine into a
Computer program. No knowledge of the typewriter. Modify and review letters before
program to be copied is required. ML Rabbit any ink touches paper.
does all the WORK. Only $19.95 (Ext. Basic)
Only $14.95
Ml Res. add 4% Sales tax. Always looking for Great Color Programs. TOP royalties PAID.
Dealer inquiries invited.
DSL Computer Products - P.O. Box 1113 - Dearborn, MI 48121 - (313) 582-3408
Page II
K BRICKAWAY $7.00
Poetry and Silly Sentences- a two
GAUNTLET 510.00
program pak of fun reading aids,4k
****#*' EACH JUST --- $10.00
both only $14.00 send to S.Blyn 227 Hampton Green
Britt Monk,CDP-P.O.B. 802-Elyria,OH 44036
- Staten Island,New York,10312
•Ilas=■■•
Page IA
By Joe E. Bennett
The symbols shown on this page, numbered one to ten, may seem like
nothing more than a mass a geometric shapes. But, when you put them in a
group, these symbols may help make you a better programmer.
With proper use, you can plot the course of a program from start to
finish -- and all of the sidesteps and subroutines you may take in between.
Flowcharting may not be the ultimate solution to your programming needs,
but it may be one very positive solution to the debugging blues.
To many neophyte programmers and a Of course, flowcharting isn't
few hard-core hackers, flowcharting needed in all programs. If you're
is a tool of mainframe computer users writing short programs with few
and of not much use to us CoCo branches, don't do it But, if your
people. Why waste time putting your programs are medium-length or longer,
program on paper with all those silly and you do a lot of branching to
symbols when you could be adding that subroutines, then a flowchart may be
great new algorhythm to your latest just what you need to aid the tedious
version of Star Trek, and debugging chore of debugging and determining
it at the same time? logic flow. Trying to keep up with
all the variables, gosubs and gotos
can be difficult at best.
Some of the advantages to
flowcharting are:
-- Standard symbols are readily
understood and recognized.
-- Flowcharts can be read by
someone without programming
To answer this question, we must
take a trip back in time (complete
with Rod Serling narrative) to those
mysterious days of yore before there
were microcomputers. In those days,
when computer time was measured in
terms of hundreds of dollars an hour,
a programmer had to have his work
ready to run the first time it was 7
entered into the computer. More than
90 percent of a programmer's time was
spent debugging a program before
it ever ran on a computer. Logic
flow errors are the hardest to
detect, and could cause anything from experience.
-- Flowcharts can be divided into
a minor program slowdown to a full
smaller sections. The chart can then
system crash.
be examined for overall progress.
-- Flowcharts can be an invaluable
aid in tracking program errors.
Many aids exist in
<115:-.-- flowcharting, such as templates and
drawing packages.
Of course, there are disadvantages
as well. Among them are:
-- Flowcharts are difficult to
To help detect the logic flow design and draw.
errors, a system was devised to allow is not easy to debug a
a program to run off-line. This flowchart.
system was, as you've probably -- Flowcharts tend to become
guessed by this time, called cluttered.
flowcharting. (Continued on Page 15 )
- -
1. PROCESS/ANNOTATION - Describes
the process, instructions and/or
data.
2. START/END - Shows the
beginning or end of a program or
logic flow.
3. DISPLAY - Display of the
television or CRT.
4. PREPARATION - Initialization
or preparation of data.
5. CONNECTOR - Connects sections
of the flowchart to other pages or
other sections of the chart.
6. ARROW Indicates the
direction the program moves.
7. DECISION - Indicates yes/no or
if/then questions. A line will trace
the next step on the logic design.
8. AUXILIARY OPERATION For
subroutines.
9. MANUAL OPERATION - Can be used
to indicate instructions to the user,
manual input/output, and so forth.
10. CONNUNICATIONS LINK - Usually
a modem connection.
END This should give you some insight
to what is involved in flowcharting.
Hopefully, it will be a valuable aid
to you in program design. With some
As you can see from the practice, you should be able to use a
illustration, we can flowchart many flowchart with a minimum of
d.cision programs, as well as many concentration on the techniques of
aspects of logic flow, to produce the the process itself.
main sub-logic flow of any program.
Page 16
ACTION GAMES
The fastest growing producer of computer games for
your 6809 has the products you have waited for!!
tt l) lEtfty
tt
Fast paced action • Super Hi-Res Graphics
Dynamite sound effects • Runs in 16K of memory
These games will astonish you with their Detail and Quality.
They set a standard for others to follow.
- ADVENTURES —
Catixto Island • Zile 4,tuturn
Highly acclaimed by reviewers • Challenging situations
Fast, efficient machine language • Runs in 16K of memory
Save game in progress
Adventures on 51/4 TSC FLEX disc (specify 6800 or 6809) ea. $24.95
Both adventures on single disc $39.95
Adventures for color computer ea. $19.95
Color Berserk for color computer ea. $24.95
Cave Hunter for color computer ea. $24.95
Shipped prepaid in continental U.S. California residents, please add 6% tax.
11■1
VISA' — MORE COMING SOON —
INUKVER*
-
The directions: You can move your cannon by pressing the left and right
arrow keys. Fire by using the space bar. A sneaky snail will shoot back
at you at random. You only have three cannons. When the snails reach the
end of the screen, they will reset. To replay the game, press BREAK and
RUN.
And remember...snails are slow, but sneaky.
1 POKE6549510:CLEAR500:CLSO 15 DATA98,111,110,117,115,128,12
3 SR=3:C=3:PS=CHRS(128):FORI=2T0 8,128,103,97,109,101
14:FORJ=4T013:SET(J,I,C):NEXTJ:N 17 PRINT@399,CHR$(98)+CHR$(121);
EXTI 19 PRINT@448,P$::FORY=1T031:READ
5 FORK=0T011STEP11:FORJ=18T023:5 A:PRINTCHRS(A)::NEXT
ET(.34X,2,C):NEXTJ:FORJ=17T024:SE 21 DATA102,114,101,100,128,115,9
T(J+K,3,C):NEXTJ:FORI=4T014:FORJ 9,101,114,98,111,128,128,97,110,
=161 025:SET(J+K,I,C):NEXTJ:NEXTI
- 100,128,128,100,97,108,101,12E1,1
:NEXTK 04,97,103,103,101,114,116,121
7 FORh=0TO7STEP7:FORJ=39T058:FOR 23 FORI=1702000:NEXTIGOT043
1=2T07:SET(J,I+K I C):NEXTI:NEXTJ: 25 PMODE3,1:PCLS:SCREEN0,0:DRAW"
FORI=3T06:SET(59,I+K,C):NEXTI:FO 824BM20,72;C4E4L3E4R3G3R3G5NL3PR
RI=4T05:SET(60,I+K,C):NEXTI:NEXT 2E5R2F2E2R2G5L2H2G2L2BR10E5R3D5L
K 2UPUL2ERDEDL3GL2BR10U5R3D5L3BR5U
9 PRINTa257,P$::FORY=1T028:READA 5R2D3RF2L5"
:PRINTCHRS(A);:NEXT 27 DRAW516BM8,110:C3U2R2U4L2U2R
11 DATA105,108,108,117,115■11611 6D2L2D4R2D2L6BR7U8R2F3U3R2D8L2H3
14,97,116,101,100,128,128,128,10 D3L2BR8BU2U6R2D5FEU5R2D6G2L2NH2B
9,101,109,111,114,121,128,128,12 R5U8R2F8L3H3EUH2D2R2BDL2D3NL2PR9
8,98,97,110,107,115 U3H5R9F2D4G2L4BE2U4RFD2GLED2ER5U
13 PRINT@329,P$;:FORY=1T012:READ 8R5D2L3DR2D2L2DR3D2L5BR6U8R4F2DG
A:PRINTCHRS(A)::NEXT 2F3L2H3BUU2RFGLEDD3L2BR8"
(CoehumlimPageirf)
Page 18
CHARACTER FOR JOHN Silly Syntax stories - Ten stories per cassette.
Strength =16 SS-001 -) Fairy Tales 5S-004 -) Current Events
Intelligence= 8 SS-002 -) Sing Along SS-005 -) Sothic Romance
SS-003 -) 1-rated SS-004 -) Adventure/Sci-fi
Wisdom =16
Dexterity = 6 $9.95 - 101 off for 3 or sore story cassettes.
Constitution=18
Charisma = 6 All products are available now.
Ohio residents add 5.51 sales tax.
Add 51.0 per cassette for postage and handling.
EXAMPLE RUN No. 2
Sugar Software
CHARACTER FOR JOHN 2153 Leah Lane
Raynoldoburg, Oh 43069
Strength =18/ 83 (614) 1361-0565
Page GAME AIDS Fronk 19
As you can see, in creating a will be extraordinarily brave.
character -- and in determining his All in all, he will be very close
or her personality -- you must look to being super-human, if a bit
at the characteristics as a whole. I cl umsy.
would say that example #1 is a pretty You, as a referee, have the final
ordinary person. say in who does what to their
Character #21 on the other hand, character. I would not recommend
is not so average. that the group you referee be all
Personally, I prefer a character Conan-types. Neither should they all
who isn't a superman in strength. be super-scholars, or whatever.
This character could be compared to Ey no means is this character
Conan in strength. He is very close generator program complete. As a
to being super-human. A rating of variation, you could create a routine
18/100 would be interpreted as 19, to ask for input of information if
which is to say, super-human. So, he the player prefers to bring in an
will look something like Lou already-created character. Or, You
Ferrigno. His intelligence, being could create files on cassette or
16, will also make him extra-smart. disc to update the characters as the
This will come in handy, should the game is played, as a reference to you
situation warrant brains over brawn. and for the other players.
His wisdom, being what it is, is more This will be the subject of my
than a slight disadvantage, although next article in the series. Please
he would not be totally oblivious to feel free to make any adjustments to
all clues in search for adventure. the program to suit your needs -- and
Unfortunately, his dexterity would share them with me if you would like.
make him prone to fall over his feet You can write in care of the
in combat. But not too many people RAINBOW.
will laugh at him. Luckily, he has a Till then, may you be rich in your
constitution of 16, which means he ventures.
ADVENTURES!!!
For TRS-B0 and COLOR-80. These Ad• QUEST ARCADE AND THINKING GAMES
16K and extended or level II BASIC
ventures are written in BASIC, are full fea-
GUEST - A NEW IDEA IN ADVEN- TIME TREK. REAL TIME REAL
tured, fast action, full plotted adventures
TURE GAMES! Different from all the GRAPHICS TREK. See the torpedoes fly
that take 30-50 hours to play. (Adventures and Klingons explode. No more scot
others. Quest is played on a computer
are interactive fantasies. It's like reading a generated map of Armin. Your job is to ing displays, no more turn taking. — This
book except that you are the mein char- one has real time and real displays. In
gather men and supplies by combat, bargain-
acter as you give the computer commands BASIC —for 16K level II or extended color
ing, exploration of ruins and temples and
like "Look in the Coffin" and "Light the BASIC. 514.95.
outright banditry. When your force is strong
torch.") STARFIGHTER — This one man space
enough, you attack the Citadel of Moorlock
Adventures require 16K. They sell for war game pits you against spacecruisers,
ins life or death battle to the finish. Play-
$14.96 each. battlewagons, and one man fighters. You
able in 2 to 5 hours, this one is different
ESCAPE FROM MARS (by Rodger Olsen) have the view from your cockpit window, a
every time.
This ADVENTURE takes place on the working instrument panel, and your wits.
16K COLOR-BO OR TRS-130 ONLY. S14.95
RED PLANET. You'll have to explore a Another real time goody. S9.95.
Martian city end deal with possibly hostile
BATTLEFLEET — This grown-up ver-
aliens to survive this one. A good first
sion of Battleship is the toughest thinking
adven to re.
game available on 80 computers. There is
PYRAMID (by Rodger Olsen)
no luck involved as you seek out the 80's
This is our most challenging ADVEN•
hidden fleet. This is a topographical toughie.
TURF. It is a treasure hunt in • pyramid
full of problems. Exciting and tough!
$9.95.
TREK ADVENTURE fby Bob Retells) SLASHBALL — A two player game of
This one takes place aboard a familiar strategy and skill, this is like nothing you
starship. The crew has left for good reasons - have ever seen before. This takes fast
but they forgot to take you, and now you fingers, quick wits and concentration. Play-
are in deep trouble. able from age 6 to 65. IT is a good family
game. S9.95.
DEATH SHIP Iby Rodger Olsen)
Our first and original ADVENTURE, MINOS - 8K — Features amazing JD
this one takes place aboard a cruise ship - graphics. You see a maze from the top, the
but it ain't the Love Boat. screen blanks, and when it clears, you are in
the maze at ground level finding your way
VAMPIRE CASTLE (by Mike Bassman)
through on foot. Realistic enough to cause
This is a contest between you and old
claustrophobia. $12.95. ICOLOR•BO ON LY
Drac - and it's getting a little dark outside.
S14.95 each. Please specify system on all orders Aft'
This is only a partial listing of what we have to offer. Send for free catalog to:
AARDVARK 80
TRS-80 2352 S. Commerce, Walled Lake, MI 48088 COLOR-80
(313) 669-3110
Page 21
COLOFtTERM (c)
the ILK Color Computer* as an intelligent terminal
pith Si or 64 columns by 21 lines and loner case!
• 300 or 110 Baud • any data format (commercial • encode data for more secure
• user programmable keys systems, TSO, bulletins etc.) storage
• automatic repeat when • memory buffer for incoming • macro buffers for often-used
key is held down data-save buffer-scroll output
• dump your files to host through buffer • patch the 51 or 64 column
• reverse video ■ preserve a window" of
- display to your own programs
• partial screen clear any size; new material scrolls running above 9168 (23 DO hex)
• 4-way cursor control through remainder of screen.
Cassette and Manual 534.95 las i 540.95 tr...01.) Ora 10,4, Charge. kle.wy Ord or
i
deflect Um Sosociag balls isereamo se you enter term drive.
execution. This is because, in most
PM( MEMOIR ijoyete opt) ):Aoce eq..... (:!tkgfrAfErato ijoysta
• Ticlapak /1101• T gp Torlapek 114a.12
op,T4
gra instances, if you attempt to execute
WOW Digrig TIC-TAC-T
Clews& the Mfda picked at modem from gook the ommmtor playing this s$ -aid
a machine language program before the
tae cemgmter's list. User selectable. favorite or loos, to dyleulaL1ni WpOPOMC
disc stops, the disc will hang up and
Flying over slimly t.',Itg, 7r YWA 'kW blaplogo grapk of year physical, Imo-
for for yaw iamb roe. bet =etch mm
messp !Loki lintlistic bomb tribioetcrio
tinsel. mmd cycles. Kelm continue to run. If the location of
Um wet et good. bed, critical dye]
Sceptor of Tzirgla
Page 24
DISC INDEX Frog Pg. 23
270 GOSUP820
O '***************************** 280 CLSIPRINT"THESE ARE THE PROG
1 ' -rv°
P6 C.5% 1,e) RAMS STORED IN THE DISK:"
2 ' DSK*INDX -
290 PRINT:FOR X=1 TO Y
3 ' e. 300 PRINT" 'LEFTS(NS(X),8)" "MID
4 ' BY: JORGE MIR * 3ee el S(NS(X),9 1 3),
5 ' 310 IF Y , '22 THEN 330
6 ' (C) 1981 320 FOR S=1 TO 100:NEXT S
7 • 330 NEXT X
e '***************************** 340 IF POS(0)>1 THEN PRINT
9 • 350 PRINT:PRINTIPLEASE STANDBY W
10 CLEAR 10000:DIM NV60) HILE THE NEW BASIC PROGRAM IS
20 Y=0:F1=0:F2=0 PEING CREATED."
30 CLS 360 '***PROGRAM GENERATOR***
40 PRINT" BASIC PROGRAM GENERA 4- 365 IF F2=1 THEN "INDEX/PAS"
TOR* c hardit. 6 370 LXWON I GOTO "
50 PRINT:PRINT" THIS PROGRAM W N 380 OPEN "0"0,"INDEX/BAS"
ILL GENERATE A BASIC PROGRAM THA "Kr 1-1- 390 LN=0:LNS=""
T WILL PRINT A FILE DIRECTORY AN 400 LN$="GOTO 6000":GOSU81080
D AUTOMATICALLYRUN ANY PROGRAM S 410 LNS="DATA BD,B3,ED,1F,02,7E,
ELECTED FROM THE PRINTED MENU. 96,A7":GOSUB 1080
420 LN$="CLS":GOSUB 1080
70 PRINT:PRINT' PLACE THE DISK 430 LNS="CLEAR 2000:DIM N$(60)":
FOR WHICH YOU WANT TO DEVELOP A GOSUB1080
N INDEX IN DRIVE '0' PEFORE 440 LN$="PRINT TAB(12)"+CHR$(34)
PROCEEDING." +"INDEX"+CHRS(34):GOSUBI080
80 PRINT alisco,m <PRESS ANY KEY 450 LNS="PRINT":GOSUB1080
TO START>"; 460 LNS="X=0:Z=1':GOSUB1080
90 IF INKEYS="" THEN 90 470 LNS="RESTORE":GOSUB1080
100 SOUND200,5:CLS:PRINT a200,"R 480 LN$="FOR I=OT07:READ E$:NEXT
EADING DISK' 0, VT ":GOSUBI080 (Continued on Page 25
110 FOR X=1 TO 9 ui" -to
120 N=0 6 kire -
MICRO.80' INC.
260 CLS:SOUND 200,5:PRINTi9199,"D
ATA BEING SORTED"
I
630 LN$="LOADM"+CHR$(34)+LEFTCN
$00,8)+"/PIN"+CHR$(34)+":SOUND ,e-
200,50:EXEC:DATA "+LEFT$(N$(X)98
Page 26
isIva
MORE VIPERS!
By Richard White
told me that I had to have a DIM (X)
VIPERS may be Dave Ho ❑ per's first statement for any GET command.
cut at game programming, but he has Now, the Extended Basic Manual
been keeping his light under the tells us that a two dimension array
barrel regarding other phases of CoCo must be dimensioned for a GET, and
programming. that the form for the one above would
Of course, I typed VIPERS in from be (DIM (22,16). I put this in and
the December RAINBOW. I came to the it worked. I proceeded to put in the
DIM statements in line 115 and rest of VIPERS, *correcting" Dave's
proceeded to enter only those with DIM statements as I went. I ran it
(10) or larger since CoCo defaults to and checked MEM to find I was using
(10) if no other number is specified. nearly 251t bytes.
After all, I'm running 3211 and don't Now, at this point in the CoCo's
like to type. development, it is reasonable to
Now, when I enter a program, I expect the typical owner has a 16K
like to test it as I go by running it machine and any program that would
if this is reasonable. With VIPERS, not fit in 16K would be so labeled.
it was reasonable to RUN100 after Dave's original DIM statements
each set of DRAW and GET lines after worked, though they are totally
adding a 1000 GOTO 1000 to hold the different from those in the manual.
graphics screen. Line 135 is GET A quick check proved this out.
(178,68)-(196,84),F,G. I ran 100 and So what is the right, and least
at a FC ERROR IN LINE 135. That
g memory-consuming way to DIM for use
Use This Coupon or a Photocopy... of GET's. TThve read the September
Radio Shack "Microcomputer News"
ALSO AVAILABLE: closer than I did. There Thomas
+ Galloping Gamblers $18.95 Rokicki provides the following
+ Gator Zone $18.95 formula, which obviously works:
+ Micro-Math Skills Quiz $12.95 Array Si:e=((H x V) -1)/N
o— — •
r'
e r '
Where H=horizonal width;
PT,C:DE013.
tV ar7d e 4rt, j oc : 1 80 l ror Ph M; ODEN=401 af nd
$,1604,:r len
1111. GAME OFFER gt hs. and widths are the
'largest coordinate minus the smallest
BUY ANY 2 GAMES & a
Ncoordinate for each direction.
'of the time you will get an answer in
Most
TEL.413•663-9648
effects appear in commercial machine
language programs -- now we find we
can do them from BASIC.
Perhaps Dave will put some words
around on how he chooses notes and
❑ Check, ❑ Money Order, octaves to get what he wants.
❑ Master Card, ❑ Visa.
Account No.
Exp. Date
MUM FrosPg. 17 Page 27
55 SA$="C5REHLG2FR3E2H2L3G2C2DFU
29 DRAW"HUR3EL4U2E3R4G3R3DG4L2": NHDR5C4NUNHNE2RNH"
PAINT(24,70),4,4 57 DRAWS11BM128,921C3"+SN$
31 FORI=IT05:READA:PAINT(A,70),4 59 PAINT(128,89),2,3
1 4:NEXT 61 DRAWS11BM128,92;"+SA$
33 DATA32,63,1181178,220 63 DIMS(7)
35 FORI=1T08:READA:PAINT(A,90),3 65 GET(111186)—(143,94),S,G
,3:NEXT 67 FORI=1T090:PSET(RND(43),RND(1
37 DATA22,46,72,102,1136,170,195 1 9),RND(5))1NEXT
234 69 DIME(21):GET(0,0)—(43,19),E,G
39 FOR1 ,;=6T0206STEP40:FORKK=0T04E1 71 GGS= N U2R4U2R2U2RD2R2D2R4D2L13
STEP161PUT(0+K,120+KK)—(32+K,128 a
+Kh),S,PSET:NEXTKK:NEXTK 73 DRAWS4EM12,192;C3"+GG$
41 PPKE65494,0:FORK=1T°5:SCREEN1 75 PAINT(17,190),3,3
10:SOUND20,1:FORI=1T0500:NEXTI:S 77 DIMF(7):GET(0,185)—(37,192),F
CREEN1,1:SOUND1,1:FORI=1T0500:NE ,G:GOSUE25:GOT0137
XTI:NEXTK:POKE65495,0:RETURN 79 IFM1=0THEN103ELSEIFM1=1THEN10
43 2=4:PMODE3,1:PCLS:SCREEN0,0:Ci 5ELSEIFM1=2THEN107ELSEIFM1=3THEN
$="ClERNU4RU4RD4RU4RD4RU4RNL4D2N 109ELSEIFM1=").4THEN111
L4D2L6C3" 81 L1=M2:60SUB113:MCS=LLA:IFM2=)
45 DIMT(24) 10THENM3=M3+1
47 AS="BR4NU4BR":B$="13R2U2R3U2NL 83 IFM2=>10THENM2=0
3BD4NL3":C$="BR2R3U2NL2U2NL3BD4" 85 L1=113:GOSUB113:MDS=LLS:IFM3=>
1 1:3="BR2rU2NU2R3U2D4*:ES="BR2R3U
10THENM4=M4+1
2L3U2R3ED4":FWER2U4NR3D2R3D2NL 87 IFM3='>10THENM3=0
3":GS="BR2BU3UR3D4":HWER2U4R30 89 1_1=114:GO5UB113IMES=LLS:IFM4='›
2NL3D2N1_3":IS="BR2PU2NR3U2R3D4": 10THENM5=M5+1
J$="BR2U4R3D4NL3" 91 IFM4=)10THENM4=0
49 QQ$="V311_25502BBO1CC" 93 1.1=M5:GOSUB113:MES=LLS:IFM5=>
51 GB$="ULUL2UR7D1_2DLD" 10THENM6=M6+1
53 SNS="REHLG2FR3E2H2L3G2DFR6U2" (Continued on Page 28 )
1 RS
- e fa coLo rri u'r EP
- 16K Extended Basic, Menu-Driven, Well-Documented, Easily-Modified.
- For either cassette on diskette systems (Se sure to sPecify).
- Place an order or At least $40 and get one extra. of Your choice free.
- Orders shiPPed on cassette - Add $5 for shiPment on diskette.
-FURST- -REPORT WRITER-
Data Element Dictionary driven Used in conJunction with FURST to
File Update And Retrieval SysTem. selectively format rePorts on your
Create and maintain files according Printer. Includes headings and
to your sPecifications. Ideas for total capabilities.
aPPlications included. $25 $15
• CROID
Eliza type set6nal eaelligeace game
SOUNDSOURCE
• The Best Games Available Store mut in or voice from a cassette Tape in the
• High Resolution Graphics At Pall a complete desetiption of computer and display it on the TV screen
Shorten it lengthen it modify it and replay
the 'guts of the Color Computer
• Fast, Machine Language Specs on all the ICs complete through the TVs sound system Build and lest
schematics theory of operation your own sounds for games no hardware mods
• Ext. Basic Not Required and programming examples needed
The RAINBOW
5B03 Timber Ridge Dr.
Prospect, KY 40059
Gentlemen:
YES! Sign me up for a one-year (12 issues) subscription to the RAINBOW. My $12
is enclosed.
Name
Address
City State Zip
Check enclosed $
Charge my VISA account
Mastercard account
(Canadian and foreign subscribers please add CARD # EXP. DATE
additional mailing charge). SIGNATURE INTERBANK./
Mn.,