COMPUTE'S
$2.50
May 1984 ©
Issue 11 Vol. 2, No. 5
02220 El.95 UK J3.25C<.nado
Sound SpeedScript
Sculptor Revisited
A comprehensive, Tips on advanced
menu-driven utility uses of the GAZETTE'S
that takes all the favorite word
work out of pro processor.
gramming and
saving sound on the
64. Simply use the
joystick-controlled
"mouse" and the
function keys to
select any sound
parameter.
^■^■^^B
The Assembler
for the Commodore 64
LA
o.
1 W-t" H?,
Dealer Inquiries Invited
1-800-222-7105
InCA 1-800-821-7644
mi
fin
tT
I
■-y&Zfr:
--■:•'_-■■
■ -::
:■■;>:
CORPORATION
'■:■■
»>j
i^
Commodore 64 disc retail price: $29.95
Commodors Is a Iradsma'K ol Commodore Electronics, Lid.
VIC 20 Is a Irademark ot Commodore Electronics, Lid.
VIC 20 cassette retail price: $15.95
m In CA 1-800-821-7644
•*■■:■
Its new! BUBBLE BURST™ Ifs new! ALF in the Color Caves":
is bursting with fun! a colorful adventure!
Ages 4 to 8. Ages 3 to 6.
Soapie the Sea Serpent is This cheerful game lets children
counting on your kids to keep the guide lovable Alf through the color
pesky Zeobingers from spoiling her caves to the color room at the bot
bubble-bath fun. tom where he dances to his own
And while children are helping special music.
Soapie, they're developing strategy and As kids maneuver Alf through the
prediction skills plus an understanding maze and past the Wuffiegumps,
of cause-and-effect relationships. they're improving their routing and
|f BUBBLE BURST provides hours of prediction skills. And the enclosed
1 S&fun - and it comes with a workbook activities workbook offers a rainbow
of challenging projects. of colorful projects!
^
PARENTS,YOU WONT
SPINNAKER GAME.
KIDS ON
The story of STORY MACHINE." DELTA DRAWING." Have fun KIDS ON KEYS" helps kids
Ages 5 to 9. creating pictures and computer catch on to letters, numbers-
STORY MACHINE is like a story programs. and computers.
book come to life. Using the key Ages 4 to Adult. Ages 3-9.
board, your children write their own Kids love to draw. And DELTA KIDS ON KEYS offers children
fun little stories. The computer then DRAWING Learning Program lets three terrific games that teach them
takes what they've written and them enjoy creative drawing and the location of the letters and num
animates their story on the screen, coloring while they learn computer bers while they have fun with the
complete with full color graphics programming concepts. computer.
and sound. With DELTA DRAWING,even The games are fast and fun, with
STORY MACHINE helps your chil kids who have never used a computer exciting sound effects and colorful
dren learn to write correctly, become before can learn to write programs graphics. It's a great way for kids to
familiarwith the keyboard,and lets and build an understanding of proce enjoy learning to identify numbers,
them have fun exercising their crea dural thinking. It's easy.clear, and letters, and words and associating
tivity at the same time. lots of fun! them with images on the screen. And
KIDS ON KEYS certainly do have fun!
'- 9V9^^H
mTHIC C A MF OkaV- boss- now wh3t d0 we d0? Researcn & Development is work-
I III* wHIVlE/ ing 'round the clock coming up with new products, the warehouse
1*1V- it Ii:*] i!lit i« * »i-1 -1* iit '■ it tftii.' *= [*
customers are lickle. and the competition just slashed their prices.
CREATIVE SOFTWARE
vie-so Mi) coMuoooitctfj miimtwmsofQoimmmiuciimtcs no ibmpc *hd k»•arcrs«f»MH«so*wrf»w»wi juswessu*.wms me
May 1984 Vol. 2, No. S
mm
Exploring 64 Sound Selby Bateman 18 64
Inside View: Will Harvey, The Programmer Behind Music Construction Set Kathy Yakal 34 *
SpeedScripl Revisited Charles Brannon 38 '
Sound Sculptor For The 64 Todd Touris 46 64
DUCATION/HOME APPLICATIONS
ONS
Computing For Families: New Standards For Home Learning, Part 1 Fred D'lgnazio
Memo Writer Mark R. Brown
Fast Add J.C.Bye
Ski Physics Gerald and Betty Schueler
PROGRAMMING M ■■■
The Beginner's Corner: Teaching Music With Computers C. Regena
Hints & Tips: Speeding Up BASIC Robert Friessen and Ramunas Motekaitis
Cassette Beeper Don Brady
Machine Language For Beginners: Mods And Bombs Richard Mansfield . .
Sound Story Bruce Bartlett
Joystick Control For The 64 Sterling N. Augustine
Print Sound For The VIC-20 Alejandro A. Kapauan
ARTMENTS HrW™™MfflB5aMH^^H
Editor's Notes Robert Lock
Gazette Feedback Editors And Readers
Simple Answers To Common Questions Tom R. Halfhill
User Group Update Kathy Yakal
Power BASIC: Step Lister E. A. Cotlrell
Home Telecommunications Robert Sims
Horizons: 64 Charles Brannon
VICreations: Sound On The VIC-20 Dan Carmichoel .,
News & Products
_
PROGRAM LISTINGS
Bug-Swatter: Modifications And Corrections ....
The Automatic Proofreader
A Beginner's Guide To Typing In Programs
How To Type In COMPUTEI's GAZETTE Programs
Program Listings V/64
First things first... As I write this, chided us for raising the notion letters. We should comment
the final master copy of the May of protecting our disks while now, however, on one point
GAZETTE DISK is going to the du concurrently running ads for that a few readers have raised-
plication service. For a variety of programs designed to back up public domain software.
good reasons, we have decided disks. It does get confusing. I don't know why, but some
that, initially at least, it will not Software vendors currently have readers assume that if a program
be protected. We made that de the right to protect programs on appears in a magazine, it be
cision several weeks before a disk, and the market in large comes "public domain," thereby
recent flood of letters started part helps determine their back leaving the realm of copyright
coming in as a response to my up policies. Users, on the other law. We hold copyright on al
last editorial. I should say I'm hand, have the right to make most all of the material we pub
gratified to discover that so many backup copies for their own se lish; very little of what we pub
of you read the Editor's Notes. curity/use. The catch-22 is that lish is placed in public domain.
The first two letters arrived seven while some users may use such The "publication" of a record
working days ago... the torrent programs to generate "bootleg" over the airways no more places
escalates; we're into the hun copies of programs, far more it in the public domain than the
dreds now, and as promised, users use them simply to gener publication of a program in the
I'm reading them all, some of ate backup copies for their per GAZETTE.
them several rimes. sonal use. We therefore do accept All in all, the letters and the
We're a few issues (and I and publish what we consider to thoughtfulness you've shown in
suspect several thousand letters) be legitimate advertising which responding are impressive {re
away from my sharing much of allows a user to do just that. gardless of the positions taken).
the substantive content of these So the biggest topic area so Another frequent comment is
letters with you, but I've held up far has been the need to make the notion that the price is quite
this issue's Notes as long as pos personal backups; the need to be fair, and that service will even
sible to collect as many letters as able to group programs onto dif tually win out.
I could. There have been numer ferent disks for various uses; and Finally, here's a quote from
ous arguments, both for and especially the need to be able to one letter's closing lines. It's
against protection. The most alter, enhance, and generally indicative of the opening/closing
frequent argument against pro have a good time "fiddling" comments of many of you, re
tection is the necessity not only with the code. gardless of your positions on the
of backup copying but also the Also, some people were subject at hand.
desire to have the disk reflect quite surprised that anyone "You guys do good work.
the flexibility and tutorial nature would copy the disk to share; Keep it up."
of the magazine. That is also some felt it's perfectly legitimate Thanks. We intend to.
our desire, and probably the among friends; and some
foremost reason for our deci strongly argued that they can
sion to carry through with our hand out copies as desired (this
original inclinations and goals: last group is a small minority,
no protection. and contains the bulk of the un
The other arguments are far signed letters). At this point, I'm
Editor In Chief
more mixed, and in this editorial just reporting the contents of the
we'll present some of the various letters rather ihan responding to
points raised. One frequently the points raised. Part of the
recurring point is that users have deal from this end is that we
a right to back up their disks, a want to collectively put as much
point we clearly agree with (as time and energy into developing
does the 1980 amendment to the a perspective on GAZETTE DISK as
Copyright Act). Some readers many of you have put into these
TheScarboroughSystem
^^■M ^^W ■ ■ ^^W ■ You'll tjra*, within*.
Sales Representatives PET, CBM, VIC-20, and Commodore 64 are trademarks of Commo
Jemp Thompson 415-348-8222 dore Business Machines, Inc., and/or Commodore Electronics Limited.
Phoebe Thompson 408-354-5553 Other than as an independent supplier of quality information and
JoAnn Sullivan 619-941-2313 services to owners and users of Commodore products, COMPUTE!
Ed Winchell 213-378-8361 Publications, Inc., is in no way associated with Commodore Business
Harrv Blair 919-275-98U9 Machines, Inc., or any of its subsidiaries.
WordPro 3 Plus"764 and SpetlRight Plus'" provide a total word SpellRight Plus locates and highlights misspelled words and
processing solution for the Commodore 641" which gives you: then allows you to quickly correct the misspellings —
Sophisticated Word Processing improving the quality of your letters and reports.
Built-in Mail Merging for Form Letters And, best of all, WordPro and SpellRight's powerful arsenal
Math Functions for Column Totals of features can be put to use almost immediately — by even
Fast and Complete Spell Checking via SpellRight Plus the novice user. So whether you're a student, professional
A Super Value {two programs) for Only $99.95! writer, in business, education or a hobbyist, you'll quickly
WordPro and SpellRight are both specifically designed for the become a WordPro Pro!
novice user with no computer or word processing experience Both WordPro and SpellRight Plus are also available separately
whatsoever. And with over 40,000 WordPro versions sold, you at popular computer outlets nationwide.
can be sure that WordPro is a very sophisticated word
processor loaded with powerful features including: Transfer,
Invest In the best.. .WordPro Plus. In a class by Itself.
Insert, Delete, and Rearrange Text, Auto Page Numbering, Math
Functions, Headers. Footers, Global Search and Replace, the
Ability to Create Multiple Personalized Letters and Documents,
and much more. WordPro can create documents of virtually Professional Software Inc.
any length and will print up to 165 columns wide. You get all of 51 Fremont Street (617) 444-5224
this PLUS fast and complete spell checking using SpellRight Needham, MA 02194 Telex: 951579
Plus!
Dealer and Distributor inquiries are invited.
WordPro 3 Plus'*/64 and SpellRight Plus™ are trademarks ol Professional Software Inc.
The WordPro Plus Series was designed and written by Steve Punter ol Pro-Micro Software Ltd.
SpellRlghi Plus was designed and written by Dwlghi Hull and Jos Spaiafora of SpellMaster Systems, Inc.
Some printers may not support certain WordPro 3 Plus (unctions and/or require an Interface. Please check with your dealer.
Commodore 64" is a trademark of Commodore Electronics Ltd.
GAZETTE FEEDBACK
EDITORS AND READERS
Do you have a question or a problem? Have a 0.005 ,uF capacitor would pass almost all of the
you discovered something that could help other chroma signal, but less than 10 percent of the
VIC-20 and Commodore 64 users? Do you have luminance component.
a comment about something you've read in Again at Radio Shack I discovered a very
computed gazette? We want to hear from you. small 0.005 fiF, 50 volt disk capacitor (catalog #272-
Write to Gazette Feedback, computed gazette, 130). I placed this capacitor in the DIN connector
P.O. Box 5406, Greensboro, NC 27403. between pin 4 and the wire to the red phono plug.
This arrangement gives almost perfect perfor
mance and the scope confirms good separation of
Color Connections On chroma and luma.
Commodore Monitors From other letters to the editor that I have
I know that many people have had trouble con read, I suspect that this problem also exists in
necting Commodore's 1701 color monitor to the some VICs and possibly in some of the newer 64s
VIC-20 and the 64. I have read several suggestions with the eight-pin DIN connectors. A quick test
on this, but when I recently purchased a 1702 would be to plug the red chroma phono plug into
monitor (updated version of the 1701), I found the yellow luma plug input on the back of the
that neither Commodore's instructions nor the monitor. The picture will be very washed-out in
past suggestions went far enough. appearance and low in contrast, but you should
The 1702 is apparently identical to the 1701 look for horizontal or vertical rolling only. Also,
on the outside, and the electrical connections are try plugging it into the yellow video input on the
also identical. A cable was supplied with three front. If a stable picture results with either of these
phono plugs on the monitor end (white, yellow, hookups (no horizontal or vertical rolling), your
and red), and an eight-pin DIN plug on the com computer has sync and video mixed with the
puter end. Since my year-old 64 has a five-pin chroma on this output and you should try the
DIN plug connection for the monitor, I first pur 0.005 fiF capacitor in series with pin 4 of the five-
chased a five-pin male DIN plug from Radio Shack pin DIN connector or pin 8 of the eight-pin DIN
(Catalog # 274-003) and consulted the Commodore connector.
64 User's Guide for the proper pin connections. If you are not experienced and equipped for
Using this modified cable, I connected to the soldering small assemblies like this, I strongly
three phono sockets on the rear of the monitor recommend that you have a qualified technician
and tried it out (this is the "best" hookup accord perform these changes.
ing to all that I have read). I was disappointed to
find out that although it worked well with some I
colors, other bright colors like yellow caused the
monitor to revert to black and white.
Being a TV engineer, I broke out my scope
and started to examine the signals. The video
signal (pin 4 of the DIN connector) was a combi
nation of about 25 percent luminance and 75 per
cent chrominance. Since I was feeding this into
the chroma input of the monitor, it seems that the DIN
Pin Pin PLUG
luminance component was upsetting the color
circuitry. Breaking out my calculator, I found that Edward P. Alciatore III
10 COMPUTE!'s Gazette Mayl984
Handle —A Complete Line
ofProducts to Keep Your
Commodore 64 Busy
-Everyday!
Develop your bridge
skills
Whether you're an experienced bridge
player or a beginner, polish your skills or
learn the game with BRIDGE 64. Play
North-South, then switch to East-West in
the same deal, the return to that deal again
Handle your home and test your skill with a different strategy.
A complete database
budget, stock portfolio, for the home
loans and mortgages Addresses, telephone numbers, appoint
ments, birthdays, or records-whatever you
with Calc Result want to remember-put it on DIARY, an
Calc Result Easy is a simple-to-use spread electronic notebook for home use. DIARY
sheet program for the Commodore 64. It comes on a plug-in cartridge. Its easy to
includes 254 lines X 64 columns, built-in use and easy to learn, giving you the
graphics, and flexible printout formats. flexibility to design a personal calendar
Plug-in cartridge... just plug it in and its or address book.
ready. Perfect for cash flow analysis, perso
nal net worth, IRA analysis, travel expenses,
credit card expendilures, gas and elec
tricity bills, etc. Bridge $39.95
Handle—for the
broadest range of
Commodore products
As the largest independent developer of
Commodore software and accessories,
Handic's broad range of business, educa
tion and recreation products are designed
Diary $29.95 exclusively for the Commodore user who
demands quality and reliability.
lorn statistical
information into
Calc Result Easy $49.95
graphic format
Calc Result Advanced gives you 32 pages of GRAF 64 converts mathematical functions
interrelated information. The three-dimen into graphical analysis on the Commodore
sional feature allows you to consolidate 64. An ideal program for studying math.
calculations in summary format. Calc Re Define a function, set the limits of an axis,
sult Advanced comes on plug-in cartridge plot a graph and display the extreme For more information and a catalogue of
and disk. Disk drive required. points, intersection values, etc. I our products, see your nearest Commo
dore dealer, or call us direct.
Software of Choice
Advanced Ideas (formerly Computer-
Advanced Ideas) leads the industry with
programs designed for extendability
through easy-to-use authoring systems
and a unique library of LearningWare™
diskettes. Rich game play and sound
educational design have won Advanced
Ideas programs the approval of the
National Education Association.
Ask to see a demonstration at your local
computer store.
Then make
Advanced Ideas
a tradition in
your home.
1fAdvanced Ideas ™
Bringing Ideas Home
2550 Nintn Street Surte 104 Berkeley, CA 94710
1415)526-9100
deas programs are compatible with ihe most popu
lar computers1 Apple. ■ IBM* and Commodore.™
Aople is a registered trademark of Apple Computers. Jric IBM is
a registered trademark of IBM Coip. Commodore ,s s trade
mark oi Commodore Business Machines. Inc.
more than one ROM cartridge at a time. The mother or LOAD a program. Is there any particular place
boards plug into the expansion port and then can to put that name in a BASIC program? How do
accommodate two or more ports to accept cartridges. you get a program name into a machine language
The deluxe motherboards offer the option to switch program?
in or out the various expansion port outlets. For ex Donald Kaja
ample, if you hud five favorite cartridge games you like
A program name is optional if you are using a cassette
to play, [/ou could plug the motherboard into the com
drive. It is, however, a good idea to name your programs,
puter, and then plug in the five game cartridges (as
especially if you are SAVEing more than oneon each
suming it had at ieast five slots). You could play game side of the tape.
one in expansion slot 1. If you wanted to play game two
Disk drive users have no choice; they must name
in the second expansion slot, i/ou would turn off the
each program they LOAD or SA VE. The name can be
computer, turn off the switch for slot I, turn on the slot
up to 16 characters long. If you forget the name of a
for expansion port 2, turn on the computer, and game
program, you can look at the disk directory with the
two could be played.
command 'LOAD' '$",8 followed by LIST'
The one big advantage to motherboards is that you
Regardless of whether you use tape or disks, the
don't have to continually plug and unplug cartridges
only time you need to give a name to a program is when
into the computer's expansion port. This might he espe
you LOAD or SA VE (or VERIFY). When a program is
cially good where young children are playing games on
SA VEd, the computer automatically saves the name of
the 64. By being able to switch games on or off on the
the program (on a header) with the program itself.
motherboard, the possibility of the child breaking a car
You don't have to put the name inside the program.
tridge (or Hie 64) by inserting a cartridge the wrong
But it is common practice to use REMarks at the begin
way would be eliminated.
ning of a program to indicate the name of the program,
Concerning your third question, yes, there u>ere
the person who xorote it, and so on. If you enter programs
apparent mechanical problems 'with the 1541s. The
from COMPUTE!'* GAZETTE, you might also include the
problem allegedly centered around the step motor—it
title, page number, and issue. For example, you could
controls the positioning of the read/write head on the
add this line: 1 REM DYNAMIC SAVE 120 MARCH
1541—causing the drive to become misaligned.
1984 GAZETTE. When your computer sees a REMark,
However, this problem is now a thing of the past.
it ignores the rest of the line. REMarks take up space in
As a matter of fact, the 1541s we've recently purchased
memory, but in most cases a few dozen bytes will not
zoork very smoothly and haven't presented us with any
make a difference.
problems. The availability problem of the 1541 disk
To put a name in an ML program, you could POKE
drives is also a thing of the past, anil they, or the new
1542s, should be available at your local Commodore
the ASCI! codes into memory, but unless you are famil
dealer.
iar with machine language, you might alter part of the
program. Simply name the program when you SA VE it.
Multiple GOTOs? Where To POKE And SYS On
I have seen a program with the command GOTO
46,52,78 and so on. How can the computer go io all
The 64
these line nunilxTs at the .same time? POKE and SYS seem to be very powerful com
Tom Smith mands. 1 am aware that there are 65,535 locations
you can POKH and SYS on the 64. Where can I
It is not possible to use GOTO with more than one line find a list of the important memory areas?
number. Your computer can execute only one command
Steve Schmidt
at a time; when it sees GOTO 500 the program moves to
line 500. This is called an unconditional branch. Each byte in memory contains eight bits, each of which
The program you saxv probably used the ON-GOTO can be either on or off. There are 256 different possible
command, which is used for conditional branches. For patterns; you can POKE numbers from 0 to 255 into
example, you might use this Hue in a program: ON AZ the 65,536 locations.
GOTO 710, 50, 632, 22, 590. The program checks the The computer interprets the numbers either as
value of variable AZ. If AZ equals 1, the program moves instructions to do something or as data to be used in a
to line 710. If AZ equals 2, it goes to 50, and so on. Under program.
certain conditions, the program will GOTO one line; The SYS command tells the computer to forget
under other conditions it will GO IO another. Other BASIC for a while and execute the machine language
conditional commands include ON-GOSUB, TF-GOTO, (ML) instructions at a certain area of memory. One of
and IF-THEN. For more details see the user's manual or the instructions in ML is RTS (ReTurn from Sub
tiie Programmer's Reference Guide. routine), which can se)id the program back to BASIC.
SYS is powerful but can easily be used improperly. If
Naming Programs you accidentally SYS to a section containing data, your
I understand you need a program name to SAVF, computer nun/ crash, unless you're lucky enough to
14 COMPUTEIS Gazelle May 1981
mm
, wners, Relax...
with Mirage Concepts software
concEPuy inc.
2519 W. Shaw Aw.. #106 • Fresno, CA 93711
TM—OiiimiuhIiwc M h :i IdfiMrrrd l'fi«lr M.nl nl Cnmniodnni Eletlronfn, l.ld.
sendilloan RTS. program you have in memory and is not advisable. The
Most ML programs are written using an As stack, found at 256-511, is used by GOSUB-RETURN
sembler, although you can also POKE them into memory and FOR-NEXT to remember where to jump. Zero
directly from BASIC. page (0-255) contains many pointers, flags, and
If you're programming in BASIC, there aren't a vectors.
lot of useful SYSes available. It would be possible to
LOAD a program by POKEing a few memory locations A More Visible Checksum
and then SYSing to the LOAD routine, but it is much Readers using "Automatic Proofreader" might
easier to simply type LOAD. find this discovery useful. My 64 is attached to a
POKE can be a useful command, though. POKE TV set that cuts off the top corners of the screen.
XXX, YYY puts the number YYY into memory location This is a trivial problem, except when I want to
XXX. Try changing the screen color In/ putting different use Automatic Proofreader. POKE 53265,31 lowers
numbers into 53281 (36879 on a VIC). the screen enough so the number is visible.
To understand what happens in each of the various Paul Hollander
memory locations, you need a memory map. The shorter
Readers who own 64s should note that this POKE also
maps tell you the name of the memory location and a
cuts off about half of the bottom line.
brief description of what it does. More detailed maps
contain information on how memory 'works and the
Touch Typing Tutor Update
effects of POKEs. You can find memory maps in Com
In the January GAZETTE, we featured programmer
modore's Programmer's Reference Guide (available
Marion Taylor's Touch Typing Tutor. Several readers
for both VIC and 64) and in various COMPUTE! Books,
have written asking for further information about this
including the recently published Mapping The VIC
typing tutorial. This can be obtained by writing or
and Mapping The Commodore 64.
calling:
A memory map of the Commodore 64 would show
you numerous useful locations to PEEK or POKE. Taylormade Software
Screen memory (1024-2Q23) and color memory (55296- P.O. Box 5574
56295) control the image on the screen. POKEing to Lincoln, NE 68505
BASIC RAM (2048-40959) can drastically alter the (402)488-0196 <B
Commodore® owners:
THE FUTURE IS HERE..."
Will your printer interlace pass (Ho Commodore' printer lest? Wo don't think soil Ours will.
The CONNECTION'" is truly the ullimale parallel interlace for ihe VIC20™/COMMODORE 64™. This fully Inlelligenl
interlace plugs into the disk (serial) socket |ust like the standard printer and you can easily assign it any device
number II will provide virtually TOTAL EMULATION ol the Commodore* printer including all standard graphic
characters (normal or inverse), column tabbing, dot tabbing, graphic repeal, dol addressable graphics, cursor
up/down mode, and more. It responds to all ol the standard commands (PRINT #, OPEN, CLOSE, elc.) to
insure software designed lor Iho Commodore* printer will operate with the CONNECTION'". Use it in the
Dealer And
TOTAL TEXT MODE, or purchase our Universal' CONNECTION thai works with virtually EVERY DAISY
Distributor WHEEL OR MATRIX PRINTER with standard Centronics Parallel conliguration To take lull advantage of
Inquiries your primer's special leaturos, please specify the printer typo. Available for STAR MICRONICS, BXSO,
Invited EPSON, OKI, NEC. PROWRITER, BANANA, SEIKOSHA. RITEMAN, GEMINI10X and others,
ONLY $119.00' Complete. (Additional ROMs ore available if you should ever change printers).
micro 1342B RT 23
umrE BUTLER, NJ 07405 7.01-838-9027
Get more out of your Commodore with
COMPUTE'S
■or Owners And Users Of Commodore VIC-20 And 64" Personal Computers
J
monthly feature, will uncover new ways kind of expert help, every computer pur
| P.O. Box 961, Farmingdalo, N. Y. 11737
to involve your children in computing. chase you make can be the right one!
Exploring
64 Sound
Selby Bateman, Assistant Editor, Features
Thanks to a microelectronic marvel called SID 1982. The power of the SID chip lies not so much
(Sound Interface Device), the Commodore 64 in its capabilities, which are outstanding, but in
has the most advanced music and sound crea its program mabiliJy. You can do things with the
tion system available on any home computer. SID that the sound systems on other microcom
Packed into one tiny computer chip is nothing puters won't allow.
less than a sophisticated, programmable, three- Simply stated, the SID chip works by com
voice synthesizer. bining certain sound waveforms to make a variety
of other sounds through its three independent
voices, or oscillators. SID's waveforms are the
triangle, sawtooth, pulse (or square), and noise. These
Imagine yourself at the keys of a music syn
are the frequency configurations from the com
thesizer. You deftly finger through a Bach
puter's output.
concerto or pound out The Pretenders' latest
Sound itself is little more than a type of kinetic
hit. Meanwhile, your Commodore 64 is
energy produced when, for example, air molecules
channeling the keyboard input into nearby
vibrate in response to the vibrations of some other
speakers, memorizing the music for later playback
medium. The Commodore 64's voices produce
and print-out, and offering you sounds that range
electrical signals which you shape through pro
from (he clarity of a harpsichord to the whine of
gramming. The resulting electrical impulses can
an electric guitar.
be sent to an amplifier and then to a speaker sys
Sound far-fetched? The Commodore 64 has
tem, the vibrating medium which makes the
what it takes to deliver all of that. And a new breed
sound waves we hear.
of music software is emerging Jo help the 64's
For each voice in the 64, you have a choice of
remarkable sound system live up to its potential
the four waveforms mentioned earlier, plus pro
while painlessly educating even the most ignorant
grammable high-, low-, band-, and notch-pass
wouid-be musicians.
filters; 16-bit frequency resolution over a nine-
octave range; variable resonance; synchronization;
**[ the heart of this musical scenario is the ver ring modulation; and volume control. Another
satile SID chip, an electronic synthesizer which important property of the SID is that you can pro
hasn't been matched by another home computer gram the attack, decay, sustain, and release for the
since Commodore introduced it on the 64 back in notes of each voice. Attack is the rate at which a
18 COMPUTE'S Gazelle May 19B4
Waveform Corporation's Coiortone synthesizer keyboard for the Commodore 64. Scheduled for release by May I, the keyboard
will be priced between $200 and $300.
note reaches its peak. Decay is the speed at which The first computer sound effects made use of
a note declines from its peak. Sustain is the volume just about any piece of hardware available, pro
(often thought of as the duration) of the sound ducing some rather strange results. For example,
after the decay. And release is the rate at which a innovative computer users wrote programs to
note falls into silence. make the keys on printers strike in rhythmic pat
terns. Others altered the sounds from transistor
B ob Yannes, (he designer of the SID chip, says radios by experimenting with the frequency inter
ference created when programs run at high speed
there are a couple of reasons why we haven't seen
in a computer. Even the cassette port on a com
the SID duplicated or surpassed in other personal
puter, which is an audio output, has been used to
computers. "No one has really taken the approach
make limited sounds.
of doing the music synthesizer in a computer the
Since the primary purpose for sound in per
way music synthesizers are really done. Most of
the people who work with LSI [Large-Scale Inte sonal computers began with the demand for game
gration of computer circuits] don't have that much sound effects, tone generator chips with simple
experience with synthesizers. They don't know oscillators have been used extensively. These
generators allow you to control the pitch and vol
what features are important. They don't know
ume, and often have more than a single voice.
what you do with the things that you put in
But none of them has the programmability of the
there."
SID. Even Atari's four-voice sound chip, which
You don't have to be a professional musician
to understand that the SID chip's capabilities offer represented the state of the art in home computer
many opportunities for you to affect the forms of sound for several years, doesn't have the 64's
sound coming from the Commodore 64. (See versatility.
COMPUTE!'* First Book of Commodore 64 Sound and Paul Higginbottom, software development
Graphics and the soon-to-be-published COM- manager at Commodore's Dallas, Texas, offices
PUTEI's Beginner's Guide to Commodore 64 Sound.) says the SID chip is still a unique component.
To appreciate fully all of this programmability, it "We're probably the leader in terms of the way
helps to understand that the SID is a giant step in we've packaged that chip and what we've put
the relatively brief history of sound-producing into it. It was certainly unusual to put that in a
computers. micro.
The Home Cataloger.'" ways you can use The Home Caialoger.
More ways to use
With The Home Cataloger, you ran set Stop by your nearest dealer and
The Home Cataloger:
up a complete home Inventory system check out The Home Cataloger. You'll
to cross-file your wine, hook and rec be amazed ai al! the different ways the
Organize your stamp
ord collections. Or even keep your Home Cataloger will work for you.
collection according w
favorite recipes. country, enmmem- You'll also be amazed at the low price.
Rememher birthdays, anniversaries oralives, people, places If fact, you'll probably wonder what
and your Christmas card list effortlessly. mint, cancelled, or first you ever did without it.
day categories.
You won't even have to try to recall who
Available for; Apple ll/lle, Commodore
sent you a Christmas card last year— dialog your coin 64, IBM PC/XT and PCjr.
The Home Cataloger will tell you. collect ion using
And since it's such a flexible and easy Price: from $49.95.
categories such as date,
to use program, you'll be able to put it mini, country, type of For your free 64 page booklet, "Tips for
coin, or condition.
to work almost immediately. Even if Buying Software," and complete prod
And, find things
you're new to computers. easily: uct catalog, please write Continental
To help you out, The Home Cataloger Software, Dept. GA2, 11223 S. Minclry
Organized your wine
comes wiih 10 re:idy-to-u,se cataloging cullcciicm by vintner, Avenue, Los Angeles, CA 90045,
formats for some of [lie most common year, classification, 213/410-3977.
uses: telephone list, inventory, travel district, grape, color, The HoineCatdtserUnrfflTfleTed trademark of Gonlincmd
purchase price, or sofw-jrv AppJt? lI/lte,Ccmmottore64jBMPCWTand PCJraro
plans, restaurants, insurance policies,
current value. reslttcred trademark*, respectively, of Apple Computer, Inc.,
coins, growth (height and weight), run Commodore Rut I nets Machine*, trie :iml him Cwp,
V idem apes can be filed
ning, studies, and book list. All you have
in a number of ways:
to do is pluy in your own information. corned)', drama, Continental
If you want additional categories, Just mystery, adventure,
add them on—simple as that documentary, store, Software
director, or year made,
Your imagination is the only limit to A Division ol Arrays. Inc.
SID designer Yannes, who has worked with
synthesizers for years and now runs his own elec
Still the Best! tronic design company, Peripheral Visions, Inc.,
says that to improve on SID, manufacturers will
have to make a quantum leap to a far more complex
and expensive type of chip.
Rated THE BEST educational
praaram for the VIC 20TM by "It's hard to justify doing a fantastic sound
Croal/vs Computing magazine.
synthesizer built into any particular personal com
Commodore S4 varslon: "This
is the best typing tutor we have puter now because to make that quantum leap is
seen yet; It can get your
children touch typing In short
going to cost a lot of money," he says. "Just to do
order and bring an old hand up a custom LSI chip in general is going to cost a lot
to speed. Includes excellent
training modules and an of money. Commodore was obviously able to
arcade type mode to liven
things up and put some handle that since they have their own design cen
pressure On;**** + "lNFO-64
ter and processing."
Our customers continue to tetl
us of their success.... And that may be the answer. As the cost of
!'.. delighted with my son's making computer chips continues to fall, Com
progress ... he is the only
one in his second grade class modore itself—with its own chip design center—-
who touch types at the computer."
may be the most likely candidate to come up with
(58 year old man writes)... "great, excellent. To me a source
of great learning ... I fust can't express how much I have a new, improved SID.
enjoyed 111"
In dally use by schools across the USA.
In fact, Commodore is rumored to be de
"Computer aided Instruction at Its best" Commander magazine
veloping just such a new, more efficient synthe
sizer chip—a super SID. But don't expect to see it
TYPING TUTOR + WORD INVADERS this year. According to one industry source, the
The proven way to learn touch typing. improved SID will be for a new generation of
COMMODORE64 Tape$21.95 Commodore computers, not for the 64 or the al
COMMODORE 64 Disk $24.95 ready announced 264 series (which does not have
VIC20(unexpanded) Tape$21.95 the SID chip). No matter what happens in the
future, however, for now your Commodore 64
continues to be a music-making personal com
puter second to none.
ACADEIiTC P.O.Box7167
Baltimore, MD 21218
SOFTWARE
P.O. Box 6277, San Rafael, CA 94903 (415) 499-0650
(301)366-8138
Quicksiiva, Inc.
426 West Nakoma
Programmers: Writs lo our Naw Program Manager concerning
San Anhmio, TX78216
any exceptional VIC .'n i ■',' or Commodore wTM glmB
or other program you have developed. (512)340-3684 <Sr
Panzer-Jagd
■-
Legioi TAC
A World
of Games
■
New Standards
For Home Learning
Part 1
Fred D'lgnazio garrisoning us off and forcing us onto tiny reser
vations. We still have too much exploring to do.
Recently I read an article by a leading educator in
which he called for standards for educational soft
Structured Vs. Unstructured
ware for the home. "Who must design these stand
ards?" he asked rhetorically. "We must design Learning
the standards," he answered emphatically, "be According to one expert, over 10,000 companies
cause we are the experts." have already created over 40,000 software pack
But this is not necessarily true. Expertise in ages, any of which, potentially, could be used for
using computers in the schools may not carry learning. And, within another year, this number
over into the home. will double!
Why? First, learning at home is not the same Much of the software is excellent. But there is
thing as learning at school. also a lot of junk out there. And there is no way
Second, we are a long way from realizing the for the average consumer, a parent or a teacher,
potential of learning using a computer. 1 have a to separate the junk from programs that will help
strong conviction that there are whole realms of them or their children—especially since most soft
computer learning that we have yet to explore. If ware can't be previewed before taking it home.
we were to establish a single set of standards right People are concerned. It is natural for them
now, we would stifle software companies' ability to turn to government policy makers and educa
to lead us into these new realms. tional experts for some help and respite. And
when the policy makers and experts get involved,
The Wild, Wild West it will be natural for them to create a model for
Computer learning, especially in an unstructured home learning based on learning at school.
environment like the home, is a vast, unexplored Unfortunately, this would be a mistake.
terrain. It would be foolish to try to define and Why? First, because learning takes place in
map this terrain even before we have explored it. school primarily in a structured environment,
We would end up roping off a small part of the while learning at home is largely unstructured.
territory to confine ourselves in. The rest of the Second, learning at school takes place under
territory, beautiful and vast, would remain beyond the pressure and prod of a teacher's leadership,
our reach and the reach of our children. the school's disciplinary and academic atmos
The present stage in home computer learning phere, and the competition, opinions, and watch
is like the days of the Wild West. We have all sorts ful eyes of one's peers.
of people in the home-learning software industry, In comparison, learning at home is normally
including cutthroats, gunslingers, and the like. done in a psychological vacuum. Parents cannot
But we also have pioneers, scouts, traders, hope to duplicate the school environment. Most
settlers, and explorers. And we have gypsylike parents do not have the time to play the roles,
Indians roaming freely through the whole terrain. night after night, of cheerleader, coach, task
We certainly need some sheriffs and marshals master, teacher, and friend that a learner, espe
in all this hooting rowdiness, in these gun duels cially a young learner, often finds vital.
and disorder. But we do not need an outside expert Learning at school is curriculum-based,
or government official to impose mock order by cumulative, and progressive. It follows a well-
26 COMPUTEfs Gazelle Ma/19B4
AT LAST!
EDUCATION PROGRAMS
YOUR KIDS Ok. CAN'T OUTGROW.
SVSTEfil
' Roaistorod Trademark ol Commodore Computer Systnmj c 1983 Timewoilts. Inc AllnghU rosoivod
HOME MANAGEMENT SOFTWARE FROM ELECTRONS ARTS
and
d Financial
Fl Cookbook
Ckbk are now available
at a suggested retail price of $50 for the Appie
Ik and the Commodore 64 and wilt soon be
available for the IBM-PC and Atari-
OUR COMMITMENT TO
HOME MANAGEMENT
Cut &. Paste is just one of a ("rowing
number of products we're publishing
within the category of "home manage
ment software." These products are all
built around (he same program archi
tecture, making them all equally "friend
■:■.-■■■'-■■.
ly." as well as remarkably straightfor
■'-,"■ ward and practical. We believi: that
':-■-■■
■■■■". — :.
■■ designs like these will soon make home
computers as functional and efficient as
today's basic appliances.
Our next product in this line is called
Firumda! Cookbook It's a realistic alterna
tive to the complex, pre-programmed fi
THE MEN WHO MADE CUT & you'd best study the way people use
nancial calculators we all wish we knew
PASTE. The Linotype machine fnctured here the tools they already have. how to use, With a few.simple keystrokes,
was the 19th centurys most important contri As a result of this thinking, Cut & Financial Cookbook lets you make more
bution 10 word processing technology [r let Paste was designed to work much in than 30 key time-value-of-money
typesetters compose and rearrange rexr in the computations—just about all the ones
the same way that you already work you'd ever use for personal finances—
form of metal casting. The importance of Cut
with a typewriter or with pen and like calculating
& Paste, of course, must await the judgment
o/history. Nevertheless, the seven mm who de- paper.The most complex and power mortgages wirh
changing inter
veloped it look confident here. Standing left to ful parts of the program are hidden
est rates, com
right, they arc Norm Lane, Steve Shaw, Dawd from view. The work they do takes pounding the
Majnard, Dan Silva, Steve Hayes and Jerry place deep in the machine. All you get inrerest on IRA
Morrison. Seated at the console is Tim Mott,
to see are the results. and savings ac
whose idea this was in the first place. counts, and buy-
But beyond that, there is something
versus - lease
people who have in common a very almost indefinable about a good de comparisons for
lucid philosophy of design. sign.Things about it just seem to work automobile pur
Computers and the programs they crisply. Little touches and features chases.
To find out more about these home
run are tools, they believe.Tools are that you notice make you want to smile.
management products and about what
never noticed unless they are bad tools. If it's really good, = ^z= =^ we have planned for the future, call or
When they're good, they become, in it feels good. = - — write: Electronic Arts, 2755 Campus
effect, invisible. And if you want to Drive, San Mateo, CA 94401 (415)
571-7171.
make a good tool—an invisible tool — feels good. Electronic Arts"
t'lrurul [Juan let/atctrtl irtulr'natk\"f A(j|^r CtnnjmttK,Jnc.Star nu f rrd trvdrn\a*k"f the Xrn" CQfftfrflifpiL C<ifflrnr>[irfTf 64to art^tttrrdt k D/CpmnudercJhtifiwiMw'tiVl, fm PC a a
ieiiatk uf Jnifmuikmal JluiJnru Mi* fun**, hd Aftm n a itntUccA ta rh W Arun Fiu ,<j UEinirr Gomnuaikdtfonj camptmy
They can't follow the school model. The Computer learning at home will also be valu
school "carrots and sticks" will probably not work able as an "eleventh period." Children will be
at home. Children who learn at home, over the able to learn subjects and skills not offered by
long term, will need more incentive than their their school.
mom or dad threatening and nagging them, day Adult computer learning, too, will be impor
after day, week after week. Children who learn at tant. Schools will be able to provide "continuing
home will need software that inspires them, chal education" courses for adults at home, using com
lenges them, and gives [hem free rein to learn puters. Adults will be able to acquire valuable job
independently and at their own pace. skills and gain academic degrees by using com
Above all else, learning software for the home puters to learn at home.
must be entertaining. The incentive for learning
must come from learning itself. It cannot be im The Free Enterprise Model
posed from outside. Otherwise, the long-term Learning at home shouldn't be constricted by a
effect on the child is likely to be more negative school-like institutional curriculum or standards.
than positive. Children will come to resent en Instead, new kinds of curricula and standards
forced learning on the computer just as much as I should be created, based on realistic conditions
resented being "strapped into" the piano seat for that exist in the average home.
a half-hour of practice every day when 1 was grow Learning at home on a computer should be
ing up. After eight years of this kind of "educa as diverse as possible to reflect different families'
tion" J came to hate the piano. Today, many years and individuals' interests, personalities, goals,
Home Organizer'
■-
series
The Home Organizer" series includes a wide range of separate and individual programs for
different activities like stamp collecting, personal banking, or home photo and movie
collections. Each one is pre-programmed with a "page" format planned out by experts to
make it easy for you to store and retrieve the information you'll want for your special activity.
You don't have to program anything yourself. |ust load the disk and start feeding in your data.
If you're used to run-of-the-mill home computer software, the speed and simplicity of the
Home Organizer" series will surprise you. Each program is written entirely in "machine
language", the most basic computer code. So they search, sort and analyze your data with
amazing speed.
The Home Organizer'" is fast enough to sort through your household belongings in
seconds, yet so simple the children can use it to look up a phone number. Choose any or all
program modules that fit your needs. They make ideal gifts, too!
"Excellence In Software"
For a full cnlot bincJuin1 u nif w.
Batteries Included. 186 Queen Street West, Toronto, Canada M5V1Z1 {416) 596-5405; 3303 Harbor Blvd.. Costa Mesa, CA. 92636 (714) 979-0920
COMMODORE 6.1 IS A REGISTERED THA1JF MAHK OF COMMODORE BUSINESS MACHINES
and abilities. Diversity in computer learning courseware aimed primarily for the school could
should reflect (and enhance) the diversity in be used, with proper materials and parental
people. guidance, in the home. Above all, there should
Educators need to work along with educa not be a wall separating learning at home from
tional policy makers, parents, children, and learning at school, instead, it should be a broad,
computer users to come up with a diversity of circular continuum that melts together and meets
new standards, materials, and curricula for home at either end.
learning.
The best model for home learning might be a Horse Breeders, Plumbers, And
free enterprise model Major government bodies,
computer users groups, educators, private com
Brain Surgeons
panies, and consumer groups should each come Completely new modes of learning may be dis
up with their own packages. There might, for covered yet.
example, be a McGraw-Hill Comprehensive Pack A home-learning curriculum might be devised
age of Computer Home Learning Materials, and based entirely on real-world career domains. For
other packages from Scott Foresman, Addison- example, all computer-based home-learning
Wesley, D.C. Heath, etc. There might also be courses shouldn't just be on knowledge domains,
packages from MECC {the Minnesota Educational such as Algebra 1 or language arts. Software com
Computing Consortium), the Apple Computer panies should also offer children full-scale courses
Company, IBM, Atari, Tandy, and, of course, on how to be a space shuttle pilot, how to manage
Commodore. Consumers Union might have its a nuclear reactor, how to be a software designer,
own package. Children's Television Workshop, a fashion photographer, a horse breeder, an ar
CBS Software, Scholastic, Reader's Digest, Sun chaeologist, a diplomat stationed in Latin Amer
burst Software, and HesWare might have their ica, an executive in a multinational corporation, a
own packages. plumber, brain surgeon, or a police detective.
Each of these packages would compete for In these courses, knowledge domains would
the biggest share of computer users. Parents could be subsidiary to career domains. Kids would pick
read evaluations and descriptions of the packages, up the physics, math, language arts, and social
talk to dealers, and preview the software before studies they needed to get their credentials in the
choosing the package that was right for them and various fields. The youngest kids would naturally
their family. become junior horse breeders and archaeologists.
The models that they would have to master would
be simpler, yet for them, no less exciting and
Extra-curricular Learning challenging.
Not all home learning should be curriculum- Older kids would have to work with more
based. Not even if we redefine "curriculum" to complex, lifelike models of the real world and of
be something appropriate for homes and families. the careers they were studying. They would work
Many kinds of software companies should for milestones like Apprentice and Assistant on
continue producing what they do best—one-shot, the way to achieving mastery of the career.
maverick programs that are unlike anything any Perhaps work-study internships could even
one has ever seen. These are works of art that be set up to coincide with advanced home-study
delight, charm, entertain, and educate, all at the programs for teenagers and young adults. Com
same time. They might not fit easily into a package panies and government agencies could open their
or a curriculum, but they deserve to be seen and doors to student interns who had mastered their
experienced by every family. "career courses." In this way, young people could
Also, there should be lots of room for content- complement their home learning with on-the-job
free, "learning how to learn" software. 1 would training and real-world experiences. Employers
welcome lots of new programs that don't teach us would benefit by getting to see a crop of en
when the Pilgrims landed on Plymouth rock, or thusiastic, well-trained young people.
how to conjugate a verb in Spanish, or how to The programs of study should be diverse,
solve an algebra problem. Instead they would entertaining, and short enough to encourage
teach us to be better learners. These programs children to try as many careers as possible. The
would help us in all our learning, at home and at programs should be rewarding, playful, and en
school. courage social and emotional skills as well as in
Furthermore, learning at home and at school tellectual skills.
are not always different. 1 think that many of the My thanks to the many industry watchers
unstructured learning exercises targeted at the who, through discussions during the recent Con
home could be used in special, unstructured sumer Electronics Show, helped contribute to the
learning times at school. And many types of ideas in this article. <B
32 COMPUTEI's GazoHe May 1984
COMPUTEi's
GAZETTE DISK
COMPUTEi's gazette disk will premier with the May
1984 issue of COMPUTEi's gazette. When you subscribe
to COMPUTEi's GAZETTE DISK, each month you will re
ceive a fully tested 5 '/4-inch floppy disk which will
run on eitheryour Commodore VIC-20 or 64 personal
computer. Each issue of computei's gazette disk
will contain all of the programs which appear in
the corresponding issue of computei's gazette. You'll
save hours of typing time and be able to enjoy all of the high
quality software found each month in computei's gazette.
- a Jasr-paced, nonviolent game for the Commo- • PRINT Sound — a utility for the VIC-20 which translates
dore 64. Animated with machine language, the game letters into musical notes. All you supply is a simple PRINT
puts you in control of.) pigeon lost in a dangerous sky statement,
Riled wiih whirling propellers. Your goal is to make it
• Sound Story— an exciting demonstration program that
across the sky to find your skittish mate, who moves un~
predictably from coop to coop, illustrates the sound capabilities of the VIC-20. A story
with screen text comes to life with the sound of crickets,
• SuperSpriie— an unsteady flyer depends on you to guide
lightning and thunder, a UFO in flight, and Morse code.
him down through a series of unfriendly kryptonite bar
riers For the Commodorp 64. SuperSpme makes effective and many morel
I use of sprite animation and sound.
WM/ffltt
Ordering Information
Individual Issues:
individual issues of the gazette disk can be oidered for FREE 800-334-0868 fin North Carolina call 919-275-98091,
$7.95 (in the US and Canada add SI per issue for shipping or by sending your prepaid order to: gazette disk, P.O. Box
.and handling. Outside the US and Canada add S3 per 5406, Greensboro, NC 27403.
issue). Individual issues can be? ordered by calling TOLL ■
■ Mi
Will Harvey
The Programmer Behind
Music Construction Set
Kothy Yakal, Editorial Assistant
dMOS" SoftLoc
Database Management The Program Security System
Operating System
Set up program security In minutes.
The BEST data base management tool
for the collection, arrangement'and display of Lock up your personal, financial or business recorc
alphanumeric data.
A unique pattern matching and searching capabilities 3 types of protection:
make dMOS™ the easiest DB system available
on the market. • Re-encodes program.
and announcing...
Missing Key TM
A reset System
Personal Phone Directory Program
Restores your BASIC Program.
Designed to store and organize
After programming for hours you
your personal phone listings.
press RUN for a final check of your work —
the computer locks up. You press RUN, STOP. . .
nothing — you press RESTORE.. . nothing — you
look for Ihe missing key but it isn't there. You
have to turn off your computer and lose hours of work!!
Now Add the Missing Key"1:
• Press the "Missing Key""' and the computer
resets itself from any lockup, and your BASIC
program Is restored.
• Load and run the program included.
• Takes nothing away from your compuler, neither
memory nor a plug-in port.
• Attaches to your C64 keyboard or any other
convenient location. The usar has complete control of
• Will not void your CBM warranty. S2995 15 category titles and entries. $29M
Software by SoftPeople u Programs for the Commodore 64 u Connecting People with Great Ideas.
SoftPeople Inc.
Deafer Inquiries Invited
1-800-447-3273
Special P.O.P Packages
2042 Marshall Ava. St. Paul. MN 55104 (612)644-1551 & Prices Available
SpeedScript
Revisited
Charles Brannon, Program Editor
Got a question about "SpeedScript"? Find an SpeedScript without even having to type it in. I'd
answer here, along with some tips on advanced call thnt quite a deal.
uses for this popular word processor.
A Hidden Command?
Many readers "discovered" a new command in
The letters keep pouring in: The response to
SpeedScript that sets the line spacing. The [s]
"SpeedScript" (COMPUTED GAZETTE', January
command was not mentioned in the article, al
1984) is overwhelming. Our readers are well
though there is a cryptic reference to it. There are
pleased with the speed, power, and low cost of
no hidden commands in SpeedScript, just poorly
this powerful word processor.
documented ones! It's just as well that [n] was left
To help answer the deluge of questions
off the quick-reference card, but [s] works just
brought up by our readers, we'll cover them here
fine. First type CTRL-£ (or CTRL-3), then enter [s]
in this artide.
and follow it with the number you want for line
The Good, Bad, And The Ugly spacing: I, 2, or 3. You can use any number, really,
if you want something like four or five spaces
SpeedScript was extensively tested before we
between lines.
released it. That's good. However, a few changes
were made after this testing to improve efficiency.
That's also good. But after this change, one com The Deadly Linefeed
mand was not adjusted. That's bad. The [n] com SpeedScript will double-space by default, though
mand, for next page, does its job too well. It feeds you can change it with the (s] command. Some
on to the next page, and the page after that, the people found they were getting triple-spacing,
page after that, endlessly. And that's ugly. There's though. Worse still, this threw off paging, so
no simple fix for this command; you cannot insert headers and looters would be in the middle of
changes in machine language like you can in the page. The problem is caused by the deadly
BASIC. It would require you to retype the entire linefeed.
program. And that would be uglier still. A carriage return should return the print
Fortunately, this command has been fixed position to the left, then down a line, simulating
on the version of SpeedScript available on the carriage return on a typewriter. Two operations
GAZETTE DISK. Those who order the first issue of are involved, though. Carriage return just returns
the GAZETTE DISK, either through subscription or the carriage (printhead) to the start of the same
single-copy, will receive as a bonus a revised, line. The platen or tractor feed then scrolls the
updated version of SpeedScript. If you were un paper up a line. This is called a linefeed. The com
able to obtain a copy of the January GAZETTE, bination is a CRLF, Carriage Return/Linefeed.
which quickly sold out, you can still obtain The code for carriage return is 13, and on
38 COMPUTEI's Gazelle May 5 984
Simulator II \
,■;.■"■■■#/.■ ■ ■
Putyourself In the pilot's seat of a Piper 181 Cherokee Archer tor an awe-inspiring flight over realistic scene
from New York to Los Angeles. High speed color-tilled 3D graphics will give you a beautiful panoramic vie
as you practice takeoff s, landings, and aerobatics. Complete documentation will get you airborne quickly ,
even if you've never flown before. When you think you're ready, you can play the World War I Ace aerial battle;
game. Right Simulator II features Include ■ animated color 3D graphics ■ day, dusk, and night flying modes
■ over BO airports in four scenery areas: New York. Chicago, Los Angeles, Seattle, with additional scenery
areas available ■ user-variable weather, from deer blue skies to grey cloudy conditions ■ complete flight
instrumentation ■ VOR, ILS, AOF, and DME radio equipped ■ navigation facilities and course plotting ■ World
War I Ace aerial battle game ■ complete information manual and flight handbook.
CONVENIENCE
Organizing your tax return has never been easier.
64-ACCOUNTIMG offers up to 10 checking ledgers
Introducing The New
for those special home and business accounts.
64-ACCOCINTING SYSTEM. Teams with your printer to write checks, print
statements, profit and loss and trial balance sheets.
If you can't put your finger on your total financial
Even offers mini accounts receivable and accounts
picture, we've got the answer. Software Design, Inc.
payable ledgers.
has a personal software accounting package
designed for your Commodore 64®. PRACTICAL BUDGETING
Even if you're all thumbs, we offer a support line Control your expenses with the 64-ACCOUNT1MG
and an easy-to-follow manual written in plain SYSTEM'S budgeting ledgers. Monitor your past
English. Created for home and small business expenses against projected costs. It's so versatile you
demands, the 64-ACCOUNTING SYSTEM puts can select year-to-date totals or any span of months
financial management at your fingertips. for comparison budgeting.
Plan your financial future around the 64-
FLEXIBILITY
ACCOGrHTING SYSTEM. There may never be a
Design your own financial statement with no rigid
better time than now. $69.95. To order call
account number system, and with flexible subtotal
1-800-553-0002. In Iowa call 1-800-772-5771.
possibilities. Take the guesswork out of checkbook
balancing. Distribute checks and receipts to 20 Dealer and distributor inquiries welcome
separate accounts. Establish monthly, quarterly, or
yearly accounting periods. 64-ACCOGMT1MG
expands with your financial management needs.
SOFTWARE
For use with Commodore 64" and disk drive.
Copyright 1983 — Software Design, Inc.
DESIGN. INC.
Commodore 64 B a regislcred trademark of Commodore Business Machines, tnc P.O. Box 570, Waterloo, Iowa 50704
Speaking of centering, SpeedScript will al Q.'. When I print out something with
ways center in the middle of a 8'/2-mcn wide piece SpeedScript, it will always skip to the next page
of paper. If you had a 40-column printer and after it finishes.
changed the left and right margins, centering
would not conform Id the new page width.
A; Sorry. There's a tradeoff involved: Some
people want to go ahead and remove the docu
SpeedScript thinks the page is SO columns wide
ment from the printer right after they print it, so
no matter what the left and right margins are.
it's nice that SpeedScripf ejects the last page. But
SpeedScript also assumes the page length is
the real reason is that SpeedScript must go to the
always 66, for 11-inch paper. If you have a 40-
bottom of the last page in order to print the footer,
column printer or 10-inch paper, you have my
sympathy. Next lime I'll gel it right. if any.
strange character for the blank, you can use Hunt A treat, indeed! If you have nonstandard
to quickly find it and, while in insert mode, fill in paper, or prefer single-spacing, you can load
the information. You could have forms for articles, SpeedScript, use POKE to change a default (such
personal letters, business letters, etc. The point is as page length), then save the new SpeedScript
to save repetition. back to disk. For example, POKE 5205,1 would be
Although SpeedScript doesn't have search used for single-spacing.
and replace, you can use the cut and paste feature Jeffrey C. Edman owns a Brother CE50 type
of the text buffer to memorize the string you want writer and an RS-232 interface. Unfortunately,
to replace with. Use Hunt to find each occurrence, SpeedScript doesn't work with the RS-232 port—
then CTRL-R in insert mode to substitute. You ordocs it? Mr. Edman pored over a disassembly
can then use the DELete key to remove the original of SpeedScript, and found that his setup would
phrase. (Don't use CTRL-back arrow, since it work with the following POKEs:
chains to the buffer.) Sounds a bit klutzy, but
POKE 659,6 (sets the RS-232 control register)
after practice you can be quite proficient.
POKE 660,0 (sets [he RS-232 command register)
Don't forget that you can use SHIFT-CTRL-P. POKE 7812,2 (changes SuHvctScript)
This will ask you for the device number and sec
Mr. Edman continues:
ondary address of the printer. Answer with a
"Using a device #2 and a secondary address
device number of 3 and a secondary address of 0,
#2 (in response to the prompt after a CTRL-SHIFT-
and SpeedScript will print to the screen. You can
P) plus true ASCII formal (using [a]) will result in
sec where line and page breaks occur, as well as
an excellent print-out.
how many pages your document runs (if you
"With these changes the output to the printer
have a header or footer with [#] embedded).
does not print out approximately the last 120
This may seem trivial, but if you copy
characters of the text. 1 get around this by adding
SpeedScript as the first file on each document
greater than 120 spaces to the end of the text."
disk you use, it will make life easier. You don't
I hope owners of RS-232 printers can apply
have to remember which disk has SpeedScript on
these suggestions to get SpeedScript to work with
it. Just insert your document disk, LOAD "*",8
their printer.
and you're in business.
This isn't the last time we'll look at
Watch out for repeating keys. SpeedScript is
SpeedScript. Keep sending in your suggestions.
so fast you could insert a paragraph with CTRL-R
When the time is right for SpeedScript Deluxe, it
two or three times before you realize what's
will owe a debt to the readers of COMPUTEI's
happened.
GAZETTE for their many good ideas and construc
Modifying SpeedScript tive criticism.
We've received more than a few letters asking for See program listing mi page 141. ©
an assembly source listing of SpeedScript. We
C-64 SOFTWARE AT LOW PRICES
don't have the manpower (or personpower) to
POWER PLUS QUICKWRITER
mail listings to individuals, not to mention the
A utility program that adds over 40 A full-featured word processor at a
postage it would take to mail 100 pages of source commands to your C-G4 Doesn'Iuseany (faction of the cost. More powerful tnan
all w/p under $50.00 Has features even
BASlCmemory IMS mactirne language
code. It goes without saying that we can't publish FEATURES:
SOOO' h
• Un-new—gel bae* BASIC programs FEATURES
it in the magazine for space reasons. Besides, the after reset ■ 100*9 machine code, the fastest w/p
■ Screen Dump—lo printer ve\B seen
source code isn't even commented. • £j«y, aDbroviated Dis* Commands • Works with aM pnniera^ntarfacet
■ Mflcrunn Language Monitor with • Semi-automatic hyphenation
Without the source code, it's very difficult to A a sem rj I o r/Dis B s semlj I ei ■ Justification
Tran&lor. Fill. Hum. etc. • Form tetters automatically
add anything to SpeedScript, or make significant Adda BASIC commands • Block Transler. Delete, Insert.
F|n0 ■ Change Append,
changes, since it is machine language, but you Renumber • Delete ■ Auto page numbers, headsrg and
Auto line numbers foolers
can overwrite parts of the code. Following the Excellent manual • Send disk commands
■ PRE-VIEW—see left nr ngnt side Of
disassembled listing of a mass of raw numbers $19.99
page before printing
IndicBtetapeordisk Send check or m o • Full-screen editing with rapid scroll
without labels or remarks is like reading a book {include $2 DO p.'h) (o Educomp • Easily send special primer commands
2139 Nfmcflitio A*e • CardilT. CA9200? • r ■r."iip-i: manual
upside down. (61&I942-3Q39
$29.99
SATISFACTION GUARANTEED
U COMPUTEI's Gazette May 1984
Developing a mind
for the Future. SUPER BASIC S39"U.S:
- Gf^es you 3 dilfe*onl versions of Commodore
Baa*c Prt>orHi(Tiina Language Veriwo 4 PLUS'
A BljiIT in Mac Mine Language Monitor'
- Disk & File Maintenance Command*
Data Handling Commands
Graphics Plus Basic
Coinpatcte with Commmodores "B" Series &
Much Much MoreH
fpp
Scfipi 64
Word Procossor m FrencrianQ Enghsb
SO Columns
Global Search m>d Replace
Uw Created Dictionary
Spelling Check
Scraich Pad 64
The Database-Mail Ust m One'
Merges wiihScnpi 6 J Word Processor
Printou! Labels Envelopes. Mail Lists More'
Suitable with both Single and Dual D:sk Drives
Fully C6«* LmK Compatible
C64 LINK'
[
Canndpe Audio Serial I/O
J
Expansion Siol Video Port Cassette Port
O
The Smart 64 Up lo 6 more 64s IEEE Disks
12O3?)!B2Sm[4O40l Tape
Spooling
■ CnmpatabHily with CP/M. Compatibility
lo
Printar Hoard""
Contact va"r |ocaI Commodore dealer or RTC.
Payments by VISA, MASTERCARD or BANK TRANSFER. 10610BavviewAvenue (Ba/view Plazal Richmond Hill, Ontario, Canada L4C3NB 1416)884-4165
Mail orders also by certified chnquo, ate
Sound Sculptor
For The 64
Todd Touris
tion keys (fl for voice one, f3 for voice two, f5 for OCTftPE
voice three, and il for all voices). If the voice is MQTE C C D 0 C F r C C Ij] (1
off, it should go through attack and decay and « « 11 H It
J 12.95
ISBN 0-942386-29-9
COMPUTE!" Publicationsjnc
One of the ABC Publishing Companies
"Props" is a fast-paced, nonviolent game for responsible for virtually all the animation. The
the 64 with six levels. Animated in machine first one reads the joystick, moves your bird shape
language, it uses all eight sprites, programmed accordingly, and flaps the wings of both birds. The
characters, and all three SID voices for sound second rotates the eight propeller sprites and moves
them up or down. Two additional small routines
effects.
Included in the article is a detailed pro help program a new character set and fill color
gram discussion which offers a variety of ex memory with white values for the new-ROM 64s.
cellent programming tips and techniques. Let's look first at the bird-moving routine
(Birdmove), which you could adapt for just about
any graphics game. Birdmove animates our bird-
You are a lonely pigeon, lost in a dangerous sky
shaped character. The routine keeps track of a
filled with whirling propellers. Your mission is to
variable, B1RDLOC, that represents the bird's
return to your coop and your mate, for a brief rest
current screen location. To move the bird around
before flying away again. To make matters worse,
in screen memory (locations 1024-2023), first we
every time you leave, and at other uncertain in
put a blank space into BIRDLOC to erase the
tervals, your mate moves to a new coop.
character.
While in flight, you must avoid getting pulled
Next we check to see whether any movement
into the propellers. If that happens, you lose
has been requested through the joystick. If so, we
points. Unless you escape quickly, the props may
change the BIRDLOC variable to represent the
pull you back again and again. The props start in
new screen location. If not, BIRDLOC stays the
orderly formation, but every collision will bump
same. In either case, we then plant a new bird
one out of line; so the worse you play, the more
shape in the updated BIRDLOC screen location.
confusing things get.
To play, plug your joystick into port 2. The
six skill levels range from leisurely to manic.
Setting The Bird's Boundaries
Whenever you reach home, your score is dis To move the bird left or right, Birdmove will sub
played briefly. If you press the fire button during tract or add 1 to BIRDLOC. To move the bird up
the score display, the game pauses to let you catch or down on the 40-column screen, we subtract or
your breath. During the pause, you can change to add 40 to BIRDLOC. Before moving our pigeon
a different skill level by pressing number keys 1 around in memory, we need safeguards to prevent
through 6. To quit, just pause and press the 0 the bird figure from flying above screen memory
key. If you score well at any given level, the game into the BASIC program space, or below it into
pauses by itself and lets you pick a new skill level. the sensitive zero page of memory, either of which
could crash the computer.
The Animation Subroutines Birdmove uses two techniques to confine the
Two main machine language (ML) routines are bird. The first compares BIRDLOC to absolute
50 COMPUTE!'s Gazette May 1984
Meet the Alienators. A fiend and try to work your way down, or try to hurdle
ish bunch who've planted bombs him and defuse the bombs closest to you
throughout your Jupiter Command before they go off?
Headquarters. If you move fast you'll earn extra lives.
Your job? Use your lightning But if you're not careful, it's a long way down.
speed to scale ladders, scurry So jump to it. And find out why Jtimpman
across girders, climb ropes and race and Jmnpinan Jr. are on a level all their own.
through 30 levels lo defuse the bombs before they go off. One to four players; 8 speeds; joystick
That's the kind of hot, non-stop action we've conttvLJutnpman has 30 screens, jtimpman jr.
packed into the award-winning* best-selling JumpmanT has 12 screens.
and into Jumpman Jr.^our new cartridge version with
12 all-new, different and exciting screens.
Both games force you to make tough choices.
STJUnGY GUMS FOR TMACVOH-GAME PIAYIR.
Should you avoid that Alienator, climb to the top
•I9H3 C.E.S. nwnrclwiimcr.
upper and lower limits. If you try to move lower program and then press the STOP key while the
(<1024) or higher (>2023) than the bounds of instructions are displayed. Hold down the SHIFT
screen memory, Birdmove will terminate without key and press CLK7HOME to blank the screen.
changing BIRDLOC. Now type in this line. You'll have to use abbrevia
tions to fit it all on two lines.
Collision Detection PRINT"[CLR)"TAB(255): K=90:FORJ=1024TO1
The second safeguard is a collision-checker for 276STEP42:POKE54272+J,1:POKEJ,K:K=K+1iN
sideways movement. When you move left, for EXTJ
example, Birdmove holds the updated BIRDLOC Press RETURN and you'll see the coop character
position in temporary storage. Before it moves a and six bird shapes in the upper left of the screen.
bird figure into the new location, the routine
checks that spot to see which of the three possible Flapping From BASIC
characters is there. Now let's make our bird flap its wings from BASIC
If the desired spot contains a space, your bird in immediate mode. Type this line and then press
can move left. If the new spot holds the coop RETURN:
character, the old BIRDLOC is restored and you FORK=1TO100000:FORJ=91TO96:POKE1024,J:F
exit Birdmove without changing position. If ORL=1TO30:NEXTL,J,K
neither character is found, then the spot must The bird should be flapping at top left. Press STOP
contain the mate character, so the routine sets a when you've seen enough. While we're at it, let's
flag to show that the bird has reached home, and do the same job with our ML routine. To set things
ends with the wing-flapping display. up, type this line and press RETURN.
To modify Birdmove for your own games,
POKE251,0 SPOKE252,4:POKE834,91
just add more comparisons to check for as many
possibilities as you need. For example, your game This puts information in memory locations which
might check the desired location and then branch the ML routine uses to position the bird and start
to appropriate routines to score if you've hit a the wing-flapping character series. Now type this
treasure, faint if you've hit a troll, rejoice if you've line and press RETURN:
FORJ=1TO100000:SYS49608:FORK=1TO30:NEXT
bumped into a friend, and so on.
K,J
grammed to serve as our coop character, and the You'll see the bird wrap around the side of
other six are a series of bird shapes. the screen when its way is clear, but stop when it
Each time we call the Birdmove routine, we hits a coop character. The up-and-down move
also flip to the next character in this wing-flapping ment routine contains no collision-checker,
series to create the illusion of movement. To see though, so moving in those directions will erase
all the programmed characters, first RUN the any character you encounter.
52 COMPUTEfs Gazelle May 1984
THE GAME IORDS OF BRITAIN
COMMODORE 64- \MEXJSINCLAIR 2068-- TIMEXfSINClAIR
looonsur- ATARI 4O0/BO0" view
PURPLE TURTLES ULTISYNTH BUGABOO 3D BLACK STAR ULTI-SKETCH SKYHAWK
Authors. M:uh A Ihch iril Author- H.i'm Sharmm Author, tndatcomp Author: U. Sudwonh Author U. Walker Author: Chartec
Moor* Turn your CBM 64 into a Jvmp your way out ol the Explosions mushroom INCREDIBLY VERSATILE A quiet European village is
A tally animated arcade sophisticated synthesiser, caves with Bugaboo the flea around you ana me rear CHARACTER GENERATOR attacked, pilot the pi fighter
game ruth Loreabie Turtles, a piano, violin, organ, gotta'or but beware ol the fearsome scanner shows following craft, Dettne characters on a v g Skyhawk against the
Cuddly Graphics and more harpsichord Woodwind, Dragon as you jump around you increase speed and fire at grid Savetotapo Loadfiom attackers.
Cuteness than you'll find in drums or cymbals and play the exotic vegetation the ducts, dodging trom side tape f-'&efy morgos character
any other Commodore 64 along with your own or any of to side ol the narrow corndor. Also available
sels mlo existing programs.
game'. A gams lor the young thoproset rhythms Also available Tornado*
Hex S Dec CW%. Charade'
at heart andpeople who have Xadom • Astro Blasler * Aiso available
manipulation. Minor, rotate,
Bugaboo
tired of alien Dashing Also available Games Designer • Damper & Gloopei • Croaka
Bugaboo •Aquaplane • 3D Strategy • AnlAttacK • invert, lelt. ngnt. up down,
Crawla • Pioneer Trait •
Ring ol Power • Sting • The Chess Player * hold, wipe, cancel. Redelme
Munchees whole character set. Also
Qwntic Warrior Smugglers Cove •
Velnor's Lair ■ Trader* works in colour mode
Excellent examples supplied.
Traxx • Time Gate
QUICKSILVAINC426 West Nakoma San Anionio Texas 78216. (512) 340 3684.
specially reserved to hold the address where this
1
M^MMMMM|
interrupt routine begins. When you turn on your
64, it automatically sticks the normal (default)
address in these locations. The first part of
mm ™
t JLJJ
Spritemove just changes this vector to point the
computer to the beginning of our ML program.
■-* nw mi
At the end of our ML routine, we send the
• •«»• computer on to its normal interrupt program at
'- -: : ■_ " SEA31, rather than returning to the program as
we do in a conventional ML subroutine.
Watch It In Isolation
I
Such an interrupt-driven Ml. routine will seem to
M^ run independent of BASIC. To watch Spritemove
in isolation, first RUN Props and press the STOP
key when the props move. You'll see the blinking
cursor and READY signal, which shows the com
7/ it)l71 take some tricky maneuvering to free this bird from the
whirling propellers. puter has quit executing our BASIC program.
We're back in BASIC immediate mode, but
Spritemove is still working along with the inter
Vary The Difficulty With rupts, so our graphics and sound keep going.
We can do anything we'd normally do from
Delay Loops BASIC, even call other ML subroutines as we did
Running at full ML speed, Birdmove is fun to in the examples above, but there's a limit to how
play with, but too fast to be practical. Props uses far we can take this technique. Grafting a lengthy
a variable delay loop (pegged to skill level) to slow ML routine onto our interrupts will make those
things down to a manageable speed. "time-outs" so long that they slow our BASIC
Spritemove, the second big ML routine in operations down to a crawl.
Props, handles the sprite animation, moving the To stop Spritemove, first clear the screen of
eight propellers up or down at the correct speed character graphics by holding down SHIFT and
and twirling them in unison. pressing CLR/HOME. Now type SYS49152 and
Look at lines 2-6 of Props and you'll see some press RETURN. The props and sound should
thing odd. The game works by cycling through freeze.
these lines, calling the Birdmove routine over and To restart the props, move your cursor up to
over with the statement SYS 49408. But Sprite- the same tine and press RETURN again. The in
move is called only once (SYS 49152) in line 1, terrupt vector now points to Spritemove again,
while we're setting things up. Yet the sprites move and we're back in business. Spritemove (as in
continuously as long as we're playing. How can "Hawkmen") is designed to alternately change
we make Spritemove work all the time without and restore the interrupt vector, every time we
calling it repeatedly? Easy—just let the computer call the routine, letting us turn it on or off at will.
do it along with its other housekeeping.
The Sprites Are Still There
Harnessing The Hardware Note that stopping Spritemove doesn't erase
Interrupt the sprites. If we want them to disappear at
In addition to executing your programs, your certain points in Props, we have to disable their
computer's processor chip has continual house display with the statement POKE SP + 21, 0. When
keeping to do like updating timers and scanning that's done, the sprites are all still moving in the
the keyboard, But it can do only one thing at a sense that Spritemove keeps changing their loca
time. So occasionally the computer stops doing tion registers and shape pointers as always. But
your work and takes time out for its own. You none of this is visible since we've commanded the
never notice these interrupts, because they happen computer not to show it on the screen.
about 60 times every second. Compared to the interrupt routine, the rest
Like Birdmove, the 64's hardware interrupt of Spritemove is simple. The BASIC setup portion
routine is just another ML program, starting at of Props sets all eight sprites to fixed horizontal
location 59953 (SEA31) in memory. By changing locations, giving each a track to run up or down
one pointer (vector), we can have the computer in. Each prop always flies in the same direction—
perform our ML routine first, then on to do its one space up or down on the sprite grid for every
housekeeping as usual—60 times a second. execution of Spritemove at skill level I.
Memory locations 788-789 (S0314-0315) are Each sprite has a register (memory location)
54 COMPUm's Gazollc May 1984
i?:gz&?
game yet- M^
strategy-
Commodore ^
64 disk &
cassette
Commodore 64
disk & cassette
containing its vertical location. To move the props, and forth from ML to BASIC sections of your pro
Spritemove increments or decrements every gram. In BASIC, of course, we'd name a variable
vertical location register one or more times, de something like HOME, and say that HOME = 1
pending on skill level. when home is reached, making sure that
Believe it or not, this is simpler in ML than in HOME =0 at all other times. But ML doesn't rec
BASIC. Let's say sprite 1 starts out at vertical loca ognize names—just numbers inside memory lo
tion 100. If we start plopping bigger values into cations. So, in Spritemove we choose a special
its vertical location register, sprite 1 will move memory location (842) to represent the condition
down the screen. of our home flag. Then we store a 1 value into 842
as a signal whenever home is reached.
Safe Increments Are Assured Line 3 of the BASIC program uses the PEEK
In BASIC we'd have to program in a safeguard to function to check that same memory location
make sure we couldn't POKE a value larger than (HM = 842) for a nonzero value, branching to the
255 into the register, since that would abort our BASIC "home" subroutine at line 20 if that condi
program with an ILLEGAL QUANTITY error. tion is satisfied. Once we've performed our home
But ML lacks the error-checking mechanics of routine, we set the flag back to 0 in line 24, so that
BASIC, and simply won't let you put a number our bird can get lost again.
bigger than 255 into any memory cell. Trying to
increment a register from 255 to 256 will just flip Synchronizing Sound And
its value back to U. Increment that register again, Action
and it'll contain the value of 1, and so on. Props also creates its filtered and ring-modulated
The same thing works in reverse—decre sound effects by passing values from ML to
menting a register that contains a 0 value will give BASIC. When the bird flies around the screen, a
us the value of 255. This characteristic of ML, soft musical tone is heard, changing constantly in
which might seem a limitation, is used to advan relation to screen position. We start making this
tage in Spritemove, which just keeps incrementing sound in line 2 by POKEing voice 1 on. In line 6
and decrementing the vertical sprite registers we change the pitch of voice 1 by PEEKing into
blindly- We know ML won't let us exceed the safe location 251 which, you'll recall, is used by
0-255 range which, conveniently enough, the Birdmove to store our bird's screen location. In
sprites also use for vertical location. this simple way, we can link the bird's sound
effect to its graphics action.
Animating The Propellers Voice 2 is always on during the game, set to
You define a sprite's shape by pointing it to a the noise waveform to make a swooshing sound.
block of shape information which you've placed The effect of fading in and out is created, not with
in memory beforehand. To rotate the props, we the volume control {which affects all three voices
just flip them through a series of related shapes, equally), but with a filter, which we can set to
much as the birds are made to flap their wings. affect any or all of the voices at a given time. In
Spritemove points all eight sprites in unison to line 1002 of Props we POKE register 54296 with a
successive sets of shape data which was stored value of 47. Besides volume, this register lets you
when we set up Props. Since props are bilaterally select what type of filter you want. So we started
symmetrical, we can save memory space and get with a value of 15 for maximum volume in all
the effect of an eight-position rotation by flipping voices, then added 32 (15 + 32 = 47). This turns on
them repeatedly through a series of only four bit 5 of the register to activate the bandpass filter,
shapes, which will cut out all but a narrow band of fre
Just as the computer looks in a special place quencies in the tone of the filtered voice.
to find the address of its interrupt routine, Next we have to tell the computer which of
Spritemove checks and changes a special spot for the three voices it should send through the filter.
the current shape pointer, location 828 ($033C). Also in line 1002, we POKE the value of 66 into
We've used other memory registers in the register 54295, which sends voice 2 through the
cassette buffer to store things for our ML routines. filter and selects a moderate amount of resonance.
Locations 832 and 833 hold values received from (If you've never played with filter resonance, try
the joystick, as we've seen. Location 842 holds editing line 1002 to substitute the value of 226
the home flag: The Birdmove routine will store a instead of 66, to hear the more pronounced effect
value of 1 here if the bird reaches home; otherwise, of maximum resonance.)
the register contains a 0.
A Swoosh Is Filtered Noise
Passing ML Values To BASIC Now the filter's ready to use. Picking the noise
This is an example of how to use variables in waveform for voice 2 gives us a more or less ran
machine language, and pass information back dom mishmash of all audible frequencies to work
56 COMPUTE!1! Gazette Mp/1984
If you've been having a hard time
teaching your newly-adopted computer
there's more to life than fun and games,
you're not alone.
Now, you can introduce your Commodore 64™ to the Work Force: affordable, easy-to-
use software and hardware that will unleash the power you always expected from your
Commodore 64 ™, but thought you might never see.
PaperCtfp"' BusCardlt"
is simply the best word processing program of its is a magic box that lets you transform your humble
kind—loaded with advanced features, yet so easy to home computer Into a powerful business machine. It
use even a novice can get professional results. With gives you the added power of BASIC 4.0, and lets
SpellPack ; it even corrects your spelling! Once you've you add IEEE disk drives, hard disk, virtually any
tried it, you'll never use a typewriter again. parallel printer, and other peripherals without extra
interfaces. Completely software invisible.
The Consultant™
(formerly Delphi's Oracle) B.I.-80 Column Adaptor
is like a computerized filing cabinet with a gives you crystal clear 80 column
brain. Organize files for recipes, albums, display. Using the highest quality
or the membership of your service club.
hardware, we've eliminated tne problems
Then search, sort, arrange and
of snow, fuzzlness and Interference.
analyze your information with speed
Basic 4.0 commands greatly simplify
and flexibility that's simply astounding. disk drive access. Switches easily from
40 to 80 column display.
SpellPack™
teaches your 64 to spell. It checks an entire
Discover the true power of your
document in 2 to 4 minutes against a Commodore 64". Ask your dealer about
dictionary of over 20.000 words. And you
the Commodore 64™ Work Force, from
can add up to S.000 of your own
Batteries Included—the company that
specialized terms. Type letter perfect every doesn't leave anything out when it comes
time!
to making things simple for you.
BATTERIES INCLUDED
'Excellence in Software'
These products h.we been developed specificity lor Commodore computers by BanerieHnciuded and are totally compatible with each olfief. Foiafulkolor brochure write to:
186 Queen Street West, Toronto, Canada M5V 1Z1 {416) 596-1405 / 3303 Harbor Blvd., Costa Mesa, CA. 92626 (714) 979-0920
64 AND COMMODORE 6t ARE REGISTERED TRADE MARKS OF COMMODORE BUSINESS MACHINES
with. Setting the cutoff frequency low will pass ML. Take a look at lines 11050-11058, which govern
through a narrow band of low frequency tones for the animation and sound of wings flapping during
a roaring or rumbling sound, and cut off all other the instruction display. Here we're controlling the
tones. A high cutoff value gives us a narrow band filter frequency from an entirely different source.
of hissing, high-frequency tones. To make a
swooshing sound, we just change the cutoff fre A Special Number Generator
quency at high speed, from low to high values. Location 54299 (VM + 3) is a very special register
To tie this sound to the graphics action, we that can be made to produce four different number
let Spritemove change the cutoff frequency at ML sequences which are handy for controlling sound.
speed. At the very end of SPRITEMOVE is a little It can generate a 0-to-255 sweep like we've used
routine (hat stores a value info the filter cutoff up to now. Or it can sweep from 0 up to 255 and
frequency register. This value is the same one back down again. It can generate random num
used to control how many spaces the sprites move bers, and can also flip back and forth from 0 to
each 1/60 .second. So al higher skill levels we add 255 at varying rates.
bigger numbers to the cutoff frequency register, You choose which number sequence you want
to sweep the filter from low to high more rapidly. by selecting one of the four waveforms for voice
As with sprite positioning, we can increment 3. You control the rate at which the numbers
forever, without fussing over illegal quantity er change within that sequence by setting the fre
rors. What we get is a repeated iow-to-high sweep quency of voice 3.
in the range t) to 255. For a convincing wing-flapping sound, we
want the filter to sweep up and then back down
Filtering Voice Three again. So we select the up-and-down number
The echoing synthesizer tones heard while paus sequence by setting voice 3 to a value of 16 in line
ing, or when the bird's mate changes coops, are 11050. To time it to the beating of our birds' wings,
produced by applying similar bandpass filtering we just fiddle with various pitch frequency values
to voice 3. The technique is the same—we sweep for voice 3 (H3 and L3) until we get il right. Note
the filler cutoff frequency upward, over and over. that you don't want to hear voice 3—you're only
But instead of noise we're using a triangular using its pitch values to control the output of voice
waveform, ring-modulated by the pitch frequen 2. So W3 is POKEd to 16, which selects the triangle
cies of voice 2 {line 51). waveform without turning on the gate bit which
The pilch of voice 3 is linked to the bird's would make the voice audible (that is, by POKEing
screen position by using the value found in loca W3 to 17).
tion 251. And the pitch frequency of voice 2 is Once you have Props working, you can learn
also swept down over and over, in our familiar a lot about the 64's SID chip just by changing the
255-to-0 range, by the Sprilemove routine. values used in this and other sound sections.
Unlike the noise waveform, which contains If you'd rather not type in this game, I'll send
tones at almost every audible frequency, the you a copy. Send me a blank tape or disk with a
triangular waveform is rich in certain harmonic stamped, self-addressed mailer and a check for
frequencies and totally lacking in others. So at S3, to:
certain frequencies the bandpass filter cuts out Philip I. Nelson
just about everything, causing silence. Adding 3801 Garfield Avenue Smith
ring modulation suppresses the fluty tone we'd Minneapolis, MN 55409
otherwise get from a triangle wave, and adds See program listing on page 141. "■}
new harmonics for an even stranger effect.
For CBM-64
and VIC
owners only:
This is just ] of
20 pages of the
newest and biggest
Skyies catalog, hot
off the press.
We know you'll
want this page, in
From Skyies
its full 7x10
Electric Works, the
splendor, and sending you your
oldest and largest
another 19 pages very own copy
professional
of peripherals, within the last few
specialists in the
software and books weeks, call us at
business.
that will make your (800) 227-9998
CBM-64 or VIC (unless you live
computer even in California, in
nicer to live with. which case call Skyies Electric Works
231-ES. Whisman Road
So, if we missed (415) 965-1735. Mountain View, California 94041
Mind
Boggle
James E. Rylee
; , ■■■■■
The world1
is in your hands.
Picture yourself as the tortuous way through the deadly rooms. Test
world's greatest super- your cunning against overwhelming odds!
agent, Graham Crackers.
Chilling suspense and unknown terrors await
You must go undercover and sneak into an you behind every door. You must evade man-
enormous art museum. Incredibly, it's a front for eating robots, monstrous stompers, sweeper
an international terrorist organization! drones and tons of falling boxes — and make
death-defying leaps from moving platforms.
Your secret mission is to heist all the artwork in
search of a classified microfilm. If you don't Only your artful handling of this dangerous
carry it off in time, the world is doomed! assignment can save the world from destruction!
Grab the keys to the 90 fiendishly boobytrapped
rooms (144 in Apple). Brave the multitude of For Apple II & He, IBM PC <£ jr, Atari,
heart-stopping dangers as you make your Commodore 64, CokcoVision & Adam,
BUZTEXT
NEW
NEW
NEW
WORDPROCESSOR
H«kB^ Bp| ■ 1H Commgdore-64 and
NEW
NEW
LI U i ^Jl . VIC-20 «e trademarks NEW
M ' ' ! ^H ' PI [i'r of Commodore NEW
■ %•#■■ ■ ■■■■I Business Machines.
NEW
COMMODORE 64 NEW
MEW
BUZTEXT -SUPER WORDPROCESSOR THE GREAT BOOK OF GAMES, VOL.1, Hardware At Id Oils:
for the Comrnodore-64 by Franz Ende Parallel printer interface KIT Order#4990 E 19.95
- ON SALE NOWI - 46 programs for the Commodore 64 Universal Experimenter Board Order #4970 K 9.95
• Fully screen-oriented, up/down, left and right Introduction to graphics and sound. How to program Expansion Board, space for four ex
scrolling - Upper and lower case your own games, Walking pictures, animation, high perimenter boardslboard only | Order #4992 E 29.95
• More than 70 tjjrnmend* resolution graphics, programming tips and tricks, hints
• Full I/O compatibility with Commodore peripheral] Tricks (or VICs. No. 176 S9.9E
and usaful subroutines for the beginner end advanced
Uppor and lower case Universal Experimenter board for VICS9.95
programmer. This book Is a MUST for every CGA owner.
• Works with practically every printer on tTw market,
Come and get it - It's yours for only S 9.95
user def[nabla printer control commands
0idc#182 129 pages S9.95
• INCLUDE command allows handling large files
Programs from the book on disk. Comtnodore-64
on up to 4 diskettes or on csssetw.
• Build in terminal software for electronic mail and OrdafS498B S1B.95
networking. Telecommunications mode, upload and MORE ON THE SIXTYFOUR, bv H.-C. Wagner
download, uve on disk or cassette. How to get the most out of your powerful Commodore
• Dynamic Formatting, Imbedded commands 64. Very important subroutines, tricks and hints in
• Single keystroke for disk directory end error channol
m&ehtna language for your C-64. How to modify DOS.
• Program comes on disk at cassette
How to connect a parallel and serial printer. How to
• Double line spacing, left and right margin justification,
design your own terminal program for communication
cantering, page numbering, and practically everything
one expects from a good ward processor. and networking. Dig into I/O for cassette and disk.
AVAILABLE NOW! Order = lB3 89.95
Order P496S S89.00 Programs from the book on dilk
Manual only 162 pages) E29.95 Order #4989 819,35
Book No. 194 812.95 Book No.182 E9.95
MACROFIRE NEW PRODUCTS
Editor/AsiemblBr forthBComniodore-84 Witch out for our now book), software and add-ons to NEW Product! (or tin
ON SALE NOW come soon. ON SALE NOWI - ORDER TODAYI C-64
AVAILABLE IMMEDIATELY How to program in 6502 Machine Language on SUPERMAILINO (D)
One outstanding lool, coniisting of 3 powerful elements OrdarNo.4962 £49,-
your C-64 ,by S. Robens I Introduction)
combined into one efficient program I Supcrinvamory (D)
OrderJ* 184 G 12.95
1.) Fully screen-oriented Editor (more than 70 Ordar-No. 4961 S 49,-
commands) Com mod ore-64 Tuna-up, Vol. I, by S. Robens BUSIPACK 1 ID)
2.) Very fast iiiembler with macro capability How to expand and customize your C-64. Order-No. 4963 S99,-
3.) Machine Language Monitor Ordor#1B5 S12.95 SlxtvFORTH ID)
Assembly can be started from trio editor. Translates In FloFORTH for C-64
Small Bujinew Program) for the Commodoro-64 Ordar-tVo.4960B39,-
3 pastes, More than 1.000 lables. screen orientod/no line
by S. Roburts
numbers, scrolling, includei dilk film.
How to make money using your C-G4. Mailing list, For your VIC-Z0
Practically everything the serioui machine language
invoice writing, inventory, simple word processing and Trickt for VICt
programmer need i everyday I
much more.
Ord»r-No. 176 £0.05
Manual only £19.95
Universal Experimari'
Order $4963 £89.00 Order # 186 812.95
tar board
Dealer and Disvibulof inouiries are invited. BookNo.183E9.9S Ordar-No. 4844S9.B5
HOFACKER
PAYMENT: check, monoy ordnr, VISA. MASTER ELCOMP PUBLISHING, IIMC
CARD. Eurocheclt, ACCESS, Interbank
53 Red rock Lane
Prepaid orders add 83.50 for shipping (USA)
£5.00 handling for C.O.D. Pomona, CA 91766
All orders outside USA: add 15 % shipping, Califor
nia residents add 6.5 % i*lei tax.
Phone: (714)623 8314
Telex; 29 B1 91
SuperSprite
Nick Sullivan
LINE
IHIIIISOFTWARE
MAILPRO M
,(416)273-6350,
7S5 THE QUEENSWAY EAST. UNIT 8,
NISSISSAUCA. ONTARIO CANADA. L4Y 4C5
REVIEWS
Comm-File™
really shines in its explanations
of what you should consider and
why. A four-page appendix de
voted to this subject takes you You deserve it... so does your Commodore 64!*
step by step through the process. COMM-FILE is a powerful data Data Capacity. . . Flexible User-
After the error-trapping base program that eliminates Designed Files and Fields. ..
routine is set up, CodeWhtcr will multiple data files and turns Complete Mathematical Cal
convert your design into a BASIC them into one organized and culation Abilities Powerful
concise information manage Search and Sort Control File
program. The process takes from
ment system. Offering extreme Merge Capability. Advance
30 minutes to more than an hour, ease of use and tremendous Text Editing Features. . and
depending on the size of the versatility, COMM-FILE can Custom-Designed Printer For
application. The final version maintain reports, records, form mats ... all to bring maximum
will run by itself. You don't need letters, invoices, listings, mailing efficiency and effectiveness to
addresses and any other infor any business!
to load CodeWriter or any other
mation vital to your business'
program into memory first. proficient operation.
After conversion, you are
COMM-FILE combines Extensive SOFTWARE
prompted to place your formatted
I'.O, iiox 94B. WaterlHiry, CT 06720
disk in the drive and press RE "LomniuiJori? i; a registered [rjd
commodore BustMSS Machines 203-621-9361
TURN. Your program will be
saved to disk.
Generating Reports
The ability to create programs is
The Commodore 64 is your first "real"
only part of CndcWrite/a power. computer. So. it stands to reason that
The second part, Disk 2, is the the software you use be real too. And,
Report Creation System. useful.
Report Creation lets you The INSTA series productivity
access the information from your software is just that - reai and useful
CodeWritcr programs and print it
With our tutorial manuals and HELP
to the screen or on paper. SCREENS we actually teach you what
The manual shows how to word processing, spreadsheets and
set up a report and how to use graphs are all about.
fields in the program to extract Games are fun....for foolin
specific information. Report Cre INSTA is for real.
ation allows the fields to be
manipulated mathematically in
the same manner as when you
designed the program.
In designing your report,
you may use a 40-column or 80-
column format. Paging from left
to right on the screen, you can
design in 80 columns and see
the results on the screen as they
would appear on paper.
As in the Data Entry System,
the computer converts your re
port design into a BASIC pro
gram which is saved on disk.
REVIEWS
The program generation does the other. Backup disks are avail VICmodem Software
not take as long, usually finish able at a low cost after you regis
Works, Too
ing within 30 minutes. ter the warranty. Dynatech offers
Although using CodeWriter a one-year, free replacement If you already have VICmodem
warranty and a toll-free hotline terminal software with these
proficiently requires a bit of work
capabilities, it will also work with
and time, the effort is quickly to provide help when needed.
the Automodem. However, to
paid back when your custom Upgrades are free to registered
use the automatic dialing and
programs start clearing up the owners in exchange for their
answering features, you will
problems you bought your com original disk.
need software which includes
puter to solve. Cud (.■Writer
these routines.
CodeWriter comes on a Dynalech Mien/software, Inc.
The Automodem manual
double-sided disk, with the Data 7S47N.CaldwellAve.
explains clearly how to hook up
Entry System on one side and Niks, IL 60648
$99.95 © the modem and put it into oper
the Report Creation System on
ation. It explains how to use the
software, and includes a BASIC
program you can use to add auto
The Commodore dial and auto-answer capabilities
to your own software.
Robert Sims, Assistant Editor One of the few errors in the
manual occurs in this BASIC
The Commodore 1650 Auto- modular telephone plugs, one program listing on page 22. Lines
modem is designed specifically for the cord that connects it to 310-350 contain a routine to
for the VIC-20 and Commodore the telephone wall plug, and check for a ring signal and to
64. It plugs directly into the user one for a cord from the modem send the signal that puts the
port, with no need for the special to any modular telephone. This modem on-line (the electronic
cables and RS-232 interfaces re arrangement allows you to con equivalent to picking up the
quired by most non-Commodore nect the modem to the phone receiver). As written, the routine
modems. line without disconnecting the detects the ring, but never actu
Like all modems, the Auto- telephone. To switch from data ally answers the phone. A Com
modem translates your com mode to voice transmission while modore representative assured
puter's digital signals into sounds on-line, pick up the phone hand me that if you insert this line:
which can be transmitted over set and move the switch on the
335 IF X=0 THLN POKE Bl,32
telephone lines, and translates modem to the T position. This is
incoming sounds into the signals useful when you are swapping the program will answer the
files with a friend and want to phone properly.
your computer recognizes.
But unlike other modems in talk between data transfers.
Commodore has included A Duplex Glitch
its price range, it has the ability
everything you need for basic Another minor error of t nission
to automatically dial or answer
telecommunications. Besides the involves the duplex settings.
the phone, for faster and easier
300-baud Automodem, you get a With the Automodem, you have
telecommunications linkups.
modular cord which connects two ways of choosing the .setting:
your phone to the modem, and The H/F switch on the modem
The Function
a cassette tape containing two can be set to half or full duplex,
Switches simple terminal programs (one and your terminal software will
The Aulomodem's functions are for the VIC and one for the 64). also have a duplex setting.
changed with three switches, This software gives you the Whether you choose half or
which set the modem to originate capability to access bulletin full duplex will depend on how
or answer calls (O/A), to operate boards and information utilities you are using the modem. To
in half or full duplex (H/I;), and such as the CompuServe Infor access CompuServe, you set the
to switch the phone line connec mation Service, but it does not modem switch and your soft
tion back and forth between the include routines for download ware to full duplex. But for most
modem and a telephone (D/T). ing (receiving) or uploading bulletin boards, and to com
The modem also has two (sending) files. municate with a friend's com-
BASIC
on your screen, lliikkee tthhiiss. imaginative graphics and hands-
This problem is not mentioned on programming experience.
Each BASIC lesson is presented
in the manual, but the solution
A TUTORIAL on the monitor screen and in the
is simple. When you want half
BASIC, A TUTORIAL introduces manual for self-paced learning
duplex, set the modem switch to both at dnd away from the
you to the essential elements of
half and set the software to full programming your Commodore computer.
duplex (or vice versa). The half- 64 in the BASIC language, Every BASIC, A TUTORIAL helps you
duplex setting is dominant, so thing from keywords and state truly understand and use your
you will eliminate the double ments to data handling and computer to its fullest. Isn't that
printing and so much more! more challenging than 'just
letters but will still be trans
playing games'!
mitting in half duplex. BASIC, A TUTORIAL makes
learning fun for even the young
Pulse Dialing est computer "whiz" through
SOFTWARE
Finally, you should be aware 'Commodore is J ft'jjisttrcd trjcfenurk ol
Ci>mm(KlmF' timing Machines Box 94B, Walcrburv CT 06720 2OJ-021 -
that the Automodem's automatic
dialing feature uses pulses only.
The modem will work for ordi
nary dialing on residential
Touch-Tone lines, because tone
We know. You've been looking
line equipment also recognizes everywhere for 64 software, INSTA's
pulses. But pulse dialing is not interactive line of software is lust a
phone call away.
compatible with some special
phone company services. For Imagine, specially designed software
that "talks" to one another. Your home
example, in order to use a tele budget created with CALC instantly
phone calling card without becomes a GRAPH. And your club
operator assistance, you must be membership list with addresses and
monthly dues quickly becomes a form
able to generate the tones, using letter, printed over and over again,
either a Touch-Tone phone or automatically, for each member.
your modem. So, no more lookin' around. INSTA is
Such sophisticated uses here now!
require special software and
programmable firmware in the
modem, at prices double the
cost of the Automodem and
more.
Here's a mini word processor that's handy for You can save about half (he work of typing if
memos, notes, or lists. Written for the 64, we've you leave out line 9 and lines 500-780 and just
added a version for the unexpanded VIC. refer to the program listing for instructions. Line
500 sets the background and border colors; these
can be set to your preference.
With "Memo Writer" you can fill the screen with
text and then edit it using .ill of the editing keys A Caret Prompt
you are already familiar with: cursor controls, The caret marks at the left side of the screen help
insert and delete, and home and clear screen. keep track of where you are on the 80-cotumn
Since you are limited to one screen of text, line. Don't forget to erase them before you print
the program prevents you from doing anything or they'll appear in your printed output. You can
which would cause you to scroll off the bottom of eliminate or modify them in line 800.
the screen, thus losing the text at the top. Well, A side effect of having repealing keys is a
almost anything. If you use the INST key to insert possible inconsistency when selecting (toggling)
characters on the bottom line, the screen will between uppercase and lowercase. This may or
scroll, so avoid this if possible. may not be an aggravation. To turn off this func
The function keys are used for tabs and se tion, delete POKE 650,128 in line 10.
lecting print options. You can choose single- or
A Blinking Cursor
double-spacing and expanded or normal print
There are a couple of tricks in the input routine.
sizes. There are no set margins, but the tabs can
POKE 204,0 in line 10 turns the cursor on. Nor
be used to move the left margin.
mally you wouldn't have one during a GET and
PRINT sequence. POKE 205,3 in line 40 sets the
Two Typing Modes cursor blink countdown tinier to a short count, to
You can type in either capitals or lowercase letters. even out the timing jerks caused by the GET loop
The print subroutine PEEKs to see which shift in line 2(J. Without this, typing is not smooth at
mode you're in and sends the proper control all. WAIT 207,1 in line 40 waits for the cursor to
characters to the printer. blink off before printing. This keeps the PRINT
The 64 program structure can bo divided into statement from leaving reverse characters behind
five parts: during the cursor blink phase.
The PEEKs in lines 35 and 50 check to see if
1. Lines 9-60 handle the input and sort out
you are on the last screen line, and keep you from
the control keys from the text input.
doing anything which would cause the screen to
2. Lines 100-220 perform the control key
scroll. It should be fairly easy to add any special
functions.
features you want. This program supports the
3. Lines 500-780 print the instructions. full graphics character set, but of course it will
4. Lines 800-820 format the screen. only print properly on a Commodore-compatible
5. Lines 60000-60140 dump the screen con printer. Those with other printers may need to
tents to the printer. This is a modified ver make some changes in the control codes in order
sion of the screen dump program contained to make Memo Writer compatible.
in the VIC printer manual. See (iro^nun listings on page 148. W
71 COMPUTEI's Gazette May 1984
Food for Thought
Real computing at appetizing prices.
64 PAK;" A sell-leaching sampler
package of 10 menu-driven programs.
Inventory 64'" An easy-lo-use Ideal as an introduction to computing.
menu-driven program that lets you Or compute your lite expectancy,
(rack complete and complex invento your mortgage payments, even learn
ries. Pinpoint locations, vendors, Ihe language of the deaf, plus a lot
units of measure. Update prices, re more Only S19.95*, on tape;
orders, sales, entire stocks. A power S24 95: on disk
ful tool for your home computer at
only $29,95: on disk. "
Now you can do real, honest-to-goodness computing at computer-game prices. Computer Software
Associates brings you hard-working software that makes your work easy. (While it's easy on your budget.)
All programs are easy to work with right on the screen, from self-teaching instant software that tracks your
vital statistics to potent programs to track inventories and profits. ^^. p^MDHTrn
Of course, if it's games you want, we've got them too. But if you're look- jS^^ OvJJVlJrU 1 fcK
ing for home computer power with real brainpower, look no more. Now ■■ SOFTWARE
you can play for keeps, ^W ASSOCIATES, INC.
Exclusively distributed by Micro Software International, Inc. • The Silk Mill, 44 Oak St., Newton Upper Falls, MA 02164 • (617) 527-7510
'Pncesaresuggesiedreiail; actual retail prices may vaiy. ffi 1984 Computer Software Associates. Inc Commodore 64'", irademaik of Commodore Business Machines, Inc
THE BEGINNER'S CORNER
C. REGENA
Teaching Music
With Computers
One difference between microcomputers like the sound to indicate an incorrect or unacceptable
VIC-20 and Commodore 64 and "big" computers response. You could also use a noise instead of
(minis and mainframes) is that micros can play tones. Naturally, a correct response needs a posi
music and create sounds. They can play a variety tive reinforcement, like i\n arpeggio or a happy
of tones and three voices at once. They also have tune. Adding sound to an educational game will
a noise generator and can combine music with make the game more arcadelike and help to keep
noise for a variety of sounds—arcade-game noises the student's interest.
to three-part classical music. To play music on the VfC and 64, you must
To program music, you need to keep your first turn on the volume. You can choose a level
manuals handy. In Commodore BASIC there are from 0 to 15, where 15 is the loudest. If I use music
no PLAY or SOUND commands. Instead there in a program and won't be changing the volume,
are POKE statements, where different numbers 1 like to set the volume at the beginning of the
represent the voices and tones. In my column in program (before any sounds are used):
the August 1983 issue you'll find some pro VIC: 110 POKE 36878,15
gramming tips for creating music on the VIC. 64: 110 POKE 54296,15
Programming music on the 64 is more complex—
mainly because more options are available. You For each voice or sound channel there is a
can control the waveform, attack-decay, and different location to POKE the tones. Hach tone
sustain-release. Using different combinations, has a number. You'll find a chart in your user's
you can make your Commodore 64 sound like an manual that converts the letter names of the mu
oboe or a trumpet, a piano or a drum. Gregg Peele, sical notes to numbers for the POKE statements.
our musician-programmer, has written several Variables may be used for the numbers in the
GAZETTE articles in past issues to help readers POKE statements. The M has two values for each
understand the complexities of the 64's music. note, a high-frequency value and a low-frequency
value for each tone. To play the tone, find the
numbers needed from the Table of Musical Notes.
Sound And Music In
In one channel, the statements to play a high A
Educational Programs are:
This month we'll look at the use of music in edu
VIC: 130 S=36876iPOKE S,237
cational programs. Early programs for computers 64: 130 HF=54273:LF=54272:POKE HP,112iPOKE
were mostly "computing"—manipulating num LP ,199
bers for calculations in formulas or business pro
grams. Soon programmers discovered that self- For the 64 you'll need to choose some of the
paced instruction and drill work were ideal appli options also.
cations for these machines. Eventually educators 120 POKE 54277,64sPOKE 54278,128iW=54276
worked with programmers or wrote their own 140 POKE W,17
programs so that computerized instruction also
contained good educational concepts. Color and Timing Methods
music were then added to enhance educational The tone will play until you POKE numbers for
programs. different tones, turn off the volume, or POKE 0
How is sound used in programs? One tech for the tones (or on the 64 POKE a different
nique is to use an audio prompt when the user is number for the waveform). The most common
expected to respond. I usually use an "uh-oh" way to play a note for a certain length iif time is to
74 COMPUTE!'* Gazette May 1984
NEW!
Universal Input/Output
Board for VIC-20/64
• 1 EROM socket.
■ Use multiple boards tor additional channels
up to 6 boards,
MW-302: VIC-20/64
Parallel Printer Interface.
Complacency or curiosity?
Move your children away from reviews, sports and weather. Plus,
the passive nature of TV viewing Dow Jones Current and His
Works with all Centronics type parallel
and turn them on to the excite torical quotes—continuously
matrix 8 letter printers and plottBrs—
ment and fun of interactive learning monitored for accuracy by our
Epson, C.lloh, Okldata, Nee, Gemini with Dow Jones News/Retrieval?1 staff—and exclusive electronic
10, TP-I Smilh Corona, and most With our 20-volume, 30,000 access to instant business and
others. Hardware driven; works off the
article encyclopedia, Dow Jones financial news from The Wall
serial port. Quality construction: Steel
News/Retrieval will pique your Street Journal, Barron '&, and the
DIN connectors & shielded cables. Has children's curiosity about the Dow Jones News Service.
these switch selectable options: Device
world around them and help Overall, you'll find a wide
4, 5. 6 or 7; ASCII or PET ASCII; 7-bit them develop new skills. The variety of high quality data bases
or B-bit output; upper S lower case or information they need for school that are easily and quickly ac
upper only. Recommended by PRO
is easy to access, always up-to- cessible with most personal
FESSIONAL SOFTWARE for WordPro date, always ready. And kids love computers.
DOWJONES
$CALL
Quick Bui ran fon .... . .. '42
T WENT OUTSIDE WITH MOWMT. D«D-" youngster picks objects
Eaiy Scipt h34
DV AND Ur BBOTHEn 10 SEE THE
Won) Pro 64 ..'8« TRAIN
from the library {prin
EZ Scull ....'17
cesses, pirates, houses.
PROGRAMMING SERIES vehicles, people, etc.). colors them and arranges
Assembler 64 ■15 them in the picture!
Logo '3B
Pilol '38 Older youngsters can then type in a story-line or
Simon Bane '19 caption, and the page is saved to disk.
'19
CPM ? 2 '66
Page after page can be saved. But the fun isn't over
EDUCATION yet! Your chiid can PRINT the book on almost any
printer capable of producing Commodore graphics!
1541 The first program in BECi's new Creativity Series.
Disk Drive $Call Sciencn I-IV
Technology
History
Available soon for the Atari.
the audible prompt and the "uh-oh" sound for an See program listing* on pa$e 150. Of
incorrect response. Line 40 is a delay used in play
ing the notes shown after the student has pressed
the correct answer. The notes are played so the
Which
student can hear as well as see the interval. Software Is
Lines 100-13!) print the title and instruction
screen. Line 140 defines L$ for use in printing the Worth The
musical staff. To type this line, use SHIFT and *
to get a horizontal line. For the VIC use 22 lines,
Money?
and for the 64 use 40 lines. Find out in:
Lines 150-160 define the tone numbers for
playing the notes. The numbers are read in as di\ The SOFTWARE
array. Two numbers are necessary for each tone BUYER'S REPORT"
in the 64 version. Line 170 defines the B array. The newsletter that gives you
The three numbers are the ASCII codes for the the real story behind the software hype.
keys fl, f3, and f5. Line 175 POKEs values neces
• No ttdveniyng means honest, unbused evaluations
sary to play music. Line ISO calls the subroutine
• Topnotch reviewers olfer opinion;, you c^n irusi
to wait for the student.
• Gel in-depth reviews of software for'
Lines 190-380 present the quiz of ten prob
G.inifi jnd Entertainment • Graphics .ma Musil ■ Home
lems. SC is the score. Line 200 prints the musical Appliudioni • Eduction ■ Busmen • Programming Aids
staff. Note that after L$ a blank line is printed ■ Telecommunications -And more'
because LS ends in the last column. You should NEW11 COMMODORE 64/VIC 20 EDITION
see five horizontal lines with blank lines between
Published ten times a year.
them if you have typed L$ correctly.
Subscription rate S3S.00 a yfear U S
Line 211) chooses a random number for the
fi in ididriiind Overseas Addtlior f£$. fS~
first note. There are nine possible positions, so
INT(9*RND(0)) chooses a number from 0 to 8. PI Start Getting The Most Out Of Your
is the screen memory location calculated, so line Software Dollar!
220 can POKE a red circle representing the note in To Order Or Gat Mare Information
Call U» At800-336-3535 IlnPanna 215-691-1912) Or
the chosen position. Lines 230-240 similarly
Write To Us At The Software Buyers Report-RA
choose the second note. 824 Eighth Ave, Bethlehem, PA 18O1B
78 COMPUTE'S Gatette Moyl98<l
If you want [o stay ahead of the personal computing to trade-offs to ultimate success.
revolution ...
Telecomputing with Your IBM. How to'link up with dis
... welcome to COMPUTED PC & PCjr! tant computers over ordinary phone lines, access infor
This exciting new magazine from COMPUTE.' takes mation sendees, even do office work at home with your
you inside the PC and the incredible new PCjr to bring own machine!
you inside information you'll find nowhere else. Music and Graphics. How to play songs and create
You'll discover how to get the most computer power sound effects with your PC or PCjr. Programs to gener
for your money. At home. At school. Al work. With easy- ate impressive hi-res graphics and computer animation.
lo-run programs. Challenging Your First Hour with an IBM.
projects for advanced users. How to avoid those opening
Brand new sound and graphics From the publishers of COMPUTE! night jitters and get. your com
applications. Plus some of the puter up and running fasti
most exciting computer
Financial Analysis. Ready-to-
functions outside of the top-
secret research labs!
We'll help you decide what
Announcing run programs to help you
make intelligent Investments.
PC vs. PCjr. Which one is right
the magazine
to buy. With independent
for you? COMPUTE!'* PC &
evaluations of hardware,
PCjr helps you decide!
software and peripherals.
PLUS: Programming the func
w
CHARTER OR CALL TOLL FREE
1-800-334-0868
COMPUTED
PC&PCjr
P.O. Box 971. Fiirmiiijidiii
HINTS TIPS
Speeding Up BASIC
Robert Friesen and Ramunas Motekaitis
thing, you can discover which is the fastest. Omitting the Z saves you one byte of memory,
and it shaves two seconds off the execution time.
Faster FOR-NEXT Loops Now, if you delete line 2, you might expect the
Enter the program below and RUN it. old search-through-sixteen-variables problem to
7 TI$="000000" appear. But it doesn't. When you ignore the vari
8 FORZ=1TO10000 able after NEXT, the computer seems to do the
9 NEXTZ same. It sees NEXT without a variable and looks
10 PRINT TI/60;"SECONDS" for a FOR. It doesn't need to check variable mem
This program does nothing—it simply loops ory for the value of Z. Using NEXT by itself can
save a lot of time, especially in a long program
10,000 times—but gives us a standard time (or
benchmark) for FOR-NEXT loops. On a 64, the containing lots of variables.
time should be 13 to 14 seconds. An unexpanded The lesson is clear: Use NEXT alone whenever
VIC is approximately 10 percent faster; the same possible. And if certain variables are used fre
test takes 12 to 13 seconds. quently in a program, their values should be de
Now add this line: fined early.
80 COMPUTE''* Gazelle May 1994
Faster Multiplication 2 A=3:B=123.4567
9 C=A*B
If you have tried the programs above, type NEW.
Then type this short program: You've cut execution time to just six seconds,
7 TIS="000000" saving almost 20 seconds by assigning values to
8 FORZ=1TO1000 variables before multiplying. When you multiplied
9 C=3*123.4567 with regular numbers (C = 3*123.4567) they were
10 NEXT
stored as ASCII characters. The computer had to
11 PRINTTI/60;"SECONDS"
translate from ASCII to floating-point before it
The program (which loops 1000 times and could do any math—a time-consuming chore. But
multiplies two numbers) gives us an idea of how when you assign the values to variables, it has to
much time it takes a computer to multiply. A 64 translate the ASCII only once.
takes about 25 seconds to complete the program.
A VIC uses 23 seconds. Again, the VIC is faster. Change the program once more:
Now replace line 9: 2A = 123.4567:B = 3
9C = 123.4567*3 Again we find that putting the longer number
It seems to be almost exactly the same pro first speeds up multiplication. The execution time
gram. Everyone knows thai A*IJ is the same as drops from six seconds to less than five. This rule
P3*A, right? Hut when you RUN the program, you of thumb can be useful when you write a program
will find that it runs one or two seconds faster. using the RND (RaNDom) function or pi, both of
The number 123.4567 contains seven signifi which are long numbers. And, whenever possible,
cant digits; the number 3 has just one. If you try predefine the variables before you multiply.
different values in line 9, you will discover that if You may want to set up other benchmark
the number with more digits is first, the multipli tests to discover other methods of speeding up
cation is faster. BASIC programs. For example, try AA2 against
There is another technique to speed up A*A (multiplying is faster than squaring a
multiplication. Make the following changes to the number). Or test A%*B% against A*B (integers
program: are slower than floating-point numbers). Q
Each month, COMPUTE!^ GAZETTE tackles some language—not really a language at all in the same
questions commonly asked by new VlC-20/Commodore sense as BASIC, but rather the set of very elemen
64 users and In/ people shopping for their first home tary instructions recognized by the computer's
computer. main microprocessor chip. BASIC and all other
languages are actually large machine language
programs themselves, and the PRINT" command
is made up of many machine language commands.
I've seen references in articles, books, and
That's where the Kernal comes in handy.
Commodore manuals to something called the
Why go to a lot of programming trouble if there's
Kemal. It has something to do with pro
already a routine built into the computer which
gramming. Exactly what is the Kemal?
does the same thing? The routine is part of the
Kernal. The Kernal is full of routines, and one of
X»q It's not surprising that you've run across them prints characters on the screen.
this term because it's referred to quite frequently— To use this built-in routine, you could execute
yet your question is deceptively simple. To un the machine-language equivalent of a GOTO or
derstand the Kernal, you must first Learn a little GOSUB in BASIC, jumping directly to the
about machine language and computer operating routine's starting memory address (analogous to
systems. a line number in BASIC). However, this address
You're right that the Kernal has something to could vary on different Commodore computers, so
do with programming. It's a tool used mainly by the program still might work on only one model.
machine language programmers, but rarely (if The solution is the Kernal jump table. This is
ever) by BASIC programmers. The Kernal makes simply a table of memory addresses which point
it possible to write shorter machine language pro to other addresses. You jump to the table address
grams which are compatible with many different for the print-character routine, and the table
Commodore computers. passes you along to the routine itself. The jump
The term Kernal itself means slightly different table is the same for all Commodore computers, even
things to different people. Some use it to describe though the addresses for the routines themselves
a Commodore computer's entire operating system.
might be different.
An operating system is a complex housekeeping
Think of the Kernal jump table as a series of
program required by all computers. It performs
post office boxes. Someone who moves around a
various routine but vital tasks necessary to the lot within the same city could avoid mail problems
computer's operation. The computer would be by using a post office box as his mailing address.
helpless without it. The operating system is per No matter where he moved, his mail would always
manently stored in the computer's ROM (Read reach him through the same post office box. Simi
Only Memory) chips.
larly, by maintaining a jump table of common
Other people think of the Kernal not as the addresses in all its computers, Commodore is free
entire operating system, but as a collection of to change the addresses of the operating system
useful routines (subprograms) within it. Machine routines from model to model. Yet machine lan
language programmers often use these routines
guage programmers can always be sure their pro
to avoid writing similar routines themselves, and
grams will find the routines by using the jump
to help make their programs work on more than
table addresses, which stay the same.
one model Commodore computer.
The results are machine language programs
Let's say someone is writing a machine lan
which are easier to write, consume less memory,
guage program and wants to display a simple
and arc transportable among different models.
message on the screen, such as "Press any key to
Kernal routines are almost never used by
continue." In BASIC this would be a simple one-
BASIC programmers because they are more diffi
line instruction:
cult to access from BASIC, and also because BASIC
10 I'RINT "PRESS ANY KEY TO CONTINUE." already contains one-word commands which do
But machine language has no such command the same things anyway—commands such as
as PRINT". Machine language is the lowest-level PRINT, CET, PUT, etc. <E
82 COMPUTE'S Gazette Mayl984
how to get in touch with
your computer.
■£££—<^
411
K; - '
*^- -r
1 1
ifuturehouse
pi 'gifounds;
HB3E9 P.O. Box 3470 Department C.
—i . ■
Chapel Hill. North Carolina 27514
■■
Fast Add
J.C. Bye
DEVELOP-64 4.0 USE YOUR VCR SIDE BY SIDE WITH YOUR COM
IS NOW PUTER TO LEARN HOW TO PROGRAM, AND HOW
TO USE PROGRAMS. YOUR VCR ALONG WITH
FAST!!! YOUR COMPUTER SERVE AS YOUR PERSONAL
Assembles 2000 lines of code in under 15 seconds TUTOR. PAUSE YOUR VCR TO REVIEW AND
LEARN AT YOUR OWN PACE.
1100-1112 DATA statements for large characters PORTFOLIO MANAGER lets you instantly update your
1113 DATA statement for fanfare stock's current value. Calculate gains and losses. Record
dividends. Print reports. Even determine the price per
plex mathematical calculations have been avoided share after your broker's commission, All you have to do
so that the program can be easily understood and is follow the easy, step-by-step instructions.
modified. You may wish, for example, to create The price? Only $39.95. And that makes PORTFOLIO
subtraction and multiplication versions. MANAGER a great investment by itself.
If you would rather not type in the program You'll find PORTFOLIO MANAGER on tape or disk drive
(VIC version only), send a blank cassette tape, an at your local dealer. Or call direct (313) 540-0655 or write
SASE, and $3 to: PO Box 924. Southfield. Ml 48037 and order yours today.
/■ C Bye
23411 ParkRoyale Dr.
Katy, TX 77450
Money-Saving Bonus
INFORMATION AND ORDER COUPON
Paks of 64 Software TAPE DISK
TOTL.TEXT2.0(VIC + 8K) 24.95 ■ I 28.95
(BP-1)—(disk) TOTL.TEXT2.5(VIC-H6K) ! I 34.95 ill 38.95
totl.text/ TOTLLABEL2.1(VIC + 16K) 1 19.95 ; I 23.95
TOTLTIME MGR. 2.1 (VIC + 8K) ! ) 29.95 : I 33.95
toll, speller/totl. label RESEARCH ASST, 2.0 (VIC + 8K) I"] 29.95 ! 33.95
reg. price $103 NOW $79 TOTL.BUSINESS3.0(VIC + 24K) D 84.95 Other VIC 20ru
TOTL.TEXT 2.6 (C-64) 39.95 □ 43.95 and Commodore 64'" software
(BP-2)—(disk) TOTl.SPELLER 3.6 (-C64| □ 34.95
available from your dealer or
totl .business/ TOTL.LABEL 2.6 (C-64) 19.95 I I 33.95
directly from TOTL Software:
TOTL TIME MGR. 2 6 (C-64) 34.95 □ 38.95
toll time manager/ RESEARCH ASST. 2.Q (C-64] 34.95 n 38,95 Word Processing (toll.text)
totl.infomaster/totl.text TOTL.INFOM ASTER 3.6 (C-64) □ 49.95 Spelling Checker {totl.speller)
TOTL.BUSINESS 3.6 (C-64) D 94.95 Mailing List & Label (toll.label)
reg. price $228 NOW S159 BONUS PAK * Business Accounting (loll.business)
(BP-3)—(disk) Totel Time Management
(totl time manager)
totl.infomaster/ COD' also accepted COD Charges/Solas Tai
Keyword Cross Reference
'COO DrtJeisSSOO ShippingSHandlmg S3.00
totl.text/totl .speller (research assistant)
add SVz^ sales tax} Amounl Enclosed
reg. price $129 NOW $99 TOTL Offers You...
FOR ORDERING ONLY—CALLOUFt TOLL FREE NUMBERS
(BP-4)—(disk) Continental US.1-B00-351-1S55.Caliloinm 1-800-351.1551 low prices and high quality • 30 day
Hawaii and Alaska J15-843-7B77 money-back guarantee on direct
totl.text/ I ] SEND MORE INFORMATIONInochaigolorcalnlufl) purchases • an interactive family of
totl. speller/ Namo software • product registration •
research assistant customer support • free informative
Street
newsletter ■ regular upgrades at
reg. price $118 NOW $89 City. reduced cost • availability in many
Plron L_ VISA stores • 800 numbers for ordering
(BP-5)—(tape) I )- E.p.
Card- Dais convenience • prompt shipment of
totl.text/totl.label direct orders ■ savings coupons with
Quality you can afford
reg. price S60 NOW $49
icm.
each order • money-saving bonus
1S5S Third Avonuo
Walnut Crook, CA 94596
paks • two years and 45,000
Commodore 6fl **nd VEC 20 nro irodomarkr* of products strong
Commodore Business UacfimoB Inc SOFTWARE. INC. 415/943-7877
User Group Update
Kathy Yakal, Editorial Assistant
Beginning this month, the GAZETTE will publish a person for the Next' London Count}/ Commodore 64
regular update on Commodore user groups. They user Croup, can be reached at (203)446-8491, or bv
arc listed alphabetically by state. The list is growing writing P.O. Box 1608, Groton, CT 06340.
so rapidly thai it's difficult to run it in its entirety, Inquiries regarding the Long Island VIC Society
but we'll try to do so a couple of times a year. If you (L.I.V.I.C.S.) should be forwarcted to Lawrence
have already sent us information about your group, Stefani, 20 Spyglass Lane, East Setauket, NY 11733.
(516)751-7844.
please lei us know if there are any changes; other
The Metro Knoxville 64 User Club of Knoxville,
wise, we'll continue to publish it. If you have a new
Tennessee, now supports all Commodore com
group you wont listed, or need to update our infor puters. Its new name is the Metro Knoxville Commo
mation, please write to: dore User Club.
The new president and address for the Triad C-
COMPUTE! Publications
64 Users Group is George Shelhorse, P.O. Box 10833,
P.6.Box54O6
Greensboro, NC 27404.
Greensboro, NC274G3
attn: Commodore User Groups
The new address for the National Science Clubs
ofAmerica/Commodore iber Division is P.O. Box 10621,
Merrillville, IN 46411. Please send an SASE to this
Changes new address for information.
The Nezo London Area Commodore Users has a new All inquiries about MASSPETshould go to
name and phone number. Robert Kind, contact Harry Flaxman, P.O. Box 283, Taunton, MA 02780.
Enclose Cashiers Check, Money Order or Personal Chech. Allow ENTERPRIZES WE lOVEOUH CUSTOMERS!
COM-START/F
Tractor
Friction
Printer
**
12a.'
COM-STAR
orders must be in U.S. dollars. VISA - MASTER CAHD ACCEPTED We BOX 550, BARRINGTON, ILLINOIS 60010
ship COD.
Phone 312/382-5244 to ordtr
SUPER-10"
ABCDEFGHIJKLMNaPQRSTUVWXYZ
ABCDEFGHIJKt-MNOPQRSTUVUXYZ 1 234S67B9O
Buy 1 (at Sale Price!) Get One
Commodore 64
EPYX
A ward Winning Games
Jumpmon — If you like Donkey Kong, you'll love Jumpman. Over 30
different screens with 8 speeds and 5 skill levels make this the fastest action
game in the country. You must leap girders, climb ropes, and scale ladders to
reach and diffuse bombs while avoiding robots, birds, bullets, explosives,
crumbling walls, vanishing escape routes, and many other obstacles. (Truly a
fantastic game!) List $39.95. Sale $24.95 (Disk only).
Dragon Riders of Pern — Based on the best selling book series by Anne
McCaffey (over 10 million sold). This program forces you to make an alliance
with the Lord holders, then mount your dragon {stunning graphics) and battle
the dreaded thread. (Super fast action with a great theme).
List $39.95. Sale $24.00. (tape/disk).
Fax — Stop wasting quarters! Now you can play Exidy's Fax at home. Play
against the computer or an opponent to get the answer first, over 3,700
questions dealing with sports, television, movies, histories, and many more
subjects will keep you playing for hours (a must for trivia buffs).
List $34.95. Sale $24.95. (disk only).
• Buy Any Epyx Gomo From Prolecto And Send The Proof Of Purchase Seals To Epyx And Epy* Will Sond You A Frea Game.
Aoa S300 io' posiage Ada seoOfor Canada puertorico Hawaii '
oraers WE DO NOT EXPORT TO OTHER COUNTRIES I
Enclose Cashiers Check. Money Order or Personal Cnec" Allow it |
days Io' delivery, 2 Io 7 days 'or phone orders. I Oay e»oress mail1 | ENTERPRIZES iWI 1OVE OUHCU5IOMEH5)
Astroblitz Serpentine —
9C (Like Defen Awarding win
/JSTROBUTZ__
der.) Voted No. ning game.
1 computer Avoid hostile
game overall by red snakes and
Creative Com lay your young
puting ! Fan while getting
tastic copy of an food to keep
arcade classic. you alive. Fan
Destroy alien saucers and gun tastic strategy game that has
towers while avoiding enemy become a classic. List $34.95.
objects that float by. List $34.95. Sale $9.95.
Sale $7.95. __
Apple Panic — The fast Then simply beat them
action computer game on the head to push it
hit now comes to the through and destroy the
Priced apple. Otherwise the
VIC-20. You must dig
Below traps in the brick floor apple's will roll right
Cost and wait for the wander over you and kill you. Last
ing apples to fall in. (Fast action.) List $34.95.
Sale $7.95.
Rat Hotel — Here you get to play the Terraguard — Your mission is
rat. Running and jumping from floor to destroy the aliens before
to floor in Hotel Paridisimo you must their ship hos o chance to land.
eat whatever you find but Waldo the Move your base along the
maintenance man has set many ground and shoot up at them
traps for you that you must avoid. List S34.95. Sole $9.95.
Plus Waldo has an atomic elevator
that let's him jump several floors at Video Mania — You're in an
once. See if you can get fo the bot open field and strange alien
tom before Waldo does you in. Fantastic graphics creatures are roaming all over. If
and sound. List $34.95. Sale $9.95. you stand still too long, they'll
collide with you, causing instant , .
Spills & Fills — How much is too
annihilation. Your only defense■s£Mj?
much? How much isn't enough? With
is to destroy them by throwing your electronic,
this original concept educational
footbali-shaped alien zapper at them. Sale $9.95.
game designed for grade schoolers
through high school students, you
can develop ratio and perspective Household Finances — This 4 part
skills. With three exciting and program will take care of all your
challenging skill levels, this program family's finances. Record, change
presents new and ever-changing and delete expense and income
challenges for the inquisitive mind. Sale $9.95. items from 16 categories, monthly
and yearly totals are easily graphed
Nationally and even a budgeting program to
Advertised help you clamp down on excessive
spending. List $34.95. Sale $9.95.
Ada 13 00 lor postage Aaa 16 00 lor Canada. Puerto Rico Hawaii '
orders WE DO NOT EXPORT TO OTHER COUNTRIES |
Enclose Cashiers Check, Money Order or Personal Cneck Allow 14 j
ENTERPRIZES (WE lOVE OUFl CUSTOMERS]
days for delivery. 2 to 7 days (or phone orders. I day exp'ess mail' j
BOX 550, BARRINGTON, ILLINOIS 60010 Canada orders must be in U S dollars We accepl Visa and Master i
Phon« 312/3825244 to ordur Card We shinCO.D 1
Commodore 64
No. 1
Educational Software
At Its Best
Kids on Keys — Letters, numbers, Fraction Fever — This fast paced FRACT
KIDS ON
ond pictures rain down the screen. arcade graphic program helps you FEVER
It's up to you Jo find the matching develop: better understanding of
keys or type in the correct word what a fraction is, of relationships
before the images disappear. Helps between different fractions, and
familiarize the children with the numerical and visual representation
computer keyboard as well os of fractions. To succeed you must
identifying numbers, letters, ond match the right fractions, zap the
words. List $34.95. Sale $22.00. wrong ones, look out for holes in the
floor, and watch the clock. (Fast
paced, highly recommended!!).
List J34.95. Sale $22.00.
IN SEARCH Ofl In Search of the Most Amazing Up For Grabs — If you like UP FOR
Scrabble you'll love this one. You GRABS
Mr Thing — You have been given a
quest to find the most amazing have to grab letters off a rotating
thing. You must negotiate with the cube before anyone else and then
aliens as well as use your problem use the letters to make words in a
.solving skills to overcome obstacles hurry. Fantastic for spelling and
along the way. Fantastic for vocabulary skills.
learning step by step thinking to List $39.95. Sale $28.00.
overcome problems. Highly
recommended! !
List S39.95. Sale $28.00.
Canada orders must be In U.S. dollars. Visa ■ MaslerCard ■ C.O.D. BOX 550, BARRINGTON, ILLINOIS 60010
Phono 312/382-5244 to order
Treasure Valley Commodore M Computer Operators Ei^ht Squared
User GrOOp M. Gauthier J, A.Skelton
P.O. fiox 45477 St, Clafr Community College P.O. Box 76
Boise, ID H3711 Port Huron, M14H0M) Mt. Holly Springs, I'A 17065
(313)364-6804 (717)776-3469
Champjign-Urbjiii) Commodore
User Group (CUCUG) Michigan C-64 User Group A-K64 User Group
Jeff Stevenson P.O. Bos 539 Alton E. Glubish
2006 Crescent Dr. East Detroit, MI 48021 1762Fiitrm(mlSt.
Champaign, [L61821 New Kensington, I'A 1506B
Btalneid Area Commodore (412)335-90/0
(2I7)3«S-1616
User Group
Logansporl Commodore Club Norm Saavedra Commodore User Group
Mark Bender 121'IS.F. lltliSt. Alan B. Karpe
i02QMichigan Ave, Bralnerd, MN 56401 c/o Lincoln Technical Institute
. LogansporY, IN -WH7 (2IH)S2'l-|]«0S 5151 TllghmanSt,
(21')) 722-5205 Allentown, IJA
Commodore liiloxi User Group (215)770-1(132
Capitol Complex CM Computer (ComBUG)
Club do Universal Computer Services dBas
Doren Hulet 3O02Hwy.9OE. Maria Franco Arroyo
Grimes Bldg. 3rd Fl. Ocean Springs, MS 39564 14-DLaSaUeSt.
DesMoines,IA 50319 (601)875-1173 Cubao,
(515)281-3550 |ohn I assen Quezon City, Philippines
Step Lister
E. A. Cottrell
"Step Lister" lets you look at your BASIC pro stores PRINT, for example, as 153.)
gram lines without repeatedly typing LIST. No interpretation of the characters following
This is a machine language routine, but it re the line number is made until the program is RUN.
quires no special knowledge to use it. For VIC If the first character is not numeric, the line is
and 64. tokenized and placed in the BASIC input buffer at
locations 512-600 ($0200-$0258). The interpreter
then calls the CHRGET subroutine to get the
"Step Lister" is a machine language wedge characters from the buffer and return them for
(explained below) which allows you to step interpretation.
through a BASIC listing one line at a time. To implement a wedge, the CHRGET sub
To sec the first line of your program, just routine located at 115-138 ($73-$8A) must be al
type: tered to go to your machine language program
@0 before returning to the interpreter. At the entry
point of the wedge, a check is made to see if the
(Entering any other number after the (a will start
special character (in this case, (<i) has been en
the listing at that line. There should be no spaces
tered. If it has, the special routine is executed.
between the (a and the line number, and the @
Otherwise, the character is sent to the interpreter
must be on the left margin.)
for normal BASIC interpretation and execution.
Then, press any key, and the next lino will be
displayed. Press the SPACE bar and hold it down, Using ROM Routines
and (he listing will continue scrolling until the
Step Lister uses many of the subroutines which
space bar is released.
are part of the BASIC ROM in the VIC and 64.
If you wish to stop Step Lister, press RUN/
Analyzing some of the subroutines already in the
STOP.
machine can prove useful.
Be sure to SAVE the program before you RUN
Although the BASIC ROMs in the VIC and
it because the VIC version is self-erasing, and if
64 are located at different addresses, they are very
there are any undetected errors, the computer
similar. If you find a subroutine in the VIC, you'll
may crash.
have little (rouble finding it in the 64. For example,
the subroutine to return to BASIC with READY is
What Is A Wedge? at SC474 in the VIC. In the 64 it's located at
To understand a wedge, you must first have some $A474.
knowledge of how BASIC works. When you press The wedge can be a powerful tool. If you
RETURN, one of two things happens. If (he en decide to write a wedge program of your own,
tered line has a number as the first character, the heed one word of caution: Do not try to alter the
computer assumes that a BASIC line is being en CHRGET subroutine with BASIC. You will be
tered. This line is then converted to BASIC tokens changing the way BASIC gets its instructions in
and put in its proper place in memory. (Tokens the middle of a BASIC program, and this will crash
are single-byte symbols which represent BASIC your computer.
commands. To save space and time, the computer See program listings on page 153, US
COMPUTEfs Gazelle Moy 1984 95
HOME TELECOMMUNICATIONS
We are pleased to welcome Robert Sims and How Will You Use It?
his new column, "Home Telecommunica Users who rush into telecommunications unpre
tions," to COMPUTED GAZETTE. pared can find the process frustrating, time-
Robert has a thorough background with consuming, and prohibitively expensive. So
the VIC and 64, and has been involved in tele before you commit yourself to a telecomputing
communications for several years. system, you should ask the same question you
asked before you bought a computer: What will I
use it for?
I lome telecomputing is in a state of rampant Your investment in hardware and software,
growth. There arc thousands tif new users every the amount of money you must spend on connect
month. Understandably, such growth has given charges, and what you ultimately get out of it,
rise to a number of myths. Some of the most com can ail depend on this question.
mon mixtures of fact and fiction are: The simplest, and least expensive, service
• Telecommunications is just a vast play available to you is one-to-one communication.
ground for business executives and profes You call a friend, hook the computers to the phone
sional programmers. line, and swap data and programs or type mes
sages to each other using your keyboards.
• It's very expensive.
The next level of service is the bulletin board
• The information networks want commercial system (BBS). It's the electronic equivalent of those
customers; they don't like to bother with notice boards found in laundromats, libraries,
beginners on a budget. and other public places. A BBS is usually run by a
• You have to know all about things like computer user or by a user group. You can dial
ASCII, A and B protocols, and file translation. the BBS phone number, hook up your modem,
and read the messages left by other users or leave
Finding What You Need messages of your own.
The purpose of this monthly column is to help Some boards have a chat feature which allows
dispel these myths, and others, and to help you you to "talk" with the sysop (system operator)
become an accomplished telecommunicator. via your keyboard.
The emphasis here is on communication, on You can access these two levels with an inex
obtaining information for your own use, or to pensive modem and a dumb terminal program.
share with others. Although we will examine Copies of such programs are in the public domain,
some technical aspects of the subject in passing, and are often available from user groups. (Some
the main idea is to help you find what you need, manufacturers, like Commodore, provide pro
rather than to talk about how the computers do grams with their modems.)
their job.
Home telecomputing is barciy out of the ex Transferring Files
perimental stage, and there is already more infor So far, all you're basically doing is dialing a phone
mation available in more data bases than you can and typing on the keyboard. Anything you send
access in a lifetime. In addition, you can choose to anybody else must be entered manually.
from a long list of modems and software, each You will probably also want to send long
with different features. Your range of choices is messages or programs which you have already
limited only by how much time and money you typed into your computer or saved on disk or
decide to spend. cassette. To send it (or receive it) all at once without
96 COMPUTE! S Gazelle May 1984
^olumn Smart Termii
For Your C64 Without Any Hardware Change!
VIP TERMINAL™
They're right! To start with the best
H ri^it. Tiis tfp feuM is the oilu Urairal f* th? C 64 you've got to have the VIP Terminal!
1%at. fiiscie softer* Mtwe MiUiiy lofen j/rt dktvt
wth m iwh 9*rtn>tn. to & town dispbj sire he *li «rth ■ Built-in 40, 64, 60 and 106 columns
rf les tte «, « *>J 1$ (tor«Ur display - ard it dt ■ Word wrap for a formatted display
=ry hritar? charts. I«sif^ lftrfi-rjrtsrsaio Inn?;. Ha*, th ■ Talk to any computer
rtn> tfwt en w sreen than on nj utlf's frpfe cr m dsJ's IBM- PC!
I rut auto-dwl to ict* rtfit *ay. 1 aXiroiakd Cop^erw, but ■ Use any modem and printer
wukh't *t ttro*, so I hsi WP TffHirul r*dul 'til it 9* trrixtf - it ■ Written in fast machine code
ctuled fw hhjUs strait*! Ten I aAr-kffltf en ui\h cw of ty & ■ 15 entry phone directory
i i^E, aid dwikafel km? g-$nks screens, 3rd stock aote fir ffei
frited it ja axi it to di* ^ it a* en tte screm. lW fM rcu I e
■ 20 programmable keys
!OJ f« ffor« aAowticalk I p. yens arrf thy urtaJ r#i off. ■ Automatically dial, redial, upload,
Tt» icctb, - fu tow, lii* tfi? tot Lisa - re a W of fin, I download and log-on
l*f th? mw, ftrrtion toys, htfilrtfc, h?lp tables - y*at ftr a ■ Professional % character ASCII display
1» w. flrd Kith the «arw eptxrii trer* art a atfuter I can't tafc to.
list's rsalfc nwt is M Wtl* te a i^le WP Lkr^y of ■ 128 character ASCII keyboard
fstf*,FTog«,
tf,FTog-«, iire Wire i *r>J fc-icKscr, spreadsheet f ■ Simultaneous on line printing and
■tan mil bbe cutt son. Sis
Si &iV* rfBle set far hj biHMay. saving of files to tape and disk
I 9* t« the bvilt-iri Ij tkdt" en the acr«n that taVdistaro? rates ■ Use and save files as big as your disk!
3r*d»r. tot to call that LA BBS, ifep, the* gws the alara. Late.
■ E Mail & E-COM Compatible
COMMODORE 64.
839
$199 1701 Color Monilor $249.00 MSD
VIC EO CAU OPS Dalsywheel Primer .,, S4 59.O0 SO 1 Dish Drive 1349 00
PRINTERS
M-BOl DolMalrn/Parillal. tSIB.DO Magic Vole* Speech Module ... $54.00 SD 2 Dnk 0'iva $533.00
Epson CAIL
MCSB01 Color Primer S499 00 Desk Organiser Lock,...,,, ,.$49.00 CABPCO. Okldaia CALL
1520 Color Prin1er/Plonar ...SI 29.00 1311 Joytiick.aach ....$4.99 Light Pan S32.0O
Star Gemini ki OX $309.00
1530 Data&etle S69.OO 1312 Paddles .511.99 3 Slot VIC Expansion tni $32.00 Slar Gemini Delia 10 S55Q.00
1541 Dish Drive S249.00 11 10 VIC BK -.$42.00 6 Slot Expansion Int S79.OO
SmllhCorona TP-2 $399.00
ifioo vic Modem S59.0O 1111 VIC 1BK --S69.O0 Caasslfe Interlace $29.00 C.lioh Prowriler H51OP S379.OO
1610 VIC Term 40 S59.00 1011 HS-232 Interface .-$42.00 Parallel Printer InierfBcn S49.00 C.lioh Gorilla $209.00
1850 AD/AA Modem $89.00 1311 Super Expander ..$53.00 Parallel Interface w/Graphlct-.SB9.O0 HMCBK80 S269 00
SOFTWARE
commodore
CREATIVE SOFTWARE ATARI SCI FT MICRDSPEC
| COM B4 Hororonce Guide .. S1U.0O
C04 CASSETTES C64/VIC 20 Camidgei VIC 20 CASSETTES
C 64 DISKS
Hoitid Inventory SI 1.00 Spelling Bae-
j EaiyCalc S65.00 Centipede .......,..........,.$37.99
Household Finance S23.O0 GraQei 2. 3, 4. 5. or 6 . $8.00
EaiyFinancel, II. III. IV il9.no PacMan S37.99
CB4 CARTRIDGES Math Drill .. . .sa.oo
I EaiyMail S19.00 Tr ashman $39-00
Donkey Kong $37.BB
Portfolio Manager........... $16.00
EaiyScnpl ..$39-00 Dig Dug $37.99
C<64 DISKS Dala Manager ....... .... SI 6.00
Worfl/Name Machine S19.00
Home inventory ..S11.00 Defender $37.99
EaiySpell S19.O0 VIC 20 DISKS
Household Finance S29.O0 Robotron .,,.,,..,..S37.ftB
Accounti Receivable ........S39.00 General Ledger S69.DD
VIC 20 CASSETTES Slargale S3* .99
Account Payable 539.00 Mailing LisE Manager S35.00
Home Invonlory $12.00 HES
General Ledger ....£39.00 Inventory Package ......... $69-00
Household Finance $14.00 VIC 30CAHTHIDGES
Auamblar SI 9.DO Payroll .169.00
VIC 20 CARTRIDGES VIC Forth $32 00
Logo 539.00 Data Bale S49.O0
Aslro Dlitf ........$21.00 HES Mon $29 00
Pilot S39.O0 C-84 CASSETTES
Slack Hole S32.00 KES Writer $29 00
Pol Emulator SI 9.00 Slack Bo* $13.00
Trashman $21.00 Aggressor .,.$39.00
! Screen Editor S19.00 ChoDlll'er S21.00 Synthesound S31.00
Color Sketch . S20.0D
Muilc Machine SI 5.00 Match Maker S16.00
Shamut $29.00
Music Composer £15.00 C-64 DISKS
DYNATECH Protector $29.00
VIC .'II (,.M!TRIOGE5 S DISKS Mailing List Manager .$45.00
C-64 DISK Turtle Graphics $29.00
j Gorlek*tfieMiCroChlOS(C)...STS.OO Code writer $75.00 C 64 CARTRIDGES
Inventory Package .179.00
Super Slol <R| 114.00 HES Mon $29.00 General Ledger $79.00
Super Allen (R| SI 4.00 EPYX HES Writer.,.,,,..,.,.,, S35.00 Payroll .170.00
I Jupiter Lander|H) $14.00 NUFEKOP Data Base . 169 00
VIC 30 CASSETTES
Fljiclnr nm Race | P.} $14.00 HiCUChel $32.00 VIC 30 CASSETTES Caicnertult SI 39.00
Count Anvonture IB) S21.00 Sword Of Far goal S24.00 Alien Panic S1O00 □ lack Bon .118.00
Plnbnll Spectacular (H) II9.00 Race Fun-Drag Race SI 6 00 Color Sketch $33.00
Hoscuo nl Riael $24.00
| VIC Holeronco Guide SIS.00 The Catup S10O0 Match Maker $20.00
ABTWQRX Exterminator $19 00
QUICK finOWM FOX C-64 CASSETTE
CB4/VIC 20 CASSETTES VIC 30 CASSETTES
C-64/VIC 30 CARTRIDGE 3-D Man ..$16.00
I Bridge 3.0 S15.00 Galactic Bhu... 519.95
HOMUK
| Teacher's Pel rSl 2.00 Word Processor........ S49.O0
Swarm $22.95
Typo (20/641 S39.OO
EIBODEHBUND RAI M n DW
Sidewinder 522.95
VIC 30 CASSETTES UMI C 64 DISKS VICTORY
| Martian Raid SI 6.00 VIC 20 CARTRIDGES Personal Finance $48.00 C 64/VPC 20 CASSETTES
Shark Trap SIB.00 Amok $30.00 Writers Assistant $95.00 Adventure Pak 1(3 games) ...$12-00
| Mullitaund Synlhetiier Sib.00 Meteor Run $40.00 Spreadsheet Assistant $05.00 Adventure Pak ll[3 games]... SI 2.00
Allen mill S30.00 QUANTUM Annihilation ..,-.-..-. .SIC 00
COMMERCIAL DATA
VIC 20 CASSETTES VIC 30 CASSETTES 40/8DColumnVideo Board- -$95.00 Grave Robber $11.00
| Mrjlor Huh S23.00 Cloud Bunt SI 5.00 40/80Col Video Board 116KI. $ 179.00 Kongo Kong , $16.00
Conlipod S23-00 Video Verman $1 3.00 SIRIUS Trek Sti.00
| Frogea S23.00 VIC 20 CARTRIDGES PROFESSIONAL
C 64 CASSETTES duet covens Deadly Duck S21.00 SOFTWARE
] Road Toad.., S24.00 CC4/VIC 20 Cover $9.99 Spider City $19.00 Word Pro 64 plus spell - S65 00
We ct i r'v & DolGctian from th r: above manufacturers plus...
300 baud
Direct Connect
Originate/Answer • Full
Duplex • Carrier detect LED
World's lowest coil modsm. High performance
Texas Instrument single chip modem design.
Woik:, for both VIC-ZO and Commodore 64.
Plugs Into user's port. Use with single or multi
line phones. Plugs into telephone base.
300 baud. Direct connect. Originate/answer.
Full duplex. Carrier detect LED. Crystal controlled
Powered by computer. Aluminum enclosure.
Includes Basic listing ol Terminal Program. IplusS5.00 shippingl
Terminal Program available on tape, M.95 and
cartridge, $19.95. Specify VIC-20 or C-64. THE C-64 IS LITERALLY TRANSFORMED!!
YOU INSERT THE ENTIRE KEYBOARD INTO THE LARGER, MORE SUBSTANTIAL HOUSING.
Save VIC-20 NUMERIC OATA-PAD IS BUILT IN (HARDWIRED. NO SOFTWARE REQUIRED.)
Cartridge Programs A FULLY ENCLOSED COMPARTMENT HIDES WIRES. ROOM IS PROVIDED FOR 80 COLUMN
CARDS. EXPANSION. ETC.
on tape SIX SURGE/SPIKE PROTECTED AND GROUNOED RECEPTACLES ARE INTERNALLY PROVIDED.
MFJ-12K WITH A HEAVY-DUTY CORD.
UNIT IS COLOR-MATCHED TO THE NEW MSD HIGH SPEED DISK DRIVE, TO PROVIDE A
39! HANDSOME COMBO,
SEND FOR FREE 6-PAGE CATALOG • C.O.D. or prepaid, only. • California residents ado1 6.5% sales Ian.
board Please allow 3-5 week lor del/very • W-tiay money back guarantee.
lets yoj save VIC-:
««„ „„, r «u OAKWOOD COMPUTER PRODUCTS
ridge programs on cassette tape and run them AVAILABLE FROM.
3421 Burbank Blvd., Burbank, CA 91505 • (213) 841-0964
using 8K RAM board. Provides cartridge backup,
eliminates plugging and unplugging cartridges
and turning VIC-20 on and off.
Includes adapter board that plugs into expan
sion port and software to save and run cartridge
HUNDREDS OF PROGRAMS AVAILABLE
programs on cassette tape. Requires 8K HAM
board {not included).
Commodore 64
RS-232 Interface for All Prices UD tO 5=D|!!<
VIC-20/Cz64 40% OFF RETAIL S Illlll!
MFJ-1238
*3995 HOME/BUSINESS
Practical (Dl
Toll Buameaa Wor
4150
71.25
EDUCATIONAL
Facamnker (O/CT)
Kfndercomp (D/CT)
22.8 S
19 B!
Multiplan (0) 72 95 Delia Drawing |CT) 2S.95
Provides RS-232 Bank St Wriler (D) 49 95 Type Aiiacfc (D) 2B 95
voltage conversion (or Smart 64 Terminal 31 95 Early OameKD/CASSl 22.50
VIC-20/C-64 serial port. Use ■ Quick Brown Fox {CT) 28.95 Barrons SAT (D) 59 00
Pa par Clip (0) BU0 Sncoper Troops ii (D) 26 95
RS-232 printers, modems, speech synthesizers Word Pro/Spall High! |OI 72.95 Alpnauet Zoo (CT) 22.95
and other RS-232 peripherals. Switch reverses CalcRnuli Ad>anc«) (HI I 1M.B5 Koala Toucn Tablet 72.95
transmit/recelvelinestorDTEor DCE operation. Data Manager (D/CASS] 18.75 Maiieitypa (D/CT) 28 9 E
Home AccT (Continental) (Dl 49 95 Hey Diddle Diddle (D) 19 95
Use as null modem.Standard 25 pin RS-232 con D.lphTi Oracle <D> BB. 95 Story Machine (CT) S6 95
nector.Plugs into user's port. Powered by com CompuServe B1ir1-up KM 28.95 KIDI on Key! (CT) 24 95
puter. 2Wx2V< inches. Degignwaro Spelllcopte; 26.95
Dengnwara SpellaKaram
VIC-20 Capacitance Meter
28 9 S
Watching and waiting for programs to load there even after other programs have been executed.
and save is often tedious and time-consuming. Even a SYS 64802, which resets the computer, does
This program will signal you when your VIC not affect the program in the stack. After a reset or
or 64 is ready for more work. a RUN/STOP-RESTORE, you'll need to SYS 267 on
the VIC to reset the LOAD and SAVE pointers.
The 64 version of Cassette Beeper (Program 2)
If you use a DataSSette with your VIC-20 or Com resides at $C000 (49152) and works just like the VIC
modore 64, you know how long it can fake to version. To start the 64 version, you must RUN
load or save programs on tape. "Cassette Beeper" Program 2 and (hen enter SYS 49152. You'll also
will change the LOAD and SAVE operations to need this SYS to restart the beeper after a reset or
signal you with a beep when the LOAD or SAVE RUN/STOP-RESTORE.
is completed. You can go on to other work until See program listings on page 753. <&
the beep sounds, instead of just staring at the
screen.
TM
CHF
Eliminates
the Need
for
Expensive MODEL S-100
Computer COMPUTER
Checks... CHECK CARRIER
• Allows quick computer processing
of conventional check*.
• Heavy vInyl-B" wlda,
• Holds eighl (Mtionil-ilie checks.
• For adjustable, tr*ctor-typa
printers, diction-typo printers or
regular typewriters.
• Comes wtlh BASIC program
la formal chocks. Can be used
as a sub-routine In your
present program.
• Ideal for small to medium-size
busingsses, tool {Model-200
holds sii comnurciil-siie checks)
ou have to look very closely to find what we left out of our new word processor. But
once you try the WORD COMMANDER 64 you'll discover what's missing. We've taken the
process out of word processing and put it where it belongs—in our software. With the
WORD COMMANDER 64 there's less for you to do and more that it does. And that makes
you look good. ■
•extremely user friendly
Only Two Hands. Follow Your Ideas.
• menu driven
The WORD COMMANDER 64 is a •full word wrap The words you need to write represent
complete word processor. We've •block text right your ideas; and they flow—one after
•center text another. So we designed the WORD
included every function you'll need and
•right justify text
some comforts you'll enjoy. And we COMMANDER 64 to work along witr
•delete a block of text
didn't hide them in complicated codes your thought processes. And not slow
•insert a block of text
or commands that require three hands. •move a block of text you down. We did that by making it
Everything about the WORD •copy a block of text less complicated and easier to use. So
COMMANDER 64 makes plain sense. •three different fonts supported easy you probably already know how
•print in bold type to use it.
•print in elongated type
Less Hassle. •allows sending of any control codes to
Oh, there's one more thing missing
When you write you probably change your printer from the WORD COMMANDER 64,
your mind a lot, Now changing your •select any background color of your the high price: Only $49.95
text is almost as easy as changing your preference Includes full manual and tutorial.
mind. Like when you want to •select any character color as well
underline a word or group of words all •select cursor color
you do is press "COMMODORE-U" •set top, right, bottom and left margin How to Get Yours.
—-regardless of the printer control code •set line spacing Available at your local dealer or direct
your printer uses. •print headers and footers on every page
from MMG Micro Software. Just send
Simple. •automatically number pages
check or money order to:
•print subscripts and superscripts
•underline text P.O. Box 131 Marlboro, NJ 0774<
Less is More.
•search for specific text Or for MasterCard, Visa, and C.O.D.
While simple to use, you won't find the •search and replace deliveries call: (201) 431-3472
"change margins, font, or justification
WORD COMMANDER 64 lacking in Please add S3.00 for postage and
from within your documenl
power or sophistication. We've handling for all direct orders. New
•full 80 column view of the page before
integrated all of the best features into prinling Jersey residents add 6% sales tax.
the WORD COMMANDER 64: •use MMG's MAIL LIST for mail merge
iADCO 1WU
capability
micro uifiwjir
COMMODORE Is a legistsrad tradsmark of COMMODORE BuslnosaMocMnosLld.
We've also improved the delay timer. In 49376 STA 254
March, this subroutine just LoaDed Y with zero 49378 JSR 49423
X. Not only will this cause much longer delays, 49385 STA ( 253 )Y
49387 LDX # 10
hut it's also more flexible. Before we JSR to the
49389 JSR 49361
delay subroutine, we first load X with a number
49392 LDA # 32
reprcseniing the amount of delay we want. See
49394 STA ( 253 )Y
line 49387. This lets us fine-tune the game so that
49396 JSR 49423
it's challenging yet fair and also gives us greater
49399 LDA I 253 )Y
control over the animation effects. 49401 CMP # 32
49361 LDY # 0 49403 BNE 49412
49363 DEY 49405 LDA # 193
49364 BNE 49363 49407 STA i; 253 )Y
49366 DEX 49409 JMP > 49387
49367 BNE 49361 49412 CMP # 224
49369 RTS 49414 BEQ 49420
One last modificalion. In March, the main 49416 CMP # 90
49418 BEQ 49307
loop checked for only three keypresses: 1 for left
49420 JMP > 492613
paddle movement, 3 for tight, and 0 for exit. This
49423 SEC
month we've added (w to fire a bomb. Next month
49424 LDA 253
we'll take care of one final oddity about the be
49426 SBC # 40
havior of the paddle (can you spot it?) and add
49428 STA 253
the final animated objects—descending spikes.
49430 LDA 254
49432 SBC # 0
Program 1: Fire Bomb
49434 STA 254
49370 LDA 251 49436 RTS
49372 STA 253
49374 LDA 252 See program listings an page 154.
VIC - 20 / COM - 64
HOME / BUSINESS
vie M
PRACT1CALCPUJS(16KXT1 43.95
PRACTICALC 64 (T) 43.95
(disk version) 46.95
TOTL TEXT 2.5 (T) 26.95 29.95 Order Line: 1-800-638-2617
(disk version) 32.50
Information, Order Inquiry and In Ohio 1-216-758-0009
CARDCO 3 SLOT 28.95
EXPANSION BOARD
7541 Disk Drive S219 1702 Color Monitor S226
1530 Datasene $ 59 1600 Modem S 59 MPSB01 Priniei $208
1526 Primer 100 cos $289 1520 Pnntci/Plouor S153 1G50 Ami) Modern S B9
MEMORY
Ifi1/ COMMODORE 64 $213
ONLY $
LOGO S 39 FCM S 39
SPREADSHEETS
PILOT. $ 38 Til ActMinltgr 5 45
Calc Heiull S 99
CP(M 2.1 S 53 Calc H«iiIi E«y S 65 MONITORS
Intro to BASIC S 17
Mulnpl.rv , S 75 DMC fl>ecn icfttn $ 79
viiiut Sail' Synrni $ is
Omni Cllc $ 39 BMC imbri irrttn. S 89
* 14 Day Money Back Guarantee Linrlin 1 IB
BMC comuonif color $219
'■ 'lu Si>. ■;• • *• % ifi WORD PROCESSING
* Boosts VIC to 21K RAM ZORK I.H.II1 i 2b Wmd Pro 2- wirh roller 5 69 PRINTERS
•k Top Quality, Fully Tested Euiwnota i 36 PopiT Clip S fi9 Gtmin, 10K *>lh CiiOco inifriKt
E»y Cite S SS S319
* 90 Day Warranty Easy Finance I.M.IM.IV.V... » V DATA BASE MANAGERS G*min. 16X S389
The Manager. S 26 Delphi i O'acle S 89 RiTtman. S399
9 AM - 9 PM MST Every Day We CAiry u coinLlluflu lin< cjl tJuwlily ComiiikhIuid jpIuhhi pjpdUEII loeludlns thurn Liy
TlmiwOflil. Spinnaker. Fny«. Sioira. HBB and Cj'dio 6.tn if nn Hunt, fa pnoUWy HOURS:
ASSEMBLY TECHNOLOGY ho« n, di ihe luweit nine (wnililii SEND r-OH DUH CATALOG! MOST OnDCFlS
SHIPPED WITHIN 48 HOUHSI All |,uci, include caih rincoonl VISA/MC oiam accti>
Mon.-Fri.
2692 Hwy 50 Suite 210 Ted • aua ys%. NOCOI1 OI10ERSI F» iiniLktit Ocli.try lend b^nk Lheck or money
10 a.m. - 10 p.m.
onftr Perwnal or Cumpany checki dtlay otiitr 21 ifdyi AN i^lei are Jmsi - rJeletTiv*
Grand Junction, CO 81503 rrw'c hand lie e xchan yb:d iur »mfl uroujti only Shipping add 31 8? 50 minimum]
Saturday
Call lor shipping Ein monitoil Ohio cuiturnm add 5 5% ules tU Prtdl & «vdil<
Persona] checks bDow 3 wwlu
Shipping Kr. hand!™ S2.50 10 a.m. - 5 p.m.
Colorado Residents odd Sales Tax
COD add 12.00
1301 Boardman-Poland Road, Poland, Ohio 44514
^ftoj/yd*
TELSTAR 64 8K in 30 Seconds
Sophisticated Terminal Communications Cartridge (or the 64. (or your VIC 20 or CBM 64
H you cr*n □ ViC 20 or a CBM CJ on
■PFO- 10D OOD CP D1 D2 BELL 12:30:00 10:14:36 aCQ'jt mo Figh cosi d o disk to s'ore your prcgra-n on
(TELSTAR's Status Line) worry you're f no longer Now mere's The RABBn ThRA
ComBiinaca'fNdgeotvaaiamuCh rr.uch lower pr>ce
Don't settle for less man the best1 mantheowe'oaediik Ana^peed !his ii one fast RA9BfT
W^ADBiryoucon loadondsto-ooiyourC&M
an 8K prcg-om m i3D d
• Upload/Download in/from disk or tape.
i3fr
• Auiomalic File Translation.
• Communicates in Industry Standard ASCII. \r<G RABBIT is eo&y lo msiall. allows one fo Appona
Bane Programs, wofks wiift or without Expansion
• Real-Time Clock plus Alarm Clock. Momo'v. and provider iwo daia iile modes The
• Line editing capability allows correcting and resending long command lines. RABB'T is not cfily fosi Dui reliable
• 9 Quick Read functions. (Tho Rabbii lew the VIC 20 coniacns an eipansi on con-
TvOLjr memory ooara.etcj $39 95
• Menu-driven.
• Similar to our tamojs STCP Terminal package.
MAE
• Woiks with Commodore Modems and supports aulo-dialing. NOW $59.95
The best feature is trie price — only $49.95 (Cartridge and Manual) THE BEST
FOR LESS!
For CBM 64, PET, APPLE, and ATARI
Machine Language Monitor Cartridge Now, you can hove fheiame professionally desigrked Macro
AMembi or,tailor oiuwfion Space Snunle [>rojectt
EUREKA!
we sa/tf ivfre/7 our new
"invention " solved all our VIC-20™ and
Commodore-64 ™ programming problems
We had a problem. So we invented For the Commodore 64 we came up with SOLVE YOUR PROGRAMMING
PC-DocuMate1" to solve it. The problem was a really clever summary table for showing PROBLEMS WITH PC-DocuMate"
how to quickly master the VIC-20 and almost everything you ever need to know for Order your PC-DocuMato loday (by
CBM-64 keyboards and easily start pro sprite graphics. phone or mail) and solve your VIC-20 or
gramming in BASIC on our new personal CBM-64 programming problems. Send only
computers. First we went through the GETTING EASIER S12.95 and specify which computer you
manuals. Now we had organized the most essential have. We pay for shipping and handling
information for our VIC ant) 64 in Ihe most Use ihe coupon below or call 919-787-7703
INCONVENIENT MANUALS
logical way. BASIC, music, color graphics, for laster service.
The user's guide was a nuisance and the
and sprites all seemed a lot easier. Our
programmer's reference manual was just
imlial problem was solved by PC-Docu-
plain inconvenient to use. We found the
Maie".
control key combinations confusing and Ihe
But we have a confession to make. ! Please RUSH me VIC-20
introduction to BASIC to be loo "basic" for
our needs. We needed a simple solution to WE CHEATED templates and/or CBM-64 tem
our documentation problems. We had solved this kind of problem plates at $12.95 each. I have enclosed
So we decided lo surround tho keyboard before. In fact, many times before You see.
S by:
of each PC with the inform a lion we wanted. we at SMA developed Ihe original PC-Docu
Check Money order MC/VISA
We decided to print whatever we needed on Mate lor the IBM PC. We've made templates
sturdy plastic templates which would fit the for IBM BASIC and DOS. for WORDSTAR",
keyboard of either the VIC-20 or Commo VISICALC" and other best-selling soltware
dore 64. packages for the IBM PC.
So we knew we could invent another Name
SIMPLE SOLUTION
PC-OocuMate" to solve our problems with
This was the simple solution to our prob
the VIC-20 and Commodore 64. Now our
lem. Now we could have the essential
solution can be yours and you can join Ihe Address
information right at our fingertips.
thousands of satisfied users of our template
On the lefl side and top of the templates
products.
we pul BASIC lunclions. commands, and
Take advantage of our experience and
statements On the lower lefl we used key City Slate Zip
success with PC-DocuMate templates Gel
symbols to remind us of how to use SHIFT,
one tor your personal computer.
RUN/STOP. CTRL and the ".Commodore"
key. Over on the bottom righl side we put SOME SPECIFICS
Card It Exp.
some additional keys to help remember Our templates for the VIC and 64 are
about CLR/HOME and RESTORE. But we made from the same high quality non-glare
were slill a little contused. plaslic as the more expensive IBM PC
versions. Signal me
STILL CONFUSED
The templates are an altraclive gray
We found we were confused about music
color and are imprinied wtlh a special black Foreign orders (except Canada) add 55 CO US
programming, color graphics, and sprites.
ink which bonds permanently lo ihe plastic.
On both the VIC-20 and the CBM-64 tem
They are precision die-cut to fit your
plates we carefully organized and summar Mail to: Systems Management Associates
keyboard.
ized the essential reference data for music 3700 Computer Drive, Dept. J-1
Unlike some other products we've seen
programming and put it across the top- P.O. Box 20025
in this category. PC-DocuMate templates
showing notes and Ihe scale. All those Raleigh, North Carolina 27619 I
are professionally and expertly designed.
values you must POKE and where to POKE
And they are fully guaranteed.
them are listed.
Then to clarify color graphics we laid out
screen memory maps showing character
OUR GUARANTEE L.
and color addresses in a screen matrix (We We guarantee your satisfaction You musl
got this idea from the manuals.) be satisfied with you! PC-DocuMale for your
For the VIC-20 we added a complete VIC-20 or CSM--64. Try il for 10 days and il VlC'20 and Commodore £4 ,im' tr.ui- rr.»h \ tji Ccin.rnodcKt.- Buju-
for any reason you are not satisfied ml urn il
memory address map for documenting nflss Machines, Inc
to us (undamaged} lor a full relund No rirt.
where everything is in an expanded or Ad no 731 Copyright 19S3. SMA
upgrade to the DOS whenever a new version is $399 (single disk drive)
available. You buy a new BPROM chip, and send $695 (dual drive unit)
in your old one for credit. Alternately, you could Although we haven't seen one yet, Concorde
go through your dealer, who would make the Peripheral Systems has its own 1541-compatible
exchange and work with MSD. disk drive. The Concorde C-321-P comes with a
parallel interface to speed up disk access "over
Reliability And Speed 100 percent." Promotional literature does not
The metal case and more positive head-centering indicate whether the interface is an IEEE-488.
lead you to believe thai the MSD drive is a heavy- Reliability is said to be enhanced by the use
duty piece of equipment. The MSD drive is a little of "full ball bearing mountings, with no pulleys
louder during disk access, making metallic clicks or belts, helping lo minimize spindle run-out and
and whines instead of the softer plastic-on-plastic to provide a 10,000-hour mean time between fail
sounds of the 1541. This also gives you a feeling ure rate." Whew! Concorde alludes to a major
of solid, metal construction. cause of 1541 failure: spindle run-out. The 10,000
How reliable does MSD think the drive is? MTBF rate should give you plenty of time to use
110 COMPUTE!1* Goietle Mayl98d
How to do your own maintenance, troubleshooting, GHIDIHON STflATEGV "64
schematics, theroy of operation, cleaning hints,
conversion from one power source to anolherand calibra AND YOU THOUGHT FOOTBALL SEASON WAS OVER
tion. These topics and many more GRIDIRON STRATEGY '64 and the Commodore 64 now
will make this manual a valued addi give you a year-round seat on the 50-yard line GRIDIRON
tion to your reference shell. Whettier STRATEGY '64 is a highly realistic simulation of football
you are an amateur electronics instincts NOT "Joystick Reflexes". Most football games
technician or a seasoned profes let you control a few players an a scrolling field. NOT
sional, you will be able to realize the GRIDIRON. In GRfDIRON. you coach the entire team and
full potential of your VIC-1541 by us ihe colorful field and the stadium styled Scoreboard are
ing this manual. Step-t>y-step In completely visiable at all times. Also, with Ihe use of TEAM
structions will lead you through the DATA DISK '84, the teams you control are the actual pro
proper methods to get your VIC-1541 teams, based on their performances in the '84-'85 season.
up and going in a hurry. The manual These disk can be updated every year, so you can constant
is 170 pages long, has two foldouts ly keep up with the rise and fall ol each team. Finally, com
and over 100 illustrations, including: pare these features with any other football game on the
Block Diagrams market, for any other computer:
Schematics Real time game anfl 30-second play clocks?
Waveforms Colorful Graphics, and Sprite animation?
Isometric (Pictoral) views Realistic sounds of a packed stadium?
Test point locators Optional print out copy of plays and statistics?
With all these illustrations and the detailed theory for each
Individuaoized teams, based on actual performances?
96 possible play combinations, inflnate results?
circut Involved, along with stop-by-step procedures to
Does not reguire and charts or dice for results?
follow, the manual is a great lime and money saver.
In-depth playbook and strategy sections?
GRIDIRON STRATEGY 64 offers all of these qualities.
CONTENTS OF MANUAL
ORDER NOW!!!
Front Matter
Suggested retail price:
Section 1 Introduction
GRIDIRON STRATEGY 64 ■ $27,95
Section 2 Theory of Oporalion
TEAM DATA DISK '84 ■ $14.95
Section 3 Initial Configuration
Section 4 Performance Tost
Section 5 Calibration
Section 6 Disassembly/Reassembly
Section 7 Preventive Maintenance
Section B Troubleshooting
Section 9 Schematics and Parts Layout
Appendices
Suggested list price: £39.05
Why 40 Columns?
A television can display no more than a certain
number of dots on a single line. A dot is formed
by a change in the signal going into the TV, and
that change can't happen faster than the TV can
keep up with it. Either you'll get a picture out of
sync, with tearing and rolling, or the TV will just
ignore the extra signal changes. This is partly due
to electronics that prevent bleedover between
adjacent channels.
With 8 dots per character horizontally, 40 SM SOFTWARE INC. 252 Bethlehem Pike Coimar. PA 18915
Here comes the new generation of SM's columns require 320 dots per line. This is just
about the limit of a TV. Eighty columns requires
640 dots per line, and this is too much for a TV (or
a color monitor, which has the same limitations).
So unless you use less than 8 dots per character,
program series for the 64. you can't get 80 columns on a TV set. One solution
is to draw characters in the high resolution mode.
Characters are just plotted from dots. To get 80
This Jndsx-soQuentinl lile manager given you a now dimension columns, we'll need to use 4 dots per character (4
on direct access files. Up to 40 kayi. various length for each x 80 = 320). One dot per character will need to be
record ond up to 10 files can be handled at the
some lime by this sophisticated modulo. How could your blank, otherwise the characters will run into each
programs survive without 5M-ISM?
other, rendering the text unreadable. It's pretty
PLACE YOUR CHECK OR MONEY ORDER NOW! tricky to define a recognizable character set with
only three dots horizontally. The figure shows
you how some of these characters would look.
Lowercase a <S>' Symbol
Capital A Lowercase g
with Descender
Why 80 Columns?
Even hardware 80 column cards have this prob
lem—what do you do with it? You can write your
own programs to use 80 columns, even edit your
programs with it. But don't expect to plug in the
card and have your word processor or spreadsheet
adapt to the new screen width. Very little com
mercial software is written for 80 columns, and to
be honest, if it wasn't designed for 80 columns, it
won't adapt. BASIC programs that use PRINT to
display to the screen will still work, but since
they're based on a 40-column width, tables and
other screen formatting will be skewed all over. It SM SOFTWARE INC. 252 Bethlehem Piks Colmar. PA 18915
Here comes the new generation of SM's would be like running a 22-column VIC program
on your 40-column 64.
This may change in the future, as more com
panies support the Data 20 Video Pak 80. This
cartridge offers generation of 80 columns in
program series for the 64. hardware. This is true 80 columns, so it won't
work with a TV. A monochrome (green screen)
monitor, though, does have the necessary
Your personal professional .nitiiuv, M<- ■.y.ti-m. Up to 620
bandwidth to resolve 80 columns. Operation of
Addresses per disc in direct access. Including 5 extra lines for the Video Pak is fairly simple: just plug it into the
individual text/record. Totally menue-drivon.
Powerful editing and backup facilities. cartridge port (however, there's no extension to
Several hardcopy features.
let you chain other cartridges into the Video Pak),
PLACE YOUR CHECK OR MONEY ORDER NOW! then attach a supplied cable from the computer's
audio/video port into the cartridge. Turn on the
power, and you've got—40 columns.
To get into 80-column mode, you have to
SYS 36867. The screen clears, and with easy to
read characters, you're in 80-column mode. It's
surprising how well the normal Commodore
editor is supported. You can cursor around, insert
and delete, and change lines by pressing
RETURN. Scrolling is a little slower, and there is
some snow (similar to sparkle) during the scroll.
The function keys are also "live." The fl key
will shift into lowercase mode; f2 will switch back.
f3 will erase to end of line; f4 erases to the end of
the screen. If you have an RS-232 port already
open, you can press f6 to dump the screen to an
SM SOFTWARE INC. 262 Bethlehem Pike Colmnr. PA 1B916 RS-232 printer. I would have preferred that the
COMPUTE!1* Gazelle May 1984 113
dump work with a printer attached through the functional 80-column word processor, with many
serial port. A handy bonus is terminal mode in 80 commands. It formats on the screen, so you can
columns. It's a dumb terminal; it simply lets you see how the output will look, but you have to put
communicate with a modem plugged into the up with a few inconveniences to get this. A mailing
user port, with no frills like upload/download. list program is also included, and you can merge
You can also get an improved 40-column data created by the mailing list program with a"
display with SYS 36864. It should be noted that document on the word processor.
you can switch modes with software. This lets the
Data 20
computer control the cartridge, instead of your 23077 Moulton Parkway
having lo manually flip switches. An audio con Suite B10
nector on the cartridge lets you easily attach your isiytHti 1 lilh, CA 92653
computer to an amplifier or stereo system. There $179.95 (Video Pak 80) @
is documentation on accessing the Video Pak from
machine language.
One complication with many cartridges is
that they have to reside somewhere in the com
puter's address space—they take up memory.
FREE CATALOG!
Video Pak 80 resides at $9000-$9FFF, right at the Send for your FREE COPY of
top of user RAM, leaving you 4K less for BASIC
programming. You may not mind losing that 64 SHOPPER
RAM, given 80 columns, but certain machine
language programs may not be so sanguine. |Your complete source for C-64 and Vic software!
They'll try to use the RAM at $9000, and find that You've never seen anything like it!!
USE READER'S SERVICE CARD, OR WRITE DIRECTLY TO:
it's ROM, crashing both the Video Pak and the
machine language program. 64 SHOPPER
If nothing else, you can use Wordmaster20
BOX 187, FRASER, Ml. 48026
from Data 20, included with the Video Pak. It's a
COMMODORE 64
Finally, Excellent Sottware
COMPUTE !'s At An Affordable Price!
GAZETTE Compare: • MENU DRIVE
• USER LOVABLE
TOLL FREE ■ ADVANCED FEATURES
DATA BASE/MAIL LIST
Subscription Fas! random access In any record.
iiiif
Because of this they have de
veloped a sturdy network of
Here's a clever program that narrates a story The chirps repeat continuously with another loop.
on screen and enlivens the drama with a variety Finally, the chirps gradually fade out or decrease
of sounds. For the unexpanded VIC-20. in volume as the slory ends. That's one more loop.
The dropping ping-pong Kill is a series of
very short tones and silences. The silences gradu
"Sound Story" tells a complete story in a succes ally become shorter as (he ball loses height with
sion of sound effects, much like an old radio each bounce.
drama. The warble tone in the musical introduction is
ll was created by listening to natural sounds, done by alternating rapidly between two pitches.
analyzing them In terms of pitch, noise, durations, Lightning and thunder are simulated by a
and repetitions, then converting these parameters rapid downward sweep of the noise generator (a
to program statements. thunder crack) followed by low-pitched noise
For best visual effect, be sure that the back which gradually decreases in volume (thunder
ground on your TV or monitor is black. That is, rumbling).
turn down the brightness control just to the point The train sound is a series of accelerating
where the screen background is fully black. puffs or noise bursts. Each puff and silence re
The effects in Sound Story are produced using quires a FOR-NEXT loop for duration. The dura
nested FOR-NEXT loops to control both the dura tion of each silence is long when the train starts
tion of repetitive sound patterns and the silences up (that is, the train puffs slowly). Gradually the
between patterns. train accelerates—the silences between puffs get
shorter, so the puffs speed up. Finally, the train
From Crickets To UFOs attains top speed, so the puffs repeat rapidly at a
The crickets sound is an example. Consider the constant rate.
sound pattern of a cricket chirping (see the figure).
It consists of a series of tone bursts and silences. Fade In And Out
Each tone burst and each silence requires a FOR- In addition, the train sound fades in and out. The
NEXT loop for duration. Each chirp consists of fade-in is accomplished by incrementing the vol
five tone bursts and five silences—another loop. ume during each noise burst. Another FOR-NEXT
TIME •
Lines 570-590 display a night sky full of stars. See program lisfuigs on pn$e 155. flg
Back issues of July and August 1983 are $2.50 each. Issues from October forward are $3. Bulk
rates are 6 issues for $15 or 12 issues for S30. All prices include freight in the U.S. Outside the
U.S. add SI per magazine order for surface postage. $4 per magazine for air mail postage. ALL
BACK ISSUES ARE SUBJECT TO AVAILABILITY.
In the continental U.S. call
TOLL FREE 800-334-0868
(in North Carolina call 919-275-9809)
Prepayment required in U.S. funds. MasterCard, VISA, and American Express accepted.
North Carolina residents please add 4% sales tax,
COMPUTERS Gazelle Mo/1984 117
Joystick Control
For The 64
Sterling N. Augustine
DUNGEONS OF MAGDARR-Serious
D of D lor up to 8 players. BAG-IT-HAN - The ultimate
Features full 3d GRAPHICS! arcade game for TRS80C or
You get a choice ol several MCD64. This one has three
characters that grow from screens full ot BAGS OF
game to game and are GOLD, CARTS & ELE
interchangeable with char VATORS TO RIDE IN. MINE
acters from our famous SHAFTS, and TWO NASTY
Dungeons of Death game. A GUARDS. Great sound and
real dungeon with level after color and continuous
level of monsters to conquer excitement.
and treasures to find - all in
hi-res 3d graphics. Available On TRS8OC 32K. CMDW
Available On IR5S0C IBM PC. CMDM
TAPE 119.95 DISK SZ4.Q5
TAPE 11985 DISK 2)95
TO ORDER: Send amount Indicated plus S2.00 shipping, per order. Include quantity desired and your prelerance of tape or disk.
Be sure to indicate type ol systsm and amount ol memory. When using charge card la order hy mall, he sure to Include expiration date.
1-313-669-3110
PHONE ORDERS ACCEPTED
CHARGE CARDS
8:00 s,m. to 8:00 p.m. E.S.T.. MON-FRI
WELCOME
VIC & 64
Shipments lo AK, HI,
and USA possessions
go by Priority Mail
Cain 'tfOtn\t add Htf■ in Canada i Menco BE A COPY C.A.D. (CASSETTE AIDED DUPLICATOR) NOW
Sfeppngtawlling finy tuantity — ufcifl pufll lb(*») ISO Airmail
YOU CAN MAKE BACKUP COPIES OF ALL THECOSTLY,
All omers— Sea Mail
OutHH48 CciEintmU SilVi — Mflilmm 11 p»r
caddy, oor a«l Catwniji ■" iwuti NON-SAVEABLE CASSETTE PROGRAMS YOU BOUGHT.
TOTAL Ask about our
OUR BACKUP V1.Q UTILITY PROGRAM WILL LET YOU
CHECK OR MO Chargslo DUPLICATING
ENCLOSED D Cf«M Card VIS* D MASTERCARD D MAKE DUPLICATES THAT RUN.
SERVICE
H PLEASE SEND QUANTIT-i1 DISCOUNTS BACKUP V1.0 WILL WORK WITH A STANDARD 5K
UNEXPANDED VIC. MEMORY EXPANSION IS REQUIRED
Card No. Exp. TO COPY PROGRAMS LONGER THAN 3K BYTES.
Name
o SOFTWARE PLUS
Address SHIPPINGS GREENBACK LANE 916-726-8793
HANDLING citrus heights, cas56io
City . State/Zip VISA. MASTERCARD, AND MONEY ORDERS
CA RESIDENTS ADD 6% SALES TAX.
Signaiure - Phone VIC IS A TRADEMARK OF COMMODORE
Computer make & model _ Disk1 (y/n|
Print Sound
For The VIC-20
Alejandro A. Kapauan
This utility translates letters into music. All silent, and produces a rest. Experiment further by
you supply is a simple PRINT statement. printing various alphabetic strings with (he com
mand PRINT#1,"string".
To incorporate the utility into your own pro
"Print Sound" is a machine language (ML) utility grams, just include lines 500 to 640, and include a
that enables you to produce musical tones on the GOSUB630 at the beginning of your program.
VIC with simple PRINT statements. Using the pro The PRINT#1 commands are completed even
gram requires no knowledge of ML programming, before the VIC is finished playing all the notes.
although intermediate ML programmers may be This is because the notes arc placed in the 255
interested in examining the code. character buffer usually reserved for the RS-232
To use Print Sound, type in the BASIC pro transmit channel, and an interrupt routine does
gram. Be very careful with the DATA statements, the actual transfer of data to the VIC sound regis
and SAVE the program before RUNning it. When ters. To synchronize the notes with your program,
you RUN the program, it prints a greeting, pauses, you may examine the contents of location 983.
then plays a few notes. It then plays a short clas This location contains the current number of notes
sical tune. If the program fails to work, or if the in the buffer. Line 50 of the sample program illus
VIC locks up, LOAD your SAVEd copy of the trates how to do the synchronization. If you want
program, LIST it, and check the DATA statements. to close the file to device 2 in your program, wait
Make the necessary corrections and again SAVE until the buffer is empty first. Most of the time
the program. you can just leave the file open.
When you RUN the program successfully, The rate at which notes are played can be
VIC device 2 (normally the RS-232 port) is re modified by changing the thirteenth number in
defined, so that you can print strings of letters to line 570 (third from the end), which is normally a
it to play your own music. 10, to some other value. This number represents
the duration of each note in jiffies {1/60 second).
Letters Equal Notes Try changing the value to a 5. You'll see how fast
If you examine the program, you will see that the VIC can play a tune.
logical file 1, which is opened to send data to de Since the ML program resides in the cassette
vice 2, is not closed. After RUNning the program, buffer, you can issue a NEW command and the
type the command PRINT#1,"ABCDEFGHIJKLM" utility will not disappear. It will function until
in the immediate mode. You will hear a chromatic you warm start the VIC by holding down the
scale. A chromatic scale is the series of 12 notes RUN/STOP key and hitting RESTORE. A word of
that are sounded when you play one octave of warning for cassette users: You must not perform
successive black and white keys on the piano, for cassette operations with the utility in place. Warm
example C, C#, D, D#, and so on to the next C. start the VIC before doing a cassette LOAD or
Printing a letter from A to Y will cause a note in SAVE. Disk users do not have this problem.
the chromatic scale lobe played. The letter Z is See program listing on page 157. ®
COMPUTEI's Gazelle MDyl984 121
VICreations
Dan Carmichoel, Assistant Editor
Sound On
The VIC-20
This month we'll be discussing the fundamen POKEing values below 128 (0-127) into the
tals of sound on the VIC-20. We'll explore the tone generating locations will produce no sound.
VIC chip, and give you the basics of producing This technique can be used to turn off an indi
sound and music. So turn up the volume on vidual tone generator without turning down the
your monitor and away we'll go. volume. The volume control affects all three tone
generators and the white noise generator. You
can set the volume to any value between 0 and
Sound effects and music can add a lot to a com 15, with 15 being maximum volume. Here's a
puter program. Think how boring it would be to chart of the memory locations that control sound,
play a game like Defender if you couldn't hear the and what they do.
sounds of lasers blasting and enemy ships ex
Location Voice Noise Poke Tone
ploding. In business applications a "raspberry" Generated Values Range
Number
sound can warn a user of bad input. Without a low
36874 1 tone 128-255
warning sound there would often be a potential 36875 2 lone 128-255 medium
for compounded errors, 36876 3 tone 128-255 high
You can communicate with the VIC chip in 36877 -
while noise 12S-25S noise
36878 volume control 0-15
side your VIC-20 via memory locations 36864 to -
36879. It is responsible for controlling the video Now that you have the basic information, let's
and audio functions of your VIC. Specifically, POKE around a little and produce some sounds
memory locations 36874 to 36879 control sound, on the VIC. Before we continue, make sure that
and by POKEing various values into these loca the volume setting on your TV or monitor is up.
tions, you can produce almost infinite combina If you're using a monitor, make sure that all or
tions of sounds and music on your VIC. the audio connections are made properly.
Enter POKE 36878,15 then press RETURN.
POKEing Values For Sound This will put the volume at the maximum setting,
The VIC has three separate tone generators, a but you still don't hear anything. Simply turning
white noise generator, and a volume control. Each on the volume doesn't produce sound. To do
tone generator covers a range of three octaves, that, we have to POKE a value into one of the
but because they overlap, the three together pro tone generators. Now enter POKE 36874, 128.
duce a range of five octaves. Sounds are produced You should hear a very low tone, the lowest note
on the VIC by POKEing the volume control loca that can be achieved on the VIC. Why? It's the
tion and then POKEing any value between 128 lowest because we POKEd the lowest legal value
and 255 into one of the four sound generators. (128) into the lowest of the three tone generators
For ease of reference, these tone generators are (36874). If you POKE values lower than 128 into
often called speakers. any of the four sound producing registers, no
152 COMPUTE'S Gazelle Moy!984
sound will be produced. To demonstrate this, struction book that came with your ViC), you'll
POKE 36874,127 with the low sound still on. find many sound demo programs. A few of them—
Now press RUN/STOP—RESTORE. Among like #10: birds chirping, #9: phone ringing, and
other things, this resets the VIC chip, setting all #12: ocean waves—are especially good. Studying
of the sound registers and the volume control to the techniques used in these demonstration
zero. programs will teach you a lot about sound on
(he VIC.
Combining Sounds
When producing sound on the VIC, you are by Programming Musical Notes
no means limited to using one speaker at a time. When you tire of the sounds of exploding
To see how to combine sounds, we'll turn on one, spaceships, you can use the VIC to play tunes.
two, then three of the speakers simultaneously. Mere is a chart of musical notes, and the values
First, let's turn on the volume by POKEing you need to POKE to produce them:
36^78,15. Now, let's turn on the speakers one at a
time. POKE 36874,131) produces a very low tone
by turning on the lowest speaker. POKE 36875, c 131 c 214
175 turns on the second (middle range) speaker, c# 140 G# 216
and you should be able to hear both (ones at the D 145 A 218 219
D# 151 A# 220 221
same time. Now we'll turn on the third or highest
E 158 B 222 223
speaker by POKEing 36876, 240. This adds a very
F 161 162 C 224
high tone to the other (wo. F# 166 167 C# 226
You can produce some interesting sound G 173 174 D 227 228
effects by using all three speakers simultaneously. G# 178 D# 229
A 181 182 E 231
You can turn off all three at oncebv pressing RUN/
A# 185 1S6 F 232
STOP—RESTORE or by turning off the volume
B 169 190 F# 233
with a POKE 36878,0. When you POKE off the C 192 193 G 234
volume, the speaker registers still contain sound C# 197 G# 235
producing values, but they're not audible with D 200 A 236
the volume off. D# 203 A# 237
E 206 207 B 238
When working with sound, you are not
F 208 209 C 239
limited to producing monotones/The frequency F# 211 212 C# 240
(note value} of the sound can be varied along with
the volume. Enter and RUN this program:
10 POKE36878.15
You'll notice that although a few of the notes have
20 FORA=128TO254:POKE36876,A:NEXT
30 FOftA=254TO127STEP-l:POKE36876,A:NEXT
one value listed, the majority need two. In some
cases, to produce a more pleasant and musically
Unlike the other three speakers which pro accurate note on the VIC you have to merge two
duce musical tones, the white noise generator tones. For example, the first G on the chart is
produces a hissing sound. Fora demonstration, achieved by using the two values 173 and 174.
POKE 36878,15:POKE 36877,240. You hear a high- This is done by alternately POKEing a speaker
pitched hissing sound. This is known as white with two different values. For instance, to produce
noise. The white noise speaker operates under the this G you would first POKE in the volume, then
same rules as the other three speakers (turn on POKE'the speaker with a value of 173, then a 174,
volume POKE values between 128 and 255, etc.). a 173, and so on. This alternate beating of two
The noise speaker can be used to produce sounds notes in one speaker serves to correct notes that
such as an explosion or the thrust of a jet plane arc slightly sharp or flat.
taking off. Here's a quick demonstration of an Here's a recognizable tune to show you how
explosion: it's done:
5 POKE36878.15 10 POKE36878,15:S3=36876
10 FORA=254TO210STEP-1:POKE36876,A:FORT=1 20 READA,B,T:IFA=999THENPOKE36878,0:END
TO20 :NEXTT:NEXTA 30 FORZ=1TOT
30 POKE36876.0 40 POKES3,A!POKES3,B:NEXT
40 POKE36877,150:FORT=1TO500:NEXTT 50 GOTO20
50 FORA=15TO0STEP-lsPOKE36878,A:FORT=lTOl 60 DATA 224,224,100,239,240,50,218,219,50
50:NEXTTsNEXTA 70 DATA 214,214,50,206,207,50,214,214,150
Now that you have the basics, let's type in a 80 DATA 200,200,150,999,999,999
few small sound demonstration programs and Although the tune might be rather simple, study
see what the VIC can do. On pages 136 through the programming techniques involved. In this
138 of Personal Computing on the VIC-2Q (the in program, both the value (frequency) of the notes
COMPUTEI's Gazette May 1984 123
and the length of time the notes are played arc
READ via DATA statements. During each pro
Modem with Printer Interface for
gram cycle three values (A, B, and T) are READ.
The note values (A and B) are FOKEd into the
Atari, Commodore, and Vic
speaker (S3 = 36876), and the time delay value (T)
is used in the FOR/NEXT time delay loop. The
program stops as soon as it reads a value of 999.
Programming Hints
To save yourself some programming time as well
as BASIC memory, set your speaker and volume
registers as variables at the beginning of the pro
gram. For example:
10 SI = 36874:S2 = 36875:S3 = 36876:S4 = 36877:V ■ 36878 Direct connect, autodial, autoanswer modem,
In this example, the variables SI through S4 stand also runs a parallel printer. 300 baud modem has
for speakers one through four, and V is the built in Centronics printer port. Simultaneously
prints whatever appears on your screen as it
volume. After setting the registers as variables,
comes over the telephone.
referencing them in the body of the program is
easy. For example, to turn on the volume, POKE One box does it all so you can receive the most
V,15, or to POKE a value into one of the speakers, from your computer.
POKE S2,200. This not only saves programming
memory, but also simplifies the program logic. Auto-Print Microconnection retails for S 149.95.
Although the VIC-20 does not have the
sophisticated SID (sound interface device) like the
64, it can produce a myriad of sounds. With these the micropenpheral corporation
techniques in mind you can add sound to that 2565 ■ 152rC Avfnur NE. Redmond. WA 9SO5?
|206| BB1-754*
program you're writing, or even compose a
symphony. ©
ULTRA
ASSEMBLY
COPY 64
LANGUAGE Make exact backup copies of Commodore
C-64 PROGRAMMING AID 64 disks including DOS protection.
Provides programmed instructions to
Code With Fewer Errors ! reproduce disk errors used by latest
protection schemes.
Introducing PSI-WARES Ullraipeea1 Mocro -Thoroughly tested, fast, reliable, easy lo use
Library of over 210 lested macro! for + — • / AND
OR ON equals POKE PEEK IF ond rfiemory move to -Copy wilh one or two 1541 disk drives
use wilh ihe C64 macro assembler 16 and S bil
inleger signed macro* provide memory efficiency , -Copies EVERYTHING incL name and ID
speed nnd maximum versatility
- If no disk errors encountered, copy will run
Pert 6Ct for gomes, sound, graphics ond more - Analyzes which tracks have data and errors
Compact source code. Your easily inspected -Can skip empty iracks lo greatly speed copying
mocro colls lypically generate 20 byles. -Programmed instructions lo pui errors 20.21,22.
New programmers will appreciate 23, 27 & 29 on copy as required
how easy il is lo program with the library.
hi f/ie WC version, a successful ski jump in progress after a Tlie skier's fate hangs in the balance in the 64 version.
coned answer.
Ski Physics
Gerald and Betty Schueler
"Ski Physics" is an educational game that numbers—A represents the units for each problem
teaches the relationship between velocity, dis (feet, minutes, etc.), B stands for one of three
tance, and time. If you answer questions cor word problems, and variables X and Y are the
rectly, you can watch the skier make a perfect numbers used in the problems.
jump. If your answer is wrong, the ski jumper Lines 290-300 print the background scene,
lands in a bale of hay. For the VIC-20 or Com using the redefined characters from the first
modore 64. program.
C commodore
And
The Software That Makes Them Work!
CBM PRODUCTS ] C-64 STUFF
8032 Computer
1 C-64 Computer S219.OO
S 619.00
! 1541 Disk Drive 249.00
8050 Disk Drive 979.00
8250 Disk Drive 1279.00 1702 Monitor 249.00
; 1526 Prinler 339.00
9060 Hard Disk 1979.00
8023 Printer 529.00
! 1600 Modem 69.00
; 80 Col. Card 59.00
6400 Printer 1399.00
i MSD Dual& Single Drives CALL
Tax, Data,
Word Writer and Data Manager 2 from Timeworks.
Writing
Programs
Timeworks, Inc., has introduced and other categories that are too
several new packages for the long for standard forms.
Commodore 64, plus a cassette- The suggested retail price
to-disk conversion plan. for Swiftax, which is available on
Swiftax is a menu-driven disk, is $49.95.
program that enables the user to Word Writer is a word proc
prepare annual income tax re essing package which can be
turns without prior knowledge used by itself or interfaced with
of computers or accounting. The Timeworks' Data Manager or
program guides the user through new Data Manager 2 programs.
the tax preparation process, The packages allow you to
gives instructions on which maintain and print out name
forms should be completed, and and address lists, produce cus
automatically checks tax alterna tomized reports up to 20columns
tives such as income averaging. wide, individually address and
It prints tax information on print form letters, print name
each IRS schedule and form, and address files onto standard
and makes itemized statements