Commodore Power-Play 1983 Issue 05 V2 N02 Summer
Commodore Power-Play 1983 Issue 05 V2 N02 Summer
"*• -^""-
BULK RATE
U.S. POSTAGE
PAID
Permit No. 1705
Phlla, PA
Cammodort Business Machinal, Inc.
1200 Wilson Dfmi- ■ Wi-.i Chi-.fr-. PA 19380
Gridrunner
No one, not even the author, has As the pilot of the Gridrunner, a
Is available
ever achieved the fast Gridrunner. It combat ship, you must annihilate
for VIC 20™
is an extremeiy fast-paced arcade- the various enemies traveling
quality game designed to test your along the "Grid." High scores are and
coolness under fire and challenge possible only through the mastery Commodore
your reflexes. of the patterns of the X/Y Zappers 64™.
and the Gridsearch Droids which,
Can you beat
when destroyed, mutate into
Gridrunner?
potentially lethal Pods.
See your local
Gridrunner has 32 levels of diffi computer or
culty (20 levels in games dealer
the VIC 20 ver and find out.
sion). To this
date, the 13th Human Engineered Software
level has been 71 Park Lane
the highest Brisbane, CA 94005
achieved.
a division oi U5I
VK 20™ ai<d Cmmodoic M™, CBM™ and PET™ ve rc»Ht™J (wfenwte ul CmunodoiE
HrtMl*
Expnndupcrt, Audio Link. Ininbut. Terminal ft*. VRAM and Monitor (.ink art copywriJal by Micro
MICRO W SYSTEMS DEVELOPMENT, INC.
Sync™ Dl I 111O3 SHADY TRAIL • SUTE 1Od • DALLAS. TEXAS 7B2SS
V J
power
■home compuCinq
A ■Bl sat-.?-. ^
34 And Even More New Cartridge Games for the Commodore 64
by Diane LeBold
Three Bally/Midway arcade hits top the list of exciting new cartridge games
gays
i-*-^*-"*i"!3
^^ for the Commodore 64.
i
38 OOPS! byJeffBruette
A Commodore game programmer reveals how you can use certain bugs
(let's call them "undocumented features") to score higher in Commodore's
Omega Race and GORF cartridges for the VIC 20.
Omega Race
departments
Letters
11 We'reGladYouAsked
Technical editor Jim Cracely answers readers' questions
15 Butterfleld
Foolin' with Boolean by Jim Butt erfield
20 The Commodore Challenge Contest
A tit between two great game programs submitted by our talented readers. Type and
save PIO by George Currie AND The Maze by George Short. Then fill out the entry
blank and send in a copy of your best. Maybe you'll be the next winner!
25 High Scores
How do you measure up in our ongoing competition? Can you heat these champion
flam esters' scores? Send in a photo of your best.
58 Kids' Comer
The best from our "Commodore Kids" is now a regular department, edited by Betsy
Bymeofthe New Mexico Commodore User Group. Look here from now on for things
by and about kids.
71 Jiffies
The Octopus Maze by Gerald and Betty Schueler
Alphamalch by Barbara J. Moody
Joyrite by Mike and Annette Hinshaw
Reinventing the Wheel in PET BASIC by Dean S. Rossa
STAR: An Astronomy Program by Alex Bakman
88 Programs
Some simple programs to type and save.
FOR... NEXT Sound Effects by Jim Lockrfdge
) Sul ii't lii hi1- Machine Language Revisited by Carl Robertson
90 Tele/Scope
Dynamic File Translator bv Jeff Hand
93 Program Review
Vixel for Fun and Learning by John Watkin
94 Glitch Fix
If we make a mistake, this is where we repair il.
Publishing Manager
Neil Harris
For Even More Information
Editor
Diane l.uliold And Just Plain Fun
Technical Editor
Jim Gracely Watch These Upcoming Issues!
A... uii.:ti Editor
Betsy Byrne
Staff Writers
Jeff Bruettt
Jeff I land
Paul Higginbottom
John O'Brien
Mike Smith
Michael Tomczyk Commodore: The Microcom Power/Play. Watch for us again
Contributing Writers puter Magazine. Our June/July issue in the Fall with more fun, games and
Alex Bakman is devoted to programming. Whether home applications for our family users.
Jim Butterfield
you're a full-fledged techie or a stum
Mike and Annette Hinshaw
Jim Lockrldgg bling novice, you'll find something in
David Malm berg this issue that is meant for you.
Barbara J. Moody
David Owens
Carl Robertson
Dean S. Rossa
Gerald and Betty Schueler
John Wat kin
Technical Staff
John Campbell
Rick Cotton VOICE WORLD'S
Andy Kinkil
Expansion Chassis
Sharon Steinhofer
Circulation Manager
John O'Brien
Circulation Assistant
Kathy Rdtfd
ONLY $149.00
Graphic Design
• Programmer's dream—Game Start address selection at 2000,
player's delight. 4000, 6000. AOOO HEX.
Neumann Creenberi! Schlenker
• Boosts VIC • ROM mode switches for
Cover Photo:
memory to memory write protec
Kevin Raber
29K! tion and PROM,
Printing
• 4 expansion slots EPROM
International l.i
with switches for in emulation.
stant cartridge selection— • Memory
faster lhan a disk. banks
• Accepts any cartridge hold pro
Powvi/I't.iy h published four times tyax by the
designed for the VIC 20* grams/data
Computer Systems Division, Cotnmodow Business
• System Reset Button. even when de
Machines, Inc., 12011 Wilson Drive, Welt Chester, PA
19380. Copyright © 1983 hy Commodore Electronics selected.
• Plugs directly into your VIC 20J.
Ltd, Nn material may be reprinted without permission. • Gold-plated connectors/
• 8 memory control switches—easy to
Volume II, Number 2. switch contacts for high reliability.
Subscription Information; U.S. subscriber rate is configure in 8K banks for custom
applications. • Fused to protect your VIC 20."
510.00 per year. Canadian subscriber rate is $15.00 per
ytar. Overseas S17.00 per year. Questions concerning • Factory tested—one year limited warranty
subscript inns should be directed In Commodore Busi TO ORDER:
ness Machines, Magazine Subscription Department, Send check or money order. Add 3.00
VOICE WORLD
Boi 651. Holmes. PA 19013. Phone B00-MS-8112. „ y 130SS Via Esperia shipping and handling. California
IPtnnsylvaniaphone ]-800-662-2Wi.J K«>iuji, 1 rjel Mar.CA 92011 residents add 6% sales lax.COD
VJC20™ Commudore «.'" CBM™ and SuperPET1" [6191^81-7390 DEALER INQUIRIES INVITED
are trademarks at Commodore Electronics Lid., PET?
isa registered trademark of Commudore Business VIC 20 is a registered trademark of Commodore Business Machines, INC.
Machines, Inc.
COMMODOREPOWER/PLAYSummer 1933 7
OUR MOST POPULAR "ARCADE GAME" TAPE PROGRAM
FOR VIC 20 COMPUTERS
SUPER PARATROOPER!!
FANTASTIC SOUND AND ACTION WITH SUPER HI-RES GRAPHICS
(A PBOTECTO ENTERPRIZE EXCLUSIVE)
By Nic Dudzik
JOYSTICK
OR
KEYBOARD
SUPER PARATROOPER Is a High Resolution game The High Resolution graphics helicoptors are fan
that doesn't let you make any mistakes. You are in tastic. They look exactly like helicopters! The
charge of a big gun that sweeps back and forth by paratroopers are super realistic. Their chutes open and
your command. Helicopters Mil the sky, (and we mean then they drift down to earth. If this weren't enough
fill the sky!), dropping paratroopers. Your mission Is to the sounds are fantastic. There are helicoptor blades
keep 3 paratroopers from hitting the ground on either whirring and you can hear the howitzer pumping
side of your gun. But that's just the beginning. You shells. When you hit a parachute you hear this ripping
score by hitting the hellcoptors or the paratroopers, sound and the paratrooper falls struggling to the
but If you miss a shot It subtracts from your score. ground! NOW HEAR THIS! - If you let three
Therefore, you must make every ahot count to make a paratroopers land, they bring in a tank from either
high score! IT HAS FOUR FAST ACTION LEVELS side and blast you!!! This game really shows off the
TO CHALLENGE THE BEST PLAYER. sound and graphic capabilities of your VIC. SUPER
PARATROOPER IS OUR NO. 1 SELLING ARCADE
GAME — you've got to get this game to believe it —
LIST $24.95- SALE $19.95 we are so sure you'll like it we'll give you "10 DAY
FREE TRIAL."
VIC 30 is 9 trademark or1 Commence EUCIromcs Lift
we are
commodor VIC
It
experts!! ENTERPRIZES (factory direct)
BOX 550, BARRINGTON, ILLINOIS 60010
Phone 312/382-5244 to order
S COMMODOHEPOWER/PLAYSummer 1983
braindraps
(CG096) Antimatter Splatter $24.95 Another all machine language game based on the
This game is as good as its name. Another pure principle that one person with one joystick
machine code game, this one is fast! The alien at guiding one catch/shield can catch everything
the top of the screen is making a strong effort to that one alien can throw at one. The action comes
rid the world of humankind by dropping anti sfowly at first but by the fourth wave you'll be
matter on them. The splatter cannon and you are aware of ... "The Catch" . . .
Recently scoring a rating of 10 out of a possible in the instructions. "Defender On Tri" requires at
least 3K added memory.
10 this game was praised as "one of the best I've
seen on any computer" by a prominent reviewer (CG092)3D Man $19.95
in a leading magazine. The idea is to shoot a The maze from probably the most popular arcade
centipede before it overuns you, the problem game ever, with perspective altered from over
being every time you hit it, it divides into two head to eye level. The dots, the monsters, the
separate shorter ones. Several other little power dots, the side exits, the game is amazing.
creatures bounce around during this struggle. All "3D Man" requires at least 3K added memory.
of them lethal. 100% machine language makes
(CG088) Space Quest $19.95
the rapid fire action very smooth. A joystick is
Our first 8K memory expander game and its a
optional, but as always, recommended, (a trac
beauty. The scene (a short story is included) is far
ball is also very nice!).
in the future, a time when man's knowledge has
(CG054) Krazy Kong $12.95 reduced an entire galaxy into a mapped series of
Three screens, a gorilla, barrels, and changing quadrants. This game has stratagy (you plot your
difficulty levels help to make this one of our most own hyperspace jumps on Galaxy map), action
popular. Joystick optional. (against a starry background you find yourself
(CG098) Racelun S19.95 engaged in a dogfight, laser style), exploration
Extensive use of multicolored charactercapabili- (you must fly your ship deep into caverns to pick
ties of the "Vic" make this one very appealing to up necessary fuel). "Space Quest" requires at
the eye, Fast all machine language least SK memory expansion and a joystick.
P.O. Box 156, Shady Cove, Oregon 97539-0156 Mastercard and Visa cards accepted C.O.D. Orders...call {503) 878-2113
Vic 20 and commodom 64 mo uaUumarka oi commodore Elocuomca Lid. Games will be on tape unless you request disk. Ask (or our FREE catalog!
Our technical staffis glad to answer your questions. Please direct them to the attention ofJim
Gracely, in care of this magazine.
Q Page 114 of the VIC 20 Computer The "X" in the formula comes from 9 FORX=1TO10:PRINT"SWHI"
Guide says that variable names may be the table on page 216. This new for
a letter, a letter followed by a number, mula will work with or without mem 20
or two letters. I have used variable ory expansion. : 007010
names such as "COUNTER" and The table on pages 83 and 84 doesn't
"FIRSTNAME$" without any syntax work with 8K or more expansion RAM (That's 29 [CURSOR DOWNJs)
errors. Is this an error in the Com because the location of screen memory Now move the cursor to the mid
puter Guide'! The only time I get a syn moves. Register 36869 contains a parl dle of the screen, type some words or
tax error is if 1 use a BASIC command of the screen memory address in bits -1, characters and then type RUN.
or function in the name: "FACTOR", 5 and 6. When 8K or more expansion
for instance, cannot be used because RAM is added, screen memory moves Q How do I move the beginning of
it contains the operator "OR". from 7680 to 4096 and the start-up BASIC so that I can protect a part of
A No, this is not an error in the VIC value of register 36869 changes from BASIC RAM?
20 Computer Guide. As far as BASIC is 240 to 192. You can still use the table A Moving the beginning of BASIC
concerned, a variable name has one of on pages 83 and 84 with 8K+ RAM by is not hard to do but there are a couple
three forms: a letter, a letter followed subtracting 48 from each of the values of rules that must be followed.
by a number, or two letters. Regardless in the "NUMBER" column. The operating systems of the VIC 20
of what you name a variable. BASIC The POKE values for locations 52 and the Commodore 64 require the
will reduce it to one of these three and 56 can still be used but they will first memory location of BASIC to be a
forms. The reason for this is that severely limit your program size. "0". The registers 43 and 44 must con
BASIC only allots two bytes of storage Instead of protecting the program tain the value of the second memory
for each variable name. Any characters mable characters it is a better idea location of BASIC. If BASIC starts at
left over are ignored. Be careful if to move the beginning of BASIC to a 2048, location 2048 must contain a "0"
you're going to use long variable location after (below) your characters. and registers 43 and 44 are poked with
names: "COUNTER" and "COLUMN" See the next question on moving the values for 2049 (43= 1 and 44=8).
both start with "CO" and BASIC will the beginning of BASIC for the cor Once registers 43 and 44 have been set,
think that they are the same variable! rect procedure. a CLR must be performed to reset all
Qonpage8oftheFalll982 of the other memory pointers, and a
Q I have been using programmable
NEW command is used to "straighten-
characters on the VIC 20 for some Power/Play there is a tip for scrolling
the screen backwards. I tried typing it up" the new BASIC location.
time. However, with 8K or more of
A simple program can do all of this
expansion RAM the formulas in the in a number of ways and I can't get it
for us:
VIC20 Proc/rtimmer's Reference Guide to work.
no longer work! Please explain how to A The instructions for using this tip 10 BG = LOCATION + 1
use programmable characters with 8K were not very clear. It is a nice little 20 HB = INT(BG/256)
or more expansion RAM. trick and here is the way to enter it
30 LB = BG - HB * 256
A Now here's a popular question. into your VIC 20 or COMMODORE 64:
Turn to page 215 of the Programmer's 40 POKE LOCATION,0
Reference Guide and find the formula 50 POKE 43,LB : POKE
PRINT"[CLR HOME][CRSR
in the section entitled "Character
DOWN] [SHIFT CURSOR 44,HB : CLR
Memory Location". The formula looks
LEFT][SHIFT INST/DEL]" 6 0 NEW
like this:
:POKE218:158
Replace the variable "LOCATION"
POKE 36869, PEEK(36869)
with your new beginning location for
AND 15 OR (X*16) This is the way to use this command BASIC. After you have typed in the pro
in the direct mode, it will scroll the gram (and saved it!), type RUN. Now
Scratch out that formula fit's type LIST. If you typed in the program
screen one line backwards (down). To
wrong) and replace it with this one: correctly, nothing will be listed! Every
get a better idea of what you can use
this for, try entering the following two thing between the beginning of BASIC
POKE 36869, PEEK(36869) line program into your VIC 20 or RAM and your new beginning location
AND 240 OR X Commodore 64. is protected (and hidden!). C
Creating Attractive
Screen Titles
by Michael S. Tomczyk
fiL-printed from Commodore Magatinv, Aujjusl/Stptcmher 1982
Displaying an attractive screen title is always a nice The VIC uses "shorthand" to display the CLEAR com
way to start a BASIC program. You can even let the user mand inside quotation marks, so when you hold down
choose his own title, and display it dramatically when the ISHIFTl and press |CLRVHOME| the VIC displays a reverse
program starts! heart, which means "CLEAR." The spaces you typed appear
One thing to remember when choosing a title is to as blank spaces, like this:
try to keep the length of the title less than 22 characters
including spaces, because the VIC displays 22 characters 10 PRINT" □ VIC MAGICIAN"
on each line and your title wiil "spill over" to the next To display your title, type the word RUN and press the
line if it's longer.
I RETURN | key.
Centeringyour title
If you have a problem or make a mistake, type LIST and
There are lots of ways to make attractive titles, but one
hit [RETURNl, then retype the line.
of the easiest techniques is centering your title at the top
of the screen when the program begins. Using the SPC Command
To center your title in the middle of a line, the first There's another way to put spaces in your BASIC pro
thing to do is count the number of characters in your title. grams ... by using the SPC command. If you type PRINT
Let's say your title is "VIC MAGICIAN." SPC (5) your program will insert five spaces. Remember
DnnnDDnnnaaaDDnannnnnn the SPC command is never enclosed in quotation marks
□ □□□□VIC HAGICIANDDDDD but is always outside of the quotation marks... and you
This title has 12 characters including the space. Now must always use the PRINT command hefore the SPC
subtract that total from 22 (the number of characters on command. Here's how you can use the SPC command
one line). The answer (22-12) is 10. That means you have lo PRINT! he line you just typed:
10 spaces ''left over" after PRINTing your title on the line.
To center the title, you want to have an equal number of 10 PR INT'j SHIFT] |CLR/HOME~]"SPC(5)
spaces on each side of the title, so next we divide the "left "VIC MAGICIAN"
over" spaces by 2. Since 10/2 = 5 we know to put 5 spaces
Here's another example of the SPC command:
on each side of our title if we want to center it.
The following one-line program centers the title "VIC 10 PRINTSPC (5) "MOVES 5 SPACES'^PC(3)
MAGICIAN" on the screen by CLEARing the screen and "MOVES 3 SPACES"
then PRINTing the title five spaces over from the left mar
gin (To make each space in your program, press the long Displaying Your Title in Reverse
space bar once, quickly. Any space you include inside the Now that you've created a title. Let's "dress it up" a
quotation marks will appear as a space on the screen when little by reversing the title colors. To do this, you'll have
the title is PRINTed. Notice that you don't have to worry to retype line 10. This time, just before you type the title,
about the spaces on the right side of the title because hold down the[ CTRL]key and press the |RVSON] key.-
they're automatically left blank.) This makes the title print in reverse when you RUN the
Type this line and hit the RETURN key: program. Notice that when you hold down I CTRL I and
press IRVSONI. the VIC displays a REVERSE R. Type
10 PRINT" ISHJFfi ICLR/HOMEl iSPACEl I SPACE] the following and hit the [R~ETUR~N~1 key:
ISPACEI [SPACE | [SPACEl VIC MAGICIAN" I TYPE THE "
COMMODOREPOWER/PLAYSuinmer 1983 13
Hie magician
the [CTRLl key and press the key marked |REP) CRSR DOWN WILL APPEAR AS A REVERSE Q on
on the keyboard: your screen.
Hold down the SHIFT key and type the "C" key to get
this graphic symbol
There's something in your integers or floating point variables, are chosen with letters like P and K,
Commodore computer that's so and even array elements. Arrays? That so that we may end up with something
simple—and so powerful—that you means you can have tables of "true" like X=PORK (P OR K, get it?). Don't
probably won't notice it unless you're and "false" conditions. let it confuse you. You may be com
told. It's called "boolean variables" and Keep in mind that in making forted to know that such programmers
it can change your (programming) life. boolean variables, you can use any often get caught by their own clever
At first, it seems confusing. A BASIC true-or-false test. That includes ness; if you had two boolean values
line such as X=Y=7 seems wrong. But strings, comparisons, and tests con called T and Y, and tried to code some
if you try it, you will not get SYNTAX nected with OR or AND relationships. thing like IF TANDY THEN..., the
ERROR... the computer will happily Here are some valid boolean machine would quite properly print
accept the command and print READY. calculations: SYNTAX ERROR. Why? Not because
Well, if it works, maybe it means: set of any brand considerations, but be
both X and Y to 7. Nope. PRINT X;Y cause the computer would think you
B-SE52B?
will give values of 0. meant the TAN function and would
Using parentheses helps make run into trouble there.
D=<n=2 HMD V-1384>
things more understandable. If we
had typed: X=(Y=7) we can see that Let's look at the last one more Some Handy Uses
it makes sense if we add the following closely. It seems to be looking for a Let's talk about a number of
information: X will end up as either leap year (1984, month 2) using an situations in which boolean values are
"true" or "false". If Y=7 then X will AND expression. Each of the relation especially handy.
be "true" (that's represented by a value ships on either side of the AND is an Deferred decisions: Sometimes you
of -1), otherwise X will be '"false" (a individual test... and wherever we need to make a test at a certain part of
value of 0). X has a new meaning. It's have a test, we may replace it with a the program, but you don't want to use
not really a value... it's a true/false boolean value. So we might say: the results of the test until later. For
condition. We call this type of thing a example, you're going to do some
"boolean" variable. arithmetic on variable X; when you're
If X can be true or false, we should finished, you want to take some action
D=<Fl RND B3 based on whether X was originally
be able to say such things as:
IF X THEN PRINT "HELLO" It's all logical—literally. When you greater than 99. We've changed X,
.. .which means, if X is true, perform look at an expression such as the one so the test must be deferred. Before
the rest of the command. If you've above, think: A is a boolean, either the arithmetic, we do the test with
been typing along, X will be false and true or false; the same is true of B; B = (X>99). Now we go ahead with the
so the command will not print HELLO. therefore, if both A and B are true, arithmetic. Finally, we can act on the
We can try the inverse by entering: then Dwill also be true. earlier test by writing IF B THEN....
IFNOTXTHENPR1NT"HI" Some clever programmers (not you Complex expressions: Sometimes
.. .and for "false" X the line will be and 1, of course) like to obscure things we have a number of tests grouped
completely executed and print Hi. by leaving off the parentheses, and leav together and it's hard to keep them
ing out spaces. The previous expres all straight. We can make everything
Boolean Types sions would then become D=AANDB. very orderly and very neat by assigning
Any numeric value can be a boolean: To confuse you further, the booleans interesting conditions as boolean
ADVENTURE.
SB
THE KEY
IS PL/WEDWn*
YOUR COMPUTER
$14.95
f
es\denw
COMMODORE POWER/PLAY Summer 1983 17
bullcrficld
values. Thus we can set things like have the A or F matches counted more 3 L,-i
B=balance over S1000, V=high than once. 24G r-RlNT;.
volume customer, P=payment made The object is to guess the com
within the last 60 days. Now we've The guesses are inputted into array
puter's secret code. Let's make a secret
done our tests, we can efficiently code X. We use a GET statement and forbid
code as an array of four values:
things like: the user to type any keys other than
LC10 RO'I BOOLE RN Bft< I I AtoF:
IF NOT B AND NOT V AND NOT P - fin BUTTI !■'! II LD
THEN PRINT "DEADBEAT!" i' 5 ■'■ FOP . 1 ; Q ■:
ue dim c»;4) .:■:■-■: ',r-K4 >
IF B AND V AND NOT P THEN PRINT . i: ' get ;■■:; fell X*- n ■■; ,,yrf
-HURRY IT UP!"
IF NOT B AND V AND P THEN PRINT Array C will hold the mystery :: !"' ;s'~RSC . ;■;:.! ■■ ■;;■:■■'■
"WHERE ARE YOU?" combination. X will be your guess. .'■:i i1 ■■:■■ 3 OP :OC G'! ' 1 1
M and N are "matching" flags—they
. ■
The booleans make the combina will be in boolean. Now let's scramble
FT'IMT ■.!■■; K<J
tions much more readable. our random number generator, so
that each game will be different, and
HCKT .1
IF-THEN-ELSE equivalents.
You can make logic-tight alternative give instructions.
Here comes the testing for matches.
decisions using boolean values. Sup First, we need to test to see how many
pose we wished to code: IF the month exact matches we have—letters that
is less than 12 THEN add one to the I io :■' ' : i i"i "TR7 m
,; ; . IV ■■■:■■■ match in the same place. Note how
month. ELSE set the month to 1 and
we use array M{J) as a boolean; M(J)
add 1 to the year. This could get 140 PRINT "OF I
will be true if a match, and false
messy, since the month might change cunnncTpRE •■■ \o" if no match.
while we are still testing it, but it turns 156 PRINT "LETTERS f)
into crisp coding with: TO r. .. " ■ ■-■■ !■_::; ;N-h;
11 9.95
• increase usable RAM to 28.159
bytes (800% increase)
• 6monlhpartsandlaborwarranly
"VIC"
.■■■:. rr b ruEN n«n+i
Color lound graphic!
s6o rc lie And to complete the game, we'll ask
•
four exact letters: the answer has been Summary Include!.! i* ■> pamphlet
explaining cverv variable
found and we may need special action. Booleans may seem like a trick •
Let's log this condition into a boolean: when you first meet them. But they 5 great games - 1 sreal
are sound coding. Understanding them demonstration of uamc
programming
420 B=s "Pi'*42 is the key to more efficient programs. C
4.Li0 PRIN1 n?"CKRCT";H? I casette $19.95
'"WITCHES" Additional easettesSl 5.95
CsinBdlBn orders * iidd I 5%
440 0-0+1 :; IF NG'l B HMD
Maine residents - >uUl 3% lalu 'ax
0-!l I. GOTO S40
^j Softwear International
Now we take advantage of our
Cj> 164 North Street
boolean, B:
^r Calais, Maine 04619
VK' ZO^a i »i Oannwdon ElceUonlo Ltd.
Congratulations to
Commodore Challenge
Contest Winners
George Currie of Eugene, Oregon, for PIO
and
George Short of Easton, Maryland, for The Maze
We received a slew of superb software from our talented readers over the
past few months—so much so that we ended up with a tie between these
two excellent game programs. The judges were evenly divided between the
two. except, that is, for the judge who said we should publish both. So
that's what we decided to do.
Thanks to all of you who submitted programs. They were all, as usual,
great fun. (We never seem to have any problems getting volunteer judges for
this department, for some reason.) And keep up the good work. Maybe next
time the winner will be you.
If you've been playing around at home developing original Business Machines, Inc., upon submission. Winning
games and programs for your unexpanded VIC 20, send your entries published by POWER/PLAY will become public
best—on cassette or disk, please—to the Commodore domain software.
Challenge contest. Include a brief description of the program's Pill out the entry form below, and submit it with your
purpose, including documentation on how to use it. If it's a game or program to:
game, be sure to include instructions. Commodore Business Machines, Inc.
Programs requiring memory expansion are eligible, too, 1200 Wilson Drive
but will not be published unless space allows. West Chester, PA 19380
Winners will receive a VIC 20 8K Memory Expander Attn: POWER/PLAY
Cartridge. All entries become the property of Commodore
Signature.
Guide your centipede-like animal down a course full oftrees in this fast-paced game. Uses keyboard
controlonly. Instructions are in the program.
33 PRINT" TRFPP" ■Pl?Il--T"fS!rvtc;v TIME PIO MRIL- fi TREE u" *? Il!?FiBLErj F^p p SECOW
3 THEN HE 15 OK"
4g PRIST"?T!PRr:S5 SZ» T0 MOVE1FI0 TOTHE LfE'T" :PRTNT"J^PRSS':i SCRSROS TO MOVE PIO
t,-[ jUC PTfHT"
41 p^ji.iT»)iTji-gpc?FC3 ci pop ^f:Rr THFO"
i2 GE"K*:IFK*=CHR*(133>THEH45
43 00T0;l2
45 PRINT'TSTTHcPE QP^. •'- LEVELS OF F"_aV "'°*1U~"'33H:*-?. TPFE^ WITjp■TER?Y?
45 o^TsjT"j(igs?a-^ T^:EE3 WIDE (SO-SO " :pRIWT";!]S5:?i?-4 ^"REES WJ ?F^!-IPRJ)>" ' PR IMT" 3^3345-
5 TREES WIPECHR-Hfl)"
'i7 P'RINT"KS!^RESS THE LEVEL '-'?!J WPNT T'^ PL13'-1 0lJD THE OfWE WILL STPRT
48 PR! N'T "ESS F0R Ti-iE HIGH SCORES- PRESS $F?
COMMODOREPOWER/PLAYSummeM983 21
the commodore challenge
90 PE=PFEKC197):IFPE=0THEHHU=2:OOTO190
91 IFPE=56THENNU=3:GOTO100
92 IFPE=iTHENNU=4:GOTOl(30
93 IFPE=57THENNU=5■GOTO100
94 IFPE=63THEN10
39 OOTO90
100 OF=3S720:S1=36S77:F0KE3GS78, 15'P0KE36879j29■R=7 9ii:XC=0:&>0 : LR=0 = :?3=36S75: F
D=0
101 !GET RERDV!":FORT=J.TO209e
111 PR I NT" rM^^KflBlFIflMSKi!WKWM".;
112 PRINT" £l&X>CC<\'*y3TflRTv>•■rt;V'i'WN'|J" ; :e,f-$ = '• STfiW*MsM" fiRF"
120 TR$="^"4-4"f'V"
150 X=(INTc!RND<l)*16)+3)-IK T''NM,-'2"': IFJ!,'C=@THFHPPTfJTT RB^^>;RTpMTff TR**HU>
153 IFXC=1THENPRINT
155 SC=SO+1.5: IFPEEK(R>=38T HENG=11 :B=1 '-QQTQ2&2
156 IFPEEK<!A)=230THENPR!NT? C*; I NT ■: SC J' FORT= 1TO5900: M"XT:nOTO380
160 IFPEEK<157>=33RNCfl>7902THENR=R-l
165 I FPEEKa 97) =23RNDR<791P THENR=R+1
176 POKER,90:POKER+OP.6■LR= ^Rj-j ■ Tp(_p~5P|fiXMf7!i-JP^TNT11! ?^^^^5^": : XC=
1
185 GOTO150
200 POKESM33TO&T-ITO400: NEXT: POKES 1 .0::"C=^C-9fC T0176
300 IFNU=3RNDSOH2TMENH2aSC :G0T0334
305 IFMU-2RNDSOH1THENH1 =SC :GOTG324
310 IFNU-4RNDSOH3THENH3-SC ■G0T0344
311 I FNU=5RND5OH4THENH4=SC ;G0T0354
315 GOTO 10
324 GOSUB590:P0KES3.0■PRINT "ENTER IHITlflLS" : tsjpiitpj :Hl*=LEFTf(RJ ;3>: GOTO IS?
334 GOSUB580■P0KES3j 0 = PRINT "ENTER INITIALS": INPUT'-1!1 .3):G0T019
344 nnc;i ipf;pR : pHKF^^. R ■ PR INT "^NTFP INHIPI i:;" : INPUT?* ,^ ^:GOTO10
354 GOSUB500■P0KES3,0:PR INT "ENTER
INTIfiLS":lNPUT!J*: H4$-LEFT*<U*.- 3>:G0T0ig
500 FORFD=lTO20^PRIHT"r3*(KKI a*'OU HRVE HIGH SCORE! ! ! " : FORT= 1 TO??': NEXT :PQKi=:S3.. 2d0
505 PRINT"&KMWE»VOU HRVE HI >! SCCREM !" :FORT=1TG5P: 20:NEMTFD:RETURN
The object of this intriguing game is to collect as many activate the spell, the wizard can cause walls to disappear,
points as possible while traveling through a series of and thus escape from deadend situations quickly.
mazes. You control the wizard with the N, VV and E keys, A bonus "flash" is awarded for every five mazes the
which make him move north, west and east, respectively. wizard completes. The wizard can use a flash (the B key)
The wizard enters the maze from the south and must to go directly to the north wall, destroying everything in
exit through the north wall within 12 seconds. The clock his path, and escape to safety.
in the upper right corner of the screen keeps you aware of The player has three wizards at the beginning of the
the passing time. game. Wizards are destroyed if they hit a wall or fail to
Scattered through the mazes are bottles of magic potion escape a maze in the allotted time. When all three are
that allow the wizard to cast a spell. Using the J key to killed, the game ends. C
13 POKEV,32■IFn*="N"THEHV=V-22;GOTO 18
14 IFD*B"E"THENV=Y+1 :Ij0T018
15 I r"Ht=" U" THENV=V-1: GOTO 13
16 IFDf="J"THEH27
17 IFD*="B"T!JEM22
13 IFPEEK < V)=32THENP0KE3Si57.-i, 2S0 lDOKS36374.e:OOT':iS
19 !PPEEK <V ? =29THEN21
2? IFPEEKfV)=27TWEK?l=Sl+!:S=Z+i :PO^3687dj250:POKE36874j0 = QOTOI0
21 MC=m^- 1: POKE1'114?: POKE3?375.. 2^ 0: FORE=1TO300: NEKTE ■ PCKE3637'5,149; OOT034
22 IFW1 >STHENI..' 1 =I-J 1 -1: G0T024
23 G0T013
24 FORKS*1T024: POKE'-'.' 32: '-'=V-2£' ^OKE7/ £; P0KEV+N3.2 '■ ^C'R-L^TC? '■ MEXTLL : IFV<7702THEN
35
26 P0KE35874,206:PQKE3S874,0:NEXTX3
27 !FS1=0THEN10
28 POf<E3i?37?..25@>POKi3557?.0
29 POKEv-22.-32:POf<PV-l -32 -^OKEV-1-', 32'S1=SJ-I ^O'CIS
30 IFWD0THENU!=tJl-l:GOTC2*
31 GOTOif?
32 FORX5=1TO24 : PQKEV, 32' V=y-22 ' POKE1''. 0' P0KF.V+K3.. 2' P0?L'_=?,T0?: ■!£XTLL! I'r'''-'77!?2THEH
35
33 POKE3S?74., 205 ' p0KE36874 .■ 8' M^^'^XS
34 F0RPP=J.T03(?^^MEKTPP:PRIM"'".T:^"V!TirV0U BLEN IT! I ! "''-'=~69i' 901037
35 FnR0I = ;.Trjie:MEXT9l:PRIfJT"T:PRIWT"V0U MRPE IT! ! ! ! ! ! ": IPT/?=IK'T-rT/5>THPHW:=W1+
1
nun on
'=S t* d □QQDDBBBIinD
i a a a a a a a a o'« m c i :
For Commodore 64
For Commodore VIC 20
For Commodore PET/CBM 40 columns
For Commodore CBM 80 column/SuperPet
Europe please contact Supurisolt, Winchester House, Canning Road, Harrow Wcidldstone, Middlosux. England HA3 7SJ, Tel. 01 861 1166
Remote Terminal
by John O'Brien
Our user group profiles usually "Meetings are held each morning program—SAVE IT!! I" Power fluc
spotlight the large and well-established at 8:00 a.m. in the hallway of the tuations and outages are an hourly
groups. But this time we'd like to tell elementary school, right in front of occurrence.
the story of one of the smallest and room 2 (the rooms are not numbered Their first letter stated that the
newest groups from whom we recently hut no matter which way you start group had five members, one VIC 20,
received two interesting letters. The counting from it's room 2 because it's two Commodore 64's, three datas-
first letter was signed by all five in the middle). Meetings last until our settes, two disk drives and "lots of
members. principal, not a member, breaks up joysticks." When the second letter
The group is in the town of Old the meeting, usually after school has arrived, things were really looking up.
Harbor, an Alaskan Aleut village of started," according to Mercer. The mail had finally arrived with their
about 350 residents. The Aleuts are If you think you have a little trouble long awaited software, three more
two tribes related to the Eskimos getting your dealer to carry the periph 64's had heen ordered for the school
who live on the Aleutian Islands off erals and software you want, then im and membership was up to eight
southwest Alaska. Old Harbor is on agine the hardship of buying evert/thing and climbing.
Kodiak Island and can be reached, by mail. If that isn't bad enough, con In fact, COMPOOH-T recently be
according to the first letter "by a ten sider the fact that even then they must gan extending open memberships to
hour boat trip, through some of the often wait until the weather clears so anyone interested in joining. For one
world's most treacherous waters, the mail plane can get through (fog dollar you can become a member of,
or by small plane, through equally is a big problem). according to Mercer, "the most remote
treacherous airspace." Consequently, the group has taken Commodore user group." For more
The group's name is COMPOOH-T, to writing many of their own programs. information write to COMPOOH-T,
which stands for Commodore Pro They boast of a software library that is C/O Rox 118, Old Harbor. AK 99643.
grammers of Old Harbor. The T comes almost 100% written by members. See you in front of Room 2, promptly
from the fact that they are all teachers. Mercer's advice to new members is at 8:00. c
The group proudly proclaims that they "after you've written two lines of a
comprise 42% of the teaching and
administrative staff of Old Harbor
School. It's not a large group—it's a
small school—120students (K-12) and
12 staff members.
Each teaches at least two or three
different grade levels. They all mi
grated to Alaska to teach the natives,
and, as group member Paul Mercer
put it, "to get away from the hustle
and bustle of the lower 48," which is
what they call the rest of the United
States. Using computers in the class
room sparked an interest in the teach Cammndnre Programmers ofOld Harbor. Alaska. First row. 1 tor: Jane Kayuk, Patricia
McDonald, Kate Lenten. Second row, I to r: Jim Preston. Pan! Mercer. Dare Wilson,
ers that seems insatiable.
Walt Lociren.
COMMODOREPOWER/PLAYSummer I9G3 29
commodore user groups
MICHIGAN PET SET Club of St. Louis mi:i VIC User Croup
David l.icni 633 Bent Oak Drive Noflhern Neiv l^nslland 1250 Ocean Ave.
Lake St. Louis, MO 63367 CiimpulerSntiety Brooklyn, NY 11230
14361 Warwick Sired
(31-11 625-2701 or 625-4576 (212| 859-3030
Detroit, Ml 18223 P.O. Bm 69
Tony Oil Berlin. NH 03570 Dr. Levitt
VIC Users Club
WCINFOKBT I.&M Computer Club
University of Michigan nillVICN'lCs
P.O. Box 106a P.O. llm 981 VIC 20 ft «
School of Public Health
Branson. MO 65616 Salem. NH 03079 4 Clinton SI.
Ann Arbor. MNfillW
Cunt act: John Cannon 11171334-6099 Tully.NY 13159
HEW MEXICO 1315)696-HHO1
Jory Sherman
Commodore User Club Commodore- Eisers Group Dick Micktlson
32303 Columbus Drive Worth County PET Users
6212KaiKon.Nt: Commodore Users Croup
Warren. MI 48093 Group
Albu4iueroui-.NM 87113 1 CorwinPl.
ConUcl: Robert Stcinbrecher Gran I City, MO
(50S1821-S812 UkeKalrine. NT 12449
(816)564-3551
Commodore Users Group David Hardy
Danny Byrne J. Richard Wright
c/o Family Computer NEW YORK
Mid-Missouri Commodore Club 8" 8 Enthusiasts
3947W12MlkRd.
1S04 Vandiver Dr. Capilal District PETUsers P.O. Box 28 Rhodes Rd.
Berkley. Ml -18072
Columbia, MO 65301 Ben Green Apaladiin. NT 13732
W. Michigan VIC 20-64 Users [314)474-4511 Albany1 Area. NT Keith Merrill
1311 Portland NE (5181370-1H20
Phil Hishnp VlC20'Commodore64
Grand Hapids. MI 49505
1616]459-7578 MONTANA LondlflandPSTSoddy Users Croup
Raljih Hressler 31 Maple Dr.
Jim Dllacm Powder River
H.w but fields 4S Lindenhurst. NY 11757
VIC fur Business Computer Club
Taylor Avenue (516)357-1512
6037 Orchard Ct. Powder River County
Greenlawn. NY 11741) Pete Lobol
Lansing. Ml 4B910 High School
Broadus.MT 59317 PET User Club VIC Information
Mike Manilla
Contact: Jim Sampson of West Chester Club
South Computer Club P.O. Dm 1280 336 W. 23 St.
South Jr. High School Commodore User Club
Whiti Plains, NY 10602 Deer Park. NY 11729
■15201 Owen 1109 West Broadway
Contact: Hen Meyer Tom Schletfel
Belleville, MUN11I iiutlc.MT5»7(]l
Contact; Mike McCarthy LIVE ILonil Island SASE& phone please
Roiuld Ruppcrl
NEVADA
VIC Enthusiasts) New York Commodore
Commodon Ukti Croup 17i'k-;idtllyi<oad Users Group
c/o hlalcin Hapids Medical clinic I .as Vegas PET Users Great Neck, NV 11023 380 Riverside Dr., 7Q
101 SplcwvHIe Hwy. 4H84 Iron Avenue Contact: Arnold Friedman New York, NY 11)025
Katun Rapids, Ml 4S827 Us Vegas, NV 8911U (212)566-6250
Comraiidore Masters
Albert Meinke HI, M.D. NEW JERSEY Ben Tunketang
25 Crolon Ave.
South Last Michigan Pet Users Croup A ma leu r Computer Group Staten Island. N'V 10301 Parsippany Computer Croup
Bui 214 18 Alpine Drive Contact: Sleptien Farkouli 51FerncliHRd.
Farminjjlon, Ml 4K024 Wayne, NJ 07470 VIC Users Ctub Morris Plains. NJ 1)7950
Norm Kisnihcrg
Somersel Users Club 76HadfordSl. (2011267-5231
Commodore Compuler Club ■19 Marcy Street Staten Island, MV 10314 Boh Scaring
H.DoivHiHh School. Hm #226 Conlacl: Michael Franti
Somerset. NJ08873 Capitol Dist. Commodure 64/VIC Users
Midland. Ml 48640
Contact: Robert Holier ilockland Counly Commodore Group
(517)835-5130 363 Hamilton Si.
John Walley Educators Advisorj1 Useis Cioup
P.O. Box 186 c/o Ross Garbcr Albany. NY 12210
9:30 p.m. SepL>May
Medford.NJ 08055 U Hillside Court I5I8I436-1190
VIC. 64. PET Users Croup (6091953-1200 Suffern, NT 10901 Bill Piier
8439ArlisRd. John Handfietd (914)354-7439 Hudson Valley Commodore Club
Union Lake. MI 48085 1 Manor Dr.
363-8539 VIC-TIMES WtslCheslcr Counly ViC
■16 \foyne Streel Users Croun Woodstock, NY 12498
Bert Searing
Edison, NJ 08817 P.O. Box 116 F.S. Goh
MINNESOTA Thtimas R. Moinar Pelham. NV 10552 1st Wednesday of month
MUi'KT (Minnesota Users of VIC 20 User Group Jr>e Brown L1V1CS (Long Island VIC Society)
PUT) 67DistltrAve. SPUC 20 Spyglass Ijne
P.O. ilox 179 W.Caldwell.NJ 07006 4782 BDltOn Post Hi. F.astSetauket,NYlirJ3
Annandale.MN 55302 I20D284-22S1 Pelham. NY 10803 (516)751-7844
c/o JonT, Minerich G. M.Amin Paul Skipski Lawrence Stefani
Twin Cities Commodore VIC Software Development VIC 20 User Club VIC Users Group
Computer Club Club 151-28 22nd Ave. c/o Stoney Brook Learning Center
6623 Ives Ijne 77 Knmalhaut Avc. Whitestone, NY 11357 1424 Stoney Brook Rd.
Maple Crow, MN 95369 Sewll.NJ 08080 Jean i'. Coppola 8toney_Brnt>k. NY 11790
(612)424-2425 II. P. Rosenberfl VIC 20 User Club
(516)751-171!)
COFlllCt; Rollie Schmidt Robert Wurlzel
ACCNJ PBTA'IC/CHM 33ilP.irkAw,
MISSOURI User Group liabylon. NY 11702 NORTH CAROLINA
KCPUG 30RivcrviewTcrr. [316)669-9126 AmaUur Radio PET Users
5214 Hlue Hidiie Boulevard Belle Mead, NJ 08502 Gary Overman Group
Kansas City, MO 61133 I2O1I359-3S62 P.O. Box 30694
Contact: Hick West J. M. P>lka Raleiflh.SC 27fi22
(8161 356-2382 Contact: Hank Roth
TM _
Software VIC
TM
VIC V7S4"
CRICKET ■ From ihe company that brought you Asteroidz. Munchman and a host of other
blockbusters. We now present CRICKET. This is a challenging game with a cast ol characters you
will love and hate. All you have lo do 15 gel Cherp Irom one side ol the road lo the river and then
across the river. Not so last though. Fust you have to figure out how to dodge the traffic and get to
thecenler. Then how are you going lo get across the river? Look here comes a log —evena turtle.
Hitch a ride across the river and jump Irom one to the other. Keepa sharp eye oul lor Ade the Gator.
He loves to have crickets for lunch. How many limescanyou get across the road and river. You will
have to work as fast as you can. Time limit and bonus. You will find this game addictive and
challenging and it will entertain you with hours ol fun and enjoyment. $14.95
BUG BLAST - II you think Centipede was fun — look out for BUG BLAST. A new and fast action
CRICKET arcade game with realistic smooth action, quality hires graphics and trouble. Its very calm as the
first wave attacks. Only a few bugs to kill, Just shoot thru the cactus and wipe them out. Alter a few
attacks you feel you have everything under control. Now the attacks really start. Those protection
areas have to go. Blast away. Will they ever stop? OK — the BUGS got me this time. Now its my
turn, Jusl one more time — BUG BLAST — Now its your turn to get even, $14.95
BOMB'S AWAY ■ Can you stop him? The crazy bomber drops the bombs from Ihe top of the
screen, You get 3 buckets to catch them. Belore you know it bombs are (ailing so last you wonder
when he vjill stop. Just when you think you have himundet control your bucket gets smaller. Isyour
hand quicker than your eye? Special $9.95
PARATROOPER - You are the only one left to stop them. The sky is full of enemy choppers.
Paratroopers keep dropping into your area with non-stop barrage of enemy Iroops. They are out to
TARGET
destroy you. This new game is an unbeatable blend ol arcade action and quick thinking strategy. COMMAND
PARATROOPER You mull m.ike every shot count — don't be to last on Ihe trigger. Every time you hit a chopper or
paratrooper you get extra poinls. Wait until you see the climax of this game — you won't believe it!
This is a multiple skill level game with razor-sharp graphics and sound. $19.95
MOW - Get ready lor the fast and furious action of the craziest mower you have ever seen How
much grass can you cut? Joystick moves your mower around as fasl as you dare. Watch out for
granny's dalodils and grandpa's radio antenna, $14.95
COSMIC CRUZER - Bring the coin-op game into your VIC. 3 Scenarios. Your Cruzer moves over
a mountainous landscape He into a tunnel ol surlace - lo - air missle, silos and ground to - air
weapons, II you can make it in and out ol the tunnel you fly into the asteroid field. Drop bombs and COSMIC
lire missiles at the luel dumps to keep your fuel supply up. If you are really good you can get to the
base and try, to destroy it. We don't know of anyone that has hit the base yet. Maybe you will be the CRUZER
1st Cosmic Ciuzer is a lun filled magnificently rendered home video game that will last lor months
ol challenge. Highly addiclmg. Hi Res Graphics, Color & Sound. SPECIAL PRICE ■ $14.95
SPACE PAK ■ Can you survive? 3 space games with the sights and sounds ol arcade games. The
excitement builds as the action is un ending. Blast away at everything in sight. The alien attacks will
MOW
stop at nothing 10 destroy you. Prepare lor battle, there is no escape, unless you can help. Can you
survive? Hi Res, Color, Graphic & Sound. Joystick or keyboard, $19.95
ALIEN INVASION - Invaders from space are attacking your home planet. Hurry and man your
lasers and prepare your robot lorces lor the inevitable attack of the Alien Invaders. Theexcitment
builds as you command a battery ol missile bases in a bunker. Each invader has a laser aimed right at
you. Will they ever stop. Only you can save the Galaxy. You can compete with 4 people in the solar
system. There are 30 levels ol play. If you destroy the Aliens in the correct order you will receive
bonus points Can you get the top score? $14.95
TARGET COMMAND -The whole West Coast 15 being bombarded and only you can save it. You
are at the controls of the missile launcher and hold the destiny ol our country in your hands. It takes
a cool head, not hand and last reflexes to zap those missiles right out ol the air. Get ready to
pulverize — atomize and vaporize them. Oh, my God, those warheads are heading right for our
ALIEN ammo dumps. They are everywhere. NO ONE CAN SAVE US — EXCEPT YOU. You must move
your laser into position and lire as last as you dare. Time limit with arcade style excitement. Protect
INVASION your ammo at all costs, 10 levels of play. $14.95 SPACE PAK
SNAKEOUT -Slip your snakeinto position and score by chomping theblocks. Watch the way you
slither because your escape routes get smaller. 2 Bonus games included. $14.95
HEAD-ON - Please do not buy this game if you are the type that says 111 play it just one more time".
Players have been known to start playing HEAD ON at 8:30 p.m. and at 2 a.m., wonder where the
time went? Have you ever Tried lo explain to someone why you played a game for live and a hall
hours. We know of no remedy lor the addiction to HEAD ON except to beat theV[Conlevel9. No
one has done il, YET, will you? We think not. Move your car as fast as you can dare around the
tracks. You get 3 cars and MUST avoid the computer car. Points lor the most dots cove red. Bonus
cars, nine levek of play. -vn:«. kh am registered traoemafta a CommodoiH electronic $14.95
SNAKE OUT CompuI(»rMnl • Box 16MB • Lake H.wasu City, az s Add $1.00 Fur Shipi>'"a HEAD ON
AND
EVEN MORE
NEW GAME
CARTRIDGES
FOR THE
COMMODORE 64
by Diane LeBoid
game have a great experience in store. gun emplacements, to rescue your ship
LaZarian (for one player
In the first round you have to shoot all —this time heartened by the William
with joystick) the meteorites and rescue your lander Tell Overture.
Those of you who have played this (inspired to action by Beethoven's ninth Then you get to the final round—
game in the arcades will not be disap symphony). Once you get through that LaZarian himself (or, rather itself, since
pointed with this Bally/Midway favorite. round, you must navigate the "Tunnel of the awesome creature is a kind of com
All the wild graphics (the bouncing eye Fear," warding off aliens, killer fish and bination pyramid-octopus-cyclops with a
is just as fearsome as it is in the single evil-looking eye in the middle of
arcades), great music, anil exciting play what might be the pyramid's forehead). If
action are right there—with a couple of you manage to burrow through this
added advantages. First, if you're a monstrous structure, you free the eye,
novice player and you get wiped out in which then bounces around trying to get
the first level of play you can reset the you. You've got to hit it four times
game and continue from where you got before it will die. Then you move on to
Wiled instead of having to start all over. increasingly difficult levels of play, where
(Your score, however, is set back to meteors shoot more often, aliens and
zero.) Second, a "pause" feature lets you fish are more vicious and LaZarian is
freeze the game, go off and eat dinner more dangerous.
or answer the phone, then come back The programmer who's been working
and pick up again exactly where you on LaZarian says his high score is
left off. around 18,000 (you get a bonus ship at
Those who aren't familiar with the 14,000 points).
34 COMMODOREPOWER/PLAYSummer 1983
l..i/,i) i.iii liimself
Blueprint
LeMans "units" of time. (You can watch the You see only the taillights of the cars
countdown on your screen as you use up ahead, and then their silhouettes when
(for one player they come into the range of your head
these precious units.) As you race along
with paddle) you get points for distance you cover lights. Actually, that tunnel is pretty
This Commodore original, available and the number of cars you pass (every spooky, now that 1 think of it
If you crash you're forced to go to the
right now, is a classic race car game that time you pass ten cars you get a
uses the paddle like a steering wheel and 1000-point bonus). pits, and if you ride the shoulder, even
If you manage to score at least 20,000 though it might prevent a crash, your
the fire button like a gas pedal. You
have an aeria! view of the track in all its points before your 60 units of time are car slows down. Either way you lose
high-res glory, with curves, ice, sudden up, you get another 60 units, and can time—the deciding element in this game.
two-way traffic and a very exciting (name continue the race. Only this time around So the obvious way to stay in the race
ly dark) tunnel, al! of which come up un- each unit is a little shorter—which and keep racking up points is to be a
predictably to challenge your reflexes. means you have less real time to score quick, alert and safe driver. Just like in
The interesting thing about this game is the 20,000 points you need to get the real world.
another 60-unit extension. The scores in this game are, as you
that if you get really good and don't
mind taking your meals intravenously, You'll be amazed at how realistically might guess, VERY high. The program
your car responds to the changing road mer who's responsible for this one
you could go on playing forever, because
conditions in this game. When you hit wouldn't even hazard a guess on how
there's almost no end to how long you
the ice, for instance, you don't have as high you might expect to go, although
can keep going.
The crucial factors in this game are much control, and the car slides instead there probably is some kind of limit.
the distance you travel, the number of of turning when you try to steer out of We'll just have to wait and see how you
the skid. And the dark tunnel effects are all make out, now that we're shipping
cars you pass and the time it takes you
to do it. You start out with 60 fairly slow so realistic it's almost like being there. this one.
VIC 20 Conversions
In addition to these three exciting new original arcade graphics than ever
cartridge games designed specifically for before. In the case of Sea Wolf, three
the 64, you'll soon be seeing (if you stages of water make it even more
haven't already that is) 64 versions of challenging than the VIC version,
some of our most popular VIC games. according to an inside source.
These releases include Omega Race, As time goes on you can look forward
GORF, Clowns and Sea Wolf, all of to even more great new games for both
which happen to be Bally/Midway games the Commodore 64 and the VIC 20
and all of which play just like the emerging from those closely guarded
original arcade versions. halls where our game programmers lurk
All four, naturally, boast colorful high- long into the night. Keep watching your
dealer's shelves for new releases. C
resolution graphics that are truer to the SeawalffoT the 64
S
! I
i
rv '■V
i*
■
f »% *
P •
?
j
I *
• ■
•
*
•
■
*
■
■ V i^ • • ■ •
¥ »
• 4 4 ■ * * •
■
■;
Possibly the most useful bugs are in
the VIC 20 version of Omega Race. The
first one I'm going to talk about is not
really a bug in the true sense, so let's
call it an "undocumented feature." Nor
^*
mally in this game you get three ships
when you start However, if you hold
down the SHIFT key while pressing
either Fl (for joystick) or F3 {for paddle)
at the beginning of the game, you will
get—count 'em—five ships! Let's see if
that improves your score!
Another interesting quirk in Omega
ill
Race that you probably don't know
about (although some of our readers
have discovered this one by accident) is
the ability to replenish your ships if you
get down to one or two. Keep count of **#*
the number of screens you've cleared.
After you clear the fourth screen, when
the music starts to play, hold down the
function key you would use to start the
game. Continue to hold the key down
until after the "droid force eliminated"
message appears on the screen. (Some
times just part of the message will
appear, but that doesn't matter.) When
the fifth screen appears you should
now have three ships. This procedure
sometimes works using shifted function
keys, but the results in that case are
inconsistent
Keep in mind that if you have not lost
any ships up to this point and have been
awarded a bonus ship, it would be a
disadvantage to use this method,
because the ship count goes to three m :m
regardless of the number of ships you
had. You can continue doing this every
*
force eliminated" message. Try iL I think
this also might improve your score!
The next bug I'd like to tell you about
is in GORF for the VIC 20- This one
allows you to play in the "invaders"
round for as long as you want, racking
up points almost indefinitely. The pro
cedure is rather involved, so I've includ
ed some pictures to help explain.
■■■■■ Here goes... Shoot all the invaders
except the one in the upper left comer
and the one in the upper right corner
(Figure A). Then sit in the lower center
of the screen to avoid the invaders and
their missiles (Figure B). When the
■: ,-J i '
invaders are on the bottom row of the
screen, move with them to get your ship
out of the center of the screen.
Ik (Figure C).
When one of the invaders drops off
\\\
the screen your ship will be destroyed.
Immediately push forward on the joystick
and move the next ship to the center of
the screen. An invader will keep running
from one side of the screen and off the
other side. This invader will never hit
1
drop me a line either through the regu
lar mail or through EMAIL on Compu
Serve (PPN 70001,1153). That way,
. ■ ■ : when I hear something interesting I can
pass it on to the rest of you.
Well, better get back to Wizard of
0 Wbr... C
In response to David Berezowski's article in the
the notes from the champ of Omega Race who
those of us who use joysticks—especially since
are David's hints for "space jockeys" who prefer
by Paul Higginbottom
MAKING FRIENDS
\
42 COMMODORE POWER/PLAY Summer 1983
To allow us to play the keyboard, our
500 SID-54272
program must first see if a key is
pressed. If it is, the program must 310
evaluate which note that key cor 520 VM=?:HI=256
responds to and gate a voice on with 530 FORI=0TO23:POKESID+I>0:NEXT
that particular frequency. To sound 540 POKESIB+24,15
piano-like, when a second key is hit 550
(after the first is released) the first sound 560 FORI=0TO2:INDEX*SID+I#VM
should still be able to be heard. In order 570 POKE INDEX+3,fl#16+Ii
to do that, our program must "cycle"
530 P0KEINDEX+6jS#16+R
through the voices. To put this another 585 P0KEINDEX+2,PWF1NB255
way, the first key pressed will play the
590 NEXT
first voice, the second key will play the
600 DRTR3,il*10,0.800
second voice, the third the third voice—
686 P0KEINDEX+3.PW/HI
and the fourth will go back to the first
700 K*="Q2W3ER3T6V7UI9O0P!!-*£t"
voice. A statement such as:
VOICE-VOICE + 1: IF VOICE>2 710 DIMK(255)
THEN VOICE = 0 720 FORI-ITOLENCK*)
will cycle the voice counter. The IF 730
statement ensures the variable VOICE 740 NEXT
doesn't go out of the range of 0 to 2. 750 PRINT:PRINT" 23 567 90 -£"
Load the program from our last in
?6Q PRINT"Q WERTVUI0P(5#t"
stallment (refer to page ??), delete lines
800
450 onward and enter the following:
810 KEV«K<RSCCRS)>-i:IFKEV<0GOTO800
820 IFKEV>11THENFRG=F(QCT+1, KEV-12 >:G0T0835
830 FRQ=F(OCT,KEY>
835 FH=INT(FRQ/HI):FL*FRQ-FH*HI
840 INDEX=SID+VOICE#VM
850 POKEIHDEK,FUP0KEINDEX+I,FH
586 Puts the high value of the pulse 830 Gets frequency from the array.
width into register 3 of the current
voice. 835 Evaluates the low and high values
of the given frequency in variables FL
590 Continues looping until done with andFH.
the NEXT command.
840 INDEX is set to the start of the
600 DATA to be tested. This consists of voice block of registers.
Attack, Decay, Sustain, Release and
Pulse Width (if that waveform is used). 850 The low and high frequency values
are now POKEd into the SID. INDEX is
700 K$ is set to hold all the keys that equal to the position of the low byte of
can be played. You should note that the frequency and INDEX+ 1 to the
these keys represent a piano layout on high byte.
the keyboard.
860 Because we cannot detect the dura
710 Dimensions the K< array. This tion of the keypress, the voice is gated
will be an array of the key positions off and then on, so the A-D-S cycle is
subscripted by the ASCII value of the executed when a key is depressed. The
keypress. This is necessary because we voice is gated off first, so the release will
need to know the key position along the have been completed before we gate the
piano layout to calculate the frequency voice on. To release, register A (the con
that should be used. trol register) is POKEd with WAVE (the
value of the current waveform) which is
720 Start of a FOR ... NEXT loop to either 16, 32 or 64 (or 128 for noise,
assign the K< array. The loop goes but this isn't particularly musical.) To
from 1 to the number of characters in start the cycle it is POKEd with
K$, which is calculated using the LEN< WAVE+1.
function.
870 This cycles the voice, as was ex
730 This gives the ASCII value of the plained earlier, so that each successive
i'th character in K$. keypress uses the next available voice.
This gives the user the ability to more or
740 Continues the loop. less play chords by playing keys in rapid
succession.
Program from Part 2 your programming adventure here in be s+6). Also note that in that issue
For those who missed the last issue of Part 3. For those who tried entering it there was an error in the text on page
Power/Play, this is the (corrected) base from the last issue, please note the cor 43, second full paragraph. The last lines
program from Part 2 of "Making Friends rections in lines 110 (the t was left out) in that paragraph should read "the ratio
with SID." You need it to start off on and 485 (the first POKE is supposed to between semitones is 21 (1/12):!".
COMMODOREPOWER/PLAYSummer I9B3 45
o
o
o
o
o
3D
rn
TJ
O
ID
CD
US
Gerald Kolpan
BIT-NAPPED GRAPHICS
on the Commodore 64
by Jim Gracely
Starting Out
The first step in working with bit character set is inaccessible. All we can
mapped graphics is to get a feel for how do now is turn bits on and off. The 64
it works. It's not necessary to completely automatically puts the beginning of the
understand how it works to use it! The 8000 byte screen at 4096, but that's the
Programmer's Reference Guide provides same place BASIC starts! So, to keep
a good start on explaining how it works things as simple as possible, we can
(pages 121 through 127), and if you sit move this starting position to 8192 by
down with your 64 and some graph using POKE53272,PEEK(53272K)R8.
paper you would eventually figure out all This allows us 8K of BASIC for our pro
the details. But we're not going to do grams before we start writing onto our
that There are just too many exciting screen. For those of you who are com
things that can be done with BMG (Bit- piling huge programs using BMG, the
Mapped Graphics) to bother using up a trick is to move the beginning of BASIC.
couple of pages explaining it in detail. Let's review. After entering the two
So, here's just a brief explanation. POKEs mentioned above, we are in
The screen that the 64 normally BMG mode. The first location on the
displays consists of 1000 character screen is byte 8192 and the last is
blocks. This means it takes 1000 POKEs 8192 + 7999 or 16191. Now we're going
to fill the whole screen with any to change the screen into graph paper.
character. Even the period at the end of POOF! At the upper left comer. X=0
a sentence uses up one whole character and Y=0 and at the bottom right comer
block. There's no way to get any more X=319and Y-199. The X values are 0
characters on the screen than this ... to 319 across the top of the screen, and
unless ... we switch to BMG mode. the Y values are 0 to 199 along the side
There is one bit in register 53265 that of the screen. We really haven't done
tells the 64 if it is in BMG mode. By set anything other than to change our point
ting this bit to a 1, we've entered the of view. (Get out your calculator: does
world of BMG. Bit 5 in register 53265 is 8000 bytes * 8bits/byte = 320* 200
the magical bit and using bits?) We have come to the reason BMG
POKE53265,PEEK(53265>OR32 will set seems so hard: how do we put a dot
this bit to a 1. (one bit on) in the middle of the screen
I know what you're saying: fine, won (X = 160. Y-100)?
derful, so now what's going on? How Still thinking about that one? You can
come my screen just went KAPLOOOEE stop now. The way to put a dot at
when I typed that? The screen that the X-160,Y = 100 is to use the formulas
64 displays in BMG code is NOT made given in the Programmer's Reference
up of 1000 character blocks. Instead, the Guide! That's that. We can now create
screen is displaying 8000 bytes of pro what I call the base graph program
gram memory! All of the normal (BGP if you're into mneumonics):
COMMODOREPOWER/PLAYSummer 1983 47
1 P0KE33263,PEEK(S3263)0R32 Lines
2 P0KE53272,PEEK(53272)0R8
3 F0RX=8192T016191:P0KEXj Look at the following program: Add the base program and run it
0 iNEXT This program uses some basic geometry
10 V=100
4 FORI=1024TO2023:POKEI, to draw a line from point XI.YI to
3:NEXT 20 F0RX=9T0319
X2.Y2. Let's take a quick look at it
30 GOSUB280
199 G0T0248
40 NEXT
200 CH=INKX/3):ROINT<Y/3) Line 20 finds the distance between
:|_N*VRND7 The vaiue of Y remains equal to 100 X1.Y1 and X2.Y2 using a distance for
218 BY=3192+RO*320+8#CH+IN (halfway down screen) and X increases mula (an interesting side note is that
from 0 to 319. Each time X increases, a BASIC takes about 20 times longer to
GOSUB 200 is performed, Enter this perform DX.2 than DX'DXI).
220 P0KEBY,PEEK(BV>0R<2TBI>
program and add the base program to it
230 RETURN line 30 uses DX and L to compute the
as described above. Now run it. A line!
240 POKE1024,16 X increment (XI) or the amount that X
It's not very fast, but it's a straight line
changes per block. The same thing is
230 0ETn*:lFR*O" "THEN25S and it's in HIGH RESOLUTION!
also done for the Y number.
269 P0KE332G5,PEEK<53263) Add the following lines to the program
RND223 and run it again: lines 40-70 set up a FOR-NEXT loop
270 P0KE33272,PEEKC33272> from 1 to L. Each time through the
50 X=160
loop, XI is added to XI (X) and Yl is
flND247 60 FQRV=0TO199 added to Yl (Y). By computing XI and
275 CLR: PRINT".!": END 70 GOSUB200 YI in line 30, X will equal X2 and Y will
Line 1 puts us into BMG mode 30 NEXT equal Y2 when the loop is done.
line 2 puts the beginning of the screen A vertical line, too! Things are really This line program is another good
at 8192 getting exciting now!! To get lines that utility program to use inside of other
aren't just horizontal or vertical takes a programs. Once we find some points, we
line 3 clears the bit map by POKing
couple of extra lines of programming. draw lines between them!
zeros to all 8000 memory locations.
Save the previous program if you want,
line 4 sets the colors to cyan and black and enter this one:
(more about colors later)
10 X1=0-V
lines 200-270 plot any X,Y point onto 20 DX=X2-
the screen (pages 125 and 126 of the
:V=V1:L«
Programmer's Reference Guide)
30 XI=DX/I
This program is the base of all the
40 FORZ=1TOL
following graphic routines. Enter this
program and save it. When you write a 50 GOSUB209
graphics routine, number the lines from 60 X=X+XI:V=V+VI
10 to 180. Every time your routine 70 NEXT
generates an X,Y point, use a GOSUB
200 to plot it. Save your program. To
combine the two programs, use this
Colors
trick: load the base program and list it
Load your program. Before you list your Now let's take a short break from bits. The upper bits are used for the
program, move the cursor to line geometry and talk about colors. Loca character (or dot) color and the lower
number 1 of the base program and hit tions 53280 and 53281 won't change bits the background color. Page 61 of
RETURN. Continue hitting RETURN on the screen colors when in BMG mode, the Programmer's Reference Guide has
every line including line 275. Now list and the screen color locations (55296 the POKE numbers for each of the col
your program, and the base program is through 56295) aren't used for anything. ors available. To get the combination
part of it! You can save your program This is because of the way memory is you want, multiply your character color
again, and this time it includes the base shuffled around in BMG. However the number by sixteen and add it to your
program. Using this method will save screen colors can still be changed. What background color number. The result is
you a lot of time and mistakes, and you used to be the screen memory locations the number to POKE.
don't even have to think about what the (1024-2023) are now the color memory An example to the rescue. Let's use
base program is doing. locations for the screen! To change the white characters and a black back
Now let's get into some GRAPHICS! color of the whole screen or any part of ground. The chart on page 61 says that
Keep in mind that these routines need it you have to POKE the colors you white is the number 1 and black is 0, so
the base program added to them, and want. To make life harder still, the the number we want to POKE is
watch the various ways that the X,Y number you have to POKE is a little dif 1*16+0 or 16. To set this for the
points are generated. You're going to ferent than usual. whole screen change line 4 of the base
notice that BMC is not very fast. That is The locations 1024-2023 are the program to:
one of the limitations of BASIC. memory locations for both the back FOR I - 1024 TO 2023 : POKE 1,16 :
ground color and the character colors. NEXT
The eight bits in each location are split
up into four upper bits and four lower
Circles are the last geometric plot we 35 X<NX0SCT>#R+H routine. This design is surely one to
are going to consider. They are good for 40 V<rO=SINa)*R+K impress friends with.
making some designs but I have found 45 NEXT 10 R=80'H=160'K«100:P=0
them most useful for defining points to
50 FORT=1TON-1 15 FORI*0TO334STEP6
draw lines between. There are two ex
60 FORQ=T+1TON 16 PRINTI:NEXT:END
amples of that later. For now, look at
70 K 20 X1=H:Y1=K
the following program:
80 X 23 T=I*fr/190
10 R*10-H 90 DX=X2-Xl:DV=V2-Yl:X=Xl: 30 X2=R*C03<T)+H:V2=R*SIN
20 F0RI-1T036B V=V1 :L=SGR<DX#DX+DV#DV>
30 T-Udir/ieO 95 XI-BX/WI-DSVL 50 DXX2XlDYV2ViXXl
40 X»R*C0S<T)+H :V=V1:L=SQPXEX*DX+BY*DY>
100 FORZ=1TOL
30 V«R#SIN(T)+K 110 GOSUB200 60 XI=DX/L'VI=DY/L.
60 GOSUB209 120 X=X+XI-V=Y+VI 70 F0RZMT0L
70 NEXT 89 OOSUB200
130 NEXT=NEXT=NEXT
This routine will plot a circle with a 90
This program first defines 12 points of
radius of R and with its center at X = H 100 NEXT
a circle and stores them in X(N) and
and Y-K. The circle is defined by 118 P=1-P:IFP=0THEN1S0
Y(N) arrays, it then sets up two FOR-
rotating one point around the center.
NEXT loops. The outer loop sets the 120 X3=X1+2*DX:Y3-Y1
Lines 40 and 50 compute the X and Y first point of the circle to X1.Y1. The in 130 X1»X2:Y1=Y2:X2=X3:
values of this point as it is rotated ner loop then sets the next point to 140 I3QTQ58
through 360 degrees. In this example X2.Y2 and draws a line to it. In the 150 NEXT
the radius is 10 and the center is at same way, the inner loop draws a line to
160,100 (the center of the screen). The Speaking of impressing friends, be
each point higher in the array than
program is simple but the concept is a careful! I had a friend stop by after
X1.Y1. Also in the same way, the outer
little harder, so we'll just take a look at lunch the other day and I wanted to
loop sets each point of the array to
what we've done. show him the GEOMETRIC design, but
X1.Y1.
lines 20-30 set up a FOR-NEXT loop before it had drawn 20 lines, he was
lines 2O-4O define 12 points of a circle
from 1 to 360 (the number of degrees in ready for dinner! I knew I had made a
(360/30 = 12). Each point is placed into
mistake. Drawing designs takes time. If
a circle). Line 30 changes degrees to ra the X(K) and Y(N) array. The N pointer
you want to save a design, you can
dians (which BASIC uses). is incremented after each loop. dump it to a printer (look at page 88 of
lines 40-50 compute what X and Y will
Unes 50-60 set up the outer FOR- the March issue of Commodore maga
be as the angle increases from 1 to 360,
NEXT loop and define XI and Yl. The zine). Even experimenting is hard be
Unes 60-70 jump to our plot routine values for each X1.Y1 set are taken from cause once something starts drawing it
and keep the loop going. the array elements 1 through N-I. takes a while to see the result, or even
This program is also slow. After all, a mistake!
lines 70-80 set up the inner FOR-
it's plotting 360 pointsl One quick and Here are a couple of hints to keep
NEXT loop and define X2 and Y2. This
dirty way to speed it up is to add a you from pulling your hair out: before
loop is bounded from one greater than
STEP to the loop. If line 20 were: letting the whole program run, use a
the outer loop (T + l) to N-l.
FOR I - 1 TO 360 STEP 3 RUN10. This will allow you to spot any
then only 120 points would be plotted Lines 90-130 are the line drawing
problems {divide by zero, illegal quantity
(360/3-120) and the program would be routine presented earlier.
...) more quickly. Also, watch your X
three times as fast Of course you can The result of all this work is an in
and Y values! The subroutine at 200 will
use any step, but the bigger the step, teresting blend of lines and curves. By
happily plot a dot at X = -2000! Un
the dottier the circle will look. Just the way, don't expect this program to
fortunately, it won't appear on the
think, if you said STEP 120 it would on complete in a couple of minutes. It has
screen, and just might freeze up the 64
ly plot 3 points which would certainly to compute and draw 66 lines, and you
(you could be POKing in the middle of
not look much like a circle! remember how long it took to draw
your program!).
All right, let's combine some of these one line!
Well, that's our tour of bit-mapped
The last design program we'll discuss
plots and ideas to create some designs. graphics. The sample programs should
starts and ends the same as the previous
The first listing is called GEOMETRIC keep you glued to your monitors for a
and it needs the base graph added to it program, but the middle is a tittle dif
while, and maybe you even picked up
This program uses part of the circle ferent. This time after you define and
some good ideas for your own designs. If
routine to define some points and then store 12 circle points, a line is drawn
nothing else, I hope some of your
uses the line routine to draw lines be from the center of the screen to each
frustrations have floated off to bother
tween the points,
point. Then the value of DX for each
someone else. By the way, watch next
point is doubled and added to XI to
10 N=0:R=100:H=160:K=100 issue for some screen-to-tape and
make a new X2.Y2. The old X2,Y2
disk-dump routines. They can really
becomes X1.Y1 and a line is then drawn
20 FGRI=0TO330STEP30 save time! C
from X1.Y1 to X2.Y2. Lines 110-140 of
25 T=I#fi/130 the program switch the values of the
30 N=N+1 points, and loop back to the line
COMMODOREPOWER/PLAYSummer '963 49
England
takes
the.VIC
seriously
From the title of this piece, you would
be forgiven for thinking that the British
have taken a stuffy attitude toward the
VIC 20. This of course is not true,
although many happy hours have been,
and are being, spent with the VIC 20 by
kids and grown-ups alike, whether it be
exploring with Scott Adams on one of
his adventures or evading the dreaded
Aliens. But in England, it doesn't
stop there.
When the VIC first appeared, a lot of
software houses were quick to realize its
sales potential and were keen to rush
out as much software as possible in the
shortest possible time. There were
games, more games and still more
games—but NO business software. But, if
the rest of the industry was not taking
the VIC seriously, Commodore (U.K.)
was, and so commissioned the writing of
four business packages.
The intention from the outset was to
make these packages useful to as wide a
range of customers as possible. This may
sound a little obvious but our experience
has found that although a great many
business packages are designed for
specific purposes, very few allow the user
to tailor the package to meet his own re
quirements. For this reason, the VIC
range of business software had to be
both flexible and, above all, easy to use
50 COMMODOREPOWER/PLAYSummer1983
Four business
programs for the
VIC 20, created in the
United Kingdom,
will be available in the y
■'■
Robert Neumann
be stored on diskette. Therefore the ling and reporting inventory holdings.
physician can print lists of readings for One of my colleagues at Commodore
each patient whenever they are needed, (U.K.) is something of a wine con
and can quickly assimilate the infor noisseur and uses the package to check
mation and prescribe the proper the state of his cellar without having to
insulin dosage. fumble around among the cobwebs. He
In a lighter vein (no pun intended— keeps records of vintage, type, age and
honestly!!), SIMPLICALC, a "what if can even produce a value report for in
spread sheet package, is at present being surance purposes.
used by a smail business manufacturing Of prime importance for all the VIC
chocolate Easter eggs and candy bars. business software is the quality of user
The owner uses the package to calculate documentation. All too often the advan
the prices to charge for each item based tages of a package have become negated
on the quantity of ingredients used, by a manual incomprehensible except,
labour costs, overheads, etc. It has that is, to the software author, who prob
proved to be a great success. So much ably wrote the manual anyway. Moral:
so, that he presented me with an Easter the less a writer knows about the soft
egg for helping him design his applica ware at the start, the better the manual
tion, with the assurance that I would not will probably turn out.
be eating into any of his profits! Commodore (U.K.) is proud of the
V1CWRTTER, a simp!e-to-use, low-cost standard of user documentation in these
word processor for the VIC, has found four packages. (As a technical writer
great favor, especially among students myself, this view may appear to be some
and journalists. The features editor of what biased but it has been proved by
the London Times was particularly im the fact that we get very few enquiries
pressed. We have also received "divine from end users about how to operate the
approval" for this package from a software.) The approach we take in all
minister in the north of England who manuals is to show what CAN be
uses it to prepare his sermons and pro achieved and then furnish sufficient in
duce a weekly parish newsletter. formation so the user can design his
VIC STOCK CONTROL has proved to own application. The success of this ap
be very popular both in business and the proach can be judged not only by the
home as an inexpensive way of control volume of sales of VIC business software
but also by the uses to which it is being
put.
The price of VIC business-oriented
software has purposely been kept low to
encourage as many VIC owners as possi
ble to try these products for themselves
for use both in the office and in the
home. Inevitably, this has caused a few
domestic arguments, with the kids want
ing to Crunch the Cosmos while Dad is
trying to work out how far this month's
pay check will go. Most fathers, for the
sake of a little peace, resort to the only
real solution—another VIC and a por
table TV.
The success of the VIC range of
business software has finally persuaded
even the most skeptical VIC user that
this computer is simply MORE than 'fun
and games.' C
We are delighted to have LOGO on the Commodore 64 is triangle) how to roam over the surface
David Malmberg take over our truly a phenomenon! As a computer of the Commodore 64's screen. As this
language it is both simple to learn and Turtle moves, it can leave behind very
learning-at-home department.
extremely powerful to use. A cousin interesting and artistic pictures. Using
Beginning with this issue, Dave of the language LISP, LOCO is a fre the Turtle, it is easy for you to try
will become a regular contribu quently used tool in high-level original various ideas and to get immediate
tor to Power/Play, covering the research in the field of Artificial Intel feedback (in the form of a drawing on
many facets ofeducation in ligence at major universities. At the the screen) on whether the ideas work
same time, LOCO is being increasingly as you think they should. If they don't
the home. But, since he happens
used to teach children as young as four work quite right, LOGO easily enables
to be an expert in (among other computer programming and problem you to try something else or to explore
things) LOGO and Turtle Graph solving skills. Yet LOGO is considered your "mistakes" if you find them inter
ics, you can bet you'll be learning by many educators to be much more esting. This ability to "debug" your
a lot about using these exciting than just a computer language. It has ideas and to gradually work towards
programming languages. Coin- been called an "environment for learn a solution to a problem is the corner
ing" and a "collection of the tools for stone of LOGO'S implementation of
cidentally, that'sjust how he's
thought" by some of its disciples. the "Piagetian" view of learning.
starting off... LOCO was first developed by Let's look at Commodore 64 LOGO
Seymour Papert and others at MIT's more closely. Consider the following
Artificial Intelligence Laboratory in short LOCO program to draw a square
the late 60's. Papert had worked with on the screen:
Jean Piaget, the famous child psychol TO SQUARE :LENGTH
ogist, studying how children think REPEAT4 [FORWARD :LENGTH
and leam. Piaget felt that chiidren leam RIGHT 90]
best by self-discovery and by trial-and- END
error, and that the real challenge to LOGO is a procedural language
educators is to provide both the envi in that programs are broken up into
ronment and the tools to nourish this smaller, separate tasks or procedures.
discovery process. LOGO was designed In the case of SQUARE, the entire
with these ideas in mind. The Commo program is a single procedure. The
dore 64 implementation of LOGO first line of a procedure (beginning
succeeds extremely well in providing with TO) gives the title and lists the
both the tools and the environment inputs to the procedure, if any. The
for seif-discovery. last line of each procedure is always
The principle discovery tool in END. The middle lines, called the
LOGO for children and other begin body, give the commands telling what
ning programmers is Turtle Graphics. the procedure does. In SQUARE, the
LOGO'S Turtle Graphics capability body instructs the Turtle to REPEAT
allows the programmer to instruct an four times the sequence of commands
imaginary Turtle (represented by a small enclosed in the brackets, namely to
ALL FOR $49.95 PLUS t2.l» POSTAGE ANO HANDLING Standard version runs on
any system with Datasetts (SK and up) Add $5.00 lor disk version, 55.00 for extended features
(minimum SK) Sand check, M.O., VISA/MC (12.00 S.C.) or specify C.O.D. (add $3.00) to:
507-263-4B21
VIC 20 lit itQMllta TM of
Commodcjf Builnrtt wathloci Int
ing the programming job into small This procedure uses several LOCO IF :PHRASE - ]] THEN OUTPUT (]
meaningful pieces and making a sepa terms that need explanation: OUTPUT SENTENCE
rate procedure out of each task. For FIRST :X outputs the first character (PIG.WORD (FIRST :PHRASE))
your Pig Latin program, there are three of X if X is a string of characters or (PIC.LAT1N (BUTFIRST :PHRASE))
separate tasks needed: the first word if X is a list of words. END
1—Determining if a word begins For example: This procedure also has a new LOGO
with a vowel PRINT FIRST "ABCD will print A term. SENTENCE combines individual
2—Translating a single word PRINT FIRST [NOW IS THE TIME] words and/or lists of words into a single
3—Translating a phrase with one prints long list of words. For example, SENTENCE
or more words NOW "ONE [TWO 3 4] [FIVE 6) creates the
Let's see how LOGO can handle BUTFIRST :X outputs everything list [ONE TWO 3 4 FIVE 6). In the above
each of these tasks. First, the following except the first character if X is a procedure, the use of SENTENCE
procedure would check whether the string of characters and all but the first creates a new list composed of the first
first letter of a word is a vowel or a word if X is a list of words, i.e., word of the phrase translated into Pig
consonant: PRINT BUTFIRST "ABCD will print Latin (via the PIG.WORD reference)
TO VOWEL? :LETTER BCD plus the remaining words of the phrase.
OUTPUT MEMBER? :LETTER PRINT BUTFIRST [NOW IS THE By recursively calling PIG.LATIN with
|A E 10 U] TIME] the remaining untranslated words each
END prints IS THE TIME word in the phrase is translated in turn.
The term MEMBER? is a standard WORD takes two or more character The second line of the procedure tests
LOGO procedure that tests whether strings and concatenates them. For for the condition that the current list
something is an element of a list (or example, WORD :X "AY (in the third of words in the phrase is empty (i.e.,
set) of items. In this instance MEMBER? line) appends AY to the current charac all the words have been translated)
tests if the current value of LETTER is ters of X. In the next-to-the-last line and outputs a "null" list to stop the
a member of the list A, E, I, 0, or U and the terms WORD (BUTFIRST :X) recursive calls.
returns a TRUE value if it is and a FALSE (FIRST :X) create a new character string, Now you can test the entire program.
otherwise. In LOGO lists can be any which has the first letter of X shifted For example:
size and can contain any combinations to the last letter. PRINT PIG.LATIN [COMMODORE
of numbers, letters, words, LOGO com TEST VOWEL? (FIRST :X) in the LOGO IS FUN]
mands, or even other lists. Lists are second line of the procedure checks Prints: OMMODORECAY OGOLAY
always shown in square brackets. whether the first character of the ISAYUNFAY
LOGO'S ability to manipulate lists current string X is a vowel. If it is, the If you count the lines in these three
makes the language extremely power next line (IFTRUE, etc.) adds AY to the procedures you will see that your gen
ful for solving certain types of problems. end ofX and outputs the result. If it is eral Pig Latin program only took twelve
Because LOCO is programmed not a vowel the line beginning with lines and that included three END lines.
one procedure at a time, the process IFFALSE shifts the leading character A BASIC program to do this same trans
of testing and debugging is greatly ofX (a consonant) to the end of X lation would have taken much, much
simplified. For example, before writing and tries again with the new X string longer to write and would have been
the rest of the Pig Latin program, you by using the recursive reference to much more complicated. In addition
can test this procedure by itself. Specif PIG.WORD. This procedure will keep the BASIC version would not have been
ically, if you enter VOWEL? "Q, the calling itself recursively until it finds half as easy to test and debug.
Commodore 64 will respond with RE* the first vowel and outputs the correct In summary, Commodore's new
SULT: FALSE and if you enter VOWEL? Pig Latin translation of the word. LOGO for the 64 is a very exciting
"E, you will get RESULT: TRUE. After Once again you would test this pro language. It has broad application and
doing these tests you know this part of cedure by itself before going on to the offers something of value to beginner
the program works as it should. next part of the program. For example: and expert alike. Its Turtle Graphics
The next procedure you need will PRINT PIG.WORD "LOGO prints features offer a fun and effective way to
translate a single word: OGOLAY learn programming and problem-solving
TO PIC.WORD :X PRINT PIG.WORD "ANSWER prints skills. At the same time Commodore 64
TEST VOWEL? (FIRST :X) ANSWERAY LOGO is a very powerful language and
IFTRUE OUTPUT WORD :X "AY Your third and last procedure has many capabilities not found in
IFFALSE OUTPUT PIG.WORD handles the translation for more than BASIC, such as extensibility, recursion
WORD (BUTFIRST :X) (FIRST :X) one word: and list processing. LOGO is a lan
END TO PIG.LATIN :PHRASE guage for everyone! C
W£
twelve month-old Amity Palmer, push
Load. For 50 bucks per year you
will receive each month "Ready to ing random keys to display letters on 11 -■
1 i\
U
i ]
I (• III
run" programs, programming tech a brightly colored screen, to young iu jhLjM
niques, information, input from oth Rich Kotomori, who uses a sophis
er members, and fun. Why are you ticated word processor to turn out -—affc ii
waiting? 20 Load, 550 Grant Ave his homework.
What do fifteen year-old Rich and
I
w fei"
nue, Junction City, Kansas 66441
{913)762-4730. baby Amity have in common with
VIC-20 is a trademark o(
Commodore Business Machines, inc.
each other and with possibly a million
other young computer users? The
Commodore computers they are using
to carve out a niche in this computer Amity Palmer with her father David and
generation. "her" Commodore 64.
FOX 20:™ These young people don't think that
The magazine for "VIC 20 users it surely will.
they are doing anything remarkable.
By their standards, or by the standards This new phenomenon, these
FOX 20 will provide you. each month, with
S or more ready-to-iun programs on of youthful programmers like Diana "Commodore Kids", are the reason
cassette-exciting, imaginative, game,
Kaupilla and Chris Harris they are not. that we are setting aside these pages
educational and utility programs tor most
VIC memory configurations. In adfliton. But to parents whose generation was of Power/Play exclusively for articles
you will receive Foitales. an Informative
amazed at the introduction of hand and programs by, for, and about young
Video Newsletter, on Side 2. Novice and
pro alike. FOX 20 Isthamagiiineforyou. held calculators, their achievements Commodore users. Material written by
Be a sly little lo> for only S53 a year - S6.50 are awesome. And to grandparents, kids, their parents, and their teachers
single Issue.
many of whom did not see a television will now be a regular feature in each
set until their teens, they're nothing issue. We hope to provide them with
FOX 20 Iih division of:
Foxfire Systems, Inc. short of miraculous! a forum for ideas and techniques, a
3811 Newton
When kids get together to talk place of their own where they can meet
Pasadena, Te«as 77503
about computers and to share ideas or others like themselves and better learn
comment on the latest available soft to use this wonderful tool, this magic
To order: Send check (U.S. Funds), arid
5% Sales Tan for Teias residents, Canada ware, a kind of magic sometimes seems toy, that their generation has claimed
a n d Ova rse as S63. ords rs pre- pai d D e a ler
to develop, an excitement that leaps for its own. C
and author inquiries Inviled
the normal barriers of age and gender
that they once thought so important.
FOX 20:™ Suddenly the important questions are
"Do you have a VIC 20 or 64?" or "How
The magazine for 'VIC-20 users
P. O. BOX 507
long have you had yours? Did you
Oeer Park, Texas 77536 figure out that new Adventure game?"
(713)473-6723 And best of all is the one that begins
■VIC-20 b • trade mai* ol
with "Watch this! I figured out a
Commodo/a BuLinBU Machine a
BETTER way to...". This might not
sound like a dialogue that will change
the future, but I submit to you that
Play Tone-Match
A Game by Christopher Harris
Christopher Harris (he likes Chris) is twelve years did and why." I called Chris to ask him how to work Tone-
old, and a seventh grader at Jefferson Middle School in Match and he laughed "Oh, no! I knew I left something
Albuquerque, New Mexico. When the Harris family bought out! DIRECTIONS!" But we have them now, and I will
a Commodore 64 last fall, Chris started right in to teach pass them on to all of you who will want to type in Chris'
himself programming, with a little help from his father, program and have fun improving your "ear" for music:
Dick. By December, Chris was well on the way to success
1. When the computer asks fora level, answer with a
fully converting his favorite arcade game to the 64. On
number, remembering that 1 is the hardest.
Christmas he received a Coleco game machine, but Chris,
being a true computer enthusiast, returned the present. 2. You will hear a tone—listen carefully! How long it plays
He came home instead with a VIC 20, a "real computer". depends on the skill level. When you hear the second
(No I am NOT making this up!) tone, try to make it match the first, using the + and -
I wanted to know how Chris happened to write the VIC keys to go up and down the scale.
program I have reprinted here. When I asked, he toid me:
3. When you think you have matched the first tone, press
"I was just fooling around with the VIC 20 sounds and PI. The computer will tell you how close you came to
up came Tone-Match." And on the subject of using entire
matching it.
words for variables: "Instead of REMark statements, I use
variables that are very obvious, so that later on when I go To play again, press any key. Your new level will match
back and look at the program I remember exactly what I your last score. For example, if you were 33 points off, last
try—your new level will be 33. C
—Betsy Byrne
Note! In line 33 the W's are typed as shi-ftedWs! they are graphics.
30 P0KE3687?,3:PRINT"-CCC}"
31 S1=36874:S2=36875:53=36876:54=36877:V=36878
32 PRINT" <SCXCDXCDXCDXCD> ***(RU>WELCOME TCKRCO***"
33 PRINT" CRV>WWWCCC>TONE-MATCHCCC>WWW11
34 PRINT" <CDXCDXCDXCD>WHAT LEVEL WOULD YOU LIKE TO START AT?":
40 INPUTLV*:LV»VAL(L<J*)
59 IFLV=8THENPRINTMBETWEEN 1 AND INFINITY, PLEASE<CUXCUXCUKCU> ": GOTO30
60 REAL=INT<RND<1)*128>+128
70 FAKE=INTCRND<1)*128>+128
80 P0KEU,15:P0KES3,REAL
90 FORI=1TOCLV*100>:NEXT:P0KES3,FAKE
190 Q=PEEK(1?7):IFQ=5THENFAKE=FAKE+1
110 IFQ=61THENFAKE=FAKE-1
120 IFFAKE >255THENFAKE=255
139 IFFAKE <128THENFAKE"128
140 P0KES3.FAKE
150 IFO=3?THEN500
160 6OTO106
500 FOR I=1TO10
501 6ETJ*:IFJ*<>""THENSBQ
50 2 NEXT
503 IFREADFAKETHEN666
510 IFREAL<FAKETHEN760
520 F0RI=I28T0255iP0KES3,I:FORB=1TO50:NEXT:NEXT
530 PRINT" <8C>CCD><CD>£CD>{CD>! ! ! ! ! {RVXCOYOU DID IT<CCXRO>! ! i ! !"
540 UJ=\
550 6OTO860
60 0 F0RI*=I28T0255STEPt REAL-FAKE) :P0KES3,I : FORB=1TO50 :NEXT :NEXT
619 L^=PEAL-FAKE:PRINT" <SC><CDJ<CDXCD> CCD>YOU WERE "W" OFF"
62? GGTO300
70 0 F0RI = 128T0255STEP'; FAKE-REAL) :P0KES3, I :FORB=1TO50 : NEXT: NEXT
710 Ly=FAKE-REALiPRINT"<SC>CCDXCOXCDXCD>YOU WERE "LV" OFF"
80 9 POKEV.0
30 1 OETB*:IF8*=""THENSBi
310 GOTO60
COMMODOREPOWER/PLAYSummer1983 61
Friends Of The VIC Turtle
By Albert Rizzoli.M.D.
Most of us with children have purchased a toy called There is another idiosyncracy in this program.
Etch-A-Sketch. This clever toy lets you draw pictures by My paddles are electronically noisy, particularly at the
turning knobs. One knob is for the X direction and the extremes of rotation or if turned rapidly. The moving X or
other for the Y direction. I have written a short program Y line is usually smooth, but the non-moving paddle may
to simulate this toy. It requires the Super Expander and a give some jitter to the baseline. Lines 115 and 1]7 smooth
set of paddles. The button on one paddle clears the screen this out some, but a better hysteresis algorithm should be
and the other changes the color of the line. written. Please send your ideas to Betsy for inclusion in
If you have several lines on the screen of different colors, this column. In defense of the program, it is still a lot of
you begin to notice a limitation of the Super Expander. fun and can draw some very colorful pictures.
The color in a given region can only be one color. These A similar program can be written using a joystick, see
regions correspond to the size of one VIC alphanumeric "VIC Make-A-Sketch" in COMPUTE'S FIRST BOOK OF
character. This can be frustrating if you draw two different VIC, page 31. Danny Byrne of Albuquerque has also written
color lines close together. a sophisticated graphics package using a joystick. C
1 REM ETCH-R-SKETCH
2 REM VIC-29 VERSION BY FILBERT RIZZOLI
3 REM REQUIRES SUPER EXPRNDER RND PRBBLES
4 REM FIRE BUTTONS CHflNGE COLOR RND CLEflR SCREEN
10 GRRPHIC2:COLOR1,3..0)0
20
30 IFPEEK<64e>i6THENf>33792
40
50 PX=36S72:PV=3
36
90 VL-PEEKCPXJ'VR-PEEKCPV)
190
110
115 IFflBS<X0-XX3THENX=X0
117 IFRBSCV0-VK5THENY=V0
120 DRRW3T0X,V
130 IFFRTHEH:SCNCLR
140 IFRTHEN^OC+l
156 IFO1THENOC+1
160 IFO7THENC«0
170 COLORING,C
180 GOTO60
WORD
ELECTRONIC
PLAN SPREADSHEET
ALL IN TERMINAL LIKE VIS1CALC
MANAGER
40 AND 80 EMULATOR
COLUMN
FORMAT
Now you can get 40 or 80 Columns on your T.V. or monilor at one time! No more
running out of line space for programming and making columns. Just plug in this
board and you immediately convert your VIC-20 computer to 40 or 80 columns!
PLUS, you get a Word Processor, Mail Merge program, Electronic Spreadsheet (like
VISICALC) and Terminal Emulator! These PLUS programs require only 8K RAM
memory and comes in an attractive plastic case with instructions.List $ 149 Sale $99
Bank Sprites:
Gain Interest
Using Sprites in Different Video Banks
By Tim Villanueva
% TbTL
RESEARCH ASSISTANT 2.0 VIC +8K expansion $30.00
RESEARCH ASSISTANT 2.0 Commodore 64 $35.00
key word cross-reference research tool
TOTL.BUS1NESS 3.0 VIC + 16K expansion $85.00
TOTL.BUSINESS 3.6 Commodore 64 $95.00 A) software inc.
business programs require disk and are shipped on disk
One Megabyte Fuzzy Diskette $25.00 ifi555 Third Ave., Walnut Creek, CA 94596
computer novelty pillow ^-S> ^Q \^ Call (415) 943-7877
Commodore 64 and VIC 20 are registered trademarks of Commodore Electronics, Ltd.
Sprites are one of the easiest forms of high resolution Now, here is an explanation of the program:
graphics available. And of course the 64 has them. But mak 10-20 Prints the grid on the screen
ing a sprite from scratch is not all that easy. It requires lots 40-50 Turns sprite on in lower right of the screen,
of work to figure and calculate the data. The following pro color white.
gram will take away the pain of creating sprites by hand. 60 Sets sprite pointer to memory block 13 (starts at
If you haven't worked with sprites yet, I suggest first location 8321
reading the short explanation in the Commodore 64 User's 100 Start of read section. Sets C=8
Guide, pages 69-71. What the following program does is 105 Loop for each of the 21 rows
print a grid on the screen that represents your sprite in 110 Loop for each row, 24 dots across
large form. You fill in the grid with asterisks in the pattern 120 PEEK the location of each dot, one at a time
you want your sprite to form. Then the program reads the through the loop.
grid and calculates data for the sprite. It automatically 130 Decrement exponent value—
enters the data into memory, and the sprite will form [f current dot location contains an asterisk,
before your eyes. First, here is the program: increment data value by adding to it 2|C, where
C represents the actual dot number of the set of
8. (3 sets in each row of 24)
10 PRINTCHR$U47>; 140 When C=0, set of 8 finished. POKE data value
29 FQRT=1TO21■PRINT"..,,,.,,..,,..,,.. into proper location and reset the value. Reset
,,..., "•■ NEXT :REM 24 DOTS value of C.
150-160 Return through each loop until finished
49 V=3324i31POKEV+21 > 4' POKEV+41,1
200 Start of data section—prints data values in rows
50 POKEV+4;255'POKEV+5;280
of 3,
60 POKE2042,13
210 Read 63 memory locations (63 data values to
70 END comprise a sprite)
100 C=3 220 Print out the value
105 FORV=0TO20 230 Format output into rows of three (21 rows with
110 FORX=1TO24 3 values—each value represents 8 dots or
120 P=PEEKO023+X+40#V> pixels, 8*3=24 across)
130 OC-1:IFP»42THENQ«Q+2?C 240 Return loop
140 IFC=0THENOS■O=G+1:P0KE331+G,Q:Q=S 250 End.
150 NEXT*
160 NEXTV How to Use the Sprite Creator
170 END Once the above program is typed in correctly, you
200 PRINTCHR*<I47):PRINT:pRINT are ready to create. The first step is to type RUN. The grid
210 FORT=0TO62 will form and the word READY will appear below the grid.
220 PRINTPEEK<832+T), Using the cursor keys, move the cursor UP into the grid.
Be sure not to move the cursor down or you may cause
239 K=K+riFK=3THEHK=0'PRINT
the grid to be pushed off the screen. Fill the grid with aster
240 NEXT
isks in the desired shape of your sprite. When you have
250 END
achieved the desired shape, move the cursor back to the
bottom of the grid. NOTE: Now place the cursor directly These are the registers for each sprite:
on the line below the last row of dots on the grid. Now type
in RUN 100. Your sprite should form before your very eyes Sprite Number Memory Location
in the (lower right-hand corner of the screen.) When your 0 53287
sprite is done, the computer will signal READY. You can 1 53288
now move back up into the grid to make any corrections 2 53289
you would like. But be sure not to move the cursor down 3 53290
too far or you will lose part of your grid! When you are 4 53291
done making corrections, move the cursor once again 5 53292
directly below the grid and type RUN 100. You may 6 53293
continue to do this over and over until you achieve the 7 53294
desired shape.
Once you have achieved the correct shape, you are ready Now, how to switch sprites to multicolor. Memory
for the data. To set the data for the sprite, type RUN 200. location 53276 controls multicolor mode for sprites. You
The data should print out 21 rows of 3 values each. This can switch individual sprites on to multicolor by POKing
makes it easy to copy down the values on paper (or some this location. You may have both multicolor sprites and
thing) to be used in future programs, "normal" sprites on the screen simultaneously. The fol
lowing POKE will switch a sprite to multicolor.
POKE 53276, PEEK (53276) OR (2fSN)
Using This Sprite Creator Where SN is the sprite number (0-7).
to Make Multicolor Sprites To switch a sprite off multicolor, you must do the
In the grid that this program makes, each period following POKE:
or comma represents an actual bit in memory (which POKE 53276, PEEK (53276) OR (255-2fSN)
represent the pixels of your sprite). The usual sprite is 24 Where SN is the sprite number (0-7).
pixels across, 21 pixels down. You can create your sprites If you want to switch on all sprites to multicolor, the
in three colors. But how does the computer know what following will do it:
color a certain bit should be? Well, when you put a sprite POKE 53276,255
in multicolor mode, it changes the way the computer deals If you want to switch all sprites off multicolor,
with sprites. Instead of looking at the rows with 24 dots, it POKE 53276,0
examines them as 12 pairs of dots. Each pair of dots now How do you control the color for each different bit
represents one pixel, so instead of 24 pixels across, you pattern? The computer has reserved three places for you to
have 12 pixels across. The sprite stays the same size, but enter (or POKE) the color codes which will represent the
you lose half of your horizontal resolution. Now the bit patterns. They are the following:
computer can put color into your sprite. Since two bits Bit Pattern
now represent one pixel horizontally, the computer can 00 Transparent, Screen color shows through
use the pattern contained in the two bits for color informa 01 Sprite Multicolor register 0 (53285)
tion. There are 4 possible patterns with the two bits: 10 Sprite Color Register (depends on which
sprite)
1. 00 2. 10 11 Sprite Multicolor register 1 (53286)
3. 01 4. 11 So, if on the grid you fill a bit pair (either a pair of
commas or a pair of periods) with a 01 bit pattern, that
pixel (which is actually the size of two pixels) will be the
This can be represented on the grid with an asterisk
color represented by memory location 53285, If the bit
representing a 1, and a period or comma representing a
pattern is an 11, the color will be represented by memory
zero. Now you should understand why the grid is made of
location 53286. If the pattern is a 10, then the color will
periods and commas. If creating a sprite in multicolor, you
depend on that individual sprite's color register. C
need to look at each pair of either periods or commas as
one pixel. The pattern in that pair will represent the color.
If there is no pattern in that pair (00), that will represent
the background color.
Diana Kaupilla is ten years old and When asked where she got the idea
goes to Chelwood Elementary School for this program she said, "I first got
in Albuquerque, where she is in the the idea when I was reading a book
fifth grade gifted program. She has had about choosing your own adventure,
her computer since Christmas, and is and I wondered if it couid be put onto
the main user of the computer at her the computer. I started fiddling with it
house. She has had some computer and I figured out how to make one. My
experience at school, but she says it first story was called Night ofDeath."
was so different from the VIC 20 that So, here is Night ofDeath, just the
it was "no help at all." way Diana wrote it. c
Diana Kaupilla, age 10.
1 PR I NT "X
10 FORX=1TO1000:NEXTX
14 FORtf=lTO1000
16 NEXTX
28 PRINT" "
30 PRINT"E S C R P E "
40 PRINT" "
45 FORX=1TO1000;NEXTX
50 PRINT"F ROM"
60 FORX=1TO1000
65 NEXTX
70 PRINT"H RUES"
71 FORX=1TO1000
72 NEXTX
76 PR I NT "X
30 PRINT"VOU KICK R ROCK RND fl HOLE OPENS IN THE GROUND IN FRONT OF VOU."
90 PRINT"DO VOU 1:JUMP OR 2-RUN"
100 INPUTX
110 IFX=1GOTO130
120
139 PR I NT "X
135 PRI NT"VOU IN fl CRGE.THE GURRDS ARE flSLEEP"
136 PRINT"D0 VOU 1iESCflPE OR 2-STRV FOR fl BETTER TIME"
137 INPUTX
138 IFX=1THEN160
139 IFX=2TH£NIS0
140 PRINT'T
141 PRINT"THE LflST THING VOU FEEL IS fl KNIFE IN VOUR NECK"
142 OGTO10000
160 PRI NT"3"
161 PRINT"VOU RRE IN fl DRRK CORRIDOR"
162 PRINT"DO VOU l=O0 BflCK OR 2:KEEP GOING"
163 INPUTX
164 IFX=1THENGOTO190
165 IFX=2THENGOTO210
130 PRINT"ITS TOO LflTE. THEV UflKE UP RND CHOP OFF VOUR HERD!"
181 GOTO10000
150 PRINT"VOU SEE THE GUflRDS HGfllN. ONE OF THEM STIRS IN HIS SLEEP'
191 GOTO180
210 PRINT "VOU SEE RN OLD WOMEN.. RND SHE WRLKS UP TO VOU."
220 PR INT"RUN SHE SRVS, RUN FROM THIS GOD FORSRKEN PLP.CE."
230 PRINT"WHV DON'T VOU RUN, VOU flSK."
240 PRINT"! CRN'T. THE CRVSTflL HRS ME."
250 PRINT"I DON'T KNOW WHRT VOU'RE TRLKING RBOUT, VOU SRV."
260 PRINT"LISTEN THEN SHE SflVS,"
270 PRINT"fl LONG TIME RGOj"
230 PRINT"flN EVIL MflOICIRN"
290 PRINT'TOUMD R CRVSTRL"
300 PRINT"THRT GflVE HIM MRGICflL POWERS BEVOND IMRGINRTION."
310 FORX=1TO15000
320 NEXTX
325 PRINT".T
330 PRINT"I CRN HELP VOU, VOU SRV."
340 PRINT"THEN STEflL THE CRVSTRL FROM THE THRONE ROOM!"
350 PRINT"THEN SHE HRLKS RWflV."
36Q PRINT"DO VOU i=TRV TO STEflL THE CRVSTRL OR 2'TRV TO GET HOME"
364 INPUTX
365 IFX=1OOTO330
370 IFX=2GOTO190
380 PRINT"VOU SERRCH RND SOON SEE fl HUGE GIRNT SLEEPING."
3S5 PRI NT"VOU SEE R RED, GLOWING CRVSTRL NEflR HIM."
390 PRINT"VOU GRPE IT RND RUN."
400 PRINT"VOU SEE SOME STRflNGE MONSTERS CHfiSING VOU."
410 PRINT"VOU RRISE THE CRVSTflL RND THEV TURN PND FLEE."
420 PRINT"CON0RflTULflTI0N5. VOU WON!!!! ! !!!!!!!!"
1005 END
10003 PRINT"DO VOU WflNT TO TRV RGflIN l:VES 2:MO"
10001 INPUTX
10002 IFX=200T010004
10003 IFX=1GOTO1
10004 PRINT"T
10005 PRINT"WHV NOT VOU 8$<.>.$#<iy.y.*$<&l!??"
10006 END
An octopus is on the loose. He escaped from his lair and octopus" lair. Line 230 checks to see when this sprite-to-
only you can send him back. While this may he slightly sprite collision occurs. A successful game can be replayed
melodramatic, the following program does involve moving by simply pushing the firing button on the joystick. This
an octopus-like figure through a maze and back to its lair. feature is easily attained by the WAIT command in line 320.
The program is both an exercise in joystick dexterity and The Commodore 64 allows for up to 15 different colors
a demonstration of the sprite graphics available on the as follows:
Commodore 64.
A sprite is a high-resolution, programmable object. The COLOR POKE NO. COLOR POKE NO.
Commodore 64 can make and control up to eight sprites Black 0 Orange 8
with standard programming. (See the Commodore 64 White 1 Brown 9
User's Guide or the Commodore 64 Programmer's Red 2 Light Red 10
Reference Guide). Additional sprites are possible with Cyan 3 Greyl 11
a little more complicated program. The sprites are con Purple 4 Crey2 12
trolled by a separate picture-maker inside the computer, Green 5 Light Green 13
which handles the video display. The movement of the Blue 6 Light Blue 14
sprite can be controlled by pre-programming mathematical Yellow 7 Grey 3 15
equations or by programming movement through the In our version of "The Octopus Maze", the lair-sprite
use of a joystick or the keyboard. will be light red because line 120 contains the statement,
In our program "The Octopus Maze" movement of the POKE V+40,10. This POKEs light red (code 10) as the lair
octopus sprite is controlled by use of a joystick, which color. Similarly, the octopus-sprite will be yellow because
should be plugged into port #2. Pushing forward on line 155 says, POKE V-t-37,7. This POKEs yellow {code 7)
the joystick makes the sprite move up; pulling back on as the octopus' color. Changing these numbers in the
the joystick moves the sprite down and a left or right program can provide a wide variety of colors; however,
movement of the joystick makes the sprite move left or some color combinations work better than others. For
right, respectively. If any wall of the maze is touched by example, cyan, grey and black are good alternate octopus
the sprite, itwill escape your control and the sequence colors but red and green are poor because most of the
must be repeated from the beginning (Line 240, which details are washed out.
asks the computer to detect any sprite-character If the octopus-sprite moves too fast, or if you simply
collisions. Lines 245-260 check to see that the sprite prefer to start out at an easier pace and work up with
remains inside the screen border). experience, the movement of the sprite can be cut back by
The game is won by moving the octopus-sprite into changing the horizontal and vertical position increments.
contact with the stationary skull-like sprite which is the Use the following modifications for lines 260-320.
2L-Q IFS=1THENDY=-1
IFS=5THENDY=1
27D IFS=4THENDX=-1
B7S IFS=flTHENDX=l
EflO
565
210 REM—COLLISION INDICATORS
IF<PEEK{V+3D>AND1>=1THEN3DD
3DD
305
ENGINEERING TVPE 310
31S IFY<51ANDDY=-lTHErUbD
SOFTWflRE 32D IFY>221ANDDY=lTHENlbQ
FOR THE VIC 20'"
Experienced game players may want to move the X
values up to 4 or 5 and the Y value up to 3 for faster game
♦DIMENSIOHRL STflCK UP
play. Unfortunately, the movement of the octopus-sprite
STB MEM. O/PRT 9.50
will lose much of its smooth flow at higher X and Y values,
but the increased skill needed to win the game may make
*ROTRRV FLOW DIVIDER
the loss worthwhile.
8K EXP O/PRT 19.30
Pre-programmed cassette tapes of this game are avail
able for $5 each from: The Copy Cats 680 W. Bel Air Ave. Aberdeen. Ml) 21001 301-272-0472
♦COMPOSITE BEflMS
3k EXP O/PRT 24.50
5 PR I NT "W
19 Z=1924!V=5324S:C=55296:E=53230■K=532Si iSS=54272
15 POKES*14:POKEK>6
HflRRV F. LEONARD 29 PRINT"H10VE THE MONSTER INTO HIS LfllR WITHOUT
5556 CHERRYWOOD RD. TOUCHING THE NflGIC WRLLS"
COLUMBUS OHIO, 43229 25 PRINT"MIF fl UflLL IS TOUCHED.. THE MONSTER WILL
PHONE 614/B46-1B23 ESCRPE flND VOU MUST STRRT RQRIN
30 PRINT"IPUSH THE FIRE BUTTON TO STRRT"
VIC 20 15 a trademark of ComrnMore Elect'&ncs L10
35 URIT56464,16,16
40 PRINT"T
45 REN—THE MRZE
50 F0RRl=Z+6T02+72SSTEP4@:P0KER1,192-NEXT
COMPUTER CASSETTES
55 FOREl=C+6TQC+726:POKED 1,3 = NEXT
100% Error-Free • Fully Guaranteed 60 FORR2=Z+253TOZ+973STEP40:P0KER2,132:NEXT
65 FORD2=C+253TOC+$73STEP40 ■ P0KED2.. 3 ■ NEXT
78 F0RR3=Z+254T0Z+273:P0KER3,102:NEXT
75 F0RB3=C+254T0C+273:P0KED3.3:NEXT
i30 FORR4=2+306TOZ+796STEP40:POKEH4,102:NEXT
85 FORD4=C+306TOC+706STEP40:P0KED4,3■NEXT
90 FORFl5=Z+740TOZ+751: POKERS.. 192: NEXT
95 FORD5=C+740TOC+751:P0KED5,3:NEXT
1m F0RR6*2+353T0Z+S39:POKERG,102■ NEXT
185 FQRB6=C+553T0C+553:P0KED6>3:NEXT
LENGTH PACK PACK
115 REM--THE SPRITE LRIR
C-05 79$ 69<P 120 POKE2041,193:POKEV+40,10: POKEV+23,2
C-10 89<P 799 125 F=12352
C-20 999 899 139 REflE
Boxes 26<P 21 <J 135 P0KEF,QK
UPS S3.00 Pkg. $18.00 Case 140 F«F+l
145 POKEV+29,2:POKEV+2,175:POKEV+3,135
C-10's 39*
IMm 500 Case Lai) 150 REM—THE SPRITE MONSTER
w/labels ADD 4f,
155 POKE204
wfboxes ADD UK
160 X=30:V=
- FOR OROERS ONLY 165 P=12233
1-S00-528-60S0
170 RERDE
Extension 3005
175 POKEP/EK:p=P+i:GOTO170
MICRO-80" INC. 180 P0KEV+2I.3:Q0T0235
2665-P Busby Road
Oak Harbor. WA 98277
Much to ewersone's =u
Claudius lasted *or over- a
end turned out to be a wise
[«:•:(£rate leader. Robert Gra
I. Claudius cfescribes the E
'. : ~i bafora he ascended the
Write and print my letters, Create my own custom computer Show off my computer graphics
homework—just about anything. games. The printer set Includes the creations. Software includes
With Word Processor software that new First Book of VIC: it's full of Kaleidoscope and Sketch Pad
comes with the printer. great game ideas. graphics programs.
I P£H*VSC 5QUIGGLEH
E REt1*FR0M VIC 1001 USER' =
7 REM*TYPEft AND PEBUGGEC' 3V CHEESE BERRY PIE
:*■
9 PRINT'S"
10 r'ATfi"i ■,--■■, "-I", " U
2G DftTftl,6,5/6 £ Pks <:3 oz. aa. J cream
38 DftTfte* 1, 4,1- 1' 1 zw pon dered sugar
4£i [<ftTft3, 6,2,0 !;3 cup sour creaa
50 [iflTfi4,5, 0,3 i^ grated orange pee
68 Diafi*<5>,B<5,5J a 9-inch pie she] 1
7C- FOR1=0TO5 2-3 cups whole tcesh
ee FEK0fl*<i)
50 NEXT : I :up st
:-:■': F0RI»lT0<l
116 r0P-J=!T04
liQ READBCJ, I)
170 NEXT
140 NEKT Ssften cheese. Seat in s
190 Tl=l s^ur crsain and orsn^s ^eel.
£fj& T£=l in pia shell. Ton with bar
210 X-20 to L-laze. Chill, U sou 1
Learn to write my own VIC 20 Keep the family's favorite recipes
applications. With hard copy on a VIC 20 cassette. Now Mom
program listings that help me can't pretend that she lost the
debug my programs. recipe for cheeseberry pie.
fllphacom
TM
Alphamatch/VIC 20
by Barbara J. Moody
Although Alphamatch was ALPHAMATCH is designed to help Sound is used as an optional reinforc-
designed for classroom use, we young children learn the upper and er. If the classroom activity in general re
lower case forms of the letters in the quires quiet—or if Mom needs a little
think it is also an excellent
alphabet and to practice matching peace at home—the program will run
resource for young children at them. After some initial guidance from nicely and satisfyingly with the T.V.
home. To get both graphics and a parent or teacher, most five to seven sound turned down. It is more exciting,
sound effects you need Com year-olds should be able to use the pro however, with the sound turned up.
modore's Super Expander car gram on their own. The interest level Each correct response is rewarded
appears to be high, even for older with a pleasant, light tone as the letter is
tridge. If you don't mind leaving
children. (I have even found some of printed and the graphic reward appears.
out the sound effects, you only
my fellow educators enjoying it!) An incorrect response is indicated by a
need a 3K memory expander. The program consists of two parts. In heavier, buzzing low tone as the incor
the first, the child must match upper rect response is erased for another
After sixteen years as an educational case letters by looking at the target let choice. Each time a pictured toy is com
supervisor and consultant, I have re ter displayed on the screen, finding that pleted, a mini-melody is played. At the
letter on the keyboard, and pressing end of the program, a "good work" ban
turned to the busy peace and joy of a
kindergarten classroom. Having become the letter key. In the second part, the ner is accompanied by a fanfare.
target letter is given in its lower case Generally, I prefer to have the speaker
addicted to my VIC 20 about a year
ago, 1 was eager to put it to work for form. The child must find and press the turned up because the sound signals
my young students. I purchased the matching upper case letter key. allow me to monitor a child's progress
through the program while I continue to
preschool programs from my local Com Each correct response is rewarded
with the appearance of part of a toy on attend to the needs of other children in
modore dealer, sent for program
descriptions from publishers who adver the screen (red wagon, jack-in-the-box, the classroom. This should apply also
tise learning programs for children, and truck, boat, train). Several correct at home when Mom needs to carry on
reached the conclusion that programs responses are required to complete each routine home tasks while Johnny or
of these pictures. When an incorrect Jenny works at learning, the computer
suitable for my youngsters are scarce in
deed! Here and there, now and then, I response is made, there is no reinforce play way.
ment of it. The cursor simply returns The frequency and pattern of light
found a gem that really worked in my
and flashes on that respoase until the and heavy tones tells me how many
classroom, but more usually the pro
child locates and presses the correct guesses and how much difficulty the
grams I found were too complex and/or
child is having with the task of matching
too advanced in concepts for use by five matching key. Thus, while it is possible
to make an incorrect match, the com letters. The frequency of mini-melodies
and six year-olds.
Disappointing? Yes. But what better puter will wait until a correct match is signals the child's pacing through the
made before either rewarding or rein program, and the fanfare tells me when
reason and incentive to begin my own
programming! ALPHAMATCH is one of forcing that learning. it is time to set up another game for the
the programs I developed for use in my Screen and border colors change as child or to give another child a tum to
classroom. The children have used it the program moves from part one to play ALPHAMATCH.
eagerly and successfully this year. It part two. They change again as the pro Because the sound was typed as
is often chosen over other available gram ends and a "good work" message PRINT statements, as allowed by the
programs. is flashed among the pictured toys. Super Expander, it will not work with or-
Program Notes:
39 REN HLPHflMRTCH
ALPHAMATCH requires a VIC 20 51 REM BRRBflRfl J.MOODV
with a 3K Super Expander. The sound 52 PRINT' racnroiHR rceejremi PROGRfiM":PRIHT"(»FOR
element can be eliminated and the pro
LITTLE LEflRNERS"
gram will run on an ordinarily expanded
53 PRINT" NSmmPRESS IfSPRCE 3rrhtp ■Pf?iHT"imirro
VIC 20 by making the changes stated
CONTINUE ■ ■ ■
below. This is a long program, however,
54 GET Fit :IF fii=""THEN54
and it will NOT fit into an unexpanded
VIC 20!
60 PRINT" ["ISftliM"
To eliminate sound commands: 70 PRINT" (isr5&sr« x mm 8 j i snssw
Delete lines 80 PRINT" I&&& i £ X X X !
965,1225,2525,1845,3055,8025, and 90 PRINT" V
9000 100 PRINT IKi w S? w ^ £? ^ w
Delete the final PRINT statement In 110 PRINT IKS KJ ?^^ K w w !^ w
lines 3085 and 3090 120 PRINT "W»H"
The program works with two sub
130 PRINT " ^ySf CFw*;?'i ^^^ *
routines. The first, at line 8000, provides
140 PRINT " ivi » » * » ss! *■ X"
for input and processing of the child's
150 PRINT
response for each target letter. It also
provides the buzzing tone for error and 160 PRINT " % X X SS 8 8 » 1
g ■"
erase of incorrect responses. The sec 170 PRINT "8 8 $ & i W$- \
ond, line 9000, provides the light tone 180 GETR* :IFR$=""THEN130
for each correct response. 299 PRINT "^fflWi»BDIRECTIONS;| 1"
Instructions for playing the game are 300 PRINT ".TSRMi^^"
provided in lines 290 through 690. Lines 310 PRINT "tmX FIRST. THE CHILD"
740 through 780 provide the target let 320 PRINT "»^^ WILL BE SHOHN RH"
ter and response area on the screen.
Line 800 sets the display to upper/lower
330 PRINT "(UPPER CflSE<CfiPlfRL)"
340 PRINT "(LETTER. THE CHILD I1 1UST"
350 PRINT '(PRESS THflT LETTER ON"
4000
80 COMMODOREPOWER'PLAYSummei 19B3
Joyrite
by Mike & Annette Hinshaw
This program makes it even number used by VIC in the POINT dot moves on the screen, and the lines
easier to draw pictures on your statement to put a dot on the screen. are formed by the dots. The erasing or
This program uses relational operators "not writing" sequence (lines 1000 to
screen with the Commodore
to test which of the four joystick posi 1050) just changes the color of the dot
Super Expander cartridge. tions is "on". The logical AND in the so it's the same as the screen, or back
relational statement checks J against ground, color. Even though you can't
Have you ever wanted to draw the possible joystick values. For in see it, the dot moves the same way it
pictures on your computer screen? stance, if J is equal to 4 (up), line 140 did when you drew the line. If you get
With the VIC 20 Super Expander car will look to the computer like X=X lost moving the invisible dot, just hit
tridge, you can do it with a joystick. +(-l)-(0) and line 150 will read the fire button to make it change color
A short program demonstrating the Y=Y+(0)-(0). so you can find it, and then change it
RJOY(X) function (one of several graph The POINT statement is the way the back again.
ics statements and functions the car
tridge adds) permits drawing lines on 1 SCNCLR
the screen by moving the joystick. The 2 PRINT"THIS PROG WILL DRflW IN RCCORDRNCE WITH
program is fun, but limited. It is as if
THE JOVSTICK"
the artist drawing on the screen cannot
3 PRIHT"HIT THE FIRE BUTTON TO LEAVE HO TRflIL,SPRCE
lift his pencil from the paper, and can
not erase if he makes a mistake, but TO CLERR THE SCREEN"
must start over with a new sheet of 4 FORT=1TO5090:NEXT
paper (blank screen). If he is careless 19 GRRPHIC3
and lets the line go off the page, the 20 COLOR0,7,1,1
program blows up and he has to start 125 X=170:V=180
over again. 130 J=RJOV(0)
We liked the program so well we set 135 REGI0N1
out to fix those inconveniences. The 140 X=X+ C<JRND4 >=4>-((JHND8)=8)
new program, which we call Joyrite, 150 V=V+<aRNDO = l)-CaRND2?=2)
lets you draw on the screen and clear
152 IFX<3THENX=INTO023/3) :V-V-3
the screen as before, but now you can
153
erase if you make a mistake, or "pick
154
up your pencil" when you want to. It's
easy to draw complex figures on the 155
screen. We even drew a simple elec 160 POINT2JX*3JV*3:IFJ=123THENGOTO1009
tronic circuit that looked like it had 165 IFPEEKO97)=32THEN:SCNCLR
been professionally drafted. It takes 170 GOTO130
practice to move the dot on the screen 1003 POINT0,X#3,V*3
so it comes out like you want it to, but 1010 J»RJOV<0)
since you can erase anything that 1020 X«X+<aRND4)*4>-<<JflNDe>«8>
doesn't look right, it doesn't matter.
1039 V=V+ C <JRNDI >"1 >-«JRND2) =2)
The RJOY(X) function is the core
1032 IFX<0THENX=INTa023/3>:V=V-3
of the program. It works like a binary
1033 IFX>IHTa023/3)THENX=0:V=V+3
counter, with one switch, or bit, for
each of the four directions. For ex 1034
ample, if you move the joystick up, 1035
RJOY(X) equals four. 1040 POINT0JX*3JY#3:iFJ=128THEN130
To make the screen coordinates 1045 IFPEEKa97)*32THEM: SCNCLR
come out right with the value of the 1050 GOTO1010
RJOY(O), X and Y are one third of the
To use the graphics statements for the border. This combination works the wraparound line will not meet the
added to the VIC by the Super Ex well on a black and white screen also. line you started, but will be one or two
pander, the program must be initial It's fun to experiment with different positions off, depending on the value
ized, as in line 10, with GRAPHIC plus colors in this program, but remember of X and Y at the time the line comes
a mode numbered one, two, or three. that some combinations don't show to an edge.
This program will work with any of your drawing very clearly. In lines 165 and 1045, the computer
the modes, but each works a little One color setting you should not PEEKs at the address where the name
differently. GRAPHIC 1 is multi-color, change is the one used with the POINT of the key being pressed on the key
but not high resolution, so your line statements. In line 160, the 2 specifies board is stored. A 32 means the space
is thicker. GRAPHIC 2 will give you the same color as the character color. bar. Please note that the colon after
high resolution, but not as many In lines 1000 and 1040, the 0 tells the the THEN in the IF... THEN state
colors. GRAPHIC 3. which we like computer to draw with the same color ments in these lines is not a misprint.
best, permits both high resolution as the screen. If you change it, you When the Super Expander statements
and multi-color. won't be able to erase. are used with the !F.. .THEN state
Another thing that needs to be We added the routines in lines 152- ment, they won't work unless this
initialized is color, which we do in line 155 and 1032-1035 so the program colon is present.
20 with COLOR 0,7,1,1. These four wouldn't crash when you move the dot This program is a good demonstra
numbers can be changed. They set, off the screen. This is especially help tor to show your friends how much
respectively, screen, border, character ful when you can't see the dot. When fun it can be playing with a computer. C
and auxiliary color. In this program, the dot hits a screen edge, it "wraps
we specify white (1) for the character, around" and appears on the opposite
black (0) for the screen and yellow (7) edge. If you draw a single straight line,
for the VIC 20" typing time and eliminate typing errors
separate programs Enhanced version now provides practice typing characters for graphics or games Cassette S9 95
English words Includes 12-page manual Selected by Denver Public
Schools lo tram 700 elementary studenis in keyboard skills
• Fun Fractions (FF + flX) diskette S24 95 Sea your dealer or orrjer direct
cassette S19 95 VISA/MC accepted
The tun way to learn acdmon. subtraction, multiplication, and Divi Money back guarantee
sion ol (factions lor grades 4-9 with sound, color, and graphics Please «O0 %2 :55 overseas)
Walcri VIC show you al Ihe intermediate steps on the screen black for shipping ana Handling
board Then take a turn and see if you can answer before the
parachute lumper crashes Three levels of diflicuiiy Help is given
lor incorrect answers, learn your score Requires 8K (or morel
memory expansion Includes 16-page manual TIS me
Foreifln orders payable U S dollars plus S3 00 snipping/handling Total Information Services, Inc.
80*931. Dept CM
TAYL0RMAPE SOFTWARE Los Alamos. NM 87544
This interesting little program creates the illusion of a spinning wheel. It will run
on the PET, CBM and Commodore 64 computers.
To create the illusion of a spinning circle on the PET is by PET graphics: a horizontal, a vertical, and two diagonals.
to reinvent the wheel. Two points do not determine a line To make the wheel appear to move, we print a string and
in standard PET BASIC and a point rotating equidistant then overprint it with spaces. A fixed point is defined; a
from a fixed point cannot define a circle. Lines and shapes sector in a fixed position relative to the point is printed
displayed by PRINT statements are defined by the number and is then blanked; then other sectors and lines in differ
of characters and cursor movements required to flesh them ing positions relative to the point are printed and blanked
in on the screen. This can make the drawing of separate in a clockwise rotation.
circle segments pretty tedious. The program itself keeps score, prompts players, and
This program constructs a wheel by defining six strings, tidies the screen in a straightforward game, and in a round
each of which represents a pie-shaped wedge of the circle. about way takes a turn demonstrating the potentials of
It also defines the four diameters that can be easily defined PET/CBM graphics. C
279 DRTR" 1" 5"," 19"," 20"." 50".." 100". " 500", 1.PIS0
290 FORI=1TO8' REflDRJUVNEXTl: |[|l»|l|l|i|l»l»|»!": K=0 ' GOTO 370
290 FOR P=1TO2 : PRINT"SSTN*<P >"■ ENTER EL" FOR PI LONG SPIN,"
300 PRINT " SF5 TO PflSS , OTHER KE^S FOR SHORT" :POKE153,0
310 GET SriFS**"" THEN 310
ii
320 PRINT "31
it
330 PRINT"BM
340 IF S*="P" THEN 320
356 R="IHT<RND(9>*4) + 1: IF S$= "L"THEN R=R+4
360 FOR 1=1 TO R: K=K+1=IFK>3THEN K=l
370 P0KE594S7; t£:P0KE59466,3- PRINTH*L*a>: POKEQ, 220: POKEQ,225-POKEQ, 250
380 PPINTH$L$< POKEQ,250: POKEQ,25? : POKEQ,250 :REM PRINT WHEEL
390 PRINTH*S2* :PRINT W*R$<K) : POKEQ,250: POKEQ,255 : POKEQ,250 :REM POKE SOUNPS
400 PRINTH$L*<3> : PHKEQ i 2^0 : POK^Q . 25"1 : POKEQ,250
410 PRINTH*"a" HI* U£Lt<A) ■ POKEQ,£50: POKEQ,25? : POKEQ,250
420 PRINT H$L$ <3) H$VD* ■ POKEQ,250' POKEQ,255 : POKEQ.250
430 PRINT H* -t'',^) '■ POKEQ,250- POKEQ,255 : POKEQ,250
440 PRINT H$" IIIIIIISIIIKHI" ' 3"Hli H$ VU* : POKE Q/250' POKE Q,255 ' POKEQ,0
450 PRINTH*"S" "iti;r "iiiiri lllllllin"S2*:PRINT" WflSRtSflSlBIfiBl"
466 PRINTHfS2* "iniiiiiiiiiiir 11 aw" *i$
SPECIAL
JOIN THE
VERSION OF
COMPUTER
TYPING TUTOR
REVOLUTION
PLUS WORD INVADERS
WITH A MASTERY
NOW AVAILABLE FOR THE
OF THE KEYBOARD!
COMMODORE64™...$21.95(TapeJ
In the age of the computer, everyone
All of the features of the VIC 2Oru Version and more
from the school child lo the Chairman of
the 8oard should be at home at the
computer keyboard. Soon there will be SPRITE
a computer terminal on every desk and DESIGNER
in every home. Learn how to use it right by Dr. Lee T. Hill |
...and have some fun at the same time! ^ T*Z r__ _ r Ji E ^T
Rated THE BEST educational program lor the VIC 20™ $16.950apeJ $21.95 (D/sk)
by Creative Computing Magazine Create and then transform sprites automatically. We
have the oiher sprite making programs, but this Is the
TYPING TUTOR PLUS WORD INVADERS —$21.95 one we use lo make sprites. The automatic transform
manons are great!
(2 programs on one cassette tape for the unexpended VIC 20™)
Typing Tutor plus Word Invaders makes learning the keyboard easy and lun! ^^^^ Shipping and handling SI .00 per
Typing Tutor teaches the keyboard in easy steps Word Invaders makes typing order California residc-rt.- add 6% j^ffi
praciice an entertaining game Highly praised by customers: M^B sales tax. VISA and Mastercard "^pup
orders must include lull name as shown on card, card
"Typing Tutor is great.'", "Fantastic". "Excellent", High quality", "A source o! number, and expiration date. Free catalog sent with
great joy and learning lor our children", "Even my little sister likes It", "Word order and on request.
Invaders is sensational!"
SOFTl^RE
old son, who had never typed belore.was typing 35 w.p.m. I had improved my
typing soeetf !5 w.p.m. and my husDand was able to keep up with his college
typing class by practicing at home. "
VIC 20 and Commoflors 6* are traOematks ol CommoOoio Eleclronlcs Lid. P.O. Box 9403, San Rafael,CA94912(415)499-0850
Programmers: Wrllo to our New Program Manager concerning any exceptional VIC 20TM or Commodore B4TM game or other program you havedaveloped.
65535 REM ********** DERM S. ROSSfl ***** JONESBOROj flRK. ***** 1993**********
STAR:
An Astronomy Program
for the VIC 20
byAlexBakman
IMASIER MENUj
'■
"Family Finances''Program
On hiflh-quftlity S 1 1' floppy with
Camptato -•', \ ••-.iiv , ■-■■.-■■ i 11
MinuAl onlyr Lcriditit] ID pu'chita)-
60 UT=T+R
76 :3=K+. 0657*N+1.0027*UT-aO/15) 19123 Hamlin Street
30 IFS>24TH£NS=S-24 Suite A, Dept P5
90 REM END U.T. Reseda, CA 91335
COMMODOREPOWER/PLAYSummer I9B3 87
program listings
FOR... NEXT
Sound Effects
by Jim Lockridge
This program provides a series of interesting sound effects demonstrating the use of FOR... NEXT loops. You'll hear
everything from racing cars to laser blasts—even what seems to be a babbling alien creature. It begins with a series of
anti-matter torp discharges and ends with a World War I biplane flying off into the sunset.
In the Winter, 1982, Power/Play we ran an article by Jim Butterfield titled "A Little Exercise in Machine Language"
that showed you how to fit a machine language program inside one line of BASIC. This program, submitted by reader
Carl Robertson, is a modification of Jim's program.
3'rEm'tHIS PROG MODIFICRTION flLLOUS NEC POKES TO BE DONE FROM R DRTR STRTEMENT..
4'rEm'rCCURRCV OF DRTR LINE INPUT MflV BE CHECKED BV R 'RUN200' COMMRND
5pRINTaWa THIS PROG MflV SELF- DESTRUCT UNLESS THE FOLLOLJING RRE DONE="
6 PRINT"SW1 DELETE PROG LINES 1- 9":PRINT"M2 STRRT PROG WITH 'RUN60'":PRI
HT"M3 ":
7 PRINT"CHRNGE LINE 220 TO 18 BEFORE RESTRRTING"
8 PRINT"X1 NOW HIT THE STOF KEY RHD STflRT WIPING OUT LINES 1 THRU 9!!"
■5 GET E$:IFE*=""THEH9
IS REMXXUXXKXMXXMXKKKXXXKXXKXMX
28 SV34183
30 PRINTPRINTKW THRT'S RLL"
48 PRINTtlWffl9 DON'T FORGET! CHRNGE LINE 220 TO 10 BEFORE RESTRRTING."
58 PRINT"WU!LIST220
60 fi=4193
76 F0RN=0T017
80 RERDD^OKER+N.D^NEXT
90 T=0.FORT=RTOR+l?:T=T+PEEKCJ>:NEXTJ:pRIHTir^!»aM TOT POKED ="T
100 PRINT"BW HIT SPC BRR TO CONT"
110 GETEf-IFE$=""THEH110
129 PRWT"XmM DEMO 'XI6" IS NOW RERDV" :PRINT"KBW" ■GOTO10
209 DRTR32,22?,255,201,13,208,1,96,162,15,32.210,255,202,203.250,240,236
210 F0RN»8TQ17:RERBR;T-T+fi:f€XrPRINTT:ST0P-REM SHOULD = 2S47
220 REMXXXXXXXXXXXXXXXXXXXXXXXXX
1100 0PEN4.-4:CMD4
1110 LIST
1120 PRINT#4,CL0SE4
Commodore Information
Network File Translator
by Jeff Hand
With your Commodore computer and So after you've downloaded a program as a sequential
VICMODEM you can access the many telecom file, there's not much you can do with it, except take the
listing and type it in by hand. That's the only way you
munications data bases available in the United
can load it into the computer and get it to run. Other
States, including the Commodore Information wise you've just got a nice program listing that won't
Network. This issue the Commodore Infor do anything.
mation Network Systems Operator (fondly What a pain, right? Yes, but did you really think I'd
known as SYSOP) continues from where he leave you with no alternatives? Of course 1 wouldn't. This
issue I've come to your rescue with this short but very
left offin the spring, with an ingenious little
sweet little program written by Andy Finkel that will type
program that automatically translates program your program in for you. allowing you to convert those
listings that you saved as text into programs sequential files into program files. And the program files
that WILL run. And you don't even have to it creates WILL run on your computer. It was originally
lift a linger (well, hardly). written for PET and CBM computers with disk drives.
Changes that make it work for the VIC 20, Commodore 64
Last issue I gave you a program called VICTERM PRINT and datassette are noted in the line-by-line explanation.
that lets you download (save) a sequential file from a tele Which is one way of getting you to read the explanation.
communications data base to printer or datassette. That
program is great for saving things like answers to hotline
questions or new product information—-hut has one
limitation. When it saves a program listing, it saves it as
a sequential file—as if it were text. That's different from
saving it as a program file, which is a set of commands to
the computer.
Program Explanation:
60000 Input drive number and file name. Open logical carriage return it reads the next character from
file one, for device 8, and open data channel for file 1 and checks the status of the disk drive. If the
the disk drive. This can be modified to work with status is all right (ST=0), the line is executed again.
the datassette by using the command: OPEN 60040 This line checks the status of the disk drive again.
1,1,O,D$":"+N$ If the last character read was a carriage return
60010 Get each character from logical file 1 and assign then the status was not checked in line 60030. If
it to C string, If any character in the C string is the status is OK, go to line 60070.
a carriage return (ASCII 13) continue to the next 60050 Close logical file number one. print finished and
line of code, otherwise return to the beginning of terminate program.
line 60010 and get the next character. 60070 623 and 624 are the first two locations of the key
60020 Register 174 contains the number of current open board buffer. These locations are poked carriage
files. On the VIC 20 and Commodore 64 register returns. For the VIC 20 and the Commodore 64
152 keeps track of open files. The reason one is 631 and 632 are the equivalent keyboard location.
POKED into this register is explained with line Register 158 is the number of keys in the keyboard
60070. The print command is used to position the buffer. (For the VIC 20 and the Commodore 64
cursor {also explained in line 60070). Get the char this same register is 198.) A two is poked into this
acter from logical file one. If C string is an R then register, to tell the operating system that two
terminate the program. This GET command and keys were just pressed, but they are ignored as
"R" check is always performed after a carriage long as the program is running. The words
return is detected. This will detect the end of the "GOTO 60020" are printed directly under the
program because the program being loaded will program line on the screen and the program is
end with a carriage return and the word "READY". ended. Now the two carriage returns in the key
The VIC 20 and the Commodore 64 put a linefeed board buffer are executed one on the program
(ASCII 10) between the last program line and the line, putting it into memory, and one on the
word "READY". To run this program with either GOTO 60020. The program starts back up at line
of these computers, change IF C$="R" to 60020, however, once a program is ended, BASIC
IFASC(C$)=10. thinks all files are closed. By poking a one into
60030 This line reads and prints each program line onto register 174, the program is telling BASIC that
the screen. It first prints C$ and if C$ is not a one file is still open. The cursor positioning in
ADDRESS
C l
MITE 2
aln name/flflfltcsB lUts »ith non-print"ng phone *.
ti In natural fnrmat. F>evlenT edit, snrt Cj
t*, Snartri c* y, print, racnrfl
LETTER MITE 2
Edit, Dili! lUTiunaliies Ittteit using tt.lj from WORD MITE !. line 60020 keeps the program lines printing at
Insert first, last, full nntiea, adciri-^es Into te/l rrc ADDRESS
mme ; fI lei oc keyooitd. Print »itn ru 11 wohd hite 2 options. the same location on the screen, and allows the
LIST MITE 2 carriage returns in line 60070 to occur at the
Create general Hits of items ultM yuur nun entry format.
read MlH on tand/iJL»k. Display, edit, selectively print;
Mite,
rearch
correct locations.
By KEY or BOtOi sort list. U50 far inventories, collections, etc. Essentially this program will take the sequential file,
Each- on Tape $14.95, Disk $16.95 print it to the screen, and at the carriage return enter the
program just as if you had typed it in by hand yourself. The
°* NEWSLETTER PACKAGE $39.95 computer takes the print to the screen and tokenizes it
Con lain * WOOD Mill , flOCRI'.'. mi = f . LLMLP MITE , plus flato sioraqe.
into a BASIC program file and Voila! your sequential file is
Availanlc tax Conmouort 6fl" and VJC ?0^< pith b«* nri tane or dl^J<,
now a program file. Remember, however, the file transfer
Alan far VIC 2C"i- 5K* or, tnott, VIC '* or Inter std.; Ml so for RS-232.
5PECIFV version ana tape or disk, senfl cnech or MO; COD,12 extra.
from CompuServe to your computer is not error-free.
Therefore you may have to debug a little bit to eliminate
MORE" Write for catalog* Quantity discounts. Customizing.
• CDW33DPE 64 inrj VIC 20 are tisdeiwkt of Ca-rnQiJ^re Elcc".rc;nlc5 Ltd.
those errors that were induced over the phone lines. But
this is a lot easier than retyping the file on your own.
NELSON SOFTWARE The program that you just converted is stored in the
memory of the computer. List the program to make sure
2232 Ogden Ct., St. Paul, MN 55119 it's there. The last few lines of the program will be the
dynamic file translator program, because the line num
(612) 738-1080
bers are large (60000). If the line numbers were lower
the translated program would probably write over the
file translator program. Delete those last few lines and
• • • PROGRAM AUTHORS • * • then save your program file.
Little Wizard Manufacturing pays jhf highest royalties in the Lfniled Those of you who want to pull off a sequential file that is
Statas (or Ihe rights to duplicate quality programs. II you Itilnk you in assembler will find the dynamic file translator program
have i super program, lor any micro computer, give us a call and let is of no benefit to you. Your best bet is to use an editor that
us show you our program. You'll be glad you dldR! 1414(968-2558
operates on a sequential file, then process the edited file
through an assembler and last through a loader. This will
COMMODORE 64"and VIC-20'" Programs give you a program file that you can use on your machine.
VIC-20'M(cassc'tte) Commodore 64™ (cassette) Right now Commodore is working on several projects
that will make many more programs available to our
Chimp Chase Trip & Party Planner
telecommunications enthusiasts. We'll be adding two
Blasteroids Cribbage
Cosmic Crusader Twist 64 more sections to the Commodore Information Network.
Allied Defense Tronic Cycle 54 One will contain over 600 public domain programs for
VIC Amortizaiion Carnac Caverns the whole Commodore computer line, all of which will
VIC Twist Mail It 64
Trip S Party Planner
be free to anyone caring to download them. The other,
Super Sprite
Alphabet Soup Stock Master Commodore Softex, will offer programs for sale. Both of
Cribbage these new sections, however, will require that you have
Tronic Cycle special software in order to download the programs.
Commodore 64™ (disk)
Fire' Fire'
Ultimate Tank (8K)
The software you'll need will have to incorporate
Cribbage 64
Cosmic Crystals Carnac Caverns what are called "B protocols". At the moment, the soft
Mail It 20 (8K) Mail It 54 ware supplied with your V1CMODEM does not use these
Mail It 20 (Disk} Super Sprite protocols, which is why you need the VICTERM PRINT and
Rebel Defender (8K) Slock Master
Pro Football (BK|
File Translator programs. They give you away around the
Microtexl (Word Processor)
Camac Caverns (16K) Payroll Master B protocols. But wait...some time in the future you'll be
Stock Master 20 (BKl Write for your FREE cjufaf- lodayl seeing the release of two software packages that DO use B
Our games are in at least 75% Machine Code, and have HI-RES protocols: the Executive Terminal package (for CBM. PET
multi-colored graphics to give them arcade quality, also and Commodore 64 computers), which will be available
making them fast, taster, fastest! from CompuServe, and VICTERM 40 (for the VIC 20), from
Commodore. Then you'll be able to download program
Little Wizard Manufacturing
files directly, ready to run. c
P.O. Box 152 • Milwaukee. Wisconsin 53201
"Commodofi1" & "VIC iO" ,iri* rr.KlrnurLMjK'oriimodoK'Electronics Ltd
VIXEL
For Fun and Learning
by John Watkin
The three-volume VIXEL series of graphics and game simply hitting any of the color keys. Draw enables you to
programs boldly stands out in the sea of available VIC 20 back up, erase, or delete lines and you can even save your
software. These entertaining and educational volumes creation on tape if you wish.
fully exploit the VIC's animation, graphics and sound The Arcade-Style Games Fire, Safari, Warp, Rail
capabilities. In addition to the exciting games and helpful and Race are all hi-res, arcade-style games that challenge
graphics, VIXEL is a great tutorial software package due to to differing degrees the VIC user's game-playing dexterity.
its superb technical documentation and to the fact that the All the games use some machine language routines to
user is able to list the programs. The three VIXEL volumes speed up the action.
include the following programs: Fire's an exciting game in which the player must
Volume One Volume Two Volume Three maneuver a helicopter over burning apartment buildings
Cover 1 Cover 2 Cover 3 and drop water on the spreading flames. The helicopter's
Fire Safari Warp water supply must be replenished frequently from a nearby
Draw Superfont Fifteen water tank. While the pilot reloads, the flames continue
Race Quix Rail (needs 3K or 8K) to spread throughout the buildings. The player races the
computer head-on in trying to douse the flames. Fire's
The Cover Programs Each of the three VIXEL
only drawback as an arcade-style game is that the action
volumes is introduced by a cover program. These brief
is not quite fast enough. Despite this minor problem, Fire
programs are brilliant exercises in animation. When they
will be a popular addition to your game library.
are run, VIXEL's hairy little mascot dances across the
screen dragging the title of the volume behind him. Each Safari requires the player to stalk the African jungle
cover is different, and each is better than the previous. The and shoot photos of wild animals and natives. This pro
cover programs use imaginative hi-res graphics combined gram involves some great hi-res graphics; the natives that
with creative sound effects to produce three of the finest run to and fro are truly artistic creations. Safari plays at
displays of VIC animation to be found anywhere. about the same speed as does Fire, but again, it could be
faster. The animals in Safari are great examples of the
The Graphics The graphics programs included in
VIC's graphics capabilities. Safari is certain to be a hit.
the VIXEL series are Superfont and Draw. Superfont is
an invaluable aid to programmers who create their own hi Rail is an intriguing game in which the player must
res graphics. Using a joystick or the keyboard, you can guide several trains through a train yard filled with rail
design your own hi-res characters on the large work screen switches and other trains. The keyboard is used to flip
either one at a time or in blocks of four. The program then track switches to prevent collisions between trains. The
will convert your creation into data statements to be used goal of this tricky game is to get your train from one side
in your own programs! This is one of the easiest, most of the screen to the train depot on the other side. Once
enjoyable ways of designing programmable characters you successfully get your train through the yard, another
available to the VIC user. No programmer should be train is added and you must guide two through simultane
without Superfont. ously. If you master the game, you will eventually be able
to steer eight trains successfully to the depot. Sound easy?
Draw is not as much a programmer's aid as it is an
addicting toy! Do you remember the Etch-a-Sketch you Not so! Rail is an exciting game that requires a lot of
played with as a child? Well, Draw can be described best practice to master.
as a multi-color, electronic Etch-a-Sketch. Either a joy Race is a simple little game in which you race your car
stick or the keyboard is used to move the line around the around a circular track avoiding the computer-guided
screen. The color of the line can be changed at any time by oncoming cars. The simplicity of Race makes it a good
game for the young kids around the house. For adults, ii
Race will serve as a fun diversion. We're
Of VIXEL'S five ;ircade-sty!e games, Warp is by far the
best. It is challengingly difficult and it rarely becomes
boring. In Warp, the player, using a joystick, must man
Glad You Asked"
euver a spaceship down into a winding tunnel. The far Winter, 1982
ther he proceeds, the narrower the tunnel becomes. If the
spaceship careens into the tunnel wall, it is destroyed and
the game ends. Warp is a refreshingly simple game, yet at
A method for disabling the RUN/STOP key was pre
the same time it is intriguing and challenging. Warp re
sented in the Winter 1982 Power/Play question and answer
quires a lot of skill and patience to master. It is a simple
section. The procedure is to POKE 788,194 to disable the
matter to become addicted to Warpl
key and POKE 788,191 to re-enable it. A side effect of using
The Puzzle Games The VIXEL series includes two this is that whenever the RUN/STOP key is disabled the
puzzle games that test your logic and recall skills. Quix real time clock (Tl and TI$) is also disabled. This is unac
is a game in which the computer presents a random se ceptable for some applications which need the real time
quence of color and sounds that flash in four boxes on the clock (such as home sentry programs which turn lights,
screen. The player must then repeat the pattern by hitting alarms or coffee pots on and off).
the corresponding function keys. As the game progresses, A second method can be used to disable the RUN/STOP
the patterns get longer. Soon, the player is frantically key without this side effect (although it does have its own).
hitting function keys, trying to remember the last pat You can disable the key by using POKE 808,109 and re-
tern. Quix is an enjoyable game that will appeal to both enable it by using POKE 808,112. The real time clock runs
young and old.
as normal now, but.... The side effect of this method is
In the game Fifteen, the screen displays a large square that the program won't LIST properly until the POKE
filled with fifteen randomly numbered squares. The object 808,112 is performed.
is to "slide" one square at a time until the numbers are in
sequence. The player can slide a square by pushing the
joystick in a given direction. Fifteen is a clever and crea
tive application for the VIC 20. The game is designed very
well and is a fun challenge, The
The Documentation Thorough, professional
documentation accompanies all VIXEL software. The VIC Magician
documentation includes both a layman's guide to the
programs as well as technical outlines of the programs Winter, 1982
themselves. These technical descriptions are very valuable
to the programmer who wants to decipher and learn from
the VIXEL programs. The software is not protected so the The very last line of that article, which is a program line
user can list and study any of the programs. This combina that is supposed to produce a beep, is wrong. It should read:
tion of listability and documentation is by far the biggest
35 POKES3,200:FORT=lTO200:NEXT:POKES3,0
selling point of the VIXEL software. Few software companies
can match VIXEL'S superb technical documentation.
VIXEL software belongs in every VIC 20 user's program
library. The wide variety of games and graphics will appeal
to everyone from young kids to serious programmers. Un
Tele/Scope
like much of the software currently available for the VIC 20, Spring, 1983
the VIXEL programs are easily listed. This advantage, in
accompaniment with the superb documentation, will prove
to be a great asset to the programming crowd. VIXEL
In the program listing on page 88, line 385 should read:
Volumes One, Two and Three are available from The
Code Works, Box 550, Goleta, CA 93116. Their number 385 IF ZT=0 THEN OPEN 4,4,7:PRINT #4,
is (805) 683-1585. The price of each volume is S12.95. c RTSRTS
For those of you who conquered the little tiny listing of the program that didn't nearly work. Here are the
and typed in the Deflection program from the Winter lines to change:
issue, more pitfalls. A routine was included at the end
If you set the speed control to a number higher than time. You can correct this by changing to this new version
the recommended 10, the ball flickers on for only a short of line 3300:
3300 P0=NP: POKE Q0,NP: POKE P0,81 FOR Q5=l TO Q4*5: NEXT: Q0=P0:
GOTO 1900
Also, since we've had a number of beginners frustrated Commodore computer. Look at lines 1050-1052. Pick your
by the marginal legibility of that program listing, we machine and eliminate the words REM and the computer
thought we'd give everybody another crack at it. So here name from that line. That will set the factors for your
it is, in its entirety, with corrections. particular computer.
For those who are new, this program will run on any
RFM—REFLECTION #9 BV NEIL.
1058 REM CBM SSB327S8! 140*85:HT=23:SE"=^S+UD*HT-1:PQKE59^68> 12
1051 REM PET SS*K?(58:WD*'*0:HT™tOK5S6ilS
1052 REM VIC SS=7680:W3ss22:MT=23:SE«>SS
1100 Z»-10!
£203 IFLEFT*(R*j1>="¥"THEM4300
1750 P0RL=S
1800 p=0:T*
1980 NP^PO^
PARATROOPER Bvn,c£w
REALISTIC SMOOTH ACTION AND TRUE Hi-RES GRAPHICS
1st Prize
CBM64
2nd Prize
Disk Drive
3rd Prize
$200 worth of Software
4th - 10th Prize
$100 worth of Software
m o
oo 0
■o. o
0
OMMODORE 64. ONL
Q,
'a, 0,
What-nobody else can give you at twice the price
■ ■ O A .
ao o 'o,
o
o
'O (> o, o 'o o,e •,
•
MICROPHYS PROGRAMS have been used successfully in school and colleges
throughout the country. Now, this educational and recreational software
is available for use in your own home.
CASSETTE
The Microphys catalog is available from leading stores and computer dealers
or you may phone or write to:
MICROPHYS PROGRAMS
MARKETING DIVISION
1737 West 2nd Street
Brooklyn, New York 11223
(212)375-5151
Company:
Tronix Publishing, Inc.
8295 S. La Cienega
Inglewood.CA 90301
213-671-8440
Product:
Three games for the VIC 20—
Deadly Skies: A "shoot 'em up" in
Flash Corilnn
which the player has a squadron of
Company: Wayne, NJ 07470 bench allow for pinch hitting and relief
COMPUTER:applications, Inc. 201-696-3296 pitching. Football Adversary: Places
13300 S.W. 108 St. Circle Product: you in the role of head coach opposing
Miami, FL33186 Zoriok—Adventure game for the the computer. A selection of 31 plays
and displays of halftime/game statistics.
Product: VIC 20 with 8K expansion, [inter the
castle of Zorlok the wizard, wipe out Requires 8K memory expansion.
Two games for the VIC 20—ZAP!:
the plague of monsters and regain his Price: Baseball $10.95; Football $14.95.
Witli keyboard or joystick, players
work their men up the many levels of treasures. Multiple skill levels. Company:
corporate structure while avoiding the Price: $39.95 Computer Software
obstacles that can zap their chances Company: Associates, Inc.
for success. KEYQUEST: Explore the Parr Programming 50 Teed Drive
many levels of an ancient dungeon 2664 Tyler Street Randolph, MA 02368
while gathering valuable treasures and 617-961-5700
Gary, Indiana 46407
gaining experience points. Destroy mon 219-885-0611 Product:
sters and search for the key to each VIC-PAK #1—Seven basic pro
Product:
dungeon level. grams for the VIC 20 on cassette.
Two sports strategy games on
Price: $29.95 each Mortgage allows the user to find
cassette for the VIC 20—Baseball
Company: Adversary: Make tough managerial the unknown variable for principle,
MicRo Information Systems decisions against your computer monthly payment, term and annual
P.O. Box 73 opponent. Additional players on the interest of a mortgage loan. Elements
provides a short quiz on naming the
chemical symbol associated with each
of the chemical elements. Statistics is
a brief introduction to the VIC 20 as
a sophisticated calculator. Calendar
products any calendar month from
1 A.D. to 9999 A.D. Marblestat illus
trates the computer's ability to imitate
real life events via programming.
Expectancy calculates a rough esti
mate of the user's life expectancy.
U-Draw allows you to draw simple
blocked graphics in eight colors.
Price: $19.95
FIVE POWERFUL SOFTWARE Company:
DEVELOPMENT TOOLS Scholastic, Inc.
730 Broadway
Plus Zhe Smtittg J\\iv Hook New York, NY 10003
212-505-3000
INSIDE THE COMMODORE 64"
Product:
THE BOOK THE TOOLS Family Computing—A national
A complain clear eiplsnaUon of machine Asserncier/EdMcrJLoadortOecodar,MonNor
consumer magazine aimed specifically
lunguago, Aa&ambly lanrjungo. CommoiTmo 6* FulMeatured Assembler allows use of labels,
architecture, graphics. Joystick and sound eflecE comments and arHhmeilc expressions lo create at families with home computers, to
programming. Detailed alepby-slep guide to Ihs machine language programs. Create, save,
use ol Iho development Icols. How lo combine modIIy Assembly IflnguBQO programs with l-he be published monthly beginning in
Editor. Load end link machine language modules
BASIC and
cartridges,
machine language, make auto-atart
interface with trie Internal ROM- with the Loader. Decode machine language beck
September, 1983.
based programs of BASIC and the Kernel Inlo assembly Fanguage for aludy or input lo (he Price: Single copies $1.95; year's
Sample programs fully explained. Editor. Singie-aEep program execution with I he
MonHor Combines Assomblflr/ Editor for maxi subscription $17.97 C
mum onso ol USD.
ALL FOR $54.95 PLUS S2.00 POSTAGE AND HANDLING Add S5.00 lor disk »»ralon.
Send chock. M.O., VISA/MC (12.00 S.C.) or specify C.O.D. (add S3.00) to:
507-263-4821
r*gmt"d TV o
Order Order
Number Product Name and Description Number Product Name and Description
COMMODOREPOWER/PUYSummeM983 103
commodore
product list
Order Order
Number Product Name and Description Number Product Name and Description
peripheral to any PET/CBM computer. 500052 Atlas 1200 Service & Maintenance
PET-IEEE 500053 Titan Job Cost System
500060 Freight Rating and Invoice
Used for connecting one peripheral to
900040 I.R.M.A. II (Information Retrieval &
any PET/CBM computer.
Management Aid)
500100 Commodore Ceneral Ledger
Accessories
500101 Commodore Accounts Receivable
CT 500 Commodore Computer Desk
500102 Commodore Accounts Payable
26" x lVa'T-moldingvvith rounded
comers; heavy steel legs with adjustable
leveling glides; typewriter height with Commodore Marketed Applications Software for
a ventilated shelf for the disk drive. the Commodore 64 Business/Education
VIC 1311 Joystick for VIC 20 and Commodore 64 600001 EasyCaic 64—Electronic Worksheet
VIC 1312 Paddles for VIC 20 and Commodore 64 600002 EasyPlot 64—Prints charts & graphs
VIC 1600 VICMODEM 600003 EasySchedule 64—Schedules time
Telephone Interface Cartridge. Lets & resources
VIC 20 & Commodore 64 owners com 600004 EasyFinance 64—Analyze financial
municate by telephone, access tele opportunities
computing and timesharing service. 600005 EasyFile 64—Database (define, edit,
Includes VICTERM I program on tape. enter, retrieve)
Plus FREE CompuServe Subscription. 600006 Easy-Script 64—Multi-function
VIC 1525 Printer Paper wordprocessor
1000 Sheets 600008 Word/Name Machine—Simple
Peripheral Compatibility... wordprocessor/mail list
CBM Peripherals can be used with the PET, CBM, and 600009 EasyMail 64—Full feature name &
SuperPET range of computers, and also with the VIC 20 address program
and Commodore 64 computers if a special IEEE cartridge 600010 PET Emulator—Allows use of PET
is purchased. software
600011 Easy Lesson/Quiz. 64—Create/
Administer test quinx.es
Entertainment
Commodore Marketed Applications Software 600050 C-64 Avenger
600051 C-64 Jupiter Lander
for PET/CBM
400010 TCL Pascal version 1.6 600052 C-64 Road Race
600053 C-64 Omega Race
400020 Assembler Development
400030 Integer Basic Compiler
400040 CMAR Record Handler Special Documentation
400050 UCSD Pascal (without board) Commodore Software Encyclopedia
400060 PETspeed R4SIC Compiler A catalog of over 1000 software
500010 OZZ—8050
programs, books, and interfaces
500011 OZZ—4040 from Commodore and third parties.
(406 pages)
Order Order
Number Product Name and Description Number Product Name and Description
Order
Numhsr Product Name and Description
Book Of VIC.
The editors of COMPUTE!
J.imes P
Magazine - the leading resource for
Lyle Jordan
the VIC-20 - gathered together the 103 Amortize ■ Wayne Kozun
best VIC-20 articles published since 106 Append ■ Amihai Gla?er
the summer of 198) and added 109 Printing The Screen Wayne Kozun
some new material. The result is
113 The Confusing Quote C D L*ne
115 Alternate Screens ■ Charles Brannon
more than 200 pages of valuable 119 rimekeeprng . -Jim Butterfiefd
information - information that goes 125 Renumber BASIC Lines The Easy W.iv Kt'IE"
beyond the instruction manuals. In '</ Auiomatic Line Numbers Charles H GouW
the COMPUTE! tradition, it is care
129 Pulling The Squi'e/e On Your VIC-20' J'm Wl|c°*
Gemng The Most Out Of 5000 Bytes"
fully edited to be easily understood ■ *rl An E^twi U/jv/ TVi DnN-,^-..,,ui^-n SteinJey rVl Bt?rUr\
and useful for beginners and experts
alike. Greg and Rosi Sherwood
Available at computer dealers and bookstores nationwide. To order directly cali TOLL FREE 800-334-0868.
In North Carolina call 919-275-9809. Or send check or money order to COMPUTE! Books. P.O. Box 5406,
Greensboro. NC 27403.
Add S2 shipping and handling. Outside the U S ddcl S5 foi <iir mail. S? lor surface mail. All orders prepaid. U.S. funds only.
VIC-JO is a trademark of CommodO'e Electronics Limited
■ ■=■--■ -'^™--- .■
*
-
Z commodore
1200 Wilson Drive
West Chester, Pa. 193B0
Addross Ccmoclion Requeslod r :
» ■ N
N.
*