$2.95
September 1985 <s
Issue 27, Vol. 3, No. 9
02220 $3.75 Canada
Maze-Mania
Mastering this fast-paced
ad; p game for the 64 is no
easy task.
is simplifie
"* V-
Weather Prophet
An amazingly reliable
forecaster for the 64 and Power BASIC:
Plus/4.
QuickScan User Group Update
-.
step-by-step lessons
rn at your own pace!
"ui#] will explain the
.ram and show you
how to get on-screen help
each lesson has three parts:
introduction of new keys,
exercises, and reinforcement
over 400 exercises, alt based
on successful typing manuals
get immediate help or return t
main menu with a single keys!
no complex computer comma*]
its user friendly and menu tlriv.
no knowledge of computers nci
just basic reading skills
select the lesson you want
through a simple menu control
typing game included,
.to make learning fun!
re-entering (he workforce who need a fast refresher. Designed by educators and computer programmers working together. KEYS TO
TYPING lets you learn quickly, easily and effortlessly. After 32 lessons, you'll be typing at speeds you never (bought possible.
BATTERI ^7 INCLUDED
30 Mural Street f 7S75 Sky Park North, Suite P
Richmond Hill, Ontario Irving, California
MB IBS CANADA
(4161881-9941
"The Energized Software Company!" U5A 937'4
Tg/ex: 06-21-8290 WRITE TO US FOR FULL COLOUR CATALOGUE of oor products lor COMMODOSE. ATARI, APPLE and IBM SYSTEMS Jfetew; 509-139
If you have been searching for a letter printing. The built in 2K huffer frees op THE BEST PART
quality printer you have probably found your computer while printing a page or When shopping for a daisy wheel
the flood of claims and counterclaims to two allowing you to go to your next job. printer with all these features (if you
be a real roadblock in your search. Not To really put your printer to work, the could find one), you couid expect io pay
long ago we were in the same position. Cut Sheet Feeder option is great for $600 or S700 dollars. The options would
We tried to determine which daisy wheel automatic printing of those long jobs. add much more. AW now! We have done
printer had all the features our Also available is the adjustable Tractor our homework. We can now offer (his
customers wanted, yet would not set Feed option. Compare our option prices! printer for only $353. Order yours today!
them back a month's salary. Recently Best of all the Daisy 1120 is quiet: only
NO RISK OFFER
several manufacturers have introduced 57 dB-A (compare with an average of
machines thai had features we were 62-65 dii-A fur Others). Try the Daisy 1120 for 2 weeks. If you
seaching for. After a thorough assess are not satisfied for ANY reason we will
COMPLETE COMPATIBILITY
ment we eliminated one model after the refund the full price—promptly. A full
The Daisy 1120 uses industry standard 1-year parts and labor warranty is
other for lack of one feature or another
Diablo* compatible printwheeis. Scores included.
until we only had one left.
of typeface styles are available at most
THE RESULTS ARE IN THE BOTTOM LINE
computer or stationary stores. You can
We found the printer which has all Ilie pop in a 10. 12. 15 pilch or proportional Aprotek Daisy 1120 (Orderfll20) S353
features anyone could want. The winner prinlwIk'L'l and use paper as wide as 14". w/standard Centronics parallel interface
is the Aprotek Daisy 1120. a real heavy- A( 15 Cl'l you can print 165 and 2K buffer.
duty workhorse printing at 20 characters coinmns—great for spreadsheets. Options
per second. The manufacturer is Olympic The Daisy 1120 uses the Diablo Auto Cut Sheet Feeder 01110( $188
Co. Ltd.. a highly respected Japanese firm. Hytype II" standard ribbon cartridges. Tractor Feed (#1112) S77
FEATURES GALORE Again universally available. Accessories
This printer has il all. To start with, Jl Not only is the hardware completely 8' Cable for IBM Pq» and compatibles
compatible, the control codes recognized [«103) S26
has a front panel Pitch Selector button
with indicators which allows 10, 12, 15
by the Daisy 1120 are Diablo 630*
Interface with cable; *T!-99/4A (*106) S66
compatible (industry standard!. You can
characters per inch (CPI) or •Apple II or lie MI04) $76
lake advantage rrf all the great features
Proportional Spacing. There is a Select • All Commodore (except Pet) (#1105) S44
of word processing packages like
(Online) button (with indicator) and a •All Atari (#1107) S66
Wordstar* . pfs: Write* . Microsoft
Line Feed button. You can also set Top- Shipping is S11 —UPS ctiniinmtal USA. If you are in
Word* and most others which allow you
of-Form or Form Feed with the touch of a hurry, UPS Blue or Air Parcel Posl (s^ond day
to automatically use superscripts, air) is S25. Canada. Alaska, Mesico and Hawaii are
the TOP button. Other front pane! in
subscripts, automatic nnderiining, bold S30 (air). Ollk'r fuiciRn is $60 (air). California
dicators include Power and Alarm. residents add (fl't la*. PriMS are cash prices—VISA
face (shadow printing) and doubleslrike.
To load a sheet of paper, simply place and M/C add '.1% to total. We ship pmniptly un
The printer has a set of rear switches money urders, cashier'.4; checks, and charge i.iiiK
il in the feed slot and pull the paper bail
which allow the use <>( standard ASCII as Allow [.!-,!,iy ck-.irint! fur checks. Nh CO.D.'S. Pay-
lever. 1'KESTO! The paper feeds automati
well as foreign character printwheeis. nwtil i» US ildll.irs only.
cally to a 1 inch top margin and the car
Page length can be set to ». 11, 12. or TO ORDER ONLY CALL TOLL PREE
riage aligns to the selected left, margin.
Ifi'. The Daisy 1120 can also be switch (800) 962-5800 USA
In this manner, each page can have iden (8-8 PST)
ed to add automatic line feed if required.
tical margins automatically. You can con (800) 962-3800 CALIF.
tinue to compute while the Or send payment to address below:
Daisy II20 is
Technical Information & Customer
Service: (805) 987-2454 (8-5 I'STi
Dealer Inquiries Invited
ASSEMBLER/MONITOR-64
Macro assembler and extended monitor.
Supports all standard functions plus
floating point constants Monitor
supports bank switching, quick trace,
single step, more. $39.95 ANATOMY OF C64 Insider1! guide to TRICKS & TIPS FOR C-64 Col-
the '64 internals. Graphics, sound, I/O, cction of easy-to-use techniques: advanced
Vernal, memory mapi, more. Complete graphics, improved data input, enhanced
commented ROM listings. 300pp $19.95 BASIC, CP/M, more. 275pp S19.9S
BASIC COMPILER 64
Compiles complete BASIC language ANATOMY OF 1S41 DRIVE Best 1541 REPAIR & MAINTENANCE
into either fasi 6510 machine language handbook on floppy explains ill. Many Handbook describes the disk drive hard
and/or compact speedcodc. Supports examples and utilities. Fully commented ware. Includes schematics and techniques lo
overlays and many extended BASIC 1S41 ROM listings. 320pp $19.95 keep 1341 running. 200pp S19.95
commands. $39.95
MACHINE LANGUAGE C-64 Learn ADVANCED MACHINE LANGUAGE
6310 code wrile fad programs. Many Not coveted elsewhere: - video controller,
SUPER-C COMPILER samples & listings for complete assembler, interrupts, timers, clocks, I/O, real lime,
monitor, simulator. 2D0pp $14.95 extended BASIC, more. 210pp $14.95
Full compiler per Kernighan & Ritchie
standard, but without bit fields. Includes GRAPHICS BOOK C-64 -belt ref PRINTER BOOK C-64/VIC-20
powerful editor (41K source file); com erence covers basic and advanced graphics. Understand Commodore; Epson-corn patible
piler (6510 code), library (supports many Sprites, animation. Hires, Multicolor, printers; 1320 plotter. Packed: utilities; gra
functions) and linker. new; $79.95 lighlpen, 3D-graphics, IRQ, CAD, pro phics dump; 3D-plott; commented MPSS01
jections, curves.more. 35Opp $19.95 ROM listings, more. 330pp S19.95
FORTH-64 LANGUAGE
Based on Forth 79 (+ parts of '83).
Supports hires graphics and sound
synthesizer. Full screen editor, PRODUCTIVITY TOOLS
programming tools, assembler, samples,
handbook. NEW; $39.95
CHARTPAK-64
MAKE YOUR OWN CHARTS...
MASTER-64
Professional quality charts and graphs instantly.
Professional development package for Easy-to-use menus. S chart formats. Two size
serious applications. Indexed file sys hardcopy. Accepts data from Multiplan,
tem, full screen & printer management, CalcResult. Supports statistical functions. $39.95
programmer's aid, multiprecision math, Alio iviiiibitt:
CHARTPLOT-1520 fine output
royalty-free runtime, more. $39.95
to inexpensive 1S20 plotter. $39.95
CHARTPLOT-64 unsurpassed
PASCAL-64 quality charts on most XY-plolters. $84.95
Optional Diskettes
for books -* H
For your convenience, the programs
contained in each of our books are available Vhilk+td tf "i H W-I.VI
XPER is Uic Itrsl expert system for Ihc C-64 and C-128.
SCIENCE/ENGINEERING ON C-64 Ordinary data bases arc good for reproducing facls, but
PEEKS & POKES - Programming
In depth inlni to computers in science. quickies that will amaze ycj. Includes in- XPER lets you derive knowledge from a mountain of
Topics: chemistry, physici, biology, astro dcplh explanations of PEEK, POKE. USR facts and helps you make expert decisions. Scientists,
nomy, electronics, others. 350pp S 19.95 and other commands. 200pp $14.95 doctors and professionals arc currently using XPER in
CASSETTE BOOK C-64/VIC-20 ADVENTURE GAMEWBITERi nuidbook their research projects.
Comprehensive guide; many sample pro- Step-by-step guide lo designing and writing
grams. High speed operating system-fast your own adventure games. With automated The XPER system puts your information into a
file loading and saving. 225pp S14.95 adventure game generator. lOOpp $14.95 knowledge base. A knowledge base cconsists of a variable
number of objects - such as trees; features - such as
IDEAS FOR USE ON C-64 Theme t: CAD BOOK for C-«4/C-12S Intro
auto expenses, calculator, recipe file, stock duction to computer aided design. ID and "what kind of leaf docs it have?"; and attributes - such as
lists, diet planner, window advertising, 3D, reflection, looming, macroi. Simples 6 inch needles. After describing your knowledge base, you
others. Includes listings. 200pp $11.95 use SIMON'S Basic. 250pp $1955 can easily enter your information using XPER's complete
en [ry/maintenance facilities.
COMPILER BOOK C64/C-128 All MORE TRICKS & TIPS Dozens of
you need to know about compilers: how more helpful programming techniques: soft- Then, XPER's very efficient searching techniques will
thoy work; designing and writing your own; ware protection; new BASIC commands;
generating machine code. With working interrupts; ROM routines; the KERNAL. guide you through the most complex decision making
example compiler. 300m> 119.95 hardware tins. etc. ifOpp $19.95 criteria. You'll also benefit from XPER's full reporting
capabilities and ease of use. $59.95
Other Books Coming Soon!!
TAS-64
CHART YOUK OWN STOCKS...
Sophisticated technical analyst! charting package
ORDERING INFORMATION
l
Call now for the name of your nearest dealer
for serious investor. Capture data from DJN/RS
or Warner Services or enler and edit your data. 7
With Timeworks you get more With Timeworks you get more * With Timeworks you get our
power for your dollar than software Money Back Guarantee
You can use each program alone. Or You Get Our Customer Technical If you can find anything that works better
interface this trio -one at a time if you like Support Team for you, simply send us your Timeworks
- into a completely integrated productivity At the other end of our toll-free hotline, program, your paid receipt, and the name
system that delivers all the power and you'll find our full-time Customer Techni of the program you want, along with your
features most of you will ever need... at cal Support Team. Free of charge to all check or credit card number for any retail
a cost that lets you enjoy their use. registered users. price difference. If it's available, we'll buy
it for you."
You Get Our Liberal Trade-Up Policy
Look for these and other Timeworks pro
grams at your favorite dealer. Or contact You'll find the details inside each package. Available for Apple, IBM,
Timeworks, 444 Lake Cook Road, Deer- Commodore 64 and 128,
field, IL 60015. Phone: (312) 948-9200. and Atari Computers.""
features
The New Commodore Amiga: A Hands-On Report Charles Brannon 18 •
Amiga Software: Something lor Everyone Selby Bateman 26 *
The Summer Consumer Electronics Show: Beyond the Shakeout Lance Eiko 30 *
CES Perspective: The End of the Tap Dance Kathy Yakal 36 *
reviews
F-15 Strike Eagle Neil Randall 32
On-Court Tennis Kevin Martin 53
Cave of the Word Wizard Neil Randall 54
B.C. II: Grog's Revenge James Trunzo 54
Legionnaire Neil Randall 55
Adventure Writer, Dialog, and The ELF System Neil Randall 56
Chlpwlts Arthur Leyenberger 58
Also Worth Noting 59
games
Maze-Mania Mark Tuttie, Kevin Mykytyn, and Philip Nelson 68 64
Tracker Ned W. Schultz 69 64
Friendly Alien Cal Overhulser 70 64/V
education/home applications
Computing for Families: In Search of the Computer Sandbox, Part 1 Fred D'lgnazh 72 *
Weather Prophet George IV. Miller 73 64/+4
programming
BASIC Magic: Drawing Lines and Borders Michael S. Tomczyk 42 64/V/+4/16
Hints & Tips: Recycling Selected DATA Statements Gordon J. LeVee 46 64/V/+4/16
Power BASIC: QuickScan Daan Deenik 76 64/V
Machine Language for Beginners: From Machine Language to BASIC Richard Mansfield 77 64/V
Printer Wedge James Chandler, Jr 80 64
Zounds!, Part 3 Lawrence Cotton 81 64
TinyTerm for the 1650 Automodem Preston Douglas 82 64/V
VIC Emulator Fausto Ibarra 84 64
departments
The Editor's Notes Robert Lock and Richard Mansfield 6 *
Gazette Feedback Editors and Readers 10 *
User Group Update 49 *
Horizons: Programming the 128 Charles Brannon 60 128
Simple Answers to Common Questions Tom R. Halfhill 87 *
program listings
Bug-Swatter: Modifications and Corrections 88 *
MLX: Machine Language Entry Program 89 64/V
How to Type In COMPUTERS Gazette Programs 90 *
* = General, V=VIC-20. 64=Commodore 64, +4=Plus/4, 16=Commodore 16, 128 = Commodore 128
COMPUTE!'! GAZETTEis [HiNllhiNl monlhlv b; COMPtTTIJ Publications. Inc.. Posl Office Boi 5)06, Greensboro. XC 17403 USA. Phone (919) 275-9809. Editorial pfBcB are
lofj|i>d jt 324 Vint WWiifovtr Avrnue. Grrmsboro, NC 2740B Domesllc subscriptions1 12 EMM!, $24. Send ^ubsmption orj,i*. or chanR? ol flddrev* (P.O form 3579) lo
Circulation Depl., COMPUTE'* GAZETTE. P.O. Dot 461. Famiingdjic, NY 11737. Second s!i55 application pending a! Grenrihoro. NC 27403 and jddllional mailing offices.
Enure cnntrnti r.ijiyngh! ffll'BS by COMPUTE! f'uhlk-aiionv Inc. All right* reserved. ISSN 0737-3716. )|'\
COMPUTB Publitaiioni, Inc. One ul the ABC Publiihlng Coropinlt* ABC Publishing, President, Robert G. Burton; U3U Avenur ol Ihe Anwnrw: New York. Nils York 10011.
In the most recent issue of COMPUTE!, "remember" better than their pre even access online grammar check
our sister publication, we chided decessors. And that means they can ing and thesauri. You'll have the
Commodore for apparently send do everything better. power of the Macintosh graphics
ing Amiga systems to competitors Video, for example. Take a programs, but in color. It will be
while consciously making a deci look at page 18. One of the impor easy to draw titles, graphs, or visual
sion to withhold them from us. tant byproducts of more processor aids and transfer them to other me
We're pleased to report that in the power is greater video resolution— dia such as VCRs and slides. Com
interim we've discovered several more dots of visual information, plex music and voice synthesis and
things. Commodore allowed sever more colors, more shades. The new sampling will be available.
al competitors access to the Amiga, computers offer relief from the rela The larger memories and faster
but did not send them systems. tively crude block-graphics and car speeds of these new computers will
And, more importantly, since we toons which have hitherto served allow many more variables in
brought the situation to their atten as the visual element of personal games. Adventures will have more
tion, Commodore's new manage computers. We can't show you ani scenes, more intelligent input anal
ment team and their assistants have mation in these pages, but that, too, ysis, more characters, and a more
been extremely helpful in rectifying is far superior. Things can now look complex story line. Action games
our concerns. Harmony has re round instead of ragged, shadows will look real (a videotape can run
turned to our editorial halls, and look like shadows instead of black in the background of computer im
you'll find a rather exciting story in blobs, and moving objects, instead ages) and the sound effects will be
this issue on the new Amiga from of lurching, can now glide and astonishing. Games will be able to
Commodore. revolve. approach simulation-quality real
It seems likely that the Amiga Pages of print, too, are tight ism and be far richer and more so
and the new ST from Atari are go and stable on new, high-definition phisticated than is currently
ing to revitalize the personal com monitors. You can read these possible.
puter industry. screens iike a book. Related to this, When you've seen what these
These machines represent a Atari and other companies are cur new machines can do, you're likely
leap to a higher level of technology. rently preparing to offer entire to agree that pessimists reporting
New, synergistic technologies have encyclopedia-sized databases on a the demise of personal computing
been brought together to create a single compact disc. This new pe this past year have been seriously
significant advance in power. New ripheral will plug into your com off the mark. No one can tell what
microprocessors, new storage de puter like a disk drive and in the next ten years will bring, but if
vices, and new video screens equal seconds will locate any information these computers are any indication,
far more than the sum of their parts. you need. You can even ask it ques it will be a decade of marvels. Con
When COMPUTE! first started tions which contain and and or rela sumer computing is still an industry
publishing in 1979, it was called tionships: baseball and football in in its infancy, but no other technol
"The 6502 Resource Magazine" be movies or books. You'll have a lot ogy is more likely to enrich our
cause the home computers then of knowledge only seconds away lives in so many unpredictable
available—Apple, Atari, Commo from your screen. The amount of ways.
• All programs run on the 64 and the 128 running in 64- mode.
• Sections detail the advanced special features of the
powerful, new 128 computer,
• A disk is available which includes programs in the book.
Look for these and other best-selling titles from COMPUTEI Books at your local computer and book stores
or order directly from COMPUTE! Publications.
To order, call toll free 800-334-0868 or mail your payment (including $2.00 per book for shipping charges)
to COMPUTE! Books, P.O. Box 5058, Greensboro, NC 27403.
COMPUTE! Publicationsjnc.fi
One o< ihe ABC Publishing Companies
Editors and Readers
Do you have a question or a problem? characters to the printer or other periph adding 64K to a 64 to make a 128—is no. A
Have you discovered something that eral. The hardware solution is an interface 128 in 128 mode is more than a Com
could help other Commodore users? that intercepts the Commodore characters modore 64 with extra memory. There are
Do you have a comment about some and changes them to standard ASCII many new keys, including ESC, ALT,
thing you've read in computed ga before they reach their destination. HELP, 40/80 (columns), and a numeric
zette? We want to hear from you. The program you're using apparently keypad. And there's an improved BASIC.
Write to Gazette Feedback, computed gives you the option of sending either kind A 128 in 64 mode is a 64, but it would
GAZETTE, P.O. Box 5406, Greensboro, of ASCII (Commodore ASCII or a software be difficult if not impossible to upgrade a
NC 27403. We regret that due to the translation to true ASCII, if you need it). 64 lo act like a 128 in 128 mode.
volume of mail received, we cannot The MPS-801 you own is a Commodore
respond individually to program printer and uses Commodore ASCII. So,
ming questions. when your program asks what type of Learning BASIC
ASCII, you should answer Commodore The manual that came with my com
ASCII rather than standard ASCII. puter has a list of BASIC words in the
appendix, but it doesn't go through
Speaking The Same Language Commodore 128 Compatibility
them one by one and explain how to
What's an ASCII code? And what's the use them. The definitions are very short
I am considering upgrading from my 64
ASCII code for the MPS-801 printer? I and don't include useful examples. For
to a 128 and I have a few questions
recently purchased a software package example, the DATA statement "...is fol
about compatibility. Is the 128 compat
that needs to know a printer's code to lowed by a list of items to be used by
ible with the 1541 disk drive? Is it
work. READ statements."
compatible with the 1650 Automodem?
K. Fuse My grandmother has a Texas In
What about the Connection interface
struments computer and the manual for
ASCII is short for "American Standard and a BMC printer? Is it compatible
it explains every little detail of every
Code for Information Interchange," a kind with GAZETTE programs? Will popular
word needed to program in TI BASIC.
of common language used to send infor commercial software work on the 128?
Where do I find a book like that for
mation from a computer to printers, disk Kerry Konecny
Commodore computers?
drives, or other computers. I've read about new 128 software that Bo Michelli
It's like Morse code for computers.
would not fit on a 64 due to ils smaller
Each character is assigned a unique series There are many books that explain BASIC
memory. If you buy a 64K expander for
of on and off bits—ones and zeros—so in simple terms, with a lot of examples.
the 64, would the 128 programs work?
data can be traded back and forth. The The ones written for children can be help
Scott Colston
ones and zeros are commonly expressed as ful even if you're an adult (for example,
their decimal equivalents (for example, The answers to the first five questions are COMPUTEI's Kids and the Commo
01000007 is ASCII 65, which is the letter yes, yes, we don't know (but probably yes), dore 64).
A). yes, and yes. There are three distinct But reading about programming is
The BASIC functions ASC and CHRS computers inside the 128: a Commodore not enough. You should practice and
allow you to find out which characters are 64 (40 columns), a 128 (40 or 80 columns), experiment; remember that you can't
assigned to which ASCII numbers. Try and a CP/M 3.0 computer (80 columns harm the computer by making mistakes.
typing PRINT ASCC'A") or PRINT only). Many readers have commented that typ
CHR$<65). The 1541 works with both 64 or 128 ing in programs from the gazette has
Commodore owners need to know mode, but you'll need the newer disk drive helped them learn more about
about two different types of ASCII codes. to run CP/M programs. A television or programming.
Standard or "true" ASCII uses seven bits composite monitor will work in 40 col Start by learning the most common
to create 128 numbers: 96 printable umns for either 64 mode or 128 mode. But commands like PRINT, INPUT, FOR-
characters and 32 control codes. An eighth 128 mode (80 columns) and CP/M both NEXT, IF-THEN, READ-DATA, GOTO,
bit is sometimes used as a parity bit, a require an RGB monitor. We've tested the and GOSUB. (You could even learn how
checksum. Commodore ASCII is not the 1650 Automodem with Vidtex software in they work by reading your grandmother's
same as true ASCII, and has 256 numbers 64 mode and it seems to work fine (as of book about TI BASIC; these commands
(eight bits), some of which are unused or this writing, there is no telecommu work much the same in different versions
duplicated. nications software for 128 mode). of BASIC.) You don't have to learn all of
If you send Commodore ASCII codes In 64 mode, the computer runs all 64 the commands at once, some of them you
to a non-Commodore printer that expects software we've tried. In other words, it's may never need in the programs you
Standard ASCII, the upper and lowercase not just 64-compatible, it is a 64. write.
letters will be switched (1IKE tHIS, fOR So if you already own a 64 and have It also helps to be able to ask ques
eXAMPLE). You can fix this through soft invested in software and hardware for it, tions about problems you encounter. If
ware or hardware. The software solution you can buy a 128 and continue to use you can't find a friend or neighbor who
is to have the program make the conver your peripherals and programs. knows how to program, contact a local
sion to standard ASCII before sending the The answer to the final question— users group; many offer classes for
Sure Summer Games was great, but event. It's so realistic, there's even an
why stop there? Let Summer Games II take opening and dosing ceremony along with
you even farther with eight new events medal presentations after each event.
including cycling, fencing, knyaktngi triple
It's not too early to gel ready for 1988.
jump, rawing, high jump,javelin and even
equestrian, They can all be played by
With the right diet, proper training and
up to eight players and some, like cycling,
houra of practice you jusl mighl make it, In
the meantime, put on your sweatsuit grab
rowing and fencing challenge you with
that joystick and let Summer Games II give
realistic head-to-lie ad competition.
you eight new ways toGo For The Gold!
First, you decide which of the 18 different
countries you're going to represent. Then,
in true Olympic fashion, you will need the
proper strategy and mental toughness, • amuvrm scntui
no! just speed and agility to excel in each Strategy Games far tiie Action-Game Player
beginners. Or call local schools and ask if like to be able to use it for other things, 64 (SX-64), and newer models of the 64
they have night or weekend classes in such as menu selection and game de have been revised to eliminate the
programming. sign. I've tried PEEKing to no avail. problem.
Any information you could give me The lockup will occur only when the
would be helpful. cursor color is red, cyan, blue, yellow,
Putting Information Into Lists
David Bradley light red, dark gray, light blue, or light
I've had my computer for two years and
gray. Safe colors are black, white, purple,
can write programs for it, but I just can't The KoalaPad is read like paddles. Each
green, orange, brown, medium gray, and
seem to understand the DIM statement. paddle can have a value from 0 to 255,
light green. To avoid the problem al
Chris Davis depending on which direction it is turned.
together, change the cursor color to a safe
The KoalaPad gives back two numbers in
DIM is short for DIMension, and it sets up color before you start programming.
the range 0-255, corresponding to the
a list of variables called an array. Let's say Also, you can defeat the lockup if you
pen's horizontal and vertical position. On
you're a teacher meeting new students for own a Datassette. After the computer
the 64, peeking location 54297 gives the
the first time. You know ahead of time that freezes, simultaneously press the left
horizontal coordinate, and 54298 gives
there will be 15 students, so you write the SHIFT key and 3, or X and 5, or V and 7,
the vertical position. Reading the
numbers 1-15 on separate lines down the and so on (every other key from left to
KoalaPad is more accurate !ji machine
tefthand side of a sheet of paper. As each right). The screen will display PRESS
language,because these two locations are
student comes into the room, you ask for PLAY ON TAPE. Press PLAY on the
also usedby the keyboard scan routine.
his or her name and write it on one of the Datassette and then RUN/STOP. Disk
Use these statements in your pro
numbered lines. Numbering the list before drive owners can totally avoid the bug if
gram to determine which button is
putting anything into it is the equivalent the first line in the program in memory is
pressed:
of the DIM statement—you're preparing a OPEN15.8.15: 1NPUT#15,A$.
list that will be a certain size. IF <PEEK<56321>AND8) = 0 THEN the
right button is pressed
You can do the same thing (create a
IF <PEEK{S6321)AND4) = 0 THEN the left Disk Limits
numbered list of names) on a computer
button is pressed I am learning how to use relative files
with a string array:
on the 64. I've read that more than one
The following BASIC program uses
10 DIM N$(15) disk file can be open simultaneously,
20 FOR ] = 1 TO 15: PRINT "STUDENT"; the KoalaPad to move a sprite around the
but whenever I try to open a second rel
J screen. Pressing the right button will
ative file, I get an error 70, NO CHAN
30 INPUT N«J): NEXT change the color of the sprite, while press
NEL. I don't understand where the
40 PRINT "STUDENT FIVE IS''; N$<5> ing the left will toggle the sprite's size.
error comes from.
The DIM statement in line 10 tells 10 PRINT"[CLRi":FORA=832T0896: Don Amett
the computer to set aside some memory for POKEA,255:NEXT:POKE2040,13:
a list of strings (for a list of numbers, you POKE53269,1 Relative files are fast and flexible, but you
would leave off the dollar sign). It's like 20 POKE53248,PEEK(54297):POKE5 cannot have more than one open at any
3249,PEEK(54298) time. It's possible lo open a sequential file
writing numbers down the side of a piece
30 IF(PEEK(56321)AND8)=0THENPO while a relative file is open, however, and
of paper, except that the computer starts
KE532B7,(PEEK(53287)+l)*-(P you may be able to modify your program
counting at zero, so the list actually has EGK(53287)<255)
room for 16 tiatnes rather than 15. Lines accordingly. For more about programming
40 IF(PEEK(56321)AND4)=0THENPO
20-30 ask for 15 names, ignoring name relative files, see "Relative Files: Speed
KE53277,-(PEEK(53277)=0)
number zero. 50 GOTO 20 and Economy" in the ]une 1985 gazette.
The example above is a one-
dimensional array, meaning there's only Don't jump Out Of Loops
one number (dimension) in parentheses. The 64 Lockup Bug I've been programming the 64 for about
You can create complex multidimensional I have encountered an extremely nine months, and recently I got an OUT
arrays by using more numbers separated annoying and aggravating problem OF MEMORY error during a program.
by commas. For example, DIM B$(15,3) with my 64. When I'm typing a line at PRINT FRE(0) showed that there was
would create a 64-elemcnt two- the bottom of the screen and go over plenty of memory left.
dimensional array 16 strings wide (0-15) the 80-character limit (two screen I've read that this error can be
by 4 strings deep (numbered 0-3). This ar lines), I start to delete the excess charac caused by a full stack, which can come
ray could keep track of 16 students, with ters. As the cursor hits the 40th column from jumping out of FOR-NEXT loops
separate variables for first, middle, and on the previous line, the words LOAD (which I did excessively). So I POKEd
last name (plus one more entry like favor and READY appear. And BASIC zeros into the stack area, but that didn't
ite food or shoe size). Three, four, five, or crashes. I have to turn the computer off, work. How can I get my memory back?
more dimensions are also possible, al losing the program in memory. Is there William J. Moses
though you don't see them used very any solution?
POKEing zeros to the stack doesn't clear
often. David Schuster
it, it just changes all the information on
Once an array is dimensioned, it can
Nearly all 64s suffer from this bug. Read the (still) full stack to zeros. It's possible to
not be redimensioned—you'll get a
ers who haven't seen it before can make it write a machine language program that
REDIM'D ARRAY error. You have to stick
happen quite easily. Turn on your 64, clears leftover FOR-NEXT information
with the dimensions you assign at the
move the cursor down to the last line, and from the stack, but jumping out of FOR-
beginning of the program.
hold down the space bar until the cursor NEXT loops is only asking for trouble. The
Arrays are useful because, for one
passes the right edge of the screen twice. best solution is to avoid doing so.
thing, they allow you to alphabetize and
Hold down the DELete key until the BASIC programs put important
sort lists of words and numbers. They're
cursor goes back to the far right column. information about subroutines and FOR-
also quite common in database and
You'll see the word LOAD, and if there's a NEXT loops on the stack. Loops and sub
spreadsheet applications.
program in memory, it will run. But when routines may contain one line or a
the program ends, your computer will lock thousand, so the program has to keep the
The Koala Pad up. information safe until it eventually
As an owner of the KoalaPad, I would The bug does not affect the. portable reaches a NEXT or a RETURN. Jumping
Paperback Writer is a revelation. What you see on screen is what you get. When you
specify a format, you see it right away. Look at our exclusive visual on-screen text formatting
like boldface, underline and italics ... like page breaks and indents.
Plot BBtiuno! Wforo Fvsisw With Paperback Writer, you'll adore you
(ov Hut Gonin»adi>ift» 6-4
Commodore even more. On, and one more thing
...you can order Paperback Writer 64 or 128
from Crystal Computer for only $39.95.
ioi orda'S only tall: Crystal Computer Inc. For ififon.-.m i i To. Digital Solutions Int.
InMichlgo" US 17-)21-7667 P.O. Bon 345, Slolian A
Ouiiido Michigan 1-B00-245-7316 WiNowddo, Ontario
M2N SS9
out of a loop or subroutine leaves "gar 1. Sometimes the problem is simple
bage" on the stack, leading to the error magnetic interference. Move your Moving Across The Sprite Seam
you described. Datassette away from the television or I'm not able to move two sprites, in tan
If the logic of your program requires monitor. And watch where you keep your dem, through the 255 blockade. I
jumping out of a loop, don't use FOR- cassettes; don'i store them next to the TV. would like them to enter the left side of
NEXT. Instead of FOR M=l TO 20, 2. If certain tapes are unloadable, try the screen and exit to the right,
start the loop with M=l. Replace the fast forwarding and then rewinding them Sid Seiferlein
NEXT with M = M + 1: IF M<21 THEN once or twice. This removes slack from the
GOTO XXX (XXX should be the line that There are two memory locations that
tape, which can make it slip and slide
follows M=l). The FOR-NEXT loop has determine the X and Y position of each of
when loading or saving.
been replaced by IF-COTO, which will the eight sprites:
3. Use ferric oxide rather than the
not fill up the stack or lead to an error. 53248 Sprite 0 X-position
more expensive chromium tape. Ferric
53249 Sprite 0 Y-po$itio>i
tape records programs better,
53250 Sprite I X-position
Triple-VIC/64 4. The read/write head can become 53251 Sprite 1 Y-position
Your April issue contained a machine magnetized and/or dirty after heavy use. anil so on...
language program that divides a 64 into Demagnetizes, sometimes called "de 53262 Sprite 7 X-positbn
three 12K areas. I have a VIC with 16K gaussers," and head cleaning kits are 53263 Sprite 7 Y-position
expansion and would like to know if it's available at audio and electronics stores, But 16 registers, two for each sprite,
possible to write a version of Triple-64 and will solve this problem. are not enough to cover all positions on
for the VIC.
5. Tape drives can become mis the screen. Each memory location can
Neil J. Schneider aligned. If you're having trouble loading contain a number from 0 to 255. This is
Several VIC owners have requested a ver commercial tapes, try adjusting the screw enough for the possible Y (vertical) po
sion of Triple-64. Reader Richard Good next to the tape head. The newer sitions, but there are more than 256 X
man sent us a Triple-VIC program for a Datassettes (the ones where RECORD is (horizontal) locations. One more register is
VIC with 32K expansion. We modified it next to PLAY) have a small hole through needed, for the high bit of the X-position:
somewhat to make it work on either the 64 which you can insert a screwdriver to
Location 53264 (8 bits)
or a VIC with any memory expansion. align the head. xxxxxxxx
ourself in the pilot's seat of a Piper 181 Cherokee Archer for an awe-inspiring liignt over reaiisnc scene
js^Xxam New York to Los Angeles. High speed color-filled 3D graphics will give you a beautiful panoramic vli
as you practice takeoffs, 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. Flight Simulator II features Include ■ animated color 3D graphics ■ day, dusk, and night flying mode;
■ over 80 airports in four scenery areas: New York/Chicago, Los Angeles, Seattle, with additional scenery ;
areas available ■ user-variable weather, from clear blue skies to grey cloudy conditions ■ complete flight ;
Instrumentation ■ VOR, ILS, ADF, and DME radio equipped ■ navigation facilities and course plotting ■ World
War I Ace aerial battle game ■ complete Information manual and flight handbook.
\
Tlmesavlng Convenient
Using COMPUTEI's Gazette Disk saves COMPUTEI's Gazette Disk gives you
you time. Instead of spending hours access, As soon as you read about a
typing In each program from COM new and challenging program in
PUTER'S Gazette, you can load all the COMPUTEi's Gazette, you can ioad
fun and fascinating programs in just the Disk and begin using it immedi
a few minutes with the Disk. You ately—the Disk is ready when you
have more time to enjoy Budgeteer. are.
Mystery at Marple Manor. Vocab
Builder, and many other exciting
games and applications.
1Ilmin uj
1
Risk-Free
r
i YESII want to save time and money. Please enter my
subscription to COMPUTEi's Gazette Disk.
i
a Save 55% off the single
i D Save even more! 2 year
issue price. 1 year subscrip subscription, $129.95
i tion, $69.95
All DM orders must be prepaid.
i □ Payment enclosed (check or money order)
i City
State. Zip
i
(Ou'Bdo U E. and Canada, add $34.00 per yecr lor stircimg and handling-)
Ptoase oHow 4-6 weeks for delivery. 3WDQ3
L --J
A stunning example of high-resolution graphics on the Amiga. The
image of this mandrill was digitized and displayed on the computer's
640X400 graphics screen. With 4096 shades of color available, the
Amiga can accurately reproduce almost any image.
nds-On Report
Charles Brannon, Program Editor
with
The LATEST breakthrough in copy technology! Includes one FREE Masterkey Module!
Copies NEW custom G.C.R. code protection Inexpensive MODULE releases keep you up-to-date
Accesses & copies NEW no-sync data blocks! MODULES available individually or by subscription
Now includes NEW long data-block logic Works with DiskMaker TOOLKfT and FAT-TRACK Kit
Copies normal & PROTECTED data up Co track 40 Requires standard 1541 disk drive or SX-64
3 New IMPROVED copiersi Includes FAST Copier, Special version available for INDUS GT drivel
VARI-SECTOR Copier, and AUTO-LOGIC Nlbbler PRODUCT SUPPORT tel. # & future module updates
Actually copies a FULL disk in only 2.75 minutesl You've tried the rest, now get the BESTII
ONLY
hm'Mfo/7flv™wTrtwtfWftMmfcAnofwra^l>'^^
mihl|Krni.ii.ii»|fip ii«lrt All iVil''iimi/tuini*) i™ 1nu11.111.il \J%. SWIV* lt*,.m cof^'jiHiiJiti'Miu.umiily .tUttflO An. in. ATO no ..kl WU CUWJA
ifcitlflU) ijiij'I. jinpiiH\..l.tH'.fl() .MJTtmKflWlnlUS (iniRi.iV Nmn»Wi.»ili»it«'ioi>inji>jilcNoiiii>Vi"ii,i DNfcnH OMntmlon(Mini« UWOIBl
For your convenience, there's also a disk available which Includes all the
programs In the book, This SVi-lnch floppy disk saves you hours of typing
and prevents many typing errors. It's fast, Inexpensive, and ready to load
on your Commodore 64. You can order the Disk directly Irom COMPUTEI
Books for only $12.95.
To order COMPUTEI's Telecomputing on the Commodore 64 or the Disk, mall the order
torm with your payment to COMPUTEI Books, P.O, Box 5058, Greensboro, NC 27403.
For fastest service, call toll free 600-334-0868 (in NC 919-275-9809.)
Signal ur«
Nam«
Add ran
Cliy Stale . ZIP
dh allow A-a wsnki lor am.very 75900M
" <t*r Q
'lit | I>MI | rt'.KIIl- I tllK,J>] II-GUN [ »ft.<>,
Selby Bateman, Features Editor A "videogram" created by Electronic Electronic Arts' Return to Atlantis
Arts'Video Construction Set. is an undersea adventure with three-
dimensional graphics and digital sound
Question: What sort of software do
effects.
you create for a computer as powerful
and versatile as the Amiga?
Answer: Anything you want.
Among the companies develo
ping Amiga programs are such
That's the happy situation in consumer software names as Ac- The new packages are Video
which Commodore finds itself as tivision, Broderbund, and Electron Construction Set, a graphics pro
momentum builds for the long- ic Arts. Mindscape will offer Amiga gram which lets you create your
awaited Amiga computer. More versions of The Halley Project, Key own pictures and incorporate im
than 20 applications packages were board Cadets, and Deja Vu, and is ages and sounds from a library of
scheduled to be available in late producing the tutorial software to "click art" pictures and sound ef
July at the Amiga official launch. A be bundled with the machine. Oth fects to make sophisticated "video-
score of companies have been de ers include Island Graphics; Ark- grams" for a variety of consumer
veloping software with Amiga pro tronics, which has developed and business applications; Return to
totypes—some for longer than a TextCraft, an entry-level word pro Atlantis, a graphic undersea adven
year. And another 150 developers, cessor carrying the Amiga brand ture game with three-dimensional
representing approximately 80 name; Chang Labs, which is con video images and digital sound ef
companies, crowded into Amiga's verting its Rags to Riches accounting fects; Instant Music, a music cre
software development symposium series—Ledger, Receivables, and ation program which uses real
held in Monterey earlier this Pflt/oWes—from the IBM-PC format digitized sound and can emulate a
summer. to an Amiga version; Batteries In synthesizer and a variety of musical
Commodore officials point out cluded, and SubLogic Corp. (Flight instruments; Deluxe Music Con
that these companies include devel Simulator II and Jet). struction Set, an advanced version
opers and distributors of business, "We are making a major com of the EA's earlier Music Construc
education, entertainment, lan mitment to develop programs for tion Set, for even more sophisticat
guage, personal productivity, the Amiga," says Trip Hawkins, ed music creation; and a strategic
graphics, music, and utility pro president of Electronic Arts, a lead action game {untitled at press time)
grams—in short, the entire spec ing software company which has which pits players in a flying super-
trum of computer software. been creating programs on the tank against invading aliens.
With an Amiga advertising Amiga for the past ten months. "I Existing Electronic Arts' pack
budget of approximately $25 mil believe this machine, marketed and ages to be made available for the
lion for the latter half of 1985, Com supported properly, should-have a Amiga initially include Adventure
modore is pushing its marketing very significant impact on the per Construction Set, Archon, Archon 11:
efforts for the machine (and the ini sona! computer industry. We will Adept, Seven Cities of Gold, SkyFox,
tial software) toward two targets probably have more programs for Financial Cookbook, and Julius
during the first six months: small the Amiga than any other software Erving and Larry Bird Go One-on-
business and in-home users. In ear firm." One.
ly 1986, Commodore will begin to The first dozen programs an For over a year. Island Graph
go after the corporate and educa nounced by EA include several new ics of San Francisco has been devel
tion markets as software titles in packages as well as enhancements oping advanced graphics software
both areas become available in of software already existing for oth for the Amiga. Although not well
quantity. While the first software er computers—all to be introduced known to the public, Island Graph
products are expected to be weight within the last six months of 1985. ics has established itself as a lead
ed toward the consumer and small Prices will range between $35 and ing computer graphics OEM
business markets, Commodore is $50, Hawkins says. Not surprising (original equipment manufacturer).
confident that powerful business ly, EA's Amiga titles take full ad The company has designed pro
programs from major manufactur vantage of the stunning graphics grams ranging from Micro Illustra
ers will begin to appear in early and sound capabilities of the new tor and the software for the Atari
1986. machine. Touch Tablet to minicomputer
Whether you own an 8032, 8096, SuperPET, B-128, C-64, or the new
C-128, we have a professionally written, fully integrated Accounting System
designed especially for you.
eneral Ledger
'ccounts Receivable
Billing
. ■ ■
.ccounts Payable
• Job Costing
■ayroll
$179.95
Complete Price
You're in the cockpit of a dream machine— game in history. It has the most awesome,
jiia & i twajjon sw
a bad dream for the poor sap whose tail you're high-speed animation you've ever seen on your
waxing. You stick a silver bird up his exhaust and wince computer. It's played to rave reviews in every magazine.
as he blossoms into fire. And then you rain down like pes And it's yours—at your retailer—or direct from EA at (800)
tilence upon the grunts in the tanks. 227-6703 with a 14-day satisfac-
Skyfox. It's the fastest-selling EA '""■^^K y tion or money-back guarantee.
ORDERING INFORMATIONS. MACHINE AVAlLA6tUTY1V1si[>-our retailer .m all (SOO)227-67OMinCA call (SCO) 632-7979) for VISA or MasterCard orders.
Tu purchase by mill, send check or money order to Electronic Arts, PO. Box 506, Half Moon Bay. CA 94019. Add 55 for insured shipping &. handling Indicate machine
vcreon desitcd, Allow 1-4 weeb for delivery. Apple II family available now a! S39.95. C-64 available now at $34.')i- liir a rapy of our complete catalogue nnd direct order
form, jend 50* and a stamped, wlf-adda-ssed envelope to Electronic Arts, 2755 Campus Drive, San MrUeo.CA 94403.
The Summer Consumer Electronics
BEY
seen. At this writing, it's too early to 1572 disk drive, the MPS 1000 with the mouse or a joystick. Sug
tell how the public will respond to printer, and the 1670 mo gested retail price is $49.95. A 32K
the Commodore 128 and Amiga, or dem/1200. The 1572 is a dual drive ROM cartridge version for the 64 is
the impact of the new Atari ST version of the 1571 and offers up to expected to be available for
computers. 820K of data storage. The price will approximately the same price.
At the Commodore CES press be announced later. The MPS 1000, The Perfect Series—Perfect
reception, Marshall Smith, presi an Epson-like dot matrix printer, Writer, Perfect Caic, and Perfect
dent and chief executive officer, features three operating modes: Filer—also announced at the Win
was openly ruffled by the pessimis high-speed draft (100 characters ter CES, is now available. Each of
tic press reports of the past few per second), near letter quality (16 these programs can be used sepa
months concerning the future of cps), and graphics mode with a rately or share files when used to
Commodore. Despite the slowing print density of 50 to 240 dots per gether. The series, developed by
sales of Commodore 64s and the inch. The new printer also offers a Thorne/EMI, is designed to operate
steady decline of Commodore stock choice of four character sizes: 80, in the 128's 80-column mode. Each
in the past several quarters, Smith 96, 132, or 160 characters per line. program is expected to retail for
and other company executives Price is expected to be under $300. $69.95. Micro Illustrator, a graphics
stressed their optimism for the suc The 1670 Modem/1200, originally program previously available for
cess of the 128 and promised con announced at the Winter CES, is the 64, uses the 128K mode, allow
tinued support for the 64. Thomas now available. This 300/1200 baud ing more features than the original
Rattigan, the new Commodore unit uses "AT" Hayes command version. Suggested retail price is
NoTth America president, an protocol and includes a built-in £39.95. Other 128 titles planned for
nounced that 100,000 advance or speaker for monitoring dialing release are Typing Professor and A
ders for the 128 had been received (Touch Tone or rotary phones), Comprehensive Course in BASIC.
by June 1. He also noted that Com auto answer, auto dial, auto baud,
modore was expecting to sell the and auto mode selection. As with Several major third-party soft
128 "to over 15 percent of the near earlier Commodore modems, a user ware publishers have also com
ly three million plus U.S. owners of ID, password, and one-hour sub mitted support for the 128. Batteries
Commodore 64s and to hundreds scription to CompuServe are in Included is offering versions of
of thousands of first-time computer cluded with the purchase. Sug three popular 64 programs, Paper-
buyers." gested retail price is approximately Clip, HomePak, and The New
COMPUTEI's Garerte September 1985 31
Consultant. The upgraded versions hardware interface, with its own
take advantage of the 128's extra RAM, ROM, and realtime clock,
memory, processing speed, 80- connects to the 64's user port and
column display, and larger key can control various household
board. Suggested retail prices for appliances, such as TVs, stereos,
these packages are $89.95 (Paper- lamps, thermostats, wall switches,
Clip), $79.95 {The New Consultant), electric hair curlers, and coffee pots.
and $49.95 (HomePak). A 128 ver It runs on a standard 9-volt alkaline
sion of Pro-Line Software's popular battery and controls lights and
word processor has been intro appliances using existing house
duced, WordPro 128, which also wiring. After installing and
uses the new computer's memory, programming the interface, it may
speed, and 80-column display. Sug be disconnected, thus freeing your
gested retail is $99.95. 64 while the X-10 runs the program
Timeworks announced Word you've entered.
Writer 128, Data Manager 128, and The accompanying software
Swiftcaic 128. Word Writer includes features icons you can arrange to
The 1670 modem from Commodore fea
an 85,000-word spelling checker tures 300/1200 baud, built-in speaker, simulate various rooms in your
and five-function calculator. Data auto answer, autodial, auto baud, and home. You can then graphically
Manager is a general information auto mode selection. display up to nine rooms on a single
storage and retrieval system with screen and program any lights or
report-writing and label-making appliances in each of them. The
capabilities. Swiftcalc, a spread software also has on-screen instruc
sheet, includes a special feature. tions. The X-10 Powerhouse can
Through a licensing agreement store up to 128 timed events and
with Funk Software, Timeworks is will control up to 95 screen icons
including Sideways, a best-selling inside or outside your home. A pro
spreadsheet/printer utility pre grammer's guide will be available
viously available for only the Apple for those wishing to write their own
and IBM PC. Sideways prints an en software. Price for the interface,
tire spreadsheet report at one time software, and cable is $150. Sepa
on one page by rotating the spread rate lamp and appliance modules—
sheet 90 degrees as it prints out, which plug into outlets—are re
thus eliminating the need for cut quired for use with the system. X-
ting and pasting several sections to 10 has these available for $8-$30
gether. It also offers a variety of each (or less if purchased in larger
type sizes and control over line quantities).
spacing, left and top margins, and Cardco announced S'More (Su
spacing between characters. De per Memory Optimized RAM/
signed to be used with any other ROM Expansion) BASIC, a cartridge
Commodore-specific spreadsheet utility for the 64 that provides over
that can create ASCII files on disk, 60K RAM for programming and
Sideways can be purchased sepa adds 60 new commands, many of
rately for $29.95. A version for the which eliminate the need for PEEKs
64 is available also. Word Writer and POKEs. With S'More BASIC, the
128, Data Manager 128, and function keys have specific assign
Swiftcalc 128, each carry a sug
ments (f2 runs a program in memo
gested retail price of $69.95. ry, f3 reads and displays the disk
More software for the 128 from drive error channel, f5 lists a pro
Commodore and third-party gram in memory, f7 displays the
publishers will be available later disk directory, and so on). Suggest
this year, noted Goheen. The X-10 Powerhouse, a programmable ed retail price is $69.95. Cardco is
interface for the 64, allows control of also planning a fall release of the
While the 128 is off to a more household lights and appliances without
S'More BASIC Compiler. The price is
tying up the computer. The accompany
auspicious start than the $39.95.
ing icon-based software lets you simulate
Plus/4 and 16, the venerable 64 is Abacus Software introduced
the layout of your home and program
far from abandoned. Dozens of Super C, a C compiler for the 64. It
individual rooms or outside lights.
new hardware and software prod features a full-screen editor with
ucts for the 64 (and the 64 mode of horizontal and vertical scrolling. It
the 128) were introduced. allows source files up to 41K long,
An interesting product for and is compatible with most other
those who wish to use their 64 as a versions of C. Price is $79.95. Aba
home control unit is the X-10 cus was also showing its new Super
Powerhouse. This programmable Pascal System, which includes a
32 COMPUTEI's Gazetta September 1965
Get more out of your Commodore with
COMPUTE'S
COMPUTER USERS
'-
■ . k .- . -
'.•r >•?»-. :- ■-■■::
-- -.-out- 1,^-.v:-»,
. , 1I . . .
RDOS
MAKES
GREAT COFFEE!!
STARDOS accelerates every (yes, we said every) function of the 1541 disk drive.
Other fast loaders only load PRG files faster. STARDOS also speeds up SEQ, REL, USR
and DIRECT ACCESS files. Everything including FORMAT, VERIFY, SCRATCH, VALIDATE,
INITIALIZE and COPY are much faster. In addition STARDOS adds a vast array
of easy to use commands and utilities all at the touch of a key.
■ Accesses ALL types of files up to 1,000% faster! • Harness the full power of your disk drive with the
built in DOS wedge
• Saves up to 300% faster than normal (with extended
verify) • Lock/unlock files and protect/unprotect disks from
the keyboard
• DOES NOT CHANGE THE SPEED AT WHICH THE
DRIVE MOTOR SPINS ■ Powerful sector editor allows direct viewing of diskette
• Makes your 1541 MORE RELIABLE and LESS PRONE • Upgrades computer and drive to the latest Commodore
TO BREAK DOWN or OVERHEAT! specifications
■ STARDOS is fully expandable for multiple fast • Instant access to the built in mini-wordprocessor
disk drives for short notes and memos
• Easy (5 minute) plug in installation. User friendly • Built in copier copies ail file types (even relative)
manual easily and effectively
• 100% compatible with software and serial bus • Built in disk duplicator copies an entire diskettte
peripherals in less than 3 minutes
■ Adds years of life to your disks and drive in ■ Fully expanded machine language monitor, always
reduced wear on line
• Cures a number of bugs in the Commodore 64 and 1541 • Quality hardware. Full 120 day repair or replace
disk drive including : warranty
• The damaging 'Head Knock' that can mis-align • Satisfaction guaranteed or money back—no questions
your 1541 asked
• The®: Save with replace bug!! - (Oh, by the way, we lied, STARDOS makes LOUSY
COFFEE)
• The Editor lock-up bug
SOFTWARE
we will include a 21 character power-on message with
your favorite screen, border and text colors. Example:
Slsr Route 10 GazeNe. CA 96034 [916)435-9371
K |E C|O|AlMo|D|O|fl|E|- |6|¥
When ordering by mail.
Rarikqmtmrt fj/JcX Bortit;r. Red Ten!
• 16495 * 3.00snipping -Calif, residents add 6% sales tax
Write ol phone lor additional information. • 164 95 + 4.00 COD orders • VISA or Mastercard accepted
V ol CofnrnaJOfP Bu5"ie95 • Shipping out of USA S6 00 Please allow 4-6 weeks lor delivery.
stored on a CD, about the same as
3,400 disks on the 1541). Articles
can be read into an Atari 520ST's CES Perspective:
memory in a matter of seconds, and
search time for any subject is less
The
than four seconds. The CD-ROM er booth, or sharing booth space
should be available late this year or with other companies. And even
in early 1986. (For more details on those companies which had rented
End
the CD-ROM, see the August issue large booths kept their new product
of COMPUTE!.) While Atari will be offerings down to a minimum.
the first to offer such a product, The main reason for all of this
look for this technology to be avail frugality, of course, was to keep
able for the Amiga and virtually all costs down during this lean period.
of
future personal computers. But software developers have not
The long-awaited Amiga com been sitting idle, waiting for the
puter was not a popular topic with next generation of home comput
Commodore representatives at ers, the Commodore Amiga and
_ The
CES. Although the machine was Atari ST. They've continued to
said to have been ready, Commo wrestle with the untapped capabili
dore was putting full emphasis on ties of existing hardware, and pro
Tap
the 128 at the show. The Amiga vide richer software packages for
was scheduled to be introduced in the Commodore 64 in the areas that
late July. (See a full report on the consumers want:
Amiga elsewhere in this issue.)
Dance
Entertainment
For more information about the Several new adventure games were
products mentioned here, please introduced at CES. The Alpine En
contact your local dealer or write: counter ($29.95) is Random House's
Abacus Software first text/graphics adventure. As an
P. O. Box 72II undercover agent, you have 12
Grand Rapids, Mi 49150
Kathy Yakal, Feature Writer
hours to uncover a political conspir
Access Software, Inc. acy being played out in a ski resort.
925 East 900 South s the crowds began to thin To coincide with this fall's
Sail Lake City, UT 84105
the second and third days paperback release of Frederick For-
Activision, Inc. of this summer's Consum syth's The Fourth Protocol, Bantam
2350 Baysbore Frontage Rd.
er Electronics Show, you Electronic Publishing announced
Mountain Vim, CA 94043
could see the question in the eyes of an adventure game of the same
Batteries Included
the exhibitors in McCormick West, name. In Protocol, you take the role
30 Mural St.
Richmond Hill, Ontario the building that housed the home of John Preston, a high-ranking
Canada L4B 1B5 computer industry's booths. How British Intelligence Officer who
or
are we doing? must stop a plot to smuggle and
17875 Sky Park North, Suite P
The question was different this detonate a nuclear device in Eng
Irvine, CA 92714
time. No more, Who is going to sur land. The game is icon-driven; it
Cardco, Inc.
vive?, but How can those of us who uses a Macintosh-type interface for
300 S. Topeka
Wichita, KS 67202
survived best support each other until accepting commands. Suggested
things pick up again? retail price is $34.95.
htfocom. Inc.
55 Wheeler St. "I'm glad to see they're here," Software prices in general have
Cambridge, MA 02138 said one educational software pub continued to fall from the $40-$50
MicroProse lisher—of his competition. range to $30 and under. Several
120 Lakefront Dr. The sentiment voiced most entertainment publishers at the
Hum Valley, MD 21030 often at the winter show six months show introduced products for un
Pro-Line Software before had been this: It's time to der $20. BCI Software offered a line
755 The Queensway East, Unit 8 start moving from the manic pace of of trivia games for $4.99, and a
Mississauga, Ontario a new business to the more mea number of other computer games
Canada L4Y 4C5
sured strides of a young, evolving for £9.99, including Super Black Belt
Spinnaker Software Karate, Hydrax, and Mummy's Tomb.
industry.
One Kendall Square
That movement was evident at Every product in Green Valley
Cambridge MA 02139
the summer show. Many compa Publishing's Load 'n Go, a line of
Timeworks
nies chose not to exhibit, sending traditional board, adventure, and
444 Lake Cook Rd.
Deerfield, IL 60015 representatives to meet individ maze games, sells for under $10.
ually with the press and to see what And ComputerEasy has begun
X-W(USA), Inc.
185A Lcgrand Ave. new products were showing. Oth producing Commodore games for
Northvale, N] 07647 ~ ers exhibited, but chose to keep $19.95.
their costs down by having a small Epyx brought out two sequels
Other software also available! For free catalog, please return this coupon to:
Call now (or the name o( your nearest dealer Abacus Software, P.O. Box 7211,
Grand Rapids, Ml 49510
hy settle for
hen you can have Mo?
Ploaso lend me the loll cm Ing bonks I've Included $2.00 shipping and handling charges lor
each book. ($5.00 per book lor airmail outilde the U.S.)
COMPUTE! PuWications.lna©
pieces in the line promote reading Painter, Suggested retail price is compatible disk drive. It retails for
skills, and introduce children to $49.95. $219.
concepts like weather and the QRS Music Rolls, Inc. has be Simplified programming was
world around them. Each program gun selling MID! Magic, an inter offered by Search Consultants
retails for $29.95. face that connects a Commodore 64 International. Their new DOS
Gessler Educational Software, to synthesizers and musical in board for the Commodore 64 and
which specializes in foreign lan struments equipped with a stan 128 combines a numeric and
guage versions of educational pro dard MIDI (Musical Instrument macro-function keypad along with
grams, introduced French, Spanish, Digital Interface). Cost, including a a new disk operating system. RAM
and German versions of Davidson six-song demo disk, is $49.95. QRS is left untouched. The keypad con
& Associates' Word Attack!. Bataille also offers a line of Music Disks nects to the cartridge slot through
de Mots, Batalla dc Palabms, and featuring the works of artists like an interface cable. Expected price is
Wortgefecht are available for $49.95 Liberace and Gershwin. Each is $99.95.
each. Gessler has also obtained $19.95. Research In Speech Technol
exclusive rights for foreign rights Know Your Own IQ/Ktww Your ogy, Inc., announced that its Easy
translations of several Spinnaker Own Personality helps computer Speech 64 ($29.95) could be used to
programs. owners do just what the title says. make selected games "talk"—
Arrakis Technologies an
Published by Bantam, it's based on including the Infocom line.
the works of psychologists H.J. The Voice Command Module,
nounced that it would produce edu-
cational software under the Eysenck and Glenn Wilson, authors from Eng Manufacturing, Inc., al
auspices of OMNI magazine. First of books by the same names. The lows you to use spoken commands
in this Magazine Ware group is The package contains four IQ tests, each to control compatible software. The
Cosmic Cookbook, a series of pro with 40 questions, and three package includes a microphone,
grams dealing with scientific topics. personality tests with 210 questions command module, connector and
Arrakis has also reached an agree each. It retails for $34.95. Another cables, and software for $49.95.
ment with Sail magazine to produce new product in their Selfware line
tutorials. Arrakis' software devel is The Complete Scarsdale Medical ix months of tap-dancing—of
opment system, Socrates, makes it Diet, an electronic version of the waiting for new hardware an
easy for nonprogrammers who are bestselling book, priced at $39.95. nounced at Winter CES—had worn
experts in a given field to be very Scarborough Systems released on everyone. And though the at
instrumental in a program's design. a Commodore version of another mosphere may have been more
popular diet plan, The Original Bos subdued than usual, and the exhib
Henson Associates announced ton Computer Diet. Suggested retail itors and products more sparse,
that several publishers have adapt price is $49.95. there was a more upbeat—almost
ed educational products for use surprised—feeling among those
with the Muppet Learning keys, de
Third-party hardware manufac people remaining at CES on the fi
veloped with Christopher Cerf As-
turers were in attendance with nal day than had been felt for a
sociates. These include CBS
some new product announcements, while:
Software's Dr. Seuss Fix-Up the Mix-
too. The Comtel Group introduced We're still here. We've made it
Up Puzzler, Simon & Schuster's this far.
the Enhancer 2000, a Commodore-
Muppet Institute of Technology se
ries, and Brederbund's Welcome For more information about the products mentioned here, please contact
Aboard. Henson Associates and your local dealer or write:
CBS Software will also be co-pro Arrakis Technologies Eng Manufacturing Mindscape
ducing Fraggle Rock software, 1425 Dorchester W., Suite 400 4304 W. Saturn Way 3444 Dundee Rd.
based on the television series. Montreal, PQ H3G 1T7 Chandler. AZ 85224 Northbrook, IL 60062
entertaining, that is not its main Tempe, AZ 85282 New York, NY 10003 Brooklyn, NY 11201
function. Many new products in Comtel Croup Green Valley Publishing Scarborough Systems
this category were introduced at 1651 £. Edinger#209 7122 Shady Oak Rd. 25 N. Broadway
P.O. Box 15485 Eden Prairie, MN 55344 Tarrytown, NY 10591
summer CES.
Santa Ana, CA 92705
The Works!, from First Star Grotier Electronic Publishing Search Consultants International
Datasoft 95 Madison Ave. P.O. Box 401
Software, includes 13 different pro
1980S Nordhoff PI. New York, NY 10016 Haslett, Ml 48840
grams in four categories: or Chatsworth, CA 913U
Henson Associates Spinnaker Software
ganizers, tools, learning, and arts.
Electronic Arts 717 E. 69th St. 1 Kendall Square
The programs include Typing 2755 Campus Dr. New York, NY 10021 Cambridge, MA 02139
Teacher, Music Composer, Letter San Mateo, CA 94403
Writer, Stock Portfolio, and Graphics
40 COMPUTEi's GazoltO September I9B5
NEW UPDATED VERSION
Now Includes A ANOTHER MASTERPIECE
1541 FASTNIBBLER A
The Programmer MIKE J. HENRY has done it AGAIN with
Fischertechnik"
CompuServe Helps You
Robotics Automat Kit Get The Most From Any Computer.
Now CompuServe brings you:
For the Commodore 64, IBM & Apple ' Popular CB simulator ■ Round-the-clock shopping
Easily build
■ Easy new EasyPlex™ ■ Interactive games and trivia
10 different ELECTRONIC MAIL • Electronic airline ticket
intelligent
■ Regularly updated investment reservations
robotic statistics ' Over 800 olher practical and
configurations,
■ New executive newswire fascinating options
from precision
clipping service
robotic arms to To access CompuServe, you need a CompuServe Information Ser
sorting machines. vices Subscription Kit, a computer, a modem and, possibly, easy-to-use
communications software.
Simulate
industrial r YesI Send me my CompuServe Subscription Kilt
automated Wilh ii 111 kbm i 125.00 usage crrdiu a complete Usert Guide; my own ratlusivc ysei ID
liuillbtr flild preliminary password, anil an nii.-k :..i. subscriplion In wui irKinlEily nnvs-
equipment uneONUNETOWtf
Signature
For fastest service, call
Name toll free 800-334-0868.
Address
40
GOSUB S00IPRINT CS
CHRS(32); iNEXT
FOR G - 1 TO C-liGOSUB
CHRS(ia)
500:
GOT A COMPUTER?
GOT A PHONE?
PRINT CS OiRS(lB) CHRS(32);
I NEXT
50 GOSUB 500IPRINT CS CHRS(18)
CHRS(157) CHRS(148) CHR?(3
2);
60 GOTO 60
500 R = INT{8«RND(m+l:GS = "
{BLK](WHT){RED](CYnHPUR)
[GRN}£bLU}{YEL)">CS = MIDS
(GS,R,1)IRETURN
GET A DEGREE.
those same keys, to get the next eight
colors.
Also, to make the display look
better, eliminate the color of the back
ground screen. For example, if the Now, for the first time, are included in the course
screen is colored blue, eliminate blue you can take real courses, prices.
from the colors in quotation marks from live instructors, right in Degrees available through
and type a 7 instead of 8, or 15 instead your home or office, right on the Electronic University
of 16 if you use 16 colors. This helps your own personal computer. include: Associate Degrees in
because if you use the same color as You can use an Electronic Business and General Studies,
the background in your rainbow bor
Library for research, tune-in Baccalaureate Degrees in
der, those cyan blocks may look like
to interactive seminars, and Business and the Arts, several
"empty" spaces.
take advantage of a full MBA Degrees, and specialized
counseling center. Certificate Programs. There is
The key to this program is the
The Electronic University also a variety of non-credit
GOSUB in line 500. Line 500 selects
is a national educational sys courses offered over the sys
a random number from one to
eight, then defines the variable G$ tem that connects your per tem, as well as Tutoring
as a group of eight color com sonal computer to recognized Programs for children.
mands, and finally uses the MID$ colleges and universities Isn't it time to involve
function to define CS as one of located throughout the coun yourself in education once
those colors selected at random. For try. You can study nearly any again? Have some fun, become
example, if the third color is red and subject at your own pace, and part of the spirit of a national
the random number is 3, then C$ on your own schedule. university system, and better
will equal the color red. This means Finally, technology is eli yet, open up a world of new
if you print C$ it will be the same as
minating those barriers (time, opportunities for yourself and
printing CTRL-RED—in other
location, and high cost) that your entire family. Call us
words, wherever you see a GOSUB
have prevented you from today:
500 in the program, it tells the com
puter to jump down to line 500, completing your college edu
pick a color, then jump back to cation, entering a Master's 800-22LEARN or
where it left the main program and Degree Program, or just taking
keep going. The RETURN com that course you've always
800-44LEARN
in California.
mand in line 500 sends the program wanted to take.
back to its previous position. The No computer knowledge
result is that every GOSUB 500 in The Electronic University
is required to use the system 505 Budt Sttttt, San Franciscu, CA 94133
this program resets the color of the
and all communication costs 415/928-2800
characters being printed at that
point. O
Recycling Selected
DATA Statements
Gordon). LeVee rate, you'd need 50 lines to put all gave Y a value of 999. It's the POKE
50 state names into the array. that led to an error. The computer
READ and DATA give you a better doesn't know when you READ
// you've discovered a clever time-
saving technique or a brief but way to do the same thing: whether you're going to try to put
the number into memory or not
effective programming shortcut, 10 DIM SSI 50)
send it to "Hints & Tips," c/o (READ-DATA can be used for a
20 FOR X=lTO50iREADSS(X):NEXT
variety of purposes besides
COMPUTE'S GAZETTE. If we use it, 500 DATA ALABAMA,ALASKA,ARIZON
$19.95
□Ilk Logger — □ lip lay GCR — D.M.S.
Dltk Match — Fait Dl»k Eraicr
— Protect Scheme For Your Dlika
$1995
i-Aulo DM -■- • automatically dial a sal ol numbers you choose '-_ , • Makes complete notations of all Important memory
2-flavlaw Numbtr* mil review numbers Thai were answered by a computer locations accessed by the programl (SID. VIC. MOS,
3-SktVt Numbcri will save numbers where a computer answered KEHNAL, etc.]
4-mrdcnpy of Numbfln will print out list 0. nurntxjrs wherfl a compute" answered • Gives you three ways ot accessing programs:
You Now Longer
•• I OAf) Ni.Ndiirr-i will load n numbers 10 COnnnue where it lefl oil 1) Will read and Hit progiami from DISK
ntotl to b* an
2} Will read and Hit progiami (ram MEMORV
G-Contlnytj will pick up dialing wtarn i: was mtarrupied EGGHEAD to
3} Direct uaer Imput (from magazines, etc.]
read Machine
$29.95
• Can be used to locale and examine any machine Language.
langjage program's protection routines1
THIRO EOITION! NOW AVAILABLE! • Notation of ASCII text equivalents lor easy spotting of
embedded text strings'
If you're ured ol being harassed by protected loftwira and too many copy
$19.95
programs, then this is Iho book lor you' This 224 page manual covers Ihe • handy reference display of all assembly language
gambit from legalities to prelection methods 10 step-by-slep back up pro commands and their ML numerical equivalents!
cedures Now you can learn bolh how to protect and unpfoteel sottware1 • Byte splitter lor easy splitting ol decimal addresses into
The techniques covered include copying cartridges lo tape or disk, tape pro low byte-high byte formal!
tection, and disk protection. Disk protection covets error no.'sZD, 21, 22. 23,
21 ano 29 pJua Single track formatting, header modification, header awapp-
i.k) half track reading and writing, reading and writing modified bit densities,
s Bulletin Board n^
formatting illegal tracks/sectors, sync writing and moral The Third edition e«-
Of two diSH dfirOl mij Onatw i.1 ^ri.hfi.rn ■.,<.■'
plalna, tells how to detacl and how lo write them with included software
you can custom/it it oaiity rotitxt'i.
Eleven useful utilities and many protection listings' Our disk analysis programs
1-RUN MEGASOFT-BBS BREAD SYSOP MESSAGES
reveal the protection methods used on your originals A diskette wilh all soli-
I-CREATE MEGA FILES 9-WHITE OPENING MESSAGE
ware is available lot a minimum extra charge. This may nol be tha only book 3.ADD TO .V,nr, CORNER I0HEAD LOG
your should have lor Ihe C-G4, but it is certainly tne one book you should 4 NEW SYSOP S CORNER 11 .CYCLE LOG
not be winiimi; 5 HEAD MESSAGES II-READ DOWNLOAD FILE
6-SCRATCH MESSAGE 13-SCRATCH DOWNLOAD FILE
7-CYCLE MESSAGES 14-AuD TO OTHER SYSTEMS
C64 Book only $19.95 US I EC BEATE OTHER SYSTEMS
ac MegaSoft Limited
. . . WRITE 01 PHONE . . .
ST&RPOIIVT SOFTWARE
Star Route 10 Gazelle, Cfl 9503d |916] 435-2371
User Group Update
When writing to a user group for inform.! lion, please remember to enclose a
stamped, self-.id dressed envelope. COMPUTE! Publications
Please note that COMPUTE'S GAZETTE will no longer publish telephone P.O. Box 5406
numbers of user groups or bulletin board systems. Greensboro, NC 27403
Send additions, corrections, and deletions for this list to: Attiv. Commodore User Croups
voice phone, not a bulletin board system. Please call the number only between DISTRICT OF COLUMBIA
6:30-9:30 p.m. on weekdays, and from 10:00 a.m.-1:0(1 p.m. on weekends. No C-64 Commodore Club, 1947th HBG-MWR AF Rec
SVCS. Pentagon, Washington, dc 20330
modems, please.
FLORIDA
The Albany-Corvallis (OR) C64 Users Group has changed its name to the Ciearwater Commodore Club, lanice Sleffens,
Albany-Corvallis Users Group. The address remains the same: c/o Nellie Srrat- pres., 1250 Cleveland, Cleanvatn. FL 33516
ton, 800 S. 19 St., Philomath, OR 97370. Commodore Users Group ofSW Florida, PO. Box
6399, Ft. Myers, FI. 33911
The Newport Computer Club, in Newport, RI, has a new zip code.
St. Lucie Users Group (SLUG), atm: Fred Brock.
Correspondence should be sent to: Newport Computer Club, P.O. Box 1439, P.O. Bo\ I29H, 1-t. I'ieice, IT. 3,1454
Newport, RI 02840-0997. Suncoasl Hytcs Commodore Computer Club,
The bulletin board number published recently for the World Wide User George R. Sloll, [ires., 3413 Si\ir*dale Trail, New
Flirt Richly, FL 33552
Group in Tacoma, WA, was incorrect. The correct number for the 24-hour, seven 64 Society, 4071 Edgtwatsr Dr., Orlando, FL 32804
days a week board is (206) 535-0574. Commodore Stuff, Wade A, Guggino, 2260 17th Si.,
Vero Beadi, FL 32960
User Croup Support From Commodore GEORGIA
User groups interested in joining "Commodore World," Commodore's new sup Commodore Craze International, 1284 Lynn Dr,
port network for user groups, should contact the company for further details: Waycrofis, GA 31301
Commodore Business Machines, Inc., 1200 Wilson Dr., West Chester, PA 19380,
Attn: User Group Coordinator.
Commodore 64
^U W e're giving away Videotex software advice to math. Shop at home Get the stock
T T worth as much as $99.95 FREE! quotes and the sports scores. Do your hanking in
If you're a Commodore 64 owner, it will let you bed. lest your knowledge of trivia and play elec
access your local information services such as tronic games. Bid in electronic auctions. Check
VIEWTRON, GATEWAY, GRASSROOTS, restaurant prices, travel bargains and movie
KEYCOM, COMPUSERVE or DOW JONES reviews. And much, much more
NEWS RETRIEVAL SERVICE* It's a whole new way of getting more out of your
Just think what you'll be able to do from your valuable time, and it starts out FREE. Tb receive
own Commodore 64! Get everything from expert your FREE software, mail this coupon today.
KAMI'.
ADDRESS
AFT.
state;
CITY province
ZIP/ PHONE
(■OKI M.I ODE Nl.'MHKKl 1
ADDISON
INFORMATION SYSTEMS
D
BACKUP
PROTECTED SOFTWARE
The screen display is a realistic with COPY II 64
view from the cockpit. Pitch lines indi
cate your rate of climb or dive, as well
Rom the learn who first brought you COPY II PLUS (Apple), COPY II PC
as your degree of turn. Fine-lined
grids—"reticles"-—show the location of [IBM) and COPY II MAC (Macintosh) comes a revolutionary new copy
enemy aircraft and also allow you to set program for the Commodore 64, COPY II 64!
up bombing runs. Other indicators on
the many-featured display include alti
• Copies most* protected software — automatically
meters, heading indicators, a missile- • Copies even protected disks in just '.\V> minutes.
designation box, and a mach Indicator,
to name just a few. As in any detailed • Maximum of four disk swaps on a single drive.
flight simulator, flying the aircraft takes • Copies half and full tracks.
practice, but in F-15 Strike Eagle flight is
not frustratingly complex. More impor • Requires just one 1:341 drive on the Commodore 64.
tantly, it seems to feel just right.
Call M-F 8-5:30 (W. Coast time) with your 2S t& ■_ 503/244-5782.
The rest of the controls take more
Or send a check (add S3 s/h, S8 overseas) lo
time to master, but this is as it should be
since these are the heart of the program.
it for you. If you spell it correctly, he re player with a single objective that is, at —James Trunzo
sponds with "Fantastic," "Keep up the first, deceptively simple. You must Sierra O>i-Line, Inc.
good work," or one of several other maneuver Thor, transported by his uni- Coarsegoltt, CA 93614
phrases, and his voice even sounds wheeled vehicle, up three mullileveled $34,95 Idisk) tm
"Why all the enthusiasm? Because COMAL is a composite of the best features of the most popular
programming languages... the familiarity of BASIC commands with the structural programming
environment of Pascal and the turtle graphics of Logo." -- nark Brown, into 64
"COPIAL was just What I was looking for." - Colin Thompson. Run
"Everybody Who gets it, likes It! (I'll guarantee it.)" -- ten Lindsay, President, COMAL Users Group
Charles Brannon The goal of Litter Patrol is quite game doesn't encourage you to try.
Program Editor simple: Pick up all the bits of litter
and fill all the trash cans. Your The Time Eaters
By now, many of you have seen or heavy-duty (but sluggish} truck can Litter Patrol is fun to play, but a ca
even own a Commodore 128 (for a move in eight directions almost veat is in order. I didn't intend to
hands-on review, see "Inside the anywhere on the screen. The cars, program the game for its own sake,
128," in the June 1985 issue). This zooming back and forth on the but for its educational value. Keep
successor to the 64 incorporates a highway, are constantly throwing ing in mind that the game is in
64 mode that runs all 64 software, out bits of tiashj which appear as
BASIC, you may find it too slow.
and can use virtually all 64 hard bright dots (periods) on the road.
The main problem is the automatic
ware and peripherals, making it Move the claw of your truck over sprite movement. The cars move by
easy to upgrade to the 128, and giv the trash bit, and press the fire but themselves once set up, but they
ing first-time Commodore owners ton. Your truck picks up the litter. are time eaters, stealing time during
instant access to the large 64 soft Now move the claw over any the interrupts from the mainline
ware library. trash can (which looks like a hollow BASIC program. More about this
To use the expanded keyboard, circle), and press the button. The below.
full 128K memory, and RGB color trash drops in the can, and the lid We'll take a walk through the
80 columns, you need to run in the closes. Each trash can can only hold program listing. The program is too
true 128 mode. The 128 mode is a one load of trash, so it turns solid to big for a line-by-line analysis, so
real upgrade of the 64, but has a fa show you not to use it again. After we'll tackle it in chunks. You might
miliar feel to it. The same VIC chip you've filled all 12 trash cans, you find the program listing and put
is used to display 40 columns, bit proceed to the next level. The cars your thumb there for cross-
map graphics, and sprites, so the go faster, and you move more slow reference purposes.
screen even looks the same, except ly—quite a handicap. Lines 100-190: The GRAPHIC
for Commodore's new power-on The game would be easy (and 0,1 command switches to the 40-
color choice—light green text on a pointless) if not for the zooming column text screen and clears the
dark gray screen with a light green cars. Dodging them provides the screen. The COLOR 0,12 statement
border. You need an RGB monitor entire challenge for the game. If sets the background color to dark
(or a monochrome monitor with an you get hit, you lose your trash gray (even though this is the default
adapter cable) to use the full-color bit—if you're carrying one—and color), and COLOR 4,6 sets the bor
80 column mode, which is entirely one truck. The game ends when der color to green. Note that the
independent of the 40-column you lose all five trucks. Just to make colors are numbered 1-16, not 0-15
screen supported by the VIC chip. things more interesting, you have a as in POKEs. We GOSUB 760 to fill
The new BASIC 7.0 is one of time limit, represented by a blue sprite shape strings from the DATA
the most feature-packed BA5ICs bar at the top of the screen. The bar statements.
I've seen. To learn about the drops by one segment every two The roadways will be the back
BASIC, I wrote a simple Frogger- seconds, so you have about 80 sec ground color showing through oth
type game, taking advantage of the onds to complete each level. The er areas printed with reverse
automatic sprite-movement feature game ends instantly when you run spaces. This lets us put yellow and
supported by BASIC. It seemed that out of time. white lines on the road. We'll print
if the game were designed around There are some safe zones for green reverse spaces to represent
the special BASIC features, I could your truck where you can't be hit, grass, delineating the roadways. To
get machine-language animation medians between each roadway, print the median lines and grass,
and playability. I was half right. and at the top and bottom of the we create 40 character strings with
The game, "Litter Patrol," will run screen. There's a secret safety zone, in the FOR-NEXT loop. It may be
only in BASIC 7.0 in the 128 mode, too, but I'll leave its discovery up to easier for the programmer to just
but could be converted to run on you. You must move your truck define the literal strings as 40 char
the 64 with the Super Expander. halfway onto the roadway to fill a acters within quotes {like
trash can, though. This makes a SP$ = "{40 SPACES}"), but it's
Playing Litter Patrol tough game even tougher. The easier to type in the program if we
Litter Patrol uses a joystick plugged hardest part of writing a game is in use a FOR-NEXT loop. 1 didn't
into port 2. A joystick plugged into making it challenging but not too want any confusion over listing
port 1 still interferes with the key frustrating. Almost any game gets conventions for the first 128 pro
board in 128 mode. easier with practice, but an unfair gram published in the GAZETTE. For
60 COMPUTEfs Gazotla September 19B5
FOR BETTER FOR WORSE
For Better: Many of our customers have paid up to twice as much and owned as many as 3 other
interfaces before purchasing a PPl and becoming satisfied. So, if you plan to buy a
Commodore and a printer, or if you already own a system, save yourself some time,
trouble and money. Buy a PPl and get the features (that others charge up to twice as
much for) at the lowest price nationwide: $49.95.
$49.95
PARALLEL PRINTER INTERFACE
FOR USE WITH THE COMMODORE Vic 20, C64 and 128PC
IMPORTANT FEATURES that may not be found on other interfaces.
High Speed Graphics Buffer. 15 page easy to follow Users Manual.
Works properly with all Commodore compatible FCC Approved.
software. Expanded Alpha, Numeric, and Graphic Characters.
Transparent Mode Lock Controls. Expanded Reverse Alpha, Numeric, and Graphic
Total Emulation of Commodore's Graphic, Character, Characters.
and Command Set. Condensed Reverse Alpha Numeric Characters.
True Commodore Graphics. Commodore Print Function Lock Controls.
Combining of Emulation and Transparent Modes. Combining of Expanded and Condensed Print features.
No confusing DIP switches. Fully Shielded from end to end.
PRINTERS
Smilh
Smith Corona Fas)
Fast Texi
Tfexl Royn! 610****
610**" MPI
MPIXX Printer" . Citizen Brother CE-58*"
80
J10 Ritem.in Panasonic:
Panaso KXP BMC Brother DM-40
Smith Corona DP series Radix Inforunner
Inforur M.innesmnnn Tally Brother DX-5
Smilh Corona 200* Star Gemini X & SG Delta
Star Dt MT160 Fujitsu
Smilh
Smith Corona 300" series Blue Chip
C Olympra Compaci NP Epson
Smith Corona 400* MPI SX Printer" Brother CE-50"*
Royal GOO"*"
The PPf works with all Centronics compatible parallel printers Ihat utilize standard ASCII characters and command se!5 in the Iransparen! mode.
• Must have the Smith Corona Messenger Module #17376 interface.
" Special adapter cable is required.
"■ Must hflvt' the Brother IF-50 interface.
"" Musi have the Royal I(:-6(K) interface.
Distributor and dealer programs available. Call 316-264-6118 for immediate information.
dsi T,M.
10X COM-STAR
HIGH SPEED
Tractor Friction Printer
13O-15O CPS
Only
is-,.
List $499
PARALLEL INTERFACES
For VIC-20 and COM-64 — $59.00. Apple — $59.00. Atari $59.00.
Sale
One Megabyte A _ A Sale
$
179 Disk Drive $i79
Store Spreadsheets, Databases, Wordprocessing Data, Etc.
• Commodore 64 • PET • 8032 • B128
The one megabyte disk keeps you from hunting through hundreds of disks for your programs: plus running out of
room on your drive for Data base Data, Word processing Text, Spreadsheet Data, Business program Dato, etc.
With the One Megabyte Disk Drive you can store over 5'/j times the capacity of the 1541. You can store your
own progroms and any backupable commercial programs plus data from your business programs". Perfect as o
second Drive! ! ! ! Enter the world of professional computers todoy. C-64 requires IEEE interface.
List S899.OO. SaleS179.00. LIMITED QUANTITIES! -Require* 2 drive soliware.
BUSINESS PRINTER
The 8023 is o highly advoneed 136-250 column 1 5'; " professional tractor/friction printer with full Bit image graphics and
downloadable characters for custom reports ond progrom listings. The paper feed includes o multiple pin tractor for
smooth error free operation. With the ribbon rated at 1 million characters (no mess cartridge] and the print head at 100
million characters this printer will last a lifetime. Full formatting with near letter quality makes lining up decimol
points, automatic "S" signs and tabbing look fantaslic and easy to use. With out o doubt THIS IS THE BEST PRINTER
VALUE IN THE U.S.A. List $899.00 Sale S199.00. LIMITED QUANTITIES!
SPECIFICATIONS
PRINTING METHOD COLUMN CAPACITY RIBBON LIFE GRAPHICS
Serial Impact Dot Motrix 136-250 ! Million Characters Bit Image
IT'S/I HIT!
left eight (-8). Remember that
we're moving eight spaces at a
time. We add this displacement to
the current X and Y positions of the
sprite, then relocate the sprite to the for everyone in your family,
new position. We subtract the dis
placement if that would put the
No disk drive necessary?
sprite off the screen.
Lines 480-570: This is the fire
Menu driven? E ALL-IN-1
Flexible, powerful, practical? 0
button routine, called by line 430 if C-64
Affordable? 0
it's pressed. It first figures out the
position of the character under DECISION MAKING COMMUNICATIONS
neath the truck claw, then PEEKs • Choosing a family car? • 300/1200 BAUD
screen memory to see what the • Considering vacation alternatives? • Access information systems
character is. If it's a period (a trash • Buitd decision models • Complete parameter setting
then POKE a space into the position • Menu driven • Fullscreen display
TRACKER
pressed. Press1 the fire button again
to lay new track if necessary. Also
note that Tracker can "wrap
around" the screen (right edge to
left edge and vice versa) and lay
track. You might need to use this
feature occasionally, such as when
Ned W. Schultz a Meanie leaves a Deadly X in a
strategic position.
You begin each game with
Can you help Purple Herbie get home? This three Trackers (lives). If time runs
game for the Commodore 64, written by a child out before Herbie is home, or if
In this strategy game, you're copy to disk or tape, then run the i
■■■:
Tracker the robot, and your mission program. First, you're presented
is to lay track across the wilderness with an option (Y/N) for game
so Purple Herbie can get home. If instructions. These should be read
you lay track cleverly, Herbie can the first time you play.
collect lots of valuable objects on Next, select a skill level from
his way home. But that's only part 1 to 5. Level 1 offers the fewest
of the strategy. You must watch out Meanies and Deadly X's (and no Purple Herbie (allows the track you've
for the Meanies and the Deadly X's penalty points). The prizes increase placed.
they leave behind. They'll destroy in value across the five levels, as do
your track. And you have to work the number of points for getting
quickly—your time is limited and Purple Herbie home. A higher skill
the clock is always moving. Tracker runs into a Deadly X, you
level, then, is important if you're
With five skill levels, lose one life. The game ends when
playing competitively for high
"Tracker" is designed so that it can score. The level you select remains you've lost all three Trackers.
be played by young children as well the same through each round of the
as adults. It requires creative solu game. A Competitive Challenge
tions, risk-taking, and racing Move Tracker with a joystick If you're playing competitively for
against time. On the lowest level, it (port 2), and press the fire button to highest points, you can risk going
has educational value and provides lay track as you move. Wind a trail for all the points and a special bo
a challenge. On the higher levels, of track through as many objects as nus. Be sure to capture at least half
the game can be very difficult for you wish and direct Tracker the available points or you'll re
even the most seasoned game "home" (the pink square at the ceive a penalty (except in level 1).
player. lower right). Only when Tracker is It's a good idea to get Tracker home
Tracker has no "pattern"— home will Herbie start out to follow as fast as possible and let Herbie
each game is designed by the the track and collect points. Be care start moving—the longer you wait,
player. And because getting Herbie ful not to linger—the Meanies are the more Meanies and Deadly X's
home even without collecting any constantly on the move, and the appear. You can modify your track
prizes provides a sense of "win timer (at the top of the screen) ticks when Herbie is closer to home. The
ning," children as young as three or away without pause. Herbie must best strategy is to collect as many
four can have fun with Tracker. be home before it reaches 0. prizes as you can while still leaving
Adults will find a different chal If track is laid in a disorderly enough time for Herbie to make it
lenge: collecting the maximum fashion (by creating branches home.
number of points while getting rather than a single, continuous No one has ever captured the
Herbie home. route, for example), you may con perfect round bonus above level 2,
fuse Herbie, so you should design so this is a goal to aim for. The
Choosing The Right Skill Level your track efficiently, going record at level 5 is 16,900 points.
After typing in the program, save a through as many objects as possible See program listing on yage 91. O
COMPUTED Gttzetle September 1985 69
gram before you run it.
Two short loaders (Programs 3
Friendly
and 4) for the VIC are included to
allow an automatic check for suf
ficient memory, automatic adjust
ment for any memory expander,
and automatic loading of the main
program. Program 3 is for disk
Alien
users, Program 4 for tape users. If
you use tape, first type in and save
Program 4, then type in and save
Program 2 immediately following
the loader. With tape you can name
either program anything you wish
Cal Overhulser since the tape loader loads the next
program regardless of the name.
VIC disk users may type in and
candy while avoiding the cola and, save Program 2 and Program 3 in
A stranded visitor from
of course, the flu bugs. Drinking the any sequence. However, the main
another galaxy needs to cola causes an allergic reaction,
get home and doesn't making the alien's movements a bit
unpredictable (you may have to
have much time. Can drink some of the cola at the higher
you help? A fun game skill levels to get to the candy). The
for children of all ages. flu bugs are more serious threats—
they're fatal. Avoid them at all
For the Commodore 64 costs. Be particularly careful around
and VIC-20 (at least 3K the moving (yellow) bugs. They
expansion). A joystick often hover near pieces of candy.
After you eat all the candy, a
is required. phone appears at the upper left,
and the visitor reappears at the bot
tom right. You must guide him to Avoid the flu bugs while you help the
the phone so he can call "home" for friendly alien collect candy pieces (64
Designed especially for children,
a spaceship, again avoiding the cola version).
"Friendly Alien" is a nonviolent
and the flu bugs. After hearing the
game which requires strategy and a
phone ring three times, the visitor program (2) must have the same
little dexterity with a joystick. The
again appears at the bottom right name as found in line 60009 of the
object is simple: You must guide a
and the spaceship arrives. A ramp loader program. (I've used
stranded visitor to a phone from
is lowered for the friendly alien to "VICFRIENDLY"—with no spaces.
which he can call home, then lead
board. Move him to the ramp with You can change this if you like.)
him to the ship when it lands.
out allowing him to drink a cola or
That's easy enough, but what
catch the flu, and he's home safe. Notes To Programmers
presents a challenge is the visitor's
You must work quickly—es Descriptive REM statements are in
sweet tooth and his susceptibility to
pecially at the higher levels, where cluded before each major program
human viruses.
there is more candy (and more ob segment to aid those interested in
stacles, too). In the Commodore 64 understanding how the program is
Candy, Cola, And The Two- version, you have two minutes to written. None of these REMs are
Minute Flu get the visitor to the spaceship
the destinations of GOTOs or
When you first run the program, ramp; in the VIC version, one
GOSUBs, so they can safely be
you're given game instructions and minute and 30 seconds. Be sure to
removed.
asked to choose one of five skill lev keep an eye on the time.
Joystick movement in the VIC
els. First-time players should start version is checked with a machine
with level I (the easiest) and move Typing It In language routine contained in
up as each level is mastered. After If you have a Commodore 64, type DATA statements. The routine is
the screen is drawn, the game be in Program 1 and save a copy POKEd into the cassette buffer in
gins immediately. Using a joystick before typing RUN. The VIC ver line 94. The SY5 in line 1000 calls
(port 2 on the 64), move the visitor sion is approximately 5.5K, so the routine and puts the joystick
around the screen. You'll see three you'll need at least a 3K expander to direction in address 830. The 64
kinds of randomly placed objects: type in the program and run it. version uses a more conventional
candy (the small dots), cola (red Don't add any spaces as they could BASIC joystick reader in line 1000.
cans), and flu bugs {blue and yellow cause some lines to go beyond the In both versions, the variable AA is
stars). allowable 88-character limit on the made equal to the joystick direction
The object is to eat all the VIC. Again, be sure to save the pro in line 1000. The ON-GOSUB in
70 COMPUTEts Gazette September 1985
line 1050 checks this variable and pointer. Line 40 moves the charac
ters into the protected area. In the
SYMBOL MASTER™
adjusts the alien's location by
choosing one of the subroutines in 64 version, lines 36 and 48 are also MULTI-PASS SYMBOLIC
lines 11-18. needed to switch in and out the DISASSEMBLER
In both versions, custom
character ROMs. Beginning in line FOR THE COMMODORE 64*
character information is found in 50, the custom character infor disassembles any 650216510
the DATA statements. Any typing mation replaces some of the normal machine code program into
error here could be critical and diffi characters. The numeric and most beautiful source
cult to find. I've included a DATA of the alphabetic characters are not • I ciin lo program ]iVc the e<pcn»'
• AdJpi rusting program* ro jour necJ>!
statement checksum checker in line replaced, thus allowing readable er • Automatic LABEL generation.
• Output fame code fifes to Ji»t fully compatible
70 (64 version) and line 95 (VIC ror printouts should you have cus with vna MAE,' PAI.,* CUM' ur Develop-64" a^-
version). The checksum is cal tom characters enabled while senihlcr. reiiUy far re-assembly niul editing!
• Output* formatted listing to wtten ami printer.
culated after each READ in the debugging your program. The • AulMDUTCllly L»cs NAMKS o( KcnuL jump luMe
routine* und all Lipr-rnlinc *y*[cm v-irmMc
switch to the new character set is in • Centime Ii%t (if equald fiH CMrJiul jdJie"cv
preceding lines. This will greatly re ■ (jcnei^lc* c<impltfe n't*— referenceJ Ijmbd table
duce the chance of typing errors in line 515. • RaD4|D]»4 innrucuon* hidden under UIT
bmiiiLSua
The time limit can be changed
the DATA statements. • IIX/v marfiinccodt forspetd
When there is more than one if you want the game to be even (Symbol Master™ i* not copy prtXcCled >
QKDHR NOW] A.silahle on (fid: onl> Introductor>
moving flu bug (skill levels 2-5), more challenging. (The best time price HV 95 poslpsiJ USA.
not only is their direction random I've managed on skill level 5 is 1 mMAh u <i tr&leniark vf Ewifit It'iuif.
I'Af.ii titnitltr>wrk"fPm-J.iti
(line 1510), but also selected ran minute, 15 seconds on the VIC and Ci64 t Uk
fi "J Ci't't'
domly is which flu bug moves (line 1 minute, 45 seconds on the 64.) To j- m is a inu
1500). This adds suspense to the change the time limit, change the
game and, more importantly, keeps value of TU$ in line 830. For ex
it from running too slowly at the ample, to change it to 1 minute, 15
higher skill levels. Notice that the seconds, change the value of TU$
movement subroutines in lines to 000114 in line 830. The value
11-18 are also used to move the se should be one second less than the
limit you want. To keep the game UNLEASH THE POWER OF
lected flu bug by the ON-GOSUB
in line 1515. instructions correct, you'll also YOUR COMMODORE 64
The game screen has a solid want to change line 169 in the VIC WITH THE ULTIMATE
frame (border). This makes version and line 170 in the 64 ver
sion to your new time limit.
INTERFACE
ntii. ligrils&
If you'd rather not type in the wcuni) \\ sie m
using lengthy position checking rimtirtc tnlry period me shown, • TARLEi arc fully
Wfted out ami derived. • Cetopiti^f commflOKd, no
calculations. £\ip\ vrinUMVer, You will see iind undcrMand ihc puc-
COMPUTERS GAZETTE pmc ti everj rciuimc jnJ pvtry line of mJcl ■ Cum-
p(eie Ihtinj of Hfflitn La BWml label rdcrcnccs. »
TOLL FREE
Invalu^hle fully enr^-referenced symrnJ mhle
Fred D'lgnazio dress-up with powerful ideas and find her way through a mazelike
Associate Editor problem-solving styles. We should castle (in Memory Castle). She can
put them on, try them out, and see practice methods of hypothesis
Since I was a child 1 have been fas
how they "fit." This" playful ap generation and testing while she
cinated with learning. Learning, to
proach can turn problem-solving plays mad scientist and builds
me, has never meant the mindless from a chore into a game. And it monsters (in The Incredible
accumulation of facts. Instead, it can give us the momentum and Laboratory).
has meant the careful acquisition of self-confidence we'll need when we
thinking and communication come up against the many nasty,
skills—-much in the way a back thorny problems that life throws
packer shops for durable light
si
our way.
weight supplies that fit him just
right, and that he can carry with
him and use when he is on his own
in the wilderness.
The Computer Sandbox
The computer is like a sandbox, a H Jfli LtX
IC
IM / ROCKS
■■-"■
playful environment where we can
The microcomputer offers us a
confront all sorts of problems and
chance to become active learners.
try on all sorts of problem-solving
As Bill Higginson of MIT and
styles and never get hurt. It's all
Queens College has said, we can
make-believe, so it's safe to go any
use microcomputers to build a cur
where and say and do the most out Building monsters in The Incredible
riculum around us. Instead of fol
rageous things. We can use the Laboratory.
lowing a top-down curriculum of
computer to learn cause-and-effect
learning that has been mandated by
and responsibility for our decisions, In my May column, I wrote
society for all learners, we can start
but we can also experience the free that one of real-life software's nec
from the bottom and build our own
dom to experiment and be creative. essary ingredients is a hefty man
curriculum, based on our own
There's lots of good "sandbox" ual. The manual doesn't describe
unique gifts, genius, needs, and de
software for the Commodore 64. how to use the software, since real-
sires. What do we have a special
Some of the best comes from Sun life software should be easy to use
knack for? Whatever it is, it should
burst Communications. Sunburst's and self-explanatory. Rather it
be in our curriculum. What are our
rich assortment of over three dozen should be an introduction to the
obsessions, our passions in life?
Commodore 64 programs (includ skills and knowledge that the soft
These too should be in our cur
ing Memory Castle, The Incredible ware is teaching and a resource
riculum.
Laboratory, The Pond, The Factory, book full of activities. All of the
The King's Rule, and Teddy's Play Sunburst programs come with this
Playing Dress-Up With ground) create environments in kind of manual.
Powerful Ideas which children of all ages can learn Next month we'll look at a
Almost everything we encounter in powerful problem-solving styles by checklist to help evaluate computer
life can be seen as a problem. But making important decisions in programs and activities and see if
we don't have to see problems as make-believe worlds. they're up to sandbox standards.
pranksters and villains waiting to Lou Roberts, of EPIE (the We'll also see how to turn your
ambush us, trip us up, and spoil our Educational Products Information computer into a computer sandbox
fun. Instead we can adopt a playful Exchange) has said that the using software you already own.
approach to solving problems, and computer's power comes from let (For more information on Sun-
microcomputers can help us de ting you learn powerful ideas, not burst software, write: Sunburst
velop this approach. through abstract theory, formulas, Communications, 39 Washington
There is no single failsafe or descriptions, but through Avenue, Plcasantvillc, NY 10570. Or
problem-solving style. Instead experiencing the ideas in a make- call 300-431-1934 or 914-769-5030
there are many styles, and it's help believe setting. For example, a child for a free catalog. You might also ask
ful to experiment with as many as can learn advanced strategies of about their free videotape (cither Beta
possible. I liken this experimenta pattern recognition while she navi or VHS format) on problem solving:
tion to playing "dress up." Just as gates a frog through an array of lily- "Bears, Monsters, and Frogs." It's a
young children love to dress up in pads (in The Pond). She can master good introduction to teaching prob
all sorts of colorful, oversized, and techniques to strengthen her se lem solving and to the educational
outlandish clothes, we should play quential memory while she tries to philosophy of Sunburst.) <B
72 COMPUTED Gazella September 1985
Weather Prophet
George W. Miller, Assistant Technical Editor
screen and border colors for your Weather Prophet uses relative files,
ESTIMATED WIND SPEED
computer. If you're using a 64, de and the syntax must be exact.
Wind Speed Observed Effect lete the REM in line 20 when you're
(mph) ready to save Weather Prophet. For Putting Weather Prophet To
0-1 i .ill:-., smoke rises the Plus/4, delete the REM in line Work
vertically 40. All other program lines are the
1-3 direction seen in smoke, Load and run Weather Prophet. Be
same for both computers.
but not in a weather sure to leave the disk which con
vane You'll have to customize tains Weather Prophet and your
4-7 leaves rustle Weather Prophet to display the lo
8-2 leaves and small Iwigs
data files in the disk drive at all
move
cal normal high and low tem times. The program checks the disk
13-18 small branches move peratures, and rainfall and snowfall for information frequently as it
19-24 small trees sway amounts for your area. Weather runs.
25-31 large branches move Prophet currently holds the normal You first see the main menu. If
32-38 trees sway, walking into
conditions for Greensboro, North you have a printer connected and
the wind is difficult
39-46 Iwigs break off trees, Carolina. would like a printout of any infor
cars veer on road This weather information is mation from Weather Prophet, en
47-54 roof slates may blow available from several sources. ter 0 to enable output to the printer.
away
Many almanacs list highs, lows, The screen will clear for a second,
55-63 trees are uprooted
and precipitation. You could also then return, but will now indicate
64-72 widespread damage
apparent check with your local newspaper or that the printer is on. Be sure your
73 and up hurricane winds television station. The best source printer is turned on before you use
for climatological data is the this option. You can turn off the
National Oceanic and Atmospheric printer by entering 0 again. The dis
Administration: play will indicate the printer is off.
You'll need the daily high and
low temperatures, relative humid The more you use the program
NOAA
ity, and the amount of precipitation and accumulate information, the
National Environmental Satellite,
as well. This can be obtained from Data, and Information Service more intelligent Weather Prophet
newspapers, the news on tele National Climatic Data Center becomes. Try to collect and enter
vision, or from NOAA (National Federal Building data at the same time each day.
Oceanic and Atmospheric Admin Asheville, NC 28801 This will help the program main
istration) Radio broadcasts. In most tain some degree of consistency as
areas this public service band radio Request a copy of "Local it evaluates the data.
station broadcasts a continuous Climatological Data, Annual Sum First, tell the program about
weather forecast from the National mary with Comparative Data" for the day's weather. Press 1 to begin
Weather Service, and, usually be your area. entering the data. You'll be
tween 7:00 and 9:00 a.m. and again When you have the infor prompted for the date, in month,
between 6:00 and 9:00 p.m., broad mation, change the DATA state day, and year format. Separate each
casts a weather summary for the ments in lines 3400 and 3410 to the entry with a comma. (For example,
preceding day which includes all values for the monthly high tem July 4, 1985 would be 7,4,85.)
the information you'll need. peratures in your area. Lines 3430
Of course, it would be more and 3440 should be changed to the Have the information you
fun to collect the information your average monthly low temperatures. gathered on hand. Answer the
self and make your data truly Finally, lines 3460 and 3470 will prompts as they appear. If you mis
unique to your specific location. contain average monthly precipita type an entry, press RETURN until
Rain gauges may be purchased at tion, and line 3490 will be average you reach the end of the data entry
many stores, or you can make your monthly snowfall. routine. The information you typed
own with a coffee can and a ruler. The values for each category is displayed on the screen or
Your barometer may have a gauge begin with January for the first printer, and you'll be asked if it's
for relative humidity built into it, al- value and are entered in order correct. Answer no if you've made a
74 COMPUTEVs Gazelle September 1985
mistake and you'll return to the the record. This is handy when
C-64 SPEECH
beginning of the routine, with no you're updating a file with several
days' data after being away for a SYNTHESIZER/
harm done. Data must then be
retyped. long weekend and can't remember DIGITAL RECORDER
Describe the cloud cover as a whether you entered data on Friday
evening. Just search for the last Features:
number between 0 and 100 percent,
record number, and see what that • Excellent suund quality! Sounds like lapel
which represents the amount of the
sky obscured by clouds. On a to entry holds. ■ Full speech synthesizer wiih unlimited
Enter F to search by field, and vocabulary.
tally overcast day, for example, the
you can choose to search for a spe • Record and speak in anyone's voice!
cloud cover would be 100 percent.
cific date, generate a monthly re • Includes CU-DELTAMOD RECORDER UNIT.
The comment line is for your HEADSET MIKE, and all software on disk
port, or return to the main menu.
notes about the weather (fair, partly (or lape|
To search for a specific date, enter
cloudy, rain, and so on). Any com • Includes sollware to be used with optional
the date (in month, day, year for light pen.
ments are OK, but be sure not to use
mat), and the program will search • Light pen available lor $29.95
commas.
for the record for that date. • Even records music onlo disk!! to be
When you've finished, the
Generating a monthly report is played back by your program.
information you typed is displayed
where Weather Prophet can really • Comes with demo programs including a
on the screen, along with the nor talking clock.
show off. It takes several minutes to
mal high and low temperatures for • Plugs into user port. Connector on back
sort through the data, primarily be
the month, rainfall and snowfall allows tor olher perlphirals to remain
cause of the slow speed of the 1541 connected.
amounts, and heating or cooling
disk drive. The program lists the ex
degree days. A cumulative total is • Can be played back willi or without
treme conditions for the month you recorder connected.
also displayed.
selected: highest temperature, low • Make |sell?| your own talking programs!!
Next, the data is stored on the est temperature, days with rain, Send S99.00 lor delivery or send S4.00
disk and Weather Prophet searches and so on. (refundable on purchase) lor demo
for similar conditions in the file and diskette including tree talking alarm
If you'd like to check how
generates a short term forecast. It clock and others"
many degree days have accu
only attempts to forecast for the pe OHOtH NOW FROM:
mulated since you've been running
riod during which it has a reason SEYMDR-RADIX
the program, enter 4 from the main
ably reliable forecast. This may P.O. BOX 166055 IRVING. TX 75016
menu for the Degree Day Register.
cover between 12 and 72 hours.
The value of heating and cooling
Press any key to continue be degree days will be displayed,
yond the forecast. If any data simi along with options to clear each
lar to previous weather data is
found, it is displayed, and the fore
register separately, or to return to
the main menu.
FREE DISKETTES
cast conditions from that situation Your 5W" single side disks are usable
The Degree Day Register needs
are shown. Use this historical on the oil er ■- de You pa d for one
to be reset once each year. Gen ijde .-.'•;• r A l.m' the other ..IT'S FREE!
record to evaluate the current Nibble Notch will open your new
erally, the Heating Degree Day
forecast. disk.K'seasy. worft harm existing data,
Register should be set to 0 in July, SATISFACTION OR MONEY BACK
At times you may want a new and the Cooling Degree Day Reg
forecast but don't want to store the
nibble notch I
ister to 0 in January. Enter the
information in the file, especially appropriate response and continue
when weather conditions are with the program.
changing rapidly. To generate a For Apple. Franklin, Commodore, &
Option 5 allows a smooth exit Atari (vWAtari Drives); square notch.
forecast, enter 2 from the main
from the program, without pressing
menu, and follow the prompts to
the RUN/STOP key. It's a good
enter barometric pressure, rate of
idea to always use this option to
change of the barometer, and wind
end the program, because pressing
direction. A forecast will be dis
RUN/STOP while the program is
played, and the disk will be read in
running could cause the files being
a search for similar conditions, as in
written to your disk to be damaged.
data entry mode. No information
Try to take a few minutes every
will be stored on your disk.
day to update the data file. The
Option 3, Search Data, allows
more you use Weather Prophet, the ■ Add W (IS I or eign) f 01 postag e B
you to review and analyze the
more reliable it becomes. Daily up handling Fl 'indents ddd 5% sales iai
information already stored. The TOLL FREE 1-800-641-1536
dates are also necessary to keep the
program asks if you want to search FL 13OS|74B-377O
degree day registers accurate, and or send check
by fields or for a specific record
to develop accurate information for or monuy order to:
number. If you wish to look at a
a monthly report. You'll find the
specific day and happen to know
information useful on a day-to-day
the record number, this is the computer products
basis.
quickest search. Press R and answer
4211 NW75thTerrace«Dept143
the next prompt with the number of See program listing on page 97. a Lauderhill, FL33319
IUI
QuickScan
Daan Deenik
I'l ■ ■ ■
pt it iririni,n.«,«.«,«.".".b,».H,b
&l tPiirfllt.ll.'lJl1,tP,p'.H,VIH.hJ«,fl
If your eyes get tired while checking
long listings on your screen, tiiis
program will be a real aid. It high
lights the current screen line, mak
ing it easier to keep your place
while scanning the program. Orig
inally written far the 64, we've
added a version for the VIC. ^"'""m'iL.1
The ML program is loaded into the screen and border to the second lnEtHu(Jon;Campany_
RAM by a BASIC loader. Although color and back again to the first. Depar t m ent
there is a built-in checksum to help Since the program has to wait until
in entering the program, accurate the time is right, everything runs a
typing is still required as any mis little slower, especially when the Phonr (
take could crash the computer. cursor is near the bottom of the
screen.
Modifying QuickScan You can change the color of
Aoar ouse
QuickScan for the 64 uses seven the border and background (even
Mail (n1 Univf r->Lt>- Micrtftimi [nlernalional
multicolor sprites to create the change the line to reverse charac 300 North Zceb HmJ, Bul SI Ann Aihor. Ml J8106
highlighting bar. Here are a few ters) by POKEing a number from
Richard Mansfield from my Second Book of Machine We'll have to create two "fingers"
Senior Editor Language. Other assemblers will re which will always point to our cur
quire some minor modifications. rent positions in memory. One fin
This month we're going to create a
Program 1 will be presented next ger will point at our location within
kind of bridge between machine
month also; this month, however, the ML program being moved; the
language (ML) and BASIC and,
we'll discuss only through line 225. other finger will point at our loca
along the way, learn some new
Line 100 tells LADS that the tion within the BASIC program be
techniques which help manipulate
program is to start at address SCO0O ing built. (In ML parlance these
data in ML.
{49152 in decimal). Line 110 tells it fingers are, perhaps with greater
Frequently, you'll see program
to actually store the program in dignity, called pointers.)
listings like "Datastuffer" {Program
memory. That's one option. You A pointer is a two-byte area in
2). Sometimes that's all there is; at
could also store it to disk and leave RAM somewhere and it's up to us
other times this mass of DATA
memory untouched. to decide where. It should be lo
statements is part of a larger BASIC
Next there is a series of label cated somewhere within the first
program. However, in both cases,
assignments. All this means is that 256 bytes because that lets us use
the data mass is actually a machine
we're going to give names to some the Indirect Y addressing mode,
language program waiting to be
important locations in memory that which is an easy way to access
brought to life. The user doesn't
we'll be using in the program. whole chunks of memory at once.
need to know anything about ML to
Then, when we want to access The computer likes to use the first
type RUN and let Program 2 POKE
them, we don't need to remember 256 bytes too (and for the same rea
all those numbers into RAM. When
the numbers are in RAM, they com any numbers—we can just use the son), but there are some safe places
prise an ML program and the user names. between $A3 (163 decimal) and
can type SYS 49152 to activate it.
$B1 (177), so we'll put our pointers
Two Fingers in that area of memory.
In line 150, we assign the label
BASIC Builder Nevertheless, by understanding
PF to address $A3. You could give it
But how, if you've written an ML what these labels do, we'll pretty
any label you prefer, as long as
program, do you transform it into much understand the way the en
that's the way you refer to it
DATA statements? You could PEEK tire program works. So this month
throughout the rest of the program.
every location in your ML program let's discuss each label; next month
PF will be the finger pointing at the
and write down each number and we'll look at the program proper.
current (while the program is
then type them all into DATA state First: what is the main goal of
executing) location within the
ments. There are easier ways, how this program; what's it basically
BASIC program we're creating.
ever. Both compute! and the trying to accomplish? Essentially,
gazette have published BASIC we'll be moving a series of numbers
utilities, called DATAmakers, (our ML program) from one place in What BASIC Looks Like
which do this job for you. This RAM to another, from the location Line 170 defines, with the label PC,
month, however, let's make an ML of the ML program down to the the other finger, the one pointing to
utility which asks for the start and lower RAM where BASIC programs within the ML program. Line 160
end address of an ML program, and go. As with any large-scale moving takes care of a housekeeping func
then rapidly builds a BASIC pro job, we've got to keep track of tion for the BASIC program we'll be
gram like Program 2, complete with where we are, within both the building. The figure illustrates what
line numbers, DATA commands, source and the target of the move. a BASIC program looks like in RAM.
commas, and, of course, all the The computer does things one at a A BASIC program always
numbers. time. So, to move a chunk of mem starts with a 0, each line ends with a
Program 1 does just that. It's a ory, we'll pick up the first byte from 0, and the end of the whole pro
program which creates another the source zone, put it down in the gram is signified by 0 0 0. The first
program, a BASIC program. This is target zone, pick up the second byte byte (at address $0800 in the ex
the 64 version, but the only adjust from the source zone, etc., until all ample line above) is a 0. Then the
ments you need to make for the the bytes are copied. next two bytes form a pointer to the
VIC (with at least 16K expansion) To do this, we've got to know, start of the second line in the BASIC
are indicated in lines 100-220. The while the program executes, where program which is located at address
complete version of Program 1 will we are in two places at once (the $080B. As you can see, the com
work as is on the LADS Assembler source zone and the target zone). puter expects pointers to be in re-
10 PR1NT"HI"
them together to create the ML pro
20 END gram, "Datastuffer." Next month
(addrws in RAM)
we'll explore the internal structure
OB0O OS0U 0811
(actual by tin) 00 OB 08 0A 00 99 22 -IS 49 22 00 11 08 14 DO 80 00 00 00 of the program itself, but you can
(line of BASIC) LINE 7 "HI" LINE END still play around with the utility.
10 20
Type in Program 2 {Program 3 for
the VIC) and just run it. You'll end
versed order so that the pointer OB takes a floating point number and up with a runnable ML program
08 is, really, referring to address turns it into the ASCII code. The which will create a BASIC DATA
$080B. In any case, we'll need to number 25 can take the form of a mass. Even a mass of itself.
keep track of the proper location for single-byte true number (when you Program 4 is necessary. It's a
each of these pointers as we build POKE 500,25 you're storing the real little BASIC program which asks for
our BASIC program. They've got to number 25 in location 500). How the start and end addresses of your
be there or BASIC won't be able to ever, when you type a BASIC pro ML program and POKEs them into
LIST or RUN the program. So we'll gram in, you are using the ASCII the pointers. You could do these
keep them in the location defined in code of numbers. ASCII numbers things in ML, but the resulting pro
line 160, LINELINK. are characters, not real numbers; it's gram would be a bit too large to use
The variable defined in line as if the characters "2 5" were in as an example in this column.
180 will hold the address where the quotes. In an ML program in mem Here's how to use Datastuffer:
ML program ends, so we'll know ory, each byte holds a true number, Load and run Program 2 (for
when we've finished our job. The but in a BASIC DATA statement, the 64), or Program 3 (for the VIC).
user provides this address along the string of numbers are in the Load the ML program you want to
with the starting address {which ASCII code. So, we've got to bor transform into BASIC DATA state
will be stored in PC) before the pro row these routines from ROM ments (make sure it doesn't load
gram is activated. which transform the real numbers into the area 49152-49361 in the
Line 200 names a routine we're which comprise the ML program 64, or 20480-20689 in the VIC).
calling INTAFP which is located in into the "character code" numbers Type NEW. Load and run STUF-
BASIC ROM and which we'll want which make up a BASIC program. FERBAS {Program 4). That's it.
to use. It translates an integer num Line 215 defines the place we STUFFERBAS will be overwritten
ber (like 3) into a floating point can jump to within ROM which will by your new BASIC program.
number (3.0000, the same thing, gracefully end our ML program, When Datastuffer has finished,
but with a decimal point). Normally landing us back in BASIC mode you can LIST the new program it
this routine is used by BASIC, but without damaging anything. Line has created. You'll have to add the
we can use it too. 220 shows where BASIC programs FOR-NEXT loop that POKEs the
start in RAM and, thus, where we ML program into memory. Finally,
Numbers As Characters will start building our DATA mass. save the program to tape or disk.
Line 210 defines INTASCII as an Finally, VARS in line 225 is defined
other built-in ROM routine which as the pointer BASIC uses to tell See program listings on page 93.
390 LDA LINENUM+1:ADC #0:STA LINENUM+l 640 ; *PF NOW POINTS TO THE LINE LINK OF
400 INY:LDA *SS3:STA {PF),Y:INY; STORE DA FOLLOWING LINE
TA TOKEN 650 ; *SO PUNCH LINELINK POINTER INTO BA
410 SIC
420 ;• TRANSLATE ML PROG. BYTE INTO ASCI 660 LDY #liSTA (LINELINK),YlDEYtLDA PFiST
I CHARS. A (LINELINK),Y
430 670
440 DOMORE STY Y;SAVE Y 680 ';* SEE IF WE'RE AT THE TOP OF THE ML
450 LDY #0:LDA (PC),Y:TAY; GET BYTE OF M 690
L 700 SEC:LDA EADDR:SBC PC:STA 2iLDA EADDR+
460 LDA #0f SET UP FOR ROM ROUTINES 1:SBC PC+1iORA 2
470 JSR INTAFP:JSR INTASCII; TURN ML # IN 710 BCS BACK:LDA #0:DEY:STA (PF),Y
TO ASCII 720 INY:STA (PF),YiINY:STA (PF),Y
4S0 LDX #1:LDY Y:LOOP LDA §100,X:BEQ MORE 725 SECiTYA:ADC PFiSTA VAKS:LDA #0:ADC PF
:STA (PF),Y!lNYtINX:JMP LOOP +ltSTA VARS+1iJMP WARM; END PROG.
490 730 BACK JMP NEXTLINE; CONTINUE WITH NE
500 ;* STORE COMMA, RAISE ML PROG. POINT XT LINE OF BASIC
ER 740
510 750 ; STORAGE & DATA TABLES-
520 MORE INC COUNTER 760
530 LDA #$2C:STA (PF),Y:INY; STORE A COMM 770 LINENUM .BYTE 0 0; HOLDS CURRENT LINE
A NUMBER
540 INC PC:BNE GOON:INC PC+1; RAISE ML PO 780 Y .BYTE 0; TEMPORARY HOLDING PLACE F
INTER OR Y
550 GOON LDA COUNTER:CMP #10:BEQ BEWLINE: 790 COUNTER .BYTE 0; KEEPS COUNT OF DAT
JMP DOMORE; ONLY ALLOW 10 DATA ITEMS A STATEMENTS PER BASIC LINE m
CONVERSE WITH
YOUR COMPUTER
.:::::■.
DUST COVERS
■* CUSTOM MADE TO FIT
AT LAST, A FULL IMPLEMENTATION Ol iha anginal EUZA Or<j,
grain is now available to iun on your Commooorn 64'
* Heavy 32-oz. VINYL ANTI-STATIC
Created al MIT m '956. EUZA lias become ina world's moil
•k EXTENDS EQUIPMENT LIFE
i( Choice of Color* Lt. Ton or Brown
noi-oVBciive psycnoirieripiii *ho anal, res eacn statement as -jI HlC I*JD1\ Ofl MuEU.lt I UlLi
you type it in and inen responds wuh he' own comment or
COMPUTERS
question— and her remains are alien amannglyaprjr opiate' C-44; VIC-20; C-I6; PLUS 4 7.00
.IF-& £.000 Qu»LiT- -aL"iLi ItHfl
D*iljnoii lo run on a largo mmnrreme, EL.JZA ^4» novel before
C-128; B-128 13.00
bean available io pariorta! compute' uifi'i aicapi m gjefliiy DATASETTE (NEW, CIN) S.00
Hup pod flow n va rti um lacking trie nop-h i i^eaiio n * h I: h maiJff 1 h f
-.uu^JiUi^ DISK DRIVES
ari0mal program so faicinHmg
cisoij c-is7i indus G^ .. . b.oo
NO". Out Iff* CO'nmoo'Dlq ** Kernun poiiBSimg 1ho FULL pt*Of MSOS/D; APPLE S/O fl.00
and range of aiprcivon of ihe original n Doing oiTgrcd at ifis MSDD/D; APPLE D/D UNIT 10.00
■ntrrjdLicEorir price ol oily S3^i *nd i, you A>ani to rind out fiow 4fin
duel it for Teach nsr 10 do more) we will include lhe complete PRINTERS
SOURCE PROCRAM tot only 120 mldihonal LQTTQ EIPHER.. C-15I5/MPSB01 10.00
Ortfer your co&y of ELIZA today a no you II na^or again wonder ho* C1SS4/MPS802 13.00
to respond when you heat someo-nesa-y. "Okay, leiS?eewriatthis
CH TH1 81^1 ODDS ON INT lOHIHT {"•.■t-«-\ *£, C/MPS 803; C-1S2O; C-1530 B.DO
com pule ol yours can aclu ally do'" SII NUMBER PICK FOUR ■ D1IL> C1MI f^Sfc^' PANASONIC KX-P1090/91 T3.00
EPSON MX/RX/FX 80 13.00
REA D WriiT THE EiP£H TS SAV A BOUT 0 U R VE H S !0rt OF EUZA:
GEMINI 10 & SIAH IO'i 13.00
"Much more lhan a mflre game YouJl tit impra$i?d wiin
GEMINI IS & STAR IS'. 16.00
ELIZA A convincing dnmonitrnlion of Artificial Inldlhcjance '
-PC MAGAZINE
OKIDATA 91/91 13.00
1**1 r flOHHlTl.il JUKI 6100 16.00
"Dollghiful enieriAmineni...Arilo<eiil mad I urn for a ho* In g oil your OKIMATI 10 S.00
ayalam" -MICROCOMPUTING MAGAZINE
If you have a 64 and a Commodore 1525, MFS-801, wedge inserts one blank column at
the right of a user-defined charac
or MPS-803 printer, here's an easy way to create, ter. This allows proportional spac
save, and print out your own custom characters. ing of characters. For replacement
characters to be in the same seven
With "Printer Wedge," you can have true de
by five format of the 1525, 801, 803
scenders, foreign language character sets, and character set, do not allow two ad
customized graphics. jacent blank columns in the first
five columns of the character cre
Creating Custom Characters ation grid. In addition, do not leave
The Commodore 1525, MPS-801,
column five blank.
and MPS-803 printers are inexpen When you load and run Printer
To specify characters that can
sive and generally reliable printers. Wedge, you get a character creation
not meet the above requirements,
But the printed characters leave screen. Characters are created on a
calculate the column values as in
much to be desired —no de grid seven high by ten wide. Move
the 1525, 801, or 803 users' man
scenders. If you own one of these around the grid using the cursor
ual. Append a DATA statement to
printers, you know how difficult it keys, and plot dots with f7. Delete
Printer Wedge using the following
is to discern the difference between dots with f8. When the character is
format:
a lowercase and capital "?" or a complete, assign the character with
fltne number 3000 + 10 * ASCII] DATA
lowercase "g" and the number "9." fl. The computer then prompts you
[ASCII value of character],[number af
This program, "Printer Wedge," for the key of the character. Press character columnsj,[column Tl,[a>lumn
lets you define a new character the key representing the character 2],.,.,[last column]
set—including true descenders or and the program appends a DATA
You can find the ASCII value of a
foreign language characters. statement to itself describing that
character by typing (in immediate
The program is written in character. That character will no
mode):
BASIC, but it POKEs a machine longer be available to you—it will
PRINT ASC("[c)iaractcr]")
language "wedge" into memory. be replaced by the new character
You don't have to know machine you've designed. It then loops back The line 10000 DATA 0 tells
language to make it work, however. to the character creation screen. Printer Wedge it has read and
The wedge prints the user-defined When you're through creating POKEd all characters into memory.
characters in conjunction with the characters you wish to use, A replacement character for the
many programs, including press f2. The program asks for a double quote (SHIFT-2) should
SpeedScript. starting address, then POKEs the normally be specified (line 3340).
Printer Wedge characters can wedge to the specified location. Otherwise, printing a double quote
be any width from one to ten pixels, You are then given the option of character causes a graphic
and any number of characters can sending sample lines to the printer nightmare.
be created, from one replacement so you can inspect the new I've included three character
character to an entire upper/ characters. sets as options for you to try. Any of
lowercase font. Also, foreign lan If you wish to alter any of the these can be appended to Program
guage character sets can easily be characters you've created, run the 1. Character Set 1 (Program 2) re
defined (within the limits of printer program again and press f2 when places the lowercase g, p, and q
resolution). you finish. Since the character set is with less ambiguous characters.
The program also has another stored as part of Printer Wedge, you Character Set 2 (Program 3)
mode which allows substitute can create many character sets and proportionally spaces without de
character strings of up to 40 charac save each by its own name, such as scenders. Character Set 3 (Program
ters. For example, one could specify PWEDGE/ELITE or PWEDGE/ 4) squeezes characters into the top
text replacements for LISTed SPANISH. six rows, allowing one row for de
graphics symbols (cursor controls, Create characters starting from scenders. Program 5 allows for
colors, etc.), allowing the printing the left column of the character cre- converting graphics symbols to
of more readable program listings. ation grid. When printing, the text.
Ml
•s.bcdef
Part 3
Character set 2 offers more propor
tional spacing between letters. Lawrence Cotton
Character Strings
Press f3 to assign a string of charac
ters to a key. This can be useful in a
couple of ways. You can make pro
gram listings more readable by
replacing the reverse-heart that In this final installment, the author presents
means "clear the screen" with the six more impressive 64 sound demos.
easier to read string [CLR], To do
this, type in the string [CLR] and as
Before looking at the last six sound Program 2, "Hear See Chord,"
sign it to the SHIFT-CLR/HOME
programs in this series, it would be is the longest program in the series.
key (by pressing f3). After entering
helpful to review the introductory It shows how to gradually combine
all replacement strings in this man
discussion in Part 1, found in the three notes produced by indepen
ner, save PWEDGE/LIST. Pro
July issue. If you missed the first dent voices into a chord. The con
grams can then be listed to disk or
two installments, you can still ventional square waveform (64) is
tape, then read back and printed
benefit from the demos here. used here.
with a short BASIC routine. To do
They're short and can be added to For a little variety, try Pro
this, first open a file to tape or disk,
your own programs simply by gram 3, "Rubber Band In A Drum."
then enter CMD (file number):UST,
renumbering the lines appro This program is unique in two re
After the file is created, type
priately. You can also omit the RE- spects. First, random frequencies
PRINT* (file number):CLOSE (file
Marks in each of the demos. Even if (F2) are interspersed with a fixed
number). To read the file (and list it
you don't wish to use these in your frequency. Second, waveform 23 is
to the printer), open the file for in
own programs, I think you'll be sur POKEd to turn the sound on (rub
put, open a line to the printer, use
prised at some of the "zounds" ber band), but the noise waveform
GET# to get characters, and
your 64 is capable of producing. 128 is POKEd to turn it off (drum).
PRINT# to send it to the printer.
Probably the most unpredict
SpeedScript allows the use of
able sound is "Harmonix." Voices 2
the Commodore key subset of the
In The Ear Of The Beholder and 3 are POKEd with waveforms
keyboard (left graphics symbols on
The first program, "Waveform 23," 21 and 23, respectively. The step
the keys). [Commodore-D] could
is only four lines. This waveform, sizes of -10 and -50 determine
represent "Dear Friends," [Com-
largely undocumented, uses sync the harmonics being generated.
modore-Y] could represent "Yours
and ring modulation together with This sound seems to be long
Truly," and so on. This would
the triangle waveform. Several of enough without repetition.
allow automation of the repetitive
the demos in this series use this "Falling Sitar," Program 5,
parts of letters or of any document
waveform, but this program best sounds just like its name. It too uses
form you use frequently.
illustrates its enormous potential. It a random frequency (Fl) super
If you'd rather not type in the
plays only once, so you might add a imposed on a gradually decreasing
program, send $3, a self-addressed
loop to go back to line 10 if you frequency (F2) at a gradually
stamped mailer, and a formatted
wish to study the quality of the increasing rate (controlled by Q).
disk or tape to:
sound. Try changing the waveform Last, but certainly not least, is
James Chandler, Jr. (line 20) to a 17 (triangle) or 33 "Glissando." How can such a
204 California Ave. (sawtooth) or 21 (triangle plus ring sound be produced? Only on the
Chattanooga, TN 37415
mod). How blah. But with a 23? Commodore 64.
See program listings on page 104. V Listen! See program listings on page 92. W
COMPUTE! s Gazette September 1985 81
TinyTerm
For The 1650 Automodem
Preston Douglas
This short telecommunications program automati bers from line 310 and wait for you
to press a key. If you want to dial
cally dials the phone numbers of your favorite one of the three built-in numbers,
bulletin boards. If the number is busy, it redials press a number 1-3. To input a
until it makes a connection. For the 64 or un- brand new number, press 4.
If you belong to a local bulletin expanded VIC. It's very short, so it you've chosen until it makes con
board sys'tem (BBS), you probably doesn't have extras like upload/ tact with the BBS. If the line is busy,
know the frustration of reaching a download, or file access. a message prints that the program is
busy signal again and again. The stili trying. If the line is free and a
most popular, most active boards carrier tone is detected, your VIC or
Setting Up The Program 64 will make a sound (to get your
can be nearly impossible to reach.
One night while my 64 and I First, type in the program and save attention). You can then log on.
were working hard trying to get it to tape or disk. If you own a 64, If you have previously defined
through to a busy bulletin board, it make the following changes: your name, ID, and password in
occurred to me that my VIC-20 was line 60, press f2, f4, and f6 in that
20 Zl = 56577i7,2=56579;POKE53281
just sitting there doing nothing. If I order. (Be sure to hold down SHIFT
,liZ3=10:FORA=54272TO54295:
could program the VIC to do the POKEA,0:NEXT irem 71 while you're pressing these keys.)
boring job of redialing, ! could do 610 POKE54273,50:POKE54296,15:
The program is written in
something more interesting with POKE54277,25:POKE54276,32: BASIC, which has one advantage
the 64.
POKE54276,33:GOTOB0:rem 70 and one disadvantage. The good
I found "MiniTerm-20," a news is that programmers who are
In addition, you can customize curious about how terminal pro
terminal program for the VIC, in
TinyTerm in two ways. First, grams work can trace through the
the September 1983 issue of com
change the phone numbers in line listing and make modifications if
puted GAZETTE. It was written for
310 to three bulletin boards you be they wish (see below for details on
another type of modem, so I set
long to. Don't use any dashes or ex the program flow). The bad news is
about converting and modifying it
tra characters like spaces, and that once in a while, TinyTerm
to work with the 1650.
remember to put the number "1" in drops a character. This usually hap
Several things had to be
front of any long distance numbers. pens when a long message or menu
added. First, the program had to be
Line 60 can be changed to include is received from the BBS. It doesn't
able to redial repeatedly until it de
your name, ID, and password for happen very often, though. BASIC
tected a carrier tone (the signal that
one of the bulletin boards. If you do can keep up with 300 baud pretty
the call has been completed). Sec
this, you might not want to save a well.
ond, it had to reject the occasional
copy of the program with your real
false carrier hits that can happen
password, in case someone else How It Works
with some busy signals. Third, it
might try to use it.
should sound an alarm to indicate The VIC version barely fits into an
to the user that the connection has Before you start, check the unexpanded VIC. You may think
succeeded. Finally, there should be switches on the 1650 Automodem. you have a lot of memory after
a screen display to show that the They should be set to originate {the loading the program, but the vari
program is getting busy signals and O/A switch), data (D/T), and full ables and the buffer will quickly use
is still working. duplex (F/H). most of it. Be careful if you start
"TinyTerm" does all four When you run TinyTerm, it making modifications.
things. Plus, it fits into an un- will list the three telephone num Line 10 opens the channel to
used by some bulletin boards for ing, we jump to 130, to GET a Information. Visa and Master
character from the keyboard. If you Card accepted. All orders sent
special functions. Line 60 sets the
postage paid.
values for the shifted function keys. have not pressed a key, it jumps
In 70, the program jumps to 300, back to 90, alternately checking the
the dialing routine. modem and the keyboard for a
Lines 300-400 print the three character. Because of the dif PACIFIC
EXCHANGES
numbers and prompt you for input. ferences between Commodore HKl Fooi hi 11 Bl «J
If option 4 (manual dial) is chosen, ASCII and standard ASCII, the Qbi'»po CA
lines 410-420 ask you for a num characters have to be translated, 93401 (In Gil call
(805) M3-1 (M7 I
ber. Line 430 is the beginning of the using the arrays 1% and O%.
dialing routine. The numbers are If you're tired of hearing busy
extracted one by one, and the sub signals from your favorite busy bul
routine at 540-560 does the actual letin board, give TinyTerm a try.
pulse dialing, with pauses between Your computer wili take care of the
the clicks. TinyTerm then checks dialing, giving you a chance to do
for a connection in lines 480-510. other things while you wait to get
Change the 300 in line 480 if your through.
phone circuits take an unusually See program listing on page 100. <E
t
VIC 20
C64 $99.50
Finally, a company that offers
you, the Commodore 64 user.
PLUGS INTO USER PORT
excellent quality software al NOTHING ELSE NEEDED.
an economical price. EASY TO USE. VERSATILE,
• Read or Program. One byte or
32K bytes!
PRINTER SPOOLER (8 Our software lets you use familiar BASIC commands to
create, modify, scratch files on readily available EPROM
FOR MULTI-TASK OPERATIONS C chips. Adds a newdimenslon toyourcomputing capability.
The new Printer Spooler by GENERICWARE allows you to <D Works with most ML Monitors too.
print liles from disk while running other programs on your
E
• Make Auto-Start Cartridges oi your programs.
Commodore 64. No more wailing lo use your computer. With the
• The promenade" C1 gives you 4 programming voltagec,
Printer Spooler you can load, save and verily programs while
8
2 EPROM supply voltages, 3 intelligent programming
printing liles. algorithms, 15 bit chip addressing, 3 LED's and NO
The Printer Spooler includes: A print screen function, which switches. Yo jr computer controls everything from software!
lets you print a "picture" oi the current video screen, single key a Textool socket. Antr-static aluminum housing.
re-eniry to the Printer Spooler program, which eliminates the need EPROMS, cartridge PC boards, etc. at extra charge.
to re-load the program from disk: and an automatic paging option,
Some EPROM types you can usb with Ihe promenade"
which includes page numbers. 2758 253? 4627.12P 27128 S133 «2S1CA-
2516 2732 2564 27256
SAVE W - LIMITED INTRODUCTORY OFFER
52BI3-
271 a 27C32 2764 6B76J 48016P'
27C16 2732A J7C61 6B766
Now through July 31, you can purchase the new Printer
Spooler for only $19.95. Send check or money order lor $19.95
plus S2.00 shipping and handling (CA residents add 6% sales Call Toll Free: 800-421-7731
In Calilornia: 800-421-7748
tax) to. GENERICWARE. P0. Box 4277. Visalia. CA 93278.
For VISA or Mastercard orders call (209] 732-7779 (add 3% for JASON-RANHEIM
charge orders). Sorry, no C.O.D.'s. 580 Parrot! St., San Jose, CA 95112
VIC Emulator
Fausto Ibarra
Those who have upgraded from a normal 64 configuration at any time emulated.
VIC-20 (o a Commodore 64 know by entering SYS 64738. For games and other programs
that both machines have the same If you press RUN/STOP- requiring input, joystick and pad
BASIC language, but won't run the RESTORE, the computer will forget dle, reading can be made as in the
same programs. Memory locations where the screen is and you won't VIC (they must be connected in
and screen, graphics, and sound see what you're typing. You can re control port 1), and PEEKs to loca
differences make a translation nec cover your program by blindly tion 197 will return the key values
essary if you want VIC programs to entering SYS 49152. After selecting of the VIC.
run on the 64. the appropriate memory configura
"VIC Emulator" makes your tion, enter SYS 51055. You can use A Word Of Caution
64 behave just like a VIC. You can this command at any time if you VIC Emulator works with any pro
run most of your VIC programs accidentally type NEW and wish to gram written entirely in BASIC.
written in BASIC without translat recover your program. Joystick and paddle reading
ing them, including games using routines written in machine lan
custom characters and sound ef What Does It Emulate? guage will work if they don't use
fects, utilities, and so on, and you The 64 screen is changed to the locations 0 and 1, which are used
can emulate programs written for VIC's 22 characters. The program by the 6510 chip. Machine lan
the unexpanded, 3K, 8K, or 16K emulates all POKEs and PEEKs to guage routines which use the
VIC. screen and color memory, as well as Kernal jump table will still work
The program is written entirely alternate screens controlled with since they are compatible with all
in machine language, so you need POKEs to locations 36866 and Commodore computers.
MLX, which appears frequently in 36869. If you clear the screen, color
the GAZETTE, to aid in your typing. memory is filled automatically with Wedge Works
After loading MLX, answer the color code 1 (white). It also emu The program works by wedging into
prompts for the starting and ending lates the VIC's tone generator using the BASIC routines for PEEK and
address with 49152 and 51124, the SID chip (it's good enough for POKE. It intercepts the execution of
respectively. Next, type in the pro most sound effects, but will not these commands to change them to
gram and save it to disk or tape. work correctly with programs using work properly on the 64. This is pos
Load it at any time with the com music.) sible by copying BASIC memory
mand LOAD "filename",1,1 for POKEs to change the screen from 40960 to 49151 ($A000-$BFFF)
tape, or LOAD"filename",8,1 for and border color also work without into the RAM beneath it, changing
disk. After it's loaded, type NEW. modification. (Screen colors 8-15 the routines to suit our needs, and
To run the program, enter SYS are different on the 64, so you may telling the 6510 microprocessor to
49152. You are first asked to select get other color combinations when use the RAM memory by clearing bit
the memory configuration of the using them.) Custom characters 0 of location 1.
VIC program. After this, you'll see will work perfectly without any It also wedges into the PRINT
the number of free bytes. At this modification, as will multicolor routine to make the necessary
point, load any VIC BASIC pro characters. High-resolution graph changes to reflect the VIC's 22-
gram and it will run normally. It's a ics will work if they don't use dou character screen. Also, an interrupt
good idea to use the emulator ble height characters. routine is added to the normal IRQ
before loading any program be POKEs and PEEKs to locations service routine to permit joystick
cause some programs change mem 0,1, and 2 are changed to reflect the and paddle reading from machine
ory pointers when using custom 64 USR vector. POKEs to start and language.
characters. You can return to the stop the cassette motor are also See program listing on page 103. a
•MASTERDISKs and MASTERDUAL* are also compaiible with the NEW C-12B (in C-64 Model!
Whether vou have tens or hundreds til disks, now YOU can be tin MASTER of your TOTAL Software Library I
d t'n.\-\r'\ on FIS23? "b^oi& >■' Epwi Ik. Mmdshadow IDi 119 Financial Crossword Magic ID] 133 Ardennes (D) 139
NEC .■:-...- ■■_■>. .s i1 ■■..■■.- Tii-'«li#fi Space Sr ultir iDr 121 Cookbook |D| 129 Hal ley Protect (Dl 129 BroadsideslDl $26
fi caDJc wiTh a niale or r*mjie confiKior i Trie Music SludiolDl S21 Hard Hal MacMD) i\7 Indiana Jones ID) Iifl Carrier Force {Dl S39
r fiisral pxias AiM %2 50 'v Tracer Sanction lO) 119 wait Order Mr Pnels Carloon Colonial ConguPSI IDi 126
WebDimensionjDl MonslersiDl 123 Kil(O) S23 Combat Leader (D) 535
ARTWOHX Music Consl Sel(D) 119 Period Score SAT (Dl 149 Comp Ambu$h{Dl $39
See your local dealer or
Alice m UijeofandrDlSiti PinDall Const Set ID) 119 Show DirecTor iDj 123 Corn p. Baseball {Dl 126
CALL (206) 236-2983 AHegrolDI 126 Racing Destruction Tink's AQvenlurelD) 119 CompulerOBID). 126
Bridao4 0(TorOl 116 SellOl 123 MISC Cosmic Balance I Dl 125
30 flay more, tech guvvilee or all ffMWr* Vim and MC Copy MIDI . . 127
119 Seven Cities Gold IDi 125 Eagles IDI .. $26
1 dklerscalujsT'
French(Dl 119 Sk> Foi ID) 125 CSM 1641 50Mi55ionCrush{D) $25
German (Dl 119 EPYX Alignment Kit ID) 123 Gemslone WdrnOr (DI123
Grand Mjislrr B3llbl,*/0f lD> Call Crime & Germany 19B&IO] 139
CIWMIDJ 119 BaibielD) 121 Punishment |Dl 123 imperium
MnnkcvmatrnTorD] 119 Chip Wits iDi 121 Micro League Galactum(DI 126
S'an Shoi Hockey iOj 116 Fast LoadlRi 125 Baseball (Dl 127 KamplgruppetO) 139
Spams" (Dl 119 Gi JoelO) 121 VIPIermmalXL IDi 127 HnigWsot Desert tO) $26
Strip Poker tD) 121 Impossible MissionD 123 MUSE Norv.s, 19B5IO) 123
P.O. BOK a3-DEPT.G8- MERCER IS.. WA 9BCH0
Female Oala Disk 116 Jot Combat Beyond PnantasielDl J26
Male Data Disk 116 Simulator (Df 121 wol'ensteinjDf «1 Pro Tour Goll(O) 126
AVALON HILL Moniy'sScrabtiletai 126 Casile Oue5tron(D) ... . 126
lii Nuclear PlIStODlKDI S2S Woirnn&tpiniOf 117 RailsWeslID) 126
Bomber (Dl 116 Rpscub on ORIGIN Ringsidn Seat(D) 126
Computer Slocks A f r.ictdluslDj Call Ultima III (D) 139 Sn-Gl)nShooloullO)$28
BondsiDI 119 Summer Games IUO1125 PHACTICORP SYNAPSE
jin.ilrr Mission Temple ol Apsnar(D; 121 Prsclicalc(D) 123 BlueMa.JOOHDl $19
iiwidi S23 Twoon.Two SportsiD! Call PractilllolD) 123 Syn-Calc(D)... 135
M.I-ai.'II Manor (D) 116 World's Greatest 6a Doctor (D) $17 Zamon iDf 125
Pan/nrJagdlD) 121 Basenall 4D> 123 1 Bur an 3tilios. S47 TELADIUM
Ripper |D| .. 119 FIRST STAR PRECISION Amazon IO| 123
Sujifir Bowl Scyvs Spy(D) $19 Super basn 64 {Dl 147 DragonwarldtDl .. 123
MEMOREX
Sunday(D) «1 GAMESTAR PROFESSIONAL Fanrenneit45i {Dl 123
TrUfnauardiD) 119 On.Courl Tennls^DJ 119 SOFTWARE fiendeivous RamalC 1123
BLUE CHIP On-Finld Football (D S21 Fleel System 3.80 ■ir.if WOiii,:.
Bil'onlD) 126 Star-League column wp w/70.000 Datn Manager 2(0) $33
Baseball {D} S21 word spell
FLEXIBLE DISCS
TyLOon [Dj 126 Electronic
BBOOEHflUND HAYDEN checker (Di $49 Checkoook(0) . 116
Bank SI Wrilnr (Dl 133 Drniil Mamn Raci-IDI S18 Trivia Fnvor |D) $21 Evelyn Wood
CabllesDr Croup (D) 121 Sarnon II (D) 11D Trivia Fever 2(Dr 119 Reader {Dl 133
ChtfTlp i ■ i. .1 M123 Sarnonlll(D) $33 RANDOM HOUSE Inventory Mgml{Df 139
WE WILL NOT BE UNDER KarntuktirDp 121 WordCnallennfilDl 116 Alpino Encounter |D) S21 Money Manager (D) 116
SOLD!! Call Free (800)235-4137 Louurunnur (Dl ... 121 HES Cri.irliij Brown's Swiltcaic(D) . 133
Lodi.'rufincr Mint Book 17 Hos Mon G4 IR) 123 ABC's (D) 119 Word Wnlerl
tor prices and information. Dealer MusicSnoplD) . . . Millionaire|0) . . . 119 Snoopy'5 Reading Speller(D) .... 133
inquiries invited and CO D s Operation WhirlwiniJ{D426 MultiplanlD) . J»9 Machme(D) .. . $19 TRONIX
PrmlShoplDt 129 Omniwrilor/Speller (OJ 133 SCARBOROUGH S A M (D) 139
accepted. Print snop Graphics 64 Forth (Ri 123 Build A Book (D) 123 ACCESSORIES
Library 1 |D) ..,, 119 Supii' Zjunn (Dl 119 Maslnrlypo (Dl 123 BASFSS.DD .114BI
I'SCrnpNicsitiD) 119 NolWorthlO) $44 Cardco Access Call
Slnalin(O) 121 INFOCOM SIERRA ON LINE Caruco ClG t
WMisllur's Brolher {0)119 tnchnnloMDl $23 Hnmewnrd(D) $33 Pnntorlnl . Cheap
CBS HIlEhhittflr'fl Guide lo Home word CompuServe Starter
PACIFIC Almibi.i Serins Call ldeGala«y(Dl . . 123 w(Spoller(Dl $47 KiM5nrs } , , .,. $1B
EXCHANGES Astro Grovor ID) 123 InlidellD) $26 Ultima II (D( 139 Compusorvc Vidte^{C ;119
Dmosaur Dio(DI 126 Invigiclues S7 WuTypelDI $23 Digital Devices U'Print C
IOOF001MI Blud Dr EouSS{Dl 121 Planellall(D) 123 SIMON ft SCHUSTER Printer Inierface 141
San Luis Ohi^ipej. CA Felony (D) 113 SeastalkeriD) $23 Typing Tulor III ID) $26 DiskCasetHoldsSO) $9
Mastering SAT |Dj 149 Sorcerer |D) . 126 SPINNAKER Dow Jones News
93403 InCal call
Matri Series Call WishoringeriO) 123 AOventuie Creator |R)$1B Rat naval Kit {Stirs 119
IB00I59Z-5935 ar Murder tiv Dofen{Df 123 KOALA AipnabeiZoo(fl) 119 Indus GT Best Deal
:i. H>;t7 Sea Voyacjur'i $20 Muppet Learning Counting Paradu tD) 117 WicoBoss 112
CONTINENTAL KflyS(Dl 149 FacernakerjR) 117 WicoBal Handle $19
Book ol Adv Games 11B TaWntwiPdinli'MDl 149 Fraction Fover(R) 117 W>co 3-Way 123
Homn Accountant (D>144 HoalaPrinie'lO) $19 Kids on KeysIRl $19 Wico Trackball $29
Each month, COMPUTE!'* GAZETTE Logo is known for its turtle graphics win a pennant in their respective
tackles same questions commonly and recursive (self-repeating) struc leagues to pay off the bet. Logical
asked by Commodore users and by tures; it's often the first language operators work the same way in
people shopping for their first home taught to children. Pascal is a popu BASIC. Since computers must see
computer. If you have a question lar structured language in colleges everything in terms of numbers, —1
you d like to see answered here, send and universities. Forth is extensible, means true and 0 means false:
it to tins column, c/o COMPUTE'S ga which means you can create new IF A=-lORB=-lTHENC = 10
zette, P.O. Box 5406, Greensboro, JVC keywords and build your own cus IF A= -1 AND B= -1 THEN C = 10
27403. tom language. PILOT lends itself to Again, the first IF-THEN state
instructional and educational ment specifies that if the variable A
programming. COMAL is a rel equals —1 or the variable B equals
atively fast, structured language -1, then the variable C becomes
^ BASIC is too slow for some that strongly resembles BASIC and 10. Only one of the two possible
programs I want to write, but I is very popular in Europe. conditions must be met for this to
don't think I want to tackle ma PROMAL is a new compiled lan happen. But in the second IF-THEN
chine language yet. What other guage that has much in common statement, both conditions must be
languages are faster than BASIC with Pascal. met for C to equal 10.
but easier to learn than machine Logical operators are often
language? combined with IF-THEN state
I've noticed that a lot of
BASIC programs use words like ments to form decision points in
/»• Perhaps the easiest solution OR and AND. Can you explain computer programs. The program's
is not to learn another language at what they are and how they work? flow and reaction to user input can
all—instead, try a BASIC compiler. vary according to how it evaluates
A compiler is a sophisticated different conditions. It's up to the
/»• One reason these keywords
program which takes another pro programmer, of course, to make
are so confusing is that they're used
gram written in a high-leve! lan sure the program can respond to
in BASIC programs in two com
guage such as BASIC and transiates any possible condition. Otherwise,
pletely different ways. Like the
(or compiles) it into machine lan it may "crash."
English word "star"-—which can
guage. Although a compiled pro In another context, AND and
denote either a point of light in the
gram won't run as fast or be as OR are used in BASIC to directly
sky or a leading actress—the mean
compact as a program written di manipulate bits in computer mem
ing depends on the context.
rectly in machine language, it still ory. All digital computers store
Usually, AND and OR are used
runs much faster than an ordinary information in the form of binary
in BASIC with IF-THEN statements
BASIC program. The speed gain numbers, and those numbers are
as logical operators. A logical op
can range from 10 to 1,000 times composed of bits, which are like
erator is a keyword which defines
faster, depending on what the pro tiny switches that can be turned on
how an IF-THEN statement should
gram is doing. or off. For instance, the number 97
be resolved under different con
Most compilers require you to is stored in memory as a pattern of
ditions. Here are some examples in
observe a few extra programming eight bits (l=on, O = off):
English:
rules, but it's still much easier than 01100001
IF the Cuba win Ihe pennanl OR Ihe
learning a whole new language. Keywords such as AND and
Indians win Ihe pennanl THEN I'll
Several BASIC compilers are avail pay you $10. OR allow programmers to change
able for Commodore computers IF the Cubs win the pennant AND the these bit patterns in certain ways.
and have been advertised and re Indians win Ihe pennant THEN I'll pay Bit manipulation is beyond the
viewed in COMPUTED GAZETTE. you $20. scope of this column because it real
If you're dissatisfied with According to.the first IF-THEN ly has more to do with machine lan
BASIC for reasons other than statement, the $10 bet will be paid guage than with BASIC. In fact, the
execution speed, the other alter off if either baseball team—the keywords AND and OR correspond
native is to explore different lan Cubs or the Indians—wins the pen directly to machine language com
guages. Versions of Logo, Pascal, nant. The OR operator specifies mands. To learn more about this
Forth, PILOT, COMAL, PROMAL, that only one of the two conditions subject, follow the "Machine Lan
and others are available for Com must be met. But in the second IF- guage for Beginners" column,
modore computers. Some of these THEN statement, the AND op which appears regularly in the
are compiled languages as well. erator requires that both teams must GAZETTE. QB
• Two problems affect the RENUM running the third program, "TDISK By printing one screen at left mar
command from "MetaBASIC" (April). GENERATOR." It will create a file gin zero, rewinding the paper, and
The first is relatively minor: After called "TURBODISK.OBJ" on your printing another screen at margin 40,
renumbering, the definition given to backup disk. But TURBODISK BOOT you can create a double width, two-
the f8 function key is garbled. A mem tries to load TURBODISK (without the screen picture.
ory conflict causes this quirk, which .OB]). So, you'll need to change line 10 Readers Eric Thosteson and Robert
cannot easily be fixed. of TURBODISK BOOT so it loads Lewis own MPS-802 printers, which
A more serious bug is that RENUM TURBODISK.OBJ rather than are functionally identical to the 1526,
can ruin the second index number in a TURBODISK. After making the correc except for the line spacing. The MPS-
two-dimensional array. When tion, save TURBODISK BOOT to the 802 allows more vertical positions per
MetaBASIC renumbers a program, it backup disk. inch. If the lines seem to overlap when
looks for GOTOs, GOSUDs, THENs, using the 802, add a POKE 49289,24
and other references to line numbers. • VIC owners have reported that al before the SYS49152. Or, change the
Within an ON-GOTO or ON-GOSUB, though "Screen-40" (|une) converts the second number in line 330 from 18 to
the line numbers are separated by com VIC screen to 40 columns and works 24, and change the last (checksum)
mas. So, if a line containing ON-GOTO well when printing to the screen, it has number in 330 from 885 to 891. Num
or ON-GOSUB is followed by a two- problems sending anything to a printer. bers larger than 18 on a 1526, or 24 on
dimensional array—A$(20,10), for ex- Reader D, J, Stauffer has found a the 802, will cause more spacing be
amplt!—the second number in the array solution: tween the lines.
will be treated as part of the ON state 1. Load Screen-40. Finally, because the program starts
ment, because it is preceded by a 2. Type POKE 8402,104: POKE 8403,76: at 49152, it will not work with some hi
comma. The array variable will, in ef POKE 8404,122: POKE 8405,242 res programs which use the same loca
fect, be renumbered. To fix this, load 3. Enter the necessary POKEs from the tions. Paul Kroculik suggests the
MetaBASIC, type NEW, and enter this article: POKE 43,1: POKE 44,44: following changes to allow screen
line: POKE 11264,0: NEW. dumps from Simons' BASIC, "Screen-
4. Load and run MLX, enter the starting 80" (September 1984), or "Hi-Res
FOB A=39243 TO 39246:POKEA,2
34: NEXT
and ending addresses (8192 and Graphics Made Simple" (August 1983):
10240), and press SHIFT-S to save
You can now use the BSAVE com the new copy of 5creen-40.
110 PRINT: PRINT"TY.PE SYS 52736
mand to save the altered MetaBASiC to TO BEGIN HI-RES DUMP11! EN
disk. Tape users will have to use MLX: • Reader David Gunderson writes that D
140 DATA 52736
Enter POKE 644,144: SYS 58260 to pro the score in the 64 version of "Heat
150 DATA 53121
tect memory, load MetaBASIC, type Seeker" (March) may be difficult to 160 DATA 169,18,133,10,32,33,2
NEW, enter the line above, load and read if you own an older 64 or a black- 06,32,633
run MLX, enter the starting and ending and-white television. To change the 170 DATA 67,206,32,81,206,76,1
addresses (36864 and 40805), and then background color and make the score 00,207,975
1B0 DATA 32,177,206,162,9,230,
use SHIFT-S to save the new copy to more legible, load Heat Seeker, POKE
3,20B,1026
tape. 2076,6, and save it back to tape or disk.
190 DATA 2,230,4,202,208,247,7
6,SI,1050
• There are no bugs in the 64 version of • As reported in the June "Bug-Swatter,"
200 DATA 207,173,0,221,41,3,73
"TurboDisk" (July). Some GAZETTE the number 100 in line 130 of "1526 Hi-
,3,721
DISK subscribers have had trouble mak Res Screen Dump" (April) should be 505 DATA 162,53,120,134,1,177,
ing a backup copy of the program, how changed to a 130. This does not affect 3,162,812
ever. The program works correctly the program if all DATA statements 510 DATA 55,134,1,88,234,234,2
when loaded from the GAZETTE DISK, were correctly typed. The program 34,234,1214
515 DATA 234,234,37,16,240,16,
but n slight modification is necessary to works as listed, and several readers
169,128,1074
make a backup. have sent in modifications.
540 DATA 165,17,201,8,203,208,
There are three TurboDisk pro 1526 Hi-Res Screen Dump is writ 70,16,893
grams on the GAZETTE DISK. ten in machine language and Peter Hei 550 DATA 230,15,165,15,201,6,2
"TURBODISK BOOT" is a short BASIC ne Jorgenson has noted that it exits back 08,194,1036
to BASIC via a BRK, rather than an 580 DATA 96,76,13,206,169,0,13
program which loads and enables the
3,17,710
main machine language program, RTS. To make it a little easier to use
610 DATA 206,76,19,206,32,250,
"TURBODISK," which is called from BASIC programs, POKE 4948B,96. 206,76,1071
"TURBODISK.OBr In the July issue of Also, if you prefer not to have the 620 DATA 16,206,222
the GAZETTE. If you're using a copy screen centered on the page, pick a left
program, these are the two programs margin between 0 and 40 (variable L) Since the starting address has been
you'll need to put on the backup disk. and add these POKEs before starting moved to 52736, readers are cautioned
They'll work correctly if they're copied the screen dump: not to use the Commodore DOS
directly from the GAZETTE DISK. R = L + 40: POKE 49153.L: POKE 49393.L: Wedge, which loads into the same area
You can also make a backup by POKE 49389.B of memory. •
MLX is a labor-saving utility that line. That's because each line has MLX recognizes these
allows almost fail-safe entry of seven numbers—six actual data commands:
machine language programs pub numbers plus a checksum number. SHIFT-S: Save SH1FT-N: New Address
lished in COMPUTEI's GAZETTE. The checksum verifies that you SHIFT-L: Load SHIFT-D: Display
You need to know nothing about typed the previous six numbers cor
When you enter a command,
machine language to use MLX—it rectly. If you enter any of the six
MLX jumps out of the line you've
was designed for everyone. There numbers wrong, or enter the
been typing, so we recommend you
are separate versions for the Com checksum wrong, the computer do it at a new prompt. Use the Save
modore 64 and expanded VIC-20 rings a buzzer and prompts you to command to save what you've been
(at least 8K). reenter the line. If you enter it cor working on. It will save on tape or
rectly, a bell tone sounds and you
disk, as if you've finished, but the
MLX is a new way to enter long ma continue to the next line.
tape or disk won't work, of course,
chine language (ML) programs with MLX accepts only numbers as until you finish the typing. Remem
a minimum of fuss. MLX lets you input. If you make a typing error,
ber what address you stop at. The
enter the numbers from a special press the INST/DEL key; the entire
next time you run MLX, answer all
list that looks similar to BASIC number is deleted. You can press it
the prompts as you did before, then
DATA statements. It checks your as many times as necessary back to
insert the disk or tape. When you
typing on a line-by-line basis. It the start of the line. If you enter
get to the entry prompt, press
won't let you enter illegal charac three-digit numbers as listed, the
SHIFT-L to reload the partly com
ters when you should be typing computer automatically prints the
pleted file into memory. Then use
numbers. It won't let you enter comma and goes on to accept the
the New Address command to re
numbers greater than 255 (forbid next number. If you enter less than
sume typing.
den in ML). It won't let you enter three digits, you can press either the
To use the New Address com
the wrong numbers on the wrong SPACE bar or RETURN key to ad
mand, press SHIFT-N and enter the
line. In addition, MLX creates a vance to the next number. The
address where you previously
ready-to-use tape or disk file. You checksum automatically appears in
stopped. The prompt will change,
can then use the LOAD command inverse video for emphasis.
and you can then continue typing.
to read the program into the com To simplify your typing, MLX Always enter a New Address that
puter, as with any program: redefines part of the keyboard as a matches up with one of the line
LOAD "filename",l,l (for upe) numeric keypad: numbers in the special listing, or
LOAD "filetiame",a,l (for disk)
else the checksum won't work. The
U I O 7 8 9
To start the program, you enter H J K L become 0 4 5 6 Display command lets you display
a SYS command that transfers con M , . 12 3 a section of your typing. After you
trol from BASIC to machine press SHIFT-D, enter two addresses
language.The starting SYS number within the line number range of the
MLX Commands
always appears in the appropriate listing. You can abort the listing by
article. When you finish typing an ML list pressing any key.
ing (assuming you type it all in one What if you forgot where you
Using MLX session) you can then save the com stopped typing? Use the Display
pleted program on tape or disk. Fol command to scan memory from the
Type in and save MLX (you'il want
low the screen instructions. If you beginning to the end of the pro
to use it in the future). When you're
get any errors while saving, you gram. When you reach the end of
ready to type in an ML program,
probably have a bad disk, or the your typing, the lines will contain a
run MLX. MLX asks you for two
disk is full, or you've made a typo random pattern of numbers. When
numbers: the starting address and
when entering the MLX program you see the end of your typing,
the ending address. These numbers
itself. press any key to stop the listing.
are given in the article accompany
You don't have to enter the Use the New Address command to
ing the ML program.
whole ML program in one sitting. continue typing from the proper
You'll see a prompt correspond
MLX iets you enter as much as you location.
ing to the starting address. The
want, save it, and then reload the Sec program listings on page 106.
prompt is the current line you are
file from tape or disk later.
entering from the listing. It in
creases by six each time you enter a
ER E21+++++lBLU)f ED irem 45
9040 FORI=0TO2047iPOKE12288+I,
irem 173 PEEK(5324B+I)iNEXTI 110 FORT-ITOQiNEXTiREM TIME DE
LAY irem 100
B010 PRINT"[2 DOWN)§43(RIGHT}U irem 154
120 POKEV2,WtPOKEVl,W-ltREM TU
SE PORT 2 JOYSTICK TO MOV 9050 POKEl,PEEK(l)OR4iPOKE5633
E TRACKER." irem B8 4,PEEKt56334)ORl .rem 189
RNS 0N[4 6PACESJVO1CE 2, T
URNS OFF VOICE 1 irem 231
8015 PRINT"(2 RIGHT]FIRE BUTTO 9060 POKE53272,(PEEK(53272)AND
130 FORT-1TOQiNEXTiPOKEV2,W-1i
N LAYS TRACK." irem 183 240J+12 iron 238
REM AFTER DELAY TURNS OFF
8020 PRINT"[DOWN)[RIGHT)WHEN T 9070 FORCH=0TO39iREADNWiPOKE12
504+CH,NWtNEXTCH irem 169 (SPACE)VOICE 2 irem 154
RACKER IS HOME, PURPLE HE
140 POKEV3,WtPOKEV2,W-ltREM TU
RBIE" irem 127 90B0 PORV-lT08iREADCCS(V),CTS(
8025 PRINT"£2 RIGHTjCAN MOVE O V),CNS(V)tNEXTViRETURN
RNS ON[4 SPACESJVOICE 3, T
URNS OFF VOICE 2 irem 237
N TRACK AND COLLECT PTS." irem 253
150 FORT-lTOQiNEXTiPOKEV3,H-lt
irem 243 10000 DATA14,6,7,5,13,9,11,10
REM AFTER DELAY TURNS OFF
8030 PRINT"{DOWN)[RIGHT)THE ME irem 166
[SPACE)VOICE 3 irem 15a
ANIES LEAVE DEADLY X1 S, " 10100 DATA255,195,255,219,219,
160 Q-Q-5iNEXTiREM TIME DELAY
irem 205 219,219,219 irem 35
[SPACE]IS DECREASING, THUS
8035 PRINT"{2 RIGHT}DON'T LET 10200 DATA60,60,195,219,219,19
NOTES PLAYED MORE RAPIDLY
{SPACE}TRACKER RUN INTO T 5,60,60 irem 79
irem 126
HEM." irem 179 10300 DATA219,219,219,126,126,
170 FORT-1TO1200iNEXTiEND
8040 PRINT"(DOWN](RIGHT)TRACKE 219,219,219 trem 28
irem 49
R 6 PURPLE HERBIE AHE PAR 10400 DATA60,36,255,255,255,21
ALYZED"SPC(4)"WHEN MEANIE 9,24,126 iram 129 Program 3: Rubber Band In A
S APPEAR." irem 210 10500 DATA255,219,219,255,255, Drum
195,231,255 irem 33
8045 PRINTI1{DOWN) {RIGKTjUSE TR 10 FORL-54272TO54295tPOKEL,0iN
ACKER TO BUILD A NEW PATH
10600 DATA -{BLUl","T",TRACKER
EXTtPOKE54296,lS irem 16
iron 122
AFTER"iPRINT"[2 RIGHTjME 20 POKE54277,6tREH ATTACK/DECA
10700 DATA "g2I","+",TRACK
AWIES ATTACK." trem 211 Y (SUSTAIN/RELEASE IS 0)
irem 215
8050 PRINT"{D0WN3[RIGHTjDON'T irem 219
[SPACEjBE TOO GREEDY—YOU
10600 DATA "{PUR}", "-4", PURPLE
30 FORZ-lTO40tA-INT(60*RND(l))
'RE IN A RACE" irem 105 [SPACE]HERBIE irem 117
+1 iQ»INT(100*RND(1))+liREM
8055 PRINT"[2 RIGHTjAGAINST TH 10900 DATA "[GRNjB,"{RVS)S
{SPACEtZ - NO. OF SOUNDS
E CLOCK TO GET HERBIE HOM
{OFF}",20-100 PTS
trem 209
EI"iGOSUB700 trem 254 irem 241
40 POKE54273,4EltREM UNCHANGING
11000 DATA "g7I","£\ 10-50 P
8060 PRINTTAS(7)n[2 DOWN}{BLK] FREQUENCY FOR VOICE ONE
HIT [RVSJrETURN[OFF} TO C TS irem 204
irem 25
11100 DATA "|33","(RVS) [OFF)"
ONTINUE" irem 33 50 F2-lNT(55*RND(l))+liREM VAR
8065 GETASiIFAS»""THEN8065 ,HOME 40-200 PTStrem 106
IABLE FREQUENCY FOR VOICE 2
11200 DATA "[RED)","[-,MEANIE
;rem 201 TO BE POKED NEXT LINE
8070 IFAS<>CHRS<13)THEN8060 trem 20 irem 85
irem 240
11300 DATA "fBLK}","V",DEADLY
60 POKE542S7,P2 irem 67
[SPACEjX " ,rem 96
B100 PRINT"ECLR)"SPC(9)"1DOWNJ 70 POKE54276,23tREM TURNS ON V
{RVS)|t43 CAST OF CHARACTE OICE 1 WITH WAVEFORM 23
RS (OFFUDOWN)'1 trem 222 tram 53