Вы находитесь на странице: 1из 172

I C64 iVIC

TheCO ORE Computer Users' Monthly journal s;

INSIDE:

NEW COMMANDS FOR THE C-64


• VIC/64 LOADER FOR
THE PET
• MULTIPLICATION FACTS
ON THE VIC-2O

• VIC LETTER QUALITY


- PRINTING ON A BUDGET
> BOXED IN! FAST ACTION
GRAB
GAME.
DOS 5.1
64/WEDGE
ntroducing
Business Software
TRS-80™ (Model I, II, III, or 16)• APPLE"* IBM™• OSBORNE "• CP/M"1* ^OMMODORK 64

"he versaBusiness" Series


Each VERSABUSINESS module can be purchased and used independently,
or can be linked in any combination to form a complete, coordinated business system.

VersaReceivables1 $99.95 VersaLedger ir $149.95


VERSARECEIVABLES" is a complete menu-driven accounts receivable, invoicing, and VersaLedger Ii1" is a complete accounting system that grows as ycurbusiness
monthly statement gene rat ing system. It keeps track o( all information related !o who grows. VersaLedger IP" can be used as a simple personal checkbook register,
owes you or your company money, and can provide automatic billing for past due ac expanded to a smal! business bookkeeping system or developed into a large
counts. Versa Receivables- prints ai! necessary statements, invoices, and summary
reports and can be linked with VersaLedGER II" and VERSA INVENTORY ™.
corporate general ledger system without any additional software.
• VersaLedger H™ gives you almost unlimited storage capacity
VERSAPAYABLES™ $99.95 (300 to 10,000 entries per month, depending on the system),
VERSA Payables™ is designed lo keep track of current and aged payables, keeping you • stores all check and general ledger information forever,
in touch with all information regarding how much money your company owes, and to • prints tractor-feed checks,
whom. VERSA PAYABLES™ maintains a complete record on each vendor, prints checks,
• handles multiple checkbooks and general ledgers,
check registers, vouchers, transaction reports, aged payables reports, vendor reports,
• prints 17 customized accounting reports including check registers,
and more. With VERSA PaYABLE5™, you can even let your computer automatically select
which vouchers are to be paid- balance sheets, income statements, transaction reports, account
listings, etc.
VERSAPAYROLL™ $99.95
VersaPayrolL" is a powerful and sophisticated, but easy to use payroll system that VersaLedger IF" comes with a professionally-written 160 page manual de
keeps track of all government-required payroll information. Complete employee records signed (or first-time users. The VersaLedger If" manual will help you become
are maintained, and all necessary payroll calculations are performed automatically, with quickly familiar with VersaLedger II™, using complete sample data files
totals displayed on screen for operator approval. A payroll can be run totally, automati supplied on diskette and more than 50 pages of sample printouts.
cally, or the operator can intervene to prevent a check from being printed, or to alter
information on it. If desired, totals may be posted to the VersaLedger IT" system.

VersaInventory™ $99.95 SATISFACTION GUARANTEED!


Versa INVENTORY"" is a complete inventory control system that gives you instant access Every VERSA BUS IN ESS- module is guaranteed tooutperformall other tompetilr.esystems.
to data on any item. VERSA INVENTORY1" keeps (rack of all information related to what and al a fraction oil heir cost. If you are no I satisfied u-ith any VERSA BUS IN ESS"" nodule, you
items are in stock, out of stock, on backorder, etc., stores sales and pricing data, alerts may return it unlhin 30 days (or a refund. Manuals for any VERSABUSINESS'" module may be
you when an item falls below a preset reorder point, and allows you (o enter and print purchased for $25 each, credited loiuard a later purchase of thai module.
invoices directly or to link with the VersaReceivables™ system. Versa Inventory" prints AH CP/M-based Computers must be equipped with Microsoft BASIC
(MBASIC or BASIC-80)
all neeaed inventory listings, reports of items below reorder point, inventory value re
ports, period and year-to-date sales reports, price lists, inventory checklists, etc. To Order:
Write or call Toll-free (800) 431-2818
(N.Y.S. residents call 914-425-1535)

CQMPLJTRQNICS
* add S3 (or shipping tn UPS areas 1 add S5 to CANADA ot MEXICO
■ add M (or COD. or non-UPS areas * add proper poslage elsewhere

DEALER INQUIRIES WELCOME ■-"


All prices and specifications subject to change ' Delivery subject tc ability
50 N. PASCACK ROAD, SPRING VALLEY, N.Y. 10977
TRS-80 trademark Tandy Corp. - APPLE trademark Apple Corp. - IBM PC trademark IBM Corp. - OSBORNE trademark Osborne Corp. - XEROX :t ademark Xeron Corp. ■ KAYPRO It; demark Non-Linear
Systems. Inc. TELEV1DEO trademark Teleuidfo Systems, inc. SANYO trademark Sanyo Corp. -NEC trademark NEC Corp. - PEC trademark Digital Equipment Corp. ZENITH tradi-nark Zenith Corp.
' Tl PROFESSIONAL COMPUTER trademark Texas Instruments, Inc. ■ SUPERBRAIN trademark Interler Corp. ■ CP/M trademark Digital Research ■ EPSTON trademark Eps,m Corp.
cnmrn *
CDmPUTER HDUSE, inc.

ARCADE STYLE GAMES


• Supercuda*
• Pegasus Odyssey*
• Ape Craze*
• Escape MCP*
• Maelstrom*
• Firing Line*
• Pakacuda*
• Centropods*

HOME UTILITIES
• Home Accounting!
• Stock Accounting!
• Basic Toolst
• Multi-Level
Marketing Manager
(Direct Selling)!
EXCITING NEW • Cash Managerf
CONCEPTS IN
EDUCATION
• Toddler Tutor*
• Primary Math
Tutor*
• Math Tutor*
• English Invaders
Games*
• Sketch & Paint*

Serving the Needs of Commodore


Computers for Four Years. Call for
the Dealer or Distributor Nearest
to You.
cnmm *
CDETIPUTER HDLJ5E,

320 Summit Avenue


Milford, Michigan 48042
(313) 685-0113
t Commodore 64™ Arcade Style Games are High Res Full Machine Code.
vVIC 20™ Commodore 64 and VIC 20 are Registered Trademarks of Commodore Business Machines. Inc.
'Both
Look at these
Features
• Fully screen-oriented

• Horizontal and vertical scrolling

• Terminal mode — never seen before on a wordprocessor

• Supports Commodore disk and cassette handling

Imbedded commands

Wordprocessor
BLlZTEXTiia
trademark of ELCOMP
PUBLISHING, INC.

Com mod ore-64 and


VIC-20 are trademarks

for
of Commodore
Business Machines.

Commodore 64
Dealer and Distributor

inquiries are invited.

BLIZTEXT - SUPER WORDPROCESSOR THE GREAT BOOK OF GAMES, VOL.!, Hardware Add-Ons:
Parallel printer interface KIT Order #4990 S 19.95
for the Commodore-64 by Franz Ende
- ON SALE NOW! - 46 programs for the Commodore 64 Direct Connect Modem KIT Order #4991 Aik (.price
Introduction to graphics and sound. How to program Universal Experimenter Board Order #4970 S 9.95
• Fullv screen-oriented, up/down, left and right
your own games. Walking pictures, animation, high Expansion Board, space for four ex-
scrolling - Upper and lower case
• More than 70 commands resolution graphics, programming tips and tricks, hints perimenter boards(board only) Order #4992 £ 29.95
• Full I/O compatibility with Commodore peripherals and useful subroutines for the beginner and advanced
Upper and lower case programmer. This book is a MUST for every C-64 owner. For your VIC-20
• Works with practicallv every printer on the market, Come and get it - It's yours for only £ 9.95 Tricks for VICs fi 9.95
user definable printer control commands Order #182 128 pages S9.95 Universal Experimenter board
• INCLUDE command allows handling large files
Programs from the book on disk.
on up to 4 diskettes or on cassette, S19.95
Order #4988
• Build in terminal software for electronic mail and
networking. Telecommunications mode, upload and MORE ON THE SIXTYFOUR, by H.-C. Wagner
download, save on disk or cassette. How to gel the most out of your powerful Commodore
• Dynamic formatting. Imbedded commands 64. Very important subroutines, tricks and hints in
• Single keystroke for disk directory and error channel machine language for your C-64. How to modify DOS.
• Program comes on disk or cassette How to connect a parallel and serial printer. How lo
• Double line spacing, left and right margin justification, design your own terminal program for communication
centering, page numbering, and practically everything
and networking. Dig into I/O for cassette and disk.
one expects from a good wordprocessor.
Order #183 89.95
AVAILABLE NOW!
Order #4965 S89.00 Programs from the book on disk
Manual only (62 pages) S29.95 Order ==4989 S19.95
NEW PRODUCTS
MACROFIRE -
Editor/Assembler for the Commodore-64 Watch out for our new books, software and add-ons to

ON SALE NOW come soon. ON SALE NOW! - ORDER TODAY!


AVAILABLE IMMEDIATELY How to program in 6502 Machine Language on
One outstanding tool, consisting of 3 powerful elements your C-64 , by S. Roberts (Introduction)
combined into one efficient program! Order-#184 S12.95
1.) Fully screen-oriented Editor (more than 70
commands) Commodore-64 Tune-up, Vol. I, by S. Roberts
2.) Very fast assembler with macro capability How to expand and customize your C-64.
3.) Machine Language Monitor Order #185 «12.95
Assembly can be started from the editor. Translates in Small Business Programs for the Commodore-64
3 passes. More Than 1,000 tables, screen oriented/no line
by S. Roberts
numbers, scrolling, includes disk files.
How to make money using your C-64. Mailing list,
Practically everything the serious machine language
invoice writing, inventory, simple wordprocessing and
programmer needs everyday!
Manual only £19.95 much more.
Order #4963 S89.00 Orders 186 S12.95

HOFACKER
PAYMENT: check, money order, VISA, MASTER ELCOMP PUBLISHING, INC
CARD, Eurocheck, ACCESS, Interbank
53 Redrock Lane
Prepaid orders add £3.50 for shipping (USA)
£5.00 handling for C.O.D. Pomona, CA 91766
All orders outside USA: add 15 % shipping, Califor
Phone: {714)623 8314
nia residents add 6.5 % sales tax.
Telex: 29 81 91
The first program
you should buy.
The more you use your computer, the more you
want it to work for you.
But where do you begin? There are literally
thousands of programs. It's time consuming,
confusing and frustrating! The answer is to
begin with THE LAST ONE™.
THE LAST ONE... The program that writes
programs!
Now, for the first time, your computer is truly
'personal'. Now, simply and easily, you can
create software the way you want it.
From Accounting to the Zodiac, THE LAST
ONE puts you keystrokes away from whatever
you need from your computer.
THE LAST ONE... See it at your dealer
and buy it first!
Available for Commodore 64™, Commodore 8032™,
IBM PC™. Victor 9000™, Apple II™ and Me™, Radio
Shack Model II™ and most CP/M™ systems.
Distributed By

Computer
'/Marketing Services Inc.
300 W. Marlton Pike, Cherry Hilt NJ 08002 (609) 795-9480
Product of BLUE SKY SOFTWARE
■THE LAST ONE is a registered trademark or D. J. "Al" Systems, Ltd.
The Commodore 64 & CBM 8032 IBM PC Victor 900(1 Apple II & lie. Radio Shack Model IL and CP/M ore registered trademarks or Commodore Business Machine*
Inclntemational Business Machines Corp, VlctoT Technologies. Inc. Apple Computers, inc. The Tandy Corporation, and Digrfa! fiesearch Corp. respectively.

\
COMMODORE B4

software service
education - entertainment - word processing
telecommunications - business - technical

All programs tested and Send $2.50 for catalog


refined for the Commodore 64. Public Domain Software Service
$3 per program,- P.O. Box 1490
disk or cassette El Cerrito, CA 94530

Catalog charge applicable to first purchase.

Circle No. 138

Call for Clubs and Newsletters Directory


To be included in the future issues of the Commander Clubs and
Newsletters Directory, your club or publication must supply the follow
ing information:

1. Name of organization or publication


2. Mailing address
3. Contact person and telephone number
4. Name of newsletter or publication
5. Special interests

Send your information to Clubs and Newsletters Directory, Com


mander, PO Box 98827, Tacoma, WA 98498.

Commander—The Monthly Journal for Commodore Computer Users is published monthly by Micro Systems
Specialties, 3418 South 90, Tacoma, WA 98409. Domestic Subscriptions, 12 issues, $22.00. Second Class
Postage pending at Tacoma, WA 98143 and additional mailing offices. Postmaster: Send address changes to
Commander—The Monthly Journal for Commodore Users; PO Box 98827, Tacoma, WA 98498. Entire
Contents copyright © 1983 by Micro Systems Specialties. Ail Rights Reserved.
Info Designs
slashes the cost
of small business
accounting for the
Commodore-64
Now only
SJQ95

The power of Info Designs Manage


ment Accounting System is avail
able on the Commodore-64 in a full
and faithful version!

Thousands of these quality business accounting Flexible Design


software packages have been sold on the CBM The accounting system will work with one or two
computer at $595 each. Now, similar features are VIC-1541 disk drives (or 2031/4040 with IEEE
available to the small business user on the interface), 1525 printer, and color or b&w monitor or
Commodore-64 for $79.95 per module! TV.

Customer Support Plan


Select the accounting modules you need—
As part of Info Designs ongoing effort to provide the
• Accounts Receivable/Billing
highest quality microcomputer applications in the
• Accounts Payable/Checkwriting
marketplace, we offer an optional telephone con
• General Ledger
sulting service to support installation and ongoing
• Inventory Management
operations.
• Payroll
Order NOW...for immediate delivery
Our SoftPack combination contains the "Big-3" See you local Commodore-64 Dealer or call us
accounting—A/R, A/P and G/L—for only $239.85 directly at (313) 540-4010. MasterCard and Visa
Available for immediate delivery! accepted.

Info®ds0
6905 Telegraph Road • Birmingham. Ml 48010 • (313)540-4010
Master Menu
Article Guide Page No. Article

TELECOMMANDER
VIC-20 8 By Donald L. Stoner

THAT TROUBLESOME TIMES TABLE


V1C-20 12 By Dennis G. Smith

MULTIPLE MAILINGS
ViC-20 MADE EASY ON A VIC-20
16K Expansion 20 By Noel G. Biles

FIREBUTTON INPUTS
VIC-20 28 By James Pellechi

TELEC0MMANDER-P.8 ELECTRONIC BLACKBOARD


GENERAL 32 By Maryanne Dodd

COMMAND POST
VIC-20 36 By Jim Grubbs

DOS 5.1 WEDGE


C-64 42 By Larry Curran

HOW TIME FLIES


PART II: IT'S ALARMING
C-64 46 By Ian Adam

THE PRO GRAM


GENERAL 52 By Jerry Byrd

LOW COST COMPUTER FURNITURE


'FLASH CARDS"-P. 12 GENERAL 58 By Colin F. Thompson

SOME NEW COMMANDS


FOR THE COMMODORE 64
C-64 60 By Garry Kiziak

DATA ORGANIZATION
FOR THE VIC-20
VIC-20 72 By Arthur J. Dudley

VIC-20 AND
COMMODORE 64 LOADER FOR PET
GENERAL 77 By David A. Hook

BOXED IN
VIC-20 91 By K. T. Adkins

ELECTRONIC BLACKBOARD AN INTRODUCTION


TO ASSEMBLY LANGUAGE
P. 32
PART XI: THE DECIMAL MODE
VIC-20 94 By Eric Giguere

VIC LETTER QUALITY


PLEASE NOTE: Due to extensive re
PRINTER ON A BUDGET
sponsibilities as technical editor Colin VIC-20 110 By Jim Grubbs
Thompson's column titled "Living
THE CRITIC'S PAGE
With " will not be featured this month.
GENERAL 128 By Eric Giguere
Look for it again in the December issue.
VIC-20 144 VIC-20 PRODUCT SUPPLIERS LIST

COVER BY: Randy "Tarkas" Hoar


This seasonal cover depicts the use of Printers
and Graphics. As computer technology advances DEPARTMENTS
it is inevitable that some "hardware" will obviously 6 Editorial
become the proverbial "turkey" of history. 7 Letters
Commodore strives and provides the leadership 86 Bits & Pieces
in both hardware and software that insures lasting 132 New Products
quality and service. 156 News Releases
4/Commander October 1983
WotdSearch EL SpottSeardi K..., I fltwdcSearcfi £?„..
- : : . - ■ t m--I I IK^ilsV'-'iVrio ..
COLLECETEAM S v
IT ■ • T

For VIC-20 and Commodore 64


There are 374 letters on the screen. Concealed within are
20 words: 10 across and 10 down. You have 10 minutes.
When you've found a hidden word, it changes color. Every
game features a new screen. Over 300 different words and
thousands of new games possible. $19.95 on cassette.

3 categories: Capitals, Jumbled and Animals.

3 categories: Pro Teams, College Teams and


For VlC-20 and Commodore 64 Sport Games.
Now you have the power of a professional quality Check
h 3 categories: Home Video Games, Arcade
Register System. Maintain multiple checking accounts,
Video Games and Famous Video Game Characters.
complete with full checkbook reconciliation and 16 budget
categories. Change or delete any check, check or deposit
amount, or deduction and CheckEase! will automatically
update all balance figures. Review checks forward,
backward or by check number. Configure for RS232 or
compatable Commodore printer. Post checks as they clear
the bank. Upgrade data from cassette to disk. Print by
check number, category or if item is tax deductable.
Commodore 64 and VIC-20 users can even save months
worth of check data in a format compatable with
Commodore's Personal Finance package for later
analyzation.
For Commodore 64
Planet Earth is under attack by ruthless aliens who hurl
cassette (VIC-20 min. 8K),
heat missies at our polar ice caps. Will the Earth flood?
cassette: Commodore 64, As the orbiting Space Sentinel, the Earth's fate is up to you.
Atari 400®/800®/1200 XL® If you can hold out against the merciless attackers, Earth's
population will have time to escape and colonize a new
disk: Commodore 64,
home planet. Complete sprite & character graphics with
Atari 400®/800®/1200 XL®,
3-voice sound. $29.95 on disk. Joystick, Diskdrive
IBM PC, APPLE II/IIplus/He®
& Commodore 64® required.

AVAILABLE 4TH QUARTER 83

Available at finer Software Stores eveiywnere.


Or Call (213) 501-5845 for the name of your local dealer or distributor.

10902 Riverside Drive / North Hollywood, California 91602. (213) 501-5845


©COPYRIGHT 1982 PUB BY T&F SOFTWARE SPACE SENTINEL IS A TRADEMARK OF MEGAGEM. CHECKEASE IS A TRADEMARK OK C.MS SYSTEMS.
IfAICH SERIES ARCADKEARCH 'WORDSEARCH. SPORTSEARCH ARE TRADEMARKS OF GEORGE DENNIS. VIC-20. COMMODORE oj AND PERSONAL
FINANCE'AREREGISTERS TRADEMARKS OF COMMODORE COMPUTERS. INC. AND CREATIVE SOFTWARE. ATARI <I0O »00 1200XL AND IBM P.C. ARE
REGISTERED TRADEMARKS OF THEIR RESPECTIVE COMPANIES.
Editorial
Publisher
THOMAS L. ROSENBAUM
The Shakeout Continues
Editor-in-Chief
LINDA L. LINDEN The microcomputer industry is beginning to emerge
from its infancy and assume a respected position in the
Technical Editor business world. The glitter of the Apple success story
COLIN THOMPSON
has begun to fade and the reality of life in the fast lane
Dealer/Distribution has cut into the income of Bill Cosby and George Plimp
DEBBIE A. GABBARD, Manager ton as Texas Instruments and Mattell post whopping
PAULA M. ANDERSON, Assistant losses of 120 million and 160 million dollars respectively
in the first half of 1983. Only the Federal government
Sales/Subscription
ELIZABETH K. STEAN, Manager can absorb losses like that on a continuing basis and
CATHY A. SALZER, Assistant stay in business. Even solid-as-a-rock Atari has been
beset by financial problems and has been forced to
Advertising send its assembly operations offshore.
PATRICIA A. ANDERSON, Manager
Commodore itself has been forced to do some fast
Consultants cost-cutting and streamlining of its operations but still
GEORGE R. GAUKEL seems to be the healthiest of the companies competing
JOHN GABBARD for the low end of the personal computer market. I dis
HOWARD ROTENBERG
count Tandy Corporation because their share has drop
Design and Production ped substantially since they depend on their captive
CHRISTIAN'S GRAPHICS: distribution chain for their entire market.
TERRY D. CHRISTIAN, Director The tremendous success of the IBM PC computer has
K. MICHAEL SPOTTS, Associate
TERILYN M. AICHLMAYR, Coordinator
caused many people to re-think their position in the
computer marketplace since the PC is an expensive per
Typography by
sonal computer ($1,500) which has grabbed more than
ALPHA & OMEGA
20% of the total personal computer market. What will
Printed by happen if IBM takes a shot at the low end of the mar
GRANGE PRINTING
ket? We may soon find out when the $600 IBM Peanut
hits the streets and completes the transition of the per
COMMANDER is published monthly by:
MICRO SYSTEMS SPECIALTIES, P.O. Box 98827, sonal computer market from infancy to adolescence. It
Tacoma, Washington 98498 would not be surprising to see IBM end up with 50% of
COMMANDER MAGAZINE the market.
Regional Advertising Offices
Of all the competitors of IBM, Commodore is in the
Home Office, P.O Box 98827,
Tacoma, Wa. 98498. {206) 584-6759 best position to threaten the ascendency of IBM to King
Manning Company, 6628 Tam O'Shanter of Personal Computers. The pricing structure, market
Drive, San Jose. Calif. 95120. (408) 268-5649
ing prowess and quality products which Commodore
Garland Associates, P.O. Box 314 S.H.S.
Duxbury, Mass. 02331. produces, puts it in a strong position to challenge IBM.
(617) 934-6464 or 934-6546 Commodore weathered the Christmas 1982 price wars
Subscription Rates (U.S. Funds) Per Year better than the competition and istheodds-on favorite
U.S. $22.00 to come out on top again in 1983.
Canadian, Mexican 526.00
Surface Rates, Foreign $37.00 Commodore will assert its dominance of the low end
Air Mail, Foreign $75.00 personal computer market this Christmas and should
For back issues, subscriptions, change of address give IBM a stiff run for its money in the mid range mar
or other information, write to- ket when they introduce their 16 bit Z8000 machine.
COMMANDER
P.O. Box 98827 Any further price wars should only strengthen Commo
Tacoma, Washington 98498 dore's position and shakeout some more 100 million
(206) 584-6757
BACK ISSUES-
dollar losers.
2 months old —$4.50
Copyright© 1983 byMICROSYSTEMS SPECIALTIES
All Rights Reserved
Dear Editor: This will give you an idea of how the serial port. If it asks you for Commodore
I have a DMP-200 Printer (Radio various options look, and note the ones ASCII or normal ASCI, your response will
Shack), a Commodore 64 computer, CPI- you like for listing basic programs. depend on how you set the ASCII switch
Serial to parallel Interface (Micro Systems Onceyou have the hardware controls ofyour interface. You may also be asked
Development, Inc.), and a WordPro-64 switches set, then you need to look at the about linefeed option and again your
program (Professional Software, Inc.). software controls required for the various response will depend on howyou set up
What type of Interface (or Program printer options (I did not say it would be the printer and interface default modes.
Codes) do I need to "make it all" work? simple). You may need to run a smallpro As everyone tries to make their products
Very truly yours, gram before your application to set line as universal as possible, the problem is
lengths, character fonts and whatever. the multitude of options and duplications
Dennis Jackson
You can print these control codes from at the various levels. Ifyou setyourprinter
BASIC using strings that contain the con and interface to be compatible with
Dear Dennis: trol code and any necessary data. Here is BASIC, then your printer will probably
the first area we may encountersoftware operate with the word processor. You
I cannot give you specific answers to
incompatibility. The CPI may pre-empt should only have to set the printer up
your questions, as I do not have all the
some control characters for its own use. once. After that, the interface board swit
hardware, software and manuals sitting
Check the CPI manual to see if this oc ches and software options should be the
in front of me.
First, we determine if the printer and
curs. Ifso, then that code cannot be used ones getting all the use.
for printer control unless you are in the I hope I have got you started in the
interface are compatible. If the plug does
NORMAL CPI mode. As this is the mode right direction. There are many resources
not fit, then you have a re-wiring job on
you will want to use for wordprocessing, ifyou are still having problems. The local
your hands (best done by a technician). A
you should still be OK. sales/technical staff of your computer
call to my local Radio Shack Computer
You are now ready to try your word stores may be of some help. If there is a
Center has provided the information that
processor. Most good word processors computer club in your area, you may find
your printer is Centronics compatible. As
will have a command that allows format some aid there. The producer of these
this is the "standard" for parallel inter
ting and passing printer control com items may also be of help in resolving
faces, your configuration should work.
mands. This command will give you your specific problems. Normally, the
Most printers have switch selectable
direct control over all your printer device's manuals contain very specific
options as does the CPI interface. You will
features, and you will want to become technical data as to interface re
need to check the set-up portions ofboth
very familiar with it. There may also be quirements. These can be intimidating to
your printer and interface manual to
special printer control words in your a non-technical person who purchased a
assure the switches for both devices are
word processor for the Commodore system for word processing or business
properly set. Onceyou thinkyou have the
printers. In many cases, these commands uses. If this is the case, then you may have
printer and interface properly set up,
will cause something different to happen to impose on a friend or pay someone to
then run the CPI self-test. The self-test will
on your printer. A table made of your do the set-up. Ifyou purchased the items
tell you ifyou have a valid configuration.
printer control codes and of the Com locally ata computerstore, then the staff
If the self-test seems OK, then list a small
modore control codes (borrow a manual) will usually be very helpful. There are ad-
basic program (containing graphic
will show which commands may have a van tages to paying a little more ata good
characters and DATA statements) using
direct correspondence and which will be computer store. Also, perhaps one of
the different ASCII and LIST options of
translated to something else. your more technically inclined readers in
the CPI by doing the following:
Some word processors have a printer yourarea will contactyou to see ifyou still
OPEN4,4:CMD4
option menu at the start of the program. need help after press time. r_i
LIST
You will still want to select the serial op
PRINT#4,CLOSE4
tion as your interface is connected to the
Commander November 1983/7
TELECOMMANDER
— By Donald L Stoner

One of the questions frequently asked to the modem. This can be the first likely This makes a very simple but effective
by readers goes something like this, "I'm source of distortion or "garbage". If the form of error correction. When you send
getting a lot of 'garbage' when I go on modem is misadjusted, the tones it sends an A, you should see an A on your screen.
line with my XYZ modem. What causes out over the phone line may be inter If you do not, you know that some sort of
it?" Unfortunately, there is no stock preted by the host computer as some error has occurred.
answer which I can supply. Like most pro other character. If you understand the above explana
blems, one must look at it logically, sift By the same token, if the receiving sec tion, you can see how the various forms
through the clues, and try to eliminate tion of your modem is out of adjustment, of errors occur. It is a common problem
variables in order to determine the cause it may translate the incoming characters to for the user to see "garbage" characters
of the problem. something other than that which the host that he or she has typed yet, at the same
First, let's define the problem. Simply sent. Fortunately, there is a relatively easy time, to see correct characters that the
stated, "garbage" means that the way to sort out exactly what is going on. host originates (such as Please Enter Your
characters on the screen are not correct. To help you understand and analyze Name). Here's how this can happen.
However, when you are on-line there can the program, there is one technical Assuming the host equipment is O.K.
be two forms of "garbage". The first aspect of on-line communications you (and this may not always be a correct
form is incorrect characters typed. The should understand. When you press a assumption) there is usually only one ex
second case is incorrect characters that key to send a character, what you see on planation. The sending portion of your
the host (the computer you are "talking" the screen is not the character you sent, modem istheculprit.lt is actually sending
to) is sending. In severe cases, everything even when things are working right. the wrong characters and the host is
you see is "garbage". How can this be, you ask? simply echoing what it receives.
Let's say you want to send the letter A. In most cases you are operating in full If some of the characters you send, as
First, you obviously press the A key. The duplex. Here's what happens. The well as some of the host-originated
terminal program must translate the character you send is received by the host characters are garbage, it could either be
Commodore code for the letter A to the computer modem. It transfers the caused by the receiving section of your
standard ASCII code for the letter A. It is character it believes you sent to the host modem or it could be the result of an ex
possible for the terminal program to computer. The computer does some tremely poor telephone line. How do you
scramble characters, particularly during a thing with the character, of course, but it resolve this conflict?
development stage. However, if the pro also sends it back to the modem which The answer is by substitution. In this
gram has been working in the past, it retransmits the character to you. Thus situation, you must have a friend or ac
isn't very likely that the culprit is software. when you send a character, it makes the quaintance who also has a telecom
The computer sends the code for the complete round trip to the host and back munication setup. Take your modem to
letter A in the form of a serial data stream and then appears on your screen. the friend's house and try it on his in
8/Commander November 1983
CodePro-64 NEW! For the Commodore 64 TM

[Overview I
0 — Using CodePro-64 ANNOUNCING
1 — CBM-64 Keyboard Review
BASIC Tutorial
2 — Introduction to BASIC
3 — BASIC Commands

CodePro-64
4 — BASIC Statements
5 — BASIC Functions
Graphics & Music
6 — Keyboard GRAPHICS
7 — Introduction to SPRITES
8 — SPRITE Generator
9 — SPRITE Demonstrator
A — Introduction to MUSIC
B — MUSIC Generator
C — MUSIC Demonstrator
A new concept in
interactive visual
lMIl]
K — Keyword Inquiry
R — Run Sample Programs

SELECT CHOICE OR HIT SPACE FOR DEFAULT learning...

Now you can learn to code in BASIC and develop CodePro-64 lets you follow your interests and prac
advanced programming skills with graphics, sprites and tice with interactive examples. But you can never get
music—visually. You learn by interacting with CodePro- "lost". Fi will always return you to the mam menu. Once
64, a new concept in interactive visual learning. you have practiced and mastered the BASIC language
elements you move on to more advanced concepts You
SEE PROGRAM EXECUTION
learn about sprite and music programming.
Imagine actually seeing BASIC stalements execule.
CodePro-64 guides you through structured examples of SPRITE GENERATOR & DEMONSTRATOR
BASIC program segments You enter the requested data CodePro-64's sprite generator (els you define your
or let CodePro-64 do the typing lor you. (it will not let you own sprites on the screen You learn how to define sprites
make a mistake.) and what data values correspond to your sprite defini
tions. (You can then use these values to write your own
Alter entering an example you invoke our exclusive
programs.| You can easily experiment with different defi
BasicView" which shows you how the BASIC program
nitions and make changes to immediately see the effects
example executes.

You step through and actually see the execution of


sample program statements by simply pressing the space 1 3 ', MJ!llia«»ll!MIII:l DATA
bar. CodePro-64 does the rest. 1 JLX XX XXXX XXXXX XXXXXX XXX) 2S5.2SS.IS5
128.0.1
:::::::::::::::::::::: 128.0.1
You see statements with corresponding flow chart E 128.0.1 Our music demonstrator lets you experiment with var
HP HPxxlP S 128,24.1
graphics and variable value displays. You learn by visual HP HPxxlP 128,24.1 ious combinations of music programming parameters
examples 53.. 128.20.1 and hear the results You can quickly modify any of the
HW HWxxxxH 128.60.1 __
mi HBxxxxP 1 138,60.1 i . i SID register values to hear the effects of the change, For
HH Mfxxxxxx. D 12B.12E.1 Li, example, you could easily change waveform and attack/
FM MXXXXXX; 12B.126.1 I'M

ma ™1
HH Hrxxxxxxxx I2U99.1 decay values while holding all other SID values constant
■HJxfiB ixxi ■ an... 133.60.U1
^HxxIMxxxxI 1 134.G0.97 By seeing your input and hearing the result you quickly
1 i-.rrr - YA'JfA . . .. VifA. . . ►«>;<. r. i 5 142.24,113
. . .ITm i,. .Pm- ffffjl. . , f learn how to create new musical sounds and special
IJ!.|"»JiH.I ! 142.24.113
1■'"H" ■■'-'■'■■ ft,,,, jj 132.0.33 sound effects.
05...
- . rQ 1/ f 132.0.33
128.0.1
10 FOR 1= 10 TO 20
STEP 2 :::::::::::::: :;;:;::i 128.0,1 AND MORE...
jtx xx xxxx xxx xx xx xxxx x xx > 2SS.2S5.IS5
20 J = 2*1 We don't have enough space to tell you everything
EK*TT5T»I
40...
I
R0W=EB COL-ED DATA=Q CodePro-64 oilers. You need to see lor yourself BASIC
^l>20^ Jf
L
F1=MAIN F3-CURREWT FS=NEXT F7-PF F8-PB :
tutorials, graphics, sprites, music, keyboard review, sam
ple programs—the mam menu shown above gives you
just a summary of the contents of this powerful educa
We also help you learn to program with sprites by giving tional product
CURRENT VALUES
you a sprite demonstrator so you can see the effect of
changing register values. You can experiment by moving Whether you re a beginning programmer or an experi
j . ED EM*
your sprite around in a screen segment, change its color enced professional, CodePro-64 will help you improve
■ fn^im »if:«■■«■ h ; i i.i.niniaiii
or pnorily. and see the effects of your changes. You learn your Commodore 64 programming skills. We're sure
Fl^MAIN F3=CURRENT FS=NEXT F7=PF Fl-PB J by visual examples because CodePro-64 was developed by a team of two
professionals with over 25 years of software development
MUSIC GENERATOR & DEMONSTRATOR experience.

EXTENSIVE TUTORIAL To teach you music programming CodePro-64 gives CodePro-64 is a professional quality educational pro
CodePro-64's extensive tutorial guides you through you an interactive music generator and demonstrator. gram for the serious student of personal computing And
each BASIC command, program statement, and function First we help you set all your SID parameters (attack/ il's lully guaranteed. Order yours today
You get clear explanations Then you enter program decay, sustain/release, waveform, etc). Then you enter
statements as interactive examples. Where appropriate, notes to play and we show your tune graphically as it HOW TO ORDER

you invoke BasicView to see examples execute and plays, rote oy note, on the scale You learn oy seeing and Order your copy of CodePro-64 today by mail or phone

watch their flow charts and variables change. hearing the results of your input. Send only $59.95 plus $3.00 shipping and handling to:
SYSTEMS MANAGEMENT ASSOCIATES
By seeing graphic displays ot program segmenl execu- 3700 Computer Drive, Dept. CM
lion you learn Dy visual example. You learn faster and Raleigh, N.C. 27609
grasp programming concepts easier with CodePro 64 OUR GUARANTEE
Please specify tape or diskette version MasterCard/
because you immediately see the results of your input. We guarantee your satisfaction. You must be VISA accepted. For faster service on credit card orders
satisfied with CodePro-64 for the Commodore- cali(919)-787-7703.
You control your learning. You can go through the tutor-
64. Try it for 10 days and if for any reason you are
al sequentially, or return to the main menu and select Commodore 64 is a trademark of Commodore Business
not satisfied return ft to us (undamaged} for a full
different topics, or use keywords to select language ele Machines. Inc.
refund. No risk.
ments to study You can page back and forth between Arj no. 733, Copyright 1983, SMA
screens within a topic at the touch of a function key, Dealer inquiries invited.

Circle No 61
transmission. For example, even at 300 cated by a few missing characters at the set (the printer is ready for a character), the
baud, it is difficult to use Sprint and MCI beginning of a print line. One obvious value will be zero and the program passes
lines for data communication. case is when the print head is moving through the line 430-440 loop. If the
Obviously, if you still have "garbage", from right to left (the carriage return, as it printer is busy, the program will loop
the culprit is the modem. If the friend's is called). During this period, the printer is around these two lines.
modem works with the same equip said to be "busy". The printer will not ac If the printer is not busy, the program
ment, telephone line and software and cept characters at this time and they will proceeds to line 445 and sends the
yours does not, there cannot be any be lost from the print line. character out to the modem for printing.
question where the fault lies. At this The printer must signal the busy condi The for-next loops are completed in
point, your next problem solving exercise tion to the computer in order to tell it to line 450 where each character and each
is to figure out how to get the modem stop sending characters. This is done over line is printed in turn. For example, the
repaired. This may prove to be the a wire from the printer by means of hand NEXT P takes the program back to line
toughest problem of all! shaking. When the printer is no longer 410 where the next character in the string
In most cases, you cannot get a busy, the handshaking or busy wire is selected for printing.
schematic of the modem. It is usually signals the computer to resume sending To use the program, select #1 at the
necessary to send the modem back to the characters to it. menu. Enter the text when you see the
manufacturer for repair. The Federal cursor. Note particularly that the printout
The program shown in Figure 1 works in
Communications Commission holds the portion of the program does not do any
the following manner. Line 5 opens and
manufacturer responsible for the correct formatting. Thus, the lines will be printed
initializes the port to the modem. The (40)
operation of the modem. Thus, most just the way you enter them. However,
sets the baud rate to 1200 and the (96)
manufacturers are quite sensitive about with a little use you can become quite
enables a 7 bit word with even parity. If
who is poking around the "innards" of proficient with this program. For ex
you care to take the time, you can see how
their device. ample, let's say you wish to printout a let
these numbers were arrived at by looking
Auto Print Modem-The Microperi- ter. By entering text that is approximately
up the section on RS-232 in the Com
pheral Corporation has just introduced a two screen lines before you press the
modore Programmers' Manual. The (14)
new product that will be of interest to RETURN key, your letter will be approx
switches the computer to upper/lower
those of you who do not already have a imately 44 characters per printed line.
case mode. The dimension statement per
modem. The device, called an Auto Print You can set the left margin by the way
mits 50 lines of text to be entered. This
Microconnection will allow your VIC or you position the paper in the printer.
number may have to be decreased. If you
C-64 to autodial or autoanswer the Once you have completed entering the
are entering a lot of long lines you could
telephone. The most unusual feature is a text, press the up arrow and the RETURN
run out of memory. By the same token,
printer port that will allow your computer keys. This will take you back to the menu.
the dimension statement can be increased
(via the modem) to interface with any Selection #2 will permit you to review
if you have more memory than is available
common Centronics compatible printer the lines of text. If the line is O.K. simply
in an unexpanded VIC. A GOSUB, at the
such as the Oki, Epson, Star, Banana and press the RETURN key. if there is a typo in
end of line 5 jumps to the translation table
so on. In the on-line mode, the printer will the line, or if you wish to revise it for any
initialization at line 1000. The table con
type out whatever appears on the screen reason, press any other key and you will be
verts the Commodore character set to
without the need for buffers, etc. Off-line permitted to enter a new replacement
standard ASCII.
the interface will allow one to "dump" line.
Lines 100-140 generate a simple menu
text or listings to the printer. When you are satisfied with the text,
which permits selection of generation
The program shown in Figure 1 was and are ready to print it, make sure the
(prepare), revision (preview) and printout
found in the manual for the Auto Print printer is connected and select #3. The
(print). Text entry takes place between
Microconnection. It permits the VIC-20 or lines of text will immediately start appear
lines 200 and 230. The strange symbol in
C-64 owner to "dump" text from their ing on the printer.
line 220 is the up arrow key (not the cur
computer to a printer, via the Auto Print You can adapt the program to drive a
sor control) on the Commodore.
Microconnection. serial printer connected directly to the
The text which you have entered can
user port. In other words, you do not
The program is very basic but it does il be reviewed and/or corrected in lines
need to have the Auto Print Microcon
lustrate how the data is routed to the 300-390. Finally, lines 400 to 460 do the
nection to use the program. If the printer
printer and how the handshaking feature actual printout.
works. There are also a couple of clever
has a handshaking line, it should be
Variable N, in line 400, selects the string
wired to pin L of the user port connector.
routines that may be of interest to Com which represents each line of text. Thus
If the serial printer has no handshaking, it
modore owners, even if they do not own the first for-next loop runs through the
an Auto Print modem. These routines can text lines. The second for-next loop selects
will be necessary to reduce the baud rate
certainly be adapted to other programs.
(and therefore the printing speed) below
each successive character of the string.
By the way, handshaking may be a that which causes the printer to drop
Line 410 designates this character as T$.
new and unfamiliar term. It is a relatively characters. This is accomplished by
Lines 430 and 440 are very important. This
common term in connection with reducing the CHR$(40) in line 5 to a 38
is the handshaking provision that was
(for 300 baud) or lower.
printers. There are times when a printer mentioned earlier. The two fines check to
has received all the characters it can han
If you would like additional information
see if the printer is ready to accept a
dle and does not want any more. If the on the Auto Print Microconnection, con
character. Here's how it works. The Auto
computer continues to send characters, tact Ms. Noreen Scott, Marketing Direc
Print Microconnection sets the most
they will cause the printer buffer to significant bit if the printer is busy. Line
tor, The Microperipheral Corp., 2565
overflow. Generally, this condition is indi- 152nd Ave. N.E., Redmond, Wa. 98052n
430 assigns this bit to variable H. If it is not
10/Commander November 1983
Figure 1 5 OFEN2,2,3,CHR*(40)+CHR*<96>
tpRINTCHR$(14):DH1B*<5e>:GOSUB1000
10 C$=CHR*<JK7):PRINTC*+" MINI-WORD"
PRINTSPC(7)"1- PREPARE"
110 PRINTSPC(7)"2- PREVIEW"
120 PRINTSPC(7)"3- PRINT"
130 INPUT-SELECTION";X
ONXGOTO200»300»400
200 PRINTC*sFORtt-lTO50
210 INPUTB*(H)
220 IFB*(M)="A"THEHn=M-l:GOTO10

230 NEXTM
360 FDRN=1TDM
NOTE that lines 5 and 1030 are continu PRINTC*+B$CN)
320 PRINT;PRINT"RETURN FDR NEXT LINE"
ous. They have been printed here to pro
330 GETA$:IFA$=""THEN330
duce the listing in columnar form.
340 IFA*«CHR*(13)THEN3B0
350 INPUT"NEU LINE";B*<N)
380 NEXTN
390 GOTO10
400 FORN=lT0niF0RP=iT0LEN(B*CN))
410 T$-PtID*<B*(N),P»i)
H=PEEK(37136)AND128
440 IFHO0THEN430
445 PRINTH2fCHR*(0Z(ASC(Ti)>);
450 NEXTPSNEXTN
460 GQTO10
1000
1020
F0RZ^65T090 t Y=2+32 : 07. ( Z) =Y '- NEXT
JF0RZ=9iT095:0YA2 )=Z* NEXT
FORZ-193T0218;Y-Z-12SsOZ(Z)==Y;:HEXT:RETURN

Open your mind


WANTED!
Game Personality
"*Hy notist
Analyzer
Programmers

Enter your original


Recreational Listings to
COMMANDER and receive
CASH
MERCHANDISE
PEER RECOGNITION Reveal secrets of the mind. Behavior Modification.
Use your Commodore 64 system to Use your Commodore 64 system to
analyze yourself, your spouse, your change your behavior patterns
Enter as many games as you date, relatives and friends. Discover through computer hypnosis. Discover
your personality type, career
like: Submit your game(s) on how to communicate with yourself, on
potential, behavior tendencies, a conscious and subconscious level.
cassette tape or disk to values, and the people with whom you Program your own post-hypnotic
Games, Commander Maga will be most compatible. This program suggestions. The PSI Biofeedback
requires the use of a "joystick". Device is Included with this program.
zine, P.O. Box 98827, Tacoma, Price $32.95 Disk (S27.95 Cassette). Price $87.95 Disk ($79.95 Cassette).
WA 98498.
Get this software r: psycom
2118 Forest Lake Drive
at your focal dealer i. " SOFTWARE Cincinnati, Ohio 45244 USA
INTERNATIONAL
*■■■• ■■*■

or order direct from: Telephone: 513 474-2188

Circle No. 35
~ by Dennis G. Smith !

ELECTRO FLASH 9

1 REM DENNIS G. SMITH


5 ^=36878:53=36876:R=60:CH*= "HERB SOWBEL
LY
6 CO=38720:SB=36879
9 POKESB,175:52=36875
18 T*C1>="228622352251225322 1320 969990"
1 1 TS-::2> = " 2092269 12092209 126 922891209328
75 209121569996"
12 T*<3)="219321922191219121 712191221321
92 219121522151215121212151219326 939996"
13 T*<4)-"232122812212221222 122151209122
I originally wrote this program for a
112252219122139990"
few kids in my 7th grade math class who
were having trouble with the multiplica 14 T*(5>="26 9626 322012209222 122252228822
tion and division algorithms. Most kids 18 999y»
know the multiplication facts well by the 15 T*(6>="20 3221522214221422 142214221622
7th grade, but there are always some 9222169990"
who do not. I wanted to create a pro 16 T*<?>=u 187820142694215620 1221589990"
gram that could maintain their interest 17 T$< 8)="209220122694209220 122694269220
while it was drilled into them. 12209321512092261220939996"
This has been my most popular pro 19 PRINT"a333H ■";
gram. Even kids who have mastered the
20 PR INT"3 MULTIPLICATION FACTS i"j
multiplication facts choose this program
25 PRINT"0 * " ;
to race the VIC clock or become the daily
30 PRINT"S ELECTRONIC FLAS H S»i
champ. Of course there are always kids
who play it to find out how many differ 31 PRINT"0 CARD ■-;
ent tunes it can play or to see the extent 35 PRINT"0 ■"

of its name-calling. I have given this pro 36 PR-INT"33 E1X1 TO 9X9"


gram to other teachers and even parents 40 PR I NT" 3333111131)11 PRESS ANY KEY"
who have heard about it from the kids. It 50 GET M*!lF MS='lI1THEN 50
is the best method I know to inject the 51 P0KE36379,28: PRINT"333 TYPE IN YOUR
multiplication facts into willing or stub NAME,"
born brains. 52 PRINT" AND PRESS -'RETURN'' .3"
I call this program ELECTRO FLASH 9,
53 INPUTNA*
and it runs on the unexpanded VIC. ELEC
TRO FLASH 9 teaches and reinforces the
12/Commander November 1983
w

The world may be short of oil. And short of jobs. But there's no shortage of entertainment.
Arcades. Movies. Amusement parks. TV Concerts. Records. You've got your choice. And every day,
more of you are choosing HesWare™computer games.
That's because only the best games earn the HesWare title. Tough, challenging, arcade quality
action games like Gridrunner™ Predator,™ Retro Ball,™and Robot Panic!"
Mind-bending strategy and role playing adventures
like Pharaoh's Curse™ and Oubliette™
Zany new titles that have to be seen to be believed.
Would you believe Attack of the Mutant Camels™??
You don't need an expensive computer to enjoy CUSiOITICI!
HesWare action, either. HesWare programs are available
on cartridge, diskette or cassette for VIC 20™ Commodore 64™
Atari® ana IBM® personal computers.
When you pick up a HesWare game, you know it's ready
for the toughest test of all: beating out the tough competition Human Engineered Software
for your attention. 150 North Hill Drive
Brisbane, CA 94005
HesWare games. Just one of the ways HesWare is 800-227-6703
expanding the computer experience. Look for them at your (in California
800 632-7979)
favorite software retailer. Dept. C20
ViC 20 and Commodore 64 are trademarks of Commodore Electronics Ltd. Atari is a registered trademark of Atari, Inc.
IBM PC is a registered trademark of International Business Machines. Pharaoh's Curse is a trademark of Synapse Software.
Oubliette is a trademark of ISA Software.
learning of multiplication facts (times
table) from 1 x 1 to 9 x 9. Randomly 60 P0KE:j6:d7v ,27
chosen problems are flashed to the screen 6 1 PRINT"333 S DIRECTIONS ■"
one at a time. Answers are typed in from 78 PRINT"3 TYPE IN THE ANSWER TO";
the top row of numerical keys only (no 75 PRINT"EACH PROBLEM"
"return" needed), so the faster a problem
80 PRINT"3 THE COMPUTER WILL"
is answered the faster a new problem ap
35 PRINT"TIME HOWLONG IT TAKES";
pears. The user is timed for 25 problems. A
90 PRINT"YOU TO DO 25 PROBLEMS"
wrong response interrupts the game to
call the user a name (chosen randomly 95 PRINT"33E THE TIMER STARTS WHEN";
from 9) and then yields the correct answer. 188 PRINVYOU PRESS 'RETURN"11
The program automatically records the 110 PRINT"3333 GOOD LUCK"
person with the fastest time as the champ. 120 GETM*:IFM*=""THEN 128
Afamiliartune is played (chosen randomly 138 TI*-"008880"
from 8) atthe completion of 25 problems. 140 PRINTS"
You can grade players according to the 150 W=8:P=0
following table:
Seconds Grade 239 A=INT< 1 + ?*RND<; 1) >
34 or less champion material
246 B=INT< 1+?*RND< 1) >
35 to 44 excellent
250 AC=A*B:P=P+1
45 to 49 good
360 IF P=26 THEN 719
50 to 60 fair
more practice needed 383 POKEV,15
61 or more
384 FORL=240TO250STEP.7:POKES3,L:NEXTL:P
MULT FACTS QUIZ 0KElvl,8 :POKES3,0
I wrote the complementary, MULT FACTS
387 PRINTS"
QUIZ, for myself. I use it to find out which
33S PRINT TAEK5)"33333333";A;"X";B;"= ?"
students need more work with multipli
cation facts. This program is a teacher's
classroom tool for testing and recording 389 IF AC<10 THEN 448
retention of the multiplication facts. Pro 390 GET T-£:IFT*=""THEN398
blems are flashed to the screen and 408 IF MAL<T*)OINT<AC/18) THEN 461
answers are entered as in ELECTRO 410 GET N$:IF N*="" THEN 410
FLASH 9, but the computer's responses 42tf I F'-. AC-UALCN*> > / ( 18*UAL <T*> ) = 1 THEN 2
to user input are replaced by data display 38
for the teacher. When a student com 421 GOTO 461
pletes a set of 25 randomly generated 440 GET N*:IF N*="" THEN 448
problems, the program stores the stu 458 IF MALCN*>«AC THEN 238
dent's name, time (seconds), and
461 POKEMj15:P0KES3,168
number correct in a list which can be
462 FOR L=l TO 438:NEXT L
viewed by the teacher at any time during
463 POKEM,0:POKES3,0
the run. About 58 names can be stored
on each run of the program. The pro 464 P0KE36879,26
gram allows the quiz results to be dis 470 PRINT"a33 YOU MISSED IT"
played bya printer oron the screen. With 488 X=INT< i+9XRND< 1)5
this program a teacher can give a test, 498 ON X GOTO 508,510,528,530,558,560,57
correct it, and record student perfor 81
mance simply by allowing each student a 58 8 PR INT"3 BEAN BRAIN":GOTO 598
turn at the computer. MULT FACTS QUIZ 510 PRINT"3 DIP STICK":GOTO 598
also runs on the unexpanded VIC. ~
528 PRINT"3 HORSE BREATH"iGOTO 596
538 PRINT"3 TURKEY LIPS":GOTO 598
550 PRINT"3 BOZO":GOTO 598
568 PRINT"!! BIMBO":GOTO 590
576 PRINT"3 BULWINKLE":GOTO590
580 PRINT"3 FOOLISH FROG":G0T0598
581 PRINT"3 TWINKLE TOES":60T0598
598 PRINT"33333 " ;A;"X";B;" = ";AC
600 PRINT-3333TYPE "Yv FOR 25 MORE."
685 PRINT"3TYPE -'C TO CHANGE" : PRINT" PLA
YER:
ii

Continued on page 16

14/Commander November 1983


NOW MAKE YOUR COMPUTER SYSTEM VIDEO INTERACTIVE
WITH A PROMETHEUS INTERFACE FROM VIDEOBOOK
1
VIDEOBOOK T.V. SET or
COURSEWARE VIDEO MONITOR
VIDEOCASSETTE

PANASONIC
6500 VCR

COMMODORE™
FLOPPY DISK
UNIT

VIDEOBOOK
VIDEOBOOK
PROMETHEUS 1™ COURSEWARE
INTERACTIVE FLOPPY DISK
MODULE

VIDEOBOOK COMMODORE 64™


COURSEWARE or VIC 20™
TEXT

PROMETHEUS
INTERACTIVE COMPUTER/VCR INTERFACE
The Prometheus 1™, Videobook's new Interactive Computer/VCR
Interface, turns your Commodore 64™ or VIC 20™into an automated
programmable video indexing controller for a fraction of the cost of any
comparable system. Make your VCR roll to any point or sequence of
points on a videotape according to programmed instructions via floppy
disk, audio tape, or a chain of typed-in commands. It can be used as
a frame-by-frame computer-graphics video animation controller, or as
an automated computer signing device for storing audio-visual messages
on videotape. But, best of all, when used with videobook's incredible

95
new Comp-U-Tutor™ Authoring System program, you can easily

$49.
create you own interactive computer/video educational courses or sales
presentations, capable of responding to inquiries or answers to pro
grammed questions with selected video segments.
Videobook also offers a full line of pre-packaged educational
couseware on a variety of subjecls, authored by leading experts in their In October these new interfaces will be made available: The Pro
fields. See our catalogue. metheus 2™ for the Commodore-VIC/Pioneer 1100™ Laser Disk
The Prometheus 1A™ interface is compatable with the Com Machine; the Prometheus 3™ for the Commodore-VIC/RCA CEDTU
modore 64, and the Prometheus 1B™ with the VIC-20. Both can be Interactive Disk Machine; the Prometheus 4™ for the APPLE™COM-
used with any consumer VCR that is equipped with a 5-pindin remote PUTER/PANASONIC VCRs. Mod kits and interfaces for other computers
port {Panasonic™ Portables of the 5,000 and 6,000 series, the 1720 are currently under development. The Comp-U-Tutor Authoring
standard model, the Magnavox 8420 BK,1U and the Hitachi 19B™). System is compatable with all prometheus interfaces.

For more information on the Prometheus Interfaces and


the Comp-U-Tutor Authoring System, send for our free
SEND TO:
literature package. Or send cashier's check, personal check P.O. BOX 19597
or money order for: The Prometheus 1 Interface . . . S4995
-t- S435 shipping. Videobook Computer/Video Interactive SEATTLE, WA 98109
Educational Coursewares and Entertainment
Catalog . . . S149es + S500 shipping. Send name and ad
OR CALL:
COMPUTER/VIDEO/PRINT COMMUNICATIONS &
PRODUCTS FOR HOME. OFFICE AND INDUSTRY
dress. Include your Commodore or VIC serial number and (206) 282-3636
receive a free full-color Prometheus poster. Please allow 6
to 8 weeks for delivery. Wash. State Residents add 7.9% sales
Circle No. 86 tax.
Continued from paqe 14

6 10 PRINT"3TYPE Q' TO END THE11 : PRINT1' PR


C6TRAM."
620 GET M*: IF M*=11U THEN 620
630 IF M*="Y" THEN 60

635 IFM*="C"THEN51
640 IF M$="Q" THEN310
641 60T0628
76 9 M= INT(RND( 1> *8+ 1 > N=0:T=40
702 N2=VAL<MID*(T*<M) ,4^N+ 1,3))
703 NB=UAL(MID*(T*(M> 4sN+4, 1>)
764 IFN2=999THEN780
705 POKEU,15:POKES2,N2
766 FORI=1TONB*T:NEXTI
708 POKES2,0
789 N=N+1:GOTO70 2
7 19 D=TI/6U:IFR>DTHEN785
720 POKESB,185:PRINT"333 YOU HAME ANSWER
ED 25"
721 PRINT"PROBLEMS CORRECTLY AND";
PRINT"IT TOOK YOU EXACTLY":PRINT
732 PRINTD;" SECONDS"
750 PRINT "gBTODAyS RECORD I
5 Proerami

0nOneCassctte 760 PRINT R;" SECONDS"


SI 9.95'
add $1.90 postage &
765 PRI NT"3 TODAY-S CHAMP IS..."
money w_ handling
766 PRINT CH*sGOTO700
ORDER TO: VICTRIX & CO.
P.O. Box 12232 780 PRINT"3333BBBHPRESS 'RETURN'
Boulder, Co. 80303
781 GETM* !FM*=U"THEN781
'Colo, residents 782 PRINT1S" :GOTO600
add sales tax
785 R=D : Cl
Circle No. 153
7S6 PRINT a3 CONGRATULATIONS"
787 PRINT 33 3 YOU HA'v'E SET A NEW"
783 PRINT"RECORD..
789 PRINT"33";R;" SECONDS"
791 PRINT"33333333BBBBPRESS ' RETURN' :G
FREE CATALOG !
OSUB900
HOME, EDUCATIONAL, AND
795 GETM$:IFM$=tl"THEN795
BUSINESS SOFTWARE
799 PRINTna":GOTO600
FOR THE VIC AND 64
800 REM END PROGRAM
810 P0KE36879,27:PRINT"3"
New Items....
Mailing List/64 Disk features sort
820 PR1NT"3333 iTHE ENDS"
ing and mailing labels. $16.00 330 PRINT"32lH3£i£lELECTR0 FLASH 9"
Typing Practice improves typing 340 PRINT" BY"
speed and accuracy. 64/dish $8.00 845 PRINT" D.G.SMITH"
VIC/TAPE $6.00 850 END
90 0 PQKEV, 15
Over 50 other titles! 910 FOR L=1TO10
Low-Priced! Practical!
926 FOR M=1S0TO 235 STEP
Put your VIC or 64 to work with
930 P0KES3,M
quality software from
940 FORN=1 TO 10:NEXTN
Farthest Fringe S.A. 950 NEXT M:POKES3,0
101 Highway Blvd.
960 FORM=1TO100:NEXTM
». Pekin, IL 61554
970 NEXT L:POKEV,0
980 RETURN
Circle No 131
READY

Continued on page 18

16/Commander November 1983


IF IT'S FOR THE COMMODORE 64
AND IT'S GOOD, IT'S PROBABLY

MANAQEMEIMT SYSTEM B4 STUDIO 64 SERIES


This integrated business program gives you the computer power Anyone can now create music as beautiful as Che most advanced
once reserved for large corporations. Capabilities include invoicing, programers could one year ago!! Just play and the computer will

inventory control, and customer mailing hats. Disk S79.95 instantly wnte the music on the screen. Included are powerful
features like bbck move, single note editing and scrolling. It wll save
FINANCE CALC B4 and recall, add music to your own programs and print lead sheets.
The leader m home and business financial analysis. You can have Disk S39.95
up to 1-a^O itemized expenses end print 1OB5 different financial
reports and bar graphs. In addition, it keeps and compares as FAMILY PAK (3 in 1J [ALL] S55.95
moiy as 12 budgets at once, Disk SBS.9B Thiree of tlie finest home programs available:

• CHECKBOOK EASE B<3


□ ATA BASE 64
Handles over 13DO transactions. Pnnts statements, and all types
A perfect record system for any business or home. It can store
of cnectes. and 4Q expense categories. £39.35
up to 12OO records and tras up to 2O f lelcs for each one. A special
■ RECIPE KEEPER
label and repor-t designer is included. It can also merge witn popular
Searches by ingredient, category or name. Calculates
word processors. Disk SS9.9E
measurements for different serving amounts and prints copies.

GAME DESIGNER Q4 • SPACE MATH 64


Use to animate 1B spntes and design colorful background screens. Learn math, explore the universe, dance to the music and watch
Several game sub-routines included. Disk $35.95 the show.

BABIES OF THE DIRT

An earthquake sucks you to the center of the earth. To escape


you must battle the BABIES OF THE DIRT. But. don't miss or its
doomsday! Watch out for their mother. S39,9b

NOTE: PROGRAMS ARE COMPATIBLE WITH ALL PRINTERS AlsO UTILIZE FULL-SCREEN PROCESSING.

P.O. BOX 881, SUN VALLEY, CA 51353 • [213] 768-6648

GET THE BEST FOR YOUR COMMODORE 64


BUSINESS EDUCATIONAL ENTERTAINMENT
* FINANCE CALC 64 • Disk $55.95 HUNDREDS MORE AVAILABLE * STUDIO 64 (MUSIC MAKER) • Disk & Cass. $35.95
* DATA BASE 64 • Disk 59.95 SNOOPER TROOPERS I, II ■ Disk S29.95 • BABIES OF THE DIRT • Disk 27.95
* MANAGEMENT SYSTEM B4 • OiSk 45.95 KINDERCOMP • Disk & Crt. 19.95 * GAME DESIGNER • Disk & Cass. 25.95
' FAMILY PAC 54 (3 in 1] • Disk IN SEARCH OF MOST AMAZING THING • Disk 26.95 GRIDRUNNER ■ Carl 21.95
(CHECKBOOK. RECIPE, EDU-GAME) 45.95 PROGRAMMING KIT I • Disk 19.95 TEMPLE OF APSHAI • Disk 25.95
' CHECKBOOK EASE 64 • Disk 35.95 FACEMAKER • Disk 22.95 UPPER REACHES OF APSHAI • Disk 14,95
HESWRITER 64 • Carl. 29.95 KIDS ON KEYS • Crt. 29.95 CURSE OF RA • Disk 14.95
HESMON G4 • Cart. 25.95 FRACTION FEVER • Crt. 29.95 ANNIHILATOR • Disk & Cass. 16.95
QUICK BROWN FOX (W.P.) • Carl. PRIMARY MATH TUTOR • Disk & Cass. 21.95 PROTECTOR II ■ Disk & Cass. 24.95
45.95
WRITERS ASSISTANT (W.P.) • Disk ENGLISH INVADERS ■ Disk & Cass. 21.95 TELENGARD ■ Cass. 16.95
59.95
DUNGEONS ALGEBRA DRAGONS • Disk & CaSS. 19.95 FROGGER • Disk & Cass. 22.95
FILING ASSISTANT • Disk 67.95
UP FOR GRABS • Cart. 29.95 FORT APOCALYPSE • Disk & Cass. 22.95
INVENTORY PACKAGE • Disk 77.95
BENJI'S SPACE RESCUE ■ Disk 29.95 ROBBERS OF THE LOST TOMB • Disk 19.95
TOUCH TYPING TUTOR • Disk & Cass. 19.95
MINI JIN) (DATA BASE) • Disk JUMPMAN • Disk 25.95
71.95
SWORD OF FARGOAL • Disk & Cass. 25.95
DATA BASE MANAGER • Disk 67.95
PAKACUDA • Disk & Cass. 11.95
GENERAL LEDGER • Disk 77.95
SURVIVOR • Disk & Cass. 22,95
PAYROLL SYSTEM • Disk 68.95
PEGASUS ODYSSEY • Disk & Cass. 19.95
PAPERCLIP (W.P.) • Disk 99.95
StlPERCUDA • Disk & Cass. 19.95
M'FILE ■ Disk 94.95
NEUTRAL ZONE • Disk & Cass. 27,95
WORD PRDI3 [W.P.J • Disk 71.95
CENTROPODS • Disk & Cass. 13.95
SPELL RIGHT PLUS (DICTIONARY) • Cft. 49-95
SPACE PATROL ■ Cass. 19.95
DELPHI'S ORACLE (DATA BASE) • Disk 125.95
MOON PATROL • Cass. 19.95
TIME & MONEY MANAGER • Disk 55.95 8 1 BOMBER ■ Cass 11.95
OMNICALC (SPREADSHEET) • Disk 79.95 KONGO KONG (DONKEY KONG) • Disk & Cass 14.95
CARDCO PRINTER INTERFACE 54.95 ® COMPETITION PRO. JOYSTICK 17.95

HOUSE Of
POLICY
To Order Call:
All orders are shipped U.P.S. Snipping charges are S2.00 (or
prepaid orders and 13.35 for C.O.D. For fast delivery send (213) 768-8866 M
money order, certified check or credit card.
VISA Or ffl
SOFTWARE
Please allow approximately three weeks for clearance on
personal checks.
«■■
Write To: IS
All items are subject to availability and price change. Thanks HOUSE OF SOFTWARE
for ordering from House of Software! Call for tree catalog1
'From EN-TECH Software 9183 Mercedes Ave.« Arleta, CA 91331

SHOW US A BETTER PRICE AND WE'LL BEAT IT


Circle No. 106
Continued from page 16

fc / 4 DIMS3-C60) ,RI(68> ,DR(60)

CASHBOOK 1 %/ 5 U=3687S:S3=36876:S=0

tk
$?
6
19
CO=30720:SB=36879
POKESB, 175:PRINT"i3333S
■ " ■

20 PRINT'S MULTIPLICATION FACTS i"i


25 PRINT'S ■ " ;
CASHBOOKKEEPING
tor any small business wltn a Commodore
39 PRINT'S ELECTRONIC FLASH ■"';
641", A 1540/41 Disk Drive, tpilnttr optional) 31 PRINT"0 CARD ■";
Hire Cashbook 1 as your new book
keeper.
35 PRINT"Q QUIZ ■ "

-j Send S65 or call toll (ice order desk _* 36 PRINT"HE S1X1 TO 9X91 "
^r) 1.80O-221-692T. 24-Hour Service «*
40 PRINT"333 STUDENTS, PRESS 'S'
- Also ■
41 PRINT'S TEACHER, PRESS 'T'."
Programs lor VIC20" 44 GETM*tIFM*=""THEN44
and Commotion 64"
disk or tape. Write 45 IFM*="T"THENPRINTia" : GOTO630
lor listing. OR, Uy
MOUSE TRAP MATH,
51 P0KE36379,28:PRINT"ail£l TYPE IN LAST
tor your VIC20"1
(10.95 tor tape) and
NAME,"
we'll Include listing.
52 PRINT" AND PRESS 'RETURN'.3"
53 INPUTS*CS>
54 IFS*<S>=""THEN53
IFFREO) <20THENPRINT"aDOUT OF MEMORY.
":PRINT'S*!INFORM TEACHER.":6GT06 30
60 P0KE36879,27
61 PRINTlia3£) S DIRECTIONS ■"
78 PRINT'3 TYPE IN THE ANSWER TO
75 PRINT"EACH PROBLEM"
80 PRINT'S THE COMPUTER WILL"
85 PRINT'TIME HOW LONG IT TAKES" 5
Intelligent Software For 90 PRINT"YOU TO DO 25 PROBLEMS"
Commodore Computers 95 PRINT"3£)i) THE TIMER STARTS WHEN";
Copycalc is an affordable electronic
100 PRINT'YOU PRESS 'RETURN'"
spread-sheet which turns your video screen 110 PRINT"£}HII3 GOOD LUCK"
into a window on a matrix of numbers. Cur
sor around the matrix, enter numbers; the
120 GETMS:IFM$=""THEN 120
totals reflect the changes. You can save the 130 TI*="000000"
matrix to disk or tape, or print it or your
printer. For S20 (S15 with another program),
149 PRINTS"
this program might justify the cost of your 150 RI=0:P=0
computer. Requires 6k RAM; smaller version
159 POKESB,250
available for a standard VIC.
Word Processor Plus was not dosigned 230 A=INTC 1 + 9*RND< 1)>
to be an expensive toy; it was designed
240 B-INT<1 + 9*RND< t>)
solely to facilitate, correspondence, for a
wide range of personal and business uses, 250 AC=A^B:P-P+1
quickly and easily, with a minimum of train
360 IF P=26THEN719
ing and frustration on the part of its user,
and at the least possible cost, both in hard 383 POKEV,15
ware and software. The most thoroughly
384 FORL=240TO250STEP.7:POKES3,L :NEXTL:P
tested, useabie word processor available
at anywhere near the price. S25; 10k RAW. DKEV,0:POKES3,0
printer req'd.; RS-232C version available for
387 PRINT"3"
VIC and 64.
Also available: Baseball Manager, a 388 PRINTTAB<5) "3E3BIIII33" ;A;"X" ; B; " = ?"
sports-documentation program; and Inven
389 IFAC<i8THEN440
tory, a perpetual inventory control program
for a small retail business [various reports, 390 GETT*:IFT*=1I1ITHEN390
multiple vendors); S30 each; 10k RAM
400 IFVAL<T$> <>INT(AC/10)THEN461
req'd., printer suggested.
All programs will load and run on any 410 GETN*:IFN*=""THEN410
Commodore computer; all support tape,
420 IFCAC-VAL<N*))/<10^UAL(T*))= 1THENRI=
disk, and printer.
Prices include documentation and ship RI + 1:60X0238
ping; Calif, residents add 6%. Please
421 G0T0461
specify hardware configuration when
ordering. Sorry, no games available. 448 GETN*:IFN*=""THEN440
Wlllam Robblni, Box 3745, San Rafael, CA 94912
450 IF'v'AL<N*)=ACTHENRI = RI + l :GOTO230
Circle No 21

18/Commander November 1983


461 60T0238
606 PRINT"aBSTUDENT SEC. RIGHT ■" HOW DO WE DO IT?
610 FORI=0TO6@
We're an electronics maufacturer selling
611 IFS*U)=""THEN630 direct lo the public by mail order onfy.
In this way we can truly offer quality
612 FORM-iTO600:NEXTM and economy. All items are guaranteed.
Documentation is extensive.
615 PRINTS*<I) ;TAB< 10) DR<I) ;TAB< 1?) RI CD
3 SLOT EXTENDER
Gold Contacts. Fuse,Restf Switch. iVin
628 NEXT I
630 PRINT"3H PRESS 'S'TQ DISPLAY":PRINT" CASSETTE INTERFACEs
Save and Lead on your recorder. (VIC & Cc-V
RESULTS ON THE SCREEN."
632 PRINT"E PRESS 'P' TO DISPLAY":PRINT" AUDIO/VIDEO BOX
Three independent Outputs from your ViO
RESULTS WITH PRINTER." Low Level AudioIsterco,recorder.etc.I.
Video Monitor, and R.F. Modulator.
633 PRINT"3 PRESS 'R' TO RESUME" : PRINT" Q
UI 2 . " COMPUTER COVER
Protect your VIC or Cc4 from dusl and
635 PRINT'S PRESS 'Q' TO QUIT." spills. Gray, professional look.

640 GETM*:IFM*=""THEN640 All prices postage paid. Kansas residents add i%.
Money Order or Check only.
641 IFM*="S"THEN60@
642
644
IFM$="P11THEN650
IFM*=MRHTHEN1?
Obbligato
BOX47398, WICHITA, KANSAS 67201
645 IFM*="QtlTHEN8ie
648 GOTO640
650 OPEN1,4 Circle No. 137
651 PRINT+tl," MULTIPLICATION FA
CTS"
652 PRINT* 1," TEST":PRI
NT#1
658 PRINT* 1 ,"STUDENT" ;CHR*< 16)" 17SEC0NDS
" ;CHR*< 16) "34RIGHT/25" :PRINT*1

!wow!
66% FORI = 0TO60
661 IFS*(I)=""THEN675
665 PRINT* 1 ,S*<I) ;CHR*<16)" 19" ;DR(I) ;CHR
VIC 20 OWNERS
*(16)"37";RI(I)
670 NEXTI "CHARACTERS" An educational
675 CLOSE 1 program to show you thousands of
characters you can use when you are
680 PRINTS" :6OTO630
developing a game, without using up
719 DR(S) =
memory by programming your own
characters.
720 POKESB,185:PRINT"a33 YOU HA^E ANSWER For the
ED"jRI<S) unexpanded VIC. . .Cass. only $14.95
721 PRINT"PROBLEMS CORRECTLY AND";
722
732
PRINT"IT TOOK
PRINTDR(S);"SECONDS"
YOU ABOUT":PRINT
!also!
"FIND ME" A game to help you
740 PRINT"333£)3 YOU ARE FINI SHED" : PRINT improve your Joy Stick skill-while
"WITH THIS QUIZ." hunting treasures among the forest
742 PRINT"3333 PRESS ANY KEY." of trees...
745 GETM*:IFM*=""THEN745 For the
746 S=S+1 unexpanded VIC. . .Cass. only $14.95
747 GOTO 19
Send Checks/Money Orders
810 P0KE36879,27:PRINT"a" (Personal checks allow 3 weeks for delivery)
830 PRINT"D33UIi£lMULT FACTS QUI2"
845 PRINT" D.G.SMITH":END Send to: R&C SOFTWARE £
READY. P.O. Box 4003
Port Angeles, WA 98362 f
VIC 20 is a TM of Commodore Business Machines u

Commander November 1983/19


16K Expansion

By Noel Biles

This is a MAILING AID Program. It will Electric Light Co. bills, credit card billings, such choices as ENTER the names on the
not help you compose letters to your DMV mailings, etc., and you can find out list, FIND a name on the list and print out
Aunt Sally or business associates; where they picked up your name. If you all the pertinent facts, SAVE a file on tape,
however, it will speed up and make live in the USA it is safe to assume your LOAD a file from tape, PRINT labels for
easier, the mailing of form letters, adver name is on hundreds of active lists. Now names of the same specialty code, PRINT
tising circulars, club newsletters or even you can assemble your own lists free, just mailing labels, PRINT a complete list of
just the multiple mailing of a notice of the by starting with a small list, and adding names in the file, MAKE corrections to
Church's upcoming Bingo Night. I im names as you go along. the list, and PRINT mailing address on the
agine there are a lot of computer enthusi back of the page.
asts out there who are volunteering their HOW YOU This last feature saves the expense of
own time and computer's use for the CAN USE THIS PROGRAM: buying labels if desired, and it will allow
good of their organization or informal One of the major uses of this program the printing of mailing addresses directly
group to which they may belong. In my is the direct printing of mailing labels if on the reverse side of a club newsletter
own case, necessity being the mother of desired, or the printing of the name and simply by leaving all the newsletters
invention, and being naturally lazy and address on the reverse side of newsletters printed in a continuous string of paper
having been raised by a Scotch step etc. The best feature is the permanence and when finished printing the required
mother who taught me the value of a of the list itself, which if filed properly number of copies, tear off the total prin
penny, I wrote this program to aid in the may be used indefinitely, as often as re ting and turning the paper over, rethread
mailing of my monthly 'Ham Club' quired and is as easy as loading a five it into your printer, positioning it to the
newsletter. minute tape. Changes, additions, and or correct place for the first name , then se
Besides your VIC-20, you will require a deletions may be made to any file to keep lecting number 12 from the menu, print
16K memory expansion unit, a cassette the mailing list updated. Additionally the mailing address on the reverse side of
recorder, and, of course, a printer to use there is no limit to the number of names each copy of the letter. Lines 1465 & 1470
and enjoy this program. that may be saved, because if any given take care of stepping the printer down to
Have you ever wondered how that file becomes full, a new file may be the correct position on the following
advertising flyer you just received, had started to continue the listing. Each 10 page. This position is based on using a
your name and address so nicely printed minute cassette tape will hold approx standard 11 inch page on a VIC 1525
on a self stick label or even a computer imately 100 name and address listings per printer or similar type that prints 6
print-out on an envelope? You should side, which of course, should be backed lines/in.
know that selling Mailing Lists is big upon the reverse side.
business. You can buy lists of names from It is very simple to use and all instruc PROGRAM DETAILS
almost anyone who does business by tions are contained within the program Lines 10 through 100 are pretty well
mail {except the IRS, they don't need the itself. The only chore after entering this self explanatory: your MENU of choices.
extra income). mail program is the entering of the per Lines 140 through 240 are for entering
The next time you receive an unsoli sonnel list. If a mistake is madeduring this the first group of names and lines 360
cited bit of mail, check the format in entering process, or it's noticed after through 390 are for adding names to the
cluding any mistakes against the mailing completion of the list, it is a simple matter list, while lines 1200 through 1340 are for
labels on your subscription magazines, to make corrections as the Menu offers making corrections or deletions to any
20/Commander November 1983
entry on the list. The 'Specialty Code' is
for inputting a personal identifier, so you
may print groups of labels for selective
mailings such as Doctor, Lawyer, Indian
Chief, etc. This saves the manual sorting
C0MM0D0RE-64
of these names.
Lines 600 through 680 are for saving
nd VIC-20 users!
the FILE of names onto a cassette tape. Be
very careful when entering line 650, copy
it exactly because any mistake made here <*»
can cause the program to abort and re
turn to Basic. If this happens and you re-
enterthe program with a RUN, the FILE of
names you have just laboriously entered
with dancing fingers will disappear. They
will be cleared by the automatic clearing
of the variables, which is one of the great
features of the VIC-20. Returning to the
program with GOTO30 will avoid this
automatic clearing feature, but won't
help if there is something wrong in line
650 that causes a Bad Subscript Error and
you have to return to Basic and do exten
sive modifications to this line. When first Short
testing the filing feature of this program, on Price
enter only three or four names in answer and Size—
to the questions posed by the #1 selec long on Quality]
tion on the Menu, then type the #6 selec
tion on the Menu and check for correct
action on the cassette recorder, being
sure to follow the screen instructions in
IMPACT PRINTER
COMES COMPLETE
WITH ALL 20/64
Impact Printer
by Fidelity
Electronics
129"£
■rut Check
Send f"lwL or
ftr M
t! 0

■ + J6 95 Shipping
n '■

order of presentation. 4"X4.5"2" - 'Handling


Lines 700 through 830 take care of
INTERFACES
loading the FILE tape into the computer CABLES
in response to Menu selection #7. Again
be very careful to enter line 750 correctly.
Line 760 will display the names as they Features: High quality print head-MCBF equal
are received in the computer memory, to 500,000 lines, 5X7, 30cps impact dot matrix,
scrolling them upward as new ones are 144 dots per line, 2.25"w plain paper roll and
entered. cartridge ribbon included up to 40 column
During this loading process, you will width, lower case descenders, upper/lower
note the computer will accept 2 and case characters, can reproduce the entire
sometimes 3 listings at a time. This hap
20/64 graphics set, dot addressable graphics,
pens because there are 191 bytes reserv
supports custom character capability, reverse
ed as a 'Data File' input buffer and the VIC
character mode, permits user selection of two
will input tape data strings upto this limit.
character sets. Transformer included. 90-day
Some of your entries on the list may have
warranty. N.Y. residents add applicable sales
short names and addresses and therefore
tax.
may crowd 3 entries of up to 63 charac
ters each before the buffer overflows and All Major Credit Cards Accepted
dumps the data to memory.
DEALER
Lines 900 through 995 are for printing INQUIRIES
mailing labels for selected 'Specialty' INVITED
groups, while lines 1000 through 1080
are for printing labels for numerically se
lected groups throughout the file, as few "Call THi Printer Experts" for Information ond Orders
as 1 and as many as the complete file
presently in the computer, lSSSSST Toil-Free 1-800-645-4710
Lines 1100 through 1180 call for a development (jn ^y..outsjde cont y s 516-221-3000)
printer listing of names, again selected by
numbers from 1 to the top of the file
2951MERRICK RD. DEPT. S BELLMORE,NY 11710
presently in memory. Vic 20 and Commodore 64 ore trodemorlcs of Commodore Electronics Ltd

Circle No. 95
Commander November 1983/21
Lines 1200 through 1340 allow thecor- printed pages which would then be se Self-stick labels may be obtained from
recting or changing of listings which parated, folded, stapled, stamped and any Radio Shack store that sells computer
when corrected, should be followed up mailed. supplies. They are 15/16x3&1/2 inches in
with a 'Save to tape' (menu selection #6) The above line function descriptions size mounted on a continuous fan fold,
16K to update the FILE presently on the tape. sound complicated when read for the sprocket feed backing. Ask for P/N
Expansion Ljnes 14Oo through 1490 are for ad first time, but are invaluable if you have to 206-1404. rj
dressing the reverse side of a string of modify any part of the program.

1 REM #PRINTlfr3" IS R CLERR SCREEN COMMRNB*


3 PRINT".!": PRINT" MRILING RID PROGRAM
3 PRINT" BV NOEL G BILES
7 PRINT" SflN RNDRER3, CR

15 D IMD$ C 101') i Z£ C 1911/ j PS ^1 01),S*<101)


20 PRINT:PRINT" ** MRIL FILE **'!
30 PRINT:PRINT" CHOOSE R SELECTION SPRINT
35 PRINT"1 ENTER NRMES ON LIST"
40 PRINT"2 FIND R NflME ON LIST"
45 PRINT"3 RDD R NRME TO LIST"
50 PRINT"4 NR OF NRMES ON LIST"
55 PRINT"5 LIST NRMES ONE CITV"
60 PRINT"6 SRVE R FILE ON TRPE"
65 PRINT"" LORD FILE FROM TRPE"
70 PRINT"3 LIST 3RME SPEC! RLTV"
75 PRINT"9 PRINT MRIL LRBE LS"
30 PRINT"10 PRINT PRPER LI ST-"
35 PRINT" 11 MRKE CORRECTIONS''
90 PRINT"12 PRINT MRIL RDDRESS"
95 PRINT" ON BflCK OF PROE"
100 INPUTX ■ ONXGOTO140, 250, 360,430,300,603,700,900, 1000.. 1100, 1203.- 1400
149 PRINTS" iPRINT:PR1NT"T VPE++RFTER LRST ENTRV"
150 FOR R=1TO101
160 printm#";r ;
170 INPUT"LRST NflME";N*<R)
130 IF NSKR>-"++"THEN PRIN Tll^i:r:GOTO30
190 INPUT"FIRST NRME.SINIT. 11J M* C fl )
200 INPUT"STREET REDRESS"; R*CR)
210 INPUT"CITV,STRTE";CS<F )j D*C R5
229 INPUT "ZIP CODE".:Z*-:R)
230 INPUT "PHONE #";P$T.R)
235 INPUT"3FECIRLTV CODE'S SSCfl)
240 NEXT R
250 PRINTS" : PRINT: PRINT » NRME IdflNTED"
269 INPUT" LRST NRME'SN*
270 INPUT" FIRST NRME &INI T."JM*
280 FOR R-1TO101
290 IF<N*"N*CR)>flND<LEFT*< M*^4)wLEFT$CI1#CR);4>> THEN320
300 NEXT R
310 PRINT'TT :PRINT:PRINT" NOT FOUND ON LIST":GOTO 30
32S PRINTMr3" : PRINT"#''R
33£ printmjxR);11 ";n*<r>:f RINTR*CR5:PRINTC*<R);" ";D*<R>J" ";Z*<R)
335 PRINTP*<fl);" ";SS<FI)
342 PRINT:PRINT:INPUT"HIT <RETURN> TO LIST" ; GG '• PRINTS" : GCTO30
360 PRINT"^":INPUT"HOw MRh V NOW ON FILE"JL
370 PRINT"TVPE++RFTER LP3T ENTRV"
380 FOR R-L+1T0181
392 GOTO160
Continued on page 24

22/Commander November 1983


Wake up your
SID CHIP with

NOTE PRO
Music/Sound Synthesis
software for the C-64
You've heard the 64 make great sound effects and music. Now
there's a way for you to create your own music and sound effects
without learning a strange new language. While the competition
forces you to program long alpha-numeric strings to achieve even
the shortest piece of music. NOTE PRO is miles ahead, letting you
compose on a simple TREBLE CLEF musical staff.
NOTE PRO I or NOTE PRO II is all you need in a music editor
for the 64. But there is more. NOTE PRO BRIDGE is a machine
language music and sound effects playerthat you can add to your
own programs. It will play NOTE PRO Music files, or sound effects
that you can create with simpfe formulae within your programs.
With NOTE PRO BRIDGE, you can control the SID chip with
machine language power, without knowing any machine language.
If you're into high resolution graphics then PLOT-A-LOT is a
super buy! It allows you to create and save Hi-res screens and
incorporate them into your own programs.

Note Pro 1 tape $24.95 disk: $27.95


Note Pro II tape 546.95 disk: $49.95
Note Pro Bridge tape $24.95 disk: $27.95
Plot-A-Lot tape S8.95 disk. $17.95

Visa/MC accepted. We are ELECTRONIC


LAB INDUSTRIES. 100 W 22nd ST, PO Box
7167, Baltimore, MD—(301) 366-8138. Call or ELI
write toaay for your FREE BROCHURE!
Circle No. 159

G64

HIGH QUALITY SOFTWARE

CALL OR WRITE FOR FREE CATALOG

(203)468-7414

HE SHIP UPS REG. OR 2nd DAY AIR

BOX 2405 • BRANFORD. CT 06405 L

SCRIPT-64 80 COL.
SMART-64TERM WORD PROCESSOR SYSRES
By Microtechnic Solutions Professional Quality Word Programmer Manipulation Tool:
Uploads/Downloads, does IM6. Processor that turns your 64 adds over 144 Commands to
SEQ, Basic File Conversions, into an 80 coluiin nachine! Basic. Every serious progran-
Autosends ID, Password. The With On-line Dictionary-Spell ner needs this one!
best terminal package on the ing Checker. Price $ 91.50
■arket. Price t 99.50
Price J 39.95

50,000 WORD DICTIONARY


MODEM Checks spelling on Paperclip- INSTASPEED
61. and Word Pro Files.
Not only Auto Answers/Auto Basic Conpiler Prograas run
Price $ 55.95
Dials but is also a Printer '• tines as fast! Cannot be
Interface! Does Auto Dump listed.
to Printer as messages appear INTERPOD Price i 89.95
on screen.
TEfE-488 Interface. Connect
Price (145.95
to Dual or Hard Disk Drives.
Price (139.95

COMING SOON-C-64 BAR CODE READER!!

Commander November 1983/23


Continued from page 22

400 PRINT:R»0
16K Expansion 410 FOR K-1TO101
420 IFN*<K>-"++"THEN460
430 R-R+l
440 NEXTK
450 IFR-101THENR-0
460 FRINT"^":PRINT:PRINT" THERE RRE"\RJ"NRMES ON THE LIST":PRINT:G0T038
500 PRINT11:]11: PRINT: PRINT" TURN ON PRINTER" : INPUT" NRME OF CITY'WC*
510 FOR R-1TO101
520 IF C*»C*<R)THEN550
330 NEXT R
540 PRINT:PRINT"NO MORE FOUND ON LIST":INPUT"HIT <RETURN> TO LIST";GG
545 PRINT'Tr: G0T038
550 frint"#";rj" ";m*<R);" ";ns<r>:printr#cr) :printc*<r>;" ";b*<r>;" ";z*cr>
5G0 0PEN2.-4 f

575 FRINT#2," ";P*Cfl>;" ";S*Cfl>


580 PRINT#2iCLOSE2:GOTQ330
600 PRINT'-H": PRINT: PRINT" PREPRRE CRSSETTE PUSH PLRV & RECORD" : PRINT
610 PRINT: INPUT" NR OF NRMES ON LISTEN
620 PRINT:PRINT" SRVING MRIL FILE tt"
630 OPENl,l,i:FOR R-1TON:PRINTRj
640 E*»CHR#O3>
650
655
660 NEXTR
S?Z PRINT#l:CLOSEl
680 PRINT".T':PRINT:PRINT" MRIL FILE SRVED":PRINT:GOTO30
700 PRINT"n"-.PRINT:PRINT" PREPRRE CRSSETTE, PUSH PLRV BUTTON"
710 PRINT-.INPUT" NR OF NflMES ON LISTEN
720 PRINT:PRINT" MRIL FILE LORDING"=PRINT:
730 OPENl.1,0
749 FOR R-1TON
759
760 PRINT"tt"fl;"
?7Z FRINTP*<R); ";S*<fl>:PRINT
780 NEXT R
790 CLOSE1
800 PRINTS" :PRINT:PRINT" MRIL FILE LORDED" : PRINT
819 INPUT"HIT <RETURN> TO LIST";00:PRINT\T' :PRINT:GOTO30
900 PRINT"r3":PRINT:PRINT" PREPRRE PRINTER TO PRINT LRBELS RND
903 PRINT" TURN ON PRINTER
910 PRINT:INPUT" ENTER DESIRED SPECIRLTV CODE ";S*
915 FOR R-1TO101
920 IF S*«S*(R)THEN943
930 NEXT R
940 PRINT:FRINT"NO MORE FOUND ON LIST":INPUT"HIT <RETURN> TO LIST"jGG
942 PRINT"n":PRINT:G0T033
945 PRINTM*<R);" ";N*<R):PRINTRiCR)=PRINTC^CR)J" ";D«<fl)J" "JZ*CR)=PRINT
950 0PEN2.4

965 PRINT#2vR*CR)'
970 PRINT#2,C*(R>;" ";D*<R>;" ";Z*CR>
975 PRINT#2,"
980 PRINT#2."
993 PRINT#2,:CL0SE2:GOTO930
1000 PRINT"T':PRINT:PRINT" PREPRRE PRINTER TO PRINT LRBELS RND
1005 PRINT" TURN ON PRINTER
1010 PRINT:PRINT" SEPRRRTE NUMBERS WITH R COMMR"
1015 INPUT" STRRT NR., END NR.";N,M
1020 0PEN2/4 r , a
Continued on page 26

24/Commander November 1983


VIDEO INSTRUCTION TAPES!
HOW MANY HOURS HAVE YOU SPENT THE OLD HARD WAY

READING DOCUMENTATION?

10FHNTJOM
za da rot 3a
30

STEP BY STEP INSTRUCTIONS THE SEW EASY WAY

PICTURES ARE WORTH


CAT # TOPIC COMPUTER
THOUSANDS OF WORDS AND SAVE
HOURS OF FRUSTRATION BP-3 Programming in BASIC COMMODORE 64
BP-4 Programming in BASIC VIC-20

LYNN Computer Service presents a new concept for


BASIC INSTRUCTION VIDEO TAPE TOPICS INCLUDE
computer users — The Video Instruction Series. A "REAL
TIME" learning aid where the user is shown step by step FN LET RND END ABS AND THEN LIST STOP PRINT RESTORE
how to program in basic for the VIC-20 or C-64. IF NEW RUN EXP ASC ATN OPEN CHR$ STRS GOSUB RETURN
ON NOT SGN FOR CLR COS PEEK CONT LOAD CLOSE RIGHTS
OR REM SIN FRE DEF DIM POKE DATA MID$ INPUT VERIFY

VHS or BETA FORMAT


SPC GET INT LEN LOG GOTO NEXT SAVE READ LEFTS TIMES
SQR TAB TAN VAL POS STEP TIME PEEK

ONLY $49.95 EACH TAPE CAT# TOPIC COMPUTER

DIO-1 DISK I/O COMMODORE 64


DIO-2 DISK I/O VIC-20
MASTERCARD—VISA and C.O.D. Orders accepted
add $3.00 per order for shipping and handling. Telephone Includes RANDOM, RELATIVE. SEQUENTIAL disk read and write.
orders taken 9:00 a.m.-6:00 p.m. Central Time. Also explains load, save, new, copy, scratch, initialize, validate,

Specify either VHS or BETA Tape Format error channel, command channel, and rename in both the standard
and wedge syntax. Explains the verify, open, print #, input #, get #,
•DEALER INQUIRIES WELCOME
status BAM commands. Lesson includes several programs and
C.O.D. Orders add $3.00 a large checkbook program.
BankAmfricard

master charge TO ORDER PHONE VZSA


OR WRITE

LYNN COMPUTER SERVICE


6831 West 157th Street Tinley Park, Illinois 60477
(312)429-1915
VIC-20 AND COMMODORE 64 ARE TRADEMARKS OF COMMODORE BUSINESS MACHINES. INC.

Circle No. 70

Commander November 1983/25


Continued from page 24
1030 FOR fl-NTQM
1048 pRiNT#2,fi*<:fl);" ";N*<fl>
1045 PR1NT#2,RSCFI>
1050
1055 PRINT#2,"
1060 PRINT#2,"
1065 PRINTH2,"
16K Expansion 1070 NEXTfl
1688 PRINT#2:CL0SE21 PR INT" 73":PRINT I PRINT!GOTO30
1100 PRIHT"n":PRINT:pRIHT" TURN ON PRINTER"=PRINT
1110 PRINT" SEPflRflTE NUMBERS WITH fl COnriB"
M15 INPUT" STflRT NR., END NR.";N,tt
1120 0PEN2.4
1130 FORR-NTOfi
1140 ■ H;c*<R>;
1150 print#2,m ";z*ch>;" ";pf<R);" ";s*<R)
1160 PRINT#2,"
1170 NEXT fi
1188 FRINTtt2 : CL0SE2 ■ PRINT"X I PRINT I PRINT: C0TQ32
1200 PRINTS": PRINT: PRINT" ENTRY TO BE CHflNOED"
1210 INPUT" LflST NRME";N*
1220 INPUT" FIRST NHME 4INIT."JM*
1230 FOR R-1TO101
1240 THENI270
1230 NEXT fl
1260 PRINT"3":PRINT:PRINT" NOT FOUND ON LIST1=PRINT:OOTO 30
1270 1NPUT"NEW LRST NRf1E";
1283 INPUT"FIRST NRME4INIT. ;M*CH)
1290 INPUT"STREET RDDRESS"iH*:fl*<R)-fl«
1300
1318 INPUT"ZIP-CODE";Z*:Z*<fl)-Z*
1320 INPUT"PHONE NR.n;P*:P*CR>>P
1338 INPUT"SPECIflLTV CODE";S*=S
1348 PR1NT-.PRINT" IF O.K. " :PRINT: INPUT"HIT <RETURN> TO LIST ;GO
1345 PRINTS" 1QOTO30
1400 PRINT"^":PRINT:PRINT" TURN ON PRINTER":PRINT
1410 PRINT" SEPRRHTE NUMBERS WITH R COMMR"
1415 INPUT" STRRT NR., END NR.";N,M
1420
1438 FOR R-NTOM
1435 PKINTt1*Cfl);" H;Z*<fl>
1440 PRINT#2," ;n*<r>
1458 PRINT#2," H;fl*<fl>
1460 PRINT#2,"
1465
1473 F0RU-lT03l:PRINT*(2,CHR*a3):NEXT U
1430 NEXT fi
1490 PRINT#2: CL0SE21PRINT''^" I PRINT : PRINT: OOTO 30
9930 END

VIC 20 and COMMODORE 64 owners!


GET ORGANIZED WITH THE ORGANIZER™!!
The Organizer solves the clutter problem and creates
valuable space in your work area. Allows you to organize
your system (or comlorl ana ease of use. The Organizer is
designed especially for the Commodore Computer and its
peripherals. Holds a 12 inch monitor, disk drive or
Datasette, and graphic printer salely. securely. Creates a
work station out ol any table top. All steel construction
with non-marring vinyl (eel. Chip resistant finish compli
ments the Commodore system.
OHGAW2ER- !M 3P Bs't.ton Csip

f~ B.R. Green Phone Orders'


410 N. Huntley Dr. (800) 824-7888
Lot Angeles. CA 90048 Aak tor operator 883
QUANTITY ITEM PRICE EACH TOTAL PRICE
ORGANIZER S29.9S
MERCHANDISE
NAME. TOTAL.
SHIPPING
ADDRESS. HANDLING
USE WITH
S3 00 PER UNIT.
DISK CITY
TAX (CAL RES.
DRIVE STATE ZIP. ADD BWft).
TOTAL.

CHARGE MY (CARD NAME).

CARD NUMBER- . EXP DATE.


VIC X and COMMODORE W ill lrafleiraii.5 oT Commoaoit Electronics Lid SIGNATURE

26/Commander November 1983


^4

EUREKA!
77?af's iv/?af we said when our new
"invention " soived ail our VtC-20™ and
Commodore-64™programming problems
We had a problem. So we invented For the Commodore 64 we came up with SOLVE YOUR PROGRAMMING
PC-DocuMateT" to solve it. The problem was a really clever summary table for showing PROBLEMS WITH PC-DocuMate'"
how to quickly master the VIC-20 and almost everything you ever need to know for Order your PC-DocuMate today (by
CBM-64 keyboards and easily start pro sprite graphics. phone or mail) and solve your VIC-20 or
gramming in BASIC on our new personal
CBM-64 programming problems. Send only
computers. First we went through the GETTING EASIER $12.95 and specify which computer you
manuals. Now we had organized the most essential have- We pay for shipping and handling.
information for our VIC and 64 in the most Use the coupon below or call 919-787-7703
INCONVENIENT MANUALS
logical way. BASIC, music, color graphics, for faster service.
The user's guide was a nuisance and the
and sprites all seemed a lot easier. Our
programmer's reference manual was just
initial problem was solved by PC-Docu
plain inconvenient to use. We found the
Mate"1.
control key combinations confusing and the
But we have a confession to make. YES! Please RUSH me VIC-20 I
introduction to BASIC to be loo "'basic" for
our needs. We needed a simple solution to WE CHEATED templates and/or CBM-64 tern- |
our documentation problems. We had solved this kind of problem I plates at $12.95 each. I have enclosed |
So we decided to surround the keyboard before. In fact, many times before. You see,
| S by:
of each PC with the information we wanted. we at SMA developed the original PC-Docu-
We decided to print whatever we needed on | Check Money order MC/VISA
Mate for the IBM PC. We've made templates
sturdy plastic templates which would fit the for IBM BASIC and DOS. for WORDSTAR™, I
keyboard of either the VIC-20 or Commo VISICALC™ and other best-selling software
Name
dore 64. packages for the IBM PC.
So we knew we could invent another
SIMPLE SOLUTION
PC-DocuMateT" to solve our problems with Address
This was the simple solution to our prob
the VIC-20 and Commodore 64. Now our
lem. Now we could have the essential
solution can be yours and you can join the
information right at our fingertips. City State Zip
thousands of satisfied users of our template
On the left side and top of the templates
products.
we put BASIC functions, commands, and
Take advantage of our experience and
statements. On the lower left we used key Cards Exp.
success with PC-DocuMate templates. Get
symbols to remind us of how to use SHIFT, I
one for your personal computer.
RUN/STOP, CTRL and the "Commodore" I
key. Over on the bottom right side we put | Signature
SOME SPECIFICS
some additional keys to help remember Our templates for the VIC and 64 are
■ Foreign orders (except Canada) add S5.00 US
about CLR/HOME and RESTORE. But we made from the same high quality non-glare
were still a little confused. plastic as the more expensive IBM PC
I
versions. I Mail to: Systems Management Associates
STILL CONFUSED
The templates are an attractive gray \ 3700 Computer Drive, Dept. 1-1
We found we were confused about music
programming, color graphics, and sprites.
color and are imprinted with a special black j P.O. Box 20025
ink which bonds permanently to the plastic. Raleigh, North Carolina 27619
On both the VIC-20 and the CBM-64 tem
They are precision die-cut to fit your
plates we carefully organized and summar
keyboard. Canadians: Please send S18.95 CDN for
ized the essential reference data for music
Unlike some other products we've seen each template to:
programming and put it across the top-
in this category, PC-DocuMate templates
showing notes and the scale. All those Systems Management Associates
are professionally and expertly designed.
values you must POKE and where to POKE 55A Westmore Dr., Dept. 1-1
And they are fully guaranteed.
them are listed. Rexdale, ONTARIO M9V3Y6
Then to clarify color graphics we laid out
screen memory maps showing character
OUR GUARANTEE L.
and color addresses in a screen matrix. (We We guarantee your satisfaction. You must
got this idea from the manuals.) be satisfied with your PC-DocuMale (or your
For the VIC-20 we added a complete VIC-20 or CBM-64. Try it lor 10 days and if VIC-20 and Commodore 64 are trademarks of Commodore Busi-
memory address map for documenting lor any reason you are not satisfied return it ness Machines. Inc.
to us (undamaged) for a lull refund. No risk.
where everything is in an expanded or Ad no 731 Copyright 1983, SMA
Circle No. 61
unexpanded VIC. Dealer inquiries Invited.
James Pellecht

Eventually, a programmer in his quest


to design the ultimate home video game,
must solicit "INPUTS" from the user. 9 0 C D*= "< HOM> <DWN> < DWN> < DWN > CDWN><OWN> <
Typically, these inputs set variables for DWN> < DWN> < DWN> < DWN> < DWN> < DWNX DWN> < DWN> <
various "Modes-Of-Play" such as: skill DWN > < DWN > < DWN > < DWN > < DWN > < DWN > < DWN > < DWN > <
level, number of players, or maybe (after DWN> "
posting high score), "Your Initials". 100 PRINT"<CLR>":FB=0
The following program, written forthe
110 SPEED=8:PRINTMID*<CDS, 1,3)SPCC5)"SEL
VIC (yet easily adapted to other com
ECT SPEED"
puters), demonstrates "one way" a pro
grammer can use a joystick firebutton to
120 PRINTMID*<CD*,1,9)"A; SLOW"
make selections without having to resort 136 PRINTMID*<CD#,1,13)"B>AVERAGE"
to the keyboard. 140 PRINTMID*<CD*, 1, 17) "OFAST"
A breakdown of the program, line for 145
line, follows: 158 REM MORE CHOICES CAN
LINE 90 Sets variable "CD$" equal to 155 REM BE ENTERED IF
cursor-control commands. This variable, 160 REM YOU WANT
when used in conjunction with "MID$" is 165
very effective at positioning the cursor on
180 LOOP=LOOP+1:IFL00P=45THENL00P=1
any row.
200 IFL0OP<i5THENPRINTMID*<CDS,1,9>"<RON
LINE 100 Clears the screen.
>A" SPEED=1:6OTO300
LINE 110-140 Prints menu on the
210 IFLOGP<30THENPRINTMID*CCD$,1,13)"<RO
screen.

LINE 180 Increments variable N>B' :SPEED=2:6OTO300


"LOOP" and compares "LOOP" with the 220 IFL00P<45THENPRINTMID*<CD*,1,17)"<RO
number45. If test succeeds, LOOP is reset N>C( :SPEED=3:GOTO300
to "ONE". 230
LINE 200-220 Tests "LOOP" variable 240 REM IF MORE SELECTIONS
and prints menu choice in reverse on 250 REM WERE ADDED BETWEEN
screen. For example; If LOOP = 15, then 260 REM LINE'S 140-189,
line 200 fails; the program continues to
270 REM YOU WOULD ADD ADD'L
line 210. As long asthe value of "LOOP" is
280 REM LOOPS HERE
between 15 and 29, line 210 will be ex
290
ecuted. This results in the letter "B" ap
pearing in reversed print. If "LOOP" is
300 FB=6:G0SUB398 IFFB=1THENFORX=1TO1000
between 30 and 44, line 220 will be ex bNEXT:PRINT"CCLR> :GOTO320
ecuted and the letter "C" will appear in 310 GOTO 110
reversed print. Continued on page 30

28/Commander November 1983


TO SOOTHE
GOSUB THE SAVAGE
INTERNATIONAL INCORPORATED
COMPUTER
GOSUB of Slidell - P 0 Box 1781 Shdell. LA 70459

THE FLEXIKEY SYSTEM


Musicom

it's like no other music program .,. EVER!


With Musicomp, you can compose for three —
different instruments at the same time. You
can also adjust accents, pitch, and timbre
for any song you want, Take full control of all
special effects, You can even sing along to

Retail the printed lyrics,

S69.95
The critics rave about Musicomp —
"I wish I had Musicomp'.'
W.A. Mozart, Salzburg, Austria

"It makes composing an exhilarating


experience." L. von B., Bonn, Germany
"The graphics are so clear. Musicomp is the
most amazing musical program I have ever
seen." W.S. Bach, Eisenach, Germany
Dealer Inquires Invited - (504) 641-8307
"How do they do that?"
Features: B. Edwards, Marina del Rev. California
• 19 keys, each of which may have 3 seperate definitions' • Complete docu
mentation including program listings1 • Work son the VIC20 (Expanded) and Only $39.95
C-64 compute.s1 • Compatible with most existing software1 • Great for use
with business programs and electronic spread sheets' • Ideal for machine COMPUTER sniping

language programmers' Circle No 16 ALLIANCE anSi 50 (or COD


awo'raa residents ana 6 H s
21115 Devonshire St. Suite 132
Chatsworth, California 91311 (213)368-4089

VIC 2O OWNERS
This is the WAVE W2O-35 • State-of-the-Art

Your VIC 20 Is expand


able to 4OK, but why
buy four cartridges and
an expansion chassis
when you can have all
this on one standard
size cartridge; 35K of
RAM or 32K of EPROM
plus IEEE 488 interface
for your hard disks,
printers, and other
peripherals.
For free information &
pricing call or write: '
WAVE Computers Inc.
P.O. Box 38S3
Federal Way, WA 98003
Phone:(2O6) 839-WAVE

Circle No. 63
Commander November 1983/29
LINE 300 Sets firebutton variable Continued from page 28
"FB" equal to zero and then GOSUBS to
the firebutton test routine. If the firebut
ton test succeeds, a small delay loop 326 PRINTSPC<5)"YOU SELECTED":PRINTMI
stops the flashing on the screen for a mo CD* 1,4):PRINTSPCC8);
ment, allowing you to see what you've 0NSPEED60T0336,340,35@
entered, then the screen clears and the 336 PRINT" SLOW":6OTO360
program jumps to line 320.
346 P RI NT"" AV E RA G E" : 6 OT 0 3 6 B
LINE 310 If the firebutton test fails,
350 PRINT" FAST"
the program returns to line 110 and
reprints the menu on the screen with no
362 PRINTMID*CCD*,I,17)SPC<3)"PRESS FI RE

reversed characters which is why menu BUTTON"SPC < 30) "TO CONTINUE"
choices appear to flash on the screen. 370 WAIT37137,32,32
LINE 320-350 Reconfirms, by prin 388 GOTO 100
ting to the screen, the choice entered 399 REM TEST FIREBUTTON ROUTINE
when the firebutton was depressed. 395 P0KE37154,127
LINE 360 Screen displayed instruc 400 IF(PEEK(37137> AND32)=0THENFB-1
tions used in conjunction with line 370. 410 RETURN
LINE 370 Program waits for firebut
READY.
ton to be pressed.
LINE 380 Sends program into a closed
loop for demonstration purposes only.
You would normally have this routine
jump to the next stage of your pro
gram-possibly a routine to select
"Number of players", etc.
LINE 390-410 Routine to read the
firebutton. This routine is for demonstra
tion purposes only. Your program would
GOSUB to the firebutton portion of your
own joystick routine, z

answering math problems correctly.


A flower sprouts if the answer is
correct—if incorrect, a" weed shoots
"An attractive, challengiric up, ond you've got two more chances.
math game that adaj If you're right, the weed is replaced
the player." by a flower and the game continues.

• Includes whole numbers, fractions,


"A five-year-old can Kdndli ond decimals—allows player to
the problems at iower skil choose addition, subtraction, multi
levels—higher skill level: plication, division, or decimal/fraction
challenge even ddultsftf conversion.

• Effective for a child just learning


"Using Flower Power Ma math and challenging to an adult
Fun regularly, for even wishing to refine his abilities.
short time, sharpens
• Points awarded, based on the time it
one's math abilities;''
; takes to answer. At the end oif each
—COMPUTE! Octroi saved on disk—pick up where you
■MMMT
For COMMODORE; left off next time.
DISC $09.95 CART. $04.95
Apple
• Keeps track of high scores and skill
* levels for 30 players. Scores and skill
EDUCATIONAL
levels for all 13 gomes can be
FUN FROM displayed or printed out at home or
in school.

156 DRAKES LANE, SUMMERTOWN, TN 35483 COMMODORE 64 is a trademark of Commodore International.


TO ORDER-CALL TOLL FREE: 1-800-251-6066 Apple II+". IjeV are trademarks of Apple Computers, Inc.

30/Commander November 1983


N ew VIC Superchassis II
I Expansion mother board
Illuminated with 7 switchable slots
power switch | ■MMM
I Modulator
;Fuse proteciion| holder
I Low voltage | Enclosed
output jack I power supplyl
The new VIC Superchassis 11 from Arfon Micro is the
ultimate expansion for your VIC-20. Make one neat
package of your VIC-20, memory expansion cartridges,
game cartridges, interfaces, modem, and monitor with
the only complete expansion unit available. Soundly
constructed from heavy gauge aluminum, the
Superchassis II maintains the electrical and mechanical
Integrity of the expanded VIC. Now at a new lower price
with optional expansion port switching and modem
adaptor, the Superchassis 11 is everything you've asked
for to enhance your VIC-20.
ifiiitmiitiitiiiu
Mail to:
Arfon Microelectronics
111 Rena Drive, Suite C
Lafayette. LA 70503
Yes! I want to expand my VIC-20 to its fullest.
Send me: (check your choice)
OArfon Superchassis II ui $99.95
OUser port board with switch bank, modem hookup,
& reset button (a $29.95. (Free installation)
User port
OHeavy duty aluminum cover/shelf (ft S9.95.
adaptor "total
Please add $5.00 shipping and handling. La. residenis add 5% sales tax.
OPayment enclosed $ (check or money order)
OPIease charge toOMasterCardOVisaOAmerican Express
Card No. Expiration Date
Name . Address
City.State.Zip Telephone
Electronic
Blackboard
by Maryanne Dodd

Often when we think of educational A good educational game will assist The software reviewed this month fill
computer usage, our first thought is students in the development of logical all of the previously mentioned criteria.
Computer Assisted Instruction (CAI) reasoning abilities and deductive think The games are not CAI, but they are
using drills, rote learning and memoriza ing skills. Lastly, an educational game educational in that they apply skills and
tion. Another facet of educational soft while it's doing all of the above must require the players to analyze and syn
ware is programs that do not teach skills always have one more quality. It has to be thesize information and they are all fun
but apply skills already mastered to FUNorthekidswilineverstaywithitlong and entertaining.
analyze problems and develop strategies. enough to derive any benefits.

CommocTorS.64/VIC-20

The book, COMPUTER PLAYGROUND SPINNAKER with UP FOR GRABS from HEY DIDDLE DIDDLE from SPINNAKER
by MJ. Winters at DATAMOST as its their new family learning series takes a tra takes Mother Goose nursery rhymes and
name implies creates a place to play with ditional word game and updates it in a presents them in a delightful program
the computer and learn fundamental manner that will surely establish family that I would describe as a computerized
BASIC concepts at the same time. word game competition in the computer book for the young set.
age.

TITLE: UP FOR GRABS


FORMAT: Cartridge
PRICE: $34.95 How many generations have enjoyed
MODEL: Commodore 64 SCRABBLE year after year as a family ac
AUDIENCE: Ages eight through adult tivity? UP FOR GRABS, by Ken Madell
SUMMARY: Computerized SCRABBLE from SPINNAKER, is a variation of that old
SPACE RESCUE from HES uses the dog variation familiar board game that will provide just
Benji to create an adventure simulation SOURCE: SPINNAKER SOFTWARE as much, if not more, challenge and keep
that teaches factual knowledge about 215 First Street everyone from junior to gramps thumb
our solar system. Cambridge, MA 02142 ing through the dictionary.
32/Commander November 1983
TURN YOUR
COMMODORE 64 AND
VIC 20 INTO A POWERFUL
WORD PROCESSORWITH
QUICK BROWN FOX:
NOW ON DISK FOR THE C ORE 64!

Vic 20 and Commodore 64 users,


something very clever is lying in wait for
you. It's called Quick Brown Fox Word
Processing Software.
Quick Brown Fox is the quickest, easiest
to learn, user-friendliest and most versatile
software running. It allows you to write,
correct, edit and reformat your copy instantly
The program is simple enough for a child to
learn, but offers many of the same features
found in more expensive business-oriented
word- processing systems.
With Quick Brown Fox, you get automatic reformatting of edited
text, simple key operation, text moving, boilerplating, tab and
margin settings, right justification, proportional spacing, word wrap,
upper and lower case, and plenty more. You get intelligent software
that uses less computer memory. (That's why it even works with an
off-the-shelf Vic 20.) You also get comparability with a wide range of
printers and the Fox supports most 80-column boards too.
Doesn't that make you want to trot through your texts with a Quick
Brown Fox? Cartridge versions: $70.00. Disk version: Commodore 64 only,
$75.00. Call or write for more details.

THE QUICK BROWN FOXCOMPANY


V 548 Broadway New York, New Yorkl0012 (212)925-8290
Commander November 1983/33
SCORE CARDS relationships. Astute players will
have hidden the scientists on planets in
At the start of the game there are four recognize the importance of setting up
our galaxy. Your mission is to rescue the
score cards on the screen. An alphabet consonant vowel patterns and the
scientists. To assist in rescuing the scientists
cube is revolving in the middle. From one necessity of recognizing exceptions to
you have at your disposal the spaceship
to four people can play using either spelling rules. Children will increase their
STAR WOOF and the famous dog Benji,
joysticks or paddles. The object of the vocabularies and learn to spell new words
who will train you for the mission.
game is to grab letters from the cube and through challenges. A certain amount of
place them on your score card to make hand-eye coordination and small motor CHOOSE YOUR RANK
words. Words, as in SCRABBLE, may be dexterity is required to quickly place the At the beginning of the game you
formed either horizontally or vertically letters on the score card so that the max choose one of eight ranks (levels of dif
and may be connected. To grab a letter imum number of letters may be grabbed. ficulty) from pilot officer to fleet marshal.
you push the button on eitherthejoystick Therefore, young players may find pad Then you are told the number of scien
or paddle to stop the cube from revolv dles easier to manipulate than joysticks. tists being held and the number of star
ing, then you push again to choose one The pamphlet accompanying UP FOR days that you have to rescue them. The
of three letters. You then use either the GRABS gives very clear, concise directions lower levels have fewer scientists and
paddle or joystick to position the letter on and presents some useful strategies. The more days.
the scorecard. Once positioned, the letter color and sound used during the game are
COMPUTER CONSOLE
cannot be moved. While you are posi added attractions and are tastefully done
After getting your assignment you are
tioning your letter the other players are so that they appeal to any age level. I feel
beamed aboard STAR WOOF and the
grabbing letters, so timing and quick that UP FOR GRABS is an excellent choice
rescue begins. Your computer screen
thinking are critical. for family computer fun and learning. It is
becomes the instrument console to the
one of those games that can be played by
FOUR QUARTERS TO PLAY space ship. You may control the instru
either adults and/or children without the
There are four quarters of play during ment panel using either a joystick or the
adult being bored or the child becoming
each game. At the end of each quarter, keyboard. The first step of your mission is
frustrated. It should provide many hours
while the melody is playing and the to ascertain where the captives are being
of family relaxation and interaction.
screen is white each player can remove held. You do this by scanning the
unwanted letters from his score card. planetary map. As you scan the galaxy
UP FOR GRABS
After four quarters a bell sounds and the the yellow message bar on the console
PLAYERS ASSOCIATION
game is over. Each player highlights each gives information pertinent to the game
After the family champion has emerg
word on his score card and the computer such as the location of captives, enemy
ed he might be interested in the UP FOR
tallies the score. Each letter is worth a drones and supplies. There is also a
GRABS PLAYERS ASSOCIATION. The
number of points depending upon its fre screen for each planet giving the distance
SPINNAKER Software Company has from earth, diameter, gravity, surface
quency used in spelling common words
established the UP FOR GRABS PLAYERS
(i.e.,aisworthon!ythreewhilexisworth conditions, atmosphere and the duration
ASSOCIATION which will provide a forum
of a iocal day and year.
9). The value of a letter decreases as it for players of all ages. The association is
continues to revolve on the cube. Points After the location of the captives has
planning UP FOR GRABS regional and been discovered the next phase of the
are deducted for unused letters left on world competitions to be held each
the screen at the end of the game. Extra rescue is to plan your journey. You must
February with the Markson Cup to be take into consideration the amount of
value is given to words that are con
awarded to the world champion. So all of fuel and supplies needed and the op
nected or are made on the gray blocks on you word game enthusiasts start practic timum speed to accomplish the mission
the score card. After all the tallies are ing, the world championship is UP FOR
done players may then challenge an op
in the time allowed.
GRABS.
ponent's words. Points are given or taken INTERPLANETARY TRAVEL
away depending on whether the word TITLE: SPACE RESCUE After the proper preparations are
challenged was legal. FORMAT: Diskette made the journey begins. You signal the
PRICE: $44.95 engine room and set the course. Instantly,
LEVELS OF PLAY
MODEL: Commodore 64 and you are zooming through the galaxy. You
There are four levels of play:
VIC 20 may or may not encounter asteroid fields
youngsters, average, advanced and ex
AUDIENCE: Ages 8-14 left by the enemy. Asteroid fields can
pert. At the youngster level 120 words
SUMMARY: Futuristic space rescue damage the STAR WOOF making it
per game are presented and the cube
adventure simulation necessary to stop at another planet for
speed and the time allowed to choose
and remove the letters is longer. Each
SOURCE: HES repairs. Once you have reached the
Human Engineered planet where the captives are being held
higher level speeds up the cube and gives
Software you must get within one diameter of the
less time to choose and remove letters. At
71 Park Lane planet to beam/the captives up while
the expert level there are 360 letters per
Brisbane, CA 94005 avoiding enemy drones.
game and the speed is very fast.
(415)4684110 After you have found all of the captives,
EDUCATIONAL VALUE SPACE RESCUE is an adventure simula you signal the transport room, beam them
UP FOR GRABS is an excellent word tion involving the planets in our galaxy. aboard and head back to earth if you have
game. There are numerous spelling skills The adventure starts when several of enough supplies and fuel. If not, you must
involved. Players will gain practice in the earth's scientists are kidnapped by war stop at another planet for the supplies and
rapid visualization of words and spatial like aliens from another galaxy. The aliens repairs if needed.

34/Commander November 1983


MISSION ACCOMPLISHED HEY DIDDLE DIDDLE, a learning program program to demonstrate to people the
If you successfully return all the captive for children. The program is menu driven color and character graphics capabilities
scientists to earth "CONGRATULATIONS" and contains three different selections: of the Commodore 64.
flashes across the screen and you are Storytime, Storybook and Rhyme Game.
EDUCATIONAL VALUE
given a score and another mission. If you
STORYTIME The Storytime and Storybook options
run out of time or are unsuccessful, a
During Storytime the computer will enchant the young nonreaders. They
message flashes that the automatic
emergency status envelope has been ac automatically presents the program just will be introduced to the computer in a
tivated and help has been summoned. as though it were turning the pages of a friendly manner as they learn the poetic
During the adventure there are the ex book for the child. The first four lines of a rhythm of rhymes. Most young children

pected space sounds. The screen console rhyme are flashed on the screen then the will want to watch the program again

resembles a typical instrument panel computer begins to draw an illustration. and again as they memorize the verses
After the illustration is finished, a short and learn to recognize the rhyme as the
which you can access with either a
joystick or the keyboard. When you are lilting melody is played and the next four picture starts to appear.
lines are flashed on the screen. This se Beginning readers will enjoy having
traveling in space there is the illusion that
quence continues until all of the rhymes the rhymes randomly presented as they
you are looking out of the port of the
are presented. read each verse and practice their new
ship. The graphics used on the planet
reading skills.
map screens are excellent. The planets STORYBOOK The Rhyme game will help young
are all differently colored and resemble The Storybook option introduces in readers learn how to think in a logical
pictures found in a good atlas or book teraction between the child and the com manner as they arrange each line of the
about planets. puter. As in Storytime, the first four lines verse in the proper sequence.
EDUCATIONAL VALUE appear, followed by a picture, then a I feel that HEY DIDDLE DIDDLE will be
While playing SPACE RESCUE, children short tune is played. To see the second remembered by children as a classic. It will
four lines the child must press either the occupy the same place in their lives as the
will learn accurate facts about our solar
joystick button or the space bar to con tattered Mother Goose nursery rhyme
system. All of the data presented about
tinue. There is no time limit involved. book occupied in their parents' childhood.
the planets is accurate and up to date. At
Therefore, a young child can take all the
the higher levels players will develop an
time he wants to look at the picture and
understanding of relative distance and
point out details or a beginning reader
order of the planets and use the newly
can take as much time as he needs to
learned information to develop TITLE: COMPUTER
finish reading the selection.
strategies. To succeed at the higher levels, PLAYGROUND
players must plan ahead and use concep RHYME GAME PRICE: $9.95
tual skills to deal with multiple variables. The last selection-Rhyme Game for MODEL: VIC 20 and
I feel that SPACE RESCUE is an in young readers is an exercise in sequenc Commodore 64
novative way to learn facts about the solar ing. The player has a choice of two levels. FORMAT: Book
system. HES picked the space game medi In the first level he is given fourscrambled AUDIENCE: GRADES 5-6
urn that most youngsters enjoy and inte lines of a rhyme which he must put in the SUMMARY: A book designed to
grated into it an adventure packed with correct order by moving them up and introduce BASIC to young
factual information. The younger child will down on the screen. If correct, he wins computerists
enjoy the Benji theme and the idea of the the game. "YOU DID IT" flashes on the SOURCE: DATAMOST
space adventure while the older kids will screen and the entire rhyme and picture 8943 Fullbright Avenue
find the multiple levels and increased con appears. The second level requires that all Chatsworth, CA
trol of the game challenging and maybe eight lines of the rhyme be arranged in 91322-2750
even equal to arcade games. correct sequence. The game may be (213)709-1202
played by two players with each one tak COMPUTER PLAYGROUND is a book
TITLE: HEY DIDDLE ing a twenty second turn. There are also designed to. introduce the elementary
DIDDLE options for playing without having the age child to Basic using a laboratory
FORMAT: Diskette picture displayed and turning the time off workbook format. M. J. Winters, a pro
PRICE: $29.95 for a one player game. The computer fessor of mathematics at Michigan State
MODEL: Commodore 64 scores the number of games won by University has compiled activities that she
AUDIENCE: Ages 3 to 10 each player. has used in classes and computer camps
SUMMARY: Mother Goose nursery HEY DIDDLE DIDDLE contains over into a fun-packed book that will intrigue
rhymes and game thirty of the most popular Mother Goose children from grades two through six.
SOURCE: SPINNAKER SOFTWARE rhymes. The authors very faithfully used Since children can often perform
215 First Street the traditional wording in the rhymes without understanding "why" COM
Cambridge, MA 02142 that the majority of people are familiar PUTER PLAYGROUND does not start by
Mother Goose rhymes have long been with and illustrated each rhyme in a uni presenting programming theory. In
a favorite of children. Most of us que setting. The scenes are outstanding. stead, the deductive method of instruc
remember them as our first introduction Each scene is very intricate and displays tion is used with the student discovering
to books and poetry. Dale Disharoon and the same motif that one expects to find in what happens when he enters data into
Robin Bush from SPINNAKER have taken a Mother Goose book. In fact, the scenes the computer. Then he is given sugges
these rhymes and incorporated them into are so exceptional that I have used this tions for variations and observations.
Continued on page 43
ax*1
By Jim Grubbs

The nip of fall is in the air. Electromag VICs and 64s, but be forewarned, start LISTEN MOM,
netic waves seem to travel better when planning on some memory expansion for
VIC SAID DAH-DAH
the air is crisp and clean. Amateurs every the VIC and the possible addition of a disk
where begin to finish their antenna pro drive for both. File storage of alphanu Command FbstTXisthe perfect vehicle
jects before the winter sets in. Each year meric data uses up a lot of memory! to test our theory about outputting sig
at this time one of the most popular an nals from the VIC and 64. The program
nual contests takes place on the amateur itself is very straightforward and com
bands. I think the attraction of the VIC TO THE RESCUE pact. It will fit in the unexpanded VIC with
November "Sweepstakes" is that you all kinds of memory left over! It is based
don't have to have a big powerful station Until the last year or so, a full featured on a program by Rick Myers, WB5AYD. It
in order to be competitive. What it takes memory keyer (NOT keyboard) cost bet is presented here specifically modified to
is good operating. My first attempt at the ter than $100; a keyboard goes for about illustrate our discussion about getting
Sweepstakes was in November of 1961 twice that price or more. Enterthe VIC-20 signals out of the VIC and 64 and to pro
using a couple of dipoles, about 50 watts at S80-a simple program, and an even vide a message generator for the sweep
input and two crystals! I don't recall my simpler interface and you have a key stakes contest. Lines 50-70 are initializa
score, it would probably be embarrass board Morse code generator with as tion. Note that lines 51 and 62 are only
ing. What I do recall is making hundreds many memories as you care to include! needed for the C-64.1 absolutely cannot
of QSOs (two way contacts) in nearly The same goes for the 64. The program is stand the "standard" screen and border
every state and province in the USA and virtually the same with the appropriate combination of the C-64. The POKEs in
Canada. PEEKS and POKEs altered. line 51 will give you white letters on a
Over the years the competition has Our CW (Morse code) transmit pro solid black background. You may make
become more intense and split second gram comes at a very opportune time. these colors any of your choosing. Line
timing has become more important. The We started discussing input and output 62 is necessary for the C-64 to give it all
advent of the electronic keyer and later to the real world from our computer last the information it needs to turn on the
the memory keyer led the way to today's month. The discussion centered mainly SID chip (sound generator) in order to
computerized contestoperation, particu on getting a signal into our machine. This provide a "sidetone" or monitor for our
larly in the single operator category. With month we want to go the other direction. CW keyboard. Note also that when we
a Morse code memory keyer, the oper In brief, recall that we have two data are using the C-64, we are actually turn
ator can send a pre-programmed CQ registers on the VIC and the 64. Each one ing the wave form on and off (values V
message and catch up on the logbook, or has eight bits. Additionally, we have a re and P) rather than the tone. Yes, it really
can be checking the"dupe" sheet while gister set aside for each one called a data does take all of those POKEs to accom
his or her contact exchange is being gen direction register or DDR for short. Each plish a single tone! A chart has been pro
erated by the keyer. Incidentally, bit in each register can be used for sen vided to show the proper values for both
"duping", or checking to see if you have ding or receiving depending on whether machines, and the alternate values to be
already talked with a particular station the DDR contains a 1 or 0 in that bit posi used if you wish to use the joystick port
has become nearly impossible to do by tion. A zero is used to allow our machine on the VIC-20 rather than the user port.
manual methods. In the months ahead to receive data. A "one" in the DDR lets In the next part of the program, lines
we will address that problem using our us send data to the outside world. 72 through 180, we define the function
36/Commander November 1983
The Commodore 64
C.I

Spreadsheet that
puts you a
million miles ahead
CALC RESULT.The one spreadsheet guaranteed to turn
your Commodore into a powerful financial tool.
Offering you every feature found on other more expensive
programs for much less the cost.
Flexible...you can view four different areas at once
Versatile...customize your own print formats
Distinctive...display beautiful color graphics
CALC RESULT Advanced is a three-dimensional spread
sheet with built-in HELP function and 32 pages of memory.
For the Commodore 64 $149.95. For the CBMTW 8032 $199.00.
For first time users CALC RESULT Easy gives you a fast way to perform
financial calculations—easily. For the Commodore 64 $79.95.
For a down to earth demonstration of either version visit your
local dealer today.

"

Developed by:

■"^ software atf^ A Product of:


-a company in the DaUtronic group-

Distributed by:
BLUE SKY SOFTWARE
Ashland Office Center
DES-DATA EQUIPMENT SOFTEAM COMPUTER MARKETING WAREHOUSE 1.INC. Evesham & Alpha Avenues
SUPPLY 800-421-08U SERVICES, INC. EASTERN U.S/800-253-5330 Voorhees, NJ 08043
213-923-9361 800-222-0585 WESTERN U.5.-800-255-0056 609/795-4025
Commoaore 64 is a trademark of Commodore Business Machines
keys as stored messages. That is, if we generator to produce code practice, a programs come from ideas. Mike Forsyth
press the F1 key, command Post TX will tune position to give you a steady key at Kantronics was kind enough to send
send the CQ message. The F7/F8 keys down signal for testing your transmitter, a along a publication called "Computers
have been programmed to generate the 24 hour clock as an operating aid, or many and Amateur Radio" that he edits. The
sweepstakes contest exchange. The ex other possibilities limited only by your im sample copies I received were eight
change consists of a sequential number, agination. Keep in mind, though, that as pages, tabloid sized with all kinds of inter
which the computer will generate for the program gets longer, the timing loops esting information about using compu
you, a precedence-A for under 200 all slow down. Up to a point you can cor ters in amateur radio. Of particular inter
watts, B above 200 watts, your cail, the rect for this problem in lines 58 and 64, est was a brief article on sending pro
year you were first licensed, and your modifying the formulas for "T", "ES", grams "over the air" and some ideas on
ARRL section. Substitute your informa "WS", and "DL". how to accomplish this.
tion in lines 170 and 180. Every time you Interfacing Command Post TX to your "Computers and Amateur Radio" is
use the F7 key, the serial number will be transmitter is easy. A simple circuit as available for $8.00 for a six issue subscrip
incremented by one. In situations where shown in Figure Two will do the job nice tion (one year) from Computers and Ama
you need to repeat the last message, you ly. Information on pin locations for the teur Radio, 1202 East 23rd Street,
may do so by pressing the F8 key. The VIC and C-64 are available in last month's Lawrence, Kansas, 66044. Kantronics
serial number will not be incremented column, or in the programmer's owners in particular will find the informa
until the next time you use F7. The pro reference guides. tion of interest, but it has something for
gram has also been designed so that in The technique illustrated here for out- everyone.

case you accidentally try to send an F2, putting a signal from the VIC and having
it operate a relay offers many possibilities.
IT'S BEGINNING TO
F4, or F6 message, it will substitute the
message stored in F1, F3, orF5. If you feel How about an automatic telephone dial LOOK A LOT LIKE CHRISTMAS
ing routine for your terminal program? It A jolly man who drives a big brown
you need additional stored messages you
sure beats having to remember the truck has recently taken to leaving me
can modify line 72 and add additional
numberfor your local BBS (computer bul mysterious boxes. Further investigation
messages.
letin board). An automatic telephone shows that Christmas has indeed come
The actual sending part of the program
dialer with virtually an unlimited number early for K9EI and next I'll take a look at
is contained in lines 4 to 24. The back ar
of entries could be easily programmed. some of the products that are currently
row key in the upper left hand corner of
You've seen the ads for the appliance on the market for users of the VIC-20 and
the keyboard will allow you to return to
control programs. They use the same C-64s in their Ham Shack. In the mean
the change speed prompt. The code itself
technique and make use of the internal time, look for me on the 40 and 20 meter
is stored as a matrix called M$. Lines 200
clock in your computer. Later on we will bands on CW, RTTY, ASCII and AMTOR
through 204 provide the necessary data
be using this method to generate RTTY testing these products. If the names AEA,
for this look up table.
Command Fbst TX will generate nearly (radio teletype) and ASCII. In reality, the Kantronics, MFJ, and Microlog strike a
RS-232 port and the software inherent in note of interest, be sure to look for next
perfect CW at speeds up to about 50
our machines will do most of the hard month's column. Truthfully, I'm about to
wpm on the VIC-20. Rick emphasizes
work for us, but the technique is still the bust with the good news I have to share
that nothing should be placed ahead of
about new products, including some
the program code between lines 4 and same.
good news for our SWL (short wave lis
24. It is the tightness of this portion of the
OUT IN THE OZONE tener) readers, but I'll keep you wonder
program that keeps the spacing from
In last month's column, the value of the ing until next month. Get your red pencil
rapidly deteriorating as the speed in
variable resistor was left out. It should be and scissors ready so you can be sure to
creases. My experiments over the last
a 20K (20,000 ohm) unit. mark the goodies you want and leave a
several months show that the C-64 is
Our first column discussed Command "suggestion" in a conspicuous place for
even more prone to these problems. This
Post RX and posed the question of why your favorite elf or elves to find.
is something to keep in mind if you are
the matrix or look up table is designed as What would you like to see discussed
writing a BASIC program that contains
it is. We had concluded that the shorter in these pages? Drop me a note at PO Box
critical timing functions.
Morse characters came first, with the 3042, Springfield, Illinois, 62708, with
After typing in the program and run
longest characters at the end. What your suggestions. Until next month, CU
ning it, you will be prompted to enterthe
about A (ditdah) and N (dahdit), though? in the Sweepstakes!
desired speed between 5 and 80 words
They are the same "length", just revers
per minute. Simply pressing the return An addition needs to be made in order
ed. As you hopefully concluded, the posi
keywillcausetheunittosendat20wpm. for COMMAND POST TX to work on the
tion of the element as well as its "weight"
You can test the program by pressing one C-64. This addition can be noted either at
(larger for dahs, less for dits) determines
of the function keys, or typing in a mes the bottom of page 11, figure one, or on
which letter will come first in the table.
sage on the keyboard. Turn up the page 13, figure three. It should read as
Since this receive program is a BASIC in
volume on your TV set or monitor and follows:
terpretation of a machine language algo
you will hear the code coming from the For the C-64 line 56 in the program
rithm, who among you will be the first to
speaker. Keep in mind that you will be listing should be changed. Substitute
overcome the inherent speed problems
limited to the 10 character buffer built into POKE 54296,15 for POKE 36878,15. This
in BASIC and develop the machine code
the keyboard. If you try to type ahead turns on the volume for the SID chip in
for us?
more than 10 characters, some will be lost. the C-64.
Some possible additions for Command ENERGY SOURCES That is the only correction needed.
Post TX could include a random number Our computers feed on programs, and Sorry for the oversight! -

38/Commander November 1983 Continued on page 40


If you like adventure
you will love
Gothmog's

Journey through forests, a swamp, the haunted mansion GOTHMOG'S LAIR features full-color animated
and its dungeon in your quest for the fabulous Arkenstone graphics, sound effects, and two selectable levels of
diamond, one of many treasures hidden in Gothmog's play — for the novice and the seasoned veteran. It's a
vast world. Battle with the dreaded Giant Spider and "real-time" adventure . . . the longer you take to find
Baron Ahriman's undead army . . . can your gnome the treasures, the more time you allow the Thief and
friend help you outwit the Old Man or recover the chest Cutthroat to get them before you!
of antique coins from a shark-infested lake? You may
A thoroughly illustrated manual with a fold-out map is
even find the enchanted elven sword and slay Gothmog
provided to explain the wide variety of options available
himself! But don't let the Thief and Cutthroat get to the
to you during play. Your success in GOTHMOG'S LAIR
treasures before you do!
will depend on your skill and resourcefulness. NOT on
your luck at guessing the right words to say.
Prepare for one of the most challenging adventures you
will ever undertake as your enter . . .

GOTHMOG'S LAIR
For the Commodore 64. Suggested Retail Price is S39.95.
To order, send check or money order to: Galactic Software, P.O. Box 10516, San Jose, CA 95157
or phone (408) 247-4434 for COD
or see your local dealer (dealer inquiries invited) c.<aeu0 ia
Continued from page 38
Figure 1

2 SN=1=GQTO50
4 FORL=ITOLEH<MtCfi5>:S*=MID*'CM*<;fl>.L/ I) ■ f1=T : IFS*="-"THENM=BL
6 PGKEV,P =POKEW,K■F0RD=ITOM:NEXT:POKEV,Z■POKEW,U-F0RD=ITOES:NEXT - NEXT
8 FORD=IIUi+i:NEXT
10 IFBJO""THEH 18
12 GETKJ: iFK$=';"THEN12
14 IFK*=CHR*':.QQ:'TH£NE*="" :G0T052
16 E$-K*:PRINT B$;
13 R=flSCCB$) B$=RIGHTJCE$,LEN';B$)-I> = IFFDLLTHEN72
20 IFfl=SPTHENFORB=ITGWS;NEXT:GOTO10
22 R=fi-FF=IFfl<ITHEH R=I
24 GGT04
58 DIMM*<5i ) : FORL=1TO51 i RERBMSKD : NEXT : 3=20
51 RtM FOR C-64 ONLV:POKE 53288*0:POKE 53281 .-0: PRINT" a"
52 PRINT"ORlBlrtiPEEIi C5 TO SejW'S'JHHr'J
54 INPUTS^IFS<50RS>88THEN52
56 PRINT"n":POKE3SS78,15■V=36876=F-23Q:Z=6=H=37136:K=64:U=S
55 T=230S/3tl.25
68 POKE UjU:DR=3713S:DI=64
62 REM FOR C-64 ONLV:FOKE 54273*?5JP0KE 54277,0:POKE 54278,123:POKE V,0
64 E3=758S/S12:FF=33:LL=30:SP=32|WS=3*T:DL=3*T:IFS>30THENDL=4*T
66 I=1-QQ=95
68 POKE DRiDI
78 PRINT"^BCOMMftND POST TX-■"■PRINT:G0T012
72 IFfi>132RNUB<141THENR=R-132:0N fl GOTO 110,130,150,170,110,130,150,180
110 K$=" CQ SS CQ SS CQ S3 DE K9EI K9EI K9EI K ";G0TG16
130 K$=" QRZ QRZ? LE K9EI K5EI K ":G0T016
150 K*=" QSL GL DE K3EI K ":G0T016
170 K*=" HR"+STR$<SN>+" R K3EI 61 ILL BK ":SN=SN+1=G0T016
180 K*=" NR"+STR*<SN-n+" fl K3EI 61 ILL BK ":G0T016
200 IifiTft ..-.-.,-...-.-,-.—.,—..—,...-.-,.-.-.-.,-..-.
201 DflTR , . , . . , . . .—,....-, ,-....,—.. . , . ., .
202 BflTR ...,-.-.-.,<,-...-,>,..—..,.-...
203 DRTR .-,-...,-.-.,-..,.,..-.,—., ,..., ,-.-,.-..,—,-.f ,.—
204 DflTfl --.-.-.-.,...,-,..-,...-,.—,-..-,-.—,--..

RERDV.

Figure 2 Figure
vc C-64
3
Joystick
+ 5 volts
Port User Port User Port
To key jack
V = 36876 V = 36876 V= 54276
on transmitter
P = 230 P = 230 P=17
W = 37137 W = 37136 W= 56577
DR = 37139 DR = 37138 DR = 56579
From D1 =32 D1=64 D1=64
2N2222 K = 32 K = 64 K = 64
computer
user
Pin 6-output Pin K-output
Port
Pin 8-ground Pin A-ground

RL1-5VDC Relay 75 MA COIL


R.S. #275-243 Note: No joystick connection is
shown for the C-64 since this
port is handled differently from
that on the VIC-20.

40/Commander November 1983


4

Powerful enough for the professional


friendly enough for everyone

An integrated Assembler/Editor/Loader/Decoder/Debugger
which comes complete with

Inside the Commodore 64

Modem with Printer Interface for


Atari, Commodore, and Vic
This step-by-slep guide to machine language and assembly
language programming will teach you what you don'l al
ready know and assist you to use what you do. Combined
with the integrated set of software tools of Develop-64, it
makes the ideal development system.

A total reference work on the Commodore 64, Inside the


Commodore 64 gives you inside information on the inside
of the machine: its graphics, its music synthesizer. Its built-
in software and the techniques for taking advantage of the
many powerful features of this computer. A complete
memory map is provided with information on how to call
Direct connect, autodial, autoanswer modem, the internal programs from your own. Written as a pro
also runs a parallel printer. 300 baud modem has grammer's guide with a machine language programmer's
perspective, it will become your primary reference guide. If
built in Centronics printer port. Simultaneously
you are still learning you will find it your best teacher.
prints whatever appears on your screen as it
comes over the telephone.
Priced at $19.95, Inside the Commodore 64
One box does it all so you can receive the most
comes free with Develop-64 ($49.95).
from your computer. Terminal program supplied,
complete and ready to run.
Ask for them at your favorite software outlet.
Auto-Print Microconnection retails for S 149.95.

Software for Commodore Personal Computers.


the microparipheral corporation
2565 ■ 152nd Avenue Nf. Redmond WA 98052
(206) 881-7544
PO Box 207. Cannon Falls. MN 55009 (507) 263-4821
Circle No. 113

GrcleNo 17 Commander November 1983/41


Dos 5.1 Wedge
^^TT By Larry Curran ^^^^^^^^^

The 64Wedge provides many useful


disk commands for the Commodore 64.
it is especially useful for reading the error
19 FORI=4896704328:READAD:CTR=CTR+AD:POK
channel and for listing the directory
El ,AD:NEXT
without disturbing a BASIC program in
20 IFCTRO24328THENPRINT"TYPING ERROR IN
memory.
DATA STAEhENT":END
Unfortunately, since it is a machine lan
38 PRINT"M0UNT DISK WHICH CONTAINS WEDGE
guage program, it cannot be easily
PROGRAM tDOS 5.1). THEN HIT RETURN"
copied without some form of machine
49 GETA*: IFA*OCHRSC 13>THEN40
language monitor. Since most BASIC pro
58 0PEN15,8,15:0PEN5,3,5,"0:DOS 5.1,P,R"
grammers have little use for machine
language monitors, another solution is
66 F0RI=4329TG5137:GETttS,A*:J=ASC(A*+CHR
needed. *C8)> :P0KEI,J:NEXT
The program GENERATOR creates a
70 CL0SE5:CLOSE 15
program WEDGE SAVER which solvesthe
98 PRINT"M0UNT DISK ON WHICH WEDGE SAVER
problem. WEDGE SAVER can be loaded
IS TO BESAVED. THEN HIT RETURN"
and run like a BASIC program. When it is
100 GETA*: IFA*OCHR*< 13)THEN108
run, the 64Wedge is placed on any for
118 P0KE332,PEEK<45) :P0KE833,PEEKt46)
matted disk which is in the disk drive at 120 P0KE44,16:P0KE45,68:P0KE46,20:P0KE47
that time. ,68:POKE43,20:P0KE49,68:P0KE58,28
GENERATOR is needed only until the 138 SA^E"@8:NEDGE SAyER",8
WEDGE SAVER has been successfully 140 P0KE44,8:P0KE45,PEEK<332):P0KE46,PEE
created. GENERATOR should be saved KCS33):
prior to attempting to run it. since under 150 P0KE47,PEEK<832> :P0KE48,PEEK<333):PO
some error conditions it might be lost in KE49,PE£K<832):POKE50,PEEK<833)
memory. It is especially important that 208 DATA 0,11,8,0,8,153,50,49,49,48,0,8,
the DATA statements be keyed in ac 0,0,0,8,64.48,53,68,79,83,32,53,46
curately since they are used to create 210 DATA49.44,80,44,S7,144, 18,87,69,68,7
machine language instructions in 1 ,69,32,83,65,36,69,32, 146,66,89
WEDGE SAVER. Note that line 20 checks 226 DATA32,76,65,32,32,89,32,67,85,82,82
that the sum of the numbers in the DATA ,65,78,69,78,68,32,68,229,169,6,141,32
statements total to the correct number. 230 DATA283,169,12,141,33,203,162,1,168,
After GENERATOR has been run suc 12,24,32,240,255, 168 ,8 , 185,38 , 8
cessfully, the program WEDGE SAVER will 248 DATA32.218,255,280,192,13,288,245,16
be on your disk. WEDGE SAVER can be 2,3, 160, 19,24,32,240,255, 160,0
loaded and saved onto other disks like 250 DATA 135,43,8,32,210,255,200, 192,16,2
any BASIC program. 0 8,245, 169, 15, 162,3, 160, 15
To use WEDGE SAVER, load it into 260 DATA32,186,255,169,14,162,16,168,3,3
memory. Then place the disk on which 2, 189,255,169,5,162,8,168,5,32, 186,255
you want to place the 64Wedge and 278 DATA32, 192,255, 162,5,32,281,255, 169,
RUN the program. The disk can then be 8,141,161,8,160,9,185,233, 12
removed and replaced with another disk 288 DATA32,210,255,200,248,7,192,91,248,
and the program rerun. 9,76, 159,3,238, 16 I,8,76,159,8
If you have problems with this program 298 DATA 173, 161,3,281, 11,248,3,76, 159,3,
or have ideas for improvements, please 169,5,32,195,255,169,15,32,195,255
write to me at the below address. To ob 368 DATA32,284,255,162,5,169, 16,24,32,24
tain a copy of WEDGE SAVER without 0,255, 160,8, 185,59,8
keying in the program GENERATOR, send 310 DATA32,210,255,200,192,3,288,245,162
a standard formatted floppy disk, a self- ,6, 160,0,32,240,255,96
addressed stamped mailer and $3 to: READY.

Larry Curran, 6049 W. Glen Ct.


Franklin, Wl 53132 rj

42/Commander November 1983


Continued from page 35

FORTY TWO PROBLEMS BASIC FUNDAMENTALS the idea of work is immediately forgotten
Each of the forty two lessons is While the students are playing games and a feeling that something wonderful
presented as a problem. The student and inventing variations they will be is about to happen comes to mind. The
enters the data and then he predicts or learning the fundamentals of BASIC. book is well designed. The illustrations
discovers which element made what After completing the book, the student are colorful and the workbook format is
happen. For example, in the first problem will understand how to use: print skillfully used.
"PRINT" is spelled "PRIMT" in one line. statements, goto, inputs, outputs, peeks, The notes in the front of the book
What does this do to the program? pokes, simple arithmetic operations on detailing the objectives of each lesson
Most of the problems focus on what variables and be introduced to dimen would allow a parent or teacher with lit
the author correctly observes to be sioning of arrays. tle computer knowledge to instruct using
children's natural interests-word games COMPUTER PLAYGROUND as a text for
and graphics. What young person
GREAT FOR the young elementary child. A fourth
wouldn't enjoy learning to do invisible HOME OR SCHOOL grade student with good reading skills
writing on the computer (white letters on COMPUTER PLAYGROUND would bea would probably be able to work through
a white background) that magically superb selection for the classroom or the problems with a minimum amount of
becomes visible when the cursor color is home. The minute you pick up the book supervision, p
changed? Or how about making a green
worm with a purple head that moves
across the screen. If those don't motivate
the student a computerized crystal ball or
a program designed to calculate the
number of hours spent sleeping during a
year will surely captivate even the most
blase' youngster.

THE NEW
MACRO
WANTED! ASSEMBLER
FOR THE
Game
COMMODORE 64
Programmers
Easy to use for the Beginner or Profes
sional, MERLIN is an extremely powerful
Macro assembler and a sophisticated
Enter your original
editor combined with many other utilities
Recreational Listings to
in a truly remarkable package.
COMMANDER and receive
MERLIN'S Macro feature allows
CASH you to name frequently used
MERCHANDISE routines in a listing, and then
PEER RECOGNITION enter only the Macro name
when entering text. Includes
Enter as many games as you SOURCEROR, which generates

like: Submit your game(s) on labeled pseudo source code from


raw Binary files.
cassette tape or disk to
Games, Commander Maga Our Guarantee
zine, P.O. Box 98827, Tacoma, We're so confident thai MERLIN is the mosl
WA 98498. powerful assembler available for the Com
modore 64 that, if you find a better
assembler within 30 days of purchase,
simply return the complete package for a
full refund!

•Plus S3.00 Shipping.


CA Res. add 6% Sales Tax.
Ask your local dealer for details or write us for a complete list of MERUN's commands.

cJata systems
P.O. Box582-C • Santee, CA 92071 • Telephone: 619/562-3221
Commodore 64 is a registered TM of Commodore Business Machines Inc.
Circle No. 147

Commander November 1983/43


I ERE, OUT THERE,
ABESTSELLING PROGRAM
WHERE KIT?
Wherever it is, we want it. Maybe, just maybe, we re
popular machine. Of course, we can't do it without you.
If you're a program author or publisher, The
Software Guild offers some distinct professional and
monetary advantages.
searching for your program, but we'll never find it First, you devote your time to what you do best:
unless you call us. programming. You can leave the manufacturing,
It has to be good, though. Because we're The packaging, documentation, distribution and customer
Software Guild'", an organization devoted to finding service to us.
the very best microcomputer pn Jgrams for packaging Second, our revolutionary retail merchandising
and distribution under the Softsrnith" label. Hundreds system will put your program before the public through
of titles have already been licensed to the Softsmith the normal computer and software stores, plus record
library. But they're only the beginning. Our goal is to outlets, department stores, book shops, and more
have the best program in major categories on every places where software has never before been available.
BEINGWRITTEN.
Third, is royalties. Wider distribution means more So call us, wherever you are.
substantial royalties. And, your Software Guild Contact Regina Roberts at(4l5)487-52OO.
royalties start to accrue when the dealer makes his pur Or write:
chase in quantity, so you aren't left waiting while The Software Guild
money trickles in. 2935WhippleRd.
Fourth is flexibility. We do not insist on the Union City, CA 94587
exclusive rights to your program. You can deal with
other publishers and distributors, or market your pro

The Software Guild


gram yourself, while it is in Softsmith distribution.
We know you're out there, working and dream
ing, and we want to help make your dream come true.

(415)487-5200
Our full staff of professional evaluators are waiting to
review your best-seller.
(j^

By Ian Adam
To help keep track, I presented a knowledge of machine language is
method in the August issue of displaying required to use it.
ABSTRACT
the time continuously on the screen of -the time is generated from one of the
Personal computing can be an engros your Commodore 64. That program two 6526 complex interface adapter
sing task, to the point that one loses track takes advantage of one of the unique chips which are a unique built-in
of time. The August issue of Commander features of the C-64, its pair of built-in feature of the C-64. Two time zones
included a program to provide a continu clock/interface chips. At that time, I also would also be possible.
ous time display on the screen of the promised to let you know how to use the -caution should be used when editing
Commodore 64. This update adds a pro programmable alarm feature, so here it at the top of the screen, lestthe dis
grammable alarm that is extremely ac is. Like the time display, the alarm pro played time be incorporated into the
curate and easy to use. Although the pro gram is extremely easy to use... the only program you are working on.
gram is in machine language and inter- skill required is to type it in (and I'm at
rupt-driven, no special skills are required ACCESSING THE ALARMS
best a two-fingered typist!). The display
to set it up or use it. Commodore packed a lot of action into
should get your attention. If you're a rol
four registers on each of the chips. Each
ling stone yourself, it would even make a
register serves four separate functions: to
Time is on my side. Or so goes the say great travel alarm with the potential for
set the time initially; to freeze the time for
ing, anyway. That was also the name of a two time zones ... if you have room in
read-out; to keep time even when the
song by Mick Jagger and the Rolling your suitcase for the computer!
read-out is frozen; and, to set the alarm.
Stones, which was a hit in the 1960's. But TO RECAP These seemingly impossible tasks are
time marches on (another saying!), and If you had the opportunity to read the
controlled by the order in which you ad
Mick Jagger has celebrated his fortieth August article, then you are familiar with
dress the registers, and by the value in the
birthday (time leaves no Stone the advantages of this type of time
control register for each chip.
unturned?) display; you will also have much less typ
These are the main registers involved:
Enough of that. The world has chang ing to do now. In that case, just skip to
ed a great deal in the intervening years. the next section.
Home computers were a distant dream For those of you who didn't see the
in the 1960's ... today they are a reality. first article, here is a recap: Function ChipA
By freeing you of routine calculations and -the time is displayed continuously in Hours &am/pm 56331 ($DC0B)
other chores, computers have the poten the upper-right-hand corner of the Minutes 56330 (SDCOA)
tial of freeing up much of your time for C-64's screen, even when other pro Seconds 56329 (SDC09)
other purposes. They can also educate grams are running. Tenths 56328($DC08)
and entertain you in your new-found lei -The time is extremely accurate, to Interrupt 56333 (SDCOD)
sure time. The other side of that coin, within tenths of a second per day. In Alarm Control 56335 ($DC0F)
however, is that computers can consume contrast; the Tl$ clock has an error of
a great deal of your valuable time in a half hour per day!
programming, telecommunicating, or -the program is in machine language
whatever. and uses an interrupt drive, but no

46/Commander November 1983


JIB
Adventure Games Lomputer.
The Sorcerer's of the netmork
Journey deep into the jungle to find and defeat two evil
sorcerer's De-fore they take aver the ■mrla. Business applications for the
The Catacoobs of the Pharaohs* Commodore 64 and VIC 20
The Pharaohs nave sealed you inside a pyranid, only when The Computer Network has 80 column screen
you have returned their treasures will they let you out. adaptors, word processing software, accounting soft
ware, spreadsheets, printers, modems, monitors,
The Eerie Nansions
interfaces, furniture, disks, disk drives, cassettes.
you bus*, explore the nansiori ana find all the treasure;,
The Computer Network carries Commodore, DATA 20,
you will have to elude aonsters along the nay to escape.
Star Micronics, Brother, Epson, IDS, Okidata, Silver Reed,
The tieathprobe of the Sralizonst BMC, Amdek, Zenith, Micro World, MSD, Kero, HES, ESI,
You oust fuel and repair the probe to send it into Infodesigns. Timeworks, J & G Software, TOTL Software,
Pacific Coast Software, and Professional Software.
space, treeing the earth of the threat it poses!
The Computer Network will work with you from choos
Other Programs
ing the proper equipment, installation, repair, and best
Monopoly 64s (64 only) of all someone to talk to when it doesn't work! Looking
Great sounds and Graphics, it also resellers your na«es. for a product and still can't find what you want? If we
Diet Coap* (Uic-20 only) don't have it we can get it. The Computer Network is
not a discount mailorder house. The Computer
Turn your cosputer into a diet cosputer, lists iteis. Network is a full service retail organization,
Budget Hirnsizer'* (64 only)
The Computer Network
Very useful hoeie and small business finance progran, $ P.O. Box 9840
ail programs sre H9.95 tape an4 f24.9$ on disk, g Fountain Valley, CA 92708
topt Xonopol? 64 is $14,93 tape and $24,95. disk. Call Toll Free 800-221-9948 in California 714-855-4366
Hesse incLtl.SQ Postage.(M res. m<3 62 tax). If you want your 64 to do more than play games. The
Mystic Software (619) 443-9776 Computer Network has what you want!
P.O. Box 536 Lakeside, Calif. 92040
Circle No. 103

Q ATTD A 1^ A Permanent RAM


DA I I MMIVI for your V1C-20
Not Just Another Memory Expansion Board
"BATTRAM" is a battery "backed up" memory expansion system that allows you to save your
programs into permanent memory for instant loading (faster than a disk drive).

User Friendly Features Include:

■ ROM operating system will run co-existant with ■ Use as a cartridge for BASIC or Machine
any program and is menu driven. language programs.

■ Simple commands include: LOAD, SAVE, ■ Use as a normal expansion board, or a


DELETE, CHANGE NAME. development tool.

■ No program loss from accidental power down. ■ Fully addressable.


■ Easy LOAD (instant access) and SAVE. ■ May be write protected or fully deselected.
■ Will run in any 8K expansion area (BATTRAM 8).
■ Compatible with most multi slot expansion
■ Reset switch for cold starts. chassis.

BATTRAM 8... $85.00. BATTRAM 16... $150.00


Prices include software and manual. Please add $3.00 for shipping and insurance.

TORO DIGITAL SYSTEMS, Suite 233,15127 N.E. 24th C-3, Redmond, WA 98052
VIC-20 is a trade marK of Commodore Business Machines

Circle No. 121

Commander November 1983/47


Function ChipB problem was. Say the alarm is set for
BORING DETAILS
Hours &am/pm 8:30:00.0, and sounds at that time. One
56587 (SDDOB) When properly loaded, the program
Minutes 56586 ($DD0A)
minute later, at precisely 8:30:59.9, the
will run just like clockwork. It will supply
tenths-of-a-second register rolls over, giv
Seconds 56585 ($DD09) you with the instructions, but for your
Tenths ing an instantaneous time reading of
56584 ($DD08) reference I'll repeat them here:
Interrupt
8:30:60.0. This immediately rolls over
56589 (SDDOD) SYS 832: recall time display to
again to 8:31:00.0, but it is apparently
Alarm Control 56591 (SDDOF) screen;
sufficient to trigger a second alarm
SYS 994: turn off time display
(sometimes).
We will be using chip A for the alarm, (still runs internally);
but the same process applies to chip B. To There are three or four ways to pro
POKE 982,n: change colour, where
set the time, values must be POKEci into gram around this quirk, once you know it
n = 0to15;
the four time registers. Lines 9090 and exists. I decided the easiest way to solve
GOSUB9140: set or reset alarm
the problem would be to POKE a 1 into
9110 take care of this. Because the data is time;
the tenths register (i.e. setting the alarm
stored in binary-coded decimal format F1: stopalarm display.
(BCD), some conversion is necessary, and time in our example to 8:30:00.1). This
removes the alarm from the vicinity of the As before, the operating part of the
lines 9070 and 9100 handle this. The time
rollover, and seems to have banished the program is in subroutine form, so you can
does not start running until a value is
quirk to another world. If this should ever include it in other programs as you wish
POKEd into the tenths-of-a-second
return to haunt you, please let me know; (for non-commercial purposes only,
register. Reading the time is also very sim
maybe we'll try an exorcist. please). The commands listed above can
ple, and is taken care of by the machine
also be used within a program, since the
language routine. As soon as the hours USING THE PROGRAM
time is correctly set. To stop the alarm
register is read, the time read-out is Having covered the theory, let's get
display under program control, just use
frozen, and does not resume until the down to business. Type in the listing as
POKE 197,4.
tenths register is read. This permits a con shown; type the DATA statements care
If the F1 key is not convenient for stop
sistent reading without 'rollover' of any fully, since they contain the machine lan
ping the alarm; for example, if your pro
digits. Only the display is frozen, and the guage program. Any error in that portion
gram uses it for some other purpose,
registers continue to keep accurate time can crash the computer. If you have
then it can be changed. After the data
internally. already typed in the previous program,
has been loaded, POKE location 727 with
So how do we set the alarm? By exactly then you only have to change or add lines
the keyboard value of the key you would
the same process as setting the time...by 70 to 90, 9015, 9020, 9140 to 9210, and
like to use. This is NOTthe ASCII value; it's
poking values into the same four regis 9290 to the end. The rest of the lines are
the value that appears in memory loca
ters! Only difference is, we first have to ok as they were previously.
tion 197 when the key is pressed.
set bit 7 of the control register to a one. When you've finished typing, SAVE a
The main program is stored in the cas
This signals to the chip that we want to copy of the program before you run it.
sette buffer, while the alarm portion oc
set the alarm time instead of the dock This will avoid having to retype the whole
cupies an unused area of page 2 memory
time. The multiple use of these registers thing in the event of a fatal typographical
as well. Thus, they may conflict with
does keep things simple-honest! Lines error. Then go ahead and RUN it. First, the
other programs that use these areas for
9160 and 9170 of the program take care program will READ the machine language
machine language or sprites. The pro
of the BCD conversion. Line 9175 sets the DATA and store it in memory. The variable
gram would also be destroyed by any
control register, POKEs in the desired CH is a checksum to guard against errors
tape load or save activities. If these cau
values, then resets the control register to in the data. If the program stops and in
tions create a problem, then the routine
its normal value. dicates a data error, then double-check
should be relocated to a different area of
Once the alarm has been set, it cannot everything. Assuming that is OK, the pro
memory. This is a straightforward task,
be read. When the prescribed time is gram will then ask you to enter the cor
but does require a basic knowledge of
reached, this is signalled by setting bit 2 rect time. Give the AM/PM and the hour;
machine language.
of the interrupt register. The program when asked for the minute, check an ac
SO ... enter the program, and I hope
must recognize this, and proceed to curate time source, and type in the
you find it useful. Load and run it
alarm the operator in whatever way is number of the next minute (e.g. if it's
whenever you're using your C-64-it'll
specified. Don't worry, it won't bite. All 8:30 type in 31), then wait until that
help you manage your time more effec
of this may sound complicated, but the minute arrives to press 'RETURN'. Press
tively. Then you'll have plenty of time on
program takes care of the details. ing return starts the clock.
your hands.
After the instructions, you will be
NEXTTIME.. .we'll look at a few ways
A QUIRK IN THE CHIP prompted forthetimeyou want the alarm
to speed up Commodore BASIC o
Help; there's a quirk on the loose! to be set to. When the alarm matches the
In programming the alarm, I came clock time, it will be announced by:
upon a most unusual feature. I got the -the border of the screen flashing;
alarm all set up, and (after a lot of hit-and- -a buzzing sound; and,
miss changes) finally got it to work well. -the word 'ALARM' flashing above
Eureka! The only trouble was, the alarm the time.
would mysteriously sound for a second If that isn't enough to attract your at
time, exactly one minute later. Really had tention, then perhaps you're in a time
me stumped for a while. After a sleepless warp! !n any event, you can turn off this
night, however, it came to me what the display simply by pressing the 'F1' key.
48/Commander November 1983 Continued on page 50
Micro Spec
SOFTWARE MEANS
BUSINESS FOR THE
COMMODORE 64

When it's time to get serious, it's time to boot up


MicroSpec business software. Our complete line
of business software is made to give you some real
applications for your Commodore 64. From data
base management to full accounting software, we
have the package for you.
It's attention to detail that makes our packages
so beautiful and makes them stand out from the
rest. We realize that most people are first
time users, so we designed all our packages to
be completely menu driven and user prompt

R»ent/
Fi•x
ed for each input. We also know that most
people use only one disk drive, so we
designed all our packages to virtually
31
^* m
— ■—■ era m ■—
C3

C3

eliminate disk swapping. Other features like m 3> 3» o


= 3D
CO 33 m C3
7C CO

non destructive input routines really make


-< m CO
-H CO CD m
—i 3a ^^ m
O O
CO -H 3» 3D
a 3D D m

our software easy to use. But all this doesn't —t ^< m 3K 3D 31


m
—I
CO
^ |^ ^

=E 3E 3 C"3
5C EC
restrict you. Pure random access file struc
c-3
3» 3»
>■ 3^ 3»
m —
JE

ture maximizes your disk capacity and


3» »• 3» >• 3» 3K
en en en S3 O3 oa 03
CD m C3
m m m m m m m m m

allows you to bring up any record for viewing


zc 3D 30 m m = m 33 aa so

in less than a second.


In our efforts to put together the best pack
ages available, we worked on more than the The Demonstration Package, which shows how
software. We took the same approach with the each program runs, is available for $19.95. So, if
documentation as the software. We made it com you're serious about your 64, call or write for a
plete and easily understood for the first time user. complete brochure or go right down to your
We even provide sample reports in many cases. nearest computer retailer for a demonstration.

WHEN YOU AND YOUR 64 ARE READY TO GET DOWN TO BUSINESS


GIVE US A CALL

Circle No 28
P.O. BOX 863085 • PLANO, TX 75086
(214)867-1333 Commander November 1983/49
Continued from page 48

0 REM ** IT'S RLHRMING! **


1 REM
2 REM ** CLOCK DISPLRV WITH fiLRRM **
3 REM FOR COMMODORE 64
4 REM
5 REM BY IRN RDRM
6 REM VRNCOUVER, B. C.
7 REM
10 GOSUB3Q00
20 PRiNT":aia»* time writs for no mrn
30 PRINT"CLOCK INSTRUCTIONS:*]"
40 PRINT"SVS 832: TURN ON DISPLflY
50 PRINT"SYS 334: TURN OFF DISPLRV
60 PRINT"POKE 382,N: CHRNGE COLOUR
70 PRINT"GGSUB 3140: RESET RLRRM
S0 PRINT"Fi: TURN OFF RLRRM
30 GOSUB3140:ENIi: REM SET OR RESET RLRRM
8330 REM BRLRNCE OF PROGRRM IS SUBROUTINES THRT CRN BE USED INDEPENDENTLY
3000 CH=0:FURI=832TG1003
3016 RERDfl:POKEI,R:CH=CH+fi:NEXT
3015 FGRI=673T0744 iRERDR:POKEI,R:CH=CH+fi = NEXT
3020 IFCH-23614THENPRINT"MJH0fl...DflTfl ERROR":STOP=NOTE CHECKSUM
3030 INPUT"^BaMBW IS IT RM OR PM" ;R*: INPUT""*! RND THE HOUR".;H
3046 PRINT"MM ENTER THE MINUTE WHEN YOU WISH TO STRRT
3050 PRINT" PRESS 'RETURN' TO STRRT THE CLOCK:W
3060 IFH>12THENfl$="P":H=H-12:GOTO9860
3070 IFH>5THENH=H+6 :REM CONVERSION TO BCD
9080 IFLEFT$CR$, r;' = "P"THENH=H+l28
9038 C=56328:POKEC+3,H:PGKEC+1, 0
31001NPUTM:M=M+1NT CM/10; *6
3110 POKEC+2,M:pGKEC,0:SVS832:pRINT"iI« IF NOT OK, PRESS RNY" KEV

3130 NEXT:RETURN
3148 PRINT"HJHRT TIME WOULD VOU LIKE THE RLRRM7M"
3145 INPUT"RM OR PM",fi$:fi$=LEFT$<fi$,1>
9150 INPUT"THE HOUR",H
9155 IFH>12THENR$="P":H=H-12:i30T03155
9169 H=H-6#<H>9>«128*<fl$='lP">!REM CONVERT TO BCD RND RDD RM/PM INDICRTGR
3165 INPUT"THE MINUTE";M
9170 M=M+INT(M/10)*6
9175 C=56328:POKEC+7.136:POKEC+3,H:POKEC+2, M iPGKEC,1:POKEC+7,8 REM RLRRM
3180 PQKE54273,33 = P0KE54273,240:P0KE54276,21
3185 PGKE54237,2:POKE5429B,17:REM SOUND
9130 RETURN
3200 DRTR 120,173,20,3,162,83,234,234,234,142,20,3,173,21,3
9210 DRTR 162,3,234,234,234,142,21,3,88,36, 173,11,220,170,41
3220 DRTfi 15,24,105,48,141,67,4,138, 16,4,162, 16,16,2,162,1,142
9230 DfiTfi 77,4,162,32,41,16,240,2,162,43,142,66,4,173,10,220
3240 DRTR 170,41,15,105,48,141,70,4,138,74,74,74,74,24,105,48
3250 DRTfi 141,63,4,173,9,220,170,41,15,105,43, 141,73,4,138,74
3260 DRTR 74,74,74,24,105,48,141,72,4,173,8,220,105,48,141,75
9270 DRTfi 4,163,32,141,65,4,141,76,4,141,73,4,162,14,157,24
9289 DRTfi 4,202,203,250,163,58,141,68,4,141,71 - 4,163,46,141,74
9230 DRTR 4,163,13,141,78,4,163,1,162,13, 157,65,216,202,203,250,76,167,2
3300 DRTfi 120,163,49,234,141,20,3,163,234,234,141,21,3,88,36
9310 DRTR 173,13,220,41,4,249/3,141,227, 2,173, 227,2,249,42,173,162,0
9320 DRTfi 106,106,106,41,12,141,32,203,41,4,141,24,212,240,11,162,5,183
3330 DfiTfi 227,2,157,33,4,202,268,247, 173, 137, Q, 281,4,208,6,.142,227,2
9340 DRTfi 142,24,212,76,49,234,0,1,12,1,18,13
9358 COPYRIGHT IRN rllifiM VANCOUVER B.C.

50/Commander November1983
C-64 TI99/4ATIMEX VIC 20 ATARI
Circle No 3
Program Your Own EPROMS
CHILD
► VIC 20
► C 64
$99.50 pi u/j)c/),/(/c DEVELOPMENT
► PET 64

PLUGS INTO USER PORT


SERIES
NOTHING ELSE NEEDED (for the 3.5K VIC and
EASY TO USE VERSATILE
16K ATARI)
(D • Bead or Program One byte or
32K bytes1
■ :
ADD/SUB—S16.95
OR Use like a disk drive LOAD.
Displays single or multiple
CO
SAVE. GET. INPUT. PRINT. CMD.
OPEN. CLOSE—EPROM FILES! digits with or w/o pictures.

5
Our software lets you use familiar BASIC commands 10 borrows, carries, scoring.
create, modify, scratch files on readily available EPROM and audio/video feedback.
chips Adds a new dimension to your computing capability

£
Works w.lh most ML Monitors too
NUMER-BECi—S16.95
• The promenade C1 gives you 4 programming voltages.
Number recognition, object
2 EPROM supply voltages, 3 intelligent programming
o algonlhms 15 bit chip addressing. 3 LED s and NO counting, object grouping,
swilches. Your computer controls everything from software1 and number/size/shape

a • Textool socket. Anti-static aluminum housing

• Extension cable, cartridge PC boards, etc at extra charge


discrimination.

BECi is composed of professionals dedicated to


• Some EPROM types you can use with the promenade '
2758 2S3? 4E2732P 27128 5'33 X2816A1
providing non-trivial educational materials for the home
25:6 2732 256.1 27256 5143 52B13'
2716 27C32 2764 6B76J 48D16P"
computer. In addition to our own software, we carry a full
2732A 27C6J
line of evaluated hardware and software. Send $2
(refundable) for our catalog.
Call Toll Free: 800-421-7731 C"ec« a' Money Oroer
NO CODS
In California 800-421-7748 Send check or money order to:
71 JASON-RANHEIM BOSTON EDUCATIONAL COMPUTING, INC.
580 Parrott St.. San Jose. CA 95112
78 Dartmouth Street, Boston, MA 02116
(617) 536-5116 * MA res. add 5% tax
Circle No. 109

VIC 2O& C-64 OWNEFts >


HARDWARE AT PRICES YOU CAN AFFORD
^g STOCK • list SALE ^J LIST

W64-80 40/80 Column Video Board 179 139 W64-EXP 5 Slot Expansion Chassis 79 59
for your C-64 tor your C-64
W20-80 40/80 Column Video Board 99 89 W20-EXP 6 Slot Expansion Chassis 79 59
for your VIC 20 for your VIC 20
W-Mode 300 Band Direct Connect Modem 79 59 W20-E 32K Eprom Board for VIC 20. 29 24
for VIC 20 or C-64 I1 Fully Socketed, uses 2764 or 6264
W-PI Parallel Printer Interface 49 39 W20-3 3K Ram Board expandable to 39 32

_J
for Centronics type printers 1 35K by adding additional 6264 s
L.^ _J
f STOCK# list SALE 1 r stock * LIST SALE^
W64-WD Wafer Drive for C-64. 139 99 W20-11 11K Ram Board. Fully socketed 89 69
Stores like disk drive at Vfc the cost ■ and expandable to 35K
W20-WD Water Drive for VIC 20 W-8K RAM. 129 99 W20-19 19K Ram Board. Fully socketed 139 99
Call for FREE information and expandable to 35K
W20-I IEEE 483 Interface for VIC 20 89 69 W20-27 27K Ram Board. Fully socketed 189 124
Allows use of powerful peripherals and expandable to 35K
W64-I IEEE 488 Interface for C-64 109 89 1 W20-35 35K Ram for your VIC 20 239 149

Enhance your VIC 20 and C-64 with quality hardware A


ME*m from WAVE Computers. Buy factory direct and take Hf AlfJ m
— ^T-1 advantage of sale prices. Ca II now for FREE Catalog. WWfliWJ r
1 ■* A\ C.0.0. Add 2.00 Postage anO Handling, ^v All /* )nC\OOO \A/A\/C ■■ *■ W" Computers Inc. I
Washington Resident Add Sales Tai. Ij/\LL I A iLJO ) OOy*WAV t P.O. Box 3883 T Federal Way, WA 98003 ;
Prices Subjeel : o Change. V

Commander November 1983/51


rogram
ByJerr/Byrd

I suppose one of the drawbacks of mer, or the aspiring professional, should come out until all five of your best disks
knowing how to program is that you do. Really, the issue is not whether to have been backed up. Backing up means
do-even when perhaps you shouldn't. build or not, the issue is whether to be using some method to move the pro
Every time there is a need for something organized about it or not. You are going grams and stuff from one disk to another.
to be done, it is awfully easy to find to accumulate programs, from all kinds The five basic "library shelves" for me are
yourself writing a program to do it. I can of sources (more about that later), and rather straightforward.
think of a perfect example. you are going to want to keep the pro
Programming routines are the pieces
As usual, it was the middle of the grams for later use.
of programs that I try to use in most of my
night-best time for programming. Only
To begin your plan, ALWAYS LABEL programs, so I won't have to do that
this time I wasn't programming. I was
EVERY DISK. It is amazing to me to see again. This is the one that we will discuss
putting the finishing touches on a new
the number of times that I observe pro more in a minute.
catalog. Had the ol' cranium in high gear.
fessional programmers with 10 un- Programming utilities are programs
Ideas and good stuff were running good.
labeled disks lying around, inevitably, that I use while programming. Here you'll
I am not sure how it happened. Suddenly
there will be a mix-up. A disk will be lost find BASIC Aid from Canada, a program
it just quit.
or over-written. Of course Murphy's Law to find the actual end of a BASIC program
The word processor just quit! CRASH! demands that the disk with the ir within memory, a machine language ex
Out to the machine language monitor replaceable program or routine upon it is tension and many, many more.
(MLM). (That's when you get those funny the one that's gone. My We manipulation disk has dump and
letters on a PET or CBM screen and
nothing seems to work.) All my work for
fix programs for relative files, sequential
Use a label name that is catchy and can
files and program files. It also contains pro
nothing; several hours down the tube. be remembered. I once got a program
grams to copy and erase programs, to
Then it dawned on me-save the whole from a fellow from Canada. Its title was
rearrange directories and rename or read
thing with the MLM. I did. Now I "Canadian Goodies". That's my source
a disk.
wouldn't need to retype all that creative for "Disc Doctor", a really great program.
A good hardware diagnostic disk will
genious. (Please, no one mention my There is a disk in my office that is called
check timing and belt problems, check
laziness.) In just a few short minutes I "Green Label". Everyone knows it. Sons
memory of the computer, demo and test
would have my masterpiece back. Just a and grandsons (or granddaughters, if
printers, set various modes of printing,
little conversion. . . your prefer) of that disk all proudly bear
set and reset device unit numbers, dump
Four hours later I had something from the same title. It's called that because the
memory of a unit's processor, etc.
which I could recover the catalog. Prob original disk on which I got it had a green
Word and test processing contains
ably, I could have retyped it faster, but I stripe on the label. That disk has an ex
programs to do everything from print
knew how to program. Now, here's the cellent single disk backup program for
labels to convert a Word Pro file to a
dumb part. I have no idea where on earth the 1541.
Wordcraft file and vice versa. If I ever find
that program is that I used to convert raw the program I used that night to recover
Don't use the master disks. Store them
memory to real, useable sequential files. that catalog, I am going to put it right on
away like vintage wine. Make a backup
It's gone. Every programmer needs to this li'l ol' disk here.
to really use. Confucious say, "He who
find a way to keep (and find) precious, The truth of the matter is that I have
use master too often soon have disk with
once-in-a-lifetime programs that just may another disk. It contains the things I need
hole in it."
be helpful sometimes. most right now. It has a simple label:
Set up some library masters. Think of "JBB's-DO NOT TOUCH OR I'LL BREAK
PHILOSOPHY: them as special bookshelves. Put your YOUR ARM!" I'm not sure, but I don't
BUILDING A favorites there (easy way to keep them think I mean it. Nonetheless, nooneever
PROGRAM LIBRARY handy). Usually about five disks will do it. bothers it.
Every month have a backup party. That's Where do I get all these programs? I
Building a program library is one of the when you sit down on Friday night with a write most of mine. Some, though, came
first things that a professional program- two liter bottle of Dr. Pepper and don't from friends and acquaintances from
5 2/Commander November 1983
64K hex VIC 20
fl-RflM

SELECT flRflM
SELECT-A-RAM $169.
64K
EXPANSION MODULE ....$149.
STANDARD FEATURES
• 8K BLOCKS SELECTABLE FROM THE TRADE-INS ACCEPTED

KEYBOARD OR BY SOFTWARE COMMAND 3K $5 8K$1O 16K-$20


• TWO EXPANSION SLOTS

• WRITE PROTECTION
• RESET SWITCH

• EXPANDABLE TO 192K WITH ADDITION OPTIONAL POWER SUPPLY FOR USE


OF 64K EXPANSION MODULES WITH ADDITIONAL 64K RAM MODULES OR
• COMPATIBLE WITH ROM CARTRIDGES MULTIPLE EXPANSION SLOTS $25.
• ONE YEAR WARRANTY ON PARTS
AND LABOR VIC 20 IS A TRADEMARK OF COMMODORE
• 15 DAY MONEY BACK GUARANTEE ELECTRONICS LIMITED

512-441-3202 PO BOX 43006 Austin, Tx. 78745-0001

MasterCard
VISA
ADVANCED-PROCESSOR-SYSTEMS
meetings and shows. I am also a full- needing-seldom exactly the way I can Simple. I pulled out an old program that
fledged member of TPUG (Toronto Pet use it, but the concept I have been search had been used for file maintenance and
User's Group), not an associate. I have a ing for. used that to put the files into a basic se
few programs from that library, probably Just the other day 1 needed to have quential file. Then I modified the new,
the best in the world. Some of my pro some files converted for one of our beta current file maintenance program to
grams came from magazines and books. sites to a different format. I asked one of read the sequential file and write
I know folks who still have every program my staff programmers to do it for me. He everything back out in its correct format.
they ever saw and I know others who worked for a couple of days and then left "Old programs never die, they just get
have none. Try to pick and choose. As for on vacation with the job not done. He their line numbers changed".
magazines, I personally subscribe to and had tried to write code from scratch and Programming routines can be used
read several. I never throw them away. I became thoroughly confused. In thirty again and again. If they are to reach the
often thumb through back issues and minutes I had a conversion program writ full potential, however, there are some
find exactly what I have been ten and running. Why the difference? rules that should be followed. You might
want to refer to last month's column to
see some specifics.

COMPUTER BUGS 1. Use consistent variable names. This


way you won't have to always make
them change to fit your program.
THE "PET" OF THE COMPUTER AGE!! 2. Use consistent numbering. It helps
to be able to recognize lines by their
"address".
3. Use a programming aid, such as the
Programmer's Aid, Programmer's
Tool Kit, VICTree,orBASICAid.These
add immeasurably to the speed and
^as*
ease at which you program.
What kind of routines are fair game for
keeping as a routine? Almost any. Some
specifics that come to my mind are:
a. screen layout
b. input routines
c. file openings
1. input from file
2. relative
REAL COMPUTER CHIPS!!
d. error traps
TIE TACK/DECORATIVE PIN e. file closings
f. input from file
You've had bugs in your pro- These computer pets make g. write to file
grama and bugs in your system. great gifts. And, when ordered
There is much meat for discussion
But, what happens to these in families of 3 or more, you'll
about several ideas presented here, but
evasive creatures when they save 50$ each. So, when or
dering your Friendly Computer
let me close this part of our coffee break
are "worked out"? Some hang
Bug, order one for each of your with just one.
around to pester you again, but
a few are caught and taught friends and save! I use the word "file" a lot. Perhaps you
manners.
are not too clear exactly what I mean by
TO ORDER that. Commodore computers think of
We proudly present the
everything as a device. The printer is a
FRIENDLY Computer Bug - I.C. SEND:
device, the screen is a device, the
Mite. These once bothersome • S3.00 each for 3 or more OR $3.50
pests have been transformed each for lens than 3. keyboard is a device. A device is a
into friendly, talented pets that • Check or Money Order. COD's numbered repository of information.
add SI.50. Some devices can only receive informa
you can train and display with
• Add S1.00 for postage and han
pride. You, the owner, are dling. tion, others can only send information
supplied with a comprehensive • California orders add 6% sales and some can do both. The screen can
Care and Training Manual that tax.
• Please be sure to include your
only receive information sent to it;.there
answers such pressing ques is no way for it to send information to the
Name. Address, Zip Code, and
tions as: full payment with your order. computer. The keyboard is just the op
• Have fun with your new pet.
-What do I.C. rfS== posite. The disk drive unit can do both—
Mites eat? ORDER TODAY! I send and receive. In fact, it can com
H&H ENTERPRISES j municate, since it has its own
— Can computer bugs swim? P.O. BOX 2272
microprocessor. A file is .a logical subdivi
— And, how fast can they run? FULLERTON, CA 92633 C
sion of a device. (Some computers think
of a device and a file as being
synonymous, but not Commodore.)
A file is a bunch of stuff stored on a disk
54/Commander November 1983
BASIC ELECTRONIC BUSINESS SYSTEMS, INC.

SOFTWARE FOR 8032 OR 4032 WITH 2031, 8050


OR 4040
COMMODORE 64 WITH 1541

General Ledger
300 Chart Accounts * 700 J/E * Detail G/L & Income
TEE-SHIRTS."
Statement * Budget Variance Statement * Trial Balance * 30?"S0FTEE* THE TEE-SHIRT
Cash Flow Analysis * Balance Sheet Journals * WITH A SECRET RUHABLE
PROGRAM ON ITS BACK."
Payroll System 7WHEN YOU PURCHASE A
SOFTEE" SEND US
300 Employees YTD * Employee Wage Analysis *
ENCLOSED FORM ALONG
Employee Time Card Lists * W-2 Forms * 941 Reports * Pre WITH YOUR SECRET.
payment Register * Labels Work Comp. Report & Check PROGRAM"
Resister * Payroll Checks * 50 Hourly Employees * IF WE USE YOUR
PROGRAM ON A SOFTEE"
Accounts Payable UILL SEND YOU $25.00
O?"ORDER YOURS TODAY"
Open Invoices (300) * Vendor Report * Purchases Journal *
Pre-Payment Register * Cash Need Projection * MED LG XLG

Accounts Receivable COMMODORE 64 OWNERS

Customer List (300) * Sales Journals * Customer Sales PLEASE SEND ME SOFTEE'
TEE-SHIRTS AT $7.00 EACH,
History * Statements * Labels * Open Invoice (300) * In
voice Income Projection *
THE AHP DOCTOR
Inventory 272 CLAREMONT AVE
KENMORE.KEW YORK 14223
Quantity On Hand * Quantity Purchased * Quantity Sold,
"$" Purchased & "$" Sold (MTD & YTD) * Inventory Alert * H.Y.S. ADD 71 SALES TAX
Valuation (Retail & by last cost) * Listing by part number *
Limit 999 per disk*
The above for 8032 or 4032 S129.00ea.
Circle No. 125
The above for C-64 $ 79.95ea.
All for 8032 or 4032 $495.00
AllforC-64with1541 $295.00 PET/CBM OWNERS
Each module includes the logic to allow posting to the G/L.
High Resolution Graphics I!
Each module may be used as a stand alone system or a total
Micro Technology Unlimited has been suc
system. Please specify format.
cessfully marketing for several years an
Integrated Visible Memory package designed for
Client Accounting
the 12" screen 4032 and 8032 Pet/CBM computers
Everything a bookkeeper needs to keep books for a typical
from Commodore. The K-1008-43 package mounts
small business client. Includes all features on G/L plus the
inside the Pet case for maximum protection and
ability to produce disbursement registers, 941-B Forms and
portability. To make the power and flexibility of the
W-2 Forms.
320 by 200 bit mapped pixel graphics display easily
The above for 8032 or 4032 $129.95
accessible, we have designed the Keyword Graphics
The above for C-64 $ 79.95
Program. This program adds 45 new graphic com
BMCBXPrinter(80cpsdotmat.) $299.00
mands to Commodore BASIC. A number of other
BMCPB-401 DaisyWheel-16cps $729.00
valuable features are: 4 types of video image control,
The Connection (printer interface)
and 5 bank switchable ROM sockets. Additionally,
forC-64orVIC20 $ 89.00
the board can be used as an 8K RAM board when
Printer Interface for 8032-4032 $149.00
graphics are not in use. For easy to use, high
Amdek Color I + with cable $299.00
resolution graphics, write or call MTU.
BMC Color Monitorwith cable $249.00
Model1540to1541 Romconverter $ 64.95 TO ORDER — Specify the K-1008-43 Package
Commodore 8032 Computer $619.00 Price. $495.00
Check, Money Order, Bank Card, COD
Commodore 8050 Disk Drive $975.00
Mastercard and Visa accepted

TO ORDER CALL (713) 530-2515 North Carolina residents add 4%


Dealer Inquiries welcome
M.C.orVisaAdd3%
B.E.B. SYSTEMS, INC. MICRO TECHNOLOGY UNLIMITED
11430 Bissonnet, C-7, Houston, TX 77099 P.O. Box 12106
Raleigh, N.C. 27605
DEALER INQUIRIES INVITED
919-833-1458
Circle No. 68

Commander November 1983/55


By Colin F. Thompson
Ergonomics-the science of matching the keyboard and the monitor. Some ex After I found the best height for my
man to machine has become a multi- perimentation revealed my hands were monitor, I went shopping for a monitor
million dollar business in the short span of too high to type on the keyboard at my stand. Finding one did not prove to be a
only two years. As the ranks of usual blinding speed (don't laugh). Solu problem. Finding one that I could afford
ergonometric equipment manufacturers tion? I raised my chair three inches. That was the problem. I looked at stands
grows, I have been unable to avoid taking little trick brought me back into the made of oak, walnut, pressboard, plastic
an interest in their products. Adver 25-30WPM range. My backand neck still and metal. The least expensive one was
tisements in magazines, newspapers and bothered me so I began adjusting the almost $30. My three homemade com
my daily mail all vie for my attention. height of my monitor. First I raised it off puter tables cost less than that! I found a
I spend more time at my VIC keyboard the table to about eye level. For a while low cost monitor stand by accident while
than most because writing about the VIC this brought relief, but soon my neck was shopping in the housewares department
is my profession. Eyestrain and lower feeling like a pretzel again. After con of a hardware store.
back pain is an occupational hazard I siderable adjustment, I found the best
cope with every day. Ergonometric height for the monitor was to have the
equipment manufacturers of the world, bottom line about eight inchesabovethe
rejoice! You have my attention. table's surface, with the face of the 13"
I've spent a considerable amount of screen about 28" from my eyes. These
time evaluating new (and old) methods dimensions may not be accurate for you,
to ease the physical discomfort but the idea of using common sense to
associated with typing on a computer find the dimensions is certainly valid.
terminal. Some of the new solutions My long days at the keyboard have also
work very well; namely, anti-glare screens been eased by carefully positioning my At first glance, the stand looked like
for green monitors. Adjustable monitor peripheral equipment. Although I con the proper height, but it also appeared to
stands and keyboard heights can also tinue to adjust the position of the printers be very flimsy. As you can see from the
provide relief from discomfort. and disk drives, I found that a horseshoe drawing above, it's made of wire. I tried
I'm pleased that some of the steps I've arrangement of the hardware will keep bending and twisting it with little luck.
taken have resulted in better physical everything in arm's reach. The stand is made of welded steel wire,
health. I'm not pleased by what this equip Lighting is another source of eyestrain. dipped in plastic. I instantly knew my
ment has done to my bank balance. $ 100 Avoid overhead lights. They always search was over. The little rack only cost
for an anti-glare screen? $2,000 fora com manage to reflect off the video screen. I about $5. My mind raced to think of
puter desk? Who's kidding whom? have positioned my computer table so other uses for the rack as my eyes scanned
Aside from the glare screen, which is that the monitors do not face a window. the shelves for different sized racks. I
useful, the one thing that has helped me This reduces daytime glare. I prefer to found a goldmine in my neighborhood
most is the application of some good old- have very little light directly in front of me. hardware store.
fashioned COMMON SENSE. I found that Drafting lamps with 40-60 watt "soft The rack turned out to be made by a
my physical discomfort could be traced light" bulbs provide pools of light which Chicagoland firm named Grayline. They
directlyto mysitting position, in relation to illuminate only the areas I want. make dozens of wire racks, many of
56/Commander November 1983
YOUR PROBLEM IS SOLVED!
pace
FREE personal copy TODAY

COMMODOREV1C-20' * COMM0DORE64 * COMMODORE VIC-20' * COMMODORE64 * COMMODORE V1C-2O" * COMMODORE64'

WORD PROCESSORS PROGRAMS NEC' PC-8O23A DOT MATRIX PRINTER

WRrTE NOW! Cardco. Inc. Cartridge based GENERAL LEDGER SYSTEM Info Designs.

SEC
Word Processor for unexpanded Vic-20~. A professional financial reporting system
Optional justification and teit centering. that produces customized profit/loss state
3a veslo tape or disk. Sends special codes ments, balance sheetsand special reports.
to printer (even in middle of text line!). Un Up to 300 accounts per DISK. For C-64~.
limited recall of often used text passages Includes Disk and Instruction Binder.
from lape or disk. Allows up to 38K ol text
storage. Full tent scrolling up and down:
5433-000164 (Rog 79.95) SALE $64.99 PC-8023A
ACCOUNTS RECEIVABLE/BILLING
text paging up and down and direct lop or
bottom of text commands Page numbering
SYSTEM Info Designs. A comprehensive Dot Matrix
system to provide flexible billing of cus
and more! Cartridge for basic VIC-20". tomers. System maintains open invoice Printer
4135-000013 S39.95
items, produces series of management
WORD MACHINE/NAME MACHINE Commo reports including aged receivable listing,
dore'. Perfect, easy-to-understand word and provides for auto statement prepar NEC 8023A PRINTER For Commodore. Superior duality, high speed OOOcps), bi-direct
processing product designed as an entry ation. 150 customers/disk Up to 375 open ional, logic-seeking, friction or tractor feed, alphanumeric and graphics printer, featuring
level item for home: Notes tolamily. letters and closed invoices per DISK. Includes disk standard Centronics'/parallel interface, 100-miilion plus impressions life, and a 2K-Byle
to friends, etc. DISK. For the C-64. and Instruction Binder. For C-64. buffer standard for high speed data transfer and efficient utilization of computer time. Has
4100-064210 S19.95 5433-000264 (Reg 79.95) SALE S64.99 standard ASCII character set, Including upper and tower case English, numerous Greek,
HESWRITER 64 Hosware. Sophisticated mathematical, game and graphics characters. 7 X 9 matrix prints alphanumerics.QX 8 ma
ACCOUNTS PAYABLE/CHECKWRIT1NG
time-saving word processor for the C-64. A system that keeps track of vendors and
trix prints symbols and graphics. Selectable fond sizes of 6 or 8 lines per Inch, fixed or pro
Includes full screen editing, justification, portional spacing, 1/144 inch incremental line feed lor subscripts and superscripts. Accomo-
unpaid invoices, produces a series of man
centering, page headers and numbering. agement reports including an aged open
dates roll fanfold or cut sheet paper, 4.5" to 10' overall width. 3.5" to 9" center to center. Thick
Compatible with all Commodore printers or ness: .05 mm to.23mm allows an original and up to 3 copies maximum. Six selectable type
invoice listing, and prints computerized
any IEEE compatible printer. CARTRIDGE. faces from which to choose.
checks with full remittance detail. 100 ven
5605-008023 $469.00
4428-000504 (Reg.44.95)SALES36.99 dors/disk, up to 375 open and closed in
QUICK BROWN FOX One of the quickest, voices per DISK Includes Disk and Instruc
(USES CARDCO, INC.'S PARALLELCABLE #4135-000002 S79.95)
easiest to lem word processors Full screen tion Binder. For the C-64.
editing, supports mos! 80-column boards, 5433-000364 IReg 79.95)SALf $64.99
auto reformating of edited teit.single'key PAYROLL SYSTEM Info Designs. A com OTHER QUALITY PRINTERS IN STOCK
operation, text moving, boilerplating, lab 6 prehensive system that maintains an em
margins, right justification, proportional GORILLA BANANA! Tough, versatile, portable and reliable dot-matrix printer. Features
ployee master file, generates reports lor 10" carriage to handle standard 9.5" paper. Dense 5 X 7 Dot Matrix, and 50 characters per
spacing and more.W/demotape.CARTRIDGE.
management and tax purposes, calculates minute print speed. 10 characters per inch. Features galore! And, most importanl. affordable!"
4702-000100 ForVic-20 S51.99 and prints computerized payroll checks with
4702-000101 ForC-64" S51.99 5470-000100 $249.95
full deduction detail. 100 employees/disk,
(USESCARDCO, INC.'S PARALLELCABLE C41 35-000002 S79.95)
SCRIPT 641st full-function wordprocessor up to350 miscellaneous pay/deductions
with a built-in dictionary! Contains normal SMITH-CORONA* TP-1 Low cost daisy whel printer. 144 words per minute. Prints an 88
per DISK. Includes Disk and Instruction
text editing functions: corrections, deletions, character ASCI I set in either a 10 character per inch or 12 character versions. Quality in all.
Binder. For the C-64.
insertions, centering, movement of text auto 5772-050005 Parallel Printer, 10CPI S529.99
5433-000464 |Reg 79.S5)SALE S64.99
hyphenation, global search and replace and 5772-05001 3 Parallel Printer. 1 2CPI S529.99
INVENTORY MANAGEMENT Info Designs. 5772-050021 Serial Printer, 10CPI SS29.99
right justification. On printers thai support
Comprehensive system that maintains 5772-050039 Serial Printer, 12CPI S529.99
it it will also allow underfning. bold printing,
perpetual inventory records for over 1800 (INTERFACES/CABLES REQUIRED TO OPERATE TP-1 PRINTER)
subscripts, superscripts, italics & MORE! items per disk Provides for auto item order
DISK. FortheCommodore' 64" computer. 41 35-000002 For Vic-20/C-64 Parallel Printer Interlace $79.95
ing, and produces a series of management 5590-467368 ForVic-2O/C-64 Serial Printer Interface $69.95
5165-000025 (Reg. 139.95>SA1_ES114.99 reports including an inventory summary.
TOTL.TEXT 2.6 Professional world pro Includes Disk and Instruction Binder. For C-64. OLIVETTI" JET INK PRINTER PR2300 Jet Ink Printer uses a single jet printing head to
cessor featuring: Page numbering, para 5433-000564 (Reg 79.95) SALE S64.99 direct carbon particles onto regularpaperina 7X7 dot matrix. The desk top unit prints a
graph control, right/left margin control, full 96 ASCII charaters. Prints at un tn SO tikfirectinnal lines aer minute for a full 80 columns.
COMBO SOFT PACK LIBRARY Info De 5655-002300 $529.99
VIC printer expanded characters, skip to top signs. Includes General Ledger. Accounts
of page, single, double or triple spacing, (US ES CARDCO, INC.'s PARALLEL CABLE #4135-000002 $79.95)
Receivable. Accounts Payable. In Library
centered title lines, tab control, character Binder. Disk. For C-64. COMMODORE'GRAPHIC PRINTER Handles graphic characters. Uses standard paper
and line spacing, upper and/or lower case, NO INTERFACE NEEDED. Connects directly lo the C-64 " and Vic-20~
5433-012364 1 {Reg 229.9S)S4L£S199.99
and more! Plus, advanced features: upto4 4100-001525 S249.95
heading lines per page; footing line at bottom PERSONAL ACCOUNTANT Sofisync. Inc.
of every page: footnotes; keyboard input For the Commodore* 64" computer. 3 in COMMODORE1 COLOR PRINTER/PLOTTER Draws charts and graphs. 4-color pens.
Prints text m four sizes. Connects directly to the C-64" and Vpc-20"
(for form letters], up to six 80 column lines; tegrated programs with large data base.
Simultaneously posts entnes Breaks down
4100-001520 S199.95
special characters for printer; right margin
justification; print from memory or input de- expenses, compiles financial reports and
PRINTER PAPER
vee- looic for RS-232 pnnter. For C-64. DISK provides amortization/payment schedules
5841-046401 (Reg 39.95)SALf S31.95 Computerized version at lime honored pnn-
PRINTER PAPER Standard printer paper. SNte 9-1/2" X 11" sheet sue. Single part, t.000
WORDPRO 3 PLUS/64 Word processor ciples of accounting. For C-64.
sheets to the box.
that includes: transfer; Insert; delete; re 4775-000100 Diskette S34.95
4775-000101 Cassette S29.95 5715-002591 S21.49
arrange text; auto page numbering; headers
and footers; math functions; global search; COMPUTER MECHANIC Sofisync. Inc. A SPECIAL MODEM SOFTWARE
replace; built-in Mail Merge and MORE Super computerized automotive instruction and
diagnostic tool. Covers: 1) Preventive Main ULTRA TERM 64 Cartridge based terminal that allows save info to printer or disk,
for mass mailings by clubs, churches, busi
ness. With SPELLING CHECKER' For C-64~. tenance; 2) Diagnostic Guide; 3] Data Base change screen colors, read or print previously saved data and includes clock to check
DISK and instruction manual. for car records; 4) Instruction in auto main correct time. Function window and menu driven. Requires MODEM sold below.
5692-000002 (Reg 9935}SALE S81.99 tenance. Submenu includes Brakes, Sus 5201-001512 $64.95
pension, Tires, Transmission, Engine, Cool SUPERTERM Enjoy power of transfer under popular protocols. SAVE files to disk
EASY SCRIPT 64 Commodore'. V/ord pro or lape. Edit, Dump to VIC printers or parallel printers (with smart ASCII); supports
ing System, Fuel S Emissions and more!
cessor for C-64 " computer. Includes aids; FortheCommodore' 64" personal computer. UPPER/lowercase text, standard ASCII and control characters. Handles sequen
wide screen; horizontal and verticle tabs; tial program and word processing files. On cassette, transferable to disk. UPLOAD/
4775-000102 Diskette $26.95
decimal tabs. Printer controls: variablo DOWNLOAD lor the Vic-20 or C-64. Requires MODEM sold below.
margins; variable page length; underlining
4775-000103 Cassette $21.95
4541-064005 S99.9S
and bold print Update facilities: auto locate 442S-000404 HESM0DEM I S59.95
INTERFACE
and replace; text transfer—words, sentences,
paragraphs; insert, delete, erase and merge.
And, document handling: file linking; auto
mail merge: and more! DISK.
COUPON Please Send Me:
4100-064207 (Reg 54.95) SALES44.99 DESCHIPTION

COM PUTEI's FIRST 3OOK OF VIC GAMES


24 Games for the VIC-20. Ready to type in
and enjoy. Chapters on how to develop your
own games as well as never-before-pub
lished action and tips. Spiral bound. 200 Pgs. Illinois Residents Please Add 6% Sales Tax. SHIPPING S 2.50
4105-000013 S12.95 Foreign Orders. (All oulside Continental US), Add
THE ELEMENTARY VIC-20- By William 10% Shipping (Minimum $5.00) TOTAL
B. Sanders. Easy to follow, step-by-step (Catalogs shipped Postage Paid)
teaming—just like having a teacher at your
PAYMENT ENCLOSED: DCASH DCHECK OMONEY ORDER
side. A family's guide to real understanding
ol the VIC. Spiral bound. 256 Pages PLEASE CHARGE TO MY: GMASTERCARD GVISA (Mln. Chg. S25)
4560-0001 16 S14.9S
COMMODORE 64 COMPUTING By Ian CARD NUMBER
Sinclair. Both an intro how-to and a refer
EXPIRES .INTRBNK*
ence manual. Discusses set up, operations
and covers special features such as Sprite
graphics, color commands and program CARDBOARD 5 Cardco. Inc. 5-slot, fuse SHIP TO
ming for sound. Illustrated with BASIC ex protected expansion interface designed to
amples. Softcover. NEW. allow user to access more than one of the STREET ADDRESS APT
plug-m style cartridges. For the C-64".
4690-152306 S12.95
4135-000010 S69.95 CITY. STATE . ZIP.
THE COMMODORE 64 BASIC HAND
BOOK By D. Hergert. Need to clarify a BASIC PACE MICRO SOFTWARE CENTER DEPARTMENT C-D
keyword or function'' Dictionary styte hand 345 Eastlrving Park Road. Wood Date. 1160191
book ot C-64 BASIC. Fully explained in English'
479S-000116 S 9.95
PHONE: (312)595-3860 pace* Lock Box 328
Bensenville, IL 60106
PRICES AND AVAILABILITY SUBJECT TO CHANGE micro software centers

Circle No. 71
which have found a home in my com
C Circle No. 94 puter room. The monitor stand is part

Z commodore number 710, Jumbo Helper Shelf. It sup


ports my Commodore Color Monitor
SUPER-MART without sagging. It is also the perfect size
for a 1540 disk drive. A similar stand, part
••••••••••••••••••••••••••••it*
#237, Freezer Rack, will support a printer
HANNA ENTERPRISES or a stack of printer paper.
1303 Columbia Dr. Suite 207 Richardson, Texas 75081 Raising the hardware off the table top
has a couple of advantages. The equip
••••••••••••••••••••••••••••it*
ment runs cooler, and the inevitable
TO ORDER CALL
(IN TEXAS) (OUTSIDE TEXAS) snakepit of cables can be brought under
control. Photos 1 and 2 show the results
214-231-2645 800-527-1738 of using only one of the #710 stands.
MasterCard & Visa accepted — add 3% surcharge for credit cards Table space is saved and cable routing is
FOB. Dallas, Texas better. (The plant is optional.) The little TV
9:30 a.m. - 6:30 p.m. (m-f) 10:30 a.m. - 2:30 p.m. sat. set is now raised to a height that eases
eyestrain.
COMMODORE COMPUTERS COMMODORE SOFTWARE
I like to organize my writing projects
FOR CBM
B-128k-80 $777.20 with file folders. My folders are usually
B-256k-80 $97ai3 Wordpro4* or 5* $305 stored away in a file cabinet. Active files
BX-256k-80/dual driye $2895 Visicalc (Expanded) $195 can usually be found lying on a table
PET 64 (educational) $627.50 BPIG/LA/RA/Plnv. etc 1320ai.
somewhere. Grayline #218, Lid and Rack
8032 $827.50 MANAGER (database) $195
Tray, now holds all my active files on the
8096 $87125
COMMODORE c64 SOFTWARE table within arm's reach. Most of my
9000 super pet $1071.25
diskette library is also stored away. Part
C-64 J233 Easy script $49.85
Executive 64 portable HALL #217, Lid Rack, now holds the diskettes
Easy mail $49.85
Easy finance $49.95
that I use the most. A disk drive cover pro
COMMODORE DISK DRIVES The manager $49.95 tects my active diskettes from dust when
NEWc64 110-Cp/m2.2 $98.95 I'm not using them. Photo 3 shows, from
1541 (170k) $250.50
Super expander c64 $29.95 left to right, #217, #710 and #218 in use.
2031 $311
4040 (340k) $857.85
Nevada Cobol $59.85 Photo 4 shows the complete system.
Logo $59.95 The Grayline product line is available in
8050 (1mg) $981.90
Pilot $59.95 white, brown and gold. White matches
8250 (2mg) $122a50
Music machine $18.95
9060 hard disk (Smg) $2040 the Commodore hardware. A call to
Music composer $19.95
9090 hard disk (7.5mg) $2290 Grayline's president, Mr. Arthur Meyer
SMALL c64 revealed the products are distributed
COMMODORE PRINTERS nation-wide. I also found that Grayline is
BUSINESS SYSTEMS
1525(30cps) $23a75 the largest maker of these products. So
c64 General Ledger $49.95
1526 dOOcps) $343.95 even if you live in Dirt, South Dakota, you
Accounts Receivable $49.95
4023 CBM (lOOcps) $33095 should be able to find them, a
Accounts Payable $49.95
8023(160cps) $537.95 Grayline Housewares, 1616 Berkley
Payroll/Check Writing $49.95
6400 daisy wheel CBM $1417.75 Street, Elgin, IL 60120. Telephone: (312)
Inventory Management $49i95
new! 1520 plotter printer $17150
Codewriter $5185 695-3900

COMMODORE PERIPHERALS c64 RECREATION CARTRIDGE


1701 color monitor $249.85 Jupiter Lander $2495
CBM 64k memory board $24a85 Kickman $24.95
Super Pet upgrade board $488.85 Tooth Invaders $24.85
Cables PET-IEEE $34.95 Omega Race $39.95
Cables IEEE-IEEE $42.95 Wizard ol War $3495
Vic 1600 Modem $88 Gori $3495
Vic 1650 Automatic Modem $108.95 Speed/Bingo Math $2485
Vic/64 (auto answer, dial) $150
1530 Datasette recorder $84.85 INTERFACES & ACCESSORIES
RS-232 printer interlace (Okidata,
OTHER PRINTERS
Diablo) $59.95
Epson MX-80FT (dot Matrix) $455 Parallel interface $89.85
Okidata 82a. 120 cps (serial & parallel. 80 Column Expander $159.95
dot Matrix) $425 TEC typewriter/c64 conv $200.95
Star Gemini 10 $328 Vic Switch (Connect 8 64's or Vies to
Star Gemini 15 $496 printer, drivers) $149
Diablo 620,25 cps (letter quality) $948 Super Cord CALL

58/Commander November 1983


THE VIC 4C/8C VIDEC CARTRIDGES
Quantum Data, Inc. produces two 40/80 Video Cartridges for the Commodore VIC-20 computer. The Video
Cartridge tuhich does not contain memory, and the Video Combo Cartridge which contains 16K RflM
composed of eight 6116 CMOS memory chips.

The 40/80 Video Cartridge or the 40/80 Video Combo Cartridge is the means to upgrade the VIC-20
computer to a 40 * 24 or on 80 * 24 character display, (blach and white composite video). This provides a
wealth of new uses for the VIC-20 and with the appropriate software you can now accomplish quality word
processing and various business functions that previously were difficult to achieve with only the VfCs
standard 22 character video display. These Cartridges are compatible with QUICK BROWN FOX and TOTL
Text 2.5 word processing programs. Both Cartridges feature screen printing routine and a terminal emulator
routine which are written in BASIC so that you con add these capabilities to your programs.

6ther Cartridges can be plugged into the memory expansion port of the VIC-20 or on expansion chassis. The
40 character mode may be easily viewed on most standard T.V. sets but a monitor is required for the 80
column mode to provide the necessary additional resolution.

VID€O CRRTRIDGC $95.95


VID€O COMBO CRRTRIDGC $185.95
Coll (714) 553-1945 to place your order today!
Rsk for other VIC-20 hardware and software peripherals!

QUANTUM DATA, INC.


14252 Culver Drive, Suite A, Box 285, Irvine, CA 92714
Items in stock ready for immediate delivery.
Visa or Mastercard accepted, flbove prices retail in U.S. dollors. Shipping and handling not included,
Circle No 36
VfC-20 is a trademark of Commodore Business Mochmes

Commander November 1983/59


•By Garry Kiziak

Regardless of which computer you assemble them at any address you 30 horizontally.
buy, it isn't long before you start compil choose, and thus add only the com To define a window, four parameters
ing a 'wish list' of commands you wish mands that you require. are required. These parameters can be
the manufacturer had included- com In this first installment, I will list a given in many ways. I like to do it by
mands such as PRINT USING, SORT, number of commands that will enable assigning values to the following:
RESTORE TO, PRINT AT, AUTO, RENUM you to manipulate the text screen in
BER, etc. However, when several such various ways-allowing for some very 1. The left column of the window
people sit together and compare their nice special effects. Next time I will show (10 forthe window in fig. 2)
'wish lists', there is frequently very little a sort routine that will allow you to sort a 2. The top row of the window (5 for
agreement-"! don't really need a PRINT string array in either ascending or descen the sample window)
USING", "Why would you need to RE ding order at lightning speed. It will be a 3. The width of the window (21 forthe
STORE TO a line number?, "I'd rather multi-field sort-so for example you can sample window;note-21 not 20)
have . . .", and so on. Of course the sort on one field in ascending order and,
4. The depth of the window (7 for the
manufacturer could include all these when matches occur in that field, sort on
sample window; note-7 not 6)
commands as well as many others. But another field in descending order. (I will
chances are there might only be 10K.-20K also give the changes necessary for the Thus the window in figure 2 can be
left in a 64K machine-hardly an accep routine to work on a PET computer). In defined using the parameters 10,5,21,7.
table trade off for most people. subsequent articles, I will look at some For a general window I will use the
An acceptable alternative, in many hires commands, sprite manipulation, following variables:
cases, is to have a solid, versatile, basic and who knows what else. If you have LC = The left column of the
language with the ability to add these any suggestions about what you would window
extra commands as the need arises.tlust like to see, send them to me at the ad TR = The top row of the window
look at the wealth of AMPER routines dress indicated at the end of this article. WIDTH = The width of the window
for the APPLE. It sure didn't take long for DEPTH = The depth of the window
the C-64 wedge to arrive and alleviate THE WINDOW CONCEPT So a window is defined by the para
the need for disk commands on the The normal text screen can bethought meters LC, TR, WIDTH, DEPTH. Notice
COMMODORE 64.) of as a grid-like structure consisting of 25 that the first two parameters (LC, TR) are
In this and subsequent articles, I will horizontal rows and 40 vertical columns. the same as the Cartesian coordinates
present a series of commands that ap For my purposes, I liketonumbertheseOto (x,y) of the top left corner of the win
peared on my 'wish list' forthe COMMO 24 and 0 to 39 respectively (See Figure 1). dow-keeping in mind that the top left
DORE 64; they may or may not appear on Often I have found it necessary to per corner of the screen is (0,0). Also notice
your list, but I'm sure you will find them form manipulations such as clearing, that the entire screen can even be
useful. I will present these commands in scrolling, etc. on just a portion of the thought of as a window with LC = 0,
such a way that they will eventually all fit screen (actually a rectangular portion TR = 0, WIDTH = 40, and DEPTH = 25.
together into a single package. If you called a 'window'). Figure 2 shows a win REMEMBER: According to my conven
have an assembler, then you can pick and dow that extends from Row 5 to Row 11 tion, the columns are numbered from 0
choose the commands that you want, re- vertically and from column 10 to column to 39. Thus 0 < LC< 39 and similarly
60/Commander November 1983
0 < TR < 24. Also in order that a win top line is blanked. When DEPTH
dow actually be defined, both WIDTH W = 0, the bottom line wraps Effect: Scrolls the window right one
and DEPTH must be positive (not around to the top. column. If W = 0, then the
zero)-actually 1<WIDTH<:40 and (iii) SCROLL LEFT right column is blanked.
1 < DEPTH < 25. In fact, we must even Syntax: SYS LFT, LC, TR, WIDTH, When Wf 0, the right col
have DEPTH umn wraps around to the
Effect: Scrolls the window left one left.
(i)TR + DEPTHS 25
so that the win- column. If W = 0, then the These scrolling commands can be used
and (ii) LC + WIDTH<4Odow actually stays right column is blanked. in many different ways. They can be used
on the screen When W=jfc 0, the left column to create unusual menus, they can be used
wraps around to the right, to clear the screen in unusual ways, they
THE ACTUAL COMMANDS
(iv) SCROLL RIGHT can be used to display text in a different
The commands that I will introduce
Syntax: SYS RHT, LC, TR, WIDTH, but effective way, and so on.
shortly can be organized into 5 categories:
1) SCROLLING 2} REVERSING
3) COLOURING 4) FILLING and

CompuT-shirt"
5) DRAWING BORDERS
Before describing the commands in
each category, let me define a number of
variables. Then I will describe the syntax
of each command and exactly what it
does.
Define UP= 12-4096+256 These are the A very
DWN=UP + 67 actual call ad special T-shirt for
LFT = UP+295 dresses for
a very special breed
RHT=UP + 369 the routines
RVS=UP + 447 that we will —the CBM owner/user!
COL=UP+511 be using.
FILL-UP+547 They must be
With a
BRDR=UP+611 defined near very special message
the beginning from the heart!
of any program that uses these routines.

1) THE SCROLLING
COMMANDS Lovingly crafted facsimile,
There are 4 scrolling commands, each with CRT display, of YOUR:
with 2 variations giving a total of 8 dif
• VIC 20
ferent possibilities.
• Commodore 64
(i) SCROLL UP Top quality, fully washable, med w
• PET 50 50 tinlon. poly blend in vpiuhlt
Syntax: SYS UP, LC, TR, WIDTH,
• SuperPET Sofl B«!9«. Stieenprinlpd in black

DEPTH, W u'llh bright red hean

Effect: This scrolls everything inside 50


the window defined by LC, 8 eo.

TR, WIDTH, DEPTH up one


line. Everything else on the
screen remains stationary. W
is called the wraparound
ORDER NOW FOR THE HOLIDAYS!
parameter. It determines the Please specify Slyle No., Quantity & Size[s) when ordering.
type of scrolling. If its value is Style: *A VIC 20; *B Commodore 64; *C PET; *D SuperPET
non-zero, then the top line of Sizes: ADULT (Men's) S-M-L-XL KIDS S<6-8) M(10-12) L(14-16)
the window will wrap
around the bottom line. If W Ask about our Users Group discount. ■ Dealer inquiries: (212) 838-8153
equals zero then the bottom
line is blanked. This latter "The Computer Friendly People" Please send me the following CompuT-ShirtB @ $8.50 ea.:
STVLt QTY SIZE/«*•'< WIMI
type allows you to print on
Subterranea Oesignworhs
the bottom line of the win
Dept. CM
dow after scrolling and
P.O. Box 319
hence achieve the same ef New York, NY 10028
AddSl 50 I'd fin shipping & handling
NYS rrsidvnl!. add ajipiiipnalv saks [an
fect as when listing a BASIC bn. EoMChtck «. money Drdei payable lo SUBTERRANEA
program

(ii) SCROLL DOWN □ Send free data on Name

Syntax: SYS DWN, LC, TR, WIDTH, Users Group discounts.


Add ress
DEPTH
Send free illustrated
Effect: Scrolls the window down "softwear" brochure. City State.. Zip.
one line. If W^C, then the m. 4-6 u.i-<-ks for Circle No. 150

Commander November 1983/61


2) THE REVERSE COMMAND and 255 and produces the Listing 1 is an assembly language listing
There are two commands for reversing same character as when of the routines. Use this if you only require

& a window, POK(E)ing to the screen. some of the commands or if you need to
(i) Syntax: SYS RVS, LC, TR, WIDTH, This command is useful for such things relocate them.
DEPTH as erasing sections of the screen (simply fill Listing 2 is the same routine in DATA
Effect: This reverses each character the window with blanks-CHTR = 32), fast statements and will have to be included in
in the window using what underlining, drawing grids, etc. any program that uses these routines. If
ever colours are currently in (ii) Syntax: SYS FILL, LC, TR, WIDTH, you are using a disk, then you can save this
the window. DEPTH, CHTR, CLOR routine as a PGM file and load it from
(ii) Syntax: SYS RVS, LC, TR, WIDTH, Effect: This fills the window with the within any program that requires it. This
DEPTH, CLOR character determined by approach will save a lot of memory. Here's
Effect: This reverses the window us CHTR using the color deter how its done.
ing the colour determined by mined by CLOR. 1. Delete line 10000
the variable CLOR. CLOR can This command is useful for filling a 2. Replace with
have any value between 0 region with a block of color (use a reversed 9998 OPEN 1, 8, 1, "COMMANDS"
and 255 but only 16 colours space - CHTR = 160, and CLOR - the color 9999 PRINT #1, CHR$(0); CHR$(193);
are possible, (i.e., 0 = black, of your choice). It can also be used to erase 10000 FOR 1 = 49408 TO 50121: READ
1 = white, etc.) a section of the screen while making sure X: PRINT #1, CHR$(X); NEXT:
The reverse command can be used to that the color in that region is also a CLOSE 1
highlight certain sections of the screen, to specified color (CHTR = 32, CLOR = 3. Anytime you wish to use it from
cause windows to flash (simply reverse it whatever). within a program, use the following line
several times in succession - possible with a near the beginning of your program.
delay in between), to create explosion ef 30 IF PEEK(49500)<>202 OR
fects, etc. 5) DRAWING BORDERS PEEK(50000)-=>165 THEN LOAD
"COMMANDS", 8,1
3) COLORING A WINDOW (i) Syntax: SYS BRDR, LC, TR, WIDTH,
DEPTH, CHTR
Listing 3 is a sample program that
Syntax: SYS COL, LC, TR, WIDTH,
(ii) Syntax: SYS BRDR, LC, TR, WIDTH,
demonstrates some of the things you can
DEPTH, CLOR
DEPTH, CHTR, CLOR do with these new commands. I am sure
Effect: This changes all characters in
Effect: The first command will draw
you can use your imagination to come up
the window to the coiour
a border around the window with a host of others.-
specified by CLOR. Continued on page 64
using the character deter
This command can be used to highlight
mined by CHTR and using
certain sectionsof text (simply bychanging
whatever color is presently
its color). It can also be used to flash a cer Figure 1
on the screen. The second COLO
tain section of text (simply alternate the
command will use whatever COM COL39
color in the window with the background
color is specified by CLOR. I 1
colour several times). row a-
When using these commands in a pro
R0W1 ■
4) THE FILL COMMAND gram, you must make certain that the
Again there are two types of fill variables UP, DWN, LFT, RHT, RVS, COL,
commands. FILL, and BRDR are properly initialized.
(i) Syntax: SYS FILL, LC, TR, WIDTH, Also you must make certain that none of
DEPTH, CHTR your own variables conflict with these
Effect: This fills the window with the [e.g., ff you have a variable COLUMN in ROW 23 ■
character, specified by the your program, it will conflict with COL]. ROW 24

variable CHTR using The parameters that define the window,


whatever colors are already the character, and/or the color can be vari
on the screen. CHTR can ables or constants. If you use variables,
have any value between 0 then you can use any name that you wish.

62/Commander November 1983


O.K.L. INDUSTRIES, INC. IS..

COMMODORE
l commodore
BASF Magnetic Media.
SYSTEMS
PERSONAL SYSTEM
NEW FOR COMMODORE 64 BASF FlexyDisk3'
SPECIAL
CBM 64, 15*1 Single Disk Drive, 1525
Printer, and 1701 Color Monitor. Superbase 64 S89.00 BASF Qualimetric Diskettes
'recision Lifetime warranty
PLUS FREE SOFTWARE
Software 5 1/4 SE DD (10 pkg) S 29.00
Superbase 64 by precision Software Buy two boxes and
NEW FOR CBM 128-80 Flip N File storage unit is
ONLY 19.00
B-SERIES SOFTWARE IS HERE SOWl

12 PROFESSIONAL WORD PROCESSOR Superscript II


including speller S 399.00
CBM 3B32, 2031 Single Disk Drive, VISA &
VISA'
Ttanstac 13 0 Daisywheel Letter Quality Supecbase 399,00 MasterCard
Printer, and interface/with cables.
Superotlice 699,00
PLUS FREE SOFTWARE
Superscript/Superspell by Precision
Software
SOFTWARE CBM 64 WE PAY
»3 BUSINESS PACKAGE
Superbase 64
Sasyscript
S 89.00
37.00 SHIPPING
Easy F inance I 25 .20

NEW CBM 128-88


Monitor, 4949 Dual Disk
(128K),Gor11la
Drive (350K) ,
Green
Easymail
Gen. Ledger
25.00
45.00 NO
Payroll/Checkvriting 45.00
Transtar 133 Oaisywheel
interface/with cables.
Printer, and Accts. Rec./Billing
Inventory
4 5.00
45.00
HANDLING
Accts. Payable 45.00
PLUS FREE SOFTWARE Calcreault (advanced) 125.00

TO
Superoffice by Precision Software
Wordpro 3 Plus 69.00
Pilot 45. 00
only S3.146.oo LOGO 4 5.00
Neutral Zone (Access) 33.00
Spntemaater (Access) 29.00
CPU's

ORDER
Jumpman (Epys) 32.00
Sword of Factual (Epyx) 24.00
NEW CBM U3-J3 S B99.00
Temple of Apshai (Epyx) 32.B0
CBM 54 Call
Upper Reaches Apshai (Epyx) 16.00
CBM 8S32 595.00
All Public Domain Disk

CALL
CBM 64 K Memory Expansion 259.80
Software from Commodore each 5.9S
The Executive 64 Call
Commodore Games in stock Call
Superpet SP9000,
2 processors, 6 language 1,949.90
VIC 20 CLEARANCE SALE
DISK DRIVES

CBM
CBM
CBM
1541
2031
4040
Single
Single
Dual 350K
170K
170K
S 249.00
29S.J0
699.00
16K Memory
8K Memory
programmers Aid
Expander
Expander
S 62.00
39.00
23.90
(305)
CBM 8053 Dual 1 MG 995.00 Intro to Basic Part II 16.00

676-2246
CBH 8250 Dual 2 MG 1,295.00 Super Expander 46.00
CBM 906B Hard 5 MC 1,995.00 Mission Impossible IS.08
CBM 909Q Hard 7.5 MG 2,250.00 Speed Bingo Math 9.00
Recreation 6 Pack 18.00
Pinball Spectacular 14.00
PRINTERS
Raid on Fort Knox 9.00
The Count 15.00 O.K.L. industries, Inc. Since 1971
Gorilla Bannana Dot S 229,OO P.O. Box 1659
Kol« Attack 9.00
CBM 1525 Dot Ser. 225.08 Melbourne, Florida 32902-1659
C-ori 12.■■
CBM 1526 Dot Ser. Call
G.vtek 16.00
CBM 4023 Dot Par. 389.00 VISA and MASTERCARD ACCEPTED add 3%
Rtaar Ratrace 9.00
CBM B023P 150 cps. Par. 539.00 surcharge. Mail orders send CASHIERS
Omega Race 12.00
CBM 6400 Daisy 40 cps. 1,439.00 CHECK, MONEY ORDER, or certified
Vixel Warp/Fifteen/Rail 9.00
Transtar 130 Daisy 16 cps. 769.00 check. All C.O.D. orders add S5.00.
Abacus Hires Graphics 12.00
Abacus Piper Music 19.00 In stock items shipped within 48
MONITORS Grap.iVies 19.88 hours, prices subject to change
without notice. Hardware purchased
includes full manufacturers warranty.
CBM 1701 Color Monitor S 249.00
Gorilla Green 99.09
BUSINESS CBM 8032 All software sales are final. Florida
residents please add St sales tax.
Zenith ZVM121-2 GRN 119.80
Zenith 2VM122 AMBER 149.00
O.K.L. Industries, Inc. (305)
Silicon Office S 879.00
676-2246, 119 Julia Street,
Superscript 249.00
ACCESSORIES Titusville, FL. Hours Mon.-Fci. 8-6,
Superspell 175.00
Sat. 10-2.
Commodore Joystick S 6.59 Superscript/Superspe11 299.00
Visicalc (expanded) 199.00
Mico Joystick 2 button. 'Free shipping in continental U.S.
word pro 4+ oc 5+ 309,00
Arcade quality 25.00 only. Hawaii, Puerto Rico, and U.S.
Pet-IEEE Cable 33.00 BPI A/R, G/L, Inventory, Virgin Island orders welcome. Se
A/R etc. each 322.00
IEEE-IEEE Cable 49.00 Habla Espanol.
CBM 1600 Modem 69.00

Circle No. 136

Commander November 1983/63


Continued from page 62
LISTING 1
LINE* LOC CODE LINE

00001 6000 BflSl=$D0 ;SCREEN flODRESS FOR ROW


00002 6000 BRS2=*D2 ?TEMPORRRV WORK RRER
00003 0000 BRS3=$D4 ;COLOUR RDDRESS FOR ROW
00004 0000 BftS4=$D6 :TEMPORRRV WORK RRER
00005 0000 WRflP=*02 .;0=BLRNKING 1 =WRRPRROUND
00006 01300 ZP=*D0 .: BEG INN ING OF ZERO PRGE WORK RRE
o
fl

00007 0000 LC=*FB ;LEFT COLUMN OF WINDOW


000 88 0000 TR=$FC ;TOP ROW OF WINDOW
00009 0000 WIDTH=$FD ;WIDTH OF WINDOW
00010 0000 DEPTH=*FE ;DEPTH OF WINDOW
00011 0000 COLOR=$02 ;COLOR OF WINDOW
000 1 2 0000 CFLRG=*RE ,:FLRG: $FF=SPECIFIED $0B=NOT
00013 0000 CHRCTR=*RF ;CHRRRCTER FOR FILL OR BORDER
00014 0000 TXTPTR=*7fi ;TEXTPOINTER
00015 0000 TEMPZ=$C00 0 ;TEMPORRRV RRER FOR ZERO PRGE
000 1 6 0000 TEMPS=$0020 .sTEMPORRRV RRER FOR SCREEN LINE
00017 0080 TEMPC=*C843 ;TEMPORHRV RRER FOR COLOUR LINE
00018 0000 ILLQTV=$B243 ;ILLEGRL QUflNTITV ERROR
GOO 19 00OO COMBVT=*B7F1;CHECK FOR COMMR RHD GET R BVTE
00020 0000 *=*C1O0
00021 C1OO r

00022 C1O0 ; SCROLL UP ROUTINE


00023 C 1 00
0Q024 C100 20 E2 Cl UP JSR GETPMS ;GET WINDOW PRRRMETERS
00025 C103 20 Fl B7 JSR COMBVT ;GET WRRPRROUND PRRRMETER
00026 C106 36 02 STX WRRP
80027 0108 20 14 C2 JSR SWRPZP ;SRVE ZERO PRGE
00028 C10B R5 FB LDR LC
0O029 C10D R6 FC LDX TR
00030 C10F 20 9B Cl JSR BRSCLC ;CRLCULRTE RDDRESSES FOR TOP ROW
00031 C112 20 CD Cl JSR SRVE ;SRVE TOP LINE OF WINDOW
80032 C11S R6 FE LDX DEPTH
00033 C117 CR DEX
00034 C113 30 15 BMI REPLRC
00035 CUR 18 STRRT CLC
00036 CUB R5 D0 LDR BRS1
00037 CUD 69 28 RDC #$28
00038 CUF 85 D2 STR BRS2
00039 C121 35 D6 STR BRS4
00040 C123 R5 Dl LDR BRSl+1
90041 C125 69 00 RDC #$00
00O42 C127 35 D3 STR BRS2+1
00043 C129 20 77 Cl JSR MOVE ;MOVE LINE UP
00044 C12C CR DEX ;D0 NEXT LINE
00045 C12D 10 EB BPL ETRRT
00046 C12F R4 FD REPLRC LDV WIDTH ;REPLRCE BOTTOM CTDP3 LINE
00O47 C131 BS 20 C0 LINE LDR TEMPS,V pWITH ORIGINRL TOP <BOTTGM>
00043 C134 91 D0 STR cbrsi>,v ;LINE OR LINE OF BLRNKS
00049 C136 B9 4S CO LDR TEMPO,V
90050 C139 91 D4 STR CBflS3>,V
00051 C13B S3 DEV
00052 C1-3C 10 F3 BPL LINE
00053 C13E 2© 14 C2 JSR SWRPZP ;RESTORE ZERO PRGE
00054 C141 53 CLI
00O55 C142 60 RTS
00056 C143
O0057 C143 ; SCROLL DOWN ROUTINE
00053 C143 •

00059 C143 20 E2 Cl OWN JSR GETPMS ;GET WINDOW PRRRMETERS


0006G C146 26 Fl B7 JSR COMBVT ;GET WRRPRROUND PRRRMETERS
00061 C149 36 02 STX WRRP
00062 C14B 20 14 C2 JSR SWRPZP .;SRVE ZERO PRGE
00063 C14E 20 B6 C2 JSR LRSTLN ;CRLCULRTE ROW # OF BOTTOM LINE
00O64 C151 Rfl TRX

64/Commander November 1983


LINE* LOC CODE LINE
G0BS5 C152 R5 FB LDR LC
00066 C154 20 9B Cl JSR BRSCLC ;GET RDDRESSES FDR BOTTOM LINE jj&
0006? C157 20 CD Cl JSR SRVE ;SRVE BOTTOM LINE ^1
0006S C15R 1=16 FE LDX DEPTH
00069 CISC Cfl DEM
00070 C15D F@ D0 BEQ REPLRC
00071 C15F 33 STRRT2 SEC
00072 C160 fl5 D@ LDfl BRS1
00073 C1S2 E9 28 SBC #$23
00074 C164 85 D2 STfl BRS2
00075 C166 35 DS STR BRS4
00076 C163 R5 Dl LDR BRS1+1
S0877 C16R E9 ee SBC #$00
0007S CISC 35 D3 STR BRS2+1
00079 C16E 13 CLC
00030 C16F 26 77 Cl JSR MOVE ;MOVE LINE DOWN
00081 C172 Cfl DEX ;D0 NEXT LINE
00G32 C173 10 ER BPL STRRT2
00033 C175 30 B3 EN I REPLRC
00034 C177 29 83 MOVE RHD #*03 ;MOVE LINE RHD CHRNGE
Q00S5 C179 09 D3 ORR #$DS ;POINTERS FOR NEXT MOVE
00636 C17B 35 07 STR BRS4+1
000S7 C17D H4 FD LDV NIDTH
0008S C17F Bl 02 HERE LDR <BRS2>,V
00 03 9 C1S1 91 00 STR <BRSi>,V
00090 C1S3 Bl 06 LDR ■:brs4>.v
00091 C135 91 D4 STR ■:brs3>,v
00092 C1S7 S3 DEV
00093 C133 10 F5 BPL HERE
00894 CISR R5 D3 LDR BRS2+1
60095 CISC 35 Dl STfl BflSl+1
00096 C13E FI5 02 LOR BRS2 Continued on page 66

More than just an Assembler/Editor!


VIC RABBIT CARTRIDGE
-300/1200 Band Now for the "64" ,
AND CBM 64 RABBIT CARTRIDGE

iVi MAE
Standard Terminal Commumcaiions Package
NEW FEATURE!

■PFO" lOD OOA CP<Di>0? BELL 12 30 00 10 14 36 DATA FILES! Its a U\ for


6i High Speed / \ Professionally I \ PET
rabbit Cassette ^
Oon't settle'o' non siandara Communicaiions Protocol'
Load and Save1 Designed J APPLE
Access MicoNei. Source Bulletin Boards Local Mam ] Software / M ATARI
frame, elc S39.95 \^
1 Complete Package - Inciurjes RS232 Iniei Development >-m f,.M St€ft85
face Soarrj and sort*aie [floes not include
Don! waste your Lite away waiting to LOAD System .^flHflL.,. New.
mooemi
ano SAVE programs on Cassette Dec*
Communicates o industry SlanOara ASCn
LoaO O' Sa*e 8K .n appronmalely 30 seconds'
Uploaa'Downloarj fo/from DiS*
Try it -your Un-RaBbiliied V!C o 64 takts
Automatic File Transiahon
Can Be conircllefl from keyDoarrJ 0' user sud
almost 3 minutes Its not only fast Bui VERY Blast off with the software used on tffe spa!
RELIABLE shuttle project!
D'led Dasic or machine language nrogram
Almost as last as i&ai Disk Dm we' Don toeiooi-
Specily 30 or 4 0 ROMS 0' 9032 Commodore Computer isf-i Wriy Buy trie disk wnen you can gel me
4040 or 8050 or PEDISK II Disk or CBM64 on 1541 RaDB'I tar mucri mucn less'

Allows or,e to APPEND Basic Programs'


Price: $129.95 Easy to install jusl plugs in GO'S!'01 1ilO> - Nfl (Oac
E.pansion Connector on rear O' trie VIC RaObit !neEu<lc i menrne Asser in* Edkic

Works *rtn or without Expansion Memory AUond eating L Wdi

ATARI AND PET Works with viC or 6* Cassette Oeci ana muc hmofe

12 Commands provide otrier neat lealures Opiions timer urn Tipi»meJ HttJ
EPROM PROGRAMMER Fast Data Files ■ iwo data die modes
CfPCOdBC ircuiiry

STILL NOT CONiriNCfiD Ser^a tot i eespec ■ut


Also AvaiiaBip lor 2001 4001 anO BO32
Programs 2716 and 2532
EPROMs. Includes hardware 5% INCH SOFT
EHS's CBM 64 Monitor Cartridge
and software. PET = 57500 - SECTORED DISKETTES
$25.00
ATARI (includes sophisticated Every CommoOoie 64 Owner should riave this Machine
Highest quality- We use them on
Language Monilor to e«plO'e the mlereslmg and e«citing
machine Language monitor) = world ol Machine Leuei Code M you can t mm* of a neeo our PETs, APPLEs, ATARIs. and other
lor it no* someday you II wisri it was in your Software
$119.95 Library Commanos include Displdy Registers Memory computers. S22.50J10 or 5*4,50120
Disassemole AssemDie Transfer etc Over 20 Com EPROMS 2716 = M SO2532 = $750
ter Pr.nter E>ceiient Oot mair rjnni Parallel = W89 00 mands Cartridge and manual -S 25 00
= S600 00 IEEE = S589 00 Over 40 Commodore Programs By Baker Ion 4040) = $25 00

Commander November 1983/65


Continued from page 65
LINE# LOC CODE LINE

00097 C190 35 D0 STR BfiSl


00098 C192 R5 07 LDfl BRS4+1
00099 C194 85 D5 STR BRS3+1
00 IB© C196 R5 D6 LDR BRS4
GO 101 C193 85 D4 STR BRS3
00102 C19R 68 RTS
06103 C19E ;

00104 C19B ; CRLCULRTE RDDRESSES FOR LEFT


00105 C19B ; SIDE OF WINDOW ON ! SPECIFIED ROW
06106 C19B j:

00107 CISfB 43 BRSCLC PHR


001 ©8 c i ac R9 03 LDR ttfDS ;STRRT 48 BVTES BEFORE THE
00109 C19E 85 D8 STR BRS1 .(BEGINNING OF THE SCREEN
00110 C1R© fiC 3S 02 LDV *02SS

001 i 1 C1R3 33 DEV


00112 C1R4 34 Dl STV BHS1+1
00113 C1R6 13 HCflIN CLC ;RDD 40*ROW tt
00114 C1R7 R5 00 LDR BRS1
00115 C1R9 69 23 RDC #*28
00116 ClflB 35 08 STR BflSl
00117 C1HD R5 Dl LDR BRS1+1
00118 C1RF S3 88 RDC #$00
00113 C1B1 85 Dl STR BRS1+1
G0120 C1B3 CR dex
00121 C1B* 10 F8 BPL RGflIN
00122 C1B6 13 CLC
00123 C1B7 £3 PLR ;RDD COLUMN #
80124 C1BS 65 D0 RDC BR31
00125 C1BR 35 D8 STfl BRS1 ^SCREEN RDDRESS IN BRS1
00126 C1BC 35 D4 STR BRS3 ^COLOUR RDDRESS IN BRS3
00127 C1BE R5 Dl LDR BRS1+1
8G12S C1C8 69 68 RDC #*00
08129 C1C2 35 Dl STR BRS1+1
00130 C1C4 29 03 RND #*83
08131 C1C6 89 D3 ORR #$D3
80132 C1C3 35 05 STR BRS3+1
80133 C1CR R4 FD LDV WIDTH
00134 C1CC 68 RTS
80135 C1CD R5 02 SHVE LDR WRRP jSflVE CURRENT LINE
08136 C1CF D0 83 BHE NEXT
00137 C1D1 R9 20 LDfl #$20 ;USE BLRNKS
08138 C1D3 2C .BVTE *2C
88139 C1D4 Bl 00 NEXT LDR CBflSl>,Y ;USE ORIGINRL LINE
00140 C1D6 99 28 C8 STR TEMPS,V
00141 C1D9 Bl 04 LDR <BRS3>,V
08142 C1DB 99 48 C8 STR TEMPC,V
88143 C1DE 33 DEV
88144 C1DF 18 EC BPL SRVE
00145 C1E1 68 RTS
00146 C1E2
0G147 C1E2 y GET THE FOUR PflRRNETERS THRT
0014S C1E2 ; DETERMINE THE SIZE OF THE WINDOW
00149 C1E2 ;

00158 C1E2 28 Fl B7 GETPNS JSR CONBVT ;GET THE LEFT COLUMN


88151 C1E5 3R TXR
08152 C1E6 29 3F RND #*3F
80153 C1E3 35 FB STR LC
00154 C1ER 28 Fl B7 JSR CONBVT ;GET THE TOP ROW
80155 C1ED SR TXR
80156 C1EE 29 IF RND #*1F
88157 C1F8 35 FC STR TR
08153 C1F2 28 Fl B7 JSR COMBVT ;GET THE WIDTH
00159 C1F5 Cfl OEX
00168 C1F6 86 FD STX WIDTH
88161 C1F8 IS CLC
88162 C1F9 R5 FB LDR LC
88163 C1FB 65 FD RDC WIDTH
00164 C1FD C3 23 CMP #*23 ;IF > 40 THEN ILLEGAL QURNTITV
08165 C1FF B0 10 BCS ERROR
Continued on page 68

66/Commander November 1983


Introducing
the Financial Assistant

Any home finance package will allow you to balance your checkbook. To be better than other packages
you must have something special.

The Financial Assistant does. It allows you to print not only a net worth but also a personalized finance
statement. This allows you to know exactly where you stand financially everyday of the year. Not only that,
The Financial Assistant allows you to catagorize every transaction. Imagine sitting down to do your taxes
and having every penny you've earned and spent listed neatly by catagory. What an incredible time-saver.

Wait, there's more!

Lets say you write a check to pay your MasterCharge. The financial Assistant automatically decreases
your checking account and decreases the amount you owe to MasterCharge.

Here are a few of the many features of The Financial Assistant

1 ...3200 entries per diskette 5...searching on any field for an entry


2...100 Catagory titles (user definable) 6...sorting on any field of data
3...50 Account titles (user definable) 7...continuous search and print option
4...customized printouts 8...supports a wide variety of printers

All documentation, and program are packaged in a three-ring binderfor easy storage, and the media is
guaranteed for life. Check into the Financial Assistant soon. You will find it does a lot more than simply
manage money.

It manages your money simply

Commodore 64 diskette $49.95

Also available are:

The Smartslot - the intelligent expansion bus for the 64 $ 99.95


The Autoclock - the intelligent controller for the 64 and VlC-20
Moses - the assembler of the ages for the 64 on disk $ 39.95
Cyberworld - the newest in adventure arcade games for the 64 on disk $ 49.95

GALACTICSOFTWARE- P.O. Box10516 • San Jose, CA 95157 • (408)247-4434


Circle No. 16
Commander November 1983/67
Continued from page 66
^ / LIHEtt LGC CODE LI HE

JIT/ 60166 C201 20 Fl B7 JSR COMBVT ;GET THE DEPTH


M, 00167 C204 Cfl DEX
EJF 00153 C2S5 36 FE STX DEPTH
^^ 00169 C207 13 CLC
00170 C20S R5 FC LDR TR
00171 C20H 65 FE flDC DEPTH
06172 C20C 19 CMP #*19 ; IF > 25 THEN ILLEGflL QURNTITV
80173 C20E B© 01 BCS ERROR
09174 C210 6© RTS
00175 C211 4C 43 B2 ERROR JMP ILLQTV
00176 C214
00177 C214 ? SWflP PRRT OF ZERO PRGE WITH INPUT BUFFER
60173 C214 ;

30175 C214 73 SWRPZP SEI


00 1 SB C215 R2 IE LDX #*1E
00131 C217 B5 DO HERE2 LDR ZP,H
00132 C219 43 PHR
00133 C21R BD 00 ce LDR TEMPZ,X
00134 C21D 35 DO STR ZP,X
©0135 C21F 63 PLR
00136 C220 3D 00 ce STR TEMPZ,X
00137 C223 CO DEX
001S8 C224 10 Fl BPL HERE2
00139 C226 60 RTS
00130 C227 r

©0191 C227 ; SCROLL LEFT ROUTINE


00192 C227
©0133 C227 20 E2 Cl LFT JSR GETPMS .rGET WINDOW PRRRMETERS
00194 C22R 20 Fl B7 JSR COMBVT jGET WRRPRROUND PRRRMETER
00135 C22D 36 02 3TX WRflP
00136 C22F 20 14 C2 JSR SWRPZP ;SRVE ZERO PRGE
00137 C232 20 B6 C2 JSR LRSTLN ;GET ROW # OF BOTTOM LINE
©0193 C235 fl5 FB STRRT3 LDR LC
00139 C237 R6 D3 LDX BRS2+1 ;GET ROW #
0020© C233 2© 9B Cl JSR BRSCLC ;CRLCULRTE SCREEN RDDRESSES
00201 C23C 1=10 ©0 LDV #$00
00202 C23E 81 DO LDR <BRSi>,V ;SRVE LEFTMOST CHRRRCTER
00203 C240 35 D2 STfl BRS2 ;IN WINDOW
00204 C242 Bl D4 LDR CBRS3>,V JSRVE COLOUR OF THRT
00205 C244 43 PHR ;CHRRRCTER
©02©6 C245 30 0D BCC TEST1
09207 C247 C3 HERE4 INV ;MOVE LINE LEFT
G620S C243 Bl D0 LDR <BRSn,Y
©0209 C24R 43 PHR
00210 C24B Bl D4 LDR CBRS3>,V
00211 C24D 83 DEV
©0212 C24E 91 D4 STR <BRS3>,V
©0213 C250 63 PLR
00214 C251 31 D0 STR -CBBS1>,V
0©215 C253 ce INV
00216 C254 C4 FD TEST1 CPV WIDTH
00217 C256 90 EF BCC HERE4
©02 IS C253 R5 02 LDfl WRflP
©0219 C25R D0 ©3 BNE NEXT2
00220 C25C R9 20 LDR tt*20
00221 C25E 2C .BVTE *SC
00222 C25F R5 D2 NEXT2 LDR BRS2 ;RESTORE WRRPRROUND CHRRRCTER
©0223 C261 91 DO STR CBRS1>,V
00224 C263 68 PLfi ;RESTORE COLOUR
©0225 C264 31 D4 STR •;brs3.i,v
00226 C266 C6 D3 DEC BRS2+1 .:D0 NEXT ROW
00227 C263 C6 FE DEC DEPTH
00228 C26R 10 CB BPL STRRT3
00229 C26C 20 14 C2 JSR SWRPZP ;RESTORE ZERO PRGE
00238 C26F 58 CLI
00231 C270 60 RTS
00232 C271
00233 C271 ? SCROLL RIGHT ROUTINE
©0234 C271 r

Continued on page 70

68/Commander November 1983


NEW
Write For FREE Catalog Write For FREE CataloQ
Call your order in and Call your order in and
get a FREE program get a FREE program

VfSA'

(602) 855-3357 VIC SOFTWARE CBM 64 (602) 855-3357

PROGRAMMERS
Software
CONTEST
from
Send Us ; ■.
ComputerMat
Your
will turn
Best
your VIC or 64
CRICKET VIC or 64 Program
BUG BLAST
into a Winners will
home receive royalties
plus $1,000
arcade.
in prizes.

PARATROOPER TARGET
COMMAND

VARG

MUSIC MAKER
POP TOP 64

CHRISTMAS
COSMIC
SPECIALS CRUZER
We have
more Buy 2
Programs and
MOW games
Get 1 Free!
and
programs For every 2
VIC or 64
than
w you can
programs you

buy, we will
shake a
send you a
joystick at! coupon for a
third program free!
SHOGUN 64-VIC

ALIEN
INVASION SPACE PAK

•31 131
64
ARCADE PAK STOMPERS - 64 SUPER PAK - 64
ComputerMat • Box 1664 B • Lake Havasu City, AZ 86403 Add *1M for
HEAD ON
SNAKE OUT
Continued from page 68

LIHE# LOC CODE LINE


60235 C271 2© E2 CI RHT JSR GETPMS ;GET WINDOW PRRRMETERS
00236 C274 20 Fl B7 JSR COMBVT ;GET WRRPRROUND PRRRMETER
08237 C277 36 02 STX WRRP
0023S C279 20 14 C2 JSR SWRPZP ;SRVE ZERO PRGE
66239 C27C 20 Bo C2 JSR LflSTLH ;GET ROW # OF BOTTOM LINE
06240 C27F R5 FB STRRT4 LDR LC
06241 C231 R6 D3 LDX BRS2+-1 ,-GET ROW #
06242 C2S3 20 9B CI JSR BRSCLC ;CRLCULRTE SCREEN RDDRESSES
00243 C236 Bl DO LDR <BRSl>rV ;SRVE RIGHTMOST CHRRRCTER
O0244 C233 35 D2 STR BRS2 ;0F WINDOW
00245 C23R Bl D4 LDR <BRS3>,V ;SRVE COLOUR OF THRT
00246 C23C 43 PHR ;CHRRRCTER
O0247 C23D R4 FD LDV WIDTH
00243 C23F F© 0F BEQ TEST2
00249 C291 38 HERE5 DEV ;MOVE LINE RIGHT
00250 C292 Bl DO LDR CBflSl>,¥
00251 C294 43 PHR
00252 C295 Bl D4 LOfi <BRS3:>,V
00253 C297 C8 INV
O0254 C293 91 D4 STR CBflS3>,V
00255 C29R 63 PLR
0O256 C29B 91 DQ STfl <BflSl>,V
00257 C29D 33 DEV
00253 C29E D0 Fl BHE HERE5
00259 C2R0 R5 02 TEST2 LDR WRRP
00260 C2R2 00 03 BHE HEXT3
00261 C2R4 R9 20 LDR #*20
00262 C2R6 2C .BVTE *2C
00263 C2R7 R5 D2 NEXT3 LDR BR32 ;RESTORE WRRPRROUHD CHRRRCTER
00264 C2R9 91 D0 STR <Bfl3i>,V
00265 C2RB 63 PLR ;RESTORE COLOUR
00266 C2RC 91 D4 STR <BRS3;vV
00267 C2RE ce D3 DEC BRS2+1 ;D0 NEXT ROW
00263 C2B0 06 FE DEC DEPTH
00269 C2B2 10 CB BFL STRRT4
00270 C2B4 3Q 44 BMI FINI1
00271 C2B6 ■

G0272 C2B6 ; CRLCULRTE ROW # OF BOTTOM LINE


00273 C2B6
00274 C2B6 R6 FC LRSTLN LDX TP
00275 C2E3 SR TXR
00276 C2B9 13 CLC
0O277 C2BR SS FE RDC DEPTH
00273 C2BC 35 D3 STR BRS2+1
0G279 C2BE 60 RTS
00230 C2BF
00231 C2BF ; REVERSE ROUTINE
00232 C2BF r

00233 C2BF 20 E2 CI REV JSR GETPMS ;GET WINDOW PRRRMETERS


00234 C2C2 R0 00 LDV #£00
00235 C2C4 Bl 7R LDR <TXTPTR>,V ;CHECK IF COLOUR PRRRMETER
00286 C2C6 C9 2C CMP #',' ;IS INCLUDED
002S7 C2CS DO 03 BNE NEXTS
O023S C2CR 20 Fl B7 JSR COMBVT ;GET COLOUR
00239 C2CD 36 02 STX COLOR
00290 C2CF fiS 00 LDR #*00
00291 C2D1 2C .BVTE S2C
00292 C2D2 R9 FF HEXT6 LDR #$FF
00293 C2D4 35 RE STR CFLRG
00294 C2D6 2© 14 C2 JSR SWRP2P ;SRVE ZERO PflGE
00295 C2D9 20 B6 C2 JSR LRSTLN ;GET ROW tt OF BOTTOM LINE
60296 C2DC R5 FB STRRT5 LDR LC
00297 C2DE R6 D3 LDX BR32+1 ;GET ROW #
00293 C2E0 20 9B ci JSR BRSCLC ;CRLCULRTE SCREEH RDDRESSES
00299 C2E3 Bl D0 HERE6 LDR CBRS1>,V ^REVERSE THE LINE
0G30O C2E5 43 30 EOR #*3G
003O1 C2E7 91 DO STR <BRS1>,V
00302 C2E9 R5 RE LDR CFLRG

70/Commander November 1983


LINE# LOC CODE LINE

©0303 C2EB 00 04 BNE VMIN1


00304 C2ED fi5 02 LDfi COLOR
00305 C2EF 91 D4 STfl CBR83}*V
00306 C2F1 ss YMIN1 DEV
00387 C2F2 10 EF BPL HERE6
0030S C2F4 ce 03 DEC BRS2+1 ;D0 NEXT ROW
00389 C2F6 C6 FE DEC DEPTH
0031© C2F3 10 E2 BPL STRRT5
00311 C2Ffl 20 14 C2 FIHI1 JSR SWHPZP ^RESTORE ZERO PRGE
06312 C2FD 53 CLI
00313 C2FE 60 RTS
00314 C2FF
Q0315 C2FF ? FILL WINDOW WITH COLOUR ROUTINE
00316 C2FF •

80317 C2FF 2© E2 Cl COL JSR GETPMS ;GET WINDOW PRRRMETERS


003 IS C302 26 Fl B7 JSR COMBVT ;GET COLOUR
00313 C305 36 02 STX COLOR
0S320 C3B7 20 14 C2 JSR SWBPZP ;SRVE ZERO PRGE
00321 C38fl 20 B6 C2 JSR LRSTLH ;GET ROW # OF BOTTOM LINE
00322 C30D 05 FB STRRT6 LDfi LC
00323 C30F fl£ 03 LDX BRS2+1 ;GET ROW tt
00324 C311 20 9B Cl JSR BRSCLC jCfiLCULRTE SCREEN RDDRESSES
©0325 C314 (=15 02 LOR COLOR
00326 C31S 91 D4 HERE? STfi ■CBfiS3>,V .:FILL LINE WITH COLOUR
00327 C318 SS DEV
06328 C319 10 FB BPL HERE7
00329 C31B ce D3 DEC BRS2+1 ;D0 NEXT ROW
©0330 C31D ce FE DEC DEPTH
00331 C31F 10 EC BPL STRRT6
00332 C321 30 D7 BMI FIHI1
00333 C323 r

00334 C323 ; FILL WINDOW WITH CHRRflCTER ROUT11HE


00335 C323
Continued on page 118

Write For FREE Catalog


NEW Write For FREE Catalog

VtSA'
VIC SOFTWARE CBM
Great VIC Software COMMODORE 64 SOFTWARE
PARATROOPER a High Resolution game that doesn't lei you make any
I mistakes. You are in your command. Helicoplers fill the sky, (and we mean fill Let the COMPVTERMAT
the =«y!), dropping paratroopers. Your mission is to keep 3 paratroopers from turn your 64 into a home arcade!
hitting the ground on either side of your gun. But that's just the beginning. You
score by hitting the helicopters or the paratroopers, but if you miss a shot it
subtracts from your score. Therefore, you must make every shot count to COLOR . GRAPHICS . SOUND
make a high score! IT HAS FOUR FAST ACTION LEVELS TO CHALLENGE ON CASSETTE
THE BEST PLAYER. The High Resolution graphics helicopters are fantastic.
They look exactly like helicopters! The paratroopers are super realistic. Their
(Disk Versions Available — Add $5.°°)
chutes open and then Ihey drift down to earth. If this weren't enough the ARCADE PAK - $24.9S EDUCATION PAK - $24."
sounds are fantastic. There are helicopter blades whirring and you can hear the
3 Programs 4 Programs
howitzer pumping shells. This game really show off the sound and graphic
capabilities of your VICr. PARATROOPER IS OUR #1 SELLING ARCADE Head On Geography Match
I GAME, you've got to see this game to believe it. $19.95 Alien Invasion Math Adventure
SPACE PAK Can you survive? 3 space games with the sight s and sounds of
Target Command Ruler & Micro
Jan arcade. The excitement builds as the action is unending. IBlast away at
everything in sight. The alien attacks will slop at nothing to destroy you.
Prepare for battle, there is no escape, only you can help. Can you survive? Hi-
TREASURE PAK - $14.« GAME PAK - $14."
'Res, color, graphics and sound. Joystick or keyboard. 3 Games — Rocket
I Race, Fence-A-Tron and Raiders. $19.95 3 Programs 3 Programs
COSMIC CRUZER Hot action and 3 challenging scenarios. Moue your Adventure Dragon Chase
1 cruzer into the tunnel ■ fire missiles and drop bombs. Hit the fuel dumps to get
Caves of Silver Deflect
more fuel. Move as quick as you dare to hit the surface-to-air missiles. !f you are
good enough you will make it to the asteroidz field and then try to destroy the Shuttle Voyage Flip It
| base. No ope has destroyed the base yet. Will you be the first. $19.95
Joystick and Keyboard versions included.
VIC ALL STARS We took the best selling VIC programs and put them ina
| package to save you $35. II purchased seperately it would cost you $85. You get
Paratrooper, Target Command, Head On, Cattle Round-up, Snake ~~ COMPUTERMAT
Out, Trapper, Double Snake Out and Artillery. All eight games for $49.95. Box 1664 • Dept. M • Lake Havasu City, Az. 86403
Hurry because at this price they won't last long. Limited quantity. 8
(602) 855-3357 crdeNo 12
Games. $49.95
^ By Arthur J.Dudley

One of the more interesting facets of 4. Arrays - A set of elements arranged


Figure 1: Standard Unexpanded VIC
programming is to explore a microcom in list or tabular form {can be more than
puter's internal structure and organiza one dimension). The set of elements is
Address
tion. This includes memory maps, micro given one variable name with each ele
processor architecture, operating ment referenced by different subscripts. 4096

systems, interpreters-the list goes on Example: L(3)=1 Value BASIC PROGRAM 4888***
and on. Although exploring a microcom Subscript: Indicatesthethird i SIMPLE VARIABLES*
puter's internal structure is not a prere element of array
quisite for high level programming, the Name of Array 1 ARRAYS

venture is nevertheless an enjoyable and FREE MEMORY**


Variables are organized in memory as
rewarding experience. This article and shown in Figure 1. Simple variables (in t 5TRING SPACE 7860
articles to come will key in on just a small teger, string, floating point) and arrays
area of this vast topic-the organization are placed into memory following the
of data in memory. BASIC program in the direction of the ar
Data for the VIC-20 can be placed into * Contains string, integer,
rows (from low address to high address).
four categories: and floating point real
Variables come first followed by arrays.
variables.
1. String Vahables-A sequential set of Strings start at the high end of memory ** The function FRE(X) in
numbers, letters, or characters. A dollar and work toward the low end; therefore, dicates the amount of
sign will appear after the variable name. when arrays meet the strings the com memory in thsarea.
Example: A$ = "COMPUTER" puter has just run out of user available *** Address for the listed pro

2. /ntegers-Whole numbers; contains memory. Remember, variable assign gram only. This address
ments occur during program execution will vary from program to
no decimal places. An integer can be a
whole number between -32768 and not before. This explains why the VIC has program.

+ 32767 inclusive. A percent sign appears less memory available to the user after
after the variable name. program execution if variables are being PROGRAM
used. Load a program of your choice and INSTRUCTIONS:
Example: A% = 500
enter PRINT FRE(X) before and after pro 1. After the program is loaded enter
3. Floating Point Real Numbers-
gram execution to see what I mean RUN.
Numerical data carried to a number of
(make sure you have some variables in 2. Enter your name. The sole purpose
decimal places. VIC's BASIC floating point
your program). of this step is to demonstrate how
reals can be carried to nine decimal
Before you read any further, enter and strings are stored in memory.
places.
SAVE the listed program. I plan to write 3. You will see three columns appear
Some Examples: A = 1.2353
an article on each of the four categories on your screen. They are as follows:
A = 1.564565329
of variable, and the memory dump pro (from left to right).. .
gram will supplement each article. a. Memory Addresses
(Please See Program on Page 76.) b. Decimal Representations stored
72/Commander November 1983
Finally! An Affordable Full-Size, Full-Feature PRINTER
SUG.

For your VIC-20®, C-64 $229.95!! LIST


S299

ATARI®
Centronics Parallel Types BASIC PRINTER
And RS-232 Serial Types (Requires one
Option Below)
FEATURES:
• Full graphics capability.
• In the graphic mode, a column of
graphic data can be repeated as many
times as you want with a single command.
• Double width character output under
software control (5 char, per inch).
• Print position addressable by character
or dot (positioning control).
• Graphic character and double width
character modes can be intermixed on
a single line.
Any of these Options allow you to connect and print - cables included.
• Automatic printing. When the text
exceeds the maximum line length no APROPRINT-2064™ (pictured) ... .Add: $35.95
data is lost due to overilow. For Commodore VIC-20 & C-64 - Cable included.

• Self-test printing mode. APROPRINT-4080™ Add: $45.95


For all Atari Computers - Cable included.
• Paper width is adjustable up to 10 inches.
Standard plain paper. APROPRINT-1000™ Add: $29 95
• 50 cps print speed. RS-232-Serial - Name your computer

• 80 characters per line. APROPRINT-8000™ Add: $29.95


Centronics type Parallel - Name your computer
• 5 x 7 dot matrix.

• Full 2 yr. Warranty. ADD: $8.00 shipping (cont. USA), $35.00 (Canada, HI, AK)

• Foreign character sets (All other foreign orders Add $55.00 (shipped by Air)
For U.S., U.K., Sweden, and Germany.

The ONE VIC-20® Memory Expansion Board that DOES IT ALL!


Maximum Memory allows you to use more powerful programs for:
• EDUCATION • ENTERTAINMENT • MAIL LISTS
• BUSINESS APPLICATIONS • FINANCIAL RECORDS
To equal Ihe total memory of RAMAX'" you would
have lo buy a 16k Memory Expansion, PLUS an 8k
Expansion. PLUS 3k Expansion. THEN you would
APH0W5 TECHNOLOGY need a "mother board". With RAMAX"- you buy just
ONE piece. . .at ABOUT HALF THE PRICE!

RAMAX RAMAX' F«nlijr*j nrx] Specification)

iuili-in swiicn snows User selection of any com-


Hnaton ol 5 areas of RAM meoxxy"

Very low 6LK1 (Bk Adr B192-1G3B3


Dower usage BLK2 (BK Adi 16384-24575]
BLK3 IB* AOl 24576-32767)
BLK5 lAdr 40960"i9iSi.aJiowVdi5atoM
8* ROM games)
RAM 13k Mr TO24-4OM)
A DortoCt invoSI men! to gryo four la mil y an0 yoursf II
RESET |Resets ccmEjutorwrthoul paw off/on)
more enjoymeni and use from your home computer'
Ihe oaseDl operation, IMc neat appearance. and the Built-in electrical Fuse lo protoct oquipmeni
real POWEfi it adds 10 your VIC at Ihis low price
makes il 3 MUST (or ever/ VIC home'

SPECIAL LOW PH ICE'


• Two (2] extension connectors allow ANY *Wi-
T»onal canndges and/of duvicos designed for iHo
Only $124.95 VIC expansion port

Price nckfttefl ^Miiipiin and iijndimy wiinm • Very low power consumpion ( 175 amp usual)
Continciril.il USA Fo'cign orders please
• High reliability qold-plaled connectors nro do-
,iddS25 00 Can RQSidwisadd6==saios
lai
signed Tor long Life
10 DAY MONEY-BACK GUARANTEE • Complete Operaling Manual
If nol salislied, simply return in original
• 6 month pans and labor warranty to original
condition for your money back
purchaser
RAMAX Jr." • Factory service
AUeaoV own an 8k Eipandet? Gel »ie NEW
"Many VIC-20 cartriOges and p'ograms require ce*-
RAMAX Jr. "I Identical lo tno RAMAX -
TO ORDER: oiceptwrth I9k>ri5ipadof27k Our-inslruc-
lain ." ;n' ^ l. r ai ■.. r ■, of IN] memcy (1 0 ccri a n gamps
Mill only run on ihe unexpanded VIC white orners
lioris will snow you rww lo use your Bk as
Send Check or Money Order For ihe Total regu^e me upper portion ol Ine eipandod nwnyjryf
BLK3wnhJr to gel the (ut complement oi
With RAMAX" you havo switcfws thai 1ufn-on and
Calif, residents add 6% lax. WE SERVICE WHAT WE SELL
momofy'
lurri-oH portions o' 0w memory lo p<ovp(}fl Hxt nghl

Or Contact your Local Dealer Special Only S109.95 area Of memory - all wifroul plugging or unplugging
VIC-20 & Commodore-64 are registered Its so easy1

Phone orders Call(805) 482-3604 trademarks ol Commodore International. Shipping included


Alan is a trademark of Atari Inc.
New Product!
All Prices U.S. Dollars APROPOS TECHNOLOGY 4 Gives your CommooVwe 64 full eipandatHlity. Ttis
1071 -A Avenida Acaso supe rbly Ce signed expansion module plugs inio the 64 a gives you 4 swilctiaWe (singly or many
combination) expansion connectors - plus luse protection - plus a resot button1 only S54 95
CHARGE CAflDS ADD 3%
Camarillo, CA 93010 Shipping included
DEALER INQUIRIES WELCOME

In Canada contact TENTREX Phone {416) 272-1198


« APROPOS TECHNOLOGY
Circle No. 37 Commander November 1983/73
in memory Bytes five, six, and seven are not used for Figure 3 has the MSB and LSB broken
c. Actual Variable Names listed in integers, which leaves us with bytes three down to their binary codes and decimal
programs and four to store the actual value. Let us representations. The decimal values in
4. Control key descriptions: take a close look at these two bytes. The dicated on the top of each box (byte) are
SPACE BAR Scrolls to the higher third byte (stored at 4890) is the most what would be displayed with a PRINT
memory addresses significant byte (MSB), and the fourth byte PEEK (X) statement (X being the byte's
| Scrolls to the lower (stored at 4891) is the least significant byte address) and are the values you see in the
memory addresses (LSB). The LSB represents the units of an in second column of the screen display. The
(next to asterisk key) teger, and the MSB represents the multi binary values inside each box are the ac
J Advances to the ad ples of 256. Therefore, the number 500 is tual binary codes stored in memory. You
dress of your choice represented bya244 as the LSBanda fas may have noticed that the left-most bit of
R Returns to the first the MSB. The formula being LSB + (256 X the MSB is reserved forthe sign. A one in
display (lowest mem MSB)= Positive Integer Value. In figure 2, dicates a negative value, a zero a positive
ory addresses for we have 244 + (256X1) = 500. value. The maximum value the MSB can
variables) LSB MSB contain when excluding the sign is 127
A Branches to array vari (bits 0 through 6 set to one). The LSB can
Figure 2: A% = 500
ables section utilize all 8 bits thus it can have a max
S Branches to string imum value of 255 (all eight bits set to
variables section one). By applying our formula, we can
Address ^j
E Exit from Program determine the largest positive integer
5. Important. Articles will refer to ex A
Null
1 244 0 0 0
value to be
0
amples and tables from time to 32767 [ 255 + (256 X 127)= 32767 ].
Byte no.
time. The examples given duplicate LSB MSB
information actually in memory. Variable MSB LS8 Not used for Now what about the negative side?
Use the SPACE BAR or the t KEY as Name integers

necessary to obtain a display of that The VIC-20 handles negative values dif
variable. ferently than positive values. Figure 4
The Integer A% as shown on the screen
6. If you do not fully understand the shows the binary value of a -1 (all bits set
display
functions of the control keys, do not to one). This method is called the two's
4888 193[ A-—variable name as
worry about it. I will cover the con complement and is the method used by
>^^^ listed in program
trol keys in detail in future articles. the VIC-20 to represent all negative
4889 12sl ^"""decimal representa integers.
Stay on the first display for now.
tion of variable
INTEGER VARIABLES name stored in Here is how the conversion from
Since these are the simplest in form, I memory
negative to positive is made.
will begin with integers first. An integer 4890 1 — MSB
Example: An integer value of + 1 equals
will occupy a total of seven bytes in 4891 244 LSB
00000000 00000001 in binary.
memory. Referring to Figure 2, the first 4892 0
MSB LSB
two bytes are reserved for the variable's 4893 0
name. The VIC uses ASCII character codes 4894 0 Continued on page 76

to represent variable names; however, addresses


these codes are modified somewhat to
allow the VIC to differentiate between the
Figure 3: B% = 32767
various types of variables (integer, real,
Addresses 4897 4898
string). The VIC adds the number 128 to
the ASCII codes representing the first and
Decimal Representations 127 255
second characters for integer variables.
Floating point real numbers use the stan 0 1111111 11111111 Binary Codes
dard ASCII code to represent variable Sign Bit'
names; no modification is performed. Bit Numbers =7)6 5 4 3 2 10 76543210
Finally, String variables have the number MSB LSB
128 added to the ASCII code of the second
character only; the first is left unmodified. Figure 4: C1%= -1
Example: For the integer variable name
of A%, the first character will 4904 4905
Addresses
be represented by the decimal
equivalent 193 [65 (ASCII code Decimal Representation 255 255
foran"A") + 128].
11111111 11111111 Binary Codes
Since there is no second char
acter, it will be represented by
Bit Numbers 76543210 76543210
the decimal equivalent 128 [ 0
(ASCII code for a Null character) MSB LSB
+ 128].
74/Commander November 1983
SCRIPT 64™ Makes
Your World Letter Perfect
SCRIPT 64 moves you into the exclusive
neighborhood of sophisticated word
processing for an amazing $99.95.
In addition to all the standard
text editing features most higher
priced systems offer, SCRIPT 64
also gives you an 80 column
format and a built-in spelling
dictionary...all in one program
for the Commodore 64'"
To make your world letter perfect,
ask your dealer for a demonstration
of SCRIPT 64 today.

Developed by:

/RTC/
Richvale Biue Sky Software
Distributed by:
Telecommunications, Ashland Office Center
LTD. Warehouse 1, Inc. Computer Marketing DES-Data Evesham & Alpha Avenues
Eastern U.S. 800-253-5330 Services, Inc. Equipment Supply Voorhees, NJ 08043
Western 800-25&0056 800-222-0565 213-923-9361 609-79&4025
Also available for the IBM-PC.
Script 64, Commodore 64 and IBM-PC are registered trademarks o( Richvale Communications LTD.,
Commodore Electronics Limited, and International Business Machines. Corp. respectively.
To change from a +1 to a -1 ...
The answer is simple. If the MSB is greater
1) Set all bits to their opposite value.
than 127, you will have a negative integer.
00000000 00000001 becomes Example: What is the integer value if the
MSB LSB MSB is 128 and the LSB is 0? Since the

11111111 11111110
MSB is greater than 127, the integer will WANTED!
be negative; therefore, there is no need to
MSB LSB multiply the conversion equation by a -1. Game
2) Add a binary one to the LSB. By applying our formula we have-
(256 -0) + (255 -128) X 256 = -32768 Programmers
MSB LSB
1111111 11111110 LSB MSB
+1 (The lowest integer value possible)
Note; Refer to address number 4909 on Enter your original
11111111 11111111
your screen display to see how
= -1 (two's complement) Recreational Listings to
DD%= -32768 is stored in memory.
That concludes the portion on in
COMMANDER and receive
tegers. Next month, I will cover floating CASH
A memory dump will not give you
binary codes but rather decimal point real numbers. If you have any ques MERCHANDISE
equivalents; therefore, we need to know tions or comments on this article, send PEER RECOGNITION
how to convert these over to their integer your correspondence to: Arthur J.Dudley,
values for negative values as well. c/o Commander Magazine, P.O. Box
98827, Tacoma, WA 98498
Enter as many games as you
Remember, the conversion formula for a
positive value is LSB + (256 X MSB) = like: Submit your game(s) on
Positive Integer Value. The formula for a cassette tape or disk to
negative value is (256 - LSB) + (255 Games, Commander Maga
-MSB) x 256 = Negative Integer zine, P.O. Box 98827, Tacoma,
Value. You ask, "By looking only at the WA 98498.
decimal equivalent, how do I know if I
have a negative integer in the first place?"

Conttrued from page 72


5 REM *+SET UP TEST VflRIflELES**
6 flKoS00:BX«327S?;ClK*-i'-DDX»-3S768:CD*!.364565329:<I1<4>/N#
7 FORJ =0TO4:LXCJ>«J: NEXT :FORJ=0TG4: hKJ>=J: NEXT ■ N*a ;' = "R" : N$<2> = "B" :N*C3>w"C

S INPUTTJWIE
65 fl
75 DO=7
7? PRINT'S"
SQ F0RJ-HDT065535
36 FRINTJJTRBC7>PEEK<J>J
92 IFD0=7THENDG=8:GOTO100
93 IFDO=10RX£="J"QRH1*="J"THEHGOT0100
95 PRINT:GOTO120
ISO IFPEEKCJ>=>12STHENGDSUBi800
102 IFPEEKCJ><:i2QRNDPEEK<J»64THENPRINTTRBCi45CHR$(:PEEK<J3>
103 IFPEEKSJX65THENFRINT
120 C0=C0+l
121 D0=D0+l
140 IFCEK21THEN16S
150 GETX*:iFX*=""THEN150
152 IFX*"CHR*C945THEND0«?:J=«J-42
153 PRINT"!?1
155 ZFX*="J"THENGOSUB2000
156 IFX*=>"O
157 IFX*="E"THEHEND
15S IFX**"R"THENJ=PEEK<4S3*256+PEEK<475-i:30=7:C0=8
15? IFX*»"S"THENJ»PEEKC52)*256+PEEK<51>-l■K1#«"J"
160 CG=0
16? IFJ>=FEEK<4S>*256+PEEK(47) THEHDi>7
178 PRINT'S";:P0KE36S69.240^NEXT:END
1000 PRINrH
1O10 RETURN
2000 PRINT'S"
2801 INPUT"RDDRES3";J1
2005 J=J1-1
2010 RETURN

76/Commander November 1983


VIC-20 And
Commodore 64
Loader For Pet
'By David A. Hook'

With VIG20s and Commodore 64s sel waste time POKEing when you could be ed, you will have a program that should
ling so well, there is bound to be an occa frustrating yourself? be LOADed into the PET when it is first
sion where a PET/CBM user is called upon When I first got my VIC, I had no way to powered-on. After RUNning, the routine
to transfer or load programs forthe "color" connect my 4040 Disk Drive to it. So that I may be activated or cancelled with the
machines. As many of you know, this can could get backups to my VIC programs, I same "SYS" instruction. It will sit in high
prove to be a frustrating experience. would LOAD the tape copy into the PET memory, comfortably protected from in
I suspect there are many people who and then SAVE it onto disk. It made sense trusion from Basic until you need it.
have a VIC or C-64 in one location, while to have this copy "USTable" on the PET,
wishing to use a PET interchangeably at so this program was created. Procedure:
another. School, business and home There is a second, more subtle, short You'll need to do this in three stages:
users may be candidates for minimizing coming in the PET handling of VIC or C-64 1) Type in the Basic portion and save it
the hassles described below. programs. Using TINYMON FOR VIC or to tape or disk.
Both the VIC and C-64 have a "relo SUPERMON FOR VIC to create machine 2) Enter the machine-language monitor,
cating loader" built into the ROM- This language programs, you get a file that typing a bunch of hexadecimal num
means that Basic programs will LOAD in the PET completely ignores. While many bers. Save this part separately, too.
to the machine at the "proper" location, of you don't give a hoot about such files, 3) Combine the two, then SAVE the com
i.e., wherever the "start-of-Basic" hap they are of great importance to me. posite program.
pens to be at the time. The VIC has three The second function of V64 LOADER is
I'll attempt to lead the way through the
potential start-of-Basic locations, depen to LOAD these programs into the PET,
puzzle . . . it's not too long a process.
ding on which memory expansion car and store them in the location where
tridge or cartridges have been fitted. Only they were meant to go! But, you ask,
Step 1:
one configuration (VIC plus3K or Superex- how will 1 know where to find it? Simple,
pander) matches where the PET would he says, {never ask yourself a question Let's start with an empty computer-
begin its Basic. you can't answer)-why not display the turn your machine off and back on again.
The C-64 normally places Basic pro start and end locations on the screen as Type in the Basic portion by following
grams at an odd location for the PET. Both it's LOADing?They will be shown in hexa the printed listing exactly. Don't leave out
VIC and C-64 have many example pro decimal form, so that you ML afficion- anything (or insert any extra either).
grams where the start-of-Basic has been ados will know how to save it with the When you are finished, '?FRE(0)' to check
moved to serve other purposes. (High-re machine language monitor. available memory. For 16K this should be
solution graphics pictures would be one So much for the lengthy preamble. 14809 bytes free, and for 32K, 31193
There are two versions of the pro bytes free. Check carefully if you are
case.)
You probably have read at least one ar gram-one for Upgrade (Basic 2.0} and more than a few different from this.
ticle describing what to do after loading a one for Basic 4.0 PET/CBMs. To simplify Do NOT attempt to RUN this yet.
VIC or C-64 program. If it doesn 't seem to things, we'll use the Basic 4.0 version and Save this program to tape or disk, as
LIST on the PET, you are offered several then adapt it (if necessary) for Basic 2. file name "V64.BAS". Verify it normally.
things to try. After a few POKEs, the LIST Accompanying the article is a program
may work and you can edit the program listing of the Basic portion. The unfamil
iar-looking table is the "hex-dump" for Step 2:
merrily. When you then SAVE this copy,
you will probably perpetuate the messy the machine code part of the routine. Consult the "hex dump" of the pro
procedure the next time you LOAD it You will also see the assembly language gram which accompanies this article.
back into the PET. Since you will have by source code listing forthe ML. Unless you Type 'SYS4' to enter the Ml. monitor.
then forgotten which POKE sequence know what this is, you can safely ignore Don't be intimidated by the unfamiliar
worked, you can do it all over again. it. It is not necessary to know a shred of display-you can do this without really
This is not my idea of an efficient way machine language to enter, or to use, the knowing what is going on!
to spend time. I'd rather be creating all program. Beside the ".", type the following:
manner of bugs in my programs. Why When the procedure below is follow M 0640 06F0 'RETURN'

Commander November 1983/77


The screen will fill with lots of numbers S "V64-2.ML",01,0640,07B8
and letters. You must type the values you (Tape#1)
SELLING see in the tables right over the "AA" Step 3:
values on your screen. The first set of four Get back to Basic, by typing:
EDUCATIONAL values is the "address". Enter the values X 'RETURN'
SOFTWARE using the address as a reference to the
ReLOAD "V64.BAS" followed by the
matching "line". Don't forget to hit
CAN HELP PROTECT 'RETURN' at the end of each line. A
proper "V64-n.ML" (n = 2 or n = 4). When
you do a Basic SAVE, it will get the whole
DEALER PROFIT double-check may save later grief.
works. Use a file name of "V64LOADER4.
When this "block" is done, type:
MARGINS M 06F8 07B0 'RETURN'
REL" or "V64LOADER2.REL" as the case
may be.
AGAINST ERODING Enter the correct values from the table,
Do not make any adjustments to the
and double-check.
HARDWARE Basic portion. It would move the machine
Now we are ready to save this part, so
language too-and goodbye forever!!!
PRICING type:
5 "0:V64-4.ML",08,0640,07B8 Check out:

(Drive #0 on disk) ML programs have a nasty habit of


S "V64-4.ML",01,0640,07B8 "crashing" the PET instead of politely in
(Ta pe#1) forming you of an error. We should per
NOTE: Do not alter the range to be sav form a routine check before attempting to
ed, or save a few extra bytes to be "on the RUN it.
OUR COMPANY safe side". The whole program will bomb Type in NEW before entering the follow
MICRO-ED out if you do! ing Basic program:
Basic 4.0 users can proceed to Step 3.
INCORPORATED 10 LETT = 0
Upgrade (Basic 2.0) users need to make
20 FOR I = 1600 TO 1975
MEANS the following corrections. Type the in
structions, then alter the bytes that are 30 T = T + PEEK (I)
EDUCATIONAL
displayed to match those below: 40 NEXT I
SOFTWARE
M 0728 072F 'RETURN' 50 PRINT T
After a few seconds, the answer
M 0738 073F'RETURN' "45956" should appear on the screen
(45866 for Basic 2.0). If yours doesn't
,:0738 00 20 97F4D0 08 4C6E
match, there's an error to be tracked
M 075E 076A 'RETURN' down. You will need to re-enter the ML
FOR FURTHER .:075E6A£7A9 2D20D2FF20 monitor (SYS4), display the two "blocks"
of memory as you did when you entered
INFORMATION .: 0766 97 E7 20 6A E7 B8 50 28
them, and carefully compare the values.
M 0797 079B'RETURN'
CALL Make the necessary changes, hitting
.: 0797 B9 F3 4C DD F3 A5 9D 48 'RETURN' to store the new values. (If it's a
1-800-MICRO-ED
M 07A0 07AF 'RETURN' Basic 2.0 variety, watch out forthe chang
AND TALK WITH ed lines in the body of the article-don't
.: 07A0 55 F8 A0 00 00 B1 D6 C9
GEORGE "correct" them back to Basic 4.0 by
.: 07A8 03 F0 03 4C B0 F5 4C BC mistake.) You'll need to reSAVE the
ESBENSEN Now we are ready to save this part, so machine language portion using the ML
OUR NATIONAL type: monitor, as in Step 2. Use a different file
S "0:V64-2.ML",08,0640,07B8 name! Then put it together again, follow
SALES (Drive #0 on disk) ing Step 3.
COORDINATOR

SPORTS STRATEGY GAMES


FOR THE VIC-20*
No Joystick Required PLAYER VS COMPUTER Cassette
BASEBALL ADVERSARY 5K $10.95
PITCHHITTERS, RELIEF PITCHERS, SACRIFICES, ETC.

FOOTBALL ADVERSARY 13K (5K plus 8K exp.) $14.95


Creators of more than 1.000 programs
PENALTIES, SAFETIES, STATISTICS DISPLAY, ETC.
7 MICRO- RP Pre-school ihrough aduli ... PARR PROGRAMMING
Circle No. 26 2664 TYLER STREET
GARY. INDIANA 46407
.J, a TM of Commodore ^ 57

78/Commander November! 983


Tax*
I designed Taxpack so
you could do something
really practical with your
VIC 20.

Pack
Peter Lambert, MBA
Vice-President,
Product Deivlopment
Cosmopolitan So/tuaw

->

Taxpack
Powerful income tax computing
software .specially designed for
the VIC 20.

Satisfaction Guaranteed
Now you can use your VIC 20 to We guarantee that you will find
perform all the calculations on your Taxpack an excellent software value.
Canadian Tl general tax form. Canadian Tl genera! form, Taxpack To order with Visa or Mastercard If you are not totally satisfied, drop
Taxpack guides you easily through will be updated every year to reflect call 11s toil-free: us a note to say why, and return the
every aspect ot the form with changes in the government's income product post paid to us within 10
friendly prompts and a tax regulations. Innovative program 1-800-268-6364 days for a full refund ot the
comprehensive instruction manual. design allows us to update Taxpack (from B.C., call 11 2-800-268-6364) purchase price.
This new software is available on within days of the new Tl's
cassette tape and will run on the availability. I Want Taxpack!
standard 3.5k memory in your Please send me .Taxpacks 0 $29.95
VIC 20 home computer.* Special introductory offer Discount $10 per unit for orders before Dec 31, 1983
Taxpack lets you tackle your income Order early and gel your Taxpack for
tax form at your own pace. A only $19.95.' That's a ten dollar Subtotal $-
convenient save-and-re store saving off our regular retail price of Nova Scotia residents only, add 10% Sales Tax + $-
function lets you record and review $29.95. If you're giving Taxpack for Add $2 per unit shipping and handling charges + $.
historical results. Professional Christmas, we'll send you a special Total
editing features assure easy and gift card to put under the tree.
accurate data entry. Taxpack puts To use your Visa or Mastercard, My Name
the power of tax modelling and phone us toll free; or, send your
Address
planning for subsequent years in cheque or money order with the
your hands, today. handy mail-order form attached. City Province
We'll confirm your order by return
Postal Code Telephone
Many happy returns mail. Your up-to-date Taxpack
Because you c;in calculate and cassette and manual will be shipped □ I am buying Taxpack as a gift. Please send me a gift card. Attached please
preview more tax scenarios with within 15 days of the release of the find the name and address of the person(s) to receive Taxpack.
Taxpack than you'd have the 1983 Tl general form. Make Cheque or Money Order payable to:
patience or the time to do manually, Cosmopolitan Software Services Limited
"The cassette aim inclmbs an expanded iciam »/
this software can help you save tax Taxpack itftti imfujiwt'ti display features, fin (Jm and mail with (fns order form to:
dollars. Custom-tailored to the VIC ia'i u:lh Sk+ mtmi/n expansion. Box 953 Dartmouth, Nova Scotia B2Y 3Z6 Attn: Order Desk
Operation: If the program was really a special, "ab Try the LIST now. It came from an unex-
Type 'RUN' and the program will relo solute load file", the PET will load it in the panded VIC if you now have the program
cate the machine language portion. It same spot in memory it was SAVEd at (on visible. If that doesn't work, try:
moves up to high-memory automatically, the VIC or C-64). However, alongside the POKE 4608, 0 : POKE 41, 18 : CLR
correcting the necessary pointers. Basic file name, the start and end address (in 'RETURN'
will not interfere with its operation. hex) will be printed. This will flag this type
The LIST should work now, and the
On the screen, the Basic part of the of load, and allow you to find it more
program was SAVEd on a VIC with an 8K
program has displayed some information easily in the PET memory. Without this
(or more) expander in place. But if it
on how to use it. The line with a "SYS" program, the PET would have completely
doesn't, it's pretty tricky-(that's the
number tells you how to cancel or re ignored this file!
reason I did this).
activate it. Copy this down, because you While I was program librarian for the
For Commodore 64:
won't remember it later. 8,000-member Toronto Pet User Group,
LOAD the program and attempt to
You probably won't have to cancel it, our library accumulated some 3,000
LIST it. If the listing shows on the screen,
unless you are concurrently using programs. It was an absolute minimum
then carry on without further modifica
another ML program that wants to use standard of mine that all submissions to
tions. If it doesn't, then type:
the same technique to intercept charac the library be converted so that they
ters before Basic sees them. (The would LIST on the PET I believe that our POKE 2048, 0: POKE 41, 8: CLR
CHRGOT routine, if you must know.) members appreciated being able to 'RETURN'

To load a VIC or C-64 tape into the PET, "see" the program, even if it wouldn't
This will catch most of the Basic pro
type: run on their machine, lean safely say that
grams that were SAVEd on the C-64. You
V "FILE NAME"'RETURN' this is one utility that I've used as much as
are on your own if it doesn't.
The " " must be in the first column of anyone.
I'm somewhat biased, but I think the
a screen line or the PET will ignore it. The The Alternative:
investment in preparing V64 LOADER
"file name" is optional—if omitted, the Here is one technique for manually
will be worth it. See you next month,
load will be done on the first program changing the Basic pointers in the PET, so a
when I hope to have another utility pro
found. VIC or C-64 program can be handled.
gram ready for VIC owners. I would like
You will get the normal messages, i.e., For VIC:
to acknowledge the kind assistance of
'PRESS PLAY . . .', so follow normal pro LOAD the program and attempt to
Mr. Maurice Taylor, of Taylor Business
cedure. When the 'READY' message ap LIST it. If the listing shows on the screen,
Computers, for use of some of his equip
pears and the cursor returns, a Basic pro then carry on without further modifica
ment in the preparation of this article. _
gram may be LfSTed, edited and SAVEd tions. If it doesn't then type:
just as if it were entered on the PET in the POKE 4096, 0: POKE 41, 16 : CLR
first place. 'RETURN'

GOSUB
.0*
INTERNATIONAL INCORPORATED

Features:

19 Keys, each of which may have 3 sep-


erate definitions!

Complete documentation including pro


gram listings'

Retail
Works on the VIC20 (Expanded) and C-64
S69.95
computers1

Compatible with most existing software!

Great for use with business programs and


electronic spread sheets'

Ideal for machine language programmer'

VISA & MASTERCARD WELCOME Dealer Inquires Invited - (316) 265-9858


GOSUB International-501 E Pawnee- Suite430
Prices subject to change Wichita. Kansas 67211

'C-64 and VIC 20 are registered trademarks of Commodore International Circle No. 3d

80/Commander November 1983


VIC-20/C-64
1 JSTING 1
SAVE
money on your next software/hardware
purchase and

PROGRAM: ' /64 LOADER.BAS


LOAD
the latest availabe programs selected from over
100 software/peripheral manufacturers
100 REM LOAD VIC OR C-64 PAPES INTO PET
WRITE FOR A FREE LIST Specify computer
110 REM FOR BASIC 4.0 ONLY
VIC-20 O64
. 120 REM AS OF JULY 14, 1983 Tsp« Disk Tape Disk
130 REM SnakmanU/KI 114.95 117.95 $19.96 $21.96
140 REM (C) DAVID A. HOOK SkrambleU/K) 414.95 $17.95 $19.95 »21.95
150 REM 58 STEEL STREET GridderUM *14.95 (17.95 $19.95 »21.95
Rnball Wizard (K) »14.95 (17.95
160 REM BARRIE, ONTARIO , CANADA
Utility File (p3us3K) (17.96 - (19.95 $22.95
170 REM L4M 2E9 (705) 726- 8126
Tenant File - $27.95
180 REM Develop 20/64 $42.96 $46.96 $48.95 $50.95
190 REM ALL COMMERCIAL RIGHTS RESERVED Spitemaster 64 - - (29.95 $29.95
200 REM Neutral Zone 64 - - $29.96 $29.95
Lazer Strike 64 - - $24.95 127.95
210 PRINT 1 [CLEAR,RVS]" TAB (15)" VIC LOADER'
220 SYS 1600 Card Print 20.64 (Cartridge) $63.96
230 PRINT 1 [DOWN3]- ACTIVATE OR CANCEL THE LOADER USING:" Rabbit 20,64 [Cartridge) $34.96
Quick Brown Fox 20.64 (Cartridge) $49.96
240 SA=PEEK(52)+256*PEEK(53)
250 PRINT TAB{10) ' [DOWN2] SYS (" SA" Check. Money Of oei. VISA. Maneica/O (Include eis datoi
S £> H '2 00,'C O.D dIuj'2 0C(U.S only - cash certified)
260 PRINT 1[DOWN2)- TO LOAD VIC rAPE , TYPE: 1
A All pucas U S rnds N Y add sale; 1a«

270 PRINT '[DOWN2]<V "CHR$ (34)" FILE NAME"CHR$ (34)


(716)637-6371
280 PRINT 1[DOWN2]- FILE NAME IS OPTIONAL
290 PRINT 1[DOWN]- TYPE THE COMMAND AT COLUMN 1 0 ' . "
FABTROIMICS
51 Quarry St., Dept. C. Brockport N.Y. 14420
VIC 20 C 64 Rey IK Commodore Business Mac li. Inc

Circle No. 40

IT/2 PRICE INTRODUCTION


VIC • C-64 • TI-99
LISTING 2
VALU-CALC 29.95

VALU-FILE 29.95
: 0640 A5 2A 85 IF A5 2B 85 20
VALU-WRITER 29.95
: 0648 A5 34 85 21 A5 35 85 22
VALU-GRAPH 29.95
: 0650 A0 00 A5 IF DO 02 C6 20
MAILING LIST 19.95
: 0658 C6 IF Bl IF DO 3C A5 IF
PAYROLL 19.95
: 0660 DO 02 C6 20 C6 IF Bl IF
PAYCHECK 14.95
: 0668 FO 21 85 23 A5 IF DO 02
HOME INVENTORY 14.95
0670 C6 20 C6 IF Bl IF 18 65
STOCK P0RTF0LI014.95
0678 21 AA A5 23 65 22 48 A5
LOAN/MORTGAGE 14.95
0680 34 DO 02 C6 35 C6 34 68
STATISTICS 14.95
0688 91 34 8A 48 A5 34 DO 02
BUDGET 9.95
0690 C6 35 C6 34 68 91 34 18
CHECKBOOK 9.95
0698 90 B6 C9 BF DO ED A5 34
CAR COST 9.95
06A0 85 30 A5 35 85 31 6C 34
MATH INSTRUCTOR 9.95
06A8 00 AA AA AA AA AA AA AA
ALGEBRA 1 9.95
06B0 BF AE FE FF 00 E4 34 AD
GAMES PACK 9.95
06B8 FF FF 00 E5 35 BO OB 86
CflL. RES. flDO 6.5%
06C0 34 86 30 AD FF FF 00 85
* ■ 06C8 35 85 31 A2 03 B5 78 48
FDR FREE CflTflLOG WRITE
06D0 BD FA FF 00 95 78 68 9D
*

*
*


06D8
06E0
FA
3C
FF
DO
00
08
CA
48
DO
A5
Fl
77
60
C9
C9
00
w
V Valorum
06E8 00 FO 08 68 C9 3A BO EF
441 CLYDE AVE #C
■ * 06F0 4C 7D 00 00 20 70 00 00
MTN. VIEW, CA . 94043
Continued on page 84
TEL. (415) 968-8500

Commander November 1983/81


WE'REVERY HARD ON OURSOFTWARE
You might even say we're perfectionists. Because at Softsmith™ we give our software the hardest workout,
the toughest testing, the most rigorous evaluation. The result is software that has earned our confidence, and
will justify yourtrust.

In particular, we do three things that make Softsmith software the most dependable you can buy.

1. 2. 3.
We're picky. Out of the hundreds We complain a lot. If you were a We insist on plain English. After
of programs Softsmith evaluates programmer, and Softsmith we've made the best program
every month, we choose to accepted your program, you better, we're still not finished.
publish very few. A lot of good pro would have a right to be proud. Because we know that even the
grams are rejected; but we think But you shouldn't go on vacation best program is no good if it's too
you can't be too picky when it yet. Because no matter how good hard to use. So we put a lot of time
comes to personal computer soft that program may be, Softsmith and effort into translating our
ware. Our selectivity is your best evaluators will suggest some instructions from computerese
assurance of quality. improvements; politely, but firmly. into plain English.
We may complain a lot, but
people thank us later.

We publish software you can trust. Yes, we pick our programs carefully. And complain a lot to make them better. And insist
on plain English instructions. The result is a library of personal computer software you can depend on. Even if you don't know
a Pascal compiler from an emulation subroutine.
Softsmith has programs you can trust for all the most popular personal computers. Programs for Education, Home Manage
ment, Entertainment, Word Processing, Business, Communications and Programming. Ours is the largest library of quality
software under one brand name.

So before you choose a software package for your computer, make sure someone's taken the time to be hard on it. Make sure
it's Softsmith, the software you can trust.
Ask for Softsmith brand software wherever computers or software are sold. Or call us TOLL-FREE at (800)341-4000 for the
name and location of your nearest dealer.

Softsmiih CorD.. 1431 Doolittle Dr.. San Leandro. CA 94577. A comoanv of The Software Guild:"

SOFTSMITH
TM

SOFTWAR L I R A R Y
SMITHWRITER
JUMPS OVER
THE QUICK BROWN FOX
Take a great leap forward in word you would expect to find in pro has the largest I ibrary of software
processing with Smithwriter, from grams costing at least 3 times as programs under one brand name,
SoftsmitrT Corporation. It's the much: automatic centering, for all the most popular personal
dependable, inexpensive and super- and subscript printing, computers. Programs for Educa
easy-to-use text-handling pro underlining, italicizing and tion, Home Management, Enter
gram for your Commodore 64 or double-width spacing. The pro tainment, Business, Communica
VIC-20.* gram is already configured for the tions and Programming. All are
most popular printers, so you can backed by ourToll-Free customer
Smithwriter uses its power to
start using it right away. service number, to give you expert
simplify the mechanics of writing.
help if you need it.
Other programs require multiple Whether you're writing the Great
keystroke commands for most American Novel or letters to Ask for Softsmith brand software
editing functions. Smithwriter friends, Smithwriter is the pro wherever computers or software
does them with a single stroke. are sold. Call usToll-Freeat
gram you should trust with your
And Smithwriter's simplicity car words. It's part of the Softsmith (800) 341-4000 for the name and
ries over to the instructions, too. location of your nearest dealer.
library of quality software. All
They're written in that rarest of all
Softsmith programs have been Dealer inquiries invited.
computer languages, plain " Requires 16K expander for VIC-20. Available on
painstakingly tested, improved
disk or cassette for both the Commodore 64 and
English.
and clearly documented to create VIC-20.

Don't let the simplicity fool you, the most dependable brand of Commodore and VIC-20 are trademarks of
Commodore Business Machines. Inc. Quick
though. Smithwriter does things software you can buy. Softsmith Brown Fox is a trademark of Quick Brown Fox.

SOFTSMITH
TM

SOFTWARE L I R A R Y
Dear Editor:
HELP? and a microphone with remote switch. I
We would like to point out a couple of
errors in the article by Gary Kiziak titled Sirs, sit down, get comfortable in my big chair,
I have a DMP-200 Printer (Radio lean back, relax and start reading the
"A Character Editor for the Commodore
Shack), a Commodore 64 computer, CPI- listing into the microphone. I use the pen
64" which appeared in the June issue.
Serial to Parallel Interface {Micro Systems cil to regularly mark my place in the
The first error involves a correction
which would only be noticed by cassette Development, Inc.), and a WordPro-64 listings (especially important when ready
program (Professional Software, Inc.). ing long DATA statements). I read each
users since it has no effect on disk based
What type of Interface (or program statement twice, spelling out each
systems. Here is the correction, which
codes) do I need to "make it all work"? character, and announcing "again" be
should be added as the first line in the
Very truly yours, Dennis Jackson tween the first and second readings. I use
"CHAR EDITOR" program.
a standard way of pronouncing each
90 IF PEEK(896)<>160 OR PEEK(933)
TYPING A PROGRAM character, not varying from program to
<>169 THEN GOSUB 2500
program.
The second error is a result of Commo FROM A VOICE RECORDING
The reading goes rapidly and accur
dore's introduction of the Kernal 2 ROM's. SAVES 80 PERCENT OF
ately, especially since I do not need to
Anyone with the Kernal 1 ROM's will not PROOFREADING TIME
remember where my fingers are.
have noticed any problems. Anyone with
It took a full day to proofread and After the voice recording is finished, I
the Kernal 2 ROM's will have noticed that debug a 200 line program from a carry the recorder over to the computer
the 64 characters in the bottom half of the
magazine before I started using a voice and replace the microphone with a foot
screen were missing- actually they were
recorder. The recording cuts this time to operated remote switch (Radio Shack
there, but they were invisible because they two hours. Part). I put the recorder on Play, press the
were the same color as the background
Proofreading a computer listing ef foot switch, listen, and type.
(change the background color by pressing
ficiently ordinarily requires two people: The voice recorder is worth the effort
CTRL-B and you will see what f mean).
one to read the magazine or print-out, of setting up. It is fast and accurate. You
Again it is a simple matter to fix this pro and the other person to check the screen. do not lose your place by constantly look
blem. Simply change lines 860 and 870 of
The second person is not needed if a tape ing from screen to magazine to keyboard.
the "CHAR EDITOR" program as follows: recording or speech synthesizer is used. When i am ready to proofread, I list the
860 J =154811 = 55820:FOR 1 = 0 TO
This article describes how I type listings program, rewind the tape, press Play and
63:K = IAND15:IFK = 0THEN
and proofread from a cassette voice keep my eye on the screen while the
recording. A future article will describe an recording spells out each and every
870 POKE 2*K + J,I + TT*64:POKE even better method that uses the character. I find dozens of typing errors
2*K + JJ,1:NEXT:RETURN VOTRAX speech synthesizer to read the that I would have missed without a good
screen while I checkthe magazine listing. proofreading system.
I get a pencil, the magazine listing, an
easy chair, my voice cassette recorder. Off Gazaway
86/Commander November 1983
AARDVARK
PRESENTS.

WITHOUT QUESTION, ABSOLUTELY —

ARCADE STYLE GAME


AVAILABLE, THAT WE KNOW OF.

FAST AND FURIOUS. You become the wizard fighting off


the thunderbolts of an angry Zeus. Multiple action. Are
you good enough to keep up as the difficulty increases
wave after wave. Hours of challenging fun. This is one
game you may never completely master.

AVAILABLE ON: TRS-80C(1GK), CMD 64, VIC 20(13K)


STOCK #1007 TAPE:$24.95 DISK: $29.95

PYRAMID... Our toughest and most intrigueing


adventure. Average time though the pyramid is
50-70 hours. Clues everywhere and some very
ingenious problems. This one is popular
aiound the world.

AVAILABLE ON: TRS-BOC (16K) CMD 64


VIC 20 (13K) TIM EX/SINCLAIR TI/99-4A

rOCK #5002 TAPE: $19.95 DISK $24.95

DUNGEONS OF DEATH. . .A serious D & D type. if re rent kind ol adventure. Played on a


for you up to 6 players at a time You get a choice otra computer generated map of Alesia You lead a small
and character, on screen mapping of the maze, a chan band of expfoyers on a mission to conquer the
to grow frurri game to game, and a 15 page mami Citadel of Moorlock. Takes 2-5 hours to play and is
Requires extended basic on TRS-80C. completely different each time.

AVAILABLE ON: TRS-80C(16K). CMD 64, VIC2D(13K), AVAILABLE ON: TRS-80C(16Kl CMD 64
TRS-BOC 32K DISC VIC 20(13K) TIMEX/SINCLAIR TI99/4A.

STOCK S7001 TAPE: S19.95 DISK: $24.95 EXTENDED BASIC REQUIRED ON Ti


STOCK #7007 TAPE: $19.95 DISK: $24.95

Quest is also available on TRS-80Casa32Kextra memory, extra lun adventure. It's a little more difficult,

AARDVARK /tette* Softwvte and will lest the most experienced explorer of the kingdom.

STOCK #7006 TAPE: $24.95 DISK: $29.95


IS AVAILABLE AT SOFTWARE RETAILERS EVERYWHERE. IF YOUR LOCAL
COMPUTER OR SOFTWARE STORE DOES NOT CARRY IT - ASK THEM WHY NOT.
SEND ONE DOLLAR FOR ILLUSTRATED CATALOG. DEALER INQUIRES INVITED. HOURS OF FUN AND ENJOYMENT FROM THE "ADVENTURE PLACE"

ORDER BY MAIL, BE SURE TO INCLUDE EXPIRATION DATE.

1-800-624-4327
CHARGE CARDS PHONE ORDERS ACCEPTED
WELCOME 8:00 A.M. TO 8:00 P.M. E.S.T. MON-FRI

AARDVARK /4etto*
2352 S. COMMERCE RD. WALLED LAKE, Ml 48088 313/669-3110
Continued from page 85
99: 7F48 DO Fl BNE WG100 ; EXIT

101: 7F4A A2 01 WG300 LDX #1 ; SET TO CASSETTE#1


102: 7F4C 86 D4 STX FA
103: 7F4E CA DEX
104: 7F4F 86 Dl STX FNLEN
105: 7F51 86 9D STX VERCK ; '0' MEANS LOAD
106: 7F53 A9 02 LDA #>BUF

107: 7F55 85 DB STA FNADR+1 ; FILENAMEIN BASIC BUFFER

109: 7F57 20 70 00 WC10 0 JSR CHRGET ; GET FILENAME IF PRESENT


110: 7F5A AA TAX
111: 7F5B F0 17 BEQ WC210 ; END OF LINE
112: 7F5D C9 22 CMP #QUOTE
113: 7F5F DO F6 BNE WC100 ; KEEP LOOKING

114: 7F61 A6 77 LDX TXTPTR


115: 7F63 E8 INX
116: 7F64 86 DA STX FNADR ; UPDATE START PTR

118: 7F66 20 70 00 WC200 JSR CHRGET


119: 7F69 AA TAX
120: 7F6A FO 08 BEQ WC210 ; END OF LINE
121: 7F6C C9 22 CMP #QUOTE
122: 7F6E FO 04 BEQ WC210 ; FINISHED FILENAME
123: 7F70 E6 Dl INC FNLEN
124: 7F72 DO F2 BNE WC200

126: 7F74 20 95 F6 WC210 JSR ZZZ ; GIVE NORMAL MSGS


127: 7F77 20 57 F8 JSR CSTE1
128: 7F7A 20 49 F4 JSR LD300
129: 7F7D A5 Dl WC215 LDA FNLEN
130: 7F7F FO OB BEQ WC250 ; NO FILENAME GIVEN
131: 7F81 20 E6 7F JSR FVH ; FIND 'VIC1 HEADER
132: 7F84 20 D6 F4 JSR FAF1 ; RE-ENTER PET ROMROUTINES
133: 7F87 DO 08 BNE WC270
134: 7F89 4C AD F5 WC220 JMP OP160
135: 7F8C 20 E6 7F WC250 JSR FVH ; FIND 'VIC HEADER
136: 7F8F FO F8 BEQ WC220
137: 7F91 A5 96 WC270 LDA ST
138: 7F93 29 10 AND #100010000
139: 7F95 DO 4C BNE WC300
t

141: 7F97 EO 01 CPX #1 ; NORMAL PROGRAM HEADER


142: 7F99 FO ID BEQ WC2 80
r

144: 7F9B EO 03 CPX #3 ; SPECIAL VIC ' ABSOLUTE LOAS1


145: 7F9D DO DE BNE WC215 ; FIND ANOTHER HEADER

147: 7F9F BD 7B 02 WC275 LDA TAPE1+1 X ; GET START/END


148: 7FA2 95 FB STA TMP0,X ; FROM TAPE HEADER
149: 7FA4 CA DEX
150: 7FA5 10 F8 BPL WC275
J
152: 7FA7 20 17 D7 JSR WROA ; PRINT THEM ON SCREEN
153: 7FAA A9 2D LDA #"-"
154: 7FAC 20 D2 FF JSR WRT

88/Commander November 1983


Continued from page j J8
BLTVET >?FTffARE
155: 7FAF 20 44 D7 JSR T2T2
Ludwic's Castle
156: 7FB2 20 17 D7 JSR WROA 8K Adventure VIC/64 9 .95
157: 7FB5 B8 CLV Weapor. of Choice
158: 7FB6 50 28 BVC WC29 0 16K Adventure VIC/64 14 .95
ALWAYS Dungecr. Runner
24K Adventure VIC/64 19 .95
CENTURY MICRO
160: 7FB8 AD 7D 02 WC280 LDA TAPE1+3
8K RAV EXPANSION 29 .95
GET PROGRAM LENGTH
16K RAM EXPANSION hk ■95
161 7FBB 38 SEC ^64K RAM DISK (VIC) 99 .95
162 7FBC ED 7B 02 SBC TAPE1+1
MOSES ASSEMBLER VIC,CT 49 •95
163 7FBF AA TAX
MOSES ASSEMBLER 64,DC 29 ■ 95
164 7FC0 AD 7E 02 LDA TAPE1+4
DELUXJCN VIC/64,CT 19. •95
165 7FC3 ED 7C 02 SBC TAPE1+2
GALACTIC SOFTWARE
166 7FC6 A8 TAY
20 MAIL LIST D,C 21. •95
6^ MAIL LIST D,C 23. 95
168 7FC7 A5 28 LDA TXTTAB ;
FINANCIAL ASSISTANT 64D 39- 95
CHANGE -1EADER BYTES PROGRESSIVE PERIPHERALS

169 7FC9 8D 7B 02 STA TAPE1+1 ; Gothmogs Lair 64 D 29- 95


Cyber World 64 2 Disks 39- 95
TO START OF BASIC
170 7FCC Smart Slot 64
A5 29 LDA TXTTAB+1
4 Blot Intelligent Exp 79. 95
171 7FCE 8D 7C 02 STA TAPE1+2
Auto Clock VIC/64 99. 95
172 7FD1 8A TXA
173 7FD2 18 CLC t

FIX END LOAD ADDRESS


174 7FD3 6D 7B 02 ADC TAPE1+1
CUSTOM CARTRIDGES
175: 7FD6 8D 7D 02 STA TAPE1+3
176: 7FD9 98 We offer the fallowing pro
TYA
ducts and services:
177: 7 FDA 6D 7C 02 ADC TAPE1+2
178: 7FDD 8D 7E 02 Blank Cartridge (W/Case)
STA TAPE1+4
VIC/64 10.95
i
The following EPROMS are
180: 7FE0 20 F8 F3 WC290 JSR LD16 available for our cartridge:

CONTINUE THE LOAD 2732 5-95


2764 7.95
27128 WRITE
182: 7FE3 4C 1C F4 WC300 JMP CONTLD CuetoQ Programming
t
2732'e 1 ea 2.00
184: 7FE6 A5 9D FVH LDA VERCK ; 2764's I ea 2.50
27128'b 1 ea 3.00'
FIND A 'VIC HEADER •You supply the 128
185: 7FE8 48 PHA
186: 7FE9 20 9A F8 JSR RBLK Please include all of the
information needed to prop
187: 7FEC A0 00 LDY #0 erly program and set up your
188: 7FEE Bl D6 LDA (TBUF),Y cartridge.VIC cartridges need
to know which block (1,2,3 or
189: 7FF0 C9 03 CMP #3 ; 5) and the 64 crt'e need to
IS IT 'ABSOLUTE' TYPE know LO Rom or HI Rom.

190: 7FF2 F0 03 BEQ ABSLD


HOW TO ORDER
191: 7FF4 AC EF F5 JMP FAH1 ;
Send check or money order
RE-ENTER ROM ROUTINES to SOFT SACWARE. All orders
shipped within 48hrs and if
items are not in stock we
193: 7FF7 AC FB F5 ABSLD JMP FAH50 ; will return your payment if
GOT I 4EADER TYPE ' 03 ' you specify.
Add 3* (S3.00) HIN For Ship-
ing and handling.
195: 7FFA 4C MYGOT .BYT 54C
CA Residents add 6% Tax
SWAP INTO ZERO PAGE
196: 7FFB 30 7F .WOR WEDGE

SOFT SAC1DARE
i

198: 7FFD 07 7F SART .WOR VICLD


PROGRAM LOCATION START 4607 STAGGS WAY
SACRAMENTO, CA 95822
Circle No !45

Commander November 1983/89


Outsmart
your computer.
Show your computer who's boss. Earn its level where you don't think it's funny.
respect. With a Datamost book. We'll tell you what you need to know.
No matter what age or ability level you're And then, when that's understood, you can
at, we have the right book that talks just to take the next step toward outsmarting
you. And your computer. Whether you own your computer.
an Apple* An Atari* Or just about any brand Before You Spend Big Bucks On A Computer,
All our books are incredibly easy to Spend Little Bucks.
understand. Once you've decided, kind of, almost,
Which will make it incredibly easy to nearly, what type of computer you think
understand your computer. you'd like to buy, buy a Datamost book.
What If You're Scared Of Books About It'll help you understand the Atari or the
Computers? Commodore* or the Apple of your eye.
Don't be. Before you spend a lot of money. Before
Our books are written in friendly, famil you take your computer home.
iar American English. Highlighted with You'll make a better purchase decision.
cartoons. And illustrations. So they're fun Because you'll understand what you're
to read. As well as educational. doing. And what you and your computer can
And there's over 30 books to choose from. do together.
Basic computer learning books to program So there won't be any misunderstandings
ming books to coloring books. to ruin your new relationship.
You won't be bombarded with complicated How To Get The Most Out Of Your Computer.
programming routines until you're ready for Get the most out of our minds.
complicated program Datamost books for
ming routines. And no
funny technical talk W DATAMOST every computer.
Everybody. Every level.
until you've reached The mOSt OUt Of OUr mindS. Pretty smart huh?
[Jatamost. Inc.. 8943 FullbriKhtAvf..Chatsw(irlh.CA 9011.(201709-1202
"Atari is a trademark of Atari L'omputi'r.'AppIr in a trademark e>[ Apple Computer.
"Commodore 64 is ;i trademark of Cnmnuidore Business Machines, Inc.
= ByK. T.Adkins =^

Boxes of money await you! As you Openings may close before you get to the top of the screen.
frantically run around trying to break into them. But if they do, new openings will Lines 330 through 387 allow for move
each box, there suddenly appear open appear as long as you keep moving. Also, ment of your character as line 330 keeps
ings. Will you get to them in time to run in after you enter a box, an opening may check on your time.
and grab the money? Will you be able to close behind you. You may be able to get Lines 400 through 440 allow for ran
get out safely with the money? Or will out if you keep hitting the insides of the dom openings in the sides of the boxes
you get "BOXED IN"? box. However, since the game is timed, to appear.

These are the challenges in store for you may begin to worry that you won't Lines 450 through 520 check a move to
you in this gameforthe unexpanded VIC. get out quick enough and your time will determine if money was secured from a
"BOXED IN" is divided into two pro be used up. Pushing the fire button on box. If so, a short jingle is played and the
grams. The first program presents the ti the joystick control will enable you to score counter is incremented.
tle together with the instructions and begin again, but the clock will still be run Line 525 checks to determine if all the
automatically LOADs the main game pro ning. In order to win the game, all the money has been secured.
gram. When the game begins, you start money must be secured from the nine Lines 600 and 610 close existing open
off at the top of the screen. Below you boxes before your time runs out. ings in the boxes and allow for new ones
are nine boxes, each with a stash of Construction of Part 2 is as follows: to be displayed.
money in the center. You maneuver Lines 80 through 97 create the special Lines 650 and 860 contain the various
around the boxes with your joystick and characters required. messages used in the game.
watch for openings to appear. When you Line 99 sets the clock. Lines 900 and 910 make up the joystick
see an opening, you must race toward it, Lines 100 through 295 display the boxes subroutine.
enter the box, grab the money and run. on the screen. The remaining lines contain the DATA re
There are, however, a couple of things Lines 305 through 320 initialize required quired for the characters created in lines
to consider while playing the game. variables and display your character at 80 through 97.

£■■1 - PRRT 1 - SRVE FIRST ON T HPE


■:- pr i ":POKE 3es?s<. i 1 hiPRTMT" clcIf.'JJfH*
10 PRINT" •"

11 °RINT" ♦ "
12 PRINT" ifcffJU* o ♦ "
1 ? PRINT" ■UKftl* ♦"
14 P9INT" E ♦"
15 PRINT" D • '■

PRINT" I • ■'

PRINT" H ♦'
1? PRINT" ■jHuUeJ* ♦"
20 PRINT" **■»" :PPrHT"gJjlBaii &v TOM ROKINS"
21 30SUB3S0iPRI NT"3SSSSPUH ftPOUND T SOXES."
PRINT" H^HEh DPEHING 5 RFPERP, DRSH I ■■. GRRE THE HON-EV RNO 3ET 'JUT pyiCK "
FRI NT" 3R VOL MRV be T 'BOXED EN'." :F RIHT" *£t JU MUST <EEP MOVING FOR HEW ":
24 PRINT" JPENIN 3S TO RPPERR. ' :PRINT" 5,'IF -'OL PEEL TPHPPED. PRESS THE FIPE "j
25 PPINT" BUT- TON. "
26 PRINT" 5HIT fl KEV... , "

27 3ETfl* : IFR*=" "THEH27


28 PRINT" Z3"
29 PPINT" HHWHEN THEBJBORRD IS COH-PLE" THE FIPE BUTTON TO BEGIN PLRV."
30 PRINT" yi-OOD LUCK! H IT R KEV.."
31 3ETR*: IFRf=" "THEN31
32 PRINT" ClefiS" :F 3KE19S, 5:P0KE631,73:POKE6 :P0KE633,37:P0KE634.13:POKES35.131:END
300 S=368 7^1 :V=2 6S73
310 POKEV . 15
320 PEflDP

Commander November 1983/91


33© IFP=-iTHENPOKEV,0:RETURN 355 IFJI=5THENV=V-22:POKEV.CL:POKEX,32
340 PEflDO
& 350 =1O£ES..P
: K=PEEK CX-22 > : X=X"-22 :POKEX , S : P=P-1
:G0T0500
360 FORN=1TOD:NEXT
370 POKES,0 368 IFJ1-J7RHDPEEK<X-1>=31THEN 329
3S0 365 IF T l = i ?THEHV=V-1 : POKEV - CL : POKEX, .1-2
:K=PEEK<X-l>:X=X-1 :PQKEX,R:G0T0500
500 DRTR209 .250 -21S.. 259 ,217.5©£j 3?3 IFJi =9RMDPEEM -'.K+22> -3ITHEH329
510 DRTB215 r50© ,209 .500.. 207 ,506 37) IF.Jl=9RN0P>=23THEH329
520 DRTR2Q 1 .2"3S0 . -1

iFPEEf"■ i7152>=l l3flN0PEEK<X+l i=3J


1 REM - PflRT 2 THEN32?
2 PRINT"3" IFPEEK*S7152?=li9THEHV=V+l:POKEV
89 P0KE52.28:P0KE56.28:F0RT=71S3T07679 i^OKEX . 52:K=PEEK(: >1 > :X=::+ I i
[POKET,PEEK<T+25600):HEXTT:P0KE36869,25E
85 FORC=7504TO?S1I:REflDR:PQKEC,fl:NEXT
30 F0RC-7464T0747I:PERDR:POKEC,R:HEXT
400
95 F0RC=7416T07423:RErtDR:P0KEC,fi:NEXT
:: 31THEN400
97 FQRC=7334T07391:RERDR:P0KEC,R:NEXT
R2=IHT^RND<
99 TI*="00@080"
190 PRINT'S" :P0KE36873,.i27:X=33423:V=3S44i -:: 31THEH410

120 F0RI=XTOX+4 : POKE I ,6 : NEXT I iX="X+4 R3«IHT« K-NDf 506 '1-7630: IFPEEk ' R3
130 I F>!=3S529THENX=38599 : V=»V+88 : GOTO 1 26 O31THEN4S0
135 IFX=38705THENX=38775iV-V+SS;DOTO120
140 IFX=388S1THEN16© 4'3C1 IFkTC 56GOTO330
145 IFX=VTHENX=K+4:V==V+22:GOT0128 590 !."K-;; 36GOT0329
150 X=X+3:GOTO120
160 XO8446 iY=38462 Z !0 -C"""u. = I TC5 jP0KE3c?75 ,230 :FORf-l T05©
170 FOR I =XTQX+2 : POKE I.. I : NEXT I : X=X+2 iNEXTM
130 IFX=3850STHENX=33622:V=V+132:GOTO170 Tl:r =■■':'■ E 3^875 .0 :POKE36376,200 :FORM=1TO50
185 IFX=38682THENX=38798:V=V+132 sGDTQ178 :HE>.TM
196 IFX=38858THEH210
Z2& -"■"'> EC"t»?7fi .y :NE*-'TL :P0kE3oS7S .&
195 IFX=VTHENX=X+6:V=V+22:G0T0178
". 15 ' ^X = f'"~r-"£'Jif 50
206 X=X+5iGOTO170
5 56 ji; T033<?
210 X=384S9!FORI=lTO3:POKEX,0tX=sX+7:NEXTI - .ju r=$@no;POKERl-T-€■:PCKER2+T rg
220 X=38fe~45:FORI=lTO3:POKEX,0:X=X+?:NEXTI
!P0kER3+T.S
230 X=38821:FORI=lTO3:POKEX,0:X=X+7iNEXTI
240 X=7703:Y=772I
-". -? F '-i EF '. . 31': PC l ER2 - ? 1 : POI- ER3 .31 : DP=£
: GOTO 3£'i?
250 F0RI=XTQX+4:PQKEI,31:NEXTIiX=X+4
251 IFX=7809THENX=7S79;V=V+88:GOTO250 ^=0 Pf?£NT"3" :P0KE3r68F9.r6:PRIHT
s-53 PRINT"^:-'.! WIN! ' ■ '
252 IFXs=7985THENX=8055 :V=V+88 :G0TD258
S?9 =-s;-vj,v' aigj.j-HT Ti? PL3V ^GRIH
253 IFX=8161THEN256
254 IFX=VTHENX^X+4:V=V+22J00T0259
255 X=K+3:G0T0253 e9Q IFQ^="V"THEH99
256 X=7726:V=7742 700 PCKE'5715-t -255 :P0KE363S3 ,£40 sEHD
257 FGRI=XTDX+2:P0KEI,27:HEXTI:X=X+2 300 PR 1 ST " "J11 : P0KE3SS79 , 75 : PR I NT " ^r'
258 IFX=7736THEHX=7982:V=V+132:0070257 810 :'PINT"3r'0UP TIME IS UP!!!'"
259 IFX=7962THEHX=S073:V=V+132:G0TO257 320 PRUJT-p^VOij QHLV SECURED THE
260 IFX«8138THEN285 MONEV rROM"~"SO:-:ES. "
261 IFX=VTHENX=X+6;V=V+22:G0T0257 330 PRINT"gB9dflNT TO PLRV RGRIH <V/N??"
262 X=X+5:G0T0257 340 GE rQj:: IFQ* C> " V " flNDQ±<> " N " THENS4S
285 X=7749:F0RI=lT03sP0KEX,36sX=X+7:NEXTI 350 IFQ$="V"THEH99
230 X=7925 :FORI=1TO3 :P0KEX..36 :X=X+7:NEXTI 360 00TO70O
295 X=S101 :F0RI = lT03:POKEXr36:X=X+7:NEXTI 990 P0KE37154.127:J1=HOTPEEK<37151>HMDei
300 fi-PEEK'' •■''L:-y0.> :DR-@ 910 RETURN
305 DOSL/e900 :1FJ1033THEN395 2008 DRTR24 . 154 .34 .56 .16,24 -3t".68
310 S=42:R=37;CL=:44;P=1tZ-0:LL=l 2910 DRTB48 - 1 73 _34 ..56 ,16.,43..72 .63
320 X=76Si3 : V=3S410 : POKEV , CL : POKEX, S 2020 DPTR^T-t ■ 2° 5 r 255 r 255.255.255.255.255
223 IFDP=1G0T04S9 2tf36 DrtTR255.2-O.255-255.255,255.255.255
330 IFT r *>="000300"THENS00 ?EROV,
335 GOSUB980
336 I f .f 1 =33RNDLL=0THEH 100
337 IFJl=lflNDPEEKC37152>OU9THEN335
339 DR=DR+1:LL=0
340 PGKE36873.i 5:P0KE3SS76,220:P0KE36S76,0
344 IFDR=20THEN609 i K.-^-^—l. ^,. ^r~., _J T^
350 IFJ1=5FINDPEEK<X-22)=31THEN329
351 IFJ1=5RNDP<:=1THEN32?

92/Commander November 1983


Commodore 64
and
VIC-20
DATA ORGANIZER
AND
MAILING LIST

FOR
COMMODORE 64
7M
DRAW
with your joystick i
COMPARE THESE FEATURES: Now. you can create high-resolution pictures
• fast file definition on-screen with your joystick as a "pen." Design critters,
• easy updating objects, pie-charts — whatever your imagination wishesl
SAVE your creations to tape or disk, and PRINT
• rapid printing with total
them on a VIC printer. Educational and fun!
format and record selection control
• WORDPRO compatible Draw narrow or wide lines, curvy or straight, set points;
add captions; create background patterns; change
• up to 4000 records on 1541
picture, background, and border colors; reverse colors for

MAILPRO64 $I299S a negative; even connect dots with straight lines


automaticallyl You control every dot on the screen.
Also available for COMMODORE 8032 . . . $I7995
Payment in U S 'uridi with order or mj|or credit cards, A large "Picture Library" is included to get you started,
customs brokerage extra
plus a 20-page instruction manual. Joystick required- VIC
PRO-LINE printer and disk drive optional. Now on disk or cassette!
■ ■■IIIISOFTWARE
For the Commodore 64:
PRO-LINE SOFTWARE LTD.
'64 Panorama S29.95
(416)273-6350
7SS THE QUEENSWAY EAST. UNIT 8 For the VIC-20:
MISSISSAUGA. ONTARIO, CANADA. L4Y 4CS VIC-PICS $29.95
(Full features need 8K mem exp. reduced
version included for unexpanded V1C.1

Available for other printers—Call!

COM-PROTECT III® PRINT (the unprintable)...


COMPUTER PROTECTION DEVICE

with Smart ASCII Plus-S59.95


Now. print the unprintable Commodore graphics on
your dot-addressable parallel printer* with Smart
ASCII Plus. This powerful, low-cost software
interface converts your user port into a fast, intelligent
port for "Centronics" protocol printers, and we even
supply the cable!
SPIKE PROTECTION
Six flexible print modes: GRAPHICS. TRANSLATE,
SURGE PROTECTION DaisyTRANSLATE, CBM ASCII. True ASCII, PIPELINE.
GRAPHICS mode creates actual VIC/64 keyboard
BROWNOUT PROTECTION
graphics. TRANSLATE converts normally unprintable
POWER DROPOUT PROTECTION control-codes into text: (CLR), fRVS), |BLU|. etc., with an
RFI FILTERING extended mode for Daisywheel printers. Convenient
■ set-up menu and simplified operation. Compatible with
This high performance computer protection device offers 50 nano most application programs: WordPro 3+. EasyScript,
seconds response to electrical spikes, produced by near lightning strikes,
I Quick Brown Fox [for the VIC), Writer's Assistant, etc.
and electromotively induced spike voltages on your power line. RFI
filtering, 60 DB down at 92 KHZ. Surge protection 260 volt peak (130
! Complete with connecting cable for printer and
volta A.C). Brownout and dropout protection shutting system down instruction manual. On cassette. Copy to your disk for
if voltage drops below 60 volts A.C. Must be manually reset, which pro quick loading. (Upgrades available for original Smart
tects disks from accidental writeover; also protects computer from surge ASCII owners.)
caused by sudden power return $79.95 •Requires dot-addressable printer such as. Epson FX-80 or MX-80/IOO
with Graftrax; Okidata Microline 84; C. Itoh Prowriter I & 2: Star
Micronics Geminl-IOor 15. Other printers—Calll
GOSUB OF SLIDELL, INC • P.O. BOX 1781
Sand for a Irw brochure.
SLLIDELL, LA 70459 • (504)641-8307
Personal Check, Money Order or COD (add $2). $1.50 Postage & Handl (816) 333-7200 ORDER: Add S1 jm shipping and
ing. LA residents add 6% tax. Master Card & Visa ._...* fttSO tor C.O.D.); VBA/MaBterc«d
*x*ptod (card* and exp. <Mt). HO rmktantt
add 5J25% soles tax. Foreign orders p*y*W»
MICRO inc. USA US. B«*ONLY;i ""

311 WEST 72nd ST. • KANSAS CITY • MO • 64114


Circle No. 25
™ 0y Eric Giguere -

This month we delve into one of the You'll probably notice that these which stands for SEt Decimal mode. After
more obscure and seldom-used features numbers are the same as the regular hex this instruction all additions and subtrac
of assembly language: the decimal numbers $00 to $09. But because each tions will be done in BCD. Before entering
mode. It's an interesting mode because, nybbie represents one separate digit, two decimal mode it is usually wise to type the
when it is on, all additions and subtrac nybbles together in a byte represent two instruction SEI, which will disable the inter
tions via ADC and SBC give decimal different digits, always between the rupt (which we'll learn about next month
results instead of the normal hex values 0 to 9. If, for example, 1 was added -don't worry about it). Otherwise the
adecimal. This makes it practical for use in to 01101001{$69) while In decimal mode computer could crash. Exiting the decimal
programs where decimal numbers are the result would be 01110000($70), and mode is as easy as entering it:
preferred to hexadecimal numbers. Be not 01101010 ($6A) if in the normal hex CLD
fore continuing, we should take a look at mode. The nybbie combinations 1010 to (which stands for Clear the Decimal mode)
how decimal numbers are stored in as 1111 are never used in BCD. If one digit does it. Likewise, be sure to re-enable the
sembly language. goes past nine it will roll over to 0 and con interrupt with a CU (after the CLD).
tinue from there, while at the same time
adding 1 to the next digit. The nybbie on
BINARY CODED DECIMAL ADDING
the left can be thought of as the "tens"
The proper term for decimal in IN DECIMAL MODE
and right nybbie is the "ones". For larger
assembly language is binary coded
numbers than 99 (9 tens and 9 ones) more
decimal or BCD for short. In BCD each Adding in decimal mode is achieved in
bytes can be used. I find it easiest to store
byte holds two separate decimal the same way as in the regular hex mode.
them in memory as they would be
numbers, ranging from 0 to 9. The upper Clear the carry before you start and use
displayed, meaning the thousands and
four bits (the upper 'nybbie') holds the the lowest byte first. For a single byte
hundreds byte would precede the tens
first number and the lower nybbie holds adding a value is simple:
and ones byte. For example:
the second number. Here are the
numbers from 0 to 9 as they would be
byte #1 byte #2
1001 1000 0111 0110 SEI
shown in a nybbie:
would read in BCD as 9 thousands plus 8 SED
hundreds plus 7 tens plus 6 ones, or CLC
9,867. More bytes could be added LDA BYTE
= 0001 ADC #VALUE
before byte #1 to produce billions and
= 0010
millions if desired. It depends on whatthe STA BYTE
= 0011 CLD
upper limit is to be.
4 = 0100
CLI
5 = 0101 ENTERING
6 = 0110 THE DECIMAL MODE
7 = 0111 The instruction to get into decimal Notice I was careful to include the SEI and
8 = 1000 mode is very simple: CLI before and after the example. From
9 = 1001 SED now on I will assume that this will already

94/Commander November 1983


Circle No <15
Commodore 64
COMMODORE USERS and
VIC-20
Join the largest, active Commodore users group.
Benefit from:

— Access to hundreds of public domain


programs on tape and disk for your
Commodore 64, VIC 20 and PET/CBM.

— Informative monthly club magazine


THE TORPET. Telecommunications
with a difference!
Send $1.00 for Program & Information Catalogue.
Unexcelled communications power and
(Free with membership).
compatibility, especially for professionals and
serious computer users. Look us over; SuperTerm
Membership Canada — $20 Can.
isn't just "another" terminal program. Like our
Fees for U.S.A. — $20 U.S.
famous Terminal-40, it's the one others will be
12 Months Overseas — $30 U.S. judged by.

• UP/DOWNLOAD FORMATS -CBM, Xon-Xoff,


Toronto Pet Users Group Inc. ACK-NAK, etc.

Department "D" • DISPLAY MODES-40 column; 80/132 with


side-scrolling
1912A Avenue Road, Suite 1 • EMULATION — 42 popular terminal protocols
Toronto, Ontario, Canada M5M 4A1 • FUNCTION KEYS —8 standard, 52 user-defined
• BUFFERS—Receive, Transmit, Program, and Screen
* LET US KNOW WHICH MACHINE YOU USE * • EDITING —Full-screen editing of Receive buffer
• FILE CONVERSION -ASCII to PGM, PGM to ASCII
• PRINTING —Continuous printing with Smart ASCII
and parallel printer; buffer printing with other interfaces
or VIC printer
• DISK SUPPORT —Directory, Copy, Rename, Scratch,
etc.
WE WILL MEET • FLEXIBILITY —Select baud, duplex, parity, stopbits, etc

OR BEAT ANY Program options are selected by menus and function


keys. For maximum convenience, an EXEC file sets
ADVERTISED options on start-up. SuperTerm may be backed-up for
safety. Software on disk or cassette, with special
PRICE.* cartridge module.
Write for the full story on SuperTerm; or, if you
already want that difference, order todayl
Requires: Commodore 64 or VIC-20, disk drive or Datasette, and
compatible modem. VIC version requires 16K memory expansion. Rease
specify VIC or 64 when ordering.

Catalog available for $3.00


Please specify compuier Just need UP/DOWlMLOAD?
If you don't yet need SuperTerm's power, perhaps
PRODUCT NAME
Terminal-40 Plus |VIC] or '64 Terminal Plus is right for
you. We took our top-rated, smooth-scrolling terminal
2. _ programs, added up/download, disk commands, and
3 even more convenience. Then we put them on disk for
fast loading, just like you wanted. Need we say more?
SUBTOTAL
TAX Only S49.95 |VIC version requires SK mem exp|
SHIPPING
P.S. Trade in your original Terminal-40 or '64 Terminal and
TOTAL
deduct $10.00.
"V.
cashier checks, aney orders, or di-
reel Dank
VIC £0 and Commodore 64 are trademarks of Commodore Electronics. Lid.
criccKs allow 2 to 3 weeks to clear
Prices 'eTIecl a casli discount only Send (or a free brochure.
(816)333-7200
nnd aio subieci to change Shipcing
P. O. Box 1075 — Sollmare (S2 50 Minimum) Hard
Glendale, CA 91209 ware US 00 Minimum) California res MAIL ORDER: Add $1.50 shipping
Phone (213) 247-6484 VISA ond MASTERCARD Accepted handling (S3.50 tor C.O.D.); ViSA/Maslw

Circle No 80 4That is not below our cost. MIDWEST accepted (cardfl and exp. dale). MO tesidents
add 5.625% sales tax Foreign orders payable
MICRO inc. U.S.S. U.S. Bank ONLY: add $5 shpflindlg.

311 WEST 72nd ST. • KANSAS CITY • MO • 64114


VIC-20* AND CBM-64* OWNERS have been done in my examples. A two-
Our products have the features you need. Whether you know it or not! byte addition can be coded as follows:
SED
CLC
LDA LOBYTE
ADC #VALUE
STA LOBYTE
LDA HI BYTE
ADC #00
STA HIBYTE
CLD
As in a normal addition, if the first byte
exceeds the BCD limit (99) the carry will
be set and this will be added into the sec
ond byte by the ADC #00. For multibyte
A. Printmaster-64 Prolect your investment with our soliware backup producls
additions simply add more LDAs, ADCs
A new Centronics parallel printer interface lor your Epson 0' G. CB-2 for the VIC-20* & CBM-64*
Gemini pnnte! that pr ints the "(uH'Commodore graphics set or and STAs for each byte (or you could
ASCIIflai.i Itus "cartridge"adds t6newcommands 10theC-6-T The CB-2 is a complete hardware package thai allows you to
lor M'liyhf ei: printer control easily and efficiently make a back-up copy of you' cassette make it into a loop).
soltware library
Moie leaiures include Unigue features Let's take a look at what happens
Single keystroke hires graphics or text screen flumps
Formatter] Basic listings
• Allows connection for one or two Datasette' recorders lor
equivalent i Two recorders required to' simple back-up copies
when we add to a BCD number. Say we
Choiceot either graphic symQols or EnghshiranslaMonduring • Exclusive state-of-the-art circuitry lets you actually hear and
see tape data Deing loaded or saved
wanted to add 1 to the value 999. This
basic listings
Leli and rignt margin control
Special UN new command
CB? Assembled. Only 139.95 would be coded in two bytes as
Prmlmaster H CinnrJge SB9.95 H."Super Blocksaver" 00001001 (09) and 10011001) (99). If we
Software and interface card lor bach-up copies of VIC-20'
cartridges Additional memcify requited (Specify cartridge to
added 1 to the lower byte (10011001) the
B. Print-64 tape or disk) . . $34.95 first digit would flip overto 0 and add 1 to
A parallel printer inleiface lor the Epson MX80 MX 100 RXBO. CBM-H" Cartridge Backup Syslem Call
Fx80 and Gemini printers The interfacecahleconneclstothe the second digit, which would also flip
C-M user-port and with Itte software diskette supplied allows I. Datablast-16
printing oi the "lull" Commodore graphics set or standard Finally a low cost, high quality 2716 EPROMiirogrammer lor Ihe
over to 0. This would set the carry, and
A5CH ciaia this package takes lull advantage ol Graltrai and
nit mapped graphics
VIC-201 Put your most ONen used machine language programs
into EPROMs
the lower byte would be equal to
Prim 64 S69.9S • On-DOflrrJ 25 voll power supply 00000000 (0). We would then proceed
• Can t>e used with COMPUTE1 s Micromon' oi
our software below. to add in the carry to the second byte (the
C. Dataspan-64 for the CBM 64* • Program .'read mode switch
• We suggest you use the EPROMs wiih our DataRAM third and fourth digits) and this would flip
i| 3 slots, (use protected, and master reset
eset butto
button memory board
b| floury
fl switch
tch convenience
conv Ch
Choose any slot
lt the
th 'irsl two • Zero insertion force socket the9 in 00001001 and add 1 tothe upper
ll ihree
h Datablast-16
c| Encluswe buttered electronic switching
a| Birc Boird S13.95 nybble, resulting in 00010000. The com
Datjsrjin 54 KM $49.95
b| Krl S49.95
Diuspan 64 Assembled 159.95
c| Assembled $59.95 bined number would then be read as
d| SoliwarE lor Qaliblast 16 llape] $ 9.95
e| ?7IB EPRDMs. $ 4.50 0001 0000 0000 0000, or 1000, which is
D. Dataspan-50 far the VIC-20"
a| 5 slots fully buttered, luse protecled and masler reset J. Compuvox exactly what results when 1 is added to
button
b| ComUination roiary and rocker twilch lulecianle expansion
A complele speech synihesis package loi the C-W with
arbiliary vocabulary audro oulpul capabilily Single general
999. Go overthis example slowly, writing
Board conveniently corns all swilctiingnetijf nawand in the
future wiihoui using common hazardous slol-byslot power
purpose machine language program lor random access at every step down and you should see how
vocabulary fries

:]
switching
■■.-■■■■ whip protection on two slots Compuvox S69.95 it works.
Djtaspan 50 KB 169.95 K. Octopus
DatasosnM Assemblsd $84.95
A low-cost networking system tor connecting as many as S
SUBTRACTIONS
C-64 s" or VIC-20V to a single Oisk drrveand/or printer Manual
switching provides rjiiecl control and establishes access Subtractions in BCD also operate in the
E. Dataspan-30 far the VIC-20*
il 3 slots fuse protecled. and master reset button
priority
same way as regular subtractions. Don't
Octopus S79.95
b| Rotary switch convenience Choose any slot the first two
or all Ihree
forget the SBC and the SEI/CLI and
L Bi-Net
c| Indept'iideiii wflie protection tin iwo stols
Nelworfc 2 C-H's" or VIC-20s* to a single disk drive and'or everything should work fine.
Ditaspan 30 Kn $34.95 printer Simple manual switching provider full coniro<
Ditasoan 30 Aisemtleii $44.95
Si-Net S24.95
KEEPING SCORE
m. Multi-Lab Following this article you will find an
F. Champagne Memory on a Beer Budget
Creale intelligent cusiom instrumentation with this electronic
Highestgufllityglassepoxy 16K memory Hoard with gold fingers
provides lull block switching and wnie-ptotection on ucli flK
"Lab on i CarrT lor ihe C-H" and Vic-20" Make multichannel example program which I call SCORE. It
biomedical oscilloscope frequency and period counters, volt
block All block switches are conveniently localed at the lop meters bridges, audio function generators converters, riigilal will increment and display a two-byte
edge nl me Duard sensors frequency synthesizers and man/more
DateMM Mulli-Lib 5239.95 counter located at $FB-$FC each time it is
i] Bars memory tioard IRAM/R0M1 113.95
b.j Bare memory board kit 117.95 RAM charger called by a SYS 828. The program listing
includes ill components excepl RAH/ROM Mips • Turn your CommodoreBKcarlndgeinloa lull 16Kcartnrjge following is the BASIC loaderforthat pro
DataRAM 8 ■ Full block switching capabilities
:| Board with BK RAM - Complete Kit $34.95 • Sockets allow lulure EPRDM substilunon gram. Type it in (it should work on all
,]i Board with aK RAM Assembled S37.9S RAMcharger Kit $28.95
iSuggesled Retail Price Assembled S47 95| Commodore machines including the
DataRAM 16 Monitor Cables
t] Board with IEK HAM Complete KM $48.95 VIC W S5.95
PET/CBM) and RUN it. You should see a
f| Boird wnh I6K RAM Assembled $54.95 C-H-11 prongl $5.95 four-digit counter running at the very top
(Suggesled Relail Puce Assembled S69 951 C 64' to Color Moniior (3 prongl $9.95
of your screen. You might find this
CompuTron Business Systems routine adaptable to your own programs
to display the score or perhaps keep a
1139SW 11th AVENUE • PORTLAND. OREGON 97205 • (503)224-2220 timer running. But its real purpose is to be
Kits lor Experienced Builders Only' TERMS: NiCOO orders Shipping and Hanshng WOO used as an example to demonstrate the
VISA/MASTERCARQ - Add 2': Most orders shipped wi!hin
Alt assembled units have lull 90-Day Limned Guarantee
48hours Personal checks — allow? weeks to clean
decimal mode. Following is how the pro
■Trademark Commodore Bus Machines

NOTES: These prices are suD[ect to change wrthoul notice All SEE YDUH OEALEfl OR OBOEH FACTDRY DIRECT gram works.
tills supplied wrlh crjmpltle asstmbly anrj operating inslru:lions DEALERS IN0UIR1ES INVITED Circle No. 128
Circle No. 88

Commodore
64
TM
How To Make Good Investments:

*Computeir aided instruction for the Commodore 64: OWNERS:


You have one of the best. But where
Our objective is Co teach you the fundamentals of stock market do you turn for sources of software?
and real estate investment analysis. Interfaces? Peripherals? Much more is
available than you may know. To real
This ls the first course in a series of courses on investment ize the true potential of your 64,™ you
and financial ana lysis developed by experienced professionals need this brand new, complete pro
from the top business schools. The courses are designed to ducts resource guide "What's? FOR
cover Che same material as is covered in che best business THE 64"-a result of nearly 1000
schools with some practical street techniques. The investment hours of intensive research by an avid
techniques in this initial course were selected for their ease 64™ user/researcher. Not simply a
of use and understanding. Programs and examples using those
mail order catalogue. "What's? FOR"
programs are provided as learning aids and for subsequent
investment analysis.
is 125 pages jammed with program,
software and interface sources, book
titles, magazines, plus a section on
Course I: "HOW TO HAKE GOOD INVESTMENTS" comes complete with 64™ user groups. It's the best S15
a 75 page text and programs on cassette for S39.95. you'll ever spend! |lf you don't agree,
send the book back undamaged within
15 days & we'll return your money
Disk copies are available for an additional S5.00. This in full))
course and additional courses may be tax deductible.
(Commodore 64 is a registered trademark of Commodore, Inc.)
Send S15 check or money order with
your name and mailing address to:
Send S39.95 check or money order to: "What's? FOR THE 64"
3494 Chickasaw Circle, Lake Worth, FL 33463.
Allow 3 weeks for delivery.
COURSE I
THE WIZARDS
Dlr. Inquires rnvrted. Commodore 64
P.O. BOX 7118
is a trademark of Commodore Electronics Ltd.
THE WOODLANDS, TEXAS 7 7387
Circle No. 155

WHEELE R PROGR€-CTIV€
P€RIPH€RRL>-
SOFT GUIDE a /OfTWfiR€
NEWSLfTTEl
THE AUTO CLOCK
A TRUE MULTI-FUNCTION CARD
• Switch your VIC-20/64 or other AC devices on

COMMODORE 64 and off under software conlrol


256 year clock/calendar.
2K CMOS battery backed up RAM

BUY THE_ RIGHT PROGRAM-


Menu driven software
Plugs mio the buss expansion slot

THE* 151 TIME -ALL THE TIME! Cartridge style case


19 user accessible subroutines
20 page illustrated manual with detailed
programming examples.
FOR LESS THAN THE PRICE OF ONE AUTO CLOCK S129.95

PROGRAM YOU CAN HAVE 12 MONTHLY


ISSUES OF SOFT-GUIDE-A NEWSLETTER THAT • State of trie art Pro-Adventure Series for the
Commodore 64.
REVIEWS GAMES, HOME, EDUCATIONAL AND
• Realistic sound effects and animated color
PERSONAL PROGRAMS FOR THE VIC 20 AND COMM-64, ONLY. graphics

• Over eighty areas. 70 objects, and 40


ALL REVIEWS-NO ADS. THE CALL IS FREE-SUBSCRIBE NOW AND commands

SAVE 33%ON SOFT-GUIDE 20 OR 64 NEWSLETTER • A "real-time" adventure with a user-friendly


help feature, updated constantly.
VISA-MASTERCARD ORDERS ONLY • Comprehensive, illustrated manual with a
CHARTER fold-out map

CALL 1-800-835-2246 EXT.2 71 SUBSCRIBERS • Your success in Golhmog's Lair will depend on
your skill and resourcefulness. NOT on pure luck
TOLL • Prepare for the most challenging adventure
FREE Kansas 1 -80 0-362-2421 Ext.271 you will ever undertake as you enter

GOTHMOG'S LAIR .. cassette version - S39 95


diskette version — S39 95
If paying by check or money order DEALER INOUIRIES INVITED
ORDER FROM:
PROGRESSIVE PERIPHERALS 6 SOFTWARE
SOFT-GUIDE 4974 f4.Fr.sno Sr.,S«ii«303 Frisno CA 93726 '^IHZTIZT' 6340 West Mississippi Avenue
Pl««w allow eight wrcki for procanlng. Thank you. 'a 1*1 'yr/computw U.I. Circle No. 96 Lakewood. Colorado 80226
(303) 776-1312 Circle No 56

Commander November 1983/97


The program starts off in the cassette

Join the
buffer at $033C (828). Lines 11 to 22 in
the assembler listing add 1 to a BCD
number located at NUMBER ($FB). Note
that the value at $F8 represents the
thousands and hundreds and the one at

oarade
$FC is the tens and ones. Lines 24 and 25
send the "home cursor" character to the
screen. Anything now sent to the screen
will start printing at the upper left corner,
just as you had pressed the CLR/HOME
key. Lines 27 to 43 print out the number
as four separate digits, two digits at a
time. Line 27 gets the byte, using the
X-register as a pointer. A copy is stored on
the stack for later use and then the value
in the accumulator is shifted to the right
four times. This has the effect of bringing
the upper nybble (digit) into the lower
one, where it can be ORAed with $30 to
convert it to an ASCII numeral (which
range from $30 to $39). It is then sent out
to be printed by line 34. Lines 36 to 39
retrieve the original number from the

^Micro-Ed stack, mask out the upper digit (leaving


only the lower digit) and ORA this with
$30, giving the second numeral in the
byte, which is printed right after the first.
This process is repeated for the second
byte at $FC, whose two digits are printed
right after the other two, and the pro
gram then exits via the RTS. It's a clean
and easy way to convert BCD values into
printable digits.

NEXT MONTH
Next month I'll show you a bit about the
fascinating world of interrupts. In the
meantime, if you have any questions or
suggestions you may write me at: Eric
Giguere, c/o Commander Magazine, P. 0.
Box 98827, Tacoma, WA., 98498.

educational Continued on page 100

software
Send for free catalogs
Specify: Pet • VIC
• Commodore 64

telephone
us at
612-926-2292

Micro-Ed Inc.
P.O. Box 24156
Minneapolis, MN 55424
Circle No. 26

98/Commander November 1983


13 commodore Parallel Interface (Epson, Okidata, CBM Memory Expansion, 64K 259
IDS, NEC) 70 CBM 8050, 1 mg. Dual Drive 995
NEW COMMODORE PRODUCTS Programmers Reference Guide 18 CBM 8250, 2 mg. Dual Drive 1295
The Executive 64 Call Verbatim Diskettes (10 per box) 26 CBM D9060, 5 mg. Hard Disk 1995
CBMC128-80 $ 795 Hes Modem 75 CBM D9090, 7.5 mg. Hard Disk .... 2250
CBM BX7OO 2990 ADA 1450 149 CBM 2031, 170K Single Drive (New) 395
8 Series Software Coll ADA 1800 (new) 129 DC Hayes Smart Modem 220
CBM 1520 Plotter 169 BUSINESS SOFTWARE-8032
Numeric Keypad 65
CBM 1526 Printer 349 WordPro 4* or 5* S 309
VIC PRODUCTS & ACCESSORIES
SOFTWARE FOR CBM 64* InfoPro 219
8K RAM Memory Expansion Cartridge ... $ 40
Administrator 489
BUSINESS 16KRAM 70
Word Processing (WordPro 3+) $ 69 VJsiColc (expanded) 199
24KRAM 105
VIC 3 Slot Expander 27 BPI A/R, G/L, Job Cost, Inventory,
Quick Brown Fox 56
Writers Assistant 99 VIC 6 Slot Expander 70 Payroll ea.325

Spell Master 75 Cassette Interface 30 MasterCard, Visa,


Calc Result 125 Gorf (64 also) 30 Money Order, Bank Check
Busicalc II 95 Omega Race 30 COD (add $5) accepted.
Spread Sheet Assistant 99 Arcade Joystick - Heavy duty w/2 firing Add 3% surcharge for credit cards.
Data Manager 70 buttons! Great for the VIC or 64 25 In stock items shipped within 48 hours.
M File (merge with WordPro) 89 Auto Clock 125 F.O.B, Dallas, Texas
Info Mast 139 MONITORS - GREAT All products shipped with manufacturer's warranty.
RESOLUTION (64 OR VIC) Prices are subject to change without notice.
64 Mailing List 28
CBM 1701 Color Monitor $ 249
The Manager 50 TO ORDER
Amdek Color Plus 299
Home Accountant (continental) 75 CALL TOLL FREE
Panasonic TR-120 (w/speaker) 155
Finance Assistant 45 800-527-4893
Panasonic CT-160 279
Stock (investment analysis) 80 800-442-1048
BMC (green screen) 95
Agricultural Management Call (Within Texas)
Transtar 20 (high resolution
General Ledger, A/R, A/P, P/R, Inv ... Call
green phosphor) 129 Business Hours
RECREATION
Video/Audio Cable 15 Mon.- Fri. 8 to 6, Sat. 10-2
Assembler Package (cassette or disk,
PRINTERS - LETTER QUALITY
compiled, includes editor, loader, Write for free catalog.
CBM 6400, 40 cps SI 450
disassembler) 39
Diablo 620, 25 cps 949
Sprite Master (access) 30
Transtar 140 (serial) 1395
Neutral Zone (access) 35 GAME OF THE MONTH
Transtar 130, 16 cps (auto load,
Space Belt 19 Advenfu-Writer (moke your
wp features!) 769
Pet Emulator 30 own adventure games) Join the
NEC 3500 Series 1600
Coco II (build your own games) 40 Adventu-Writer Club S 49
NEC 7700 Series 2350
Vic Tree (programmers utilities) 75
PRINTERS - DOT MATRIX
Micro-Term (save to printer,disk) 39 PRODUCT OF THE MONTH
CBM 8023, 150 cps/graphics S 545
Hesmon 35 INTERPOD (inielligent IEEE
CBM 4023 Printer 395
Synthesound 45 RS232, serial interface
Epson FX Printer, 160 cps 549
Gothmogs Lair 30
Epson MX-80 FT w/graftrax Call forVICorC64) S 179
Road Toad 15
Epson FX-100 859
Commodore Games Call
Okidata 82A, 120 cps (serial
INTERFACES & ACCESSORIES
and parallel) 429
80 Column Expander $159
NEC 8023A (parallel) 429
VIC 1600 Modem 95 Okidata 92 559
VIC 1650 (auto answer, auto dial)... 150 Star Gemini, 10 329
VIC 1525 Graphic Printer 225 Star Gemini, 15 499
VIC 1530 Datasette Recorder 65 Transtar 315 (hi-res, color) 575
VIC 1541 Disk Drive 249 COMMODORE BUSINESS
VIC Switch (connect 8 64's or Vies SJB DISTRIBUTORS INC.
SERIES
to printer, dd) 149 SuperPet (5 languoges, 10520 Piano Road, Suite 206
PET-IEEE cable 33 2 processors) $1059 Dallas, Texas 75238

IEEE-IEEE cable (2m) 49 CBM 8032 Computer, 80 Column ... 595 (214) 343-1328
Circle No. 60
Continued from page98

ri/ '-the LOC. I ;ode LRBEL QP. OPERRND COMMENTS

$ "
0^01 933C * BECXMRL MODE COUNTER *
0902 S33C #
@O03 033C # BV ERIC GIGUERE
0(304 03 3 C #
00^5 033C ORG *033C ;CRSSETTE BUFFER
9006 033C
0007 033C NUMBER EQl SFB JLQCflTICN OF VflLUE
0008 033C CHROUT EQL *FFD2 jPRINT CHRRRCTER ROUTINE
00@9 03 3 C HOME EQL 19 ;home cursor chrrrcter
0010 033C ;

00 J 1 @33C 78 SEI JSHUT-OFF INTERRUPTS


601.2. 033 D F8 SEC ;SET DECIMRL MODE
0013 033E 18 CLC
0014 033F R5 FC LI'fl HUMBER+1 :GET LOWER VRLUES
0015 69 01
0341 RDC #S01 JflDD ONE IN DECIMRL MODE
0015 0343 85 FC STR NUMBER-*-1
0017 0345 R5 FB LDR NUMBER ;GET HIGHER VflLUES
0018 0347 69 00 RDC #$90 ;rdd in crrrv
0019 i?349 85 FB STR NUMBER
0028 Pi^4B j

0021 034B D3 C-LD .;CLERR DECIMRL MODE


0023 034C Sfl CLI .;RE-ENRBLE INTERRUPTS
0923 03 4 D ;

0024 034B B9 13 SHOW LBR #HOME


90S 5 034F 20 D2 FF JSP CHROUT ;move cursor to home
0026 0352 R2 00 LDX #S90 ;CLERR POINTER
0027 9354 B5 FB NEXTVL LDfl NUMBER >>', ,;OET TWO DIGITS
O028 0356 48 PHR ;STORE ON STRCK
00:? 9 0357 4R LSR JMOVE UPPER 4 BITS INTO LOWER
0030 0358 dfl LSR ,:4 BITS
0031 0359 4R LSR
0032 B35fl 4R LSR
0033 035B 39 39 ORR #*30 .:CONVERT INTO RSCII NUMERRL
0034 935D 20 D2 FF JSR CHROUT ;SEHD TO SCREEN
0035 9360 ,

0036 0360 68 PLR ;GET OLD VflLUE


0S37 S361 29 0F RND #*0F ;MRSK OUT 4 UPPER BITS
0030 0^63 09 39 ORR #*30 .; CONVERT TO RSCII NUMERflL
0039 0365 20 D2 FF JSR CHROUT ;SEND TO SCREEN
0040 0368
0041 0368 E8 I NX .: INCREMENT POINTER
0042 9369 E0 02 ZP> #3:02 ,CHECK IF FINISHED
00.13 036B D0 E7 BNE NEXTVL
19944 036JD 60 RTS .: FINISHED

PSSEftBLV COMPLETE.

SVMBOL TRBLE

MUMBER-*FI CHR0UT-*FFD2 HOME $13 SHOW *034D NEXTVL-*S354

10 FOR 1=828 TO 877 '■ RERD F : POKE I,R: NEXT


20 POKE 252.. e : POKE 251.- 0
30 SVS 828 : GOTO 30
100 BRTfl 120.. 248, 24, 165, 25 2. 105, 1, 133, 252, 165, 251, 105, 0, 133
119 DRTR 251, 216, 88.. 169, 1? 32, 210. 235, 162, 0, 131, 251, 72, 74
120 DflTfl 7 4.. 74, 74 , 9, 48, 32 210.- 255. 104, 41, 15. 9, 48, 32
130 BRTfl 210. 255. 232, 224 .. 2 208, 231, 96

RERDV

100/Commander November 1983


Exclusive needs... exclusive source!
Southwest Micro Systems Inc
1 Hardware & Peripherals VIC-20 Business & Professional Software
Commodore 64' S195.00 VTE/CTE Terminal Program for VIC & C64 Cassette 8,95
Commodore B128 Computer' (128K) 895.00 Diskette 12.95 ,
MSD Single Disk Drive (30 Free Program] VT-40 VIC 40 Col Terminal Communicator .9.00
[Vic 1541 Compatible) CALL VIC Super Expander1 55.00
Star Gemini —10 Printer VIC Programmers Aid Cartridge1 45.00
with cable interface8 389.00 VIC Intro to Basic Part 1 & II 45.00
Star Gemini —15 Printer Home Inventory? Cassette 10.00 Disk 12.00
with cable Interface3 575.00 Household Finance2 Cassette 25.00 Disk 25.00
CIE Cartridge (IEEE-488 for C64) 85.00 Hes Writer for VIC-20" Cartridge 39.95
RS-232R Interface for Vic or C64 45.00 Hes-MONforVic-20" Cartridge 39.95
CPI Parallel Interface for VIC or C64 65.00 Hes-Turtle Graphics4 Cartridge 39.95
VEX-3ExDanderforVIC 19.00 VIC-20 Data Base (Powerful) 75.00
VEX-6ExoanderforVIC 55.00 Quick Brown Fox VIC-2012 55.00
4 Slot Expander for C64 55,00 Recreational Software
V3K Static RAM Expansion 15.00 VIC-20:
V8K Static RAM Expansion 39.00 Logic Games2 Cassette 10.95
V16K Static RAM Expansion 69.00 Action Games2 Cassette 15.00
V24K Stotic RAM Expansion 99.00 City Bomber & Minefield2 Cassette 15.00
40/80 Col VIC Video Expander w/8KW 130.00 Apple Panic Game2 Cartridge 25.00
40/80 Col VIC Video Expander w/64K'° 325,00 Spills & Fills2 Cartridge 25.00
80 Col C64 Video Expanded 149.00 Cartridge 25.00
Pipes2
Z80Vid€oPakforC64^ 250.00 Choplifter Game2 Cartridge 25.00
Light Pen for Vic or C64 30.00 Serpentine Cartridge 25.00
VMC/CMC/VIC & C64 Monitor Cables 10.00 EPYX-Rescue at Rigel (16K Extra)3 Cassette 29.95
Joy Stock (Arcade Quality) 19.00 C64:
TTX1014 [Daisy Wheel Printer) 15 CPS1' 499.00 Facemaker- 29.95
Gorilla Banana Monitor 85.00 Hey Diddle Didd!ew 25.00
Numeric Keypaid C64 & VIC-20 65.00 Moon dust3 25.00
Save New York2 25.00
C64 Business & Professional Software
Ureios13
9snn
£uiUU
Wordpro 3 + Word processing3 65.00
Fort Apocalypse15 25.00
Info Designs Soft Pak (G/L A/R, A/P)° 150.00
Pharoah's Curse15 25.00 !
Data Base for C64 95.00
Protector15 25.00
Financial Spreadsheet for C64 135.00
bennnei10 9^00
Super Sprite Cassette 35.00
Shamus15 25,00
Disk 35,00
Survivor15 25.00
Mailing Jst64 Cassette 20,00
EPYX-Upper Reaches of Apshai3 Disk 15.00
Disk 25,00
EPYX-Curse of Ra3 Disk 15.00
Personal Finance C64 65.00
Quick Brown Fox C64'2 55.00 VIC-20 & C64:
Graphic Printer Utility (Epson Gemini) 15,00 In Search Of...1" 29.95 I
Paper Clip 115.00 Snooper Troops" 29.95
Easy Script 65.00 Rat Hotel2 25.00
Checkbook Manager 45.00 AstroblitzGame2 Cartridge 25.00 |
Smart 64 Terminal Cassette 20.00 Trashman Game2 Cartridge 25.00
Disk 35.00 EPYX-Temple of Apshai3 Disk 30.00
Vanilla Pilot 25.00 EPYX-Sword of Fargoal3 Disk 25.00 :
C64-Forth 55.00 EPYX-Crush, Crumble Chomp3 Disk 25.00 !
"Human Engineered
'Commodore int. Software ;MSD Inc. ■=Daio20Corp 1JCaidco
;CreaWe Software s Professional Software ;Star Micronics. Inc. vTele!ex C.C. 'JSpmnaker

3BPY( Software *!nfo Designs Software *Amdex Corp. ''Quick Brown Fox Inc. '^Synapse

Call Toll Free 1-800-527-7573 For Latest Price Information In Texas Call: (214) 484-7836

Complete Catalog Available Upon Request We Accept Master Card, Visa and American Express

Southwest Micro Systems Inc.• 2554 Southwell • Dallas, Texas 75229 Circle No. 54 1
Continued from page 54

or tape. The "stuff" can be a program, or line 100 to make everything look tidier at special meaning and purpose. Open
other information (data). The Com the start. The result of all this appears in means the same thing as before, 75 is the
modore computer systems know four Figure 8. file number, and the 8 refers to the disk
kinds of files: programs (sets of instruc Let's add a new area in the 5000's for drive unit number. The secondary ad
tions), sequential (data), relative (different file closings. This is shown in Figure C. dress of 15 (the second 7) tells the disk
structure, but data) and user (you decide). This routine is pretty simple. When the list drive that we want to open a line of com
Data is just a buzz word for information. has been printed on the screen, you now munication in both directions between
Next installment will take up flow char have a chance to store the list to tape or the disk drive and the computer. This is
ting or "Is Scribbling Only For Children?" disk. I am showing both methods so you normally called a command channel. This
can see how each works. is how the disk drive unit's processor will
PRACTICAL tell the computer's processor how things
Line 1010 was added to initialize the cr$
APPLICATIONS: to be a carriage return. The computer have progressed in doing what the com
SIMPLE DATA FILES needs this carriage return between each puter has requested the disk drive to do.
Before we talk about data files, let me piece of information in a sequential file to That gosub900 is a very important
refresh our memory about arrays. The ar let it know where one piece of informa routine. It is shown in Figure D. We need
ray is one concept that is used again and tion ends and another begins. Line 5000 to digress just a moment to look at its
again in higher level programming. asks if you'd like to store your list. Notice function. This routine checks to be sure
Perhaps you are not that clear on the ex that we provided a prompt that showed that the disk was able to do what was
act meaning of the word. Let me see if I all the possible answers. Line 5010 gets asked by the computer. Line 900 inputs
can help. the user's answer and then shortens an error number (e$), an error message
If you make up a list of everyone for whatever was entered to only one <em$), the track where the problem oc-
whom you must buy a Christmas pre character. Line 5020 sends everything to cured (t$) and the sector (s$) through
sent, that is an array. Because you write an end in line 5999 if we are through. Line that command channel or communica
one item to each line, you would call that 5030 asks the question again if the other tions link established in the previous line.
a one dimension array. You use the term of the two possible answers is not given. If the terms track and sector are foreign
array to denote that the list has Line 5040 inquires for the type device to you, that's ok. We'll look at them
something in common. What there is in to store the list and 5050 gets the answer another time. The variable 3 is also set.
common is strictly up to you, or the and shortens it. If tape is not the entry, Line 910 sends the program to the
designer of the array. Cheese, sparkplugs line 5060 moves you on ahead so that
return in line 940 togo back to the point in
and newspaper may not sound like an ar line 5070 can open the tape file. Let me the program from where it came, if no
ray with anything in common, but they explain the open command. The com
fatal error has been found. All fatal errors
are an array, since they are the things on mand open means to start using, as in are numbered above 19. Line 920 prints
my Saturday morning shopping list. the error and 930 stops the program. Line
"open the file drawer." The 3 is the num
If your Christmas shopping list has the ber assigned to the file we are opening.
940 is there in case the operator wants to
name and what each person wants for ignore the error-not a good idea
This is a little bit like the story about the
Christmas, that is a two dimensional ar prisoners who had heard ail the jokes, so usually-and types in "cont" after the pro
ray. It is two dimensional because it goes gram quits with the stop in line 930.
they numbered them and just yelled out
1)up/down and, 2) across. It makes no the number, rather than tell the whole In case the file was put on the disk
difference how far across or how far up thing. This number lets us refer to the file previously, line 5100 scratches the file off
and down, it is still two dimensional. with only one character (3) rather than drive 0 and then checks to be sure
If you take several sheets of paper with explaining each time all that is needed, everything is ok.
these Christmas lists upon them, and where the file is located, what we want Line 5110 opens the file with the file
stack the papers on a table, you now to do, etc. The first 1 tells the computer number of 3 on unit 8 {the disk drive
have a three dimensional array. We have that this file is on the tape device. The unit). On the disk, a secondary address (in
the stack height as the third dimension. this case 3) indicates which of the scratch
tape always has a device number of 1.
Again, it makes no difference how tail pads (buffers) within the disk drive
The keyboard is 0, the screen is 3, the
the stack is, the height still only printer, usually 4 and the disk, usually 8. should be used with this file activity. If the
represents one dimension. The second 7 (the secondary address) idea of secondary addresses is confusing,
Arrays of more than three dimensions just use a number for your file number
gives the computer some particular infor
are harder to visualize, so I will stop here. higher than 1 and less than 12, then
mation about this file: 1 stands forthe file
Further, there is seldom any need for more that we will write to. A ©would indicate a
assign the secondary address the same as
than threedimensions in an array anyway. your file number and everything will
file to be read, and a 2 informs of a write
Figure A shows the program from last almost always work out fine. People with
file, but one that is to be the last one of
month in its final form. I made a small newer PETs and CBM computers (with
the tape. The quotes and "list" just name
change to line 130 to improve readability, Basic 4.0) are able to use an easier syntax,
the file.
by removing the decimal from the round but the one I have used will work for
ed number if only whole numbers were Line 5080 sends the program back to everyone. The 0: is indicating that the file
desired. Next, I renumbered the lines in the first question if a totally improper should be on drive 0. The name follows
the 3000 range to 4000 to make them response to the second is given. It may and then commas set off the fact that we
better align with the program structure also be thought of as allowing the pro have a sequential file to be written, thus
presented last month. Finally, I changed gram to proceed if the desired storage the s and w. As always, we must check if
the 7 at the end of line 3020 (new 4020) device has been indicated to be a disk. the disk was able to perform as requested
to a 6 and put a clear screen character in The command in line 5090 has a very via the gosub900.
102/Commander November 1983
Moses THE ASSEMBLER OF THE AGES
for the VIC 20
Why MOSES?

Programs written with MOSES run fifty to several hun assembles the line thereby reducing debugging time
dred times faster than programs written in BASIC. A and conserving memory. This means an even faster
program that takes two minutes to execute in BASIC, assembly. Also included with MOSES is a machine lan
will only take two seconds (or less) to execute when writ guage MONITOR with 34 powerful commands to help
ten with MOSES. you debug your programs.
ULTRA-FAST Whether you program for fun or
MOSES is written in MACHINE profit, or both, you need MOSES.
LANGUAGE! MOSES assembles You'll love the ability to program

Moses
dozens of times faster than where imagination is your only
limit.
assemblers written in BASIC.
ULTRA-SOPHISTICATED SPECIAL OFFER!
MOSES makes 3 PASSES, not For a limited time, we will include
just one or two like most other a free kit to upgrade your VIC
assemblers. The 65C02 Assembler for the VIC 20
20's outdated 6502 to the new,
enhanced 65C02A microproces
ULTRA-FRIENDLY
sor. The 65C02A is totally com
On screen menu of EASY-TO-
patible with all VIC 20 software
CISE COMMANDS.
and hardware, uses 99% less
ULTRA-CONVENIENT energy, and has 27 new instructions to make program
Comes in a CARTRIDGE with sturdy plastic case. ming easier and faster. And, of course, MOSES takes
MOSES is easy to learn and powerful. As you enter advantage of all 27 instructions. This is a 524.95 value,
each line, MOSES verifies syntax, and partially but is included free while quantities last.

8K • 16K 64K
RAM EXPANSION RAM EXPANSION
A high quality memory expansion cartridge It's finally here. This highly versatile
housed in a sturdy plastic case. This prod ram cartridge allows you to store or
uct has an easily accessible dip switch write programs in two separate 32K
which gives you memory block switch banks that are bank selectable with
ing ability. (Jse one 8K and one 16K software - NO SWITCHES. This pro
for 24K memory or two 16K cart duct is power stingy using less than 200
ridges for a total of 32K memory. mA current. A must for programmers.
6-Month Warranty. 6-Month Warranty.

VIC 20 PRODUCTS: 8K RAM Cartridge $46.95*


$5995* 69.95*
MOSES 16K RAM Cartridge
MOSES with 8K RAM expansion 99.95* 64K RAM Cartridge 169.95*
'Manufacturer's suggested list price

Call CENTURY MICRO at (916) 920-3656 for the name of a


dealer In your area. Dealer inquiries invited. CENTURY
1832 Tribute Rd., Suite 213, Sacramento, CA 95815 MICRO
Circle No. 5
Line 5120 sets a counter for printing in
C64-FORTH formation into the file. Line 5130 is not
for the Commodore 64
there because I found the coding I
FORTH SOFTWARE FOR THE COMMODORE 64
originally put there to be unnecessary, so
C64-FORTHITM) for the Commodore 54 - $99.95
• Fig Forth-79 implement ion with extensions I deleted the line. Line 5140 prints the
• Full feature screen edtot and macro assembler
name and a carriage return, and the
• Trace feature for easy debugging
• 32D x 200. 2 color bit mapped graphics grade and a carriage return. The trailing
• 16 color sprite and character graphics
semicolon keeps an additional carriage
• Compatible wilh VIC aeripherals including disks, data
sel, modeum, printer and cartridges return from being printed. This is the
• Extensive 144 page manual with examples and appli
cation itretni
same as a print command to the screen.
• "SAVE TURNKEY" normally allows application pro Line 5150 checks the disk drive, if, in
gram distribution without licensing or royarl«

C64-XTENDCTM) FORTH Extensor.


fact, the disk drive is being used (rather
(or C64-FORTH -S59.9S than the tape), to be sure all is still well.
(Requires original C54-FORTH copy)
• Fully compatible floating point package including
Line 5160 goes back to write another.
arithmetic, relational, ogical and transcendental When all nine have been written, line
functions
• String extensions including LEFTS. RIGHTS, and MIDS 5170 closes the write file, which is very
• BCD functions lor 10 digit numbers including multiply. important, and also the command chan
divide, and percentage. BCD numbers may be used for
DOLLAR CENTS calculations without the round-off error nel. Note that we close the command
inherent in BASIC real numbers. channel (file 15) even though it may not
■ Special words are provided for inputting and outputting
DO LLARCENTS values have been open if we are using tape. You
• Detailed manual with examples and appTcatJons screens
can always close a file even if it is not, nor
(Commodore 64 is a trade mark of Commodore)
TO ORDER ■ Specify disk or cassette version
has ever been open. This is the same
■ Check, money order, bank card. COD's theory my wife uses on checking the
add $1.50
■ Add S4.00 postage and handling in USA and
front door around midnight. Line 5199
Canada wraps it all up.
- Mass, orders add 5% sales tax
- Foregn orde5 add 20% shipping and Next month I'll show you how to
handling
- Dealer inquires welcome
retrieve all this from the tape or disk into
our program for printing on the screen.
PERFORMANCE MICRO PRODUCTS
770 Decnam Street S-2 We will add some lines in the 2000 range
Canton, MA 02021
to do this.
(617)823-1209 Circle No. 32
Now, at the end of last month's col
umn I suggested that you add some lines
C-64/VIC 20/PET/CBM OWNERS to the original program (Figure A) to
average the grades. Figure E shows the
WALLBAIMGER - Blast your way through the dodge'm, blast'm, lines that I added but many variations
and attack modes, if you destroy the bouncing balls before they destroy could be done to get the same effect.
you, the walls close in for the next round. WALLBANGER is written in Figure F puts everything together to see
machine language, has great sound, and encourages complex strategies.
CASS/5K/VIC 20
the total project. Figure G gives you a
ALL .10,80 COLUMN PETS & CBMS (Includes Shipping/Handling} S19.95 short little program to get your data back
[CALF RES. ADD 6% SALES TAX]
from the disk to see what was put there.
CHICKEN CHASE - Help your hapless hen avoid hungry
chicken hawks, sneaky coyotes, and fiendish zompys. If your chicken gets See if you can see how to change line
into trouble, "hyper-hen" to a new spot on the maze. If your chicken 4000 to make it work for tape. You will
travels the entire maze, you advance to the next level where the action is
need to clear your computer memory by
faster and the predators more numerous. Hi-res graphics, great sounds,
and machine language help make CHICKEN CHASE a hilarious fun-filled typing "new" after saving your master
game for the whole family. piece and before typing in Figure G.n
C-64/CASS/5K/VIC ZO (Includes Shipping(Handling) S19.95
nn a rvrr> n r» (calif, res add b% sales tax} Continued on page 106
ROADTOAD - Hop your toad across 5 lanes of traffic, avoid
deadly snakes, and dodge the dreaded toad-eaters. Cross a raging river
full of logs, turtles, ailigators, and park your toad m the safety of a harbor.
Each time you park 5 toads, you enter a tougher level where the action is
faster and the toad-eaters are more numerous. ROADTOAD is written in
machine language and uses high resolution graphics. The sound effects are
excellent and you can use a joystick or the keyboard to control your toad.
C-64/CASS/5K/VIC 20 (Includes ShippinglHandling) S19.95
(CALIF RES. ADD 6% SALES TAX]

write For NIBBLES S. BITS, INC. ... , ..


WFReEEOr P.O. BOX 2044 WffieEEFor
Catalog ORCUTT, CA 93455 Catalog

WARNING! These games cause high panic levels!


Circle No. 30

C-64/VIC 20/PET/CBM OWNERS

104 /Commander November 1983


miii'i." • • ~ "i

SEND FOR OUR CATALOG OF COM MODORE64-VIC 20 SOFTWARE. Over250 different pieces
of software and accessories for the CBM 64. With full descriptions and screen pictures. Send $2.00
postage and handling.

64 SOFTWARE
BATTERIES INCLUDED SOFTWARE MICRO-SPEC LTD DATA 20

PAPERCLIP GENERAL LEDGER S89.95 DATA20 VIDEO PAK-80 S169.95

PROFESSIONAL WP S1 25.00 150 accounts, define your own chart of ac Gives you a full 80 column display on your

Full screen editing, line length up to 249 counts and statement formata budgeting, Commodore64. Free WP software and term

characters using horizontal scrolling, supports double entry accounting system, prints Bal inal emulation package {for monochrome

all features of any printer, complete, even ance sheets. Income statements, and update monitor only). Compatible with PaperClip WP.

works with 80-column boards. reports


DATA 20 Z-80 VIDEO PAK S295.00

DELPHI'S ORACLE DBMS S1 50.00 INVENTORY S89.95 CP/M for the 64. Comes with word processor

Large record size up to 8.000 characters per Up to 1.200 items Prints suggested order, and terminal software, and of course the

record Up to 99 fields per record, up to 9 comprehensive sales, current inventory stat CP/M operating system.

screens per record. Super quick sort and us, and shrinkage reports Also price lists and
advanced report generator. The most com physical inventory reports. EPYX SOFTWARE
plete data base management system for the
PAYROLL S89.95 JUMPMANftape or disk) S31.95
Commodore 64.
Up to 100 employees. FICA and Federal In CRUSH. CRUMBLE AND CHOMP.... 24.95
BUSCARD $1 99.00 come tax Prints checks, payroll journal with TEMPLE OF APSHAI (tape or disk)... 29.95
IEEE-488 interface with Basic 4.0. Centron subtotals by department, quarter to date and UPPER REACHES OF APSHAI 1 4.95
ics parallel port, even a machine language year to date. CURSE OF RA 14.95
monitor and a one year warranty. SWORD OF FARGOAL 24.95
DATA BASE MANAGER $89.95
Up to 1.200 records up to 256 characters
HANDIC SOFTWARE SIRIUS SOFTWARE
perrecord. up to 18 fields per record. Custom
report generator and 3 levels of sorts.
CALC- RESULT 51 39.95 REPTON S31.95
Three dimensional electronic spreadsheet BLADE OF BLACKPOOLE 31.95
MAILING LIST MANAGER S49.95
for the Commodore 64. Has built in graphics, SNAKE BYTE 27.95
on-line help menu, full arithmetic functions, CHECKBOOK MANAGER S49.95
TURMOIL 29.95
boolean operations, and split screen/split
window features that allow you to view upto4
SYNAPSE BRODERBUND
pages at the same time.

FORT APOCALYPSE S31.95 CHOPLIFTER S39.95


CALC-RESULTEASY S69.95
SURVIVOR 31.95 DAVID'S MIDNIGHT MAGIC 29.95
Similar to above but two dimensional and
SERPENTINE 31.95
limited help menus. Saves to tape or disk
SEA FOX 31.95

GEMINI 10X $399.95 INFOCOM


WITH CARDCO INTERFACE
ADDS5.00
ZORK I S29.95
ADDITIONAL
FH ZORKII 29.95
POSTAGE
ZORK III 29.95
SUSPENDED 39.95
FOR VIC-20
STARCROSS 29.95
OR COMMODORE 64
WITNESS 39.95
120 c.p.s., BIDIRECTIONAL. DOT
DEADLINE 39.95
ADDRESSABLE GRAPHICS. ITALICS,
PLANETFALL 39.95
4 DIFFERENT PITCHES

■.'.'.■.'.'.'I1.1!1.1.1.1.*.1 * 'J.I Mill

SOFTWARE
560 N. Mountain Ave., Suite L . Upland, CA91786 • (714)981-5925
TO ORDER: Send check or money order plus$3.00(S8.00 on indicated items) postage and handling. California
residents add 6% sales tax. VISA and MasterCard are accepted Give account number and expiration date. All
orders shipped UPS Ground. Next-Day and Second-Day Service available. Call for prices All prices in U.S. dollars
Figure A
lu QOTO1800
189 IF DP < 0 THEN DP = 2
i 1 y N$=M I Ii* (STR$ < I NT < H* 1S fDP+. 5> ) ■> 2>

130 N$=LEFT$<N$jLENCN*>-DP)+" ■"+RIGHT$(H$,DP)


140 IFN<:0THENN*=II-H+N$
150 DP=-i:N=VflL<N*>: RETURN
1000 FOR I =i TO 22:SP$ = SP$ + " K:NEXT--DP = -1
S000 FOR 1-0 TO 3
3010 INPUT"NflME, GRflDE";Nfl$CI),GRCI>:NEXT
3020 PR I NT LEFTS < (1 STUDENT NflME " +SP*, 15); RI GHT$ ( SP*+ " GRflDE " , 7 >
3030 FOR I = 0 TO 9=N = GR(I):DP = 0:GOSUBI0@
3040 PRINT LEFT*<Nfl*n>+SP$* 13>; RIGHT$<SP$tN$.3)
3050 NEXT
Figure B
10 PRINTCHRfC14?):OOTOiQ00
100 IF DP C 0 THEN DP =.2
i 10 N$=M I D$ (S rR$UNT (H* i y fBP+. 5 >) .• 2 ;■
i 20 IFLEN < N$) <UP+1 THENN$=R IGHI *<l! 600000000:' +N$, DP+1)

140 IFN<0THENN*="-"+N*
150 DP=-l-N-VaLCN*>: RETURN
10S0 FOR I =1 TO 22-SP* = SP$ + '! " = NEXT:DP = -1
4000 FUR I « 0 10 3
4010 INPUr'NflME, GRflDE" ;Nfl*U > , GRU ) -NEXT
4020 PRINT LEFT*<"STUDENT NflME"+SP*.15>;RIQHr*<SP*+"GRflEE".6>
4039 FOR I = 9 TO 9:N = GR<I>=DP = 0:GOSUB100
4040 PRINT LEFT$(Nfl$<I;+SP$,lS>; R1GHT$C3P$+N$,3>
4050 NEXT
Figure C
1010 CR$=O 5030 OPEN15j8j15:GOSUB900
5000 PR INT"STORE LIST <V/N>"; 5100 PRINT*15,"S0:LIST":GOSUB900
5010 I*NPUTfl$ ■ fl$=LEFT$<fl$> 1 > 5110 OPEN3..3,3,;<0:LIST,S,W!i : C3OSUB90S
5020 IFfl$="Ni:THEN5393 5120 FOR I = 0 TO 9
5030 1 Ffl$<> " V:| THEH5000 5140 PR I NT#3, Nfl* CD; CR$; GR <-. I); L'R*.:
5040 PRIHT;TflPE OR DISK CT/D) 5150 I Ffl$= " Di: THENGOSUB3S0
5050 INPUTfl*:R$=LEFT*CH$^1> 5160 NEXT
5060 IFfl*O"T"THEN5080 5170 CLOSES-CLOSE15
5070 0PEN3,1 .■ 1," LI ST" : G0T0512 5933 END
Continued on page 108
5080 I Ffl$O" D " THEN50S0

JOURNAL/90
JOURNAL/20
• pueuaiS evsw nlo weeks • ..
A publication that shares your
enthusiasm for the VIC-20.*
Published every two weeks for
$12 per year, JOURNAL/20 has
up-to-date news, reviews, and
practical tips on hardware and
software. Send check or money-
order to:
JOURNAL/20
PO Box 1149
Van Alstyne, TX 75095
Circle No 53

*\s
106/Commander November 1983
VIC 20 64 LATE ARRIVALS

BATTERIES INCLUDED INFO-DESIGNS


64 COMMODORE
Delphis Oracle(D) .... 114 G/L (D) 61
1541 DISKDRIVE $239 Paper Clip(D) 89 A/P (D) 61

1701 Color Monitor . S255 1530 Recorder S59


A/R (D) 61 CBM64 CALL
COMM-DATA
1525 Printer $239 1600 Modem SS'J
(New Vertlon*} NUFEKOP
1541 DISKDRIVE ... $239
15Z0 Color Ptr . $169 1650 Auto Modem .. S158 Supercuda(CzD) 18 Exterminator(C) 20
1701 Color Monitor .. $255 1530 Recorder $59
Hescard . $23 Microtek 16K Ram .... $62 Pegassus Odyssey(CZP) 18 3-D Man(C) 16
1525 Printer S239 1600 Modem $59
Hes Sound Box . . $13 UMI3KRam ... $55 Escape MCP(C/D) 18
Toddler Tutor(C/D) .... 18
1520 Color Ptr J169 1650Auto Modem ... $158
Data 20 Exp. Chassis $56 RAINBOW
Prim. Math Tutor(C/D) . 1B Pers. Finance Assist.[D| 41 Card ? (Infc) $60 CMB 64 Ref Guide SIB

VIC 20 SOFTWARE VIC 20 Math Tutor(C/D) 18 LightPon $29 The Connection (Infc) .. SS5
English lnvaders(C/D) . IB PSYCOM SOFTWARE Cassette Infc $29 M5D Disk Drive $339
APPLIED SYSTEMS Personality Analyzer(O) 24 Card?Software $16 PTI45 Lot Board $59
SYNAPSE
NumberGulper(C) ... S17 Harrier (C> 123 DATA 20
Number Chaser (C) ... $17 Squeeze (C) $23 Pro Word Proc (C) 21 SIERRA ON—LINE Script 64 S77
BRODERBUND Asiro Patrol (C) E23 General Ledger(C) 21 Crossfire(D) 20 Calc Result Prof S114
Martian Raider (C) ... $14 TAYLORMADE Accounts Rec.(C) 21 SOUTHERN SOLUTIONS Calc Result Easy S68
Mullisound Synth. (C) $14 Fun Fractions (C| $18 Elec. Spreedsheet(C) .. 21 Bill Payer(A/P) 68
The Home Accountant $48
Shark Trap(C) $14 Vic Lemonade (C) .... $12 Business Man(Gi'L) 68
Sky Blazer (Ft) $27 Delphis Oracle S114
Teh Typing Tutor(C) . i $13
EN—TECH Paymaster(Payroll) 68
Word Pro 3 with Spell S78
Seafox (R) S27 T&F SOFTWARE '
AE(fi) $27 Studio 64(D) 28 Bill Coliector(A/R) 68
Word Search (C) $14
Sprite Fun(C) 18 Widget(lnveniory) 68

64 64
COMM-DATA Sports Search (C) .... $14
Pakacuda(C) $13 Arcade Search (C) ... $14
EPYX T A F SOFTWARE
SOFTWARE
Sketch and Paini(C) .. $13 TOTL
Eight Ball (C) 113 Mailing List (C) . $14 sword Fargoal(C'D) 20 Word Search(C) 15 ACCESS SOFTWARE MICROSPEC
Invader Educ. Series Time Management (C] $22 Crush Crumble(D) 20 Sport Search(C| 15 Neutral Zone (CD) ... $26 Payroll System (D) ... $73
(each)(C) $13 Research Asst, (C) ...$22 Upper Reaches APS(D) 14 Arcade Search(C) 15 Sprite Master (CO) ... J27 Inventory Pkg(D) $73
COMPUTERMAT THORN EMI General Ledger (D) ... $73
AVALON HILL
Paratroopers (C) $15 River Rescue (R) $29 HES TIMEWORKS Nukewar(C) 512 Disk Data Mgr<D) $62
Bug Blast {C) $12 Vic Music Comp. (R) . . $29 Mail ListMgr(D) $41
Synthe Sound 64(R) ...34 Programming Kit 1(D) . IB Planet Miners(C) $12
Cricket (C} $)2 Submarine Comm. (R) $29 Androm. Conquest (C) 114 Checkbook Mgr(D) . . . S39
64 Forth(R) 40 Programming Kit 2(D) . 18
CREATIVE S.W. Mutant Herd (R> $29 Midway Campaign (C) $12 HSOFT
Time/Money Mgr.(D) .. 48 Programming Kit 3 (D) . 18
Black Hole (R) $36 Fourtn Encounter (R) .$29 NorthAtl.Convoy(C) $12 MFile(D) S89
Trashman(R) $36 TRONIX Comp. Stcks/Bnds (C) J!5 ONLINE
Astroblitz(R) $36 Galactic Blitz (C) $17 Computer Football (C) $18 Frogger(D) $23
City Bomber (R) $20 Swarm (C) $20 Teiengard(C) S16 Jawbreaker (D) S20
Apple Panic (R) $36 Sidewinder(C| $20 BATTERIES INCLUDED PACIFIC COAST SOFT.
Choplifter(R) $36 Scorpion (R) $27 Paper Clip (D) $89 PCS (80 Col BD, Word Proc,
Serpentine (R) S36 Gold Fever (R) $27 D.Base,Spreadsheet)CALL
D.Base SlU
Videomania(R) $36 Deadly Skies (R| $27 Account PAC (C/D) ... S34
Terraguard (R) $36 UMI BRODERBUND FilePAC(D) $30
EPYX Video Vermin (R) $27 Choplilter(R) S29 EdilorPAC(D) $39
MonsterMaze(R) ... $27 Amok(C/R) $20 Serpentine <R) J27 Inquire PAC(D) $57
Sword ol Fargoal (C) . S20 Oulworld(R) $27 Seafox (R) $27 Happy Tutor Typng(O) S1B
Ricochet(C) $14 Satellites & Met. (R) .. $27 David's Midnight (D) .. $23
PROFESS. SOFTWARE
Rescue at Rigel(C) ... $20 Subchase(C) $17 COMMODORE Wordpro 3 + (64 {D) ... $68
Temple of Apshai(D) . $27 Kosmic Kamikaze (C) .$17 Easy File (D) $75 QUICK BROWN FOX
HES Meteor Shower (C) ... $11 Easy Finance(D) $38 Prof.Word Proc. (R) ... $50
Gridrunner(R) $27 Super Hangman (C) .. $14 Easy Mail (O) $38 RAINBOW
Raidoflsram(C) $14 Spiders of Mars (R| ... $27 Easy Script (D) $75 Writers Assistant ....$95
Robot Panic (R) S27 Meteor Run (R| $27 Easy Schedule (D) ... $59 Spreadsheet Assist. . . $95
Protector (R) $29 Vicalc(C) $11 Logo(R) $75 File Assistant $95
Shamus(R) $37 ViTermA(C) $14 Pilot (D) $75
SIRIUS
Predator (R) $27 ViCat(C) $17 Assembler (D) $38
8iade/Biackpoodle(D) $27
Syn The Sound (R) .. . S39 VlCheck(C) $17 Music Machine (D) ...$25
Type Attack (D) $27
Aggressor (R) $27 Alien Blitz (C/R) $20 MuslcComposer(D) .. $25
Repton p) $27
Heswriter(R) $27 Sky Math (C) $11 Meza Music (D) $75
Critical Mass (D) $27
Turtle Graphics (R) ... $27 Space Division (C) ... $11 Vldeo/MuslcSupt. (D) $38
Snake Byte(D) $23
Hesmon(R) $27 TheAlien'C) $17 Jupiter Lander (R) .... $25
Way Out (O) $27
Vic Forth (R) $39 Grand Master (C) .... $27 Radar Rat Race{R) ... $25
Fast Eddie {D) $23
6502Prof.Dev.Sys.(C) $20 Renaissance(R| $33 SeaWoK(R) $25 Turmoil (D) $23
Torg(C) $13 Cloud Burst (R) $20 Kickman(R) $25
Spider City (D) $27
Concentration (C) .... $12 Skibbereen(R) J20
Fuei Pirates (C) $12 Wordcraft20(R) $65 SPECIALS CO MM-DATA
Pakacuda . (C)$14(D)S18
Squish'Em(O)
Final Orbit (D)
$23
$27
Simon (C) $12 VICTORY Gemini 10X Prinler $289 Escp.MCP . (C)$14(D)$t8 Alpha Shield (D) $27
Vic Trek (C) $13 Adv. Pakl(C) $14 Cenlropods (C)$14(D)$18
C0C0IKC/D) $27 Adv.Pakll'Cj $14
Gemini 15X Printer S379 SKYLES ELEC. WORKS
Busicalc(C/D) $52
QUICK BROWN FOX Annihilator(C) $18 Gorilla Banana Printer $199 COMPUTERMAT
Arcade-Pak (C) $18 Buslwriter(D) $72
Prof. Word. Proc $48 Grave Robbers(C) ... $12

COSMIC
Education-Pak(CJ.... $18 SPINNAKER
Kongo Kong (C) $18
Snooper Troops 1 (D) . $29
Trek(C) $12 CREATIVE SOFTWARE Facemaker(D) $23
Moondust(R} $25 Klndercompp) $20
Trashman(R) $25

Printers/Etc.
Hey Diddle <O> (20

COMPUTERS
Save New York (R) . -. S25 Most Amaz. Thing (D) . $27
Astroblitz(R) $25
SYNAPSE
Household Fin. (D) ... $25
Fort Apocalypse (C/D) $23
GEMINI 10X . . $269 PROWRITER $345 UNLIMITED
DATA 20 Survivor(C7D) $23
Video Pak80 $139 Drelbs(C/D) S23
GORILLA .... $199 SMITH TPI .. $468 ZB0 Video Pak $229 Pharoh's Curse {CID) .$23
CITOH SILVER REED P .. £669
727 BREA CANYON RD., SUITE 16 Protector II (D) (23
EN-TECH
Prowriter $345 Morgal (D) $23
Prowrilerll $629
QUME11K0 + .. . $1299 WALNUT, CA 91789 Finance Calc 64 $34
Shamus(D) $23
OKI-DATA Data Base 64 $56
Starwiter S1149 TAYLORMADE
Printmaster $1448
Microline82A $398 ORDER LINES OPEN MON-SAT 8 am - 8 pm Invoice Ease54 (56
Touch Typing Tutor
Microlinc 83A $638 EPYX 3-O(D) $21
NEC M|croline84P $958

(800) 626-7642
Templeof APS(D) ... $27
8023 AC $409 Microline92 $488 TIMEWORKS
Upper Reach. APS <D) $14
3510 $1375 Microline93 $858 Rbbrs/LostTomb<C/D) $21
Jumpman(D) $27
3530 $1579 DIABLO Wall Street (C/D) $21
3550 $1779 HES Money Manager (CID) $21
620R . $939
7710/7730 $1998 630R $1719
PLEASE FOR ORDERS ONLY HES Modem $59 Data Master (C/D) $21
6502Prof.Dev.Sys.(C) . (22 Dungeons of Alg.
SORRY, NO COD'S HBsmon64(R) $27
MONITORS Turtle GrapicslHR) .. $41
Dragons (C/D)
TOTL
$21

(714) 594-5204
AMDEK NEC Heswriter64(R) $32 Text 2.6 ... (C) $32(0) $34
Color I $289 GRN(JB126O) .. $115 Grldrunner(R) $27 Label2.6 .. (C)$15(D)$17
V300 $139 GRN (JB1201) ... $155 Retroball{R) $27 Time Manager 2.6 (C) .(24
V300A $149 Color Composite $298 FOR TECHNICAL INFO, ORDER INQUIRIES, INFOCOM Time Manager 2.6 (D) .$27
Color II $449 RGB Color $598 Resrch Assist. 2.0 (C) . $24
OR FOR CALIFORNIA ORDERS Zofkl. llorllKD) $27
Resrch Assist. 2.0(0) . $27
MODEMS Add $2.50shiDDingoer software order in continental U S. Adfl $5 00
Deadline (D)
Starcross (D)
(35
$27 UMI
HAYES NOVATION snipping per SOliware order (or AK. HI. FPO-APO Add $10 00 or 15%
Motor Mania (C) $20
(whichever is greater) per soitware order lor non-U S Call lor cosi of JIN SAM
Smartmodem $209 J-Cat . $99 Renaissance (C) $27
hardware shipping Calif residents add 6V/o sales tax Cashiers Mlnl-Jlni(R) $75
Smartmodem 1200 .. $498 AppleCat II $259 VICTORY
Micromodemll $259 D-Cat $149 checks or money orders filled wilhin 24 hours for items in slock LITTLE WIZARD Annihiialor.C.D) $16
Personal checks rfiuire 4 weeks to clear MasterCard and Visa OK for Pro.Mail.List (C)$22(OK25 Kongo Kong (C/D) (16
sollware only within continental U.S.. adrj 3% surcharge Include card Stockmaster Trek (C/D) $14
no., expiration dale and signature Due to our lew prices, all sales are (Inventory) (C)(25(D)$2B Adv. Pack #1 (C/D) ...(16
final All delechve returns mjst have a return aulfionzalion number LOGISTIC Adv. Pack H2 (C/D) ...(16
Please call to oblain one Defoie returning goods loi replacemenl or Datacalc64 (C)$55(D}$59 Grave Robbers (C/D).. $13
repair Prices & availability suBjed to cnange Homo Journal (D) (55 ChomperMan(C/D) ..$18

Circle No. 19
Continued from page 106 Figure D

986 INPUT#15* E** EM*>T$.8$ = E=VfiL<E$)


3iS IFE<20THENRETURN
920 PRINTED, mEM*"j "T$"i "S$
338 STOP
346 RETURN
Figure E

4045 TG=TG+N
4660 PRIHTRIGHT$ <SP*+" ">21)
4678 N=TG/i 0:DP=2:GOSUB109
4680 PRIHTRIGHT*<SP*+"flVERRGE11,15); RICH I $<
Figure F
10 PRIHTCHR*(147 >:GOTO1606
100 IF DP < 0 THEN DP = 2
i10 N*=MID*CSTRf<I NT < H*18tDP+.5)> > 2)
126 IFLENCN*XDP+1THENN*=RIGHT*< "000080000"+N*/BP+l)
138 IFDP>8THENN$=LEFT$<N$? LEH<H$>-BP)+'i. "+RI6HI $CN$.« DP;
140 IFN<0THENN$=1I-Il+N$
i 50 DP=-1 ; N=VFIL ■:: N$ > : RETURN
900 I NPUT#15 > E$, EM*, T*. S4 : E-VflL< E$ >
319 1FE<28THEHRETURN
920 FRINVE*", "EM*4S "T$% "S$
930 Si OP
340 RETURN
1000 FOR I =1 TO 22:SP$ = SP* + " ":NEXT:HP = -i
1010 CR$=CHR$C13)
4003 FOR 1=8 TO 3
4610 IHPUT"NftMEJ GRflBE";Nfl$U>/GR<D :NEXT
4626 PRINT LEFT*("STUDENT NflME"+SP$i15);RIGHT$CSP$+"GRBDE"J6)
4036 FOR I = 0 TO 3:N = GR(I):lfP = 0:GOSUB 100
4040 PRINT LEFT*CNR$<I)+SP$,18); RIGHT$(SP$+N$,3>
4645 TG=TG+N
4056 NEXT
4666 PRIHTRIGHT$(SP$+" ",2i>
4076 H=TG/10:UP-2:GOSUB100
4686 PRINTRIGHT*<SP*+"flVERflGE",15);RIGHT*?SP$+H$,6)
5066 PRIHT"STORE LIST (V/H>1!;
5019 INPUTR$:fl$=LEFT$CR$Ji >
5026 IFfl$=IlH"THEH5993
5039 IFfl$O " V " THEN5000
5640 PRINT"TflPE OR DISK CT/D>"j
5656 INPUTR$:R$=LEFT$CR$j1>
5066 I Ffl*O;t T" THEH5080
5976 OPENS,1,1,"LIST"■GOTO5120
5086 IFfitC>"DuTHEH500a
5096 OPEN 15 .■ 8 ■ 15 : GO3UE906
5100 PR IHTtt15/"SO:LIST":GOSUE900
5110 OPENS,8,3,"8=LIST,S,W":GOSUB306
5126 FOR I = 0 TO 3
5 i 40 PRIHT#3,Nfl* <I>;CR*;GR CI)jCR*;
5150 IFR*="B"THEHGOSUE900
5160 NEXT
5176 CLOSES:CLOSE 15
5933 END
Figure G

4000 OPEN15,8,15:OPEN3,S,3,H0:LI3T":INPUT#15,E^IF E O 0 THENSTOP


4610 INPUT#3,fl*:H=ST:PRINTR*:IFH=STHEN4010
4626 CL0SE3=CLOSE15

108/Commander November 1983


HERE'S SOME GREAT GIFT IDEAS FOR YOUR

OR VIC-20 Computer
§••: -64
Every ABACUS SOFTWARE Package
includes an attractive outer carton, a
manual and a disk or cassette.

YOU CAN COUNT ON


ULTRABAStC 64 SYNTHY 64 CHECKBOOK

AbacusiHSoftware'
TURTLE, hires. Full featured music MANAGER
multicolor and Single Disfc Cooy and sound Menu/Function Key
sprite graphics 13 types) of ApoenO synthesizer makes it very easy to
Sound and effects Dump or Modify Any Easy entry and use
Hardcopy Disk Sector (Has editing ol notes and Complete editing
Scrolling) commands
50 Powerful Full checkbook
Commands Directory Display with Control ASDR tillers balancing
scrolling waveforms etc
Includes demos, Printer Output
into rial, manual BAM Display Includes sample
S22.95DISK ONLY
$39.95 FOR TAPE Printer Output music and manual

S42.95 FOR DISK Fasi Machine Code 529.95 FOR TAPE


S22.95DISK ONLY S32.95 FOR DISK

CHARTPAK 64 SKIER 64 TINY FORTH GRAPHVICS


Create Pie. Bar and Arcade type game Easily extendable Hires and multicolor
Lme charts in high Joystick or keyboard language graphics
resolution control Based on I.g-FORTH Fast plotmg al
Enter, edit, save and 3 different games machine language
Commodore 64 or
recall to/from disc speed
3 different levels Vic-20 w/Bk eip
Cfoose any ot 8 chart 519.95 FOR TAPE Two screens-
formats and design 514.95 FOR TAPE graphics and text
522.95 FOR DISK
charts interactively 517.95 FOfl DISK Save screen to
Produce hard copy tape/disk
onio 1515. 1525 or VIC-20 wtfk or Skexp
Epson printer
519.95 FOR TAPE
S42.95DISK ONLY 522.95 FOR DISK

DISTRIBUTORS Great Britain Canada East: Canada West:


Great Britain: CCI Software KING MICHOWARE LTD. L.S.I Distributors Ltd.
ADAMSOFT 167 Great Portland St 5950 Co!e des Neiges 8<n W Broadway #163
18 Norwich Ave. London Wl Montreal. Quebec H3S 126 Vancouver, BC V5Z 4C9
Rochdale. Lanes. 01-636-6354 514/737-9335 604/733-0211

Whs! Germany: Sweden: Australia: New Zealand:


DATA BECKER TIAL TRADING CW ELECTRONICS VISCOUNT ELECTRONICS
Merowmgerstr 30 PO 516 416 Logan Road 306-308 Church Street
4000 Dusseidorf 34300 Aimhult Brisbane. Queens. Palmerston North
0311/312085 476-12304 07-397-0808 63-86-696

TO ORDER NOW: Write Abacus Software


P.O. Box 7211 Grand Rapids, Mich. 49510
For postage & handling, add $1.50 (U.S. and
Canada), add $3.00 for foreign. Make payment in
U.S. dollars by check, money order or charge card.
{Michigan Residents add 4% sales tax).
— FOR QUICK SERVICE PHONE 616/241-5510 —

NAME.

ADDRESS

CITY STATE. ZIP

CHARGE CARD. NUMBER

FREE CATALOG Ask for a listing of other


Abacus Software for Commodore-64orVic-2p
Circle No. 69
By Jim Grubbs

Ever since I finally took my mother's ad in the advertisements I couldn't find any Typetronic/Super Cord combination was
vice and enrolled in a high school typing information on them, I didn't even know just what the doctor ordered. There are
class I have wanted an IBM Selectric type for sure if a TP-1 would work with my some limitations, but for my particular
writer. Several years ago I finally found VIC-20.1 finally, after over six months, ven needs the advantages outweighed the
myself in a position to afford a used but tured into the typewriter store where I had problems.
clean Selectric 721.1 had to settle for the bought my IBM. Rumor had it that they
model without self-correction; I just had a TP-1 in the flesh and were trying to As I see it, there are only a few points in
couldn't afford the extra one hundred get a small computer to hook it up to so favor of the TP-1 over the typewriters. The
dollars for it. I had been fortunate enough they could demonstrate it. TP-1 is of course ready to interface through
to have access to the latest model Selec- After I walked in, I found just what I a relatively simple cord to the VIC. The
trics at my place of employment. Now I was looking for—I thought. There in the Typetronic on the other hand only speaks
would be able to type all my handouts and spotlight at the front of the store was a "typewriter" code,not ASCILand thus the
tests for my college electronics ciass at VIC-20 and disk drive obviously interfaced Super Cord interface is required. It is a
home. I was like a kid in a candy store. Lit to what I took to be a TP-1. Unfortunately smart cord with conversion codes stored
tle did I know what was in store for the the only salesperson on duty that Saturday in ROM to match ASCII to the typewriter
future! was unfamiliar with the computerstuff, as code. Both machines will print 12 charac
About two years ago I started actively it was called, but I was welcome to try if I ters per second, so there is no speed dif
looking for a home computer. I seriously promised not to break it! As I sat there try ference between the two. The TP-1 will
considered an Apple II system at about ing to figure out how TOTL.TEXT worked, support form feed. Either unit is available
two grand. That didn't include a printer of something struck me as strange about the in 12 pitch elite or 10 pitch pica type.
any kind and I had my heart set on a letter printer. It had a keyboard! The salesperson
The Super Cord is an RS-232 type device
quality machine. Everything I looked at did know enough to tell me that what I
thought was a TP-1 was in fact a Smith
and therefore ties up the user port on the
that would do the job ran $1,500 and
VIC. If you use a modem or other RS-232
more. The whole thing was so depressing Corona Typetronic Electronic Typewriter.
They did have a TP-1 and it became ap
type device this coufd be a problem with
it kept me from buying anything.
out adding additional parts. One thing
Last Christmas my family decided it parent that the printer was just the print
that you don't get, of course, is the Com
would be nice to get dad a computer. The mechanism from the Typetronic. I also
modore graphic character set. If you are
budget was limited and his level of interest learned that the Ultrasonic portable and
really into graphics this can be a big pro
uncertain. The decision was finally made the Typetronic II were capable of being in
blem, in my case it is only a minor irritation.
to buy a VIC-20 and being the eldest son I terfaced to the VIC as well. I went home
got elected to purchase and check it out. with some literature and made an ap There are software interfaces available
that may take care of some of these pro
That was all it took. The day dad's VIC got pointment with the computer person for
Monday. blems. Smart ASCII is designed to translate
gift wrapped, mine got purchased! As it
symbols like cursor right, cursor down,
has turned out, both machines have been Virtually all of my questions were an
swered in this visit. I found out that in addi clear/home, etc., to plain English in
enjoyed beyond our expectations.
I stili didn't have a printer though. I tion to the typewriter itself, a device called listings. I have not had the chance to try
any of them with my system yet. The
found myself getting moreand more frus "Super Cord" was being used. This is an
single greatest irritation occurs when try
trated as the programs I wrote got longer interface made by Cord Ltd., another one
ing to print a greaterthan or less than sym
and longer. It's hard to debug a 16K pro of the Silicon Valley establishments. Over
bol. The Super Cord supports the
gram twenty-two lines at a time, and all I was very impressed and decided to go
without scrolling! I came close several home and think it over. characters, but the daisy wheel has the Vi
The quality was everything I could hope and Va symbols in their place which makes
times to giving in and buying an inexpen
for some weird listings until you get used
sive printer, but in my heart I wanted a let for. The daisy wheel impressions were sec
to it.
ter quality printer. ond to none, and I couldn't believe how
I was hearing stories about the Smith easy ribbon and print wheel replacement It also took me a while to figure out how
Corona TP-1. It sounded like what I was. to output a listing using my new printer.
wanted, but other than seeing them listed After thinking on it, I decided that the When all else fails, read the programmer's

110/Commander November 1983 Continued on page 116


c OMMODORE
(more power than Apple II at hall the price)
COMPUTER AND SOFTWARE
VIC-20
CHRISTMAS SALE (a real computer at the price of a toy)

$99. 50*
HAVE
WE I WE
HAVE
$77. 00*
THE THE
17OK DISK DRIVE S159.00 • 40-80 COLUMN BOARD 589.00
• BEST LOWEST
TRACTION FRICTION PRINTER S119.00
00 SERVICE PRICES • VOICE SYNTHESIZER S59.00

( *with software savings applied) I * wilh Cassette and Gortek purchase]

SPECIAL SOFTWARE COUPON


COMMODORE 64 COMPUTER S99.50 VIC-20 COMPUTER $77.00
You pay only $199 50 when you order the powerful
84K COMMODORE 64 COMPUTER! LESS the
[ We pack a SPECIAL SOFTWARE COUPON | You get the Commodore VIC-20 Computer for
only $77.00 when you buy at sale prices; The
value of the SPECIAL SOFTWARE COUPON we with every COMMODORE 64 COMPUTER- Commodore Data Cassette for onry $69.00 ano
pack with your computer thai allows you lo SAVE DISK DRIVE-PRINTER-MONITOR we sell! | the Gortek Introduction to Basic program for on
OVER $100 oft software sale prices!! With only This coupon allows you to SAVE OVER ly 519.95. TOTAL LIST PRICE 5302.95. SPECIAL
S100 of savings applied, your net computer cost is PACKAGE SALE PRICE 5165.25.
$100 OFF SALE PRICES! $200-5300 sav-l
S99.50!!
| ings are possible!! (example)
SOFTWARE BONUS PACK S29.95 40-80 COLUMN BOARD S89.00
When you buy the Commodore 64 Computer from A fantastic price breakthrough for VIC-20 owners
PROFESSIONAL SOFTWARE |
Proiecio Enterprizes you qualify to purchase ONE on this most wanted accessory!! "Now you can
SOFTWARE BONUS PACK for a special price of
COMMODORE64 I get 40 or 80 Columns on your T.V. or Monitor
S29.95M Normal price is $49.95 (40 programs on Nam* Lin Coupon 1 Screen." Plus we add a word processor with
disk or 24 programs on 5 tapes).
I Executive WorrJ Processor $99.00 $5200 mail merge, electronic spread sheet, time
1 Complete Data Base $89.00 $4600
manager and terminal emulator!! These PLUS
1 Electronic Spreadsfieel $69.00 $46 00
170 DISK DRIVE $159.00 programs require 8K or 16K RAM memory. (Disk
1 Accounting Pack $69.00 $32 00
You pay only S259.00 when you order the 170K 1 Tolal 5 2 Word Processor—Plus addSiO.OO).
Disk Drive! LESS the value of the SPECIAL SOFT ' Taps $69 00 I37OO
WARE COUPON we pack with your disk drive that Disk $79 95 S42 00 VOICE SYNTHESIZER $59.00
allows you to SAVE OVER $100 off software sale 1 Tolal Tent 2 6 Word Processor— i Votrax Based Make your VIC-20 COMPUTER