Creative Computing (Better Scan) 1979-01
Creative Computing (Better Scan) 1979-01
••
• 128 Functions-software controlled • 82 x 16 or 92 x 22 format-plus graphics
• 7 x 12 matrix, upper/lower case letters • Printer output port
• 50 to 38,400 baud-selectable • "CHERRY" keyboard
CT-82 Intelligent Terminal, assembled and tested $795.00 ppd in Cont. U.S.
[3 cromemeo
incorporated
Specialists
280 BERNARDO
in computers
AVE., MOUNTAIN
arid peripherals
VIEW, CA 94040 • (415) 964-7400
Tinker, Tailor, Soldier, Sailor ... Every Chieftain is complete with
Doctor, Lawyer: .. the Chieftain's here. system software and is totally burned-in
as well as tested to further insure high
No matter whether you're a serious reliability.
hobbyist or a serious businessman, the And it's expandable to 64K memory
Chieftain 6800 microcomputer with ca- with up to 2 megabytes floppy disk
pabilities that surpass the Z-80 is made storage.
for you. So see your nearest Smoke Signal
Smoke Signal's quality-.packed dealer, he'll be glad to show you how to
Chieftain I features two 5.25-inch mini- get your wampum's worth. Systems
floppy drives and Chieftain II fea- start at $2,595.
tures two 8-inch floppy drives.
Both microcomputers
provide 32K static memory, o Send information on your Chieftain
microcomputer
two serial I/O ports, a 2 o Send name of nearest dealer
MHz processor board, a 2K Name _
RAM monitor, a nine-slot
Address _
motherboard with built-
Company _
in baud rate generator
City _
and gold connectors for
high reliability. The State/Zip _
\~------~~~------~--~----------------~~~~--~~-------
Dear Programmer
Publisher David H. Ahl Advertising Sales Mahy companies are entering the
software business today and promising
Editor John Craig Western States, Texas amazing amounts of royalties based on
Jules E. Thompson ridiculous sales projections and pipe
Managing E9itor Burchenal Green Hearst Building, Suite 1111 dreams. At Creative Computing we have a
5 Third Street very straight-forward policy based on the
Associate Editor Steve North San Francisco, Ca 94103 current and future realities of the market.
(415) 362-8547 1. We are seeking programs for:
Contributing Editors Frederick Chesson A. Radio Shack TRS-80
Southern California i. Level I Basic 4k cassette
Margot Critchfield Bert Charlton
Thomas W. Dwyer ii. Level I Basic 16k cassette
Mary Jo Burger iii. Level II Basic 16k cassette
Bill Etra 2560 Via Tejon
Louise Etra iv. Level II Basic 16k floppy diskette
Palos Verdes Estates, CA 90247 B. Apple II, up to 16k, cassette and floppy
Lee Felsenstein (213) 378-8361
StephenB. Gray diskette
Ed Hershberger C. PET, 8k
Mid-Atlantic, Northeast
Arthur' I. Karshmer D. Sol-20, cassette
Charles Lynch E. Ohio Scientific Challenger IP and liP
Theodor Nelson 36 Sohier Street
Trish Todd
F. Exidy Sorcerer
Cohasset, MA 02025 We have many other computers in our
Stanley Viet (617) 383-6136
software center and our future line will
Karl Zinn
broaden but these are the ones for which we
New York, New Jersey
Bob Nelson intend our initial software releases.
Nils Lominerin
Ralph Miller 2. Programs submitted should be com-
Sandra D. Sax plete, well documented, and on the medium
342 Madison., Ave., Room 830
New York City, NY 10017 (cassette or floppy) that they are to be
Editorial Assistant Jennifer Burr released. Record two copies in case the tape
(212) 661-9234
has a dropout.
Administrative Manager Betsy Staples 3. Creative Computing tapes and disks
Elsewhere
Burchenal Green will contain five to ten programs each,
Marketing Manager Patricia Rust preferably from one programmer.
(914) 739-1144
4. Creative Computing software is
Bookkeeper Jearine Tick' thoroughly reviewed and, if necessary,
refined in house. If extensive modifications
Software Development Steven Neitz .are required, it is returned to the original
Jeffrey Yuan programmer. We will let you know if we
Ann Corrigan intend to use your program within 12 weeks,
Randy Heuer
This generally less. Please include 3 first class
stamps with your submission for return of
Retail Ma~keting
Customer Service
C.J. Whitaker
Ethel Fisher
Publication .... cassette or disk.
5. Creative Computing has contracted
with popular, well-known writers of science
fiction, adventure and educational books ..
Subscriptions Sheryl Scalley movies and TV shows to enhance its
software with humor, lively dialog and
Book Service Barbara Shupe punchy graphics where necessary.
Joe Ortiz 6. Creative Computing software is record-
ed by putting the programs on the ap-
New England Rep. Jane Fletcher propriate computer, recording directly on a
high-quality reel-to-reel recorder and filter-
'Eastern Penna. Rep. Paula Mann ing the signal for pure square waves. It is
then recorded on the very fihest quality,
So. Calif. Rep. Valmere Kranak cassettes or disks. It is recorded twice, once
on each side for maximum reliability.
United Kingdom Rep. Hazel Gordon 7. Packaging includes two labels on each
cassette, two-color box insert, instruction
booklet and a Norelco-style hard plastic
box. Disks are similarly labeled and packag-
ed.
8. Cassettes retail for $7.95 and disks for
$17.95. The programmer receives 10% of the
OK To Reprint
is Available in list (retail) price. An advance royalty on the
sales of the first 100 units is paid on
Material in Creative Computing may be acceptance (on a tape cassette this
reprinted without permlsslon
and college publications,
by school
personal comp-
MICROFORM amounts to $79.50 at the time the programs
are accepted, not months later.) If more
uting club newsletters, company house For Complete Information than one programmer is represented on a
cassette, royalties are apportioned propor-
organs, and non-profit publications. Only WRITE: I tionately.
original material may be reprinted; that is, University 9. Creative Computing provides retail
you may not reprint a reprint. Also, each. dealers with attractive, high-quality wood
reprint must carry the following notice on Microfilms and plexiglass display cabinets for
the first page of the reprint in 7-point or software, point-of-sale posters and
larger type (you may cut out and use this
International literature so sales will be as much or more as
notice if you wish): Dept. F.A. with any other supplier.
Dept. F.A.
Copyright © 1978 by Creative Computing 300 North Zeeb Road 18 Bedford Row Creative Computing today has a line of
51 Dumont Place, Morristown, NJ 07960 Ann Arbor, MI 48106 London, we: R 4EJ software more comprehensive and
U.S.A. England professional than virtually any manufac-
Sample issue $2.00;
turer or software supplier. If your programs
One-year subscription $15.00
qualify, we would be pleased to add them to
Plese send us two copies of any our line.
( )
publication that carries reprinted material. Send submissions (with 3 stamps) to:
Send to attention: David Ahl. Creative Computing Software
PO Box 789-M
Morristown, NJ 07960
4 CREATIVE COMPUTING
• 32K Memory Expansion
• 16K EXPANDAPET.
• PET to RS232 Serial.
• 2 Way Serial/Communication,
•Modem Board for PET,
• PET to S100 (4·slot).
• Second Cassette Drive.
• Parallel Printer Interface
• PET Printer (Feb.'79),
DUAL DISK
(200KB) $1295
PET SOFTWARE
EDUCATION GAMES
Basic BaSIC 14.95 Osero and Reverse
D.iet Planner & T.arget Pong and
Biorhythm 14.95 Off The Wall
Basic Math Package 29.95· A Treasure
6502 Assembler in Trove of Games
BaSic 24.95 Galaxy Games
(For PET and Apple II) Draw Poker
10 Builder Series 13 to Adult Black Jack
10 Builder- Analogies 9.50 Space Fight
10 Builder-Vocabulary 12.50 Spacetrek
10 Builder- Number Backgammon
; Series 9.50 Gr!lnd Prix Golf
Preschool 10 Builder 9.50 Bridge Cllallenger
Step By Step 29.95 ~:r::mStartrek
Microchess
. Radio Shack
The folowiilq program titles Preschool 10Builder
are now available for RADIO Step By Step
SHACK TRS BO Computers. Microchess
Annual Report
Analyzer
- ASC II Code Stock Analyzer
-15cpsPrintout Options
- HighQualitySelectivePrinting Stockscreen
- Use Keyboard lor PET Electric Pencil
- Reliable heavy duty Mechanism
- Completely Relurbishedby A.J.
- Service in 15 Major Cities
Serial. Parallel
$1195 $1095
MATH TUTOR-with Checkbook, Bio- PERSONAL FINANCE I
BUSINESS COMPUTERS APPLE II rhythms,Math Dice,and Recipe. PERSONAL FINANCE II
CHESS-with Acey Deucey&Line 5 EaUITY
Hanqman
Blac~Jack/Slot
7.50 1.---
i .' '1-,
S,'clJ"lle,,,nd
The low cast solution for all small business Machine 7.50 ', == VISA
problems. A wide variety of software is Biorhythm/
available forall your needs Mastermind 7.50
PCS series include dual floppies, J2K RAM, Finance 1-2 Cassette
I/O, DOS, BASIC
- PCS-42 (4DOKB) 52995 • PCS·44
Package 25.00 ~
Datamover/Telepong 7.50
(180KB)SJ695 ~MC
NY rendents add8%saleslax - Same day
ut I.,
Ou·put
A Big Mistake
Dear Editor:
What Does Big Foot Wear?
I must confess that I have committed the "Crime of the Dear Editor:
Century", even greater that the Brinks Robbery, yet it had Iam writing to point out an error in "My Friend, Big Foot",
nothing to do with theft, murder, or anything else like that: I appearing in the Input/ Output column on page 12 of the
simply didn't subscribe to Creative Computing for the first 3 September-October 1978 issue, contributed by Lou Elkins. The
YEA RS of its publication. calculation given will not answer the question, "What does
I realize now what a mistake I made for I was finally Bigfoot wear?". The correct answer may be obtained however
convinced to subscribe just a little while ago. After reading my from this calculation:
first copy I knew that I had been letting life (and Creative
Computing) pass me by. And me, an aspiring young student 8 x 17 x 39 x 10,000 + 5618
hoping for a job in the computer field! (turn over calculator for answer)
I am happy to say that I'm now trying to reform. In my
attempt to salvage something ofthe last 3 years I have purchased Your readers might be interested in this correction.
volume 3 from Creative Computing Press. And, should you Jeff Miller
decide to publish this testimonial, I would like to tell all those PO Box 27501
dedicated Creative Computing readers that if they have any Tucson AZ 85726
copies of this wonderful magazine from volumes land/ or 2, or
number I from volume 4, that they would like to get rid of (now Thank you, Jeff, thank you. It was a minor error, or shall we say
that they have "The Best of Creative Computing-Vols. 1&2" shortsightedness, on Lou's part ... and it's doubtful if many
instead) I'll gladly pay for them. Just send me a letter telling me people even caught it.-John.
6 CREATIVE COMPUTING
Our programs will let you realize the full potential of your hardware.
We developed these programs because we needed them • Periodic newsletters which include users' ideas and
in our businesses, and, try as we might, could not purchase information exchange, plus tips to owners on further increas-
them. They're on-line now, working for us and others around ing benefits of the package through updated operational flexi-
the country. bility.
. As users ourselves we know the problems from your • Availability of software technicians to provide im-
perspective - not just as a manufacturer of software. The mediate answers to questions, via phone or mail.
bugs are out and they're ready now to go to work helping make • Customer rewrites and adaptations available on re-
your life easier, keeping you in better control of your business. quest, at added cost.
Our first four program packages are: • Apartment CBASIC-2 free
Management • Cash Register • Inventory • Payroll It takes the world's most powerful commercial basic to
Here's a typical program run our programs and we deliver it to you free.
To give you an idea of the thoroughness of these pro- Each of our program packages contains a disk with
grams, here's a summary of what the inventory package does CBASIC-2 Compiler, CBASIC-2 Run Command and your
tor you. Gives a detailed listing of items in inventory and Graham-Dorian software programs in INT and BAS file form.
Itemizes all goods sold from inventory, including which sales You also receive User's Manuals and Hard Copy Source List-
person soldwhat, when it sold and for how much recaps on ing. At a price which pays for itself!
one sheet this same inventory activity information investi- CBASIC-2 was developed and written by SoftWare Sys-
gates and changes any information in inventory, on request... tems, the people who wrote CBASIC, and includes many
prints list of items to be re-ordered ... provides profit analysis powerful enhancements" All systems are compatible with any
comparing sales personnel and/or various products. And it Z-80 or 8080 CP/M@)system. They are deliverable in standard
can be inter-connected with our cash reulster package as well, eight-inch disk - either double or single density - or mini-
for total program management. floppy disk.
. Each of our initial programs is conceived proven and
offered with this same exacting thorouuhness and attention to
detail.
We stay with you after the sale
W'e re In
. thlIS f or th e Iong hid
. iIII&
G~ ~
Give us a call or fill out the Reader Service Card in this
issue. We promise a response within 24 hours of receipt.
That's the kind of information service we expect,
and know you do too.
au an our suppo rt 'CBASIC-2 may be purchased separately
DE
~. tram Granam-Dorian Sottware Systems tor $8995
program is dedicated to that objective. Registered ..
program owners receive: Graham-Dorian Software Systems
A Division of Graham-Dorian Enterprises'
Master Charge and Visa cards accepted 211 N. Broadway / Wichita, Ks. 67202 / (316) 265-8633
8 CREATIVE COMPUTING
What every educator should .
!mow about ilesk-topromputers.
It's easy to get into classroom computing. What's tough desk-top computer, you'll be using Apple in ways you
is to do it right. With so much talk about computers in never dreamed of. That's when the capabilities of the
the classroom, educators like yourself want all the facts computer you recommend will really count. You don't
before they recommend any system for classroom use. wantto be limited by the availability of pre-programmed
That's why Apple Computer's new "Curriculum Materials cartridges. You'll want a computer, like Apple, that you
Kit" can help, with answers to your questions and some can also program yourself. You don't want to settle fora
very important data you may not have considered before. black and white display that limits you to just putting
words and numbers onto the screen. You'll want a com-
Who uses desk-topcompufers. puter, like Apple, that can turn any color tv into a dazzling
Hundreds of innovative educators have already discov- array of color graphics:" The more you and your students
ered the Apple Computer for instructional applications learn about computers, the more your imagination will
from kindergarten through college. Apple gives you demand. So you'll want a computer that can grow with
computer-assisted instruction capabilities, including drill you as your skills and experience grow. Apple's the one.
and practice, tutorial, problem-solving, games,
simulations, and more. How to learn more.
Apple engages student The quickest way to
interest with sound and learn more about desk-
color video. In fact, your top computers is to
students will be able to request your free copy
write programs and of Apple's Curriculum
create high-resolution Materials Kit (specify
graphics. And you can level). Get yours by call-
use your Apple for testing, ing 800/538-9696; in
counseling, even class- California, 408/996-1010.
room data processing. Or by writing us. Then
That's just the beginning. visit your local Apple
dealer. We'll give you his
What to look for. name and address
Once you've unlocked when you call.
the power of the •Apple II plugs into any
standard TV using an
inexpensive modulator
(not included).
INTRODUCING
DUAL DRIVE MINIFLOPPY
.
FOR PET!
+ =
"
12 CREATIVE COMPUTING
The NewMSI
Dusiness Comp
A Profitable System The System 12 also
TheMSI System 12 is a low-cost business employs a l3eehive 13-fijiiijj!iiillijiii
computer system designed to help your 100 video display ter-
small business the same way big com- minal and a Centron-
puters help big business ... by ics 779 high speed
saving time and money. printer. The entire sys-
tem is housed in a
Regardless of the size or
single compact desk
type of your business ... the
unit.
System 12 will help you
significantly reduce costs by
increasing the speed, accu- Small Computers for Big Jobs
racy, and efficiency of your MSI is a leader in rhe development of
business operations. small computer systems for business. The
new System 12 has the power and capa-
city to perform aswell as many of the other
The System for Every Application
larger computer systems ... but at a much
The System 12 will
lower cost.
fulfill the data pro- ~~~
cessing needs of If your business is in need of a new or
any type of business advanced data processing system, call or
... service manu- write for detailed literature and the name
facturing profes- of the System 12 representative nearest
sional ...or rnorkennq. u.-.-r""",_\'.->.- you.
At the heart of the
system is the popular
48K RAM MSI 6800
processar . . . the most
powerful and advanced
6800 computer avail-
able. For mass storage,
the System 12 contains
the MSI Fixed/Remov-
able Hard Disk System
with 10 megabytes of
memory. The new SDOSOperating System
integrates the hard dlsk with the MSIQuad
Floppy Disk System which gives you an
additional 1.2 megabytes of memory for
program loading, bock-up. software up-
dates and exchanges.
220 W. Cedar • Olathe. Kansas66061 • (913) 764-3273 • TWX 9107496403 (MSI OLAn • TELEX 42525 (MSIA OLAn
CIRCLE 139 ON READER 'SERVICE CARD
JAN 1979
13
National Educational Trek with sound effects, string character
editing, a mastermind game and more. Jan
SeeSol®
Network
EDUCOM, a nonprofit organization
mitted to interuniversity resource sharing,
com-
'78 has articles on disk BASIC, Altair clock
mods, a BASIC memory
lanquaqe to BASIC converter program and
test, machine at all these
announced the unveiling of EDUNET - a
national computer service network es-
more.)
We also have a very limited stock of the fine
computer
tablished to meet computing needs in August 1977 issue of Microcomputer
higher education and research. The an- (SCCS) Interface. It contained a discussion
nouncement came at EDUCOM's annual of a possible national computer club, a
centers
Fall Conference held November 14-16 atthe review of the SOL-20, seventeen short
Mayflower Hotel in Washington, on the benchmark programs to compare different
theme of "The Reality of National Computer Basic features, construction hints and
Networking for Higher Education." more. Cover price was $1.50 but we're AL: Birmingham: ICP Computerland,
Heralding the coming of EDUNET, letting them go for the ridiculously low price (205) 979-0707. CA: Berkeley: Byte Shop,
EDUCOM President James Emery stated in of $1.25 postpaid. (415) 845-6366. Citrus Heights: Byte
his opening remarks, "The time for national Uncovered in preparation for our move to Shop, (916) 961-2983. Costa Mesa: Orange
new quarters were several cartons of the County Computer Genter, (714) 646-0221.
networking among colleges and univer-
Hayward: Computerland of Hayward, (415)
sities has arrived. By opening the doorto the Sep/Oct '76 issue of Creative Computing.
538-8080. Modesto: Computer Magic,
outside world of academic computing, Our last issue on newsprint, it featured six (209) 527-5156. Mountain View: Digital Deli,
EDUNET substantially expands the options pieces on computer generated poetry (415) 961-2670. San Francisco: Computer
available to students, professors, and including three do-it-yourself programs. Genter, lnc., (415) 387-2513. San Rafael: Byte
r-esearchers throughout the U.S." Also had articles on Russian computing, Shop, (415) 457-9311. Walnut Creek: Byte
computers in elections, hints for running Shop, (415) 933-6252. CO: Boulder: Byte
In addition, as part of the three full days of
Shop, (303) 444-6550. Denver: Byte Shop,
in-depth seminars, speeches, workshops computer programming contests, two fan-
(303) 399-8995. CT: Bethel: Technology
and exhibits, participants were able to gain tastic stories, many neat problems, puzzles Systems, (203) 748-6856. FL: Miami: Byte
hands-on experience with the specialized and programming techniques. A bargain at Shop of Miami, (305) 264-2983. GA: Atlanta:
hardware and software resources available $2.00 postpaid. Atlanta Computer Mart, (404) 455-0647.
at EDUNET's fifteen supplier institutions. Last but not least, we found a carton of the IL: Lombard: Midwest Microcomputer, (312)
This opportunity came during an EDUNET 495-9887. IA: Davenport: The Computer
Mar/Apr '76 issue of Creative Computing.
Store of Davenport, (319) 386-3330. MD:
Resource Rally in which demonstrations This was our incredibly popular issue on Towson: Computers, Etc ... , (301) 296-0520.
were given of some of the more than 500 artificial intelligence and future computing MI: East Lansing: General Computer,
resources appropriate for research and technology. It had an article on the (517) 351-3260. Troy: General Computer,
instruction in virtually every college dis- SMALL TALK language, three great games (313) 689-8321. MN: Minneapolis:
cipline. Current sources of EDUNET supply and the classic story "Computers Don't Computer Depot, (612) 927-5601. MO:
include the computing facilities at Dart- Florissant Computer Country, (314)
Argue" by Gordon Dickson. We need the
921-4434. NH: Nashua: Computerland/
mouth, Cornell, University of Illinois, MIT, space so we're letting these go for only Nashua, (603) 889-5238, NJ: Cherry
three Michigan universities participating in $2.00 postpaid. Hill: Computer Emporium, (609) 667-7555.
the Merit Computer Network, University of Also, don't forget we're offering complete Iselin: The Computer Mart of New Jersey,
Minnesota, SUNY at Albany, University of sets of all nine issues of ROM for the low (201) 283-0600. NY: Endwell: The Computer
North Carolina, Notre Dame, Rice, Stan- price of $14. And if you've missed any of the Tree, (607) 748-1223. New York: The
ford, University of Wisconsin and Yale. 1977 or 1978 issues of Creative, they're all Computer Mart of New York, (212) 686-7923.
White Plains: The Computer Corner, (914)
EDUNET represents the association of available (at least for now). You'll find an ad 949-3282. NC: Raleigh: ROMs 'N' RAMs,
these suppliers in addition to the more. than for these elsewhere in this issue. (919) 781-0003. OH: Akron: Basic
60 institutions that have already used Want a real package deal? One of Computer Shop, (216) 867-0808. Columbus:
EDUNET resources during its two-year everything described above (21 Computer The Byte Shop, (614) 486-7761. OR:
prototype operation. The Princeton-based Notes, SCCS Interface, 2 1976 Creative Beaverton: Byte Shop Computer Store, (503)
central staff, working' with appointed 644-2486. Portland: Byte Shop Computer
Computing, all 9 ROM), a $34.25 value for
Store, (503) 223-3496. Salem: Computer
liaisons at supplier schools, facilitates such only $30.00! Pathways, (503) 399-0534. PA: King
use by collecting and disseminating Please send a self-addressed stamped of Prussia: Computer Mart, (215) 265-2580.
resource information, handling accounts, envelope with your order so we can return RI: Warwick: Computer Power, Inc., .
arranging for communications access, and your check if your order arrives too late. (401) 738-4477. SC: Columbia.The Byte
providing remote user support. FIRST COME, FIRST SERVED. These are Shop, (803) 771-7824. TN: Kingsport:
For more information write Rodney Microproducts & Systems, (615) 245-8081.
all real classics - get 'em before they start
Mebane, EDUCOM, P.O. Box 364, TX: Arlington: Computer Port, (817)469-1502.
going for $5 apiece. Arlington: Micro Store, (817) 461-6081.
Princeton, NJ 08540, Telephone (609) 921- Send your check or Visa or MasterCharge Houston: Interactive Computers, (713)
7575. number today to: . 486-0291. Houston: Interactive Computers,
Classic Merchandise Offer (713) 772-5257. Richardson: Micro
Store, (214) 231-1096. UT: Salt Lake City:
Creative Computing
Home Computer, (801) 484-6502. VA:
P.O. Box 789-M
COLLECTOR'S ITEMS! Morristown, NJ 07960
McLean: The Computer Systems Store, (703)
821-8333. WA: Bellevue: Byte Shop
Creative Computing has' taken over Computer Store, (206) 746-0651. Seattle:
Computer Notes (MITS' excellent hobbyist Byte Shop of Seattle, (206) 622-7196.
computer magazine). As part of our WI: Madison: The Madison Computer Store,
(608) 255-5552. Milwaukee: The Milwaukee
. arrangement, we have a very limited stock of
Computer Store, (414) 259-9140.
back issues of Computer Notes. "Very CANADA: London, Ontario: The Computer
Limited" means what it says - we have 18 Circuit Ltd., (519) 672-9370. Vancouver, B.C.:
sets of twenty of the twenty-six issues Basic Computer Group Ltd., (604) 736-7474.
published, and between 2 and 13 copies of AUSTRALIA: Victoria: Sontron Instruments,
each of the other six issues. (03) 569.7867. PHILIPPINES: San Juan,
Metro Manila: Integrated Computer Systems,
Our amazing offer: we will send 21
lnc., 784-071. JAPAN: Tokyo: Moon
different issues of Computer Notes post- base Shinjuku, (03) 375-5078. GREECE:
paid to the first 18 people who send in a Athens: NKA Attikos, Inc., 360-7542.
check for $15. UNITED KINGDOM: Huntingdon, England:
We have somewhat larger stocks of the Comart, Ltd. (0480) 215005. MEXICO: Mexico
Nov. '77 and Jan '78 issues - $2.00 gets you City: lndustrias Digitales, 905-524-5132.
VENEZUELA: Caracas: Componentes Y
these two plus one other of our choosing.
Circuitos Electroriicos, 355-591. SWEDEN:
(Nov '77. has articles about practical Stockholm: Wernor Elektronik, (0)8-717-6288.
programming, a letter-writing program, Star
ProcessorTechnology
14 CREATIVE COMPUTING
Sol:The small computer that won't
fence you in.
A lot of semantic nonsense is spectrum. They stand up to the has a full set of extensions designed
being tossed around by some of the capabilities of mini systems for the "stand alone" computer
makers of so-called "personal" costing four times as much. environment.
computers. To hear them tell it, an No wonder we call it the Our PILOT is an excellent text
investment of a few hundred serious solution to the small oriented language for teachers.
dollars will give you a computer computer question. Sold and serviced only by the
to run your small business, do Sol is the small computer best dealers.
financial planning, analyze data in system to do the general ledger and Sol Systems are sold and serviced
the engineering or scientific the payroll. Solve engineering by an outstanding group of
lab - and when day is done play and scientific problems. Use it for conveniently located computer
games by the hour. word processing. Program it stores throughout the U.S.
Well, the game part is true. for computer aided instruction. and Canada.
The rest of the claims should be Use it anywhere you want For more information contact
taken with a grain of salt. Only versatile computer power! your nearest dealer in the
a few personal computers have the
Build computer power adjacent list. Or write Department
capacity to grow and handle
with our software. B, Processor Technology,
meaningful work in a very real
At Processor Technology we've 7100 Johnson Industrial Drive,
sense. And they don't come
tailored a group of high-level Pleasanton, CA 94566. Phone
for peanuts.
languages, an assembler and other (415) 829-2600.
Remember, there's no packages to suit the wide In sum, all small computers
free lunch. capabilities of our hardware. are not created equal
So before you buy any personal Our exclusive Extended BASIC and Sol users know it to their
computer, consider Sol~ It is a fine example. This BASIC everlasting satisfaction.
costs more at the start but less in features complete matrix functions.
the end. It can grow with your It comes on cassette or in a
ability to use it. Sol is not cheap. disk version which has random as
But it's not a delusion either. well as sequential files.
Sol small computers are at the Processor Technology FORTRAN
very top of the microcomputer is similar to FORTRAN IV and ProcessorTechnology
CIRCLE 125 ON READER SERVICE CARD
Graphics for small systems
were too expensive. . .
Until Now
HI~&[Qy digitizers
The perfect small system input device
,,
•. Resolution and repeatability of 0.005 in.
• Origin is completely relocatable
• RS232Cand 8 bit parallel interface
selectable at the connector
• Accuracies of ± 0.015 in.
\.
(O.4mm)
~~ • Optional LC display
shows actual
values being
inputted
• Priced at $795 *
HI~[L@Lf
digital plotters
perfect small system
output device
• Displays data in
easy to read
graphical format
• Both serial and
parallel inputs
built-in
• Uses standard
8%" x 11" paper
• Plotting speed up
to 2.4 ips
• Resolution of both
0.01 and 0.005 in.
• Baud rate and step size
easily changed '
• Completely assembled and
DlJ@OJJ~'lli@crul
Instrumen... DIVISION OF BAUSCH&LOMB\y)
ready to use
• Priced at$1085*
T HIS professional
by providing
club is designed
practical
prices. If you'ra.rnissinq out on important
to meet your day-to-day
technical literature-if
on-the-job
books in your field on a regular basis at below publisher
today's
needs
high cost
callylt, however, I want an alternate selection- or no book at all-I simply notify the Club
by returning the convenient card always enclosed. I will always have a minimum of 10 days
in which to return the card and you will credit my account fully, including postage, if this is
not the case. Membership in the club is continuous but cancellable by me at any time after
of reading curbs the growth of your library-here's the solution to your problem. the four· book purchase requirement has been filled. This order sotuecuo acceptance by
The Computer ProfesSionals' Book Club was organized for you, to provide an McGraw·HiII. Orders from outside the continental U.S. must be prepaid. Company,
business, or institutional tax exemption status is not applicable to tnucnsses made through
economical reading program that cannot fail to be of value. Administered by individual Club memberships. All prices subject to change without notice. Offer good for
the McGraw-Hili Book Company, all books are chosen by qualified editors and new members only. A shipping and handling charge is added to all shipments. Members
consultants, Their understanding of the standards and values of the literature in are billed when books arrive.
your field guarantees the appropriateness of the selections. Write Code # of 1st Write Code # of 2nd Write Code # of 1st
How the Club operates: Thirteen times a year you receive free of charge The bonus book selection here bonus book selection here book selection here
Computer Professionals' Book Club Bulletin, This announces and describes the
Club's featured book of the month as well as alternate selections available at '-- --J O"""- --JI <-I ....•
special members' prices. If you want to examine the Club's feature of the month, , Name _
you do nothino. If you prefer one of the alternate selections-or if you want no
book at all-you notify the Club by returning the card enclosed with each Bulletin.
As a Club Member, you agree only to the purchase of four books (including I Address _
your first selection) over a two-year period. Considering the many books published I
annually, there will surely be at least four you would want to own anyway, By I City State Zip _
joining the club, you save both money and the trouble of searching for the best I EXTRA SAVINGS: Remit in full with your order, plus any local and slate tax,
books. and McGraw-Hili will pay all regular postage and handling charges. P3936.! J
L
-----------------------
Com
Cata
We welcome entries from readers for the magazine format. Its purpose is: in the words decision-oriented charts and graphs, in-
"Compleat Computer Catalogue" on any of General Manager Wesley Dehn, "To troductory text on personal computers, over
item related, even distantly, to computers. establish communication with all the people 120 manufacturers and over 500 products
Please include the name of the item, a brief who purchased (IMSAI) equipment, (and) represented, large II" x 14" format. Price is
evaluative description, price, and complete as the capabilities, the usefulness and the $3.95 (includes, postage & handling).
source data. If it is an item you obtained performance of our product are improved or For more information contact: W. Craig
over one year ago, please check with the expanded, to make that information Tenney, Micro Age, 1425 W. 12th Place,
source to make sure it is still available at the available." To customers, it is available by I #101, Tempe, AZ 85281, (602) 967-1421.
quoted price. subscription at $4.00 per year.
CIRCLE 204 ON READER SERVICE CARD
Send contributions to "The Compleat For further information contact: Barbara
Computer Catalogue," Creative Com- Otto, IMSAI· Manufacturing Corporation,
puting, P.O. Box 789-M, Morristown, NJ 14860 Wicks Blvd., San Leandro, Ca. 94577,
07960. (415) 483-2093. MASTER LIST OF COMPUTER
CIRCLE 203 ON READER SERVICE CARD
BOOKS
The "MASTER LIST OF COMPUTER
MAGAZINES, BOOKS" is a new catalog containing over
125 computer-related titles, with summary
JOURNALS and price, from over 15 publishers. The
catalog is divided into five sections: Section
I-Introduction to Computers (16 titles);
Section II - Microprocessors/ Microcom-
PRIVACY puters (46 titles); Section III - Hardware
PRIVACY JOURNAL has published its (30 titles); Section IV - Software -
annual Compilation of State and Federal Machine and Assembly Language ( 13titles);
Privacy Laws, listing more than 30 new laws Section V - Software-BASIC (21 titles).
in the past 12 months that protect the The catalog is available for only $1.50
confidentiality of personal information. postpaid. ($3.00 International).
The Compilation describes and cites more The Computer Bookstore, 796 Navy
than 400 state and federal laws that regulate Street, Fort Walton Beach, FL 32548.
record keeping about individuals-criminal CIRCLE 205 ON READER SERVICE CARD
information. financial and tax records,
school records, government data banks,
Social Security numbers and medical files.
The l66-page book also lists laws on
wiretapping and polygraphing.
The book is available for $14.50 from
NEW BYTE SHOPPER
AVAILABLE
PERIPHERALS
PRIVACY JOURNAL, P.O. Box 8844,
Washington, D.C. 20003. The new Spring, 1978, edition of the APPLE ANNOUNCES DISK II
BYTE SHOPPER, a unique guide to the
CIRCLE 202 ON READER SERVICE CARD fascinating world of personal computing, is' Apple Computer, Inc. today announed
now available through MicroAge. In keep- Disk II, the newest intelligent peripheral for
ing with microcomputer industry trends, the its popular Apple II personal computer. The
new edition provides the reader with a new device is the easiest to use, lowest priced,
VENDOR complete key to computer system selection,
and a guide to disk drive selection. New
and the fastest minifloppy disk drive yet
offered by any personal computer manufac-
LITERATURE sections focus on systems designed
specifically for business applications.
turer.
Disk II's rapid access to programs and
Recognizing the need for education, the data makes home applications, such as
BYTE SHOPPER is also an introductory personal finance easier; for example, a user
CUSTOMER NEWSLETTER text to personal computing, providing a can store a year's worth of financial records
FROM IMSAI glossary of computer buzzwords, and in one place and sort them quickly. Likewise,
graphic visualizations of how microcom- a week's worth of stock prices on the New
The IMSAlder, a customer newsletter puters work and where they can be useful. York Stock Exchange can be stored and
from IMSAI Manufacturing Corporation, is Expanded to 72 pages it has a complete processed on a single diskette. Moreover,
now a bimonthly publication in a new glossy description of microcomputer systems, Disk II allows the Apple II to handle a wide
18 CREATIVE COMPUTING
range of business applications including generator is user-reprogrammable to which all system software has been inter-
inventory, general ledger, payroll, etc. Each provide any user defined 5x7 dot matrix faced. This allows the system to be simply
of these functions is made possible because characters. The 128 character ASCII unpacked, plugged in and brought up
Disk II permits rapid storage and retrieval of decoder supplied is also user- immediately. The I/O routines can then be
large quantities of information. reprogrammable to accommodate alternate modified with the included system software
The Disk II subsystem consists of an character codes or code sets. at the user's convenience.
intelligent interface card and either one or The blinking full field cursor can be Software included in the DISCUS I base
two mini-floppy drives. The computer will directly positioned in any screen location, or price features an integrated DISK/ ATP"
handle up to seven controller cards and turned off for a clean graphic display. A system containing most utilities: Disk
fourteen drives for instant access to more nondestructive read screen function Operating System, File Management,
than 1.6 million bytes of data. The combina- transmits the ASCII code for the character System Debugger, Text Editor, Batch
tion of a bootstrap loader in ROM (read at the cursor position to the user, with Processor and 8080 assembler.
only memory) and an operating system in automatic spacing. Other features include Also included in the base price is BASIC-
RAM provides powerful disk handling clear screen, bell code and wrap-around. V". a virtual disk BASIC With the ability to
capability with the following features: The VTE-I provides a 75 ohm composite address up to two megabytes, and to
*Full disk capability for systems with as video output that will directly drive any U.S. accommodate a wide variety of data types
little as 16K bytes of RAM compatible black and white television including string-oriented arrays with an
*The ability to load and store files by monitor, or the optional MON-I monitor unlimited number of dimensions. BASIC-V
name available from E&L. Standard TV sets may will be delivered in late summer 1978.
*Random and sequential access be connected through readily available VHF Also included are patches for CP / MT".
*Automatically generated file-name direc- converters, or modified by qualified ser- For users wishing to supplement the
tories (catalog detailing diskette contents for vicemen to provide a direct video input DISCUS I software, several extra-cost
I each diskette) connection. options are available. CP / MT" for Digital
*Storage capacity of 116 kilobytes per List price of the VTE-l is $600.00 fully Research 'is available for $70. Microsoft
diskette assembled, or $450.00 in kit form. Optional Extended Disk BASIC ($199) and Disk
*Ability to be driven from Appli II power MON-I monitor (assembled only) is priced FORTRAN ($349) are also available.
supply with no other power required at $210.00. E&L Instruments, 61 First St., Memory products designed and manufac-
*Unique patented design that reduces Derby, CT 06418, (203) 735-8774. tured by Thinker Toys now includes the
power consumption and motor wear while CIRCLE 207 ON READER SERVICE CARD
DISCUS IT" full-size floppy disk, Disk
permitting the drive mechanics to operate at Jockey IT" universal S-IOO disk controller,
higher speed. Supe Ram'" 32K and Supe Rarn 16K static
The measures of Disk II's performance are memories, and Synchro Fresh'" 8K dynamic
summarized below: - memory.
Parameter: Disk Capacity; Data transfer For further information: Neila Rich-
rate; Track access time. mond, Thinker Toys, 1201 10th Street,
Specification: 116K bytes (soft-sectored Berkeley, CA 94710, (415) 524-5317.
format); 156K bits/second (I9.5K bytes/sec-
ond); 200 milliseconds average; 600 milli- CIRCLE 208 ON READER SERVICE CARD
seconds maximum.
Disk II will begin shipping in June 1978 at
an introductory price of $495. This price
includes both controller card and Disk II
Drive.
CIRCLE 206 ON READER SERVICE CARD
JAN 1979 19
COPS "no-frills" display terminals is emula- Objective Design, P.O. Box 20325, orga:niz'ational facility that supports sequen-
tion. Computer Peripherals Corp. offers Tallahassee, FL 32304, (904) 224-5545. tial, random access] and hierarchical chained
emulators for the Hazeltine 1510 and the (Codasyl-like) data structures on any ran-
CIRCLE 211 ON READER SERVICE CARD dom access device.
DEC VT52.
The COPS 10 "no-frills" terminal is being FM-ll allows preallocation of file space
offered at a cost of$750. Currently, there is a completely under programmer control, and
thirty day delivery on units ordered. performs all maintenance functions for
Contact Computer Peripherals, 1225 inserting or deleting records in a sequential
Connecticut Avenue, Bridgeport, CT 06607, (e.g., indexed) file. FM-ll is most at home in
(203) 333-8339. highly sophisticated data base applications
and provides multiuser file interlock, multi-
CIRCLE 209 ON READER SERVICE CARD ple owner record linkage and a complete
access/update function group for associated
records in a chained structure.
NCC ENHANCES MODEL 43 The package is now available as a user
TELETYPE library or integrated into a licensed RT-ll
operating system. Priced between $495 and
Added value at reduced cost is the $895, depending upon configuration and
advantage National Computer Com- distribution medium.
munications delivers to prospects for
For more information contact: MultrCept
Teletype's Model 43, 30 cps, matrix UNIVERSAL INTERFACE Corporation, 201 West Pine Street, Rome,
teleprinter. Called NCC 1043, the basic CONTROLS EXOTIC
product offers Model 43 performance, N.Y. 13440 (315) 337-1000
features and options, but as discounted PERIPHERALS
CIRCLE 213 ON READER SERVICE CARD
prices of $965 per unit. An NCC 1043[[ A single RS-16-H, requiring one parallel
version includes NCe's Bell-compatible 1/0 port, can be used to control many
AC 103 modem attachment. EIA RS232C or different peripheral devices as directed by a
current loop interfaces are available. microcomputer. The device provides all MITS 88006
For more information contact: William F. electronics needed to drive 16 outputs TELECOMMUNICATION
Tilley, President, National Computer Com- (relays, motors, lamps, solenoids) and sense
munications Corp., 171 Worcester Road, SYSTEM
16 to 24 inputs (TTL or switch contacts,
Wellesley Hills, MA 02181; (617) 235-7055; including magnetic reed switches) with all The Microware-PBS has announced a
or Robert M. Loonin, CEO, National inputs and outputs brought to a 44 pin edge telecommunication system for the MITS
Computer Communications Corp., 26 Sixth connector. If the interface ever fails, a special Altair 8800b microcomputer. This system
Street, Stamford, CT 06905, (203) 325-3831 diagnostic connector can be substituted. enables the MITS 8800b to be used as an
or (800) 243-9006. Failed lCs can then be found and replaced intelligent terminal in two way communica-
CIRCLE 210 ON READER SERVICE CARD using the diagnostic BASIC program tion with a remote time sharing device over
provided, without need for factory repair. the telephone lines using an acoustic coupler.
Each output line can be individually set or The telecommunication system consists of
cleared using BASIC, machine code, or an assembly language routine and another
HARDWARE other language by means of 1/ 0 read or write
commands. A special command (or the
program written in MITS disk extended
Basic. Control commands are provided to
manual reset button) can be used to clear all enable the operator to switch command
outputs simultaneously. If desired, simple console communication from the remote
COMPUTER JUGGLES MANY switches can be wired to allow manual device to MITS and vice versa. This system
override of the computer's commands. may be used to communicate and transfer
TASKS Since all peripheral device inputs and any kind of data files to and from a remote
S-l 00 computers can handle simultaneous outputs pass through an edge connector, time sharing device at speeds up to 300 baud.
problems when outfitted with the M U LTI- electric trains, stereos, burglar alarms or The hardware requirements are MITS 8800b
T ASKER, an interrupt handling board from other devices can be wired to individual with 32K core memory and one or more
Objective Design, Inc. Having interrupts in connectors and the RS-16-H can be plugged floppy disks. It is supplied on an 8" floppy
the system allows one computer to do the into anyone of these. disk with an 18 page User's Manual. The
work of many. For example, with an Completely assembled and tested with system is priced at $195.00 which includes
interrupt driven system you can: handle handsome case, sample BASIC programs the source listing. The User's Manual may be
program development on several terminals and installation manual at $229. The purchased separately for $20.00 for system
at once; run household appliances and play installation manual alone is $5, and can be evaluation and its, cost may be app!ied
games at the same time; and continue using applied toward purchase for 90 days. Cooper towards the purchase of the telecomrnunica-
the computer while a: slow printer is churning Computing, P.O. Box 16082, Clayton, MO tion system at a later date.
out a listing. 63105. For more information contact: Mr. Mark
Unlike less sophisticated interrupt boards, Shelton, Microware-PBS, P.O. Box 47,
CIRCLE 212 ON READER SERVICE CARD Blacksburg, VA 24060.
the M UL TIT ASKER does not use forced
'RESTART' instructions-which tie up the
CIRCLE 214 ON READER SERVICE CARD
near-zero address space. It can be located
anywhere in memory-and will generate
'CALL' vectors to any location. The com- SOFTWARE CP/M MACRO PACKAGE
plex assembly language software required
for handling interrupts is available on Structured Analysis Systems has
PROM (which goes into space provided on developed SP80, a set of structured
the board), making the interface into a high FM-11 FILE MANAGEMENT programming macros for the 8080/ Z80.
level language relatively easy. SYSTEM Macro libraries are available for the TDL
Another M UL TIT AS KER board option Z80 assembler V2.2 and the Intel macro'
is a crystal derived Real Time Clock. Timed MultiCept Corporation announces the standard. SP80 provides all common struc-
interrupt intervals are hardware selectable FORTRAN-compatible FM-ll file tured programming consructs; DO for count
from 100 microseconds to 100 milliseconds. management package for the DEC RT-II iteration, IF-ELSE for two path conditions,
Software counters can extend this time into operating system. As a replacement for SELECT-CASE for multiple path
days or years. FORTRAN file I/O or as an additional branching, REPEAT-UNTIL and WHILE
MUL TIT ASKER without PROM in kit capability for FORTRAN or MACRO loop constructs as well as a special LOOP-
form is $205.95. Shipping costs are $5.00 applications, FM-ll supplies the EXITIF-ENDLOOP which allows multiple
Canada; $20.00 overseas. programmer with a powerful data base exits from imbedded loops. All constructs
20 CREATIVE COMPUTING
the $988 Surprise •••
If you haven't looked carefully This means TRS-80's memory Radio Shack's 58 years of con-
at the Level-II 16K TRS-80, is equivalent to a 28K RAM- sumer electronics leadership,
you're in for a big surprise! based system. our 50 regional repair centers
Level-II BASIC gives TRS-80 New for 1979- TRS-80's (growing to 100 this year), our
advanced features like com- numeric (calculator) keypad new Radio Shack computer
prehensive string handling, included on every 16K com- centers, and our NYSE-listed
multi-dimension arrays, puter, and available as an billion-dollar parent, Tandy
multi-letter variable names, add-on for present owners. Corporation, insure ~hat cus-
named cassette files, full edit- tomer support is always avail-
ing, integer arithmetic, TRS-80's modular design able right where it should
single (o-digir) and double allows easy expansion. Add be-locally.
(Io-digit) precision arithme- up to 48K RAM, Expansion
Interface, printers, 1 to 4 So if you haven't seriously
tic, formatted printing,
Mini-Disks, RS232C, tele- looked at TRS-80 yet, ask
memory-mapped video (print
phone acoustic couplers, your local Radio Shack for our
directly at any of 1024 screen
Voice Synthesizer, dual cas- new 20-page fact-filled catalog
positions), 128x48 video
sette recorders, our System and be prepared for a $988
graphics (may be intermixed
Desk and Printer Stand. Sur- surprise. Surprising power-
with text), error trapping, auto
prisingly, these are not prom- features-price-support!
line numbering, TRACE,
ises of things to come, but teal Level-II 16K systems include
PEEK and POKE ... to name
products being delivered right everything pictured, plus the
just a few. Because Level-II is
now. Software from games to manual. Better to be surprised
in ROM, TRS-80 powers-up
General Ledger are available, now ... before you choose
ready to go with the full 16K
the wron microcomputer
RAM available for your use. with more cassette and disk
software being added
f
system. '.
monthly,
allow signed and unsigned relational tests WORD PROCESSING
(EQ, NE, LE, LT, GE, GT) and condition
code testing. Availa ble with the TD L version SOFTWARE
is the use of conjunction (AND) and Prornedics Data Corporation, a turnkey
disjunction (OR) in any construct. computer system and software company, has
As an example, to find the first non- announced a Word Processing System for
numeric in an input buffer, the following professional applications. The software is
SP80 code could be used. The code requires very flexible in nature and has features found
19 bytes and has an average loop execution only on larger more expensive computers.
time of 46 T-states (23 microseconds). These features include disk storage of files,
LXI H,BUF, ;LOAD START OF automatic date insertion, global search and
BUFFER . replacement, block text move or copy, bell
LOOP warning at end of line, ruler option,
MOY A,M; GET MEXTCHARACTER automatic centering, underlining, cursor
EXITIF. A, GT, 39H, OR,. A, LE, 2FH backspace and erase, automatic new line
EXIT IF A NOT ASCII 0-9 generation, paging and multifile concaten- FLOPPY DISK STORAGE
INX H; CHECK NEXT CHARACTER ation. SYSTEM
ENDLOOP The software is written in BASIC and runs
Why use structured programming macros on any system supporting a BASIC compiler The FLOPPY DISK STORAGE
for microprocessor assembly programming? . and interpreter. The software is currently SYSTEM (Pat. Pend.) insures data integrity
Faster program development; easier running under the CP I M operating system by providing a safe environment for your
maintenance; self documenting code; same and under RSX-II M with BASIC+2. The diskettes from coffee spills, cigarette burns,
SP80 program can be used with Z80 or 8080 software is available to both end users and creases, folds or a bad case of the bends.
macros; reduced learning time; reduced OEMs. The single user license fee is $750 or The uniqueness of this design offers fully
debugging time; shorter program listings; a complete turnkey system including general indexed, instantaneous, retrieval of your
efficient programs; no software required ledger and accounts receivable is available most frequently used diskettes through easy
other than your macro assembler. for $13,500. push button control.
A manual containing listings of all macros For further information contact SPECIFICATIONS AND PRICES: 15
in the two libraries, a discussion of macro Promedics Data Corporation, 1032 Elwell slots-4 lbs., 4V4"W x 9X"H x Io Yl"D,
syntax, constraints, memory and execution Ct., Suite 240, Palo Alto CA 94303. $69.95: 30 slots-·8 lbs., 8"W x 9W'H x
time requirements, a detailed example with 10Yl"D, $119.95: 50 slots-13 lbs., 13"W x
CIRCLE 217 ON READER SERVICE CARD 9W'H x 10!;S"D, $179.95.
corresponding conventional program, and
general notes and suggestions is available for MATERIAL: High Impact Plastic
$19. A diskette containing the macro COLOR: Eye Pleasing Beige
libraries is available for $19 in CP/M file
format.
MISCELLANEOUS For further information contact: The A-
Team, lnc.. P.O. Box 719, Broomfield, CO
Structured Analysis Systems, P.O. Box 80020.
2745, Reston, YA 22091.
CIRCLE 219 ON READER SERVICE CARD
CIRCLE 215 ON READER SERVICE CARD
22 CREATIVE COMPUTING
TO: Microsoft, 10800 NE Eighth, Suite 819, Bellevue, WA 98004
Cardholder's Signature _
Name _
I\rsonal
Electronic
Transactions
by Gregory Yob
I am happy to hear from you, and encourage
your correspondence. I will try to acknowledge all
correspondence, and a SASE makes things easier
for both of us. Please send your letters to
"Personal Electronic Transactions" c/o PO Box
354, Palo Alto, CA 94301.
Presently there is an incredible several "TV" signals which may be modulator, such as a Pixie-Verter, to
variety of hardware and software combined to provide the composite make the composite video into a signal
products on the market for the PET. video used by most television for your TV antenna input - get in touch
Due to the void we all have experienced monitors. (Note: If you have an or- with your TV repairman. If you try this,
during the past year, there is a tenden- dinary TV set, you must use a RF the picture will not come out very well-
cy to applaud every new product as so try and find a monitor.)
FIGURE 1 PET USER PORT DIAGRAM s PINOUT INFORMATION
The simplest and cheapest circuit
really great. However, once something
better arrives, often the earlier product that does this is shown in Figure 2. The
is seen in a more realistic light. total cost is around $2.00. More than
Unfortunately, some of you will be one monitor can· be attached if re-
stuck with the earlier model. quired. The integrated circuit used is a
There isn't much I can do about all 74LS02.
this unless I make this column mostly
reviews - which I won't do. When I see
~ 111111111111 / TOP VIEW
Exploring PET Random Numbers
There are many situations where you
something especially good or bad, I TOP.;.,1
======~12 need random numbers - for example, I
will mention it to you. EDGE V I EW
games which roll dice or shuffle cards, '
A Plug and a Non-Plug simulations which vary starting con-
If you want to extend your PET's PET us E R PO RT ditions or have "acts of God" and so on.
memory, along with several other The PET has a function,-RND, whiCfi-
options, my recommendation goes to: PINOUT INFORI>'ATION ( USER PORT ) will provide you with a random number
. Expandapet by Convenience Living . 12 post+tcns with 24 contacts. 0.156" splicing. Keys between
pins I and·2. ;:and pins 10 and 11. (Finding thIs connector can be
with value between 0 and 1.
Systems, 648 Sheraton Drive, Sun- difficult - take a 22 ccst trcn, 44 ccn+ec+ connector and a hacxsev A quick way to see how the RND
and make your own. The leftover part fits nicely on the cassette
nyvale, CA 94807 (408) 733-0688. If you port.l function works is to enter this program
give them an inquiry, mention this TOP BOnOM
into your PET and RUN it: .
column. 1 Ground A Ground
10 INPUT R
If you are interested in the PET's ,
2 TV Video
IEEE SRQ C
B CA1
PA 0
20 PRINT RND (R)
ROM and what's inside it, several 4
5
IEEE EOI
o 11Ignost rc Sense
0
E
PA
PA
1
2
,30 GOTO 20
vendors are selling "PET ROM Dis- 6
J
Tape Re<!ld I 1
T1Ipe Read I 2
F
B
PA
PA
,
4
If you try a negative number, such as
assemblies." I don't know of one that is 8
9
Tepe WrIte
TV ver-ttca t Synch
J
K
PA
PA
5
6
-2.987654, you will see the same value'
worth more than the paper it comes on. 10
11
. TV Horl zonta!
Gr-ound
Syr)ch L
M
PA J repeated on the screen. (In this case.:
CB 2
The PET ROM includes many different 12 Gr-ound N Ground you get .12782608) NOTE: The
things besides the 6502 code, and the negative integers tend to give con-
disassemblies I have seen tend to sistently small values, such as
ignore such small details. . 4.20313882 E-08 for -45.
FIGURE 2 COMPOSITE VIOEO MIXER FOR PET TO TV MONITOR
If you try zero, you will see values
Some Data on the User Port
Many of you are in the situation of around .5 to .6, with .620111383
having a PET, and no information appearing about half the time.
about the various ports on the rear. f C is 74LSG2
If you try a positive number, the
Figure 1 shows the pinouts and signals numbers will be different and seem to .
for the User Port, which is the middle be random. If you want to see the
connector in the back.we will be using HORIZ
numbers at a readable pace, press RVS
this port for making PET noises and to slow the display, or STOPto stop the
music. . PET
390n
program.
VIDEO
PET This gives us some rules for the PET
PET Slave Video Display o GNO"'!:-- RND function:
Those of you in a teaching situation Rule 1: RND(negative number) will
may have use for more than one display always give back the same value
PET Video Hixer by Conmodor-e Pet Users Club
of the PET screen. A close look at the of England - Newsletter issues 1 & 2, page 9
each time it) is used with a
lines on the top of the User Port reveals particular nurpber.
24 CREATIVE COMPUTING
Rule 2: RND ( 0 ) doesn't work. INT(RND(1)*6)+1 for power. When the connectors were
RLlle 3: RND (positive number) gives 20 GOTO 10 hooked to the PET, I glued the perf-
random numbers. It's handy to define a general purpose board onto the connectors, making a
Now turn off your PET arid turn it on random function by: one-piece unit that's easy to hook up or
again. Then enter: DEF FNR(X)=INT(RND(1)*X)+1 remove,
PRINT RND(5) .tor any positive If a range of numbers is desired, say If you use this unit, DON'T FORGET
integer) from X to Y, the expression becomes: THE 47 OHM RESISTOR!! The +5
.576189016 INT(RND(1 )*(Y-X+1 ))+X supply for the PET second cassette can
If you repeat this procedure, turning only supply around 100mA arid the
off the PET and printing a random speaker will appear to be a short circuit
number, you will get the same result- when the transistor is on. The 47 ohm
this gives us another rule: resistor prevents the +5 supply from
Rule 4: PET always starts its random burning out!!
numbers from the same place The PET sounds are made via the
. when you turn on the power. User Port line called CB2. This line is
As you can see, this means if you usable in several modes, two of which
come home from work, and want to pay are good for making sounds. One
a hand of poker with your PET, you will warnihg: When you fool with CB2, you
keep getting the same hand every day. will usually remove the PET's ability to
To get around this, let's look at another SAVE or LOAD tapes. To restore
thing: normal operation, use these
Turn on your PET again, and obtain PET Sounds and Music statements:
the first five random numbers. The PET arrives to you in a mute POKE 59466,0:POKE 59467, O:POKE
.576189016 condition-giving it a voice is quite 59468,12
(Done with: FOR J=1 TO 5:?RND(5) simple to do, and now you can play So, when working with sound, SAVE
:NEXT) "music" or add some sound effects to on tape before you RUN the program.
.306654204 yourqarnes or make an alarm clock or Clicks
.377004198 anything you can imagine that can use The User Port is controlled by 16
.739710661 simple sounds. memory addresses in the PET. For
.124558778 Figure 3 shows a very Simple circuit musical purposes, four of these have
Now reset your PET again, and enter: that can be hooked to your stereo or meaning:
PRINT RND (-1.234) other audio amplifier. If you want more 59464 Frequency Control
.27232287 freedom,use the device in Figure 4. I 59466 Timbre Control
For J = 1 TO 4:PRINT RND(5); NEXT took a3" x 5" perfboard, a 44-position 59467 Shift Register Mode Control
.69531946 edge connector and some epoxy glue 59468 Click Control
.593247651 to make mine. Theedqe connector was If you want to learn more about the
.0105296875 sawed Into two pieces, one for the Use'r other User Port addresses, get the
.69904041 Port, and one for the 2nd Cassette Port MOS 6522 specification from MOS
The sequence is now different! This Technology.
leads to Rule 5: The CB2. line is set high by the
FIGURE 3 VERY SIMPLE CIRCUIT FOR' PET SOUND VIA CB2
Rule 5: RND(negative number) statement POKE 59468, 224 and low
resets the random number . PET CH2 by: POKE 59468,192. If you enter these
generator at a new starting place 220K'O lines on your PET, when you press
determined by the negative RETURN you will hear a faint click from
number. HI FI your speaker. To get another click, you
There is one trap to avoid with TAPE OR AUX must enter the opposite POKE, since
INPUT
resetting the random number function. changing high to high or low to low
47KO
The best way to see it is to try this doesn't make a sound.
program: PET GND If you do this rapidly enough, you
HI Fl 6ND,
10 INPUT P can get a buzz. Try:
20 P=RND(-P) Connect the output to a standard ReA plug & audio cable FOR J.=1TO 1000:POKE 58468,192:
30 PRINT P and hook, to the Aux or Tape input of your sound system. POKE 59468,224: NEXT
40 GOTO 20 You will hear a buzz for about 20
When you RUN this, the results will not seconds. The most rapid possible buzz
be random. Instead, two values will can be made with:
alternate with each value varying FIGURE 4 SELF CONTAINEO PET SOUNDHAKER CIRCUIT A=59468:B=192: C=224: FOR-
slightly each time. If some of you want J=1T01000:POKEA,B: POKEA,
to check the PET RND function further, C:NEXT
F1ndorscroungea2or3inchspeaker +5Volts
I suggest the tests in Knuth's "The Art and any handy NPN transistor
of 200 ma current. The 47 Ohm
capable This gives a 5 second buzz which will
of Computer Programming, resistor
larger.
should be 1/2 watt or
My unit was put on a 3"x5"
vary in tone. (The variance in tone '
Seminumerical Algorithms, Vol 2" perfboard with connectors
one edge which makes it easy to
glued to
comes from the fact that the FOR-
put on my PET. Use the PET +5 from
which can be found at most technlcal the 2nd Cassette Port. NEXT· loop changes in speed as J
bookstores. Let's go on to some simple increases - the experimenters among
applications for RND. you can try powers of two for the loop
If you want a number from 1 to limit and see what happens.)
whatever, Use this expression: A "practical application" is to provide
INT(RND(1) *whatever)+1 feedback when keys are pressed. Here
For example, to throw a die, you would Any handy NPN transistor is a little program that clicks for each
use INT(RND(1)*6)+1. Here is a dice- (capable of sinking
key and makes a little buzz' when
200 milliamperes)
thrower for craps or monopoly: CB2 RETURN is pressed:
10 PRINT INT(RND(1)*6)+1 + Ground
10 GETA$:IFA$="" THEN 10 (""
JAN 1979 25
is a null string) 20 POKE 59466, 15 (Timbre to
20 PRINT A$; square wave)
30 C=1: IF A$=CHR$ (13) tHEN 30 FOR F= 200 TO 10 STEP -1
WANT TfJ SAllE C=5 ( 13 is RETURN) 40 POKE 59464,F (Set freq)
40 FOR J=1 TO C 50 NEXT F
50 POKE 59468,192 60 GET A$: IF A$="" THEN 30
TIME AND MfJNEY'? , 60 POKE 59468,224 70 POKE 59466,0
70 NEXT J This makes a "whooping" sound. The
80·GOTO 10 lines 60 and 70 provide a nice way to
I leave you with the exercise of com- stop the program with silence-it gets
Il!el .Ajtollo do it
bining this with a false cursor and annoying to stop a program and have
making a nice string input routine. . the tone on. If you want a police car,
Tones change line 30:
The CB2 line can be put into a "free- 30 FOR F = 200 TO 10 STEP -11
running" mode where it can make a A more regular· siren is done by
tone while your BASIC program is sweeping back up-add these lines:
• computer processmg doing other things-something your 50 FOR F=10 TO 200 STEP 11
• key punching clicks program can't do. To make a 52 POKE 59464,F
• programmmg tone, enter: 53 NEXT F
- and POKE 59467,16 Have fun "tuning" this one up-try
• systems design POKE 59466,15 100,200 Step 3 and so forth.
POKE 59464,200 "Space Sounds" can be made by
You will now hear a tone in the octave changing the "whooping" program
below middle C. But! There's no end to lines:
S OFTSYSTEMS T ECHNOLOGY™
CORPORATION
Those of you who want to play music
should note that the frequency made
by CB2 when 59466 is set to 15 is given
by this formula:
Mail Address: P.O. Box 67811
Frequency = 1000000/16*(V+2))
CENTURY CITY, CALIFORNIA 90067
whereV
Please send me the following:
is what you POKE into 59464. Since the
[lST-10S0FTRAK'" 5min/side$1.50ea. PET has a crystal clock, the stability of
[ 1 ST-20SOFTRAK'"10min/side$1.75ea. pitch is more than excellent.
[ 1 ST-60SOFTRAK'"30min/side$2.50ea. Since I am running a little short of
CALIF. RES. ADD 6% Sales Tax space, music playing programs will be
FOR POSTAGE & HANDLING ADD: UP TO $5 ADD $100.
UP TO $10 ADD $1.50 - OVER $10 ADD $2.00.
covered in the next column.
Meanwhile, let's do some sound
Name
effects.
Address The first thing to do is to sweep the
frequency with a loop like this:
City State Zip
10 POKE 59467,16 (set CB2
mode)
~~----------~------------~
CIRCLE 187 ON READER SERVICE CARD
You can't beat our prices · · ·
nor can you beat our delivery!
NORTH STAR CROMEMCO
NEW: Double Density now SYSTEM 3
available - no increase
in price! OUR
MiniMicroMart, Inc.
1618 James Street, Syracuse, New York 13203 (315) 422•.
4467
system, List $95 each. $80 each
Multiple User BASIC Now Available!
In this second column, we'll look at much in tHe market for TRS-80 Dr. Ralph James and Dr. Ronald
another TRS-80 magazine, SoftSide, programs. They offer, on Level-I Lodewyck of University of California at
and at two Radio Shack Programs, the and/or Level-II cassettes, programs by Stanuslaus. 'Both are experienced
Level-I BASIC Course and the In- thei r staff and by outsiders. The range educators and have combined their
Memory Information System. includes games from Checkers at $4.95 talents to produce one of the best
We'll begetting into TRS-80 graphics to Star Trek III at $14.95, business computer-assisted instruction courses
pretty soon, within the next issue or programs such as modular inventory we have seen. It is a totally interactive,
two. There's a lot of good-looking management at $20, and personal self-paced system designed to teach
computer art you can generate with software, including Biorhythms at you how to use your TRS-80 to its
rather short programs. $4.95. fullest potential. If you are new to
SoftSide. According to the editorial Also offered are programs taped programming, this course is for you."
page of the first issue, "SoftSide was from listings in the Radio Shack The Contents part of Lesson 1 takes
conceived and born within four weeks manual, for those too busy or too lazy a little less than a minute to run, and
of frantic activity, and this first issue is to key them in: the math subroutines consists of a title page, the information
fraught with all the rough edges that are the ROM test, at $3 each. A nice that holding down the down-arrow key
any fledgling publication is heir to. touch is offering three of the programs will cause the program to pause "to
Please be patient, it's our beginning." printed in this first issue: Cribbage control the pace of your course," a
The first issue does have some rough ($4.95), Pillbox ($3), and Calculator table of contents, the exhortation "Let's
edges, but mainly in the high ratio of ($3). launch right into the world of BASIC"
advertising to programs. Otherwise, The contents page notes, "For uni- with a clever Radio Shack rocket that
the first issue looks quite nice. The 56 formity, we have adopted the Radio blasts off skyward (be sure to list this
pages are typeset, the layout is pleas- Shack TRS-80 Level-II BASIC as the part and figure out how the ingenious
ing, and the new photographs of BASIC dialect within the pages of this movement is programmed), and a note
programs taken directly from a TRS-80 magazine. It was chosen because it that to continue, you must CLOAD the
screen are the best I've seen yet. stands to become the most commonly next part. According to the User
The major article in this first issue, used dialect among microcomputer Instruction Manual, which gives the
dated October 1978, is a 20-pager on a users, and because it shares a common Table of Contents and also procedures
long cribbage program. Its outstanding heritage with the many microcomputer for cassette loading, pause control,
feature, which I'd like to see more languages produced by Microsoft." and student input, pauses are con-
programmers use, is that the program SoftSide is published monthly by trolled by the upward-arrow key.
is divided into sections, each section is SoftSide Publications, Box 68, Milford, Actually, either key will halt the RUN
given a name, and the purpose and NH 03055, at $15 for one year, $28 for for as long as you hold it down.
process of each section is described in two. The cover price is $1.50. The second part of Lesson 1, the
some detail, line by line' when SoftSide is owned by managing Introduction, takes 80 seconds to load
necessary. This is even better than editor Christopher E. Smith and by and, without pauses, 65 seconds to run.
REM lines, since it's much more software editor Roger W. Robitaille, Sr. The actual run time, however, depends
detailed. All listings are TRS-80 print- The latter owns The TRS-80 Software on how fast you read and how fast you
outs, a great help in eliminating Exchange, although there's no indica- INPUT your responses.
typog raph ic errors. tion in the pages of SoftSide that the The first program is three lines long,
The other programs in the issue are a two organizations are related, other calculates how many days old you are,
state capital quiz, Death Star' game, than that they're both in Milford, New and asks if you would like to see the
calculator program, and a Hampshire. program run again. If not, the next
battleground game, Pillbox. Those Level-I BASIC Course. For $12.95 program is presented, converting
take up 33 pages. Of the other 23 you get what at first looks like a one- Fahrenheit to Celsius, with your input.
pages, 17 are ads, all for programs inch-thick book with a black-and-silver Then you have to load the next part.
generated by The TRS-80 Software cover. But inside, as the TRS-80 The next part introduces line
Exchange. Over 41 percent of the catalog says, is a four-cassette Level-I numbers by adding a line to the age
magazine is bread rather than meat, a BASIC course that "contains eight program, to calculate how many
rather high ratio unless you're very lessons with 26 programs. Written by months old you are. And before you
28 CREATIVE COMPUTING
know it, it's time to load the next part .. written, memory limitations force the structure like PASCAL, or a math
Of course, this is because only so much coverage' to be quite brief, and the workhouse like APL, or a universal
of a lesson can be stored in 4K of constant need to CLOAD (over two language like BASIC, but it is nice tor
memory. And the boxes used frequent- dozen times altogether) can be an- easing gently into programming and
Iy to surround text and examples, noying. However, as during TV com- for educational applications. Judging
although giving a nicely formalized mercials, CLOAD time gives you ample from the documentation, this particular
, appearance to the lessons, do take up opportunity to write checks for paying implementation looks like a go~<:!
several lines per box. bills, file your nails (or throw them PILOT,- but unfortunately - the
After the line-numbers part, you're, away), or have a snack. preproduction copy did not include
asked to proceed by loading Lesson 2~, I'd recommend the Level-I BASIC documentation on how to write and
But if you turn the cassette over to 'Instruction Course to a beginner execute PILOT programs, so we didn't
Lesson 2 on the other side, you get a wanting a very good quickie course, or actually try it.
WHAT?, because you're only halfway' for somebody who has trouble concen- Following the PILOTs are BASIC
through the first side. How come? trating on the Level-I manual, and who programs. The first 25 are financial and
.Because, as on all Radio Shack needs a course that will force him to investment applications, for problems
program cassettes, each lesson is follow instructions and answer such as calculating the present value of
recorded twice, just in case of questions. a future sum, number of days between
problems. So when you turn the Incidentally, the little book-like cover dates, nominal and effective interest
cassette over, you're somewhere in the is quite ingenious, storing four rates, future value of regular deposits,
middle of Lesson 2, not at its begin- cassettes in a closed container. I was depreciation, and so on. These
ning.Soyoueitherhavetofast-forward going to ~suggest that Radio Shack programs are menu-driven and self-
Lesson 1 to its end, or rewind Lesson 2 consider offering these (and perhaps prompting, so at each step you know
to its beginning. also the three-ring binders that hold exactly what you can type in, and error-
eight cassettes) in empty, unlabelled checking features are included. Next
The lessons are very well written, form, as they'd be just right for TRS-80 there are ten CAI programs in history
with examples of how to use variables, users (or for anybody else using and geography, with such topics as
for instance, and examples of how not cassettes, for that matter) to store their capitals of the states, inventors and
to use them, plus novel features such own personal tape libraries. inventions, authors, presidents,. etc.
as characters blinking to call attention But on querying Hadio Shack to find The student can select the category he
to them, and using graphics blocks to if any such plans were underway, I was wants, and then the type of question,
underline or to point out a loop, for told there's been an item in the Radio such as truejfalse, multiple choice, and
example. The user is asked to INPUT Shack catalog for some time, for matching. Finally, there are some other
information for programs, and is also storing music cassettes. It's a "folding miscellaneous games and math drills,
asked which of several given inputs has cassette storage album," on page 57 of including two Star-Wars-style games,
the wrong format. A correct answer the 1979 catalog, storing 24 cassettes two word jumblers, two memory
results in compliments such as "RIGHT ($4.95 for item 44-609, which has a testers, and even two very familiar-
ON!" A wrong answer will cause the handle) or 12 cassettes ($2.59 for item looking games, Rock-Scissors-Paper
program to tell you what was wrong 44-612). Looks to be very much like the and Russian Roulette (could swear I
with that answer, and then the question same type of plastic cassette holders saw them somewhere before, but it's
is repeated. used in the TRS-80 program binders. probably my imagination).
Subsequent lessons teach INPUT, 100 programs for $49.50 is certainly a
LIST, RUN, PRINT, TAB, PRINT AT, bargain, but none of the ones we tried
END, LET, IF/THEN, GOTO, READ, The Library 100 from The Bottom are going to make you say, "Wow, I'm
DATA, DIM, FOR/NI::XT, ABS, INT, Shelf (Box 49104, Atlanta, GA 30359) glad I bought a TRS-80 so I could run
RND, SET, RESET, POINT, GOSUB, consists of 100 TRS-80 programs. We this program," though Tiny PILOT
ON/GOTO, ON/GOSUB, and received a preproduction copy of the might have been an exception. Per-
RESTORE. first fifty for a 16K Level II machine. The sonally, I'd rather buy a few really
The very last program gives a clever tape includes two versions of Tiny fantastic programs than a truckload of
use of RESTORE to search through PILOT - one in 4K, one in 16K. For the average ones. On the other hand, if you
DATA statements for a matching uninitiated, PILOT is a computer need a wide assortment of financial
INPUT number. language designed for writing CAI calculations and other things this may
Although this course is very. well dialogs, not a real heavyweight on be for you. •
,,1'+8 .'?/J
JAN 1979 29
,),
Did you know that Digital Research INFO 2000 CORPORATION TARBELL ELECTRONICS
isn't necessarily the best place to buy a 20630 S. Leapwood Avenue 950 Dovlen Place, Suite B
CP/M operating system '" even Carson, CA 90746 Carson, CA 90746
though they're the folks who developed (213) 532-1702 (213) 538-4251, 538-2254
it? The reason is because the versions
LIFEBOAT ASSOCIATES THINKER TOYS/MORROW'S MICRO-
of CP/M they offer are configured only
NORTHSTAR format, MICROPOLIS STUFF
for an IntelMDS system. (I guess you'd
format 1201 10th Street
be in Fat City if you have an Intel MDS!)
164 West 83rd Street Berkeley, CA 94710
The OEMs (Original Equipment
New York, NY 10024 (415) 524-5317
Manufacturers) who buy CP/M from
(212) 580-0082
Digital Research usually will configure VECTOR GRAPHIC, INC.
a version for your particular system ... MSD, INC. 31364 Via Colinas
and certainly offer one configured for 2765 S. Colorado Blvd. #110 Westlake Village, CA 91361
their system. Following is a partial list Denver, CO 80222 (213) 991-2302
(those who authorized release of their (303) 758-:7411
VISTA COMPUTER COMPANY
names) of OEMs who support, and
MICRO V CORPORATION 2807-F5 Oregon Ct.
offer, CP/M:
17777 S.E. Main Torrance, CA 90503
AL TOS COMPUTER SYSTEMS Irvine, CA 92714 (213) 320-3880
2378 B Walsh Avenue (714) 957-1517
EAS-Electro Analytic Systems, Inc.
Santa Clara, CA 95050
MICROMATION INC. PO Box 102
(408) 244-5766
524 Union Street Ledgewood, NJ 07852
COMPUTER MART OF NEW JERSEY San Francisco,CA 94133 (201) 584-8284
ICOM format, MICROPOLIS format (415) 398-0289
Commercial Computer Inc.
501 Route 27
RESEARCH MACHINES LTD. 9742 Humboldt Avenue South
Iselin, NJ 08830
PO Box 75 Minneapolis, MN 55431
(201) 283-0600
Oxford, England (612) 884-8003
DIGITAL MICROSYSTEMS, INC. 086549793
Northwest Microcomputer Systems
4448 Piedmont Avenue
ROTHENBERG INFORMATION 749 River Ave.
Oakland, CA 94611
SYSTEMS, INC. Eugene, OR 97404
(415) 658-8532
260 Sheridan Avenue (503) 688-6771
DYNABYTE, INC. Palo Alto, CA 94306
Rex Computer Corp.
1005 Elwell Court (415) 324-8850
3014 Univ. Ave. S. E.
Palo Alto, CA 94303
SCOTT ENTERPRISES Minneapolis, MN 55414
(415) 965-1010
MICROPOLIS format (612) 379-4800
GENERAL TECHNICS, INC. 627 Orangewood
The CP/M User's Group is up to
DIGITAL GROUP format Newbery Park, CA 91320 THIRTY-THREE VOLUMES! You
1515 W. Main
SPACE BYTE COMPUTER CORP. mightwantto drop a line to them at: 164
Peoria, IL 61606
646 Sunset Blvd. Suite 530 W. 83rd St., New York, NY 10024. Ask
(309) 673-8080
Los Angeles, CA 90028 for their list (North Star, Micropolis and
GNAT COMPUTERS, INC. (213) 468-8080 standard diskettes) and enclose $4 (to
7895 Convoy Court, Unit 6
r•• get on their mailing list ... and get the
S. D.SALES
. San Diego, CA 92111 initial list). Each diskette is $8 (diskette,
3401 W. Kingsley Rd. copying & shipping).
(714) 560-0433
Garland. TX 75040 United Software Applications, 342
IMSAI (800) 527-3460
Columbus Ave., Trenton, NJ 08629,
14860 Wicks Blvd.
has a modified version of CP/M, called
San Leandro, CA 94577
OS/M, which you might want to check
(415) 483-2093
30 CREATIVE COMPUTING·
c, 0..0 ::r::E::E..o ::r~ -10 C- !:.~ ., ~ O"::J8. ~ 0'(0 00> ::E-I» ::;- 0' Z 0>~ ::r::E ss'
» $:~oo--~(J)g~im(J)(J)~~3~~o~(J)lli~$:~~~~g~~~0~~~(J)(J)~0>0
z o 0 JJ-O ~ 3"";: ~ -c ~ n, :::r (J)
-0 ;::;: - 0 ~ ~_ Cii- (J)_ c6 :::>' C ~ '<, (J)0> 3 ::r=- ~ '" c~ ::J-
(J)O(f)
~ m(J) -- 0"-- _-::J~ '<3 -I--::J 3 ~--<::J 0> n-- ~
~m»~
~o a
oo>:::r(J)0::r-O"~eno
::J(OO> ::J(J)oOen
ox:::! ::;- en ~ a5 0> _ ~ s. -
_ -:::r~c(O~-
::J8. O(J)~~
~_::r 0" ~ '< ::J~ 0 0>
= ~--
-O»:::r~
_c(J)_::J~(f)O><O>::Jc~
~~--~(J)33-O(J)
~- zr - (J)= a. (J)- c6 ~ 0 (J)-- o -;
::E--J <(0 ::E-- _ ::J0 ::E~ -(0 (J)0 S. ~ <-(0 (J)~::J :g -::::::
::J0> g _ 0" ~'< ::Jo ~_ 0 (J)
?ffim(f) ~~~lo~~::r~~::E~-a5(J)o~~~ (Oa5(Om(J)~~~0~-og~3-0>~(Oo
I 0,< < (J) -0 _ (0 (J)- 0> :::>' zr ~ 0" en ~ c :=;. c 0 (J)c en ~ (J) ::J::J
Z$:oen ono~~(J) - ~::E(O~(J)o>(J)~ oen no.::rcen-o ::J~~On~o.D~
C- __ -(J)~::E 0 0> ,<-(J)'-O> -- c(J) ~(J) ~-o (0- en (0
o $:(J)3 ~3co.~:::r ~::J::Jg~o>~::J$:::J::JJJ ~~~mo.~~~(f)°o~~-I~~-
--J ~ ~(J)::J_::J(J) ---- 0.-0 -0 0-0> o(J)en 0' o~'- 3::J:::r::Jeno
w cen enen~3(O::J ~~o<_-o~~gs~~ 3;0>0>~0>-I3$:~en (J)o.i:::r
m -10 0>0-3(f)
o _~ ::Jc:::r ,<'<
Z ,.- a. 0+ (J)(J)en 0
- O(J)~~(O
O>nC(J)no>(O_0-l
G) 0" :::r
0 - --
- 0
-- zr ::J (f) en __
(J)c3::J-~
~0.(J)0.(J)-
0> r
-0(J)
::J~~-
~
- a
0,<0>
~~: - zr
o<
0>
- (J)
G) » ::Ja. - c o~ 0 (J)-- - 0> 6..,~(J) zr
"7"""' (f)JJ 0 =-:::r g. 0 0>- 0 ~ '.- 0> a. 0 0>
1"/
l-:l
a. (f)(J) (J)
a:::rx-3~
w- < o (0 zr ~
C(J)~;::;:(J) ~O>
~:::;-
~~n
0> 0> <, ::J0 __ -I::J- ~ - en c < Cii-
O"~(J)::E::J o.~~o>c~(J)~~(J)
~
i
_'<c Sl<>-- ~-::J~g-o(O ~n::J~ ;(J) ~(033en(O= a5(J)
::;-
0 (J)< » ::J 3 0> ~ 0 coo ~_ 3 ::E- - --'<, C -0 ~ ~ (J)~ ~ -- 0> -- en .:.- 8.
• (J)~8.g;::;:o> a6..~~~~~::r~~~g ~~~~ro3~8.330>6..~a~;::;:
~
-
RATE FROM 110 TO 9600 BAUD
i:? FLEXIBLE PARITY
•
l"J]
E:: COMPONENT
Orders accepted by phone or mail.
MASTERCHARGE " VISA" COD"
SALES INC.
CHECK"
(415] 861-1345
VISA-
$
i:?
i:?
i:?
LED INDICATOR FOR SHIFT-LOCK KEY ELIMINATES CASE UNCERTAINTY
24 PIN DUAL - INLINE CONNECTOR
LOW PROFILE CASE (OPTIONAL) $40_00
9 70 ~us$:.!~~d~n~~!_~a~o~~e~e~~~!~
~es tax,
Stephen B. Gray
-
1 Year (12 issues) for $15.00
applications, and "stay away from converted Selectric
-
Send check or money order to:
VISA SoftSide Subscriptions
PO Box 68 Milford, NH03055
t.• typewriters."
The products of 24 companies are discussed, from Apple to
Vector Graphics in personal computers, and from Alpha to
Wang in business computers. Some are praised, others have
VISA! Master Charge orders accepted. their "major shortcomings" described in detail. Peripherals are
Send signature, account #, expodate of discussed, and software is thoroughly examined.
card and interbank # (M I C only) along The last chapter, "Helpful suggestions before spending
with r order.
CIRCLE 185 ON READER SERVICE CARD 32 CREATIVE COMPUTING
money," is alone worth the price of the book. The addresses of
dealers and manufacturers take up the last 23 pages.
Before you buy anything, especially if you're just getting into
IMIII
microcomputers, buy this book .
••••
Getting Acquainted With Microcomputers, by Louis E.
Frenzel, Jr. Howard W. Sams & Co., Inc., 4300 West 62 St.,
Indianapolis, IN 46268. 288 pages, pa('erback $8.95. 1978.' .
Lou Frenzel has taken the time to wnte, very carefully, one of The North Star Horizon Computer System.
the best introductions to micros you can get, a welcome contrast (With wooden cover and all standard iterns.)
to some of hurriedly assembled "quickies" around. Lou knows Item List Cash
what he's talking about. Until recently, he was Director of Code Oescription .Prlce Price
NS-H-l Horizon 1 kit $1599. $1299.
Computer and Education Products at Heath, where he started NS-H-l/A Horizon 1 Assembled $1899. $1559.
the entire computer effort that resulted in the H-8 and H-11 NS-H-2 Horizon 2 kit $1999. $1639.
computers and their peripherals, as well as all the Heath NS-H-21 A Horizon 2 Assembled $2349. $1926.
educational products. Now that the computer line is well North Star S-100 Boards
NS-ZPB Z-80A 4 mhz Processor kit $ 199. $ 163.
established, Lou has become Director of Education and NS-ZPB/A Z-80A 4 mhz Processor Assembled $ 259. $ 212.
Publishing, to expand the educational business at Heath. NS-16K 16K 250ns RAM kit $ 399. $ 327.
As the preface says, "this book was written for engineers, NS-16K/A 16K 250ns RAM Assembled s 459. $ 376,
technicians, scientists and others who need to know about
microcomputers." It's written so clearly and simply that any
hobbyist over the age of 12 will find it a great help. After two
TM
chapters on the basics, you learn how to build or buy a
microcomputer trainer. The chapters on software, program-
ming and programming practice are alone worth the cost of the
book. The last chapter on hobby and personal computing is a P O. Box 71 Fayetteville, NY 13066
thorough and thoughtful look at the whole area and at several
CIRCLE 103 ON READER SERVICE CARD
JAN 1979
33
BUILDING BLOCKS FOR
MICROCOM~UTER SYSTEMS,
CONTROL & TEST EQUIPMENT
If you want to learn all about the basics of micros, this is the
book to buy.
R2 I/O
2K ROM
3 SERIAL PORTS
2 K RAM
1 PARALLEL PORT ••••
The BASIC Workbook: Creative Techniques for Beginning
Programmers, by Kenneth E. Schoman, Jr. Hayden Book Co.,
Inc., Rochelle Park, NJ. 127 pages, paperback $5.50. 1977.
This hand-on book is an expanded series of lecture notes.
Because only 20 keywords are introduced, it's not really a
BASIC text, but as the preface notes, "With this limited
vocabulary, however, one can do many things."
TT-10 The book began as a graded collection of problems, and its
main feature is the end-of-chapter problems, each at the top of a
TABLE TOP MAINFRAMES page, with the rest of the page blank, for working it out. If the
student were to use his own paper to work out these 69
problems, the book could be about 44 pages shorter.
The first chapter, Computers and Problem Solving, starts out
very slowly, with LET, PRINT and END in a three-line
program, and ends with INPUT. Subsequent chapters are on
Elementary Statements (IF-THEN, NEW, LIST, RUN), The
Art of Programming (GOTO, REM, flowcharts), Loops (FOR-
NEXT-STEP), Functions, Subscripted Variables (DIM), More
About Input/ Output (READ, DATA, RESTORE), Strings
ECT-100-F (LINPUT), Developing Larger Programs (GOSUB, RETURN,
RACK MOUNT CARD CAGES STOP), and Introduction to Simulation (craps, queuing). The
best appendix is the third, More About Plotters.
The text is well-written and the problems good and varied,
with helpful hints, but no answers given .
••••
COBOL For Students, by Andrew Parkin. Edward Arnold
(Publishers) Ltd., London; distributed by JSBS, Inc., Box 555,
Forest Grove, OR 97116.221 pages, paperback $8.95. 1975.
The book is in two parts. Part I concentrates on the
fundamentals of the language and takes the student to a level
where he can write a modestly sized COBOL program using
PURCHASE PER MONTH serial files. Part 2, which is best used after the students have
DESCRIPTION PRICE 12 MOS. 24 MOS. 36 MOS. reinforced their knowledge of Part I through practical work,
extends the student's knowledge of the language (direct-access
DECwriter II $1,495 $145 $ 75 $ 52 file-handling, for example) and of techniques (such as two-
DECwriter III, KSR 2,195 210 112 77 dimensional arrays and program design).
DECwriter III, RO 1,995 190 102 70 Each part has ten sections that can accompany a course often
DECprinter I 1,795 172 92 63 lectures. The text consists of a few frames of fast-moving
VT100 CRT DECscope 1,595 153 81 56 narrative followed by questions "designed to be a real test of the
student's understanding of both concept and detail." Detailed
TI 745 Portable 1,875 175 94 65 answers are given at the end of each section.
TI 765 Bubble Mem. . .. 2,995 285 152 99 The text is machine-independent and follows ANS COBOL.
TI 810 RO Printer ..... 1,895 181 97 66 The preface includes a checklist of the points of difference in
TI 820 KSR Terminal .. 2,395 229 122 84 the various dialects of COBOL, so that the reader may "make
QUME, Ltr. Qual. KSR. 3,195 306 163 112 notes of the variations that apply to the particular computer" he
QUME, Ltr. Qual. RO .. 2,795 268 143 98 is to use, such as the maximum length of a numeric literal.
ADM ·3A CRT.. .. .. .. .. 875 84 45 30
HAZELTINE 1400 CRT.
HAZELTINE 1500 CRT 1,195 115
845 81 43
67
30
42
••••
HAZELTINE 1520 CRT. 1,595 153 81 56 Robots on Your Doorstep, by Nels Wink less and Iben
DataProducts 2230 .... 7,900 725 395 275 Browning. Robotics Press, 30 N.W. 23rd Place, Portland, OR
DATAMATE Mini floppy 1,750 167 89 61 97210. 188 pages, paperback $6.95. 1978.
FULL OWNERSHIP AFTER 12 OR 24 MONTHS Subtitled "A Book about Thinking Machines," this is not a
10% PURCHASE OPTION AFTER 36 MONTHS
how-to text, but an examination of robots "in the past, present
ACCESSORIES AND PERIPHERAL EQ PMENT and future."
ACOUSTIC COUPLERS. MODEMS. THERMAL PAPER the first two chapters are heavy going, getting into the Anlage
RIBBONS. INTERFACE MODULES. FLOPPY DISK UNITS of creation, heterocatalysis, and biocoenose,just to put robotics
PROMPT DELIVERY. EFFICIENT SERVICE into context, but necessitating a six-page glossary to explain
these and 60 other buzzwords.
Four of the remaining chapters present "a tutorial narrative
1RANSNET CORPORATlO:'V that gradually reveals the design of an artificial intelligence
2005 ROUTE 22, UNION, N.J, 07083
I..---.:..,--CIRCLE
201-688-7800
105 ON READERSERVICECARD ---....,....~
CREATIVE COMPUTING
its
system," but which is mostly about a simple pattern-recognition ytes
ooks.
system that can differentiate between a triangle and a square, for
example.
The remaining chapters offer various observations on
intelligence in general, the structure and operation of the brain,
and on certain characteristics of robots (mostly learning curves).
The last chapter, one page long, says that if the "average
argalns
puzzled reader" seeks "an evaluation of this book from an
authority, he will probably be told this is chiefly nonsense." Not
really nonsense, but of interest only to hard-core robotniks .
••••
Instant BASIC, by Jerald R. Brown. Dilithium Press, 30 N.W.
23rd Place, Portland, OR 97210. 179 pages, paperback $9.95.
1~7. .
The main feature of this "active participation workbook," Technico· IMSAI
whose full title is "Instant Freeze-pried Computer Program- Vector· Cromemco
ming in BASIC," is the "zaniest, wildest graphics available." Limrose •SWTPC
Anything goes-Beardsley, op art, ancient woodcuts, pointing National Multiplex
fingers and an amazing variety of display-type fonts. Adults may
find it all a little too cutesy, but youngsters will surely find it a Solid State Music
welcome relief from pages of solid text in other books.
The author assumes "you have ready access to your own
We stock various books and
personal computer or a system with BASIC PLUS," and teaches magazines of interest to
"Altair style BASIC and the similar DEC BASIC PLUS." The the engineer and computer
text is divided into READ and DO IT sections, the latter being hobbyist. We also have
programs to run. Each chapter ends with problems; answers are
in the back of the book, mostly programs you're asked to write,
available a large selection
from Slot Machine to Sales Report. of components and used
An informal writing style, a detailed examination of BASIC, electronic test equipment.
a great many examples, and a highly imaginative use of graphics
make this an ideal book for young people, and even for
grownups who can catch the spirit. MARKETLINE SYSTEMS, Inc.
The book was originally published by Dymax, whose books 2337 Philmont Ave.
are now being published by Dilithium Press. Huntingdon Valley, Pa. 19006
215/947-6670.800/523-5355
••••
Minimum COBOL, by CBEMA (Computer and Business
Equipment Manufacturers Association). Petrocelli Books, Inc.,
384 Fifth Ave., New York, NY 10018. 336 pages, paperback
$10.00. 1977.
The second book in the PBI series "for the computer and data- Add'on Mini·Disc for the TRS'SO*
processing professional," this provides detailed specifications of
American National Standard Minimum COBOL, which is a
subset of American National Standard Programming Language
COBOL, X3.23-l974. The standard, described in this book
"Was prompted by the need for a COBOL language which
provides basic capabilities and yet can exist in environments Dual and triple drives
such as minicomputer and time sharing, which impose resource also available.
limitations."
The press release elaborates, "The most widely used
programming language, COBOL was originally intended to be
easy to master and use. It has evolved to encompass some ofthe
most complex, though useful, statements found in any
programming language. As more complex statements
proliferate, the need to simplify becomes even greater." Hence
this standard.
The first section provides an introduction, a summary of
elements by module, a list of elements showing their disposition
among the various modules, definitions, a discussion of overall
language considerations and a composite language skeleton.
Sections II through XII contain specifications for the Nucleus
and for each of the ten functional processing modules .
$399~
Requires 16K RAM,
[~Ulll(JMl
PERCOM DATA COMPANY, INC.
Level II BASIC and DEPT. C ·318 BARNES· GARLAND). TEXAS 75042
Phone: (214) 272-34,,1 or
JAN 1979 Expansion Interface. Call toll free: 1-800-527-1592
35
CIRCLE 155 ON READER SERVICE CARD
The Computer in Fiction
Dennie Van Tassel
Broke Down Engine by Ron Goulart. 1971. i92 pages. Collier become more powerful by growing larger and larger. Thus the
Books, 866 Third Avenue, New York, New York 10022. $1.25. world's largest computer is stuck on the moon so it will have
Roh Goulart has collected together 13 of his stories about room and its millions of vacuum tubes can be .easily cooled.
machines. Goulart's stories are funny and the machines never "Sam Hall" by Poul Anderson is one of my favorites. It is about
quite work right which should strike a familiar chord to the downfall of the National Data Bank. A programmer enters a
computerniks. Goulart's stories are populated with walking phoney person "Sam Hall" into the computer data barik and
refrigerators, robot servers and automated disposals fixed by uses him to create a fictional outlaw. The outlaw can't be found
automated repair robots. The trouble is that certain things are even by the national data bank since he doesn't exist. The robot
not quite right in "robotland." Well worth reading. stories are good.
36 CREATIVE COMPUTING
Introducing the personal
computer you've waited for.
The EDdy Sorcerer.
I didn't buy my personal computer un- I wanted graphics, and the Sorcerer my system grow.
til I found the one that had all the is super. Its 256 character set-more I wanted a computer that's easy
features I was looking for. than any other personal computer-in- enough for children to use. Ijust con-
The Exidy Sorcerer does everything I cludes 128 graphic symbols that I can nect my Sorcerer to a video display and
wanted to do and a few things I never define. a cassette tape recorder, and if I have
dreamed of. I wanted high resolution video. any questions the easy-to-understand
It isn't magic. Exidy started with the With 122,880 points in a 512 x 240 Operation and BASIC Porgramming
best features of other computers, added format, I get the most detailed illustra- manuals have the answers. .
some tricks of their own, and put it all tions. I wanted to buy froin an exper-
together with more flexibilitythan ever . Iwanted to display more informa- ienced manufacturer. In five years
before available. Presto! My reasons for tion. The Sorcerer displays 1920 Exidy has become the third largest pro-
waiting just disappeared. characters in 30 lines of 64 characters ducer of microprocessor-based video
Iwanted pre-packaged programs. -equal to a double-spaced typed page. arcade games.
Software on inexpensive cassette tapes I wanted a full, professional key- I wanted to spend less than a
for the Sorcerer is available from Exidy board. The Sorcerer's 79-key data pro- thousand bucks. (This is where Exidy
and many other software makers. cessing keyboard provides designated does a little magic.) My Sorcerer cost
.I wanted user programmability. graphics, the complete ASCII character me $895!
The Sorcerer's unique plug-in ROM set in upper and lower case, and a Now, what are you waiting for?
PACTM Cartridges contain program- 16-key numeric pad. Call Exidy for the name of your
ming languages such as Standard (Altair I wanted memory. The 12k of nearest dealer. (408) 736-2110. Or
8k*) BASIC, Assembler and Editor (so
I can develop system software), operat-
ing systems such as DOS (so I can also
use FORTRAN and COBOL) and ap-
ROM holds a Power-On Monitor and
Standard BASIC; the 8k of RAM is in-
ternally expandable to 32k.
I wanted expandability. Serial and
Sunnyvale,
CA, 94086.
1(18
write Exidy, 969 W. Maude Ave.,
~~~~
I
plications packages such as Word Pro-
cessor.
parallel IIOs are built in, and the op-
tional 6-slot S-loo expansion unit lets
EE inc.
* Altair is a trademark of Pertec Computer Corp.
CIRCLE 198 ON READER SERVICE CARD
Guidance Counselor System
...college placement program
.... ...
'",~ "'"
"' .se •. s" e•••
311~,6
..
e.e
"'"'.sa w."
2'13.13
ee .e
~: Present Value of a Future Sum-Simple Interest for Day.- Future Value of a Pres-
""., "'..
36':1eS.8
m m 61.41 ~.]7 ent Sum-Amortization Schedule-Interest Rate: Compound lnterest=-Interest Rate: Ins!Li-
".
:lt84<I.4
""., 61.9 ~l.''[!
mont Loa.n- Day. Between Dates- Term of an Installment Loan- Present Value of a s'eries of
'",., aa .se 0." <'91.19
I.CO"MRT"lU.I~TOQ!!:I!HS
Z.ctJMRTCDfTlrilllSTO(i:AUIS
3. cnMRT J{CJ(lWIS TO fMIlIS
4. ctJMRT!i/M3TOIltm
S.ctJMRT~TOIltm
s • (D'MRTI£(TOO!MSTOCUUS
7 • C&.tI!T KILOO!MS TO PMDS
0. C&,tRT amc T(lISTO mT TIltS
s . roftUTI[TJ!ICT!JtSTOLlJtiTlJ6
10.D:tf,tRTIJ!IiIHSTOrIA'IS
1l.D:tfmJf.MSTOIJm;
12·, D:tf.tRT tuUStolMlS
13.COO'mI'Wm>TO~ILOCMIS
14 • DlMRT IIIi!mIllG!r TO KILIWiMS
IS • DlMRT Nt TIllS TO Ole l(i1S
ElfTD!1I[IU!IfRcr'I(UClKIUP.
MIND-MEMORY IMPROVEMENT COURSE Steps 1 and 2 foryourTRS-80 computer GT-4 TURKEY BUZZARD - This game will amaze you! Not
can teach you to memorize easily and quickly. The MIND course is a copyrighted. only does it ha~e~n interesting, challenging and amusing
scenano. but It IS perhaps the only game in existance
quality program for the serious minded who want to improve their memory skills. which makes full use of all TRS-90 graphics functions.
Thus, you can actually "see" events encountered in the
Order your MIND course Step 1. only $24.95. Step 2 is $29.95 or save $5.00 and order game! There is even some character animation! Watch
your hu~tjng dog chase his prey! See game birds fly
both for $49.90. (Please add $1.50 each for postage and handling). We will ship your from. th~lr tree roosts! There are all kinds of dangers and
MIND course in its attractive binder which contains 2 computer cassettes. a teaching cormc pitfalls to avoid. Definitely a game worthy for any
true computer gamester!
manual. and also an audio cassette for MIND 2. Please specify Level 1. 4k or Level
11. 16K. GT-6 DRIVER'S ED - This can either serve as an instruc-
ti~nal aid for high school age youngsters learning to
VISA, MC accepted-List name. expiration date, accl. #, 4 digits above name for MC drive or a~ a fun, educatio.nal game for younger children.
Features Include; extensive use of graphics, informing
and signature. user of corre.ct a.nswer whet- he or she misses a question,
and randomization of question order to insure that the
To order or for more information about these or other self-improvement computer t~stee can not answer using a pattern. Actually shows a
picture of each subject it asks a question about.
courses in our Teach Yourself by Computer Series (TYC'") send to:
T Y C Software'" Dept C1 25 Cedar Cliff Drive Camp Hill, Pa. 17011 A PROGRAM FOR SPACE BUFFS
CS-4 PLANETARY WEIGHT - Tell the computer how much
you weigh and it will tell you what you would weigh on
CIRCLE 174 ON READER SERVICE CARD seven other planets and the moon!
ALSO
BT-1 BLANK (leaderless!) CASSETTES - Don't lose pro-
***TRS-80 Software*** grams or data on file because you forgot to advance the
tape beyond the leader! High quality. Our extensive tests
- Quality Level II Software (16K required) - have shown that this special leaderless cassette is best
- Original - Guaranteed - for computer use because it also has an extremely low
incidence of "drop outs", even when compared with the
most expensive low noise cassettes. Package of two for
80-0UT BREAKOUT for the TRS-80! ! $4.00.
Positively Addicting! I $9.95
•Add $1.00 postage and handling.
GALAXY I A truly unique space game. Very challenging - you won't get
All programs executable in Jess than 4K RAM. Choose
bored with this one! ! $7.95 Level-lor II. Available exclusively from
BATTLESTATIONS
DISK PUZZLE
Command the shipboard guns and destroy the enemy air
squadron. Brilliant graphics! $5.95
Try to move 2 to 7 disks from one spindle to another. It's not that
easy! ! .$4.95
-PO
compolrex
Box 536Inman SC 29349-
<>
80-ACROSS A game of strategy. Play against' the computer or 2
players. $4.95 CIRCLE 166 ON READER SERVICE CARD
•• All games use brilliant graphics displays ••
•• Literature of complete program line available ••
•• SPECIAL - Send a blank cassette tof good quality please) with your order and
deduct $1.95 from the price! ! PROGRAMMER (NEW YORK AREA)
- Cal. Residents add 6% sales tax -
LIGORI DATA SERVICES
Excellent opportunity with a growing subscription
P.O. BOX 2482
ANAHEIM, CA. 92804 fulfillment service bureau on Long Island for an individual
with five years experience with mini computers.
CIRCLE 164 ON READER SERVICE CARD
GOOd salary and benefits.
Comfortable atmosphere.
40
Help For TtJe Weary Taxpayer
Gary Young
JAN 1979 41
DECLINING BALANCE METHOD rOR 7 YEARS formatted as low limit, high limit, tax
YEAR 1978 1979 1980 1981 1982 1983 1984 198~ and percent over the low limit. For
rULL YR DEPR 567 486 405 324 243 162 81
ACTUAL YR DEPR 331 520 439 358 276 195 114 33 example, consider the program state-
TAX $ SAVED 148 234 197 161 124 88 51 15 ment "DATA 18200,20200,3830,34".
The tax on $20,000 would be $3830 +
TAX CREDIT 227 TOTAL $ SAVED 1248 ($20,000 - $18,200) x .34 or $4442.
riRST YEAR s 375 WAITING COST/MONTH 21 F.I.C.A. is calculated at 8.1% of the first
$16,500.
Program Output
STRAIGHT LINE METHOD rOR 7 YEARS
YEAR 1978 1979 1980 1981 1982 1983 1984 1985 The program output consists of
FULL YR DEPR 324 324 324 324 324 324 324 declining balance and straight line
ACTUAL YR DEPR 189 324 324 324 324 324 324 135 depreciation calcu lations for three, five
TAX $ SAVED 85 145 145 145 145 145 145 60
and seven years. The computations are
TAX CREDIT 227 TOTAL s SAVED 1248 shown for an extra year in case the
FIRST YEAR $ 312 WAITING COST/MONTH 12 asset life does not coincide with a
calendar year. Full year depreciation
would be the depreciation for a whole
year of the life of the asset, while actual
1000 PRINT "TAX DEPRECIATION PROGRA'1 VERSION 3" year depreciation is the depreciation
1100 REM WR ITTEN BY GARY YOUNG that can be declared on your taxes
1200 REM PO BOX 66572
1300 REM LOS ANGELES. CA 90066
because of the date purchased. Tax
1400 DIM TI(4.10).T2(4.5) dollars saved is the difference between
1500 REM rEDERAL SINGLE TAXPAYERS the taxes paid without the depreciation
1500 REM FORMAT Or DATA STATEMENTS IS deduction and the taxes paid with the
1700 REM LOW LIMIT. HIGH LIMIT. TAX. PERCENT OJER LOW LIMIT deduction. The tax credit is the invest-
1800 DATA 10200.12200.1590.25
1900 DATA 12200.14200.2090.27 ment tax credit that can be claimed
2000 DATA 14200.16200.2630.29 when purchasing an asset. The total
2100 DATA 16200.18200.3210.31 dollars saved is the sum of the tax
2200 DATA 18200.20200.3830.34 credit and the tax dollars saved each
2300 DATA 20200.22200.4510.36
2400 DATA 22200.24200.5230.38
year during the depreciation period.
2500 DATA 24200.28200.5990.40 The first year dollars is the sum of the
2600 DATA 28200.34200.7590.45 tax credit and the taxes saved during
2700 DATA 34200.40200.10290.50 the first year. The waiting cost per
2800 REM rICA = .081 UP TO 16500 rOR 1336.50
2900 REM CALIF STATE SINGLE TAXPAYERS
month is the additional tax that will
3000 DATA 9500.11000.320.7 have to be paid if you wait another
3100 DATA 11000.12500.425.8 month before making the purchase.
3200 DATA 12500.14000.545.9 This value is derived from the tax
3300 DATA 14000.15500.680.10
3400 DATA 15500.1000000.830.11
dollars saved during the first year
3500 rOR J=I TO 10 (without the tax credit) divided by the
3600 READ Tl(I.J).Tl(2.J).TI(3.J).Tl(4.J) number of months that it covers.
3700 NEXT J
3800 rOR J=I TO 5 Summary
3900 READ T2(1. J).T2(2. J).T2(3. J).T2(4.J) The program was written in North
4000 NEXT J
4100 DIM Dl(8).D2(8).D3(8).D5(3).D6(3).D7(3)
Star Basic (release 3) and uses about
4200 REM YEARS DEPRECIATED 4K of memory. No disk or sophisticated
4300 05(1 )=3\D5(2)=5\D5(3)=7 features are used so the program
4400 REM SUM Or THE DIGITS rOR DECLINING DEPRECIATION should be easy to convert to other
4500 D6(1 )=6\D6(2)=15\D6(3)=28 systems.
4600 REM % Or AMT rOR TAX CREDIT
4700 D7(1)=.333333\D7(2)=.666~66\D7(3)=1.00 The sample run projects the effect of
4800 INPUT "DEPRECIABLE AMOUNT? ".PI purchasing a new terminal for $2270 in
4900 INPUT "PURCHASE DATE (M.Y)? ".Ml.Yl May, 1978. If the objective is to gain the
5000 M2=12-MI biggest tax savings as soon as possi-
5100 INPUT "NORMAL TAXABLE GROSS? ".G9
5200 PRINT\PRINT\PRINT ble, then the terminal should be
5300 REM COMPUTE NORMAL TAX,AMT depreciated on a declining balance
5400 GI=G9\GOSUB 14100\Z9=T4 over three years. If the objective,
5500 rOR JI =1 TO 3 however, is to recover the most overall
5600 rOR .J2=1 TO 8\ 01 (J2)=0\D2(J2)=0\NEXT J2
5700 REM COMPUTE THE TAX CREDIT - L9 tax savings, then a seven year plan
5800 L9=INT<PI*D7(JI>*.10) would be better. Knowing the exact tax
5900 PRINT "DECLINING BALANCE METHOD rOH".D5( JI )." YEARS" savings makes it easier to justify the
6000 Y2=YI purchase. _
6100 PRINT "YEAR".TABCl5).
6200 FOR 'J2=1 TO D5(JI )+1
6300 PRINT %7I.INT(1900+Y2).
6400 Y2=Y2+1
6500 NEXT J2
6600 PRINT
6700 Y2 =D5 (JI )
6800 PRINT "FULL YR DEPR".TABCl5).
6900 REM COMPUTE THE rULL YEAR DEPRECIATION
7000 rOR J2=1 TO D5(JI)
7100 DICJ2)=Y2/D6(JI,*PI
7200 REM ~7I MEANS PRINT THE NUMBER AS AN INTERGER 1 DIGITS LONG
7300 PRINT %7I.INT(DI(J2».
7400 Y2=Y2-1
7500 NEXT J2
7600 PRINT
42 CREATIVE COMPUTING
COMPUTER
SPECIALS
••• anCi it's COLOR EXIDY SORCERER™
** Up
Proven 8080A CPU System
16K Extended Disk BaSIC
to 117* Key Keyboard
..•. Up to 32K* RAM
* Minidisk Drive 51.2K Bytes/Side
1»
... a personal colorgraphics system for the modern computer man ...
*option
$895 w/8K *Keyboard
INCLUDES:
& enclosure totally
Model 3 w/8K, 72 Key Keyboard, RS232 $1495.00 $1150 w/16K (Stock) assembled
90 day Warranty
Model 4 w/16K, 72 Key Keyboard, RS232 $1795.00 $1395 w/32K (Stock) MICROSOFT BASIC
Model 5 w/32K, 72 Key Keyboard, RS232 : $2395.00
Options: 101 Key Keyboard Add $150.00 User programmable or use Video & Cassette Cable
117 Key Keyboard Add $225.00 cartridges. Combines the Complete Documentation
Formatted Diskettes 2/$19.95 desirable features of the PET,
APPLE and TRS:80 into a
** S100 Expansion
Module. .. Add $299.00
Programmed Diskettes
Diskette Library Inc. Hangman, Othello, Math, Chess, Startrek,
$19.95
complete expandable computer
system. If you are a comparison
** Cassette recorder
.............. Add $44.95
Blackjack, Cubic Tic Tac Toe, Finance Vol. I, Finance Vol. II, Bonds and
Securities, Assembler, Text Editor, Personal Data Base. . shopper send for comparison
chart.
** Sanyo 9" Monitor
...... Add $169.95
ADVANCED COMPUTER PRODUCTS DEPT C All prices FOB Santa Ana. Please add shipping/handling.
P. O. Box 17329 • Irvine, California 92713 For credit card purchase contact for quotation. Complete
1310 B E. Edinger • Santa Ana, California 92705 FREE 1979 Catalogue - send 25¢ for postage. Pricing
TWX/TELEX 910595 1565 • TEL (714) 558-8813 subject to change without notice.
CIRCLE 199 ON READER SERVICE CARD ••••••••••••••••••••
7700 PRINT "ACTUAL YR DEPR",TABC15>.
7800 REM COMPUTE THE DEPRECIATION CROSSING FULL YEARS
7900 Y2-M2/12
8000 FOR JaGI TO D5(JI)+1
8100 D2(Ja);'DI(Ja-I).C1-Y2)+DICJa).Y2
8200 PRINT Z7I,INTCD2(Ja»,
8300 NEXT Ja .
8400 PRINT
8500 PRINT "TAX $ SAliED'',TA9(15)'
8600 Z3-L9
8700 REM COMPUTE THE TAX ~ITH THE DEPRECIATION DEDUCTION
8800 FOR Ja-I TO D5CJI)+1
8900 GI-G9-D2CJ2)
9000 GOSUB 14100
9100 REM COMPUTE THE DIFFERENCE IN TAXES
9200 T5-Z9-T4
9300 R~M SAVE tHE FIRST YEAR TAX SAV~NGS FOR THE S~MMARY
9400 IF J2 -I THEN Z4 -T5
9500 PRINT Z7I,INT(T5),
9600 Z3-Z~+T5
9700 NEXT· Ja
9800 PRINT
9900 REM PRINT SUMMARY
10000 GOSUB 16700
10100 PRINT "STRAIGHT LINE METHOD FOR",D5(JI )," YEARS"
I 0200 FOR Ja =1 TO 8\DI( Ja ) =0 \D2 CJa) -0 \NEXT ..12
10300 REM LOGIC FOR STRAIGHT LINE MET~OD IS SIMMILAR EXCEPT FOR
10400 REM FULL YEAR COMPUTATION (I ecco MOR.NING,F{'?A'-lK", HI,~T~". HOVJ~ II
(5-0IlJG, <JIM? YOLl1<,Ef LOOi<IIJG GOOD, ED." "
!0500 Y2=YI
10600 PRINT "YEAR",TABCl5>.
10700 FOR ..12=1 TO DS(JI)+I
10800 PRINT Z7I,INT(1900+¥2),
10900 Y2=Y2+1
I 1000 NEXT Ja
11100 PRINT
11200 PRINT "FULL YR DEPR",TABCl5),
11300 FOR ..12=1 TO ns c Ji :
11400 DI (..12 )"PI/D5( JI)
11500 PRINT %7I,INT(DI(Ja»,
I I 600 NEXT Ja
11700 PRINT 12600 Z3=L9
11800 Y2=12-MI 12700 PRINT "TAX s SAVED",TABCl5),
11900 Y2"Y2/12 12800 FOR ..12=1 TO 05( JI )+1
12000 PRINT "ACTUAL YR DEPR",TABCl5). 12900 GI =G9-D2( ..12)
12100 FOR ..12=1 TO D5(JI >+1 13000 GOSUB 14100
12200 D2(..12)=DI(..12-1,*(I-Y2>+DI(J2,*Y2 13100 T5=Z9-T4
12300 PRiNT %7I.INT(D2(Ja». 13200 IF ..12=1 THEN Z4=T5
12400 NEXT Ja 13300 PRINT %7I.INT(T5).
12500 PRINT 13400 Z3=Z3+T5
13500 NEXT Ja
13600 PRINT
13700 GOSuB 16700
13800 NEXT JI
13900 PR INT \PR INT\PR I NT
14QOO END
14100 REM ACTUAL CALCULATION SUBROUTINE
14200 REM FEDERAL TAX CALCULAtiON
14300 FOR J=l TO 10
14400 IF GI>TI(2.J) THEN 14800
14500 IF GI<TICI.J) THEN PRINT "ERROR 1 ".TICI,J),GI,TI(2.J)
J T I =T I (3, J)+ (G I -TI (I. J) ,*TI (4. JH.O I
/," 14600
14700 EXIT 15100
14800 NEXT J
14900 PRINT "AMOUNT NOT IN FED TAX TABLE ",GI
15000 REM STATE TAX CALCULATION
15100 FOR J=I TO 5
=-r-- 15200
15300
IF GI>T2(2,J)
IF GI<T2C1,J)
THEN 15600
THEN PRINT "ERROR 2 ",T2C1,J>.GI,T2(2,J)
15400 T2=T2(3,J)+(GI-T2(I,J».T2(4,J)
15500 EXIT
15600 NEXT J
15900
III (11
jJK~ 15800 REM FICA CALCULATION
15900 IF GI<16500 THEN 16300
16000 T3=1336.50
16100 GOTO 16400
16200 REM 8.1% ASSUMES SELF EMPLOYED PERSON
16300 T3=GI ••081
16400 T4=TI +T2+T3
• LI5T~N", I(cx;'U .. SIMPLY !-lAVe 70 SBJD A MAIV B\L.I< 16500 RETURN
HERe To Give US MORe INSTF(uC-TrOIlJS OIJ How 10 16600 REM SUMMARY ROUTINE
16700 PRINT
OPeRATe 'rOuF{ /JeW 68Lf MODEL! " 16800 PRINT "TAX CREDIT",TABCl5),:I:7I,INT(L9),
16900 PRI~T TAB(26),"TOTAL $ SAVE~',TAB(45),%7I,INT(Z3)
17000 PRINT "FIRST YEAR $",TABCl5),%7I,INT(Z4+L9),
17100 PR INT TAB (26 >'''~A IT ING COST IMONTH", TAB( 45), %7I, INT (Z4/M2+. 50)
17200 PR I~T \PR INT\PR iNT
17300 RETURN
17400 REM THIS IS THE LAST STATEMENT
READY
44 CREATIVE COMPUTING
ATTENTION TRS-80'S
Why sit in the corner in the dark
and turned off while your master
is sitting by the light, turned on to
his magazine?
You need a magazine of your own for
Education-Enlightenment -Enjoyment
and for the personal satisfaction
(your a personal computer, aren't you?)
of your very own possession... A
Subscription to CLOAD MAGAZINE
Turkey your master into sending a
$36.00 check to the jive cats at CLOAD
MAGAZINE. You will get 12C-30 cassettes,
one a month, each one filled with all kinds
of juicy software-Games, Tutorials, Practical
Programs and Impractical Trivia. All programs
rated G for computers under 18years old.
._._._...-.
.-.:
•
•
• •
•
•
.-••••
••
t-.
•••••• Goleta, CA 93017
•·H·••• (805) 964-2761
Box 1267
MasterCharge/VISA
welcome
MAGAZINE
© 1978CLOAD MAGAZINE
B RSM-1S:
MALL
iiW&~§
YSTEM
A MACHINE LANGUAGE MONITOR
TRS - 80
SOFTWARE
FOR 4K TRS-80'S - $23.95
*
TRS - 80
HARDWARE
DCV-1: CONVERT SYSTEM PROGRAMS TO DISK
S MALL
[Q)W&~~
YSTEM
FILES -$9.95
22 commands which interact directly with the Z-80 processor "'in your TRS-BO. RSM monitors, The t tect r ic PenciL, Air Raid, RSL-1, ESP-1, T-BUG, or nearLy
Examine your ROM's, test your RAM, enter and execute machine language any SYSTEM tape shorter than SK (21K if you have 32K of memory) can now be
programs, read and write machine Language tapes, and much more! A SYMBOLIC executed from disk, even if it interferes with TRSDOS! DCV-1 loads system
DUMP command disassembLes object code and dispLays it as ZiLog standard Z-BO tapes into high memory "and adds a bt oc k-move routine. TAPEDISK is then used
mnemonics! Memory may be dispLayed in HEX or two ASCII formats, and can be to create a disk fiLe. When accessed from disk, the program Loads into high
EDITED, MOVED, EXCHANGED, VERIFIED, FILLED, lEROED, TESTED, or SEARCHED for memory, moves itself to its correct address, then jumps there and executes!
one or two-byte codes. Memory commands dump continuously or one line at a A super accessory for disk systems!
time! LEVEL-I and II 4K TRS-80's.
WORD PROCESSING FOR THE TRS-80 - $99.95
RSM-2: AN ADVANCEDMONITOR FOR 16K TRS-80'S - $26.95
SMALL SYSTEM SOFTWARE has adapted THE ELECTRIC PENCIL to the TRS-80! ALL
All the features of our popular RSM-1S, plus read and write SYSTEM tapes, standard ELECTRIC PENCIL text editing and printing features, PLUS
enter Z-80 BREAKPOINTS and PRINT using our TRS232 or the expansion transparent cursor, two-key rollover, and repeating keyboard. Uppercase
interface! Loads at the top of 16K LEVEL I or II, and includes DISK read only, or add Lowercase entry and display with minor modification. PRINT
and write commands for future expansion! - with RS-232 and 20-miL printers using our TRS232 or use the expansion
interface. LEVEL-I or II 16K computers. THE ELECTRIC PENCIL is a superior
RSM-2D: 3 MONITORS FOR TRS-80 DISK SYSTEMS - $29.95 word processor for home or business use!
RSM-2D contains 3 versions of RSM-2 on a single disk to load into the top of TRS232 PRINTER INTERFACE - $49.95 (+$2.00 shipping)
16K, 32K or 48K TRS-80's with disk ays t ems , With RSM-2D you can read your
TRSDOS into memory using our DISK read command, print disassembled listings A fuLLy assembLed seLf-contained software-driven output port for printing
using our SYMBOLIC dump and printer output commands, then mod; fy and from LEVEL-II, DISK BASIC or machine Language programs! Diablo, Teletype,
re-write to disk using our DISK write command! TI Si Lent or any RS-232 or 20-mi L current loop printer may "be used. The
TRS232 is furnished with cassette software and works either with or without
BASIC-1 - LEVEL-1 BASIC FOR LEVEL-II TRS-80'S - $15.95 the expansion interface! THE ELECTRIC PENCIL and RSM-2/2D use the TRS232,
thus word processing, BASIC, and machine language appLications are aLL
Loads into the top 4K of 16K TRS-80's and uses any LEVEL-I BASIC program or supported!
DATA tape (up to 12K in Length) without conversion! Loads from tape or disk
(furni shed on tape). Go back and forth between LEVEL I and II without RSL-1: THE GAME OF LIFE IN MACHINE LANGUAGE - $14.95
reloading. ALL LEVEL-I abbreviations and functions supported!
Enter any pattern with unique repeating keyboard! Save your patterns on
AIR RAID: A REAL-TIME TRS-80 S,HOOTING GALLERY! - $14.95 tape (4 patterns furnished). PLay LIFE, a game of birth, growth and death
of a coLony of c e l l s , FAST - about 1 second per generation! Hours of
A high speed machine Lanq uaqe Lq ame where Large and smaLL airplanes fly fascination, and a super demonstration program!
across the screen at different aLtitudes. A ground based missile Launcher
is pointed and fired from the keyboard. Aircraft exp Lode dramaticaLLy when
flit, sometimes destroying other nearby pLanes! Score is talLied for each OTHER TRS-80 PRODUCTS
hit or miss, and the highest score is saved to be challenged by other
pLayers. AIR RAID provides hours of fun for you, and is a super ESP-1: 29.95 Editor, assembLer, and monitor using INTEL 8080 mnemonics.
••
demonstration program for entertaining r r t eno s t 4K LEVEL I and II. LST-1: 8.00 A disassembled listing of LEVEL-1 BASIC with comments •
*
CALIFORNIA
JAN 1979
*
RESIDENTS
P.O.
ADD 6
BOX 366
PER CENT
*
SALES TAX
* .~
45
*
CALIFORNIA RESIDENTS ADD 6 PER CENT SALES TAX
CIRCLE
366 ~ NEWBURYPARK, CALIF.
CARD
*
Directions ...
As We Enter
Our Fifth Year
When is the last time you considered In the future as Pascal and other " ... as with television, and then color
which publication (out of the many in languages become widely available television, the enthusiasts and the well-
this field) is going to wind up being the you'll want applications for them too. to-do will be the first to install com-
consumer magazine of the future? What about all the computer hob- puter consoles in their homes. Even-
Which one of the magazines on the byists? Is there going to be material in tually, however, everyone will consider
market today is going to appeal to this "consumer-oriented" magazine for them to be essential household equip-
those tens (and eventually hundreds) them? That's an interesting question ment. People will soon become dis-
of thousands of consumers who go out ... just as that non-technical consumer contented with the "canned" programs
and buy home computers in the years is going to turn out to be an interesting available; they will want to write their
to come? Is it going to be one of those person. You just watch those people go own. The ability to write a computer
with a name that has meaning only for out and buy personal computers in the program will become as widespread as
computer professionals ... or will it be years to come! Most of them will make the ability to drive a car."
one with a name like Creative Com- their purchase, bring it home, plug it in, There are two areas which will
puting? (Has a nice ring to it, don't you put a cassette (or disk) in ... and run a always be linked to home uses of
think?) program. How long do you think it will personal computers. One of these is
What do you think would be needed be before they start going in and educational applications and com-
in the way of editorial content for such modifying programs, writing their own puters in schools. Students are going
a magazine? Since the most important programs and/or making little to be getting exposure to small systems
thing we'll be doing is putting com- hardware modifications to their in schools ... and thereby influence the
puters to practical use, I would think an machines? You realize, of course, what purchase of a computer in their home.
emphasis on applications would be in they'll be called as soon as they start Or, it could work the other way around!
order. General interest and tutorial doing such things? That's right, hob- The other area is small business
articles dealing with applications byists. And, I guess we're all hobbyists applications. A person using a system
would be in demand. More importantly, to one degree or another. One of my at home would have to be fairly dense
articles actually describing an applica- favorite quotes is an excerpt from an not to see the potential for using a
tion, and providing the software (which article on computers in the September, similar system in his business or office.
everyone can use) will be appreciated 1966 (13 years ago!) issue of Scientific Needless to say, many people using
even more. Should these articles deal American: them at work will also see the potential
primarily with programs written in for home applications.
Basic, or Fortran, APL, Focal, Pascal, Now ... for the real reason I've
or assembly-language? At the mo- brought you all here today. It wasn't to
ment, I personally get more excited toot our horn (and, of course, I have
about a good applications program been talking about Creative) or tell you
written in Basic, that the majority of how great we are or how great we're
people can use, than the idea of going gOing to be. No, I've got a much better
back to square one and using a new objective in mind. I wanted to tell you,
language which is not in widespread the readers of Creative, where we're
use. Furthermore, assembly-language going in the future ... and then I'd like
programs/articles will be somewhat you to pass the word! With our variety
limited in appeal because of the of articles on applications, general
machine dependence and the level of interest, fiction, cartoons and good,
expertise required to do that kind of objective reviews of hardware and
programming. That is not to say that software we have the necessary in-
most people aren't able to learn gredients to be the best in the field. Tell
machine-language programming ... I people about it, OKay?As hard as it may
don't think most of them will want to (if be for you to believe there are people
they have a good Basic to run instead). out there who aren't subscribing! _
CREATIVE COMPUTING
Everything you always wanted
to plug into your PET,
APPLE or TRS-80*~
HARDWARE SOFTWARE
(*but were afraid you couldn't afford)
TRS-8(J
DOUBLEDENSITYDISK STORAGE DATAMANAGEMENT/REPORT GENERATOR-easil':! for-mats
FOR THE TRS-80 disk files, allows enir':!; edit.; lisi, and
(220;~ the capacit.':! of Radio Shad's) calculate with daia on screen or pr-inter- + •• ,$200.
TRS-H()owner-s can now incr-ease their- on-line IlJaSS ELECTRIC PENCIL- powerful word processor- allows
stor-ase capacit\:l to 20()t\ b\:ltes. How? B':! usms the 77 full cursor- Riovement., insert/delet.e; str ins
tr-acK Micr-opolis model 1033-II dual dr-ives. Cost: onl'.:1 search, justification + •••••••••••••••••• ,$99.95.
$1195 for- two dr-ives. Lower case mod kit for above •••" ••+ ••••••• , ,$12.
HOWDOESIT WORK? B':! writins on 77 t.racks ( instesd of rlISK MSEIi WORDPROCESSINGPACKAGE.", ••,$124.95.
the conventional 35) with pr-erision head position ins. RSM-2IfDISK MONITOR-F-ower-ful S\:lsteRi R!anipulat.es-
HOWDOI USE IF Micr-otronix provides '.:IOU with a disk dat.a, has I-SO breaKpoint routine, ",$29,95.
special pr-osr-al'fi to let sour TRS-OODOS Know there ;:we ESP-1 ErlITOR.IASSEI'IBlER •••••••••••••••••,. ,$29.95,
mor-e tracKs. This pr-osraRI was written especiall'.:l for RSM-1SMACH.LANGUAGE MONITOR-tape ••••••,$23,95,
Micr-otroni::.: G\:lRaild\:lCooK; author of TRS-SO DOS. rev DISK CONVERSION UTILITY- use w/TAPEDISK uti l .
WILL THEDOUBLEDENSITYDISK WORKWITHMY RADIO SHACK to save s':!sienl tapes (i,e. PENCIU•••••••••$9,95.
DRIVES? Yes; e>:cept of course for- COj::.-'.:IiflS an entire 77 UTILITY PACK1- a )Libloader- tape lTier-ser-, b }Renufli;
tracK disK to a 35 tracK drive. c)Branch Anal\:lzer •••••••$9.95 eo, all for $24.95.
CAN I USESTANIIAlWMINIDISKETTES?Yes, provided the':! SARGONCHESS- 16t\ Iv II- the 1978 chagip",$19.95,
have been speciall':! fcnc:t.tedi either b\:l Microtroni>: of HICROCHESS1.5 0'.:1Jenninss- 4K an~ lev ••••$19.95.
b'~purchasing t.he for'mat F-'r-osr~n, from us. Call about. salltes Ii. COMPLETEBUSINESSSYSTEM
FORTRANIt.' FOR THETRS-8()! Finc:ll':!f for- calculation
bound F-r-osraITiSi hish-sF"E.>ed results on '.:lour micro. PET
COITiF-let.e pacKase includes cOIllPiler, relocatable JOYSTICK PACKAGE-with connector-Sf soft.war-e;
assembler, t.e>:t. e.':litor-, and linK ins 10arJer. Onl':! $325. instructions •••••••••,$39.95 sinsles -$59/iO dual.
Also available for CP/M S-100 based s\:lstems. MICROCHESS2.0 b':! Jenninss •••••••"H'"'' $19.95.
ASTROLOGYf~TALCHARTadvanced calc •••" ••$14.95,
SUBS- best £r-aphics \:let- depth char-se the subs-
adjustable speeds for variat<ilit.·:! ••••••••$l9.95.
SUPERI1AZE-2 in 1: Travel throush in per-spective
or Kai'nllT!ouse chase- PET sraphics"" ••••$19,95.
74- COMMON BASIC F'ROGRMSon 1 tape!."." •••,$1(l •
19 different sames at 119.95 each- call for
====================
David Lichtman, Ed.D. ============
It is axiomatic that educators In each case the respondents were banks are a worthwhile use of com-
(teachers and administrators) make asked to strongly agree, agree, neither puters," they showed the lowest
the majority of decisions affecting the agreenordisagree,disagree or strongly percentage (64%) in feeling that com-
nature, style, and often the content, of disagree with each statement. The puters will improve education. In
instruction. Since many people believe results were then divided into percen- comparison, the administrators in this
that computers will improve education tage replies for each category, with the survey were more positive (96%) as
(Ahl, 1976) it seems worthwhile to published tabular results compiled into were the youth (84%) and the adults
determine if corresponding attitudes percentages of those who strongly (87%) in the original survey.
exist on the part of professional agreed and agreed, and those who The comparisons of the groups on
educators. A survey of 189 pre-service strongly disagreed and disagreed with specific issues are presented below
and in-service educators enrolled in each statement. and in the tables. In all casesadults and
summer programs at the University of The same format was followed in the youth refer to these groups as defined
South Carolina was completed in 1976. current survey, with the addition of six in the Creative Computing survey and
The general format of David Ahl's further statements. The survey forms, the percentages for these populations
"Survey of Public Attitudes Toward with the statements in random order, are drawn from that source.
Computers in Society" was followed to were distributed in classes conducted
allow for comparisons between the two by a variety of faculty members during Computer Threat to Society
groups. the 1976 summer session in the Teachers appear to feel that com-
In general, the educators seemed College of Education at the University puters dehumanize society by treating
less enthusiastic aboutthe computer's of South Carolina. Reactions were everyone as a number (55%)to a much
role than did the general public. Those recorded on computer amenable greater extent than do adults (37%),
in administration courses were, answer sheets which were processed youth (40%) or administrators (26%).
generally, far more positive than were by the University's IBM/370 using They are also the strongest group
other educators. While the "teachers" SAS-76. All replies were anonymous. (30%)in feeling that "computers isolate
(educators minus those in administra- There were 189 respondents, with 27 people by preventing normal social
tion courses) appeared to be one ofthe enrolled in administration courses. interaction among users" in com-
highest groups in agreement with the These were divided into two groups, parison with administrators (15%),
statement "credit rating data banks are loosely referred to as "teachers" (those adults (19%) and youth (21%). They
a worthwhile use of computers," they not in administration courses) and were more in line with the other groups
showed the lowest percentage in "administrators" (those in ad- in holding the belief that "a person
feeling that computers will improve ministration course). These groups cannot escape the influence of com-
health care, law enforcement or educa- included pre-service as well as in- puters" (80%), falling in between the
tion. Those in administration, on the service personnel. Creative Com- adults in the general population (92%)
other hand, were more in agreement puting's original survey was broken and the youth (67%). The ad-
than the general public that "com- down into two groups: adults (those 21 ministrators, in this case, paralleled the
puters will improve education." and older) and youth (those 20 and general adult attitudes (92%). There
younger). The original results are was a great deal of consensus between
Methodology
presented here along with the current the groups on "computer polls and
In 1975 Creative Computing data.
magazine conducted a survey of the predictions influence the outcome. of
general public's attitudes toward com- elections" with teachers strongly
puters and their role in society. The Summary agreeing and agreeing 48%, adults
survey, administered to 843 people, In general, the educators seemed 48%, youth 44% and administrators
consisted of 17 questions divided into less enthusiastic about the computer's 52%.
four major categories: role in society than did the general Understanding of Computers
1) Computer Impact on the Quality public. Those in administration Teachers may be more willing to
of Life courses were, generally, far more blame machines for errors, and less
2) Computer Threat to Society positive in their attitudes than were willing to blame human beings. They
3) Understanding the Role of Com- other educators. As an example, while were much more agreeable (30%) to
puters teachers appeared to be one of the the statement that "computers make
4) Understanding the Computer highest groups in agreement (83%) mistakes at least 10%of the time," while
Itself with the statement "credit rating data no other group exceeded 10%.When it
-lAN 1979 49
the adults and 89% of the ad-
ministrators did.
The last statement in this section
was, perhaps, the most interesting
since' it, "computers will improve TABLE 4
education;' was the most germain. Only
COMPUTER IMPACT ON THE QUALITY OF LIFE
64% of the teachers responded in a
positive manner, a figure which was PUBLIC ATTITUDES EDUCATOR'S ATTITUDES
much overshadowed by all of the other
ADULT YOUTH TEACH ADMIN
groups: adults (87%),youth (84%) and N=300 N=543 N=162 N= 27
administrators (96%).
SA SD SA SD SA SO SA SD
Additional Issues ITEM &A &D &A &D &A &D &A &D
Six statements which were not on the
original public attitudes survey were Credit rating data banks are a
worthwhile use of computers 64% 13% 64% 8% 83% 4% 85% 4%
included on the current one. Two of
these were general in nature, and four Computers will improve
health care 79 5 51 12 51 14 67 4
were more directly related to the
educational environment than were Computers will improve
any of the statements in the original law enforcement 82 3 70 10 60 10 89 7
survey. Computers will improve
"Our country would be better off if education 87 6 84 5 64 9 96 0
there were no computers" drew a
negative vote (disagree and strongly
disagree) from 78%of the teachers and
1QO% of the administrators. An in- TABLE 5
teresting possibility, "someday I will ADDITIONAL ISSUES
have a computer, or a computer
terminal, in my home,"was affirmed by PUBLIC ATTITUDES EDUCATOR'S ATTITUDES
20% of the teachers and one-third ADULT YOUTH TEACH ADMIN
(33%) of the administrators. N=300 N=543 N=162 N= 27
In light of some of the other negative SA SD SA SD SA SD SA SD
expressions, it is nice to note that over ITEM &A &D &A &D &A &D &A &D
one-third (36%)of the teachers felt that
"if there was a computer terminal in my Our country would be better
off if there were no computers 5% 78% 0% 100%
classroom it would help me to be a
better teacher," while almost half (48%) If there was a computer terminal
of the administrators also agreed. On in my classroom it would help
me to be a better teacher 36 22 48 15
this statement, incidentally, only 22%
of the teachers were in disagreement. Someday I will have a computer,
Fifty-eight percent of the teachers or a computer terminal,
in my home 20 43 33 26
felt that "computers can teach
mathematics," while 52% of the ad- Computers can teach
ministrators agreed. That a computer is mathematics 58 16 52 15
still regarded more as a mathematical Computers can teach reading 47 20 52 15
tool than a universal symbol A computer may someday
manipulator was probably inherentin take my job 16 67 22 59
the fact that a smaller percentage
(47%) of the teachers felt that "com-
puters can teach reading." The same more confident in these areas than are mathematics and their much more
percentage of administrators (52%) the general population. positive attitude that computers will
stayed with reading as did with 3) That both teachers and ad- improve education may begin to con-
mathematics. ministrators are more wary of com- cern them).
Conclusions puters in relation to jobs and skills We have had prognostications of
This study does not purport to (except theirowri) than are other great changes being wrought in educa-
represent any in-depth analysis of people, with teachers much more tion due to the computer, and predic-
educator's attitudes towards com- concerned than administrators. tions that computers will alter schools.
puters. At best it is a rather superficial 4) That a smaller number of teachers If this study is indicative, it may be of
overview o.fone group in this area. If we see improvement in the quality of life the possibility that a lot of computers
can assume, however, that it does through the use of computers than do may be bought (by administrators) but
indicate some possible trends or ex- others and that they see the least they may not be used, at least to any
pectations they might be as follows: improvement in education of any greater proportion than the other
1) That teachers view computers in a group, while the administrators are existent tools of educational
much more dehumanizing and overwhelmingly positive in this regard. technology. •
isolating manner than do other 5) That while teachers seamed BIBLIOGRAPHY
segments of the population; especially concerned about the computer's effect Ahl, D. H. "Survey of Public Attitudes
school administrators. on jobs in general, few were concerned Toward Computers in Society," in
2) That teachers do not feel secure in about their own jobs,beirig taken away David H. Ahl (Ed.), The Best of Creative
their relationships with computers, (although the possibility inherent in the Computing, Volume 1. Morristown,
particularly in regard to privacy of data administrator's responses concerning New Jersey: Creative Computing
and mistakes, while administrators are computers teaching reading and Press, 197(:), pp. 77-79.
50 CREATIVE COMPUTING
••••••••••••••••••••••• CCI •••••••••••••••••••••• ~
VIDEO
• Non-Linear Systems, Inc. TERMINALS
SOROC 1Q120 995
LSI ADM3A 895
MS-21S MINISCOPE' HAZELTINE 1500
HAZEl_TINE 1510
1225
1395
HAZELTINE 1520 1650
HAZELTINE Modular One 1995
PERKIN ELMER Fox-1100 1295
PERKIN ELMER Owl-1200 '" .1995
INTERTUBR 784
MICROTERM ACTIV-A 550
MICROTERM ACTIV-B 800
Dual-Trace-2 Channel
$eparate,Chopped Or Alternate Modes PRINTERS
TTY Model 43 1277
TTY Model 40 (80 Col) 2960
MonEL NO. NET MonEL N(l. NET TTY Model 40 (132 Col) 3760
-----
Okldata Model CP11 0 (+Optns) 1295
MlJLTIMETERS COCNTERS Okidata Model 22 2695
TI Silent 700 Model 745 1995
LM-3A $134.00 FM-3TB/llS s 93.00 TI Model 810 Serial, no opt 1895
TI810 VFC, CP, Full ACSII 2295
LM-3A/LH 137.50 FM-3TB/230 95.00
NEC Spinwriter, RO, Friction .. 2775
LM-3.5A 155.00 FM-300TB/115 102.00 NEC Spinwriter, KSR, Friction .3090
NEC Tractor Mechanism 140
LM-3.5A/LH 158.50 FM-300TB/230 105.00
XEROX 1700, KSR, Friction 3240
LM-40A 209.00 FM-7 215.00 XEROX 1710, RQ, Friction 2850
212.50
XEROX 1720, Comm. Term 3450
LM-40A/LH FM-7/LH 218.50
XEROX Tractor Feed for Above. 200
LM-4A 250.00 FM-7/PH 218.50 XEROX 1760, Matrix, 200 cps .. 3145
LM-4A/LH 253.S0 SC-5 ~8.00
DECWRITER LA36, KSR 1654
DECWRITER LA180, RO 2295
LM-300 114.00 SC-5/LH 101. 50 CENTRONICS M779, Friction .. 1175
LM-300/LH 117.50 SC-5/PH 101. 50 CENTRONICS M779, Tractor .. 1?75
CENTRONICS M761, KSR 2025
LM-350 144.00 CENTRONICS M761, RO 1895
OSCILLOSCOPES CENTRONICS M703 Printer 2S05
LM-350/LH 147.50
----- c
5848 Sepulveda Blvd., Van Nuys, CA 91411
(213) 786-7411
4705 Artesia Blvd., Lawndale, CA 90260
BANK OF AMERICA AND MASTERCHARGE (213) 370-4842
WELCOME. TERMS: MIN. ORDER $10.00 ADD $2.00
C
I 6791 Westminister Ave., Westminister, CA 92683
POSTAGE AND HANDLING IF ORDER IS UNDER
$25.00 AND SENT U.P.S. ADD $4.00 POSTAGE (714) 898-8330
AND HANDLING IF SENT VIA U.S. MAIL. 3808 Verdugo Ave., Burbank, CA 91505
(213) 848-5521
CLOSED SUNDAYS AND MONDAYS
JAN 1979 51
, --,
, •- ~,~••
,\ ..
'I .".
.•, -
"'11'- "
••~ .,' ~~
.,,'
Come along for a trip to the Silicon Valley and some of the latest develop-
ments in the personal computing industry.
San Francisco is one of my favorite Another thihg that impressed me was while they're being burned in.
places. Unfortunately, I don't get a the use they make of their own systems Photo 3 shows the new component
chance to get up there as often as I'd (particularly the System Three) in and subassembly test station which
like. However, I did manage to take a running their company. They're allover was being installed while I was there.
few days off recently and get up to the ... and they're not doing "small Very expensive, very impressive ... but
Silicon Valley and visit some in- business" computing, they're doing it uses someone else's computet! As we
teresting people and companies. Come medium-sized corporation computing! were walking past the systems in the
on along and I'll sharethetripwithyou. And dOing it well. final test I noticed some cardboard
I stopped by one of the "old-timers" Harry Garland, the President of
in our industry, Cromemco, and some Cromemco, gave me the tour of his new
of the "new-comers" such as Exidy, plant (located at 280 Bernardo Ave.,
Altos Computer Systems and The Mountain View, CA 94040 - see
Software Works. I always' try to catch Photo 1). At the beginning of our trip
the monthly meetings of the through the manufacturing area he
Homebrew Computer Club when I'm in mentioned that Cromemco was listed
the bay area and one of the hightlights as #1 in reliabili in the latest report
of this trip was their meeting. It's a great
place to catch up on the latest rumors!
Cromemco
For as long as I can remember,
Cromemco has had a reputation for
making the "Cadillac" of S-100
systems. After you've seen how they
test their machines you'll realize, as I Photo 3. Crornernco's new component
did, just why they're so good! Testing is and assembly test station. Is that a
the name of the game and I haven't run PDP-11 waiting for installation there?
across a company in this industry that
tackles it uite like Cromemco. , over the card cages of the systems
Photo 2. Dr. Harry-Garland, Cromem- being tested (see Photo 4). Harry
co's President and founder, standing in pointed out that the cardboard was
front of one of their five burn-in ovens. being used to block off the air flow! The
Their 16K memory boards are left in boards were extremely hot and the
there for a full week! (Other boards get systems are put through this torture for
a little slack and get out sooner.) forty-eight hours!
They had one of their time-share
systems in burn-in, also. Their System
from Image Resources ... and he has Three MUlti-User configuration will
every intention of making sure his support from 2to 7 users ... each with
company stays there. The burn-in 32K of memory maximum. (Later on I
Photo 1. Cromemco's new plant, ovens, shown in Photo 2, are one way saw one of these systems in actual use
located on the corner of Bernardo he's achieving this. There are five of in the Sales Department. The system
Avenue and Central Expressway, those ovens and each one holds 3 card was used for getting instantaneous
Mountain View, California. cages. The system on the table (lower stock information and other info for
right) is used for testing the boards dealers and salesmen ..) They've also
CREATIVE COMPUTING
So much for the hardware and why
developed an impressive multi-u~er
they have one of the most enviable
Basic to go with the system ~whlch
reputations in the industry. We all know
should make it very attractive to
that you can't do anything with ju~t
educational institutions).
hardware .,. software sure comes In
handy! You name it, they've got it! Thei r
system runs under CDOS whi~h i~ a
modified version of CP/M. (We II find
out if their software will run under a
standard CP/M system upon receipt of
a copy of their Data Base Manaqernent
package for review in an upcoming
issue of Creative. The program allows
you to custom design data bases for
everything from general le?ger t?
mailing lists.) Along with their ty1ultl-
User Basic they haveFortran IV, Cobol,
16K Extended Basic, a Word Process-
ing system and more.
".::..
JAN 1979 53
was particularly impressed with the CP/M up and running on their systems. Altos Computer Systems
customer support Dick provides (i.e., I was astounded when about 90 of Here are some folks who have some
he is diligent). I guess he spends his those 110 hands went up! I then asked good things going! They've put
evenings developing software because how many were interested in Pascal together a Z80-based computer with
it sure didn't look like he had much time and/or planned on getting it up on their 64K of RAM, a dual disk controller
for it during the day! He was on the systems. It looked like the same (double-sided, using DMA), 1 parallel
phone constantly and it seemed like number of hands went up. Very in- and 2 serial I/O ports ... all on one
many of the callers were customers teresting. board! Feastyoureyeson Photo 10and
without much background. His see what it is I speak of! I have spent
patience in handling some obviously more hours (make that, days) of my life
unnecessary questions was re- troubleshooting computers and elec-
markable. The best part was when he tronic equipment than I care to think
would gently try to guide the person about. This t-board concept is going to
back to the manual ... which is where be the field technician's, or perhaps
the answer was all along. even the end user's, dream. The single
I always seem to have an excuse board, with all the goodies I mentioned,
when I've blown it on getting pictures is on the far right. The electronics you
of someone or something. This is no see on the left is for the left Shugart
exception. My flash unit wasn't work- disk drive. Since the drives are double-
ing while I was at the Software Works Photo 9. A rare, unretouched photo of a sided, those clever devils at Altos
... but I didn't know it at the time! Homebrew Computer Club meeting. mounted them upside down ... so the
Anyway, there ain't no photos of
Later on in the meeting someone
handsome Dick and his Imsai/North
Star and Apple disk system. (It's mentioned that he had a Texas In-
struments Speak & Spell that he'd like
alright, you aren't missing that much!)
to sell. He had brought it with him and
someone asked him to "play it" for the
The Homebrew Computer Club group. The room was completely still
The meeting I attended was relatively while he made that thing talk for us. It
skimpy in the attendance department was incredible! If you haven't heard
... as you can see from Photo 9. (I'll bet one you're missing one of the truly
there are dozens of clubs all over the astonishing developments in
country that would give their left arms technology today! The chip which
to have attendance like that!) There's generates the speech is a special
usually standing room only ... with the version of the TMS1000 (an 8-bit
auditorium (at the Stanford Linear micro) working with a pair of 128K
Accelerator Lab) filled with close to 300 ROMS. The circuitry is capable of
bodies. This particular evening there producing over 200 words but can Photo 10. The Altos Sun-Series 8000
were approximately 110 people there. access a lot more memory for more system. One of the remarkable things
I was invited to say a few words to the words - as much as 2.1 megabytes! (I about their single board is that it looks
group and foolishly stepped down in understand TI has been swamped with like they had room left over!
the pit where they throw the Christians inquiries from people interested in just
(and Lee Felsenstein, who runs the the synthesizer chips.) As I listened to electronics would be easily accessible
show and is one of Creative's Con- the t/=ling it suddenly dawned on me for troubleshooting. So, there it is ... 2
tributing Editors). I figured I'd get the that TI will most certainly have the disk drives and their associated elec-
jump on them and ask some questions same synthesized speech capability in tronics, a power supply, a fan and a
before they had a chance to put me on their upcoming personal computer. board with the CPU, I/O and memory.
the spot with theirs. I asked for a show You wait ... TI's talking computer is on Put that together with a terminal and a
of hands of how many people had the way! printer, and you've got it!
54 CREATIVE COMPUTING
I hinted a moment ago about the Floating Point Processor (the AMD But, that's not all ... there's more! Do
possibility of the end user being able to 9511) which has been interfaced to you see the box the cable for the disk
troubleshoot and repair this system. If BASIC-E and Pascal. drives is coming out of? There you
he had a spare board on hand, and the Altos' Marketing Vice-President, have Exidy's new S-100 expansion for
ability to unplug and plug in a few Roger Vass (shown in Photo 11), and the Sorcerer which consists of a 6-slot
connectors, I'm not so sure that kind of the President, David Jackson, gave me mother board and power supply (for
repair would be far-fetched. If, on the the grand tour of their plant ... which around $299). That expansion will
other hand, the repair was taken care of they'll be leaving shortly because of allow a Sorcerer to be expanded to 64K
by a qualified technician this simplified growth! (I love the sound of that ... it of internal memory, among other
concept would certainly make his job sure beats hearing about a company
easier ... and the customer happier that folded!) Altos Computer Systems,
because of reduced down-time. 2378B Walsh Ave., Santa Clara, CA
Altos has really pushed the fact they 95050.
have a Pascal-based system and ap-
parently it's paying off. 30% of the
systems they've sold have been Exidy's Sorcerer!
ordered with Pascal! Another plus in And, speaking of CP/M ... who do
you suppose is adding it to their
system? If you take a close look at
Photo 12 you'll see Lori Barrick (head
of Exidy's Sales Department) and ... a
couple of Micropolis disk drives in the
upper right-hand corner. CP/M on
Micropolis, for the Sorcerer ... it's
coming. Just remember you heard
about it first in Creative Computing,
okay?
tables of data, pictures, in- Order direct or contact your local computer store.
voices, graphs, checks, needle- Add $3.00 for postage and handling per order.
point patterns, etc., using an
CONNECTICUT microCOMPUTER frJ
RS-232 standard printer or 150 POCONO RD, BROOKFIELD. CT 06B04 Ib:!.lINU frJ
1200C terminal. (203) 775·9659 Ib:!.I
56 CREATIVE COMPUTING
MEET TH~ SORCERER™COMPUTER
ATTHE
SPECIAL INTRODUCTORY II
PRICE $895.
16 K VERSION $1150"
STANDARD FEATURES
• Z80
• 4K OF ROM M!=MORY
• 8K OF RAM MEMORY
• DUAL CASSETTE I/O
.30 LINES OF 64 CHARACtERS
.64 DEFINED CHARACTERS AND 64
• EXPANDABLE TO 32K RAM
USER DEFINED CHARACTERS
.512 X 240 GRAPHIC RESOLUTION • 8-SLOT S100 BUS
• PRINTER
• EDGE CARD CONNECTION
• DISKSTORAGE
TO S100 BUS
.TELEPHONE
• SERIAL AND PARALLEL I/O
• VOICE
.HOME CONTROLLER
COMPUTER MART
OF NEW YORK
118 Madison Ave. New York, NY 10016
COMPUTER MART (212) 686-7923
800-631-8112
(In NJ, c811201-540-0445)
r-------------------~---------------,
I Please send me:
----i"
$2/each, 3 for $5, 6 for $9 Total amount VIS." 10 VISA 0 MASTER
o Sep/Oct 1976 o Cash, check, I·:·,;s,,,,{, • CHARGE
o Jan/Feb 1977 or M.O. enclosed Card No. -
o Mar/Apr 1977
Expiration date ,._--
o May/Jun 1977
o JuliAug 1977 Name _
o Sep/Oct 1977
o Nov/Dec 1977
Address _
$2.50/each, 6 for $12
o Jan/Feb 1978
o Mar/Apr 1978 City _
o May/Jun 1978 State Zip _
o JuliAug 1978
o Sep/Oct 1978
o Nov/Dec 1978
Return form to: CREATIVE COMPUTING,
o Volume 1 bound, $10
P,O. Box 789·M, Morristown, New Jersey 07960
o Volume 2 bound, $10
MYTH
HOMECOMPLfTiR HOUS~f(6f:~R
HOMt;;GOMPLJ-rt:R5fR~~ You FROMWe. fNDLf5S [7RlJDbfRY
OP HOLl5~HOWCHOR~S... BY mINGIHf"M xu, FOR.. YoU.
HOM~ WMPU1F"R'S CAN SCRLlB FLOOR5, VACUUM RU6~, WASH [715H~5, CCDK,
:S~W, CO LAUNDRY, Q1AN6~ [/IA~RS, PUqr FURNITLlRS", ANt> RAIS"£;:YOUR KIl/5.
Ai NOON,I-\OW£V~R, HOM~ COMPLJ1t'R5 G~N~K'Au...y 1A~ A BREAK', HAVE"A CLIP of nor
f3l..rC-1l<OLVlr AND IAK~ IN A SOAP OPERA WIIH 1H~IR e.UIL:i-IN 1V RfCEIV~R5.
j
How About A "Counterfeit Cursor"
For Your PET~
=================
Ralph Wells =============
If you've tried to write interactive programs for your What You See ... Is What You Get
PET, you've probably been plagued with.the Commodore The program was never intended to run as anything but
curse of secrecy. Things that are relatively easy to a showcase for subroutines. The object was to
program when you have a well-documented monitor demonstrate a practical visual method of getting x/y
system such as APPLE II, KIM or VIM become nightmares coordinates (memory address) and character identifica-
on your PET. My personal aggravation with Commodore's tion. What the programmer does with this information is
policy of no-system-documentation increases every time I his business, so the elements of this program are intended
find some addditional clues as to the software power that's to be broken up into subroutines for the larger endeavor.
hidden under their shroud of secrecy. The latest case-in- When you RUN this program, you'll get a cursor in the
point is cursor control-or the lack of it. upper (home) position. It can be moved with the up/down,
An Accursed Cursor left/right and home controls, as is the real cursor. Lilies 90
After a lot of detective work, I developed an algorithm and 95 print out the character value (CH), line number
(LN) and character position (CP) of the cursor. Note that
which says that the cursor's position address (decimal) is
this IS not the same as the algorithms mentioned earlier,
at (PEEK (225)x 256) + PEEK (224) + PEEK (226). The line
(0 - 24) number (on the screen) is ((PEEK (225) x 256) +
PEEK (224) - 32568) -;-40, and the position on the line (Oto 10 REM ARTIFicIAL CURSOR
20 HM=32768:Cl=HM:C2=HM
39) is PEEK (226). The problem lies in the factthatthe only 25 REM HOME IS THE UPPER RIGHT CORNER OF THE TV SCREEN.
time the PET's cursor is visible is during an INPUT 27 REM Cl AND C2 ARE THE "CURRENT" AND "NEXT" CHARACTER POSITIONS.
command or in the DI RECT mode. In either case, you have 30 CH=PEEK(Cl):BC=CH
to hit RETURN to get back into your program. This 35 REM CH IS THE CHARACTER" UNDER THE "CURSOR".
automatically moves the cursorto the start of the next line. 37 REM BC IS THE BLINKING CHARACTER.
40 LN=INT((Cl-HM)!40)
The Interactive Cursor 45 REM LINE NUMBER DOWN FROM TOP(O). 40 SPACES TO CLEAR TOP LINE.
One of the fundamentals of interactive programming 50 CP=(Cl-HMI-(LNt40)
90 PRINT""
with a CRT is using the cursor to identify data points on the 95 PRINT "CH=";CH;"LN=";LN;"CP=";CP
screen. Some of the "drawing" programs use this feature to 97 REM PRINTS CHARACTER AND POSITION OF "CURSOR"
position graphics, but this is an output function. True 100 REM GET CURSOR CHANGE
interactive cursor control requires that it be used as an 110 GET C$:REM SCANS KEYBOARD.
120 IF LEN(C$)=O THEN C=O:GOTO 200
input also. When you can position the cursor anywhere on 123 REM IF NO KEY PRESSED -- GO BLINK.
a "game board" screen display and have it detect the 125 C=ASC(C$):REM CHECK FOR "CURSOR CONTROL" KEY INPUT.
character it is "pointing to," then you have a whole new 130 IF C=29 THEN C2=Cl+l:REM RIGHT>
input function for game playing. Describing the next move 135 IF C=157 THEN C2=Cl-l:REM LEFT (
in checkers or tic-tac-toe using cartesian coordinates and 140 IF C=17 THEN C2=Cl+40:REM DOWN \/
145 IF C=145 THEN C2=CI-40:REM UP •
a keyboard is no problem for a computer hobbyist, but 150 IF C=54 THEN C2=Cl+l:REM RIGHT "6"
what about the kids? Isn't it more practical just to "point" 154 IF C=56 THEN C2=CI-40:REM UP "8"
to things with a cursor? In business and control 155 IF C=52 THEN C2=Cl-l:REM LEFT "4"
applications, the screen can be filled with choices and the 160 IF C=50 THEN ~2=Cl+40:REM DOUN "2"
162 IF C=55 THEN C2=CI-41:REM UP+( "7"
user can point to his choice on the menu using the cursor. 164 IF C=57 THEN C2=CI-39:REM UP+> "9"
In my case, I had a matrix of numbers to verify. If an error 170 IF C=49 THEN C2=Cl+39:REM \/+("1"
was found, it had to be corrected, not only on the screen 175 IF C=51 THEN C2=Cl+41 :REM \/+)"3"
but also in the running program. A similar requirement had 180 IF C=19 THEN C2=HM:REM GO HOME
190 If C=13 GOTO 500:REM "RETURN" KEY' -- GO CHANGE CHARACTER
been met with interactive cursor control on our two-year- 200 REM BLINK CURSOR
old SPHERE, and my TRS-80 has a 'point' function, so why 210 If BC>127 THEN BC=BC-128:GOTO 299
not do it on the up-to-date PET? Curses! Foiled again. 215 REM If CURSOR IS INVERTED, NORMALIZE
220 BC=BC+128:REM If NORMAL, INVERT IT
Try a Counterfeit 230 T2=TI+l :REM SET UP BLINK RATE
I'm certain that there must be a way to do it better with 240 If TI(T2 GOTO 240:REM WAIT FOR BLINK
PET's own cursor, but after several hours of trying to 299 POKE Cl,BC:REM PUT OUT CHANGED CURSOR CHARACTER ON TV SCREEN
decode Commodore's secrets, I gave up and wrote a 300 REM fiND NEU POSITION
310 If C2=Cl GOTO 100:REM If NO CHANGE, CHECK KEYBOARD
program to counterfeit the cursor. It worked (for my
320 POKE Cl ,CH:REM RESTORE ORIGINAL CHARACTER IN "OLD" POSITION
application) as subroutines in a larger program. I expect to 340 Cl=C2
use the same routines again (probably in Backgammon), 350 CH=PEEK(C2):REM GET NEXT CHARACTER FOR NEU CURSOR DISPLAY
so I broke them out into the demonstration program listed 360 BC=CH:REM SET NEXT "BLINK CHARACTER"
399 GOTO 40
herewith. It blinks like a cursor, it moves like a cursor, but
SOO REM REPLACE A CHARACTER
it's a phony. The original cursor is completely indepen- S10 GET CR$
dent and invisible. 520 IF CRt="" GOTO 510
530 CR=ASC(CRf)
535 IF CR(96 AND CR)6J THEN CR=CR-64
540 POKE Cl,CR
Ralph Wells is Engineering Vice-President of Inmarco, Inc., 7655 Sunset 550 GO TO 30
Blvd, Hollywood, CA 90046 READY.
60 CREATIVE COMPUTING
which work for the real cursor. Lines 230 and 240 provide a
variable blink rate. Increasing the number added to TI in
line 230 will slow the blink down. Eliminating both lines
gives the fastest blink and highest response speed.
Alternatives In Movement
TARBELL
Lines 130 and 145 provide the "normal" cursor controls.
If the number keys are not going to be used for special
CASSETTE BASIC
programming, then they can be used to augment or
replace these 'blue' control keys. Lines 150 to 175 use the
number pad to provide cursor control in 8 directions
only S36.OO
without use of the shift key. This diagonal movement Includes most features of ALTAI R* Extended
capability (using 1, 3, 7 and 9) speeds up the cursor BASIC.
movement. Note that if the "replacement" technique is
PLUS these added features:
used (500 to 600), the numbers revert back to their normal
functions. • Assignment of I/O
Send In a Replacement • Alphanumeric line labels
. Once the cursor has located the desired location, it can • Unlimited length of strings
alter it or jump back into some other program by using the • Unlimited length of variable names
RETURN key. Line 190 jumps to the "replacement" routine • Number system 10 digits BCD integer or floating point
when #13 (RETURN) is detected, so that the blinking • Procedures with independent variables
position is changed to the next character entered. Si nce
C1 contains the address of the "cursor," other program- Tarbell BASIC occupies 18K of RAM. Source
ming is possible at the same time. LN contains the screen available on cassette, CP/M**disk and printout,
line number and CP has the character position on that line reasonably priced. Comes with manual.
(vertical row position). C2 contains the "old" character "ALTAIR is a Trademark/Tradename of MITS, Inc.
and C1 the "new" one, so the input is completely defined.
Things The Commodore Didn't Tell You V"T11
To "GET" a character from the keyboard, you can test
950 DOVLEN PLACE, SUITE B
for either the value (line #520) or the length (line #120) and
CARSON, CA 90746
loop back to GET if it is null (no key pressed), until you get
(213) 538-4251. (213) 538-2254
an input. The numeric values obtained from a GET
converted to ASCII (line #125 and #530) are not always the
same number returned by a PEEK. Each key has six
different code numbers. Line #535 corrects for this CIRCLE 188 ON READER SERVICE CARD
PILOT
ting 128 as in lines #210 and 220. The keyboard input is
buffered and will hold up to 8 keystrokes (location 525
counts them). This means you can count your "moves" by
keystrokes even though the blinking stops while it's
moving. -
THE LANGUAGE
FOR YOUR
TRS·aO, APPLE,
PET, SORCERER
PILOT is the interactive dlalcque-orlenteo lan-
guage for learning and teaching; for kids and
adults from six to 160. Easy-to-learn, no syntax
problems! Get away from the constraints of
Basic! (On cassette, specify computer.) $25.00
Other programs available, too. Free List.
PRACTICAL APPLICATIONS
Post Office Box 4139
Foster City, CA 94404 (415) 573·8217
o Please send PILOT. $25 (Calif. add tax) enclosed.
o Send your catalogs.
My computer is a _
Name _
Address _
"HE SAYS HE'S CONTEMPLATING THE FUTURE OF THE City State Zip_---==
COMPUTER INDUSTRY." CC179
The most common high level hobby On a practical basis, BASIC is easier this quirk, the computer gave me two
computer language is, of course, to implement and versions are guesses each turn but it changed the
BASIC but outside schools and hob- available which will run in one or two number to be guessed each time also.
byist environments it is little used. The thousand words of memory. In BK a This is not the kind of bug a
main languages are FORTRAN, for pretty reasonable version can be programmer needs in a complex
scientific use and COBOL for business written. Microsoft's FORTRAN re- program. Do you want the business
use. Now that a version of nearly quires 24K plus storage for the software you buy to have this kind of
standard FORTRAN is available for the operating system so 32K is the problem?
BOBO/ZBO hobbyists can take advan- minimum usable system. The second nonconsistancy is il-
tage of its features. The first part of this One very important feature offered lustrated by the sequence below.
article is a review of the general by FORTRAN but not as yet by BASIC 100 A=10
features of FORTRAN. Since most is standardization. This version of 105 C=O
readers are already familiar with FORTRAN has all the features of ANSI 110 FOR X=20 TO A
BASIC, the discussion includes com- Standard X3.9-1966 except for com- 115 C=X
parisons with the features and syntax plex variables. Complex in this sense 120 NEXT X
of BASIC. The next two sections does not mean complicated, rather it In this example we have set the end
describe the use of this specific version refers to numbers which have a real index of the FOR loop less than the
of FORTRAN and the timing com- and an imaginary part. If this concept is starting index without specifying a
parisons. not familiar to you, you will not miss negative step. In some BASICs, the
The Basics of Fortran them. This standardization means that loop would execute once giving C=20,
The largest difference between FOR- programs written on one machine can and in others, zero times giving C=O.
TRAN and BASIC is that the former is a be moved, unchanged, to another type Again a very detailed understanding of
compiler while the latter is an inter- of machine and be expected to work BASIC and the program is required to
preter. What this means is that the properly. This was the original motiva- track down such problems.
FORTRAN software looks at a state- tion for the development of FORTRAN In principle, FORTRAN does not
ment and translates it into machine and COBOL in the mid 1950's. Anyone have these kinds of problems. I can go
code which can then be executed who has spent much time translating to the University library and get a book
repeatedly with no further action by the programs from one version of BASIC of FORTRAN programs and expect
compiler. In practice, this translation is into another will appreciate this them to run without modification. It
done in two steps. First the compiler feature. should be noted that a number of
generates intermediate code and then Standardization is much more than a manufacturers have added frills to their
\ the linker is used to collect this code convenience as the differences are FORTRANS which, if used, destroy the
and the necessary library routines often much more than changing PEEK portabi Iity.
(more on this later) into a final to EXAM, to :, and restructuring all Fortran Instructions
program. During the execution of the the string functions. For instance, there Since most readers are already
program, the compiler and linker need are two extremely subtle points that familiar with BASIC, we'll discuss
not be present in the system. can cause a BASIC program to com- instructions in FORTRAN along with
BASIC programs are treated pletely malfunction even though the the nearest equivalent BASIC state-
differently. The interpreter examines syntax is totally correct. The first is the ment.
each line of the program as it is about to method of handling the following type INPUT AND OUTPUT. The various
be executed and generates machine of statement: forms of the I/O statements are shown
code. This code is not permanently 65 IF J=O THEN LET A=1: GOTO 200 below.
stored. Thus, if a statement is executed If J=O, all BASICs seem to set A=1 and FORTRAN BASIG
one thousand times, it must be GOTO 200. However, in North Star READ (5,100) A,B,G INPUT A,B,G
translated one thousand times. This is BASIC at least, if J;tOthe program goes 100 FORMAT (3F15.5)
the reason for much of the speed immediately to the next line, notto 200. WRITE (5,100) A,B,G PRINT A,B,G
difference between BASIC and FOR- The effect on the program is con- WRITE(5,110) PRINT "HI THERE"
TRAN. It also fOllOWS that the more siderable. This line is from BULCOW in 110 FORMAT ('HI THERE')
features BASIC has, the slower it has to 101 BASIC COMPUTER GAMES by READ (5,120) B INPUT G$
be for some of them as there is a larger David Ahl. BULCOW is a marvelous 120 FORMAT (A4)
command table to be searched. number guessing game, but because of
62 CREATIVE COMPUTING
First, there are the differences between following steps: set 1=1, execute the about this difference later on.
INPUT and READ, and PRINT and statements down to and including Numeric Representation
WRITE. FORTRAN also requires a statement number 8000, return to the FORTRAN has two types of numeric
FORMAT statement to tell what form DO statement, set 1=3 (that is 1+2) and representation-integer and floating
the input or output will be in. In the 1/0 repeat. When 1=11 (9+2), do not ex- point. Integers are whole numbers and
statement, the device the data is to be ecute the intermediate statements but are represented by variables starting
sent to or received from, is indicated by instead go to the next statement after with the letters I-N (from INteger). The
the first number inside the parenthesis the statement numbered 8000. Note internal representation of integers and
while the FORMAT statement number that while statement 8000 is a continue floating point numbers is done
is given second. The unit number given statement, it may be any executable differently. Integers are stored as 16 bit
in the example, 5, is not the port statement except one which transfers numbers (2 bytes) and thus are limited
number. It is the logical unit number control elsewhere. The use of the in range from 32768 to -32767. Integers
assigned by the operating system to a CONTINUE is convenient since it is are used for indexes in matrices, DO
particular device. These logical easier to insert additional statements loop counters and other situations.
assignments may be changed in the into the loop with this construction. where fractions are not needed. Integer
operating system so that logical unit IF STATEMENTS-FORTRAN has multiplication is the same as floating
number 5 can be assigned tothe printer, two types of IF, the logical IF and the point but in integer division the result is
for example, rather than the CRT arithmetic IF. The arithmetic IF has the truncated. For instance 4/5=0. This
terminal. following form: form' is equivalent to the BASIC IN-
As we mentioned before, the FOR- IF (A) 21,22,23 T(4/5). Integer arithmetic is faster. For
MAT statement specifies the- form for where A is some arithmetic statement example, K=K+1 can be equivalent to
the input and output. FORMAT (e.g., img/2, CD-3, etc.). If A is less than an increment register machine instruc-
statements specify the number of zero, control is transferred to state- tion but A=A+1 (A = floating point)
columns, significant figures, spaces ment number 21. If A equals zero, req u ires several instructions to operate
and line feeds as well as the type of control is transferred to statement on four bytes of storage.
variable. The F form means floating number 22 and if A is greater than zero Floating point numbers are used for
point (e.g., 123.456). F15.5 means allow to statement number 23. most numerical calculations and have
15 spaces for the number with five The second form of the IF statement a range of 10**38 to 10**-38 with seven
spaces to the right of the decimal. The is shown below. significant figures. Double precision is
E format means exponential (scien- IF (A.GT.100) GOTO 400 also available, providing the same
tific) form (e.g., 123456E01). E15.5 An alternate form is: range of exponents but 16 significant
means allow 15 spaces for the number IF (A.GT.100) B=10 figures instead of seven. Single preci-
and exponent, using five significant In the fi rst case, if A is greater than 100 sion numbers require 4 bytes of
figures. An I format is available which (.GT. means greater than but more storage, three for the mantissa and one
means integer and is of the form 18. If about that later) the GOTO statement for the exponent. Double precision
more than one number is to be output is executed. If not, the next line is requires eight bytes, seven for the
per line, a multiplier count can be put in executed. The second form is similar. mantissa and one for the exponent.
front of the format specifier (5F15.5 IF A is greater than 100, B is set equal to Floating point variables start with the
means repeat the F15.5 form five 10 and the program proceeds to the letters A-H and O-Z.
times). next line. If A is not greater than 100, All variable names in FORTRAN may
For alphabetic output for labels and the program proceeds directly to the be up to six letters long compared with
such there are two forms, the H format next line. Again, an unfortunate the one letter and one number allowed
and the" format. The H format is short difference with BASIC is that it does in most BASICs.
for Hollerith and is of the form 10H HI not use the parenthesis around the Both languages have arrays and
THERE? The number in front of the H argument of the IF statement. Dimension statements which are
indicates the number of characters GOTO-GOTO statements are iden- handled in the same way although
following the H. This type of format tical in both .languages although at BASIC uses the abbreviation DIM while
requires care as the wrong count can least one BASIC requires GOTO to be FORTRAN spells it out fully.
produce strange looking output. The written as one word while FORTRAN
more common format is 'HI THERE'. In ignores spaces in all but a few in- Arithmetic Functions and Expressrons
this form all the text between the single stances. BASIC has a conditional FORTRAN 80 has a complete set of
quotes is printed. It is too bad that GOTO, the ON ...GOTO statement arithmetic, trigonometric and logical
BASIC chose to use double quotes as which is the same as the FORTRAN functions. The five standard arithmetic
this provides one more source of statement shown below. operators and the symbols used are:
trouble for people who use both addition (+), subtraction (-), mul-
FORTRAN GOTO (10,20,30),J
languages. There are more types of tiplication (*), division (I) and ex-
BASIC ON J GOTO 10,20,30
FORMAT statements but there is not ponentiation (**). Note that BASIC
In each case, if J=1 control is
uses ",t." for exponentiation while
room to cover them here. transferred to statement 10, if J=2 to
FORTRAN uses "**". The basic func-
statement 20 and if J=3 to 30.
DO LOOPS-Do loops provide a tions available in both single and
means of repeatedly executing a CONTINUE-CONTINUE is the double precision are: EXP, ALOG,
specific sequence of instructions. The FORTRAN equivalent of a NOP. It ALOG10, SIN, COS, TANH, SORT and
form of the DO LOOP and the BASIC performs no action and is mainly used ATAN. These are used in the same
equivalent, the FORINEXT loop are as a DO loop terminator. fashion as in BASIC except that the
shown below. END and STOP cause the program to names are slightly different (which
. DO 80001=1,10,2 stop execution and return to the does not protect the innocent).
:
~ monitor. END must be the last state- A useful tool is the set of relational
8000 CONTINUE ment of a program. operators. The available FORTRAN
CALL-The CALL statement follow- relational operators and the BASIC
100 FOR 1=1 TO 10 STEP 2 ed by a subroutine name is the equivalents in parenthesis are: less
! equivalent of the BASIC GOSUB. than .LT. «), less than or equal to .LE.
200 NEXT I Subroutines in FORTRAN and BASIC «=), equal to .EO. (=), notequal to .NE.
The DO LOOP execution consists of the are different philosophically. More «», greater than .GT. (», greater
JAN 1979 63
than or equal to .GE. (>=). The result of TRAN source file. Next, F80, the
an expression is either TRUE or CALL SUBR(A,B) FORTRAN compiler is called. This
FALSE. The reason for the leading and compilation produces a file called
trailing periods is so that the compiler NAME.REL where again the name
can tell the relational operators from choice is yours and the extension .REL
END
the variables. BASIC does not needthis means relocatable. L80, the linker is
SUBROUTINE SUBR(C,D)
type of discrimination since it uses C=2.71828**D then called. It takes the .REL file and
math symbols instead of letters. RETURN links it with the appropriate library
Another feature is the set of logical END modules from FORL!B.RELto produce
operations. Those available in FOR- If we have an operation which is the final machine code. More details of
TRAN 80 are .NOT.,.AND., .OR., and repeated and we do not wish to type it a each step are given below.
.XOR. (Exclusive OR). These operators number of times, we can define it as a FBO- This is the compiler and its
do logical functions on a bit basis function or call it as a subroutine. The operation consists of specifying the
between arguments. As an example, last example illustrated a subroutine source and destination file names.The
given the operation 1=J.AND.K where call. To define a function we put in a command format is of the form
the binary representations of J and K statement to do so. PROG1.PROG2=PROG. The exten-
are 01010101and 11110000respective- FADD(A,B,C,D)=A+B+C+D sions are not given as F80automatical-
ly produces a result 1=01010000binary. Then when we wish to add four ly looks for a file with the extension
That is, the bit in I is 1 if the correspon- numbers we only have to use the .FOR and produces files with the
ding bit in J and in K are both 1. The function FADD, as in R=FADD(X, extensions .REL and .LST. In the
notation in BASIC is the same except Y,Z,ZZ). This is the same operation as example above the source file is the
for the leading and trailing periods. using any of the familiar library func- name to the right of the equals sign.
Mathematical calculations are tions such as SIN and LOG. The compiled output is put in tothefile
written in the same format except that This is an appropriate place to PROG1.REL and a listing of the
the actual results may be a function of mention the Fortran library. This is a program, the generated code and the
the type of variable used. If we say collection of subroutines which we error messages is put into a file called
1=4.5,where I is an integer variable the want to call from our FORTRAN PROG2.LST. The names in the exam-
value actually stored in I is 4, since to programs. We have already given the ple are different just for ease of
convert to an integer the decimal part is examples of SIN and LOG but there are reference. In practice, all files relating
truncated. many others such as the routines that to the source program are given the
Subroutines handle the input and output, absolute same name.
Subroutines are handled differently value, sign, etc. These routines are The .REL file has been explained but
in BASIC and FORTRAN. In BASIC, selected out of the library by the linker what does the .LST file do? It is
the subroutine is part of the main when the final program is being generated as a convenience for the
program, has line numbers which assembled. An extremely useful programmer so that he can go back
follow in sequence from the main feature is that you can add your own and look for any errors which have
program and it has the same set of routines to the library. For instance, if shown up. In practice, this file does
values for the variables. In FORTRAN, you have a graphics unit or plotter, the little more than clutter up the disk.
subroutines are independent entities driver routines can be placed in the Another form of the command is
which can have any set of line numbers library for use when needed. This available which lists what would have
(line numbers are not required on each addition of files to the library in gone into the .LST file on the terminal.
statement in FORTRAN) and" any FORTRAN 80 is done with a program This form is: PROG,TTY:=PROG. Us-
names for the variables. The call to a called appropriately enough LIB 80. ing this form, no .LST fileis generated.
subroutine is of the form: The routines added to the library can If you firmly believe there are no errors
CALL TESTP(A,B,C,D) be either FORTRAN subroutines or in your program all you really have to
where TESTP is the name of the MACRO routines which have been say is: =PROG. This will produce a file
subroutine and the variables A, B, C assembled using M80, the macro PROG.RELand return to the monitor. If
and D are to be passedto and from the assembler included with the FOR- you only want to check for errors use
subroutine. The form of the subroutine TRAN 80 package. Microsoft has the command form: ,=PROG. This
is shown below. already added some nonstandard provides a list of errors but does not
SUBROUTINE TESTP (P,Q,R,S) routines to the library such as: POKE generate either a .REL or a .LST file.
(load a memory location), PEEK (ex- the compiler has an option,
amine a memory location), INP (input specified by a /M at the end of the
from an 8080 input port) and OUT command line which tells the compiler
RETURN (output to an 8080 output port). that the generated code is to be put into
END a form suitable for ROM. For produc-
The above discussion of the features
The variables A, B, C and D in the tion of code for dedicated controllers
of FORTRAN 80 is in no way intended this is a very powerful option as it
main program are called P, Q, Rand S to be more than an overview. Many fine
respectively in the subroutine. This allows development of applications
books are available to teach FOR- software in a high level language.
does not effect the values of any TRAN.
variables with the names P, Q, R or S in There is still the overhead of the run
Operation of Fortran 80
the main program. The RETURN time package to consider, but with
The actual mechanics of getting a memory being cheap this does not
statement transfers control back to the program up and running in FORTRAN
main program and the last values of P, matter much anymore.
are considerably more involved than in LBO-After all syntax errors are out of
Q, Rand S are placed in storage areas BASIC. In the following discussion, the
for A,B,C and D. the program and a .REL file exists, the'
operating system is assumed to be linker is called. The linker processes
Functions are a type of subroutine CP/M from Digital Research. First the
with a slightly different form. The the .REL file, assigns absolute ad-
program is entered and corrected dresses and locates necessary sub-
statement A=EXP(B) means: set A using the system editor, ED. This
equal to the value e**B. This can also routines and error messages. To find
produces a program called NAME.FOR
be expressed as shown below. the subroutines, the linker looks for
where the name is, of course, up to you
MAIN PROGRAM names typed in with the program and
and the extension .FOR means FOR- then it searches the FORTRAN library,
64 CREATIVE COMPUTING
FORLlB.REL,for the remainder of the language for the rest of the program. Flexowriter on the CDC 160, but it
references: If all necessary subroutines Microsoft also provides the names of makes me wonder whether I have just
are not located, the system asks the the math routines in the FORTRAN been spoiled or whether BASIC has
operator for them. . library so you can call floating point inspired sloppy habits in my program-
The L80 command structure is: routines from the assembly language ming. I should point out that this
PROG, SUBR/G whe.re PROG is the routines. In addition,· any utility turnaround time is not a function of the
PROG.REL file produced by F80 and programs written in assembly quality of the Microsoft software. It is,
SUBR.REL is any subroutine you need language can be included in the rather, a result of the fact that there are
that is not in the library. The /G tells the FORTRAN library using LlB80, the a lot of operations being done and that
linker that you wish to execute the system library generator. floppy disks are not terribly fast.
program as soon as it is ready. If you User Impressions Speed
wish to save the generated program, How useful is it to have FORTRAN? Perhaps the most overrated
type NAME/EIN or NAME/G/N. The Tremendously. There is so much parameter of the hobby computer is
generated file will be stored under software written in FORTRAN that this speed. There are very few applications
NAME.COM and the linker will direct compiler opens many avenues, Time where the majority of the computer
control to either the system (with/E) or critical programs are very well suited time is not spent in a loop waiting for
to the program (with ?g). for FORTRAN but the main advantage operator input. However, the speed
While saving a short program, it will for the small user is the ability to link up advantage of FORTRAN does make
probably seem like a lot of blocks are with existing subroutines, especially possible some of the programs that are
needed. In fact, for a minimum machine language ones. For instance, not practical in BASIC. For instance,
program you will need at least 32 driving a vector graphics unit or A/D one BASIC chess game which does not
blocks (8K). Why so much? This space converter is best done in assembly even allow the player the choice of
is occupied by the runtime package language but the data setup and color, takes from five to fifteen minutes
which contains the system subroutines processing are a lot more convenient in per move. A FORTRAN version, which
and other material such as error FORTRAN. plays at a higher level, takes only
messages and error checking routines. From a user point of view, the biggest fifteen to thirty seconds per move.
MBO-Included with this package is annoyance is with the turn around time These are the type of programs which
an assembler called M80.The advan- for correcting errors. In BASIC, a bad are appropriate only for FORTRAN or
tage of this assembler is that it allows statement can be fixed immediately another compiled language.
the programmer to write assembly and execution resumed. In FORTRAN, KILOBAUD #10had a comparison of
language subroutines which can be you must go to the editor (the CP/M the speeds of most BASICS. In order to
called from FORTRAN. As a result you editor is not very inconvenient), compare the speed of FORTRAN, the
get the speed and efficiency of change the program, exit, call F80, benchmark programs were rewritten in
assembly language forthe critical parts compile, call L80, link and run or save. the nearest FORTRAN equivalents. To
of the program but you also have the This is, however, heaven compared to keep the same form as BASIC, the DO
ease of programming in a high level the old days of paper tape and the loops were terminated with CON-
Most software available in a variety of diskette formats including: IBM8" single and double
density; North Star CP/M; Micropolis CP/M; and 5" soft sectored. All Lifeboat software
requires CP/M to operate.
Watch for the December 1978 release of the above software on Processor Tech Helios II;
Altair Disk; and iCOM Microdisk systems.
Available from computer stores nationwide or order direct from:
LIFEBOAT ASSOCIATES
164 W. 83rd Street 0 New York, N.Y. 10024 0 (212) 580-0082
JAN 1979 CIRCLE 179 ON READER SERVICE CARD
Benchmark #6 adds a DO loop in the
TINUE statements. One areathat could Benchmark #3 adds an arithmetic
middle. For BASIC, this increased the
not be made the same is the DO loop expression to benchmark #2. This still
time required considerably but in
indices. FORTRAN uses only integers executes about ten times taster in
FORTRAN, DO loops are very fast.
for these loops, and BASIC uses integer form and about z.s times faster
floating point. in floating point form.
.. The rewritten benchmarks are
PF.:INT (5. H3)
shown in Figures 1· to i. The actual FORMAT (' START')
programs had another DO loop around PRINT (5 .. 1(1) K=\:)
them to give a suitable multiplication 10 FORMAT (' START') 11 K=f·~+l
factor so I could time them with a
11
f<=13
f·::=f<+ 1
i
.J=K.·...2*2;+4-5
watch. the machine these were run on DO 2~3 I.J = 1.. 5
has an. 8080 operating at 2 MHz and .J:.·f<.····k+¥+K-K CONTINUE
IF (t:::. LT. H300, (;OTO 11
memory with no wait states. Figure 8 CALL DL.A
PAiJ::;E END IF <1<. LT. h3\:'n3. ) GOTO
shows the results of the benchmarks. 11
END PAUSE END
There are two columns for the FOR-
TRAN timings, one for the programs END
SUBROUTINE DL.A
run with integer arithmetic arid one for
RETURN
the same program run with floating 8enchmar'k #2" END
point variables. Also shown is the time
for Microsoft extended disk BASIC
ver.4.0 as a comparison of BASIC by Benchmark #4 adds some constants
the same company with roughly the in the math expression. The constants Fi g, 6. 8 e n (: hm".r· k #·6,
same number of features. take longer in BASIC to convert but in
Benchmark #1 executes about 70 FORTRAN they are converted by the
times faster than BASIC. This shows Berichmark #7 adds an array to the
compiler so little time is added. program. In BASIC, the storage of data
that it takes only a small amount oftime
to do an integer add 1. In fact, th is can in this array takes quite a bit of time,
F'R I NT (5, 1t1)
be done with an increment register roughly 20 seconds, InFORTRAN, this
10 FORMAT (' START')
instruction. storage is done in an almost negligible
f'::=O
11 K=K+1 .
amount of time.
,J=t:::,·...2*2;+4-5
PR I NT (5., 10)
IF 0:. L T, 1\313\3. ) (;OTO 11 113 FORMAT (' START')
F'F.:HH C':;,10) PAU:3E END Dlr·lEN:3T.ON r'1(5)
10 FOF.:MAT (' START') END K=IC1
UO 1130 l'" 1 .. 1 ~~lCn:::1 11 I<:=f<+l
1 Cnj CC.iNTI NUF. .J=K,··';;:~'+'2;+4-~
F'Alf:;E ruo DO 213 I.J'=1,5
Fig, 4. 8enchrn".d,: #4, M( I.J) =,J
EJm
---------------------------------- 20 CONTlt·~UE
Benchmark #5 adds a subroutine CALL DLA
call. The timing Shows that a JMP and IF (K, LT. 1.013n, ::. nOTO 1)
E:enchmar·k #t. !=lET take very little time. A more PAIJ:~;E Hm
accu rate assessment of the overhead END
a
required for subroutine call would be SUB F.:0 I.JTI NF DU't
RETIJRN
indicated by passing some parameters END
to the subroutine.
Benchmark #2 was run with the
variables named K for the integer PRINT (5 .. 113)
version and named AK for the floating Hi FORMAT (' START')
Fi ,~, 7. Ben,::hm<t.r·k #7.
point version.· The floating point ver- K=(1
66 CREATIVE COMPUTING
Timing Comparisons for the individual hobbyist and is more
interested in seliingcommercial
Benchmark Fortran Integer Fortran FP Basic 4.0
licenses. Cromenco, in fact, sells this
1 .033 seconds 1.9 seconds package for $95 with their systems
2 .057 2.9 7.5 under a license from Microsoft. At $100
3 2.0 9.0 20.6 or less, there is a tremendous market
4 2.0 10.6 20.9 numbering in the hundreds of
5 2.0 10.7 22.1
2.1 10.8 36.9
thousands over the next few years. At
6
7 2.2 11.0 58.5 $500 very few will be sold. Indeed DEC
wants $750 for thei r RT-11 FORTRAN
The question that many people will Summary which has considerably more develop-
have is how the times for FORTRAN on After all these' very nice features ment time behind it than FORTRAN 80,
what things are there to dislike? So fa~ and which has a smaller market.
an. 8080 compare with "real" corn-
puters. My laboratory has a DEC 11V03 th~re are .only a few. The first is a very From a user point of view, one
system with 28K words of memory and mm.or point but also very frustrating additional problem is the typically poor
adual floppy disk system. The CPU is until understood. The heading and any manual. The one included is over 100
an LSI-11 16 bit processor with the error messages are printed in both paqes but severely lacking in clarity. A
clock turned up about 50%. This unit is upper and lower case letters. Video particular problem in Microsoft
also equipped with the KEV-11 terminals with upper case only get manuals is that the table of contents
extended arithmetic chip. While this is error messages which consist mostly has no page numbers and the index has
the smallest of the PDP-11 series, the of punctuation marks. These messages numbers after the entries but they do
speed of operation is not that much are not very useful. In software meant not always correspond. The problem
different than most of the smaller 11'so for general use, the programmers seems to stem from the fact that one
Anyway, benchmark #7 in the integer' would do well to avoid being cute. The manual is written, slightly modified and
mode took .7 seconds, roughly a factor upper case is easier to read anyway. then padded with various errata and
of three faster than the 8080. This is The cure for this was to add a routine to addenda. It should be mentioned at this
somewhat surprising after all the my I/O drivers in CP/M to convert lower P?int that DEC and IBM both have very
claims for the superior instruction set, case to upper case. This takes only a nice manuals but they are in general
extended arithmetic chip and 16 bit few bytes and is easy to implement. even less readable than this one.
words. It may be more of a comment on The second criticism is more basic In summary then, this is a verygood
the relative quality of the FORTRAN although it has nothing to do with the package Which is convenient to use
compilers. The speed difference is software. The price for the package is and runs fast. If it were priced at $100
about the same for BASIC on the $~OO. Obviously, at that price, everyone shoutd go out and buy it. •
PDP11 and on the 8080. Microsoft does not intend the package
PET 2001 • PET 2001 • PET 2001 • PET 2001 • PET 2001 • PET 2P01 • PET 2001 ."
• m
g ~
NEW SOFTWARE FOR ~ ~
YOUR COMPUTALKER! ~~ PETTM ."m
~
DOCUMENTATION
o
o
N
~
SOFTWARE PACKAGE II ...
W
NOW! ·
.m"
~
available noVY
~
CTEDIT A new parameter editor TIS
·.m"
~
CSEDIT Editor for CSR1 input
WOR'KBOOKS FOR THE COMMODORE PET 2001 ~
CTEST CT-1 Hardware diagnostic
Getting Started with Your PET W6-1 $4.00 .;
PLAY DATA To hear the data files
Covers the fundamentals of PET BASIC: calculator ~
MEMVOICE A vocal memory dumper and proqrarn mode, data input and output, data ~
KEYPLAY Subr. to play letters/digits representation. program storage on the cassette. 8
PIANO A simple musical keyboard PET S,,'ng and Array Handling W6-2 $3.95 -:
Covers string and substring search, concatenation. ;:g
replacement and manipulation. -4
8080 Assembly Language
PET Graphic. W6-3 $4.95 g
* * * Sources includt;ld * * * Covers use of cursor control and special graphics -;
CPM 8", North Star, Micropolis, symbols to draw plots, histograms. and sketches. "a
PET C •••ette 1/0 W6-4 $4.95 ~
Tarbell, CUTS, MITS ACR,
Covers OPEN. CLOSE. string and numeric data files. ~
paper tape
Mlle.Hen_oul PET Featurel W6-5 $3.95 ~
·
Money back guarantee ~
1730 21st Street, AE
."
m
Santa Monica, CA 90404
s Pet is a trade mark of Commodore Business Machines ~
(213) 392-5230 N
~
...
W
s.
• PET 2001 • PET 2001. PET 2001 • PET 2001 • PET 2001 • PET 2001 • PET 2001
JAN 1979 CIRCLE 154 ON READER SERVICE CARD 67 CIRCLE 116 ON READ!=R SERVICE CARD
Caution: Structured Programming
Can Be Habit-Forming!
Tom A. Gibson
Kids can learn structured program- added noise, laughter and loud game Gradually he picked up C. Once when I
ming. And they can learn it arid use it ideas of their own design. That drive explained a feature of C, he exclaimed,
well! home was an experience I will never "Ohhh, that's better!" The comparison
This is the story of my delightful forget. was to Basic, his native computer
experience teaching my sons Paul and Paul discovered that the sample runs tongue at the time.
Mark structured programming. Paul is didn't have all the dialog. There was One night I came home from work
eleven years old. His programs are more dialog in the PRINT statements in and was met at the door by Paul, wide-
quite advanced; he is heavily into the program ,listing. He started reading eyed and turned on. "Look, Dad!" What
moving graphics "shoot-'em up" these PRINT statements. Then he was he had done was to translate (on paper)
games. Mark, age nine, is just begin- reading other statements, too. He his entire software repertoire into C.
ning, but 'as we will see, he has started asking questions like "Dad, (At that time this was three programs, a
mastered several fundamentals. Ac- what does FOR do?" With one eye on guessing game and two nim-like
companying this article are two short the road, and one. on the book, I games.) .
articles by Paul and Mark, descrlblnq in explained things as best I could while So iNhat could I do?
their Own words,their latest programs. driVing down Route 33 at 55 miles per I . developed an interpreter for a
I edited their articles only to the extent hour. By the time we got home, Paul subset of C for our 8080 home com-
that their school teachers would have. had read and understood a couple of c.
puter. We call it tiny Paul has become
I have insisted from the start that they programs. quite competent in this language.
document their programs. In par- As Paul learned more of BASIC, I Now, two years later, Mark is 9. Mark
ticular, they must put comments in became concerned over the limitations never' learned BASIC. His first (and
their programs giVing their name, date of the language, chiefly the non- only, so far) program was recently
wheri finally debugged and their age. mnemonic names, As his programs completed. It's in tiny c. He's learned
They also put in comments to help became larger the absence of func- the fundamentals of flow-of control,
understand the Code. It's only fitting tions and local variables were leading variables, variables having names,
they should write their own articles. to bad programming habits. I found I variables having values, variables hav-
Let me begin at the beginning. was teaching various "bad habit" ing their values changed, printing arid
The Trip Home From Trenton techniques to get around these reading. Mark, too, has written an
Two years ago, when he was 9, Paul limitations. I found Paul' accepting article describing his project.
first showed a knack for programming. these lessons, innocently, as true Paul and Mark have had lots of
We were coming home from the wisdom. guidance from me; but they each did
Trenton First Annual Computer At the same time I was bringing a this work themselves. My guidance
Festival, .and he was reading 101 terminal home to do real work. I would amounted to coaching. I think I can
BASIC GAMES. This book has 202 dial upour company computer and do fairly claim that structured program-
pages. If you open it anywhere, the left my programming using the C ming is not just for sophisticated
side is a listing in BASIC of a game. The language. This language is designed professionals. It is for the software
right side has sample runs, penciled in for structured programming. It has all beginner. It is for the hobbyist, because
comments, relevant cartoons or other the good things described in this it leads to program clarity and more
artwork, etc. Paul was reading BOXER article. Paul would lean on my right enjoyable programming.
at the top of his voice. Mark and Daniel shoulder so I could hardly type, munch
a cookie in my ear, and watch. Then What is tiny c?
Tom A. Gibson, Tiny c Associates, PO Box 269, he'd ask, "What's the WHILE for, Dad?" Tiny c is modeled after C. I chose the
Holmdel, NJ 07733.
68 CREATIVE COMPUTING
smallest subset that would still be
useful for games, education, and just
plain fun. It has only six statements.
Stopwatch
Four of them are: This is a program that imitates a stopwatch. You can start the stopwatch,
INT and CHAR declare variables and stop it, get the present number of seconds while it is running and end the
one dimension arrays of type program by typing certain Ietters on the keyboard.
integer and character respectively. Detailed description
WHILE (condition) statement is the After naming the variables, the instructions are printed on the screen.
looping statement. It performs its Then MAGIC is set to 31. MAGIC is a magic number that determines the
object statement repeatedly until accuracy of the stopwatch. It takes one second to go through the inner
the condition becomes false. WHILE loop 31 times; so every 31 times through the loop, another second is
IF (condition) statement1 , counted. At the beginning of the outer WHILE loop, the computer comes to
ELSE statement2 (The ELSE part is the statement:
optional.) K=GETCHAR
I F performs statement1 if the When the computer comes to a GETCHAR, it stops and waits until a
condition is true, otherwise it skips character is typed. When a character is typed, it puts that character in K. The
statement1. If the condition is false character will most likely be 'g' (to start the stopwatch) which will make the
and if there is an ELSE clause then next IF statement true. .
statement2 is performed. TIME is then set equal to zero. The next statement reads:
A compound statement is a group of N=MAGIC/2
statements enclosed in square That will set MAGIC to 15 (tiny c doesn't have decimals). Then it will only
brackets: have to go through the inner WH ILE loop fifteen times before counting the
IF (x 0) [ first second. When a half-second has passed, the computer will count one
x ~ x-1 second. The purpose of this is to round the actual time to the nearest
a = 2*a+b second. If the actual time is between 112and 1112seconds, the computer will
b = b-1 count one second. If the actual time is between 1112and 2112seconds, the
1 computer will count it as two seconds.
In this example, if x is positive the In the beginning of the inner WHILE loop, N is set greater by one.
whole compound statement is done. Eventually, by going around in the WHILE loop, N will equal 31, so that the
Otherwise the whole compound state- next IF statement will be true:
ment is skipped. (This is the "Oh, that's IF(N==MAGIC)
better" feature.) The statements within TIME, which was zero, is now set to one, as the time which was consumed
a compound statement may by the WHILE loop and other parts of the program is one-half second. N
themselves be IF's orWHILE's. Nesting (which is 31) is ,set back to one so it will countupone second:
is permitted in an arbitrary fashion. .. Each time around the inner WH ILE loop, the computer tests tciseeifyoU
Now the fifth statement can be defined: have typed an's' or a 't' by using two CHRDY function calls. A CHRDY
BR EAK causes the innermost WH I LE function call checks if you have typed any character. CHRDY is short for
to exit and control flows to the CHARACTER-READY. If the character that is ready (typed) is an's', then
statement after the WHILE. the computer breaks out of the inner WHILE loop and comes to the
That leaves one statement, RETURN, statement:
which brings us to the subject of IF(K=='s') [
functions. That statement is false because K is still 'g', so it skips that and comes to
Functions the statement:
A large software project can usually IF(K=='x') BREAK
be broken into natural parts, and each That statement is false because K is still 'g', so the computer skips it and
part programmed and debugged as a comes to the end of the outer WHILE loop. It goes back to the beginning of
separate unit. Each unit then becomes the WHILE and first comes to the statement:
a reliable building block for the con- K=GETCHAR
struction of still larger parts of the The computer gets the character's', which was typed before, and puts it into
project. Sometimes units can be K. Next it comes to the statement:
desiqned to be useful in many projects. IF(K=='g')
In various programming languages This is false since K is now's', so it skips that IF and comes to the statement:
these building blocks are called sub- IF(K=='s')[
programs, subroutines, or simply func- This is true, so it does the commands listed between the brackets enclosing
tions. In tiny c they are called func- the IF statement which are to print the number of seconds on the screen.
tions. Here is a tiny c function for any After it finishes that it goes to the top of the outer WHILE loop and comes
computer-versus-human game; to the statement:
GAME [ K=GETCHAR
GETREADY The stopwatch has just finished one complete timing, from 'g' to 'stop.'
WHILE ( STILLPLAYINGO ) [ Now it is ready to start up again.
HUMANTURN There is one command I haven't explained yet. You can find out the
IF ( STILLPLAYINGO ) COM- number of seconds while the stopwatch is running by typing a 't.'
PUTERTURN If the stopwatch is started up again by typing a 'g' the computer will come
to the two CHRDY function calls. One of them checks if you have typed a 't.'
1 If you have, then the computer does a GETCHAR and gets the character.
GAMEOVER
Then it prints out the time; but after that the stopwatch continues counting.
If you want to stop the program, type 'x.' Eventually, the computer will
The name of the function is GAME. The come to the 'statement: .
compound statement that follows is IF(K=='x') BREAK
called the "body" of the function. This is true, so the computer will break out of the outer WHILE loop and
GAME divides the design of the game come to the end of the program. _
program into five parts: Paul Gibson - Age 11 Holmdel, N.J.
JAN 1979 69
GETREADY - which initializes
things, and prints instructions
requested.
STILLPLA YING - which determines
if
My First Tiny c Program
if the game is still going, and I've made my first tiny c program. My father told me what everything'
returns TRUE if it is, and FLASE if it meant. I'll explain what everything in the program means. Its name is NAME.
is over. Here is the program.
HUMANTURN - which conducts I*My first tiny c program, by Mark Gibson
the human's turn. I*December 3, 1977
COMPUTERTURN - which con- I*Age 9 .
ducts the computer's turn. name
GAMEOVER - which computes [
and prints scores, makes remarks char guess (70)
about the human's skill, promotes ps "what is my name?"
the human, or whatever. gs guess
The GAME function is the first step in if (ceqn(guess "tiny c". 6))
a divide-and-conquer strategy of pi "RIGHT!!!!!!!!!!"
program development. Let's carry this else
one step further. The GETREADY pi "WRONG!!!!!!!!!!"
function can be expanded this way: 1
GETREADY [ The first and second lines mean that it is my first tiny c program, I wrote it,
PL "Do you want instructions?" and when I wrote it. The third line tells my age. The fourth line tells the name
IF (GCO= =v') INSTRUCTIONS of the program. The fifth line means this is where the program starts. The
SETUPBOARD sixth line means it makes GUESS a variable. It's like an egg carton except it
1 doesn't hold 12 eggs; it holds 70 characters.
GETREADY divides the initialization The seventh line means to print a string and say "what is my name?" The
job into two parts: INSTRUCTIONS, eighth line means: stop the program and wait till you type the name and hit
and SETUPBOARD. (Note: GCO =='y' return. It puts it into GUESS. The ninth line tests if what you typed is equal to
reads a character from the keyboard "tiny-c." If it's equal CEON is 1; if anything else, then it's O. The tenth line
and tests if it is a y.) Notice that both means to print a line saying "RIGHT !!!!!!!!!!".It'sdone by the IF only ifCEON
GAME and GETREADY are universal. is 1. The eleventh line means if the CEON equals 0 then go to the next line.
They can be used in many game The twelfth line means to print a line saying "WRONG!!!!!!!!!!" only if CEON
programs. Programming in this fashion equals O. The thirteenth line means the end of the program. '.
eventually leads to a library of useful,
general purpose functions. These can
Mark Gibson - Age 9 Holmdel, N.J.
be pulled off the shefl into a software
project. You know they work because
they were used before. Your program- creative outlets, and programming student's name where I used Mark's.
ming becomes more productive, and looks like a lot of work to him. You can Explain the reason for each line as you
more pleasant. usually coerce your children into doing write it: HINAME
The next time you're programming a their homework for school, but not into [
sizable project (anything more than a debugging a program they didn't want PL "Hi, my name is MARK."
page) try to identify subsets of the logic to write in the first place. Wait until your PL "I speak tiny c!"
usable in other projects. Capture these student is ready and eager. 1
as functions. There is a gratifying Second, take small, carefully plann- Do this on paper. That puts a focus on
feeling in discovering a general pur- ed steps. There are lots of concepts to the programming aspect of the lesson.
pose function where none was be mastered. For example, the idea that Terminals and editors are more com-
suspected. programming a computer is teaching it plicated than we like to think they are.
Now the sixth statement can be to do something which itwili/aterdo on Doing the above lesson on-line will
defined: your command; this is a subtle idea. It entangle you in issues not yet taught.
RETURN catses a return from the must be understood or future lessons Now assign the first exercise. It's
current fu ction and assigns a won't "take." Flow of control is easy, structurally identical to HINAME, but
value to th function. but must also be understood. will be the student's own work:
Input/Output Another important point is to give the
Does anything seem missing? student early and frequent reinforce- Write a program called FOOD. It
Where's the input/output? This is done ment. This means teach only a small
will print three sentences, each
through functions. For example: amount, then give an exercise that on a separate Ii ne. The sentences
PL "Tiny c is neat!!!" gives them an experience based on that are:
will Print ona new Line the character lesson. To do this a carefully planned Hi, my name is (student's
string shown. The quotes are not set of exercises are needed. Each must name).
printed. PL is a function with one take a small new step. Each must
I like spinach.
argument, a character string. There are carefully avoid entanglements in
I like cooked carrots, too.
other functions to print a string on the issues not yet taught.
same line, read a string, read and print My first lesson covers:
numbers, manipulate strings, do file - A program has a name Have your student do the exercise on
input/output; altogether twenty five - A program has a body enclosed paper, not on the terminal. Otherwise,
"standards" functions. in brackets the complications of the editor come
Now back to the main subject.
- Inside the body are instructions into play. Work with the student until
Teaching approach for the computer to follow the exercise is correctly done on paper.
First, not all kids want to learn - How to print something using PL Now you can turn to the terminal.
programming, or are ready for it. Sit down with the student, and write the Show how to enter the program,
Daniel, my oldest, has found other . following short program. Use the correct typi ng errors, proofread the
70 CREATIVE COMPUTING
program for correctness, and finally, done by seat-of-the-pants judgment.
how to run it. Show how to save it. Go Go with your student's interests. Paul is
through all this in small steps. Be hot on graphics, as his article shows, so
patient with a young student's lacking of course I invented lessons and
of typing skills. Don't type it for him. exercises to get him there.
He's got to learn the keyboard, too. Here are a few other pointers. Read
Then I move to the IF statement. programs with your student. Discuss
Again, write a sample program good and bad points of style.
demonstrating the IF in its simplest Variables deserve a special attention.
form. The exercise I gave is "What's my In tiny c you "make" a variable with the
name." See Mark's article for this. Note INT or CHAR statement. It is important
it does not loop; we're not ready for this to distinguish the concepts of a
yet. variable from the value it contains. I
The next step is the WHILE state- explain that a variable is a box with a
ment. The simplest, and for kids a name and type on its side:
delightful form of the WHILE is the "In the real world there are lots of
infinite (do forever) form. This program types of boxes: shoe boxes,
illustrates the idea. refrigerator boxes, computer boxes,
FOREVER etc; but tiny c has only two types of
[ boxes: INT and CHAR. You can have
WHILE (1)[ as many of each type as you want.
PL "My name is MARK .... " Just be sure each box has a different
name on the side. Inside each box
1 you can put one value. A CHAR box
The "I" is always true. So this holds one character, and INT holds
program looks forever, i.e. until in- one integer "
terrupted. The above is more or less a direct
This sets the stage for teaching quote of a lesson I've given many times.
BREAK. I have found that young Incidentally, an array is an egg carton!
students can learn: I hope I have dispelled any notion
WHILE ( 1 ) [ that structured programming is
• sophisticated and reserved for the el ite.
• It is not. For new programmers, well
• guided, it is as easy to learn as any
IF (condition) BREAK .other higher level programming
1 technique (i.e., very easy). For old
a lot easier than the more programmers it will be a bit more
sophisticated: difficult. You must unlearn old habits,
WHILE (condition) [ and that's always hard. But I did it after
• 15 years of FORTRAN! Paul converted,
• although much less painfully than
• myself. Kids drink new languages like
SARGON:
1 water!
These two constructs do different Warning: You won't learn structured A Computer Chess
things, of course. The first does the programming by sitting down with an
loop once or more until the condition old BASIC program and a tiny c Program
becomes true. Then it leaves the loop. manual. Paul still gets all hung up by Dan & Kathe Spracklen
The latter does the loop zero or more converting his old BASIC programs to Adapted for the TRS-80
times until the condition becomes tiny c. It's hard to structure old unstruc-
false. The former model seems to fit tured programs. Level II by Paul Lohnes!
young student's projects more often Learn this. new skill from the ground The Winner of the Chess Tournament
than the latter. . up. Use it on new programs. At the end at the 1978 West Coast Computer
Faire is now available in a complete,
Then put the IF and WHILE together of the road is a new skill, a new ready-to-run cassette compatible with
with this exercise: enjoyment of the programming the TRS-80 Level II machine.
process, and the ability to teach it to (#00603, $19.95) Complete
your kids. Remember, you've got to documentation is available in a book
Write a program that reads a plan all those small steps. _ by the same title. (#5155-7, $14.95)
number. If it is negative the Also available for Apple II machines.
program prints, "That's negative, Would you like to know more Also Available on Tape:
I'll stop now." and the program about tiny c? It's available in both GAME PLAYING WITH BASIC, 27
stops. If it is zero or one or two or 8080 and PDP-11 versions from: recreational and educational
three it prints, "That's a zero" (or Tiny c Associates programs on 3 cassettes, compatible
"one" or "two" or "three"). Then it Box 269 with the PET (#00201), TRS-80 Level
repeats the whole process. If the 1(#00202)' TRS-80 Level II (#00203),
Holmdel, N.J. 07733 and Apple II (#00204) machines at
number is bigger than three, it $9.95 per cassette.
prints "That's a BIG number" and References
repeats the whole process. 1. Kernighan & Ritchie, The C Programming
Language, Prentice-Hall, 1978. rIl Available at your local
2. Madden & Gregory, "A Language for Micro- ~ computer store!
processors?" Byte, Oct. 1977.
This should be enough examples to 3. Salisbury, Alan, "Structured Software for Hayden Book Company, lnc.
illustrate the teaching approach. I don't Personal Computing," Creative Computing, Marl 50 Essex Street,
have a complete lesson plan. A lot is Ap,r '78. Rochell~ Park, NJ 07662
72 CREATIVE COMPUTING
present time," Fisher commented. dents take their computer time in the The department built a special KSU-
"The Air Force is funding this re- center, located in the basementof Fair- Bus; that is, they developed and built
search with $500,000for the first year child Hall. A graduate student is on the prototype for linking two com-
and we anticipate they will continue hand during operating hours to answer puters together for the network they
funding at about the same level for the questions and serve as a trouble- developed for the Army. To celebrate
next three years. That's how long it will shooter for any programming their ingenuity, graduate students
take to complete the project," he add- problems. In addition, for student bought a toy school bus and glued a
ed. convenience, satellite terminals are kazoo to its roof-the KSU-Bus.
Fisher noted that the Air Force grant located in several other spots on cam- The department's coltective inge-
is the largest ever awarded to his pus. nuity and ability, along with the top
department for a project. Students also have access to a new equipment in the field, hasenabled it to
The Air Force project came about as microcomputer network set up for desk develop an outstanding reputation in
a result of the reputation KSU earned top use. The units are KIM-1 tabletop its minicomputer specialty. Through
for itself while developing a similar pro- computers, and are about the size of a seminars, meetings of computer
totype network project for the U.S. desk-top calculator. In addition, stu- science groups and achievements of
Army during the past two years. dents have built several micro- various faculty members, KSU is mak-
"The Air Force wants us to provide a computers from kits and are in the ing a solid reputation for itself in the
similar network in their environment," process of building more. computer world. _
Fisher said. "They also want us to de-
velop programs and procedures so that
it would be easy for someone at any of
the computer locations to utilize data
from a common source."
Essentially KSU does this with their
own facilities, providing three outlets
which computer-science students can
use in various locations on the campus
to hook in to information in the univer-
sity's main computer.
One of the main reasons why KSU
can provide such excellent faci lities for
its students and maintain such a high
quality reputation among university
computer science experts is the fund-
ing provided by contracts with the
armed services and private industry.
NCR and Interdata Corp. are among
clients.
"Over the past three years the
amount of funding in the department of
computer science has been doubling
each year," Fisher said. 'This year we
will probably exceed $1 million in out-
side funding. These grants provide
support-for students, -faculty, travel,
and other things necessaryfor a strong
program."
Part of the travel done by KSU com-
puter experts is by automobile to the
neighboring University of Kansas at
Lawrence, some 90 miles down Inter-
state 70. In a cooperative educational
program, professors from each school
travel back and forth each semester,
teaching and doing advisory work on
special projects. KSU has specialists in
U.p.s. charges will be added to all orders. California residents add 6% sales tax.
applied minicomputer networking, and
supplements its expertise with the KU o Payment enclosed o Visa/Bank Americard DMasterCharge
profs who are more knowledgeable in
Card No. Interbank No. _
the theory of computer science.
In additional education projects, the Expiration date _
department conducts demonstrations
Name _
for the U.S. Army Computer Base
I
Command located at Ft. Riley, Kansas, Address _ I
I
which is adjacent to K-State's Manhat- I
I
tan campus locale. City -'-_ State Zip _ I
I
The University's computing center is I
the site for on-campus educational Signature _ I
I
I
efforts. It is the production-oriented
area of the computer department at
-~--------------------------------------------------------------~
KSU. Working in conjunction with Send to P.P.S.
P.O. Box 2051, Seal Beach, California 90740
other computer department areas,stu-
For fast service or Information call
(714) 894-3736 between 12 and 5 P \1. California time.
====================
Jeff Levinsky ===============
This article is intended to warn those who have contemplated Figure 1
purchasing the BILF (BASIC Infinite Loop Finder) program
offered for BASI C users by the Cosmic Software Corporation in
last month's issue of Popular Megabyte. BILF, as I have
painfully discovered, and its soon-to-be-released big brother BILF ) te 5t program
(known as Super BILF), are little more than impressive hoaxes:
the infinite loop finders must and do fail.
Actually.ithe idea behind BILF is a good one. Infinite loops, '~test data
as we all know, are sections of code that are inescapable once
entered (a software analogy of a black hole). The simplest
possible infinite loop in BASIC is:
10 GO TO 10
which is of course inescapable. However, large BASIC and consistently produced the correct answer. I then tested my
programs may contain far more insidious infinite loops which puzzle games. As a testament to my computer skills, BILF found
are almost impossible to detect. BILF claims to be able to detect all of my programs to be free of infinite loops. In short order, I
any infinite loop no matter how concealed. had tested all the programs that I had, save BILF itself. Testing
My own motivation for purchasing BILF was to check some BILF on itself presented something of a challenge, but I was
large puzzle solving programs that I have written. These puzzle curious to know if BILF might somehow infinite loop, thereby
programs examine all possibilities at each stage in the solution failing to decide whether or not its test program would infinite
of the puzzle and are inherently very slow. To solve the puzzles loop. Although this possibility sounds bizzare, it was easy to try:
for larger and larger boards, the time required becomes much I set the address of the test program for BILF to be that of BILF
greater. For example, my 80800based computer requires only 30 itself. The address for the test data did not matter in this instance
seconds to produce a winning strategy for one puzzle on a three because BILF does not contain any input statements. Using the
by three board. However, I have calculated that as much as 27 same sort of notation as above, I ran:
hours would be needed to solve the very same puzzle for a four
by four board. But what if I did not know how long the Figure 2.
computer would take to solve the puzzle and the program
contained an infinite loop? I would run the program, see no
results, but then assume that perhaps in another moment the
program would halt, wait out that moment, make the same
assumption, wait out another moment, etc., etc. I would never
be sure whether or not the program had failed. With BILF, I can
obviously analyze my puzzle solvers and then be confident that
they will not infinite loop but instead will eventually halt.
BID ------, anyplace
Now for the actual details on BILF. Cosmic Software charges
20 dollars for it (Super BILF will cost 30 dollars) and supplies it
on a standard cassette which loaded easily into my machine.
BILF is written in standard BASIC and consists of 260 lines of
the most obscure code imaginable. Once loaded, BILF is set to As the arrow shows, the program that BILF tested was BILF
contain the address of the program to be tested and the address itself.
of the data that the (test) program is to be run with. Both the test There a few tricky points here. Note that in this test of BILF,
program and the test data must be in memory. The reason that the BILF being checked for infinite loops is itself checking BILF
BI LF requires the latter is that a program may infinite loop only for infinite loops. This is due to the fact that both the BILF that I
upon certain input. The program below will infinite loop if, and am running (which I will call BILFI) and the BILF that it is
only testing (which I will call BILF2) are one and the same, and
10 INPUT I therefore share the address of the test program. So when BILJ1
20 IF 1=0 THEN 20 tests BI LF 2, BILF ztests BILF also. I shall call this third instance
30 PRINT "MADE IT!" BILF 3 In the same notation as before, we have:
40 STOP This is equivalent to Figure 2. I suspect that some people will
if, the inputted number is a zero. So, in order for BILF to decide insist here that BILF3 must be testing a BILF4 which is, in turn,
whether or not this program will infinite loop, BILF must know testing a BI LF 5, and so on. Whether or not this is true is
what number will be inputted, that is, the data. Figure I gives a immaterial. The important observation is that BILFI is testing
pictorial summary of this. BILF z testing BILF}.
I first used BILF to test some very simple programs, such as Upon running the above test, I discovered, as might be
the one above. In all cases, BILF worked admirably: it quickly expected, that BILF2 testing BILF3 does not infinite loop.
test, I will first explain the expected outcome. Applying the rule DR T R 5 ERR C H
given above for FLIB, we have: incorporated
"FLIB I will infinite loop if, and only if, the program it tests 5694 Shelby Oaks Drive Suite 105 Memphis, Tenn. 38134
will not."
The test program is FLIB2, and it is testing FLIB3, so we have: Rush __ copiesof "Low Capital Startup Computer Businesses" tome
"FLIB I will infinite loop if, and only if, FLIB2 testing FLIB3 right away.
will not."
But all three FLiBs are actually the same, so we have: NAME/COMPANY _
"FLI B will infinite loop if, and only if, FLIB testing FLI B will ADDRESS _
not." CITY/STATE/ZIP _
This is a paradox! To see why, consider each possibility. If 0 Check Enclosed 0 Bankamericard 0 Master Charge
FLI B 2 decides that FLI B3 will infinite loop, then FLI B 2will
stop, and thus FLIB I will infinite loop. In other words, if FLIB
testing FLIB stops, then FLIB testing FLIB will not. This is
clearly impossible. But so is the alternative: if FLIB testing FLIB CIRCLE 123 ON READER SERVICE CARD
does not stop, then FLIB testing FLIB will. Thus, we have the
paradox.
JAN 1979 75
Down With Typewriters!
Ralph Roberts
r:
The reasons I have for being in make it harder, so difficult that my So, I show off the computer doing
personal computing have usually been friends would be discouraged from actual legitimate time-saving work in
unsatisfactory when trying to explain playing it. Unfortunately they get better our daily operations and my friends
to friends why all these little black with practice and I keep getting cap- say, "Hey, that's great, but I don't have
boxes are around. In my case the little tured by the pirates and sold into a business and I couldn't really justify
black boxes are a literal description slavery. The game is now 15K long and owning one. It sure is nice though."
since I run a SWPTC MP6800 com- extremely elaborate. Everybody enjoys I grit my teeth and explain how they
puter, AC-30 cassette interface, Smoke it but they don't consider the game as a could keep their personal records, their
Signal BFO-68 dual floppy, and have valid reason to own a computer. You wife's recipes, play games (both
two small black cassette players. My can play games almost as good down educational and entertaining), run a
Micro-Term ACT IV terminal is also at any penny arcade for just a quarter. security system, and all the other
trimmed by black sides. When I confess reasons you see in magazines such as
that the only reason for spending all Creative Computing. So they ask me if I
this money is that I simply like com- do all those things. Why no, I use the
puters and enjoy fooling around with I, like many of the machine in my business. "Aha!", they
them, many people laugh. Most of my exclaim and it's back to the bass boats,
friends think this absurd and leave to readers of Creative Com- basements and birdhouses.
work on their bass boat or build puting" was for years a I kept searching for that perfect
bookcases and birdhouses in their reason, the justification that would
basement or something equally useful. frustrated writer. capture the imagination and cause the
Well, that idea was no good so I person hearing it to not only under-
started showing off all the game stand why he should have a computer
programs I had. I satthevisitordown in but to rush out and get one. Then I
front of the computer and let him play Being a small businessman (we have bought some new software from
Lunar Lander, Hamurabi, and my two stereo shops here in western North Smoke Signal Broadcasting and a
personal favorite written by me, Star Carolina) I came up with the idea of blinding light dawned, it thundered
Pirate. They enjoyed that and it took using the computer in our normal loudly, and the ANSWER, fully
quite awhile to get rid of some of them. I business operations. We now do daily developed, popped into my head. The
still have people coming back to play bank deposit ledgers, check dis- perfect solution, something many
Star Pirate and trying to amass their bursements, billing and inventory people want to do. I speak of writing, of
fortune in interstellar credits. To keep control on my personal machine. I keep processing words, of creating literary
the computer from being tied up so the computer, my marvelous little 6800 masterpieces. I, like many of the
much, I kept rewriting the game to powerhouse, in the office anyway since readers of Creative Computing, was for
I seem to spend most of my time here. years a frustrated writer. Now the
Ralph Roberts, P.O. Box 8508, Asheville, NC 28804.
76 CREATIVE COMPUTING
computer could help me write, prepare for those of you unlucky enough to lines per page and spacing so that both
manuscripts, submit them, and with have a Z-80, 8ei80 or 6502 based margins are perfectly even (right and
luck, sell my writings. Sell, that's the machine. By use of the editor, a file can left justification). The text processor
key word, because it means a check for be created arid manipulated as much also puts my name at the top of each
your writing and money in the bank for as you wish. In writing this article, for page, the title of the piece and numbers
more bass boats; mistresses or a new example, I made several errors in the pages in order. All this, in case the
high speed printer for the trusty old spell.ing (yeah,' I'm not perfect, it only pages get scattered at the magazine
microprocessor. looks that way). The text editor allows and need to be reassembled. I go have
First of all, why have we been you to make global changes. Let's say a cold soda pop Or whatever while the
frustrated from selling our colorful and I've used the word 'computer' twenty computer does all the typing at 360
enthralling short stories, our action times in this article and misspelled it words per minute. Should a mistake
filled novels, our marvelously complete each time. Rather than going through have slipped by me in my earlier
and understandable technical articles? and changing each mistake, I merely proofreading, it's extremely simple to
Simple, the worldwide conspiracy of enter the command 'C/computor/com- correct that error and print that one
typewriters against aspiring authors! I puter/200' and the editor will search page over.
could always write. I could always through and correct the spelling each
come up with interesting storyideas. time I used the word and print only the
Taking a pencil, I have always been corrected lines. The '200' tells it to
able to sit down and jot words on paper search 200 lines. .
profusely. No problem, pencils like me, Thetext editing system makes it easy The text editing system
to write, rewrite, proofread and correct
they thoughtfully provide erasers in
case I make a mistake. But, you cannot your material - all without putting a
makes it easy to write,
send a smeared, pencil scribed story to single thing down on paper. You save rewrite, proofread and
the edited file on tape or disc as in my
an editor and expect him to do
case. You can go back and Work on the
correct your material -
anything other than a rimshot into the
old round file. The thing must be typed piece anytime (even after you have all without putting a
submitted the article). Should a
and that's the rub, typewriters haveit in
magazine editor ask for a rewrite, you
single thing down on
for us poor wordsmithS.
Typewriters are vicious things, they just call up that particular file and paper.
deliberately misspell words, they space modify as needed. Without getting
wrong, they go to great lengths to make much more into the text editor, I'm in
you type whole pages over and over the process of writing a user's report on
and over. Deep within their twisted little Using the text editing program I can
mechanical hearts, typewriters hate control what I write and with the text
and despise writers, they sit on dusty processor I control formatting and
shelves in office machine stores devis- manuscript preparation. It makes put-
ing scheme after scheme to make me or
Typewriters are VICIOUS ting words together an immense
any other young, budding Hemingway things, they deliberately amount of fun. It makes you, the
look foolish. For years, they kept me person, more powerful and ableto leap
from being published, the hassle and
misspell words, they taller stacks of printed pages by using
work of preparing manuscripts just flat space wrong, they go to the computer as a tool to increase the
amount, of work you can do. The
took all the fun out of writing.
There are two pieces of software that
great lengths to make purpose of this article has not been to
I purchased from Smoke Signal and you type' whole pages explain the inner workings of the
Smoke Signal SE-1 Editor and TP-1
use in the writing and preparation
manuscripts for submission. The first is
of over and over and over. Text Processor but to put across to you
the SE-1 text editor, the second is the the new justification I have discovered
TP-1 text processor. Both came on for owning my very own computer and
floppy disc for my BFD-68 floppy and to show how easy you can use the word
this version anyway, we can Sum up by
both have very excellent documenta- processing power of a personal com-
stating that you become the master of
tion. With these programs, my com- puter to achieve goals that might be
the flow of words by using the com-
puter became a very powerful word impossible otherwise.
puter in this manner, It's a great
processor. With these, tools, I don't Does this really Work? Can you
advance and allows any writer to turn
have to worry about making mistakes, I actually write and sell you r work usi ng
out a much larger quantity of work and
can pound out my stories in a fine a computer? Yes indeed, these words
breaks the psychological barrier some
creative fervor showing a kingly dis- printed herein Creative Computing
of us have always had against rewriting
regard for spelling arid punctuation. If I attest to that and, as for me, watch for
because it's so easy to go back and
make an error, it's simplicity itself to go my by-line in other magazines, I have a
polish your work. '
back and change it. If I fail to explain hungry computer to support and we
Now we have this article written and
why the hero in one of my science need the money. Also, when my friends
polished and corrected and rewritten
fiction stories conveniently comes up ask me why all the computer stuff, I
arid repolished and recorrected. Here
with a laser pistol, I can add.ithat now just pull out some of my published
comes the "hard" part, it's got to be put
paragraph later. By use of these two work and say, "Here's one reason." So,
on paper neatly and in a professional
programs, I can completely defeat the format for submission to Creative the heck with bass boats and
aforementioned diabolical conspiracy Computing, (If Creative Computing birdhouses- give me my personal
of vindictive, tin-hearted typewriters doesn't buy this article, it's easy to use computer and a mistress, and I'll write
and see my words in print. the Great American Novel. _
the editor program and put in the name
There are basically two steps,using of another magazine. Heh, Heh!).
my computer system, in writing. The Actually, this turns out to be the easiest
These two programs are available on diskette from
first. the actual writing process itself, step of all. I merely call up the Smoke Smoke Signal Broadcasting, '6304 Yucca,
makes use of the text editor program. Signal TP-1 text processor and it prints Hollywood, CA 90028, SE-1 Editor- $29; TP-1 Text
The Smoke Signal Broadcasting SE-1 merrily away on my Decwriter, format- processor - $39,95.
Editor is similar to software available ting neatly with the correct number of
JAN 1979 77
Attention.
Chess Phreaks!
Microchess for the TRS-80 is here!
And only requires 4K of memory!
Les Palenik
MICROCHESS is written in Z-80 The player can select the color, but it will disable the break key, so if you
machine language and it fits in 4K of not the side of the board. The corn- want to break, the only way is to switch
memory, so you can run it on the puter's pieces will be displayed always off the machine. Of course, then you'll
smallest TRS-80 system. It can be at the top and the player's pieces at the lose the program and you have to load
loaded into the TRS-80 computer using bottom of the screen. it again. This seems to be a rather
the standard CLOAD. There are three different levels of clever protection of the program.
It is advisable to clear the screen play, ranging from beginner to an The program consists of the chess-
before typing CLOAD. The loading of expert. You can decide on the level of playing logic and the graphic driver
the program takes a: little bit longer play by typing:IQ=1 ,2, or3. Usually one which displays the chessboard. The
than one would expect after loading would select level 1 or 2, since the graphic driver is somewhat limited by
standard programs written in BASIC. program responds quite quickly play- TRS-80 video-display and its resolu-
Since this program is written in ing at this level. Level 3 is the best level tion (48x 128 addressable locations),
machine Ia.nguage it will automatically of play, but is considerably slower and but all pieces Onthe screen can still be
start executing after successfully some players may lose their patience easily recognized.
loadlnq. playing at this level. You can switch the The moves (especially the com-
First, all available options and in- levels of play anytime between the puter's) are done in a very neat way.
structions will be displayed on the computer's moves. When it is time for the computer to
screen. Take a good look at this There is a very interesting feature in make a move, the cursor is moving on
display, or even better, copy it on a this' program which will allow the the screen, to Indicate that the com-
piece of paper, because once you press player to reverse the sides. It is the puter is still "thinking." Once the
"ENTER," you won't see it again. exchange command and you can computer decides on its move, the
After you press "RETURN" a graphic execute it by typing an "X." Both sides particular piece will be flashed several
depiction of the chessboard will appear will be reversed in a fraction of a times to draw the attention of the player
on the left side of the screen (ap- second and you can use it to let the and then it will be moved to its new
proximately 2/~ of the screen is used computer play a move again itself. location.
for the chessboard). Well, I admit it's cheating, but it can be In summary, I think this is a very
The right hand side of the screen is quite interesting to see how the com- interesting program which will bring
used for communication between the puter analyzes the opponent's side, you many hours of enjoyment and, at
player and the computer. All the and it can be used for simulation and the same time, improve your chess
messages and prompts will be printed learning how to playa better game of game. It demonstrates in a nice way the
on this part of the screen. chess. In another extreme, one could capabilities of TRS-80 and all in all, is
playa game against himself by using an excellent program to have in your
Les Palenik, 25 Silversprings Blvd., Suite 512, the same command. library. I would highly recommend it to
Scarborough, ONT M1V1M9, Canada. Once the program has been loaded, you. •
78 CREATIVE COMPUTING
TRB-BD
MICROCHESS is the culmination of two years of chessplaying
PET APPLE
4K TRS-80s, in Z-80 machine language, offers 3 levels of play (both
program development by Peter Jennings, author of the fanious 1K Levell and Level II versions are included and can be loaded on any
byte chess program for the KIM-1. MICROCH!;:SS 2.0 for 8K PETs TRS~80 without TBUG). MICROCHESS checks every move ior
and 16K APPLEs, in 6502 machine language, offers 8 levels of play legality and displays the current position on a graphic chessboard.
to suit everyone from the beginner learninq chess to the sertous You can play White or Black, set up and play from special board
player. It examines positions' as many as 6 moves ahead, and positions, or even watch the computer play against itself! Available
includes a chess Clock for tournament play. MICROCHESS 1.5 for now at a special introductory price of only $1'9.95
PLA Y CHESS
BRIDGE CHALLENGER by George Duisman for 8K PETs, Level II
WITH YOUR
STIMULATING SIMULATIONS
COMPUTER!
by Dr. C.W. Engel for ElK PETs, 4K
16K TRS-80s, and 16K APPLEs: Yo" and the dummy play 4 person Levell and II TRS-80s, and APPLEs with Applesoft II: Ten original
Contract Bridge against the computer. The program will deal hands simulation games such as Forest Fire, Lost Treasure, Gone Fishing
at random or according to your criterion for high card points. You and Diamond Thief, progressing from elementary to quite complex
can review tricks, swap sides or replay hands when the cards are with most suitable for schoolchildren. Includes a 64 page book
known. No longer do you need 4 people to play! $14.95 I giving flowcharts, listings and suggested modifications. .. $14.95
ORDERS: Check, money order or VISA/Master Charge accepted; mail yourotder to the address below. Personal sottwere" products
programs and cassettes guaranteed. If you have questions, please are now available at all Radio Shack® stores througho!Jt the United
call us at 617-783~0694. If you know what you want and have your States and Canada, and from the PETand APPLE dealers listed
VISA/MC card ready, you can DIAL TOLL FREE 1-800-325-6400 beiow. New dealers are being added daily. For the name and
(24 hours, 7 days; in MiSsouri, dial 1-800c342-6600). Or you can address of a dealer near you, call us at 617-783-0694 today!
The heyday of the secretive easy to read. The inscrutable program reader won't know what he's rnisslnq. If
programmer is' over. Today he' is may be doomed! In order to survive he gets the idea that a program should
forced to fight a rearguard action. The today's threats to his art, the secretive be easy to read and understand, the
machine language of the fifties gave programmer must set some rules of program's mystery is seriously
way to Fqrtran. In the sixties, Fortran style. threatened. Do everything possible to
gave way to Basic and Cobol. The 1. Confuse Naked Code with a Well- suppress the notion that a finished
seventies' has seen contorted code Dressed Program program should, like an essay, have a
yielding to structured programming. Always call small fragments of title, a date, an author's name, and an
Professional practices have made life working code "programs" and the opening statement of purpose.
harder and harder for the secretive
programmer. No wonder he hurries Example Before
home from the office each night to the
limited memory and cramped code of
the personal computer. Here, in 100 REM SORT 16 SEPTEM~ER 1977 JO~ M. NEVISON
private, he can continue polishing his 110
120 REM SORTS A MIXEII BATCH OF NUMBERS, B(), IN.TO ASCENDING
ability to obscure code from the prying 130 REM ORDER. ESPECIALLY GOOD FOR BATCHES OF tESS THAN 50.
eye of the reader. 140
But even here the future threatens. A 142 REM REFERENCE: JOHN M. NEVISON, ·THE LITTLE I100K OF BASIC
Basic program can be well-styled on 144 REM STYLE: HOW TO WRITE A PROGRAM YOU CAN READ,·
minicomputers, and books have 146 REM READING, M~SS: ADDISON-WESLEY PUBlI~HING
appeared that show how micro Basics 147 ~EM COMPANY, 1978.
148
can be styled to reveal the program's 1..50REM VARIABLES:
ideas to the reader. New disc-resident 160 REM B() ••• THE BATCH OF NUMBERS
Basics are widening the opportunity to 170 REM I ••••• THE INDEX VARIABLE
style Basic on micros. Memory that is 180 REM L ••••• THE LENGTH OF THE CURRENT LIST
190 REM X ••••• THE EXCHANGE VARIABLE
200
210 REM CONSTANT:
220 LET N9 38 = 'NUMBER OF DATA
Now anyone can mystify 230
240 REM DIMENSIONS:
the reader with inscrutable 250 DIM B(38)
260
code by following these 270 REM MAIN PROGRAM
280
four simple rules of style. 290 REM READ IN N9 RANDOM NUMBERS, SORT THEM,
300 REM A~DPRINT THEM OUT.
310
presently quite expensive will become
I
315 LET X 0 =
320 FOR I = 1 TO N9
quite cheap. One authority predicts 330 LET .B(I) =
INT(R~D*25 +1)
that "a megabit storage chip will cost 340 PRINT B(I);
approximately $30 by 1985." Soon, 350 NEXT I
360 PRINT
perhaps within the year, bubble 366 PRINT
memory will make the secretive 370
programmer's favorite excuse, limited 38Q FO~ L= N9 TO 2 STEp -1
memory, a thing of the past. 390 FOR I =
1 TO L-1
In addition to losing his 40Q IF j(I) <- Bel) THEN 440
technological excuses for writing hard 410 LET X = B(I)
420 LET B(I) tt(L>
to read code, the secretive programmer 430 LET B(L> = X
will be besieged with readers who, from 440
time to time; will chance upon a well- 450 NEXT I
styled program, read it, and demand 460 NEXT L
that all programs be well-styled and 470
480 FOR. I = 1 TO N9
490 PRINT B(l);
'While the masculine pronoun is used throughout 500 NEXT 1
this article. the person referred to may be of either 510 F'RlI'iT
sex.
520
530 END
John M. Nevison, 3 Spruce St., Eioston, MA 02108.
80 CREATIVE COMPUTING
secretive programmer, REM means
CONSTANT: REMove.
LET N9 = 38 'NUMBER OF DATA Sequential units of the program blur
together when the blank lines are
240 REM I1IMENSIONS:
250 DIM B(38) removed. The reader can no longer see
260 quickly where one part ends and the
270 REM MAIN PROGRAM next begins. Many Basics currently
280 help the secretive programmer here by
290 REM READ IN N9 RANDOM NUMBERS, SORT THEM, not allowing a blank line, but future
300 REM AND PRINT THEM OUT.
310
Basics will allow this dangerous line.
315 LET X.= 0 Guard against its use.
320 FOR I = 1 TO N9 The second space to avoid is inden-
330 LET B(I) =
INT(RND*25 +1) tation.
340 PRINT B(I);
350 NEXT I
360 PRINT· 220 LET N9 = 38
366 PRINT 250 DIM B(38)
370 315 LET X '" 0
380 FOR L =
N9 TO 2 STEP -1 320 FOR I = 1 TO N9
390 FOR I = 1 TO L-l 'Be I ) = f Nt( RHD*25 +1)
330' U::''T
IF B(I) <- B(L) THEN 440 340 PRINT B( I);
400 350 NEXT I
410 LET X = s cr : 360 PRINT
420 LET B(I) B(U 366 PRINT
430 LET B(U '" X 380 FOR L = N9 TO 2 STEP .-1
440 390 FOR I = 1 TO L-l
450 NEXT I 400 IF BII) <= BIL) THEN 450
410 LET X = B(I)
460 NEXT L 420 LET B(I) ='BIL)
470 430 LET B(L) = X
480 FOR I '" 1 TO N9 450 NEXT I
490 PRINT B(I); • 460 NEXT L.
500 NEXT I 480 FOR I '" 1 TO N9
510 PRINT 490 PRINT BII);
520 500 NEXT I
510 PRINT
530 END 530 END
Notice how the beheaded code is careful to avoid any PRINT statements Indentation can reveal the most
much more obscure. When the in- that might reveal what the code is difficult logical feature of most
troduction is missing, the reader doing. programs: the loop. Remove indenta-
doesn't know whom to ask about the tion, and loops regain their rightful
program. He doesn't know when it was 3. Strain the Reader's Eye mystery. The reader must now ferret
written or why, or what the variables What he can't see he can't under- them out one at a time. In fact, with
really mean. The odds are that hewon't stand. English has adopted many rules both blank lines and indentation
take the trouble to find out either. The of spacing that the secretive removed from the program, the logical
program has a much better chance of programmer should avoid. The general structure is completely hidden from the
passing byunexarnined. practice of the secretive programmer reader. He must take the program one
2. Never Comment Code should be donotuseaspaceifyoucan- line at a time and slowly construct his
Even after the introduction has been avoidit. own guess at what the structure of the
stripped away, a program will frequent- The first kind of space to avoid is the program might be.
ly have scraps of comment dressing blank line. The third space to avoid is line
blocks of code. Expunge these notes After the last REM statement is spaces.
mercilessly. Never give the reader any removed, only the heartiest of readers The reader must now read each line
explanation beyond the code itself. Be would brave this code. To the true one character at a time. Almost no one
220 LET N9 = 38
230
250 DIM B(38) 220 LET N9 '" 38 220LETN9=38
260 250 DIM B(38) 250DIMB(38)
315 LET X = 0 315 LET X = 0 315LETX=0
320 FOR I = 1 TO N9 320 FOR I = 1 TO N9 320FORI=lTON9 ,
330 LET BII) - INT(RND*25 +1) 330 LET £III) = INT(RND.*25 +1) 330LETBII)=INTIRND*25+1)
340 PRINT B(I); 340 PRINT BI!>; 340PRINTB(I);
350 NEXT I 350 NEXT I . 350NEXTl
360 PRINT 360 PRINT 360PRINT
366 PRINT 366 PRINT 366PRINT
370 380 FOR L • N9 TO 2 STEP -1 380FORL=N9T02STEP-l
380 FOR L = N9 TO 2 STEP -'1 390 FOR I = 1 TO L-l 390FORI=lTOL-l
390 FOR I = 1 TO L-l 400 IF BII) (= BIL) THEN 450 400IFBI I )(-B(L> THEN450
400 IF B(I) (= B(L) THEN 440 410 LET X = BII) 410LETX=BII)
410 LET X = B( 1) 420 LET sr r i BIL> 420LETBO )=B(L>
420 LET B(!) B(L> 430LETB IL>=X
430 LET BIL> '" X
430 LET B(Ll = X 450 NEXT I 450NEXTl
440 460 NEXT L 460NEXTL
450 NEXT I 480 FOR I = 1 TO N9 480FORI=lTON9
460 NEXT L 490 PRINT Bon 490PRINTB(J n
470 500 NEXT I 500NEXTl
480 FOR I .- 1 TO N9 510PRINT
490
500
PRINT £1(1);
NEXT I
;~~ PRINT
ENII 530END
510 f'RINT -r
520
530 END
JAN 1979 81
but the most die-hard fanatic will
Micro Business Software attempt to understand the program at
this stage. The program's privacy is
• Complete interactive, double entry account- almost completely assured.
ing system
.51 programs with 120 pages of documen-
tation 220LETN9=38
250DIMB(38)
• Written in Northstar BASIC (other variations 315LETX=O
available) 320FORI=lTON9
330LETB(I)=INT(RND*25+i1
• General ledger, accounts receivable, 340PRINTB(I);
350NEXTi:
accounts payable, inventory and payroll 360PRINT
366F'RINT
• Only 24K of memory 380LETL=N9
382IFL=2THEN530
• Single diskette can hold 400 customer 390FORI=lTOL-l
listings, 50 vendors, 400 line items of 400IFB(I»=B(L)THEN450
410LETX=B(J)
inventory, 25 employees, 60 general ledger 420LETB(I)=B(L)
accounts. 430LETB(l)=X
450NEXTI
• Only $200.00 455PRINTB(l) ;
460LETL'=L-l
To order GBIS business software, send check, 462GOT0382
530PRINTB(2);B«()
money order or purchase order (Calif. residents 535f'RINT
add 6% sales tax -prepaid orders shipped 540END
at no charge) to:
CIRCLE 160 ON
READER SERVICE CARD
82 CREATIVE COMPUTING
Postage, paper, and printing prices have been soaring out of sight and it is just a matter of time
before we'll have to raise our subscription prices. However, before we do so, we're giving you,
our readers, a chance to subscribe or extend your subscription at the current rate. Not only that,
but we're giving you an incentive to do it today. Wot a deal!
A complete set of all 9 issues of ROM is yours The great children's game "Computer Rage"
free with a 3-year renewal, extension, or new or the hilarious "Colossal Computer Cartoon
subscription to Creative Computing. Book" is yours free with a 2-year renewal,
ROM magazine was published from July 1977 extension, or new subscription to Creative
to April 1978 and contained some outstanding Computing.
articles by the leaders in the field: Lee Computer Rage has been hailed by educators
as an outstanding game for teaching youngsters
Felsenstein (designer of the SOL), Joseph
between 7 and 14 about the binary number
Weizenbaum (AI guru at MIT), Theodor Nelson
system (the game uses 3 binary dice!), parts of a
(author of Computer Lib/Dream Machines), Bill computer system and how a program is
Etra (a video/computer artist), Frederick processed. In addition the game is sheer fun!
Chesson (computer cryptography expert), and Recommended by Instructor, The Arithmetic
many others. Each issue of ROM, "the com- Teacher, The Science Teacher, Curriculum
puter magazine for the curious," had a full- Product Review and others.
color heavy centerfold suitable for framing, The Colossal Computer Cartoon Book is our
outstanding fiction, how-to articles, games, best-selling book containing over 300 side
puzzles, and much more. splitting, wacky, droll, punny, cute, and clever
cartoons. "The funny side of computers, robots,
and other malicious machines."
Free Gifts available only on prepaid and bankcard orders. Offer valid from Jan. 1,1979 through
March 31, 1979 only; it is not retroactive. Use the subscription order form and write on the
bottom the gift you desire or call toll free:
800-631-8112
(In NJ 201-540-0445)
CP6otiv6 computinfj
P.O. Box 789-M Morristown, NJ 07960
o
('
~
, E , " , 8 E ,
, - ---- "":
-. •• Ii
I am not sure just when computer operators come up with It is several days before the August Club accepts the chal-
the phrase "Garbage in - garbage out," but I suspect it is lenge, and I presume the delay is due to the well-known fact
the year the men's club at Burnt Brush Golf Course begins that Jimmy the Green does not make hasty challenges, his
feeding our scores into the computer to figure handicaps. livelihood depending as it does on the outcome of such
You see, Burnt Brush does not enjoy a reputation for matters.
having great golfers, or even very good ones. This is why I am Jimmy the Green is the finest golf course tout I ever know.
so surprised the day Jimmy the Green tells me he challenges Of course, he is the only golf course tout I ever know, or even
the August Country Club to an eight-man team match and sets hear about, but he is a good one. Nobody knows how he does
the odds at 7-5 in favor of Burnt Brush. it, but give him a few hours to figure his system, and he will
"But why do you pick the August Club?" I ask increduously. tell you almost every time who willwin or lose a match, and he
"That is a very classy club, indeed." will set the odds to boot.
"Precisely," says Jimmy the Green confidently. "And Well, when the August Club accepts the challenge, there
according to my system, Burnt Brush has a team that can is much rejoicing at Burnt Brush, not only because Jimmy the
beat any team in the nation - providing I select the team Green has picked us to win, but also because we are invited
members - so why not take on the best? It is simply good to play at their course, and an invitation to August is not easy
business." to come by, never mind the home course advantage.
84 CREATIVE COMPUTING
The wagers begin coming in, even before Jimmy the Green but a lowdown crook. I wish to set the record straight, once
names his line-up, and understandably most bets say August and forever. Will you hear me out?"
wins. Now, when it comes to a dollar Nassau, even with "Of course," I say, but first I try to cheer him up by letting
automatic presses, we at Burnt Brush have great faith in Jimmy him know that he is held in high esteem at Burnt Brush, by
the Green's picks. But our faith waivers more than somewhat one and all. "None of us know how you did it, but picking
in the face of double sawbucks and occasional C notes put Burnt Brush over August has to be the long shot of the ages.
up by the August players who figure the match to be a romp. Our hats are off to you, Jimmy the Green."
It is a tribute to Jimmy the Green's belief in his own system, He is not impressed. Pouring himself' a fresh cup of tea,
to say nothing of his bankroll which I do not realize the size, he begins like this: "Before I start hanging around here at
that he covers all wagers single-handedly. And it is a tribute Burnt Brush, I follow the horses for most of my 50-odd years,
to his reputation for honesty that he is allowed to hold the and this is a following with more ups and downs than a yo-yo
stakes. on an elevator."
On the day of the match I am shivering on the first tee at I nod.
August Country Club, unprepared for the cold drizzle and
chilly wind because only the day before the weatherman
forecasts a warm, calm day. I am wondering how this will
affect our team, when I hear the familiar "psssst" of Jimmy
the Green.
He motions for me to join him, and Isee that he also is caught
unaware by the cold and wet. He is shaking and dripping in a
thin polo shirt, holding a newspaper over his head with one
hand and a large shopping bag with the other.
"I will be much obliged if you will hold the pot," says
Jimmy the Green. "It is all here in the bag."
My eyes bug out at the sight of the bag, stuffed with
greenbacks. "Are you Sure you can trust me?"
He hands me the bag. "Any guy that loses as regularly
as you do has got to be honest."
I thank him for the compliment. Then he gives me some
special instructions, and I start to get worried.
"Win or lose," Jimmy says, "I plan to leave on an extended
vacation. If I win, a gent named No-alibi Al willbe by to collect
my bundle. Give it to him. If I lose, the same gent will be
by to collect my body. Give him my regards."
I am more than a little nervous wondering if this No-alibi Al
is particular about which body he collects. But before I
can protest, Jimmy the Green disappears, quicker than you
can say pssst,' and even before the match begins.
Well, the short of it is this: To everyone's surprise and my
great relief, who should win the match but Burnt Brush.
Immediately, a weird little guy with shifty eyes and a large
suitcase sidles up to me and says "pssst." It is a menacing
pssst that packs a lot of authority, so when he identifies himself "Well, it is during a prolonged down spell that my system
as No-alibi Al and demands Jimmy the Green's winnings, I predicts a sure long-shot winner. But I am having a serious
do not hesitate in emptying the shopping bag contents into case of the shorts so I make arrangements for a substantial
his suitcase. He hurries away and I never see him again, which advance from a gent that I do not normally do any business
is the next-best thing to never seeing him the first time. with. As it turns out, my system is only partly right. My pick
I am surprised that a classy club like August puts up such IS a sure long-shot ... but not a winner. So, for my health, I
a fuss. They figure getting beat by Burnt Brush is impossible, leave the track, planning not to return until I figure out why
if all is on the up-and-up ... which many do not believe it is. my system goes sour, and not even then unless I somehow
There is a charge made that Jimmy the Green has tricked gather enough 'legal tender to cure my serious case of the
them. shorts."
Well, we ignore the cries of anguish from the losers and I nod again, even though Jimmy the Green is not the easiest
there is much celebrating around Burnt Brush, and for months guy in the world to understand. '
to come Jimmy the Green is the toast of the clubhouse. "I happen to stop at this clubhouse of yours for a cup of tea,"
Jimmy the infallible! The greatest judge of golfing talent! he says, "and my misery loves company, which is abundantly
But he is not around to collect his kudos. We presume he provided by the golfers, about as miserable a bunch as I ever
is off making his fortune picking winners on the professional see."
tour. He becomes a living legend, so you can uriderstand "What is their problem?" I ask.
my excitement two years later when I stop by the clubhouse "They are down in the dumps - I hear from the coriver-
and from a dark corner of the cafeteria I hear "pssst." sations around me - because they never know from one day
"Jimmy the Green!" I hurry to his table. "How have you to the next how weli they will score. I can identify with this
been?" because I also am never sure when I will make a good score
Right away, I am sorry I ask. Even in the dim light he does either. I hear one guy say, 'If somebody could tell me why I
not look much like a living legend, which I would not expect shoot 85 one day and cannot break 100 the next, I'd give
to see wearing the same polo shirt he has on the day of the him a million bucks.' Now, such figures naturally draw my
match. attention. Then I hear mention that some good bundles are
He invites me to sit, and gets right to the point. "The story being laid on a 'horse race' coming up, which I learn is not a
of the upset win by Burnt Brush spreads far and wide, and I teal horse race but rather a competition among two-man
keep hearing how Jimmy the Green somehow tricks the golf teams, and it is then that I get an idea. The computer for
August Country Club, and that Jimmy the Green is nothing figuring handicaps is the key."
JAN 1979 85
"This is the first time I hear that you use the computer," I say. careful blending of windjammers and mudders, but I am left
"More on that in a moment," says Jimmy the Green. "Well, with t;;y bundle, not to mention my life, riding on the sunshine
developing a system for this kind of horse race is a piece of boys.
cake. I get the field figured, place a pile on my choice, and make "To this very moment, none of us realize your predicament
a very good score, indeed. It is on this day, when I am tucking on that day. How do you possibly arrange for the Sunshine
the greens into my wallet, that ... " . boys to win?" I make no attempt to hide my excitement.
"We begin calling you Jimmy the Green," I recall. "The plain and simple truth is ... " Jimmy the Green
"And also because none of you can pronounce my last pauses and lowers his head. "I do not arrange anything. Ac-
name, Sandatrapolous. But from this moment on, I enjoy a cording to my system, those sunshine boys cannot beat
good reputation as the club's ex-officio handicapper, as their sick grandmothers on that day."
you know. 1 begin picking up some good scratch from my "And that is why you ask me to hold the bag?"
clientele who wish me to tell them such things as how well He nods agreement. "Precisely." Sipping the last of his tea,
they will play and also the 'form' on their opponents, which he gets up slowly to leave. "I am going back to the track
is handy information to have when it comes to/placing side where computerized odds are routine, and where the only
wagers on the outcomes." . weather condition that matters can be determined by a glance
"Handy, indeed'," I agree. over the rail, right up to post time."
"But I am not making enough to meet a certain obligation "What should I tell the guys at the club?"
I have with the gent of whom I speak to you about before. "Tell them that a system that cannot be trusted 100 per-
He has set a no-alibi deadline of June 1st." cent is worse than no system at all, and can lead to nothing but
I shudder at the recollection of my meeting with the gent. a case of the shorts. This is the record I wish to set straight.
"Consequently," Jimmy the Green goes on, "I am forced to Better that Jimmy the Green is remembered as a failure than
go for the big bundle and it is then that I decide to run an as a lowdown crook. Iwillappreciate your spreading the word."
eight-man team against the August Country Club. I figure Jimmy the Green walks out of the Clubhouse into a cold
there is no way I can lose because it is simply a contest drizzle, one hand holdinq a racine form over his head.
between my system and no system at all, which is no contest." It is a shaking experience to witness the death of a legend.
"Do you mind if I ask how your system works?'; I ask. I am so shaken, in fact, that it is several minutes before I
"At this point, I do not mind," he says. "My system is based realize that I forget to tell Jimmy the Green some very impor-
on a theory that golfers are no different than horses in that tant news. I think he would have been impressed to learn that
some are .natural 'mudders', while othe~s comes through during his two years' absence, his sunshine boys - no doubt
better on a dry track - or fairway ifyou prefer. It is also my instilled with incomputable confidence as a result of being
theory that amqng golfers we have 'windjammers," who are picked to win by the infallible Jimmy the Green - chalk up
at their best in a gale, and we have 'sunshine boys' who should four straight victories over the August team ... in all kinds
not get out of bed if the temperature drops below 70." of weather. .
"This is an interesting theory," I say, "but how did you test Some day soon I will spread the word about Jimmy the
it?" Green's system as he explained it to me. But not just now.
You see, before I run into Jimmy the Green, I place a rather
large wager on the sunshine bOYSin their match tomorrow
"My system is based on a theory againstthe AugustCountry Club. Iwant our team to remember
that they are the pick of Jimmy the Green, and not to worry
that golfers are no different than that the forecast calls for cold, gusty winds arid rain. . •
hOrses ... "
86 CREATIVE COMPUTING
Announcing the marriage of
the electric pen(il tm
toTRS-·
*TRS-80 is a product of
Radio Shack, Div. of
Tandy Corporation
\
and you can view text whenever you wish using the bidirec-
tional variable speed scrolling feature. You can insert, de-
lete, or relocate any text using simple keyboard commands.
55 Glendale,CA 91205
============================
Ken Barbier ===================
The real grabber was what appeared for game playing, but was severely Hardware Features
to be an 8-track tape cartridge plugged limited for any serious use. With the Anticipating this type of use, a 25 pin
into the side of the machine. As the optional Level 2 BASIC installed, the connector has been grovided f~
salesman was quick to point out, the Radio Shack computer is a fine ~rallel input!outQut (I/O), so that a
cartridge didn't contain tape - it held machine for home or business use. printer or typewriter type terminal can
the BASiC language in read-only Both of these micros are readily be instantly .attached for hard copy.
memory (ROM),. And, in the future, expandable, but the choice of the IEEE Also sharing the back panel of the
other languages and utility programs 488 interface bus for the PET is Sorcerer's enclosure are a second 5
would become available in the same questionable. This bus convention is pin connector providing access to the
format, so that they could be instantly found on expensive laboratory equip- -ua au 10 cassette interfaces-aswell
swapped with the BASIC, simply by ment, but it is not compatible with the as-anB:S-=-232 'serial data lineTor-
unplugging' on cartridge and plug- peripherals available to the typical commuriicating with remote terminals.
ging in a new language. This feature, personal computer user. Completing this array of interface
combined with a really extensive capability is a QQ..pin card-edge con-
keyboard providing instant access to nector which can be used to attach
graphics as Well as alphanumeric -s:-ro- Altair t pe ex ansion chassis.
characters, led me to fall instantly in e eyboard on the Sorcerer is one
love with the Sorcerer Computer. of the machine's outstanding features.
This was in April '78 at the PER- Not just because it has a comfortable,
COMP convention in Long Beach, solid feel, and features both upper and
California. SOrcerer production was lower case. Actually, some keys have
scheduled to begin in June. It was not five distinct functions: l.J.Pper case,
until early in August that a new lower case, graphic character, u~
Sorcerer arrived on my doorstep. Read defined graphic character and single
on and YO!J will see if I think the wait keystroke en ry of ASIC statements.
was worth it. Take a Sorcerer Computer, add a CRT monitor This latter feature allows a non-typisT
or modified TV set (as in this case) and a cassette to key in a BASIC program about as
recorder, and you have a complete microcom-
Instant Computer fast as a typist could. Access to each of
puter system. The Rom Pac cartridge plugged into
Little more than a year has passed the right side of the computer allows 'instant the five function levels is through the
since the initial deliveries of the first program swapping. use of the SHIFT and GRAPHIC keys.
"take it out of the box and turn it on" With neither pressed you get a lower
microcomputer, the PET from Com- Enter the Sorcerer case letter. SHIFT gives upper case, as
modore. Shortly on its heels arrived ~ Incorporated,' a leading on a typewriter. GRAPHIC provides
the TRS-80 from Radio Shack. These manufacturer of arcade tYJ1e video access to the 8 by 8 dot matrix built-in
computers are now readily available, games, aware of the shortcomings of graphic characters. SHIFT and
and are supported by a mountain of l'fie e-first two personal computers GRAPH IC keys together provide
software for both game playing and when it developed the Sorcerer, took access to a user defined 8 x 8 dot
serious' business use. Neither of these full advantage of their experience. character, provided he has previously
machines is perfect. The PET has a . Exidy combined the really great entered the bit pattern into RAM
funny little keyboard that may be graphics capability of the PET with the memory. When BASIC is running, or is
alright for one-finger pecking, but is eXQansion flexibility of the T 8.=.80and in the command mode, the cornbina-
pure agony for anyone who can type. added Its own super feature, the RQDL tion of the GRAPHIC and a letter key
The PET does include an addinq Pac". The Sorcerer has a full will produce a complete BASIC state-
machine/calculator type keypad, ~cL.Wlth both up~ ment or command (GOTO, CLOAD,
however, which greatly speeds up and lower case letters dis layed on the etc.). In spite of this, BASIC still has
numeric data entry. CH ,---and w en the word processing_ access to the graphics characters. If
The TRS-80 has a real keyboard, but system becomes available, a quick you want your BASIC program- to
lacks the numeric keypad. The CRT swap of the cartridges will convert the display a graphic character, it would be
display is TOO LARGE at 12" and has machine into a smart typewriter, with entered between quotes (as in: LET A$
too few lines displayed at anyone time. the addition of a hardcopy device, of = lL1") in which case the GRAPHIC
With Level 1 BASIC the TRS was alright course. key in combination with another key
Ken Barbier, Borrego Engineering, PO Box 1253, will produce the graphic character
Borrego Springs, CA 92004. '969 West Maude Ave, Sunnyvale. CA 94086 rather than the BASIC statement.
88 CREATIVE COMPUTING
Hard Software
Computer programs used to be
and an X-Y plotter, or any of the other
S-100 bus' com pati ble peripherals
Mow,a book
referred to as "software."
with the introduction
However,
of higher level
already on the market. Sorcerer
ready when you are!
is
for the practicing
languages
more descriptive
in ROM, "firmware"
term. Programs on
is a
The "So Who's Perfect?" Department
professional ...
tape can still be called "soft." The nice Professor Gilmauch Crimwaddy's
thing about firmware is that it is Second Law of Static Dynamics states
instantly available. No five minute wait that "Version 2 (of anything) is the first
for a tape to load. version that really works." This is
In addition to the BASIC language in quoted here not to challenge Fun-
Rom Pac, the Sorcerer comes with an damentalists or the First Book. It is
extensive monitor program in ROM on merely to point out that when you insist
the CPU board, where it is always on ordering a machine before it is even
available. This monitor handles all the in production, you can expect to find
I/O for the Rom Pac language, so it can something wrong somewhere. Let's
be used to reassign the input or output see what one customer found.
operations for BASIC in the event a My Sorcerer was the fifteenth off the
peripheral terminal or printer is used. production line. It was unpacked and
At the machine language level the placed on the kitchen table. A Hitachi
monitor provides the usual. operator 9" monitor was connected to the
access to memory for dumping or VIDEO OUT jack. No monitor is
changing memory locations. There are included with the Sorcerer, allowing
also commands for reading and the user to select a screen size com-
writing to either of the taRe interfaces,"'" patible with his glasses prescription.
and even tapes writte by BASIC_caR~ The BASIC Rom Pac was inserted and
ooloaoe§from_the monitor. A" a h" .the POWER switch activated. Sorcerer
mode is also available, which allows came up running, and informed methat
"This is the best handbook of data
theopera or c5Cr~e_a taRec0nt8Tning I had 7400 bytes available. The rest of
communications system technology
a series of commands, which the that this reviewer has yet
monitor can t en execute one at a time. encountered."-Arvid G. Larson in
--Forexamp"I~, assuminvtwoCaSsette ACM ComRuting Reviews
drives are used, with the motor on-off February 1978
controls connected, a batch tape can
Digital Press announces the
be created which will load a BASIC or
publication of TECHNICAL
machine language program, run the
ASPECTS OF DATA COMMUNI-
program, return to the monitor batch
CATION by John McNamara.
mode, load another program, execute
Written for the practicing pro-
it, etc. Using this feature, programs fessional, TECHNICAL ASPECTS
which are too big to fit in memory at OF DATA COMMUNICATION
one time can be loaded and run in details the nuts-and-bolts prob-
sequence without operator attention. lems and solutions in configuring
The BASIC supplied with the communications systems. It
the 8192 bytes of RAM that come with
Sorcerer is an 8K version which is more features: • comparison of protocols
the machine are used by BASIC and
powerful than. Radio Shack Level 1 but (DDCMP, BISYNC, SDLC) • exten-
the monitor. The 7400 left forthe user is
falls short of PET or Level 2 sive explanation of interface stand-
plenty. It will take a while to fill them up.
capabilities. It has no double precision ards (CCITT/V.24, RS232C, RS422,
The first three weeks of Sorcerer's
option, PRINT USING, EDIT, or AUTO RS423) • six comprehensive
life were devoted to constant activity. It
line numbering. The lack of double appendices (how far/how fast?,
moved around locally. It took a 500 mile
precision can seriously limit business modem options, codes, UART,
trip in the trunk of my car. It was used
use of the machine. format and speed table for asyn-
by nine year olds and up. It was asked
chronous communication, chan-
to display its' 30 lines of text on a high
nel conditioning) •20 milliampere
Expansion: Optional resolution monitor and on a cheap TV
loop • telephone switching
While it is nice to know that the set. It was required to talk to several systems> error detection
connector is there on the back panel, different inexpensive cassette
•382 pages • 125 figures •70
and that an expansion chassis is recorders. Its interface ports were pages of tables > index •hardcover
available to connect it to, the features probed by scope, although real
already included with the Sorcerer peripherals were not yet available for
r---·--------------,
make you wonder if expansion will ever
be required. RAM can be expanded to
32K on board. Two tape decks with
the acid test. All seems in order. Yet, no
one is perfect.
The SHIFT LOCK key refused to
"'D'Dn~D
I ~ ~ U~ ~~~~=:i~~e~sselVices
Digital Equipment Corp.
II
automatic motor control plug right iri. keep the keyboard in upper case. This I Dept. DP-H Crosby Drive, Bedford, MA 01730
I would like to order copies of I
An 8 bit parallel input and an 8 bit
parallel output port are built in along
is important to BASIC, which will
accept strings in lower case but wants I TECHNICAL ASPECTS OF DATA
COMMUNICATION at $19.95 per copy. I
with a bidirectional
These features
RS-232 interface.
permit a computer
statements in upper case. One of the
many users discovered that by press- II o Check enclosed 0 Money Order enclosed
Plus $1.00 for Postage and Handling. I
system configuration quite capable of ing down and slightly to the right on the
handling serious business data key top it could be made to work I Name I
processing without expansion. If you
insist. .. go ahead and add a couple of
reliably,
This was the only hardware deficien-
I Address I
c disc drives and a speech synthesizer cy with the Sorcerer. It can hardly be I City State Zip__ I
L _________
Prices apply in U.S. only. .J
Attention:
Dept. L7
Figure 1
Medical Audits are retrospective
reviews of hospital charts in cases with
common diagnoses, treatments or MEDICAL AUDIT STUDY WORK SHEET
tests. The various regulatory agencies
feel that a well designed Medical Audit
can indicate problem areas to which
educational efforts can then be : PATIENT PHYSICIAN
directed. The JCHA (Joint Committee ,-" ::N:::.uM:':8::ER::.,-========---
__ -r- __ --.::N~U~M::B~E~R~=;:====;;:_--__;"
of Hospital Accreditation) and the EI,ENENl'S TO BE REVlEl>"ED
Standard standard
met
standard
met thru
variation
PSRO (Professional Service Review exception
them require only a yes/no answer. The ALL VJ\RlA1'IONS t-llIST BE: REf'ERRED to Committee for review
Identity variations by element NO.
final summaries are concerned with the
percentage of cases which do not meet
Figure 2
..
Age Range Moles #Femoles Total {Beforecorrminee review)
..
.# lOSf(onge ~Patlen's {Aner c~mrnillee leview)
Q_9 10 18 1-3 days n CRIT. TOTAL TOTAL
io-rs 10 18 4-6 15
lVIee~ng "'. Passing NotPosslng
20-29 1 3 7-9 7
NO.
Element + /\t1eefl~
Slcndard ~ceptiOo %
coreseee ,; COIl'II'l'Vifee
3()"39
40-49
4 6 10-12 1
3
" """"'" % f?e'o'few
0 2 13-15 1 50 50 100
50-~9 2 3 16_20 2
2/3 45 45 90 50 100
50 50 100
6' 12 0 12
29 29 60 0 29 60
is 18 36 0 18 ss
PHYSICIAN/OTHER PROFESSIONAL !UNIT DISTRIBUTION 42 42 84 50 100
rtws Pflys Prof Unil ••.ots-
Code •• Potenrs -Cooe e Patients cooe " Patients No. Potienls' Charges Deaths
45 45 90 0 45 90
2 1 10 12 6 12
26 3
11 8 0
, 27 13
40 1
58 9
68 6
135 3
150 4
Deem
COMPLICATIONS
TOTAL PHYS/UNITS/PROFS COMMITIEE INFORMATION ITEMS CRIT. "II" NolMeebng #Po~ing 'If. NOIPaSSlng
;;;, RATE(%) Crllleo,- ComI'T'llt!ee Committee
# PhystCioosinstudy-li- Ilem #' % NO.
Pelvic Exam 50 100
Mo~n' Re-.iew· """ow
"" N.ftsing u~ts in s~ 1
10101__ . Dlscharge __ not done
:# Other professionals in stuOy Rectal Exam 5 10 10 12
Discipline :# DiSCipli~ '*' not done
Physdc Lan 58 11
3/9
Physician rso
2/14
'if paTIents WQfe cored I()f on fT"(.::«I_
O'OOII8flIS ,nine SIUOVf.IOwever,lhell
IlOI'l or.a OU'$>l'IQunit, !he 0I..IfTtl0eI 01 polient~ d<~1rt:lvte<:I will e:.cee<j
Oi\.Crtoroeslol"oOuldeQ\lOlll'le ~RecoIdslnlNOv
the 1010:1 rXJlT1bef
~ .•"
JAN 1979
93
shortened version with multiple DIM A(260) statement will probably be An optional case summary can then
statements per line using abbreviations necessary. be obtained and either rejected or
and no spaces is required. The P.M. The chart number is entered as B$ approved. Should an error be detected,
command will read 1469 with the since many charts have alphabetic as the whole case must be re-entered. If
abbreviated version. This tiqhtmemory well as number coding. This number is the information' is correct, it is then
restriction also forced us to prepare the not retrievable in thisprogram the way added to the various array locations
operating instructions for the record it is now written. The patient's sex is previously reserved.
room personnel on a separate paper, entered, followed by the birth date and The operator is allowed to precede
rather than printing them on the com- admission date. After the discharge with the next case. If there are no more
puter. ' date is entered, a formula is used to cases, a final summary is displayed.
System Operation calculate 'the length of' stay. This The age summary, length of stay
Since this program is designed to formula is correct for the various summary and physician summary are
allow the clerk to enter the predeter- months and leap years. Because the separately presented for easier
mined questions as DATA using the TRS-80 may overflow the calculation reading.
line number and the D. abbreviation, it we have elected to begin the computa- This practical program is an example
is quite flexible. Many different audits tion at 1972. of the use of a
microprocessor by an
can be done without help from the The main program continues after orgariization which had not previously
original programmElrs. . these subroutines. The various felt the need for computerization.
The 4K BASIC does not initialize questions are READ and PRINTed, The Because the computer is now
variables to zero so this is performed in response to each question is stored reasonably priced and bureaucracy is
Lines 70-1qO. Should this program be temporarily in A(I). This array is used building, perhaps this is just a
used with other BASIC interpreters. a over and over. prototype of such programs. _
Figure 3
Number qf records 50
NARRAnVE
SUMMARY
OFSTUDY
(Include problems that require action by the governing body)
. Thestody demonstrated ~hat there is d very accurate diagnostic ability in this study. All the
.cases reviewed has a cut eppendtct t+apatho loqtcat ly. The LOS was low primarily because the age group
was under 30. .'. .
there was a mi ncrJprob l em with rega,ds to rectal examinations and those particular physic ians
have'. been consul ted regardi ng thei r deci si on not to exami ne thi s area pre-operat ive 1y. I n both cases
these phys i c ians. did do rectal ecamthat ions on other patients. .
There was a 12% rate of perforation which will be reviewed by the surgeons and a process audit
may be conducted. This does not infer delay on anyones part but just the fac t+ tha t more informe t ton
is needed. Documentation is a chronic problem not limited to this institution and has been reported
to the proper groups with hopes of improving the charts. It should be emphas ized that documentation
and qual t ty of care do. not necessar l Iy go together, but it makes· auditing easier. .
Deporfrnent/Service Chqirman(men)/Director(s)
Nursing Service Dlrector , Governing Body
94 CREATIVE COMPUTING
Table 1
A(I+Q)
Response to questions
each question
NORTH STAR *
for
COMPUTERS
Now included in our Program Library! .
A bank-switching system which fully supports North Star DOS
A(lOO-llO) Age Summary
and Basic. Other languages to be supported in near future.
A(111-155) Physician numbers storage Program Library - $500 One Time Fee
Program Library included FREE with all purchases of $2,000.00
A(156-199) Physician cases or more.
** Business Programs Require Addressable Cursor CRT **
A(200) Over 60 days stay I
HORIZON
A(201-260) Stay of 1 to 60 days 2 User OWNE~S
Move Up To
Time ShCl'ing System
, Timesharing
1. Horizon II with aoKRAM
1. 48KRAM
2. 2 ADM-3A's
2. ADM-3A
3. IP-125 with 2K Buffer
3. Program Library
4. Dual 8" Floppy Disk System
5. D.C. Hayes Modem *2100.00
6. All connectors & cables Requires 32K North Star RAM
7. Program Library in Horizon Computer
Table 2
8" Floppy Disks
*995 1st drive & controller
List of variables *795 each additional drive
Q Number of questions Micro Mike's
905 Buchanan, Amarillo, Texas 79101
J Number of cases 806-372-3633
F Number of females
w
Total length of stay all cases
Number of physicians'
INCOME TAX
u
S
Maximum
Sex
length of stay
PROGRAMS
P
B$
Physician
Chart number
FOR TRS·80™
A$ Question READ from DATA FOR INDIVIDUALS (LINE PRINTER OR
DISK NOT REQUIRED)
G 'Age of patient
1040A 4K 7.95
R Length of stay 1040 (with Schedule A 4K 14.95
&G thru F Routine)
o Days from 19]2 to admission
TC&G (Income Averaging) 4K 14.95
H Days from 19.72 to discharge
60 J=O
96 CREATIVE COMPUTING
120 FOR 1=1 TO 260
130 A(I)=O
140 NEXT I
160 J=J+1
200 READ A$
260 GO TO 220
280 NEXT I
290 RESTORE
480 IF A(110) >0 THEN PRINT "OVER 89 ";A(110) 1000 GOSUB 1070
560 PRINT "OVER ":U;" DAYS = ";A(200) 1080 IF M> 2 THEN 1110
570 PRINT "AVERAGE STAY = ":T/J 1090 H=365 * Y + D + 31 * (M-1) + INT((Y-1)/4) - INT(.75
640 END 1200 PRINT AT 640;"DO YOU WANT A SUMMARY OF THIS CASE II.
1250 PRINT
840 INPUT P 1260 PRINT "CHART NUMBER ";B$,"AGE ";G,"SEX II.
,
850 PRINT AT 222;"SEX (1=FEMALE, O=MALE ) "., 1270 IF S",O THEN PRINT "MALE"
860 INPUT S' 1280 IF S"'l THEN PRINT "FEMALE"
870 PRINT AT 512;" "
1290 PRINT "LENGTH OF STAY ";R,"PHYSICIAN It ";P
880 IF S=l THEN 920
1300 PRINT
890 IF S=O THEN 920
1310 FOR 1=1 TO Q
900 PRINT AT 512;"YOU HAVE MADE A MISTAKE" l320 PRINT I;". II.
920 PRINT AT 320: "DATE OF BIRTH "., 1340 IF A(I)=O THEN PRINT "NO",
950 INPUT M,D,Y 1370 INPUT "IS THIS DATA CORRECT ";X
98 CREATIVE COMPUTING
1380 CLS
1460 NEXT I The Apple" II, today's most popular personal computer, is at The
Computer Store. Along with the latest in Apple peripherals. Like
1470 IF G ;89 THEN A(l10) = A(llO) + 1 the new Disk'" II floppy disk drive. Or, printer and communica-
tions interfaces. And, the latest in software including the new
1480 FOR K=O TO 80 STEP 10
Apple/Dow Jones Stock Quote Reporter. The compact Apple II
1490 IF G< K THEN 1520 gives you 48K RAM memory with full color graphics and high
resolution graphics. It's the most powerful computer in its price
1500 IF G> ,:"KTHEN 1520 range.
At The Computer Store, we have more than ever before in
1510 A(K/10+100)=A(K/10+100) + 1 microcomputers, memories, terminals and peripherals. All backed
by a technical staff and a full service department. Stop in today,
1520 NEXT K
you'll find more than ever before at The Computer Store.
1530 T=T + R
The Computer Store
1540 FOR K=l TO U 820 Broadway, Santa Monica, California 90401 (213) 451-0713
The Original Name In Personal Computer Stores
Store Hours: 'Iues.c-Frf., Noon-8pm, Saturday, lOam-6pm
1550 IF R=K THEN A(200+K)=A(200+K) + 1 Located two blocks north of the Santa Monica Freeway at the Lincoln Blvd. exit.
Phone and mail orders invited. BankAmericard/Visa and Master Charge accepted.
1560 NEXT K
'--------- CIRCLE 124 ON READER SERVICE CARD --------..1
,~;tf
r'·,'
".-..••
1'. '
.
D
DO'
...
D
'. .
.
>
••
• Pulse stretching OUTSTANDING FEATURES! - Computer
makes good moves instantaneously.
PEOPLE'S SOFTWARE Literal and graphic displays of each
move. Option to replay same rolls.
at Popular Prices Eight-page instruction manual.
25¢ per program + $1 tape SPECIAL PAK-Il $51.95
Includes a- standard coiled cord, coiled cord OUTSTANDING VALUE! - Only $20 on
Tape 1 includes 26 Level I with micro hooks, adapter for using CATCH-
busi ness/home/educational cassette. For systems marked by (*). a
A-PULSE on logic families whose power
disk version is available for $25. Cali-
just $7.50 + 50¢ P. & H. supply is 15V to 25V. Shipping add $ 2 Ouper
probe. fornia residents add 6% sales tax.
(eA residents add 45¢ tax) Make'check payable to
Complete Instructions
Our easy-to-follow directions cut instal-
lation time to just minutes. You can do it
yourself-with no soldering! All you need is
a household screwdriver. Only $140
100% Guarantee
Like our kit, simple: if a part ever fails, we
replace it, FREE. For technical assistance call or write to:
AL: BIRMINGHAM: Computer Center, (205) 942-8567. HUNTSVILLE: Computerland, (205) 539-1200. CA: BERKELEY: Byte Shop, (415) 845-6366. EL CERRITO: Computerland,
(415) 233-5010. HAYWARD: Computerland, (415) 538-8080. LOS ALTOS: Computerland, (415) 941-8154. MARINA DEL REY: Base 2, (213) 822-44119. MT. ViEW: Digital Deli, (415)
961-2670. SAN FRANCISCO: Computerland, (415) 536-1592. SAN JOSE: Electronic Systems, (408) 226-4064. SAN RAFAEL: Computer Demo Room Inc., (415) 457-9311. WALNUT
CREEK: Computerland, (415) 935-6502. DE: NEWARK: Computerland, (303) 736-9656. FL: FT. LAUDERDALE: Computer Age, (305) 791-8080. POMPANO BEACH: Computer Age,
(305) 496-4999. TAMPA: Micro-computer Systems, (813) 879-4301. IL: NILES: Computerland, (312) 967-1714. OAK LAWN: Computerland, (312) 422-8080. PEORIA: Computerland,
(309) 686-6252. KS: OVERLAND PARK: Personal Computer Center, (913) 649-5942. WICHITA: ComputerSystemsDesign, (316) 265-1120. KY: LOUISVILLE: Computerland, (502)
425-8308. MA: CAMBRIDGE: Computer Shop. (617) 661-2670. MD: ROCKVILLE: Computerland, (301) 948-7676. MI: ANN ARBOR: Newman Computer Exchange, (313) 994-
3200. ROYAL OAK: Computer Mart, (313) 576-0900. NJ: ANDOVER: Atlantic Microsystems, (201) 549-0189. BUDD LAKE: Computer Lab of New Jersey, (201) 691-1984. CLARK:
S-100, (201) 382-1318. ISELIN: Computer Mart (201) 283-0600. SUCCASUNNA: Computer Hut, (201) 584-4977. NY: BUFFALO: Computerland, (716) 836-6511. ITHACA: Computer-
land of Ithaca, (E)07) 277-4888. JOHNSON CITY: Micro World, (607) 798-9800. NEW YORK CITY: Computer Mart of New York, (212) 686-7923. SYRACUSE: Computer Shop of
Syracuse Inc .• (315) 446-1284. OH: CINCINNATI: Digital Deslqn, (513) 561-6733. DAYTON: Computer Solutions, (513) 223-2348. OK: OKLAHOMA CITY: Micronics, (405) 942-
8152. PA: FRAZER: Personal Computer Corp., (215) 647-8463. STATE COLLEGE: Microcomputer Products Inc., (814) 238-7711. TN: KNOXVILLE: Eastern Microcomputer, (615)
564-8365. TX: AUSTIN: Computerland, (512) 452-5701. DALLAS: KA Electronic Sales, (214) 634-7870. GARLAND: Digital Research Corp., (214) 271-2461. HOUSTON: Houstori
Computer Mart, (713) 649-4188. UT: OREM: Johnson Computer Electronics, (801) 224-5361. VA: ALEXANDRIA: Computers Plus, (703) 751-5656. ARLINGTON: Arlington
Electronics Wholesalers, (703) 524-2412. VT: ESSEX JUNCTION: Computer Mart of Vermont, (802) 879-1683. CANADA: ONTARIO: MISSISSAUGA: Arisia Microsystems, (416)
274-6033. TORONTO: Computer Mart Ltd., (416) 484-9708. WINNIPEG: Patrick Computer Systems Inc., (204) 774-1655. WEST GERMANY: MUNICH: ABC Computer Shop,
Schellingstrasse 33, 8000 Munchen 40 Microcomputer Shop, Toelzerstr, 8, D-815 Holzkirchen. ISRAEL: HAIFA: Microcomputer Eng Ltd., Haifa 31-070.
and
HOME
><
each company borrow like crazy at
really usurious interest rates (10-20%,
though really that isn't too inaccurate
these days), which caused stock prices
Biorythms does include an instruction
booklet, but very strangely it has a
picture of a TRS-80 screen on the
cover! Most of the booklet consists of a
POISON
CONTROL Roger o. Linge, MD
to start fluctuating wildly. Of course, source program listing, unnecessary WARNING: your home contains
you can use the traditional methods of since you obviously bought the products which MAYBE HARM·
slowly developing production, taking cassette so you WOUldn't have to type FUL OR FATAL IF SWALLOWED.
out small loans, etc., but this takes a the whole thing into a computer, and This North Star BASIC program de-
long time. All the game needs now is also not very helpful if there are
termines the necessary EMERGEN·
some version of the SEC to prevent typographical errors. The Weight Con-
such outright fraud. We really enjoyed trol program accepts data on your CY MEASURES for ingestion of
it and would highly recommend it, height, build, etc. and then computes a household products. Disk utility el-
although for truly educational pur- suggested weight and can also plan a lows expansion of substance vocab-
poses it probably needs the diet (calories/day) if you want. ulary to over 2400 names. Access
modifications mentioned. Biorythms is typical although the time less than 6 seconds. Free an-
Microtrivia is a computerized trivia graphics are used well. There are a few nual updates. Complete Source
quiz game, with about ten questions strange things about the package, like listings.
each in twelve areas, such as "Famous the menu which asks you to select
Animals" or "Crime and Criminals." number 1, 2, 3, or 4, and the instruc-
Questions are true-false, multiple- tions in the booklet tell you to make Diskette and Manual $28.00
choice, and matching. Fun at first - but sure the cable connections to the Manual' only, with listings 8.00
once you've done all the questions, it computer were secure (the PET does WATCH FOR cassette versions.
loses interest. However, it's probably not have cable connections - the
Available at your computer store
great for showing off your computer to cassette unit is built-in). At least
a friend. The manual curiously points Personal Weight Control may be worth or from:
out that neither President Carter nor it as a "serious" application. BerkeleyMedicalDataAssociates,Inc.
Bobby Orr has played Microtrivia, but Mortgage with Prepayment and MicrocomputerConsultants
they probably don't have computers, Financier are financial calculation P.O. Box 5279, Berkeley,CA 94705
either. programs. The Mortgage program (415) 653·6707
,'---------------------------------------==~============~)
JAN 1979 105 CIRCLE 144 ON READER SERVICE CARD
Who Really Needs
Interfacing Problems?
Interfacing things to computers has sometimes
been a real bugaboo even for experienced
engineers. Here's a sad, but true, tale of a new-
comer's experience in this area.
IS "".l:O-
~~ ~ -: ------~
icom mIC~OPE~PHE~lS
Products of I::!!I Pertec Computer Corporation.
Dealer
20630 Nordhoff
inquiries invited
St., Chatsworth. CA 91311. (213) 998-1800
iCOM and Microperipherals are registered trademarks of Pertec Computer Corporation. Microfloppy is
a trademark of Pertec Computer Corporation. CP/M is a trademark of Digital Research. Inc.
.
Marilyn Burns. This book is for
Donald D. Spencer.
challenge of competition
Enjoy the
with your
personal computer. Amuse yourself
•••••
...
••••••
.,
nonbelievers of all ages, but especial-
ly for kids who are convinced that
mathematics is (1) impossible, (2)
with such computer games and
puzzles as 3-D Tic- Tac- Toe, Rou-
• •••
•••••••
only for smart kids, and (3) no fun
To Order
Use the bound-in order form or send
your check for books plus $2.00
shipping and handling per order
(Foreign: $1.25 per book) to Creative
Computing, .. ' P.O. Box 789-M,
Morristown, NJ 07960. NJ residents
add 5% sales tax. Visa or
MasterCharge are acceptable also.
For faster. service, call in your bank
card order toll free to:
800-631-8112
(in NJ call 201 540-(445)
GP68tiv6 Gomputind book' s6Pvic6
,......-- ...
Getting Started
,
#.
, ..
"Every why
~
,
Microprocessors: From
Chips to Systems
RodnElY Zeks.
detailed
A complete
introduction
and
to
" r:" microprocessors and microcom-
, wherefore".
•
•
hath a , puter systems, Some of the topiCS
Using BASIC in the Be A Computer Literate in a language the absolute beginner personal computer is constructed
can understand. Hundreds of il- and how it works, Includes such
Marion Ball & Sylvia Charp, This
CI~ssroom introductory book is extensively lustrations and photographs, 220 pp. things as home protection: keeping
$7,95 [9TJ track of budgets and bills, game
Donald D, Spencer, A teacher's guide illustrated with full-color drawings,
playing, inventory management and
thatmakes every phase of teaching diagrams, and photos, Takes the
computer proqramrninq more
An Introduction to tax calculations, 139 pp. $4,95 [10TJ
reader through kinds of computers,
productive and enjoyable, It gives how they work, input/output, and Microcomputers, Vol 1 - Consumers Guide to
you fresh but proven ideas for writing a simple program in BASIC, Basic Concepts
presenting computer and program- Aimed at ages 10-14 but beginners of
Personal Computing and
ming topics, scheduling terminal all ages will find it informative, 62 pp, Adam Osborne, Thoroughly explains Microcomputers
time; purchasing a microcomputer or $3,95, [6HJ hardware and programming con-
cepts common to all micro- Freiberger and Chew, Here are two
minicomputer, running the second-
processors: memory organization, valuable books in one: an introduc-
ary school instructional computer
instruction execution, interrupts, I/Q, tion to the principles of microcom-
facility, and giving assignments that
arouse enthusiasm in your students,
Problem Solving With The instruction sets and assembly pro-
puters that assumes no previous
knowledge on the reader's part, and a
224 pp. $8,95 [10E]' Computer gramming, One of the best selling
computer texts worldwide, 350 pp, review of64 microcomputer products
Ted Sage, Used in conjunction with from over 50 manufacturers, Also,
$8.50 [9KJ
the traditional high school math extensive illustrations and best-buy
curriculum, this book stresses Vol 2 - Some Real tips for each type of microcomputer
problem analysis in algebra and product. 176 pp. $7,95 [10UJ
geometry, This is the most widely Microprocessors. Vol3 -
adopted text in compuier Real Support Devices Getting Invulved
mathematics. 244 pp. $7.95 [8JJ.
Adam Osborne, These volumes com-
WilhYaur Own -
Sixty Challenging plement Volume 1, Vol. 2 discusses
the operation of each of the following A Guide for
Problems with BASIC MPUS in detail: F8, SC/MP, 8080A, Beginners
Problems For Solution Z80, 6800, PPS-8, 2650, COS MAC,
9002, 6100 and seven others, AI~o
Computer Donald Spencer, This book is a ve-
information on selecting a micro, Vol.
hicle for computer programmers to
Solution measure their skills against some in- 3 discusses various support and 1/0
teresting problems that lend them- chips, 895 pp. $20,00 each, [9LJ [100J
Gruenberg & Jaffray, A collection of
92 problems in engineering, busi- selves to computer solution, It in- Lesbe Salomon and Stanley Vmt
ness, social science and mathe- cludes games, puzzles, mathematical Beginner's Guide To
matics, The problems are presented recreations and science and Getting Involved With
in depth and cover a wide range of business problems-some hard,
Microprocessors
difficulty. Oriented to Fortran but some easy, The book will Compli- Charles M Gilmore, No background Your Own Computer
good for any language. A classic. 401 ment any computer-oriented course in electronics is necessary to under- Soiomon and Viet. One of the first
pp. $10,50 [7A], in secondary school or college, stand this book, It was written for books on microcomputers that re-
BASIC program solutions included, those with no prior knowledge what- quires no previous knowledge of
Problems For 80 pp. $6,95 [9W]. soever of microprocessors or per- electronics or computer program-
sonal computing, Gilmore takes you ming, Tells you where to find infor-
Computer Solution The Calculus With from what a microprocessor is, how it mation, explains basic concepts and
Steve Rogowski, The Student Edition Analytic Geometry works and what it's used for to how summarizes existing systems, Good
is designed to encourage research they're programmed to perform de- place for the neophyte to begin,
and preliminary investigation on the
Handbook sired functions in microwave ovens, 216 pp. $5,95 [9N],
part of the student. The problems are Jason Taylor, Ideal for a HS or TV games, calculators, etc. 175 pp.
ordered by subject and can be college introductory calculus course $5,95 [7U], The Underground Buying
expanded or shortened, or for self-learning, Five chapters
Mathematical problems that have include: analytic geometry; functions
Your Home Computer Guide
never been solved are also posed to and derivatives; integration techni- James White, A clearly written non- Dennis A, King, The Guide is written
challenge and sharpen the student's ques; vectors and functions of more technical description of personal for hams, CBers, experimenters, and
awareness, 98 pp, $3,95 [9Z], Also than one variable; and sequences computers that requires no prior computer hobbyists. It lists a wide
avaitable is the Teacher's Edition and series. Widely acclaimed by knowledge of computers or elec- range of parts, supplies, and services
which contains solutions, programs educators, this book is fast becoming tronics. Ideal book for readers who cateponzoo by firms, products, and
and analysis of the problems, 271 pp. the standard calculus reference text, thought they could never understand geographic location and is com-
$9,95 [9y], Both books are highly Handy reference for SCientists, how computers work, Over 100 pletely cross-referenced, Covers 250
recommended for any high school or engineers, and mathematicians too, illustrations, Easy and fun to read. product categories and 650 firms
college computer-oriented course, Large format, 68 pp, $2,95 [70J, $6,00 [10R] from tiny to huge. 200 pp. $5.95 [7KJ.
·GP6ativ6 Gomputinfj book s
,- .-----.•...,
Business Applications , "The real "
Accounts Payable and Small Computer Systems
t purpose of "
• books is to,
Accounts Receivable For Business
Poole & Borchers. Includes program Gerald A. Silver. Useful for operators,
C trap the mind ,.••.
~
listings with remarks, descriptions, programmers, teachers, students, • into doing I
discussion of the principles behind
each program, file layouts, and
etc., this book explores the world of
small computers: what they are, how
, its own I
" thi nking." ~
complete step-by-step
Covers accounts
instructions.
payable
receivable in regard to invoice aging,
and
they are used, their internal structure,
and our means of communicating
with them. Describes assemblers,
'~ . -fIIII' ,,/
general ledger, progress billing, interpreters, and compilers, as well
partial invoice payments, and more. as operating systems and small
375 pp. $15.00 [' OV) computer applications. 254 pp. $9.95
[10Y) Computing Milieu
Some Common BASIC COMPUTERS, PCC's Reference Book of
Programs COMPUTERS, Personal and Home
COMPUTERS Computing
Poole & Borchers. This book com-
bines a diversity of practical
In Fiction And In Verse Ever try to find the address of a man-
algorithms in one book matrix D. Van Tassel, Editor. This collection ufacturer of a cassette interface that a
multiplication, regression analysis, of stories, commentaries and poems friend told you about 2 weeks ago?
principal on a loan, integration by project the reader into a world where Frustrating isn't it? This book will go
Simpson's rule, roots of equations, lifestyles are dominated by the com- a long way toward ending that
chi-square test, and many more. All puter to an extent far greater than frustration with its cornprebensive
the programs are written in a they are by the telephone today. By list of manufacturers, stores and
Payroll with Cost restricted BASIC suitable for most revealing reactions and effects, the products. Also contains survey arti-
Accounting in BASIC microcomputer BASIC packages, stories offer the reader insight into cles on software, hardware, kits and
and have been tested and debugged what is a potential reality. Cleverly- applications as well as an index of ar-
Lon Poole. Includes program listings written, this book should entertain ticles from various hobbyist maga-
by the authors. $8.50 [7M)
with remarks, descriptions, discus- anyone who is aware of the com- zines. Several bibliographies, too.
sion of the principles of each puter's impact on society. Includes $5.95 [7P).
program, file layouts, and a complete work by such distinguished writers as
user's manual with step-by-step Gordon R. Dickson, Art Buchwald,
instructions, flow charts and sample BASIC, With Business Michael Shaara and Bob and Ray.
reports with CRT displays, 356 pp. Appllcatlons 192 pp. $6.95 [9X). Computer Lib/Dream
$15.00 [lOW)
Richard W. Lott. This book focuses Machine
on the BASIC language and its The Home Computer
How to Profit From Your Ted Nelson. This book is devoted to
application to specific business Revolution the premise that everybody should
Personal Computer: problems. Part one introduces the understand computers. In a blithe
Professional, Business BASIC language and the concept of Ted Nelson. Here is one of the most manner the author covers interactive
logical flo'fcharting. Part two controversial books on home com- systems. terminals, computer
and Home Applications presents problems and possible puters. Nelson takes a look at how the lanquaqes, data structures, binary
T.G. Lewis. Put your computer to solutions. Topics include: interest "dinky" computers got here, where patterns, computer architecture,
work for you. This new guide rate calculations, break-even they are where they're going and mini-computers, big computers,
describes the use of personal com- analysis, loan rates, and deprecia- what will become of the big boys like microprocessors. simulation,
puters in common business tion. This book is a great aid to the IBM. This thought-provoking and military uses of computers, computer
applications, including terms, beginner wanting to learn BASIC highly opinionated book picks up companies, and much, much more.
notations, and techniques used by without having a technical or scien- where Computer Lib/Dream Machine Whole earth catalog style and size. A
programmers. 256 pp. $7.95 [lOX) tific background. 284 pp, $10.5Q[10Z] lef) off. 224 pp. $2.00 [9U]. doozy! 127 pp. $7.00 [8P).
Lloyd Johnson
SHIP TIME: 18 MINUTES Sentry #1 is now very close. I SENTRY DISTANCE PHI THETA
2B.49B
1 1062.94 36. 795B
can increase the distance to 2 2019.71 51.1628 33. 5696
3 2107.79 331. 652 81. 6962
#1 and decrease the distance 4 1139.5 285.751 83.0882
JAN 1979
113
10 REM: SPACe: MAZE 1300 REM: INPUT VEt...OCITY AND MOVE SHIP
20 REM: 1310 REM:
30 REM: LLOYD JOHNSON 1320 PRINT "ENTER VELOCITY, PHI AND THETA COORDINATES AND TIME INTERVAL. "
40 REM: 3872 BALLANTRAE ROAD, APARTMEN f l-, 1330 INPUT R (24), P (24), T(24) I Tl
50 REM: EAGEN, MINNESOTA 55122 1340 IF R(24)(=100 THEN 1370
60 REM: 1350 PRINT "MAXIMUM VELOCITY IS 100 KM/MIN. "
70 PRINT SPACE MAZE" 1360 GO TO 1320
80 PRINT 1370 1=24
90 PRINT "DO YOU WANT INSTRUCTIONS (Y/f\I)"; 1380 GOSUB 1900 \REM: CONVERT FROM SPHERICAL TO RECTANGULAR COORDINATES
100 INPUT A$ 1390 T3=.5
110 IF A$="Y" THEN 140 1400 T2=0
~20 IF A$="N" THEN 360 1410 IF T3+T2(Tl THEN 1430
130 GO TO 90 1420 T3:::TI-T2
140 PRINT 1430 X( 1 )=X( 1 )+X(24)*T3
150 PRINT "YOU ARE IN COMMAND OF A SPACESHIP ON AN AHCHAEOLOGICAt " 1440 Y(1):Y(1)+Y(24)*T3
160 PRINT "EXPEDITION WHICH WAS ASSIGNED TO MANEUVER WITHIN 500 Kl'l IJF AN" 1450 Z(1)=Z(1)+Z(24)*T3
170 PRINT "ABANDONED ALIEN SPACE STATION TO PICK. UP t1NCIENT ARTIFACTS, " 1460 FOR 1:::3 TO 21 STEP 2
180 PRINT "THIS SHOULD BE DONE IN THE LEAST AMOUNT OF TIME TO MINIM] ZE THr·" 1470 GoSUB 1820 \REM: REFERENCE POSITION OF SENTRIES TO SHIP
190 PRINT "THE INSTITUTE OF ARCHAEOLOGY'S EXPENSES. " 1480 IF FNE( 1-1 )<=1000 THEN 2000
200 PRINT 1490 NEXT I
210 PRiNT "DANGERS INCLUDE TEN ROBOT SENTRIES SITTING STATIONi",RY IN SPI\CE" 1500 T2=T3+T2
220 PRINT "AROUND THE STATION. THESE SENTRIES WILL AUTOMATICALLY DESTROY" 1510 IF T2<Tl THEN 1410
230 PRINT "YOUR SHIP IF YOU COME WITHIN 1000 KM OF THEM, " 1520 T4=T4+T2
240 PRINT 1530 RETURN
250 PRINT "YOUR MAXIMUM VELOCITY IS LIMITED TO 100 KM/MIN THE;" 1540 REM:
260 PRINT "ENABLES YOU TO CHANGE YOUR COURSE TO ANY DIRECTION REGARDLESS" 1550 REM: CONVERT FROM RECTANGULAR TO SPHERICAL COORDINATES
270 PRINT "OF YOUR PREVIOUS VELOCITY AND COURSE. " 1560 REM:
280- PRINT 1570 R( I )=FNE( I)
290 PRINT "THE SCREEN WILL DISPLAY THE DISTANCE AND COORDINATES 01- THE" 15BO IF X(I)<>O THEN 1610
t~90 P(I)"';'QO
300 PRINT "SENTRIES AND STATION IN SPHERICAL COORDINATES REFERENCED TO"
310 PRINT "YOUR SHIP. ONLY SENTRIES WITHIN 3000 KM WILL BE DISPLAYED" 1600 GO TO 1650
320 PRINT "SINCE THE SCANNER RANGE IS LIMITED. THETA VARIES FROM 0 TO" 1610 P(I)=ATN(Y(I)/X(I»
330 PRINT "180 DEGREES AND IS MEASURED FROM THE Z AXIS. PHI VARIES FROI'l" 1620 P(I)=FNB(P(I»
340 PRINT "0 TO 360 DEGREES AND IS MEASURED FROM THE X AXIS." 1630 IF X(IDO THEN 1650
350 PRINT 1640 P( I )=P( I )+180
360 PRINT "ENTER A NUMBER BETWEEN 1 AND 500 TO BEGIN THE MISSION"; 1650 IF R(I)(:>O THEN 1680
370 T4=0 1660 T(I)=O
380 F=O 1670 GO TO 1800
390 DlM X(24), Y(24), Z(24), R(24), P(24), T(24) 1680 IF ABS(l(I)/R(I»<:>1 THEN 1740
400 REM: ODD COORDINATES 3,5.7. 21 ARE SENTRIES REFERENCED TO THE STATION 1690 IF Z(I)/R(IDO THEN 1720
410 REM: EVEN COORDINATES 2.4,8 .. 20 ARE SENTRIES REFERENCED TO lHE SHIP 1700 T(I)=180
420 REM: COORDINATES SUBSCRIBTED BY 1 IS SHIP REFERENCED TO STATION 1710 GO TO 1750
430 REM: COORDINATES SUBSCRIPTED BY 23 IS STATION REFERENCED TO SHIP 1720 T(I)=O
440 REM: COORDINATES SUBSCRIPTED BY 24 IS VELOCITY VECTOR 1730 GO TO 1750
1740 T< I )=FNB(FND(Z(I )/R( I»)
450 INPUT T
460 FOR 1=1 TO T 1750 IF P(I)(360 THEN 1770
470 X=RND(I) 1760 P(I)=P(I)-360
480 NEXT I 1770 IF P (I) )=0 THEN 1800
490 DEF FNA(X)=RND(XHHOOOO-5*1000 1780 P(I )=P( I )+360
500 DEF FNB(X):X*180/3. 14159 1790 GO TO 1750
510 DEF FNC(X):X*3. 14159/180 1800 RETURN
520 DEF FND(X)=3.14159/2-ATN(X/SGR(1-X· ...2» 1810 REM:
530 OEF FNE(I)=SGR(X(I) .•..
2+Y(I) 2+Z(I) 2) 1820 REM: REFERENCE POSITION OF SENTRIES TO SHIP
540 GOSUB 590 \REM: INITIALIZE ALL POSITIONS 1830 REM:
550 GOSUB 810 \REM: SCAN 1840 REM: I MUST ALWAYS BE 000
560· GOSUB 1300 \REM: INPUT VELOCITY AND MOVE SHIP 1850 X(I-1)=X(I)-X(l)
1860 Y( I-ll=Y( 1 )-Y( 1)
570 GO TO 550
1870 Z(I-l)=Z(I)-Z(l)
580 REM:
590 REM: INITIALIZE POSITIONS 1880 RETURN
1890 REM:
600 REM:
/ 610 X(ll=FNA(X(ll) 1900 REM: CONVERT FROM SPHERICAL TO RECTANGULAR· COORDINATES
1910 REM: '
620 Y(l)=FNA(Y(l»
1920 T< I )=FNC(T(I»
630 Z( 1 )=FNA( Z< 1»
1930 P(I)=FNC(P(I»
640 FOR 1=3 TO .21 STEP 2
1940 X(I):R(I)*SIN<T(I»*COS(P(I»
650 X(I)=FNA(X(I»/3
660 Y(I)=FNA(Y(I)}/3 1950 Y(I)=R(I>*SIN<T(I»*SIN(P(I»
670 z r I )=FNA<Z(J» 13 1960 ZeI )=R( I >*C05<T( I»
680 Ad:.1750 1970 T< I )=FNB<T( I»
690· REM: A DEFINES THE MAXIMUM DISTANCE THE SENTRIES CAN BE FROM 1980 P(I)=FNB(P(I»
700 REM: THE STATION. DECREASE A TO 1500 FOR A MORE 1990 RETURN
710 REM: CHALLENGING GAME. 2000 PRINT "SENTRV"(I-1)/2"HAS TOTALLY DESTROYED YOUR SHIP."
720 IF FNE( I )<=500 THEN 650 2010 END
730 IF FNE( I D=A THEN 650
740 GOSUB 1820 \REM: REFERENCE POSITION OF SENTRIES TO'SHIP
750 NEXT I
760 FOR 1=2 TO 20 STEP 2
770 GOSUB 1550 \REM: CONVERT FROM RECTANGULAR TO SPHERICAL COORDINATES
780 NEXT I
790 RETURN
800 REM:
810 REM: SCAN
820 REM:
830 REM: REFERENCE STATION TO SHIP Answers to last months' puzzle
840 X(23)=-X(1)
850 Y(23)=-Y( 1)
860 Z(23)=-Z(1)
870 1=23 ....
880 GOSUB 1550 \REM: CONVERT FROM RECTANGULAR TO SPHERICAL COORDINATES
890 PRINT
900 PRINT "SENTRY", "DISTANCE", "PHI", "THETA"
910 FOR 1=2 TO 20 STEP 2
920 GOSUB 1550 \REM: CONVERT FROM RECTANGULAR TO SPHERICAL COORDINATES
930 IF R (I D3000 THEN 950
940 PRINT I/2,R(I),P(ILT(I)
950 NEXT I
960 PRINT "STAT.ION", R(23), P(23)' T(23)
970 PRINT "SHIP TIME: "; T4;" MINUTES"
980 IF F=l THEN 1060
990 IF R(23D500 THEN 1280
1000 PRINT
1010 PRINT "CONGRATULATIONS YOU ARE NOW ABLE TO COLLECT THE ARTIFACTS. "
1020 PRINT "THE NEXT PROBLEM IS TO GET AT LEAST 5000 KM FROM THE STATION"
1030 PRINT "SO YOU CAN WARP OUT.
1040 F=l
1050 GO TO 1280
lObO IF R(23)(5000 THEN 1280
1070 IF T4>100 THEN 1120
lOBO PRINT
1090 PRINT "CONGRATULATIONS YOU HAVE COMPLETED THE MISSION IN RECORD TINE. "
1100 PRINT "YOU ARE A SUPERB PILOT. "
1110 GO TO 2010
1120 IF T4>150 THEN 1170
1130 PRINT
1140 PRINT "CONGRATULATIONS YOU MADE IT IN GREAT TIME. "
1150 PRINT "YOU ARE A GOOD PILOT.
1160· GO TO 2010
1170 IF T4>200 THEN 1220
11BO PRINT
1190 PRINT "IT TOOK YOU A WHILE BUT YOU MADE IT OUT OF -THERE'. ALJVE"
1200 PRINT" WITH THE ALIEN ARTIFACTS. GOOD WORK. "
1210 GO TO 2010
1220 PRINT
1230 PRINT "YOU FINALLY MADE IT."
1240 PRINT "THE INSTITUTE HAD GIVEN YOU UP FOH LOST SINCE Il TOCIK"
1250 PRINT "YOU SO LONG. "
1260 PRINT '''YOUR NAVIGATIONAL SKILLS COULD USE SOME PRATICE. "
1270 GO TO 2010
1280 RETURN
1290 REM:
August 1977
The Kit and I, Part I, by someone who's never soldered before; Tooling Up, tips for the do-it-yourself
hardware beginner; Binary Clocks; APLomania, for home or small business? The
September 1977 computer
PLATO makes Learning Mickey Mouse; How Computers Work; Xeroxes and Other Hard Copy •
Off Your CRT; The Kit and I, Part II; Charged Couples, howCCDs work and how they're made;
Personally Yours From IBM, is the 5100 a home computer?
magazine
October 1977 for the curious
Putting Two & Two Together, binary arithmetic Explained for the beginner; Microprocessor Aid for
the Deaf-Blind; The kilobyte Card: Memory for Pennies; Building a Basic Music Board
----------------------------
I Please rush me the following back issues of ROM:
issue (month) ( ) $ 2.25 each postpaid
I
I
In a hurry?
Call your Visa or Master/Charge
I () 5.00 for 3 issues postpaid order in to:
I 14.00 () for all 9 issues postpaid I 800-631-8112
I ------ Cash, () check, m.o. enclosed I
(In NJ, call 201-540-0445)
Name
I Address _
I
I City -----------:---------------------------------- State Zip --- I
I Send to: Creative Computing, P.O. Box 789-M, Morristown, NJ 07960 I
Puzzles 6 Problems
Superprimes Run Jeff, Run
Definition: A SUPERPRIME is an integer such that it is If Matthew can beat Jeff by one-tenth of a mile in a two-
prime and every integer obtained by deleting a digit from mile race and Jeff can beat Steven by one-fifth of a mile in
the right is a prime. E.g., 7331 is prime, 733 is prime, 73 is a two mile race, by what distance could Matthew beat
prime, and 7 is prime. Thus 7331 is a superprime. Steven in a two-mile race?
Problems: The Mathematics Student
a. How many 2- and 3-digit superprimes exist and what
are they?
b. Which digits of a superprime can be a 1,2,4,5,6,8, and
O?
c. Are there any superprimes
(other than 7331)?
with more than 3 digits
Thinkers: Corner
Macug Newsletter
© Layman E. Allen
WORD PUZZLES
How many of the problems (a) through (f) below can
you solve by forming a network of words that have
exactly as many letters as the number listed as the
GOAL? (Suppose that each symbol below is imprinted on
a disc.)
To qualify as a network
(1) all sequences of discs across and down must be
Costume Party words,
(2) the words must have two or more letters and not
At a party there are: 14 girls, 11 adults without costumes, be proper names,
14 women, 10 girls with costumes, 24 people without (3) all of the discs in the REQUIRED column must be
costumes, 8 women with costumes, and 10 males with used,
costumes. How many people are at the party? (4) as many of the discs in PERMITIED as you wish
. . ....
.. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
may be used, and
(5) at most one of the discs in RESOURCES may be
used.
LIME ~ 0
:::l 0 S 3 H S
0 0 .L [:>] 3 .L 'Ii' lIIJ [q] 3 lIIJ [a]
She's a problem in multiplication. (Each letter
stands for a different digit.) :(SJaljIO ere aJaljl A/luanbaJJ) SJaMsu\t palsa66ns awoS
CONNECTION $240.00
$280.00
Second Cassette onve
RS·232 Pnnter Adapter -
$99.95
EXPANOAPET - Economical 16K
memory e •.pansecn lor Ihe PET (in-
Cabinet S 35.00 assembled board $98.50 cludes" daughter board) $435.Q(I
WIthout daughter board $.395.00
Networks Modem lor PET With power supply, case &
Attaches to DAA $320,00 connector $169.00
Cabinet s 35,00 • Beeper - PET connonec
beep' $24.95
t----------,
you're ready to clisplay, transmit
ancl receive either CW or ATTY at Board Cables Power Supply
rates up 10100 WPM Parallel $490
Senat $615
ASSEMBLED KITS SELECTRIC-BASED Board. ceeree Power Supply EnCIMu'.
TERMINAL FOR PET LOW-COST PRINTER Parallel $575
$99.95 FOR PET . ser.ar $780
Hazeltine
pnntee or With the VIA User Port tor
ThiS peripheral from Commodore bronecnonat 10. Ideal lor Word
gives you the ability to use one tape Prccessmg applications
deck lor Input and one lor output
cccv nres. etc
1400
KIM-1
The ong,na
board
l
compute,fully eeceoceoie 511'19
1e
'liiii""iiMaii~iilllilfIIi"Ii6"W~
•
Assembled
$179
with power supply
Urgently needed: Nowa 5th Generation
$209 in Terminals:
EXPANO YOUR KIM SYSTEM:
• Peripherals
Introductory Sale Price -
KIMSI
KIM 10 S·I00 Board
• Manufacturers surplus Immediate Delivery
• Closed stores stock • 24 x 80 display
Assemoled $169
Connector set
• RS-232C interface
• 110 to 9600 Baud
KIM.
E.pans.onboard
• 12" CRT Monitor
16 lnx64chr. display. 128 printable • Remote screen control
MICRO TECH.
'Assemoled
POWER SUPPLY
$34.95
CASH characters.
or Baudot).
cassette
software
3 serial
UART (ASCii
interfaces
110, true composite video.
& • Uses 8048 microprocessor
• State-of-the-art design
KIM ENCLOSURE AVAILABLE TTL compatible;
nection.
easy power con-
~1"
crcces uesk. tac cnarmne
ASCii version employs 6602
for code conversion, See our
calalog for details.
ASCII $8"
Refurbished S695
Working $495
As-Is $339
Robots
The first mention of robot-like machines is found in the
•
twilight of remote mythology. Vulcan, the limping god, is
attended by handmaidens of gold who were said to
resemble "living young damsels, filled with minds of
wisdom." An enormous stone colossus was built by
In
Aurora to commemorate the death of her son, Memnon,
Son of the Dawn, during the battle of Troy. Two sources;
Juvenal and Strabo, tell us that the colossus made vocal
Fiction
sounds when struck by the rays of the morning sun. The
island of Crete was guarded by Tallus, a giant metal man
who strode the cliffs, challenging all who would enter or
leave the kingdom of Minos. Any ship approaching Crete Bruce V. Haskell
without the king's permission was crushed byTallus' huge
club.
In the Middle Ages, Roger Bacon was reputed to have
created a speaking head. This head had the rather singular
distinction of having been mentioned by three English
poets: Butler, Pope, and Byron. We are told that Bacon had "The damned Frankenstein complex," said
wanted Britain surrounded by a wall of brass for Bogert, consciously imitating one of the
protection against invaders. A speaking brass head was other's pet phrases.
first built to tell Bacon how the wall was to be constructed. From Lenny, by Isaac Asimov
The head took seven years to finish, and the "spirit" who
was prevailed upon to make it speak informed him that if
he did not hear what the head had to say, then all the labor
would be in vain. Two friars sat watching the head, day and
night for three weeks. Finally, they found they could not Luigi Galvani and Alessandro Volta were the talk of the
keep awake any longer, so they left an attendant on guard scientific world at that time because of their work with
and went to sleep. Sometime later the head spoke, but said electricity. Galvani had made frog legs jump electrically,
only, "Time is." This seemed too trivial a remark to awaken and people were interested in the relationship between
the friars, so the attendant did not. The head spoke a electricity and life. One evening a small group including
second time, half an hour later. "Time was." Again, the Byron, Shelley, and Mary Godwin were talking about this
friars were not told. At the end of a third half hour, the head idea of creating life. Byron and Shelley both felt that real
said, "Time is past," and collapsed. life could not be given, but might be brought back to a
The first of the man-made men is associated with the corpse by galvanic methods. In fact, it might be possible to
qolem. found in the Bible in Psalms (139,16). It means any give life to a body assembled from parts of other bodies.
unformed substance or embryo, or anything incomplete, That night Mary lay awake, and began to see the idea of
like an eyeless needle. According to Talmudic tradition, her story. She thought of it only as a short story, but when
Adam was a go/em made of dust gathered from the four she told Shelley, he insisted that she write a novel. Both
corners of the earth and created in twelve hours. Byron and Shelley thought they would write fantastic
The medieval alchemists sought to create homunculi or novels, but it was Mary who eventually did. She wrote
little men, to help them in their laboratories. One recipe for everywhere, carrying her manuscript around with her.
the creation of a homunculus is as follows: At the end of the year 1816, the first Mrs. Shelley
Let the semen of a man putrify by itself in a gourd glass committed suicide, and Shelley and Mary returned to
with the highest putrefaction of the venter equinus (horse England to be married and to have her Frankenstein
dung) for forty days, or until it begins at last to live, move, published. The novel was first sold in 1818, when Mary was,
and be agitated, which can easily be seen. Afterthis time it nineteen! It was a fantastic success, and has never
will be in some degree like a human being, but stopped fascinating people. Percy Bysshe Shelley may be
nevertheless, transparent and without body. If now, after THE Shelley to scholars, but there is little question that
118
Mary Wollstonecraft Shelley has had the greater effect on
the average person.
The monster that Frankenstein created was about eight
feet tall, and extremely frightening. Frankenstein,a
student of anatomy, assembled this being (it had no name)
in his laboratory and gave it life with a huge electric shock.
The monster went insane because of the fear it inspired in
those people to whom itturned for help. It revolted against
humanity, and especially its creator, Frankenstein. In the
end it killed all of Frankenstein's family, including his son
William (seemingly modeled on Mary's son Willmouse).
Then the monster wandered off, presumably to die of
remorse.
The moral of Frankenstein was obvious. It is
sacrilegious to create a soul. This kind of inevitable
wrongdoing by the monster robot continued until modern
times, specifically with the stories of Isaac Asimov.
King Kong fights the King Kong Robot in the fantastic Japanese film.
119
_----_A CreativeComputingEquipmentProfile... _.
===========================RandyHeuer===========================
Anyone who has been thumbing applications. Based on a 6502 tunately, very few editing features are
through a recent issue of Creative microprocessor, this BASIC is one of available. A line delete and character
Computing, looking at the adver- the fastest available on any microcom-
tiserrients for new microcomputer puter. For arcade type games this is a
systems has to be somewhat amazed big plus (I have developed a 'tank' type
by the latest entry from Ohio Scien- game on the Superboard II for
tific. The headline proclaims, "The Creative which performs without un-
Age~ of Affordable Personal Com- desirable pauses in execution). More
puting Has Finally Arrived." What it's on games later.
referring to is the Super-board 1,1Micro- When the BREAK key is depressed,
computer. Affordable refers to the Superboard II responds with
Superboard II's base price; $279. "C/W/M?". These respectively stand
For your $279, you get an 8k BASIC- for Cold start, Warm start and Monitor.
in-ROM and 4k RAM, on a single board The cold start clears the program Challenger 1P. "Cosmetic" version of the
with a 53-key keyboard. All you need memory and initializes the BASIC Superboard complete with power supply
to start programming is a video interpreter. The warm start initializes and case. .
monitor (or a standard TV using an RF the BASIC interpreter without destroy-
modulator) and a 5 volt, 3 amp power ing the program memory. This is very rub out are provided (however the rub
supply. For those who' don't wish to useful when, for one reason or out does not backspace the cursor,
have a bare board staring them in the another, you hit the BREAK key, and but instead prints underlines. This is
face, a dressed-up version of the then don't have to (or can't) reload the rather disconcerting compared to
Superboard II including power supply program from tape. The Monitor systems with a backspace). The dis-
and case is available for $349; this is allows you to directly examine and play is not memory mapped and no
called the Challenger 1P.. For an alter machine code. cursor commands are available, 'so
additional $69 you .can have an ad- corrections to code al ready entered
ditional 4k of RAM plugged into your are made by retypinq the line. If you
Superboard II' or Challenger 1P. intend to do a lot of. your own
Further memory expansion beyond 8k programming, this can be aggravating.
requires a separate expander board, The 300 baud cassette is a bit slow,
available from Ohio Scientific with an but fortunately Ohio Scientific has
additional 8k RAM for $299. This arranged for the program being load-
board can be further expanded to 24k, ed to be displayed on the screen as it
giving you a 32k system. loads. Thus you can see if the program
As with any microcomputer system is being loaded correctly without
now available, the Superboard II waiting until the tape is finished. This
contains a number of positive features is an especially nice feature compared
and deficiencies which the potential to systems on which you have to load
purchaser must consider along with an entire program before you know if
his needs, skills and pocketbook you have an error in Line 1.
before deciding which system to buy.
VIDEO DISPLAY
The video display has good and bad
points. First the good news: The
character set is one of the most
HARDWARE FEATURES Superboard II. Assembled; requires 5V extensive available, consisting of 256
Perhaps the finest feature of the power supply, video monitor, and cassette alphanumeric and graphic symbols.
Superboard II, besides the low price, is recorder to be up and running. Characters for racing cars, houses,
the standard 8k floating point BASIC tree, ships, planes, tanks and even the
which comes installed in ROM. Starship Enterprise are provided.
Developed by Microsoft, this Jull- Combined with the fast BASIC inter-
feature BASIC has scientific notation, The keyboard is a standard preter and CPU, this sugg~sts that
string operations, etc. Six and.one-half "Typewriter Style" keyboard. Both many arcade style games will be
digit precision is claimed by Ohio upper and lower case characters are available as software in the future. Of
Scientific and a 9'12 digit BASIC is available, although lower case can not course, you always can write your
offered on diskette for more precise be used in BASIC instructions. Unfor- own! And when you do, you'll have a
120
/~----------------------------~-----------------------
good source from which to draw new
ideas. PSEUDO-CURSER CONTROL COI1MANDS FOR THE OHIO SCIENTIFtC SUPER BOARD II
The display is normally 26
characters high by 24 across. This is a
very low horizontal density
(characters per line), and herein lies The following prograftfting exaftple deftonstrates how special characters
one of the major drawbacks of Super- are ftoved about the screen using the Superboard II coftputer. In this
board II. Due to the relatively small exaftple, a tank(special character 248) is ftoved up the screen 5 spaces,
number of characters that can be turned 90 degrees to the right(special character 250) and ftoved 4 spaces
displayed at anyone time (624· to the right.
characters for the Superboard II as
compared to 800 for the Commodore
PET, and 1792 for the Exidy Sorcerer),
the characters appear very large. On 10 PC=54029:REI1**SET PRESENT CURSER POSITION
our 12" mon-itor, each character is 20 TK=248:REI1**SET TANK SYMBOL
almost ¥a" on a side. While this feature 25 POKE PC,TK:REM**PLACE TANK AT STARTING CURSER POSITION
is great for graphic symbols such as 30 REI1**110VE TANK VERTICALLY 5 SPACES
tanks and the like, it is a definite 40 FOR 1=1 TO 5
problem with alphanumeric output 50 GOSUB 6000:REM**MOVE CURSER UP 1 SPAEE
and program listings. Due to the large
60 POKE NC,TK:REM**PLACE TANK IN NEY CURSER POSITION
70 POKE PC,32:REM**PLACE BLANK IN OLD CURSER POSITION
character size and close vertical
80 PC=NC:REI1**ESTABLISH NEY CURSER POSITION
proximity of the characters, readability
90 NEXT I
of text is poor. I have frequently found
100 TK=2S0:REM**CHANGE TANK SYI1BOL
it necessary to double space all output
110 POKE PC,TK:REM**TURN TANK
during software development, which
120 REM**MOVE TANK 4 SPACES TO THE RIGHT
effectively reduces the number of lines 130 FOR J=l TO 4
(of 24 characters) that can be viewed 140 GOSUB 7000:REI1**MOVE CURSER TO THE RIGHT 1 SPACE
at anyone time to 13. In addition, long' , 150 POKE NC, TK:REI1**PLACE TANK IN NEU CURSER POSITION
program statements (ON X GOTO's, 160 POKE PC,32:REM**PLACE BLANK IN OLD CURSER POSITION
etc.) often take up as much as 3 lines 170 PC=NC:REI1**ESTABLISH NEU CURSER POSITION
in a listing, further reducing the 180 NEXT J
amount of code which can be viewed 190 END
at anyone time. Thus, the display 6000 REI1**SUBROUTINE TO MOVE CURSER UP ONE SPACE
should be examined carefully by a 6010 REI1.*PRESENT CURSER POSITION IN PC
potential purchaser to be certain that 6020 REI1**NEU CURSER POSITION IN NC
the extensive graphic character set 6030 NC=PC-32
(and low price!) more than compen- 6040 RETURN
sate for the lack of ease in program- 7000 REI1**/10VE CURSER TO 'fHE RIGHT ONE SPACE
ming. 7010 NC=PC+l
While I am not an expert on 7020 RETURN
hardware, it seems as though this
problem could have been avoided by Siftilar pseudo-curser coftftandscan be developed for all other
Ohio Scientific. The Challenger liP directions, including diagonals.
has a feature which allows the user to
switch from a 32 x 32 character format
to a 32 x 64 format (see Creative DOCUMENTATION this manual of little use and beginners
The documentation that was provid- will probably find it hard to under-
Computing, May/June 1978). It would
be very desirable if the Superboard II ed with the Superboard II was sub- stand.
had a similar feature. Listings could be stantial in quantity, but less sub-
The best manual for usefulness and
viewed in the 64 character format and stantial in quality. We received a readability was the Character
then the display could be switched to number of separate documents in a Graphics Reference Manual. It
the 32 character format for graphics. thick 3-ring binder.
demonstrated and explained the use
The Superboard II Users Manual
of the character set with POKE
Another problem with the display was marked preliminary as of August
statements and the technique used to
results from the lack of any cursor 1978. It contained an adequate section
poll the keyboard during program
commands. Essentially, the cursor on setting up the system and loading
execution. It had some excellent
remains on the same line of the screen programs from tape. It also contained
examples and demonstration
at all times. Thus you must use scroll- a short introduction to BASIC and
programs. Unfortunately,. rather than
ing to clear the screen or format out- some sample programs that would
being a separate manual for the
put. Alternatively, you can use POKE have been much more valuable to the
Superboard II, instructions are mixed
statements to enter a character at a new user had they contained some
with those for the Ohio Scientific 540
given screen location. For our graphic explanation of why they do what they
Video Board. This requires some close
routines here at Creative, I've do. Hopefully the final version of the
reading on the user's part.
developed a series of Pseudo-cursor Users Guide will be better.
The remaining manuals were
command subroutines for use with The 8k BASIC-in-ROM Reference
devoted to schematics and technical
POKE statements in order to move Manual was rather disappointing. It
information which would not normally
characters about the screen. [See contained only a brief discussion of
concern the average user.
box.] Obviously cursor commands BASIC and a short list of BASIC
with PRINT statements would be commands and error codes. Users WRAPPING IT UP
easier if they were available. with programming experience will find Ohio Scientific appears to be ready
121
PROGRAMMING LANGUAGE
STRUCTURES
ELLIOTT I. ORGANICK, ALEXANDRA I. FORSYTHE, and
ROBERT P. PLUMMER
A volume in the COMPUTER SCIENCE AND
APPLIED MATHEMATICS series
Treats both the syntax and semantics of programming
languages. Through the extensive use of contour dia-
grams, you'll be introduced to FORTRAN, SNOBOL,
ALGOL, LISP, and PASCAL in terms of conceptual mod-
els of computer structures.
1978 659 pages hardbound
\
~
..
~
~~----------------------------------.
COMBINATORIAL ALGORITHMS: DIGITAL PICTURE PROCESSING
For Computers and Calculators AZRIEL ROSENFELD and AVINASH C. KAK
SECOND EDITION A volume in the COMPUTER SCIENCE AND
APPLIED MATHEMATICS series
ALBERT NIJENHUIS and HERBERT S. WILF
Digital Picture Processing is a completely revised,' en-
A volume in the COMPUTER SCIENCE AND
larged, and updated version of Azriel Rosenfeld's Picture
APPLIED MATHEMATICS series
Processing by Computer (Academic Press, 1969). This
Since publication of the first edition of Combinatorial new publication supersedes the earlier work, incorporat-
Algorithms in 1975, this field has continued its rapid ing much new material and covering the principal de-
evolution. Taking account of these developments, the velopments in the field over the intervening years. It
Second Edition contains several substantially rewritten features a much more extensive mathematical treatment
chapters encompassing theoretical and algorithmic im- of picture digitization, compression, and restoration. The
provements. Features of the new edition include the authors have provided brief introductions to linear sys-
presentation of a number of speedups, storage econo- tems theory and the theory of stochastic processes, as
mies, and program simplifications, the addition of sig- well as numerous exercises, thus making their presenta-
nificant new theoretical material, and the inclusion of tion easily accessible to students in electrical engineer-
two whole new chapters. j ing and computer science.
1978 320 pages hardbound 1976 '478 pages hardbound
STATISTICAL ANALYSIS:
A Computer Oriented Approach PROGRAMMING STANDARD COBOL
WINCHUNG A. CHAI and HENRY W. CHAI
SECOND EDITION
A. A. AFIFI and S. P. AZEN A businessman and college professor are the perfect
team for this introduction to ANS COBOL and its uses in
SECTION HEADINGS: Introduction to Data Analysis. business programming. Thirty-four actual programs il-
Elementary Statistical Inference. Regression and Corre- lustrate special programming techniques.
lation Analysis. The Analysis of Variance. Multivariate
1976 342 pages paper
Statistical Methods.
1979 435 pages hardbound
o
ISBN 0-02-528260-5,
COMPUTER
@ $18.95 each.
ORGANIZATION AND ASSEMBLY LAN6UAGE
Academic Press, Inc.
PROGRAMMING, ISBN 0-12-552250-9, @ $17.95 each.
A Subsidiary of Harcourt Brace Jovanovich, Publishers
o FORTRAN, ISBN 0-12-470460-3, @ $10.95 each. 111 FIFTH AVENUE, NEW YORK, N.Y. 10003
o BASIC, ISBN 0-12-470450-6. @ $10.95 each.
o COMPUTERS AND THE·CYBERNETIC SOCIETY, At!: Jane Grosinger
ISBN 0-12-059040-9, @ $13.95 each.
o PROGRAMMING STANDARD COBOL, ISBN 0-12-166550-X, o I've enclosed my check/money order for $ _
@ $10.95 each. o Please charge my order to:
o DATA BASE MANAGEMENT SYSTEMS, o American Express 0 Diner's Club 0 VISA 0 Master Charge
ISBN 0-12-701740-2, @ $17.95 each.
o STRUCTURED PROGRAMMING, ISBN 0-12-200550-3, Card No. _
@ $13.50 each.
o COMPUTER CHESS, ISBN 0-12-517250-8, @ $19.50 each. Exp irati on Date ---;-;-,;--.,.-_--:-:--,---_---,-:-- __ -,-;
o COMBINATORIAL ALGORITHMS: For Computers and (All orders subject to credit approval)
Calculators, ISBN 0-12-519260-6, @ $19.50 each, NAME _
o STATISTICAL ANALYSIS: A Computer Oriented Approach,
ADDRESS _ I
ISBN 0-12-044460- 7, @ $19.50 each. I
o FOUNDATIONS OF SECURE COMPUTATIUN, I
,,
CiTY /STATE/ZIP _
ISBN 0-12-210350-5, @ $19.50 each. I
o DIGITAL PICTURE PROCESSING, ISBN 0-12-597360-8, PRICES ARE SUBJECT TO CHANGE WITHOUT NOTICE.
@ $32.75 each. Add sales tax where applicable.
,
I
--------------------------------------------------------------------------------~,
CIRCLE 165 ON READER SERVICE CARD
RANDOM THOUGHT 201
On the first day of class our assignment was to draw
up a list of random things. So I came up with a group
which I thought pretty much illustrated the concept:
1) Battleships in WW2.
2) 1347 A.D.
3) Things Einstein ate for breakfast in 1907.
4) Sexual reproduction in trilobites.
5) Punctuation marks in sign language.
I handed it in, and got a C minus. "Not enough
THE SUN aimlessness in design," was the note scrawled in what
(a play) looked like the ancient ascript on the tomb of a dead
Pharaoh. I was pretty upset.
Instructions: Build a stage in the middle of an open field. As the term got along the instructor took on a more
Have the audience seated on this stage. Have plenty of haphazard manner. Sometimes he would lecture on
refreshments available. imaginary numbers, at others: the invention of money,
balloons, Nietzsche's hygienic habits, why stars twinkle
Act I only at night, etc. Sometimes he didn't show up. Now
THE SUN: The sun rises with a show of spectacular (Jnd thcn we didn't show up. And one time we all showed
colors and pageantry. OPTIONAL: (clouds may be used lip, but he didn't say anything. He just stared and smiled
to heighten the effect. along with chirping birds.) in an ecstatic sort of way, winking occasionally at
THE AUDIENCE: Bursts into applause, with oohs and individual students, in an attempt to keep our attention.
aahs interspersed. By the end of the term, I was catching on to his game.
Intermission (approximately 6'12 hours) So for his final exam I dropped out of school, moved to
North Dakota, enrolled in a Russian ballet class, and in a
Act II light-hearted patriotic moment tattooed "Don't tread on
THE SUN: The sun reaches the highest point in the sky. me" on thc heels of my feet.
THE AUDIENCE: Cheers and claps, but with some
Unfortunately, I missed the last dayof class when I
catcalls intermixed-in anticipation of the sun's
was packing for my move to North Dakota. I didn't find
imminent descent. (NOTE: if stage is located at the
out until it was too late that the exam was cancelled.
equator, wild cheering in appreciation of the extra
effort. )
Intermission (approximately 6'12 hours)
Act III
THE SUN: The sun sets below the Earth's horizon-very
colorful, but more austere and formal than in Act 1.
THE AUDIENCE: A foreboding atmosphere prevails, as
the audience claps in both appreciation and relief. As
thle sun begins to disappear the audience grows tense.
Two or three people faint when the finality of the, act
becomes apparent. Some demand their money back.
,(Just before the curtain of darkness falls, a plane flies
overhead and skywrites in large white letters; THE
END.)
Peter Payack
Introducing the
Vista VaG Mini Disk System
o 23% MORE STORAGE CAPACITY - Increases your usable storage capac-
ity 23% from 55,000 to 67,800 bytes on drive one.
o FASTER DRIVE - Electronically equal to the TRS-80 Mini-Disk System, but
up to 8 times faster (Track-to-track access in 5ms for the V80 versus 40ms
for TRS-80).
o DOES NOT VOID TRS·80 WARRANTY - V80 also has so-day warranty.
o HERE'S WHAT YOU GET:
Minifloppy disk drive/Power Supply/Regulator board/Compact case
o DOUBLE DENSITY FOR DOUBLE STORAGE - The V80 will work with the
Vista double-density expansion unit when available.
o SHIPPED TO YOU READY TO RUN - Simply take it out of the box, plug it
in and you're ready to run.
--~---------------------------------
MONEY-SAVINO COUPON
To. Vista Computer Company; Dept. CC19
• 2909 Oregon Court, Torrance, CA 90503
(213) 320·3880
Backdrops are hung, tables draped and small Hardware is checked out (and repaired if
booth signs are hung about 1 day in advance. necessary, hopefully, but not always before
the show opens).
Even the biggies (IBM shown here) are not Radio Shack brought eight TRS-80 systems
immune from hardware glitches. and tons of literature. Jade on the spot.
J" Dave, and Phil try to find a place for The show floor from above about 5 minutes
everything in Creative's booth. seething masses.
126 CREATIVE COMPUTING
VIOOO Floppy Series.$2699.
--- . Up to 2 million characters of
---___ IBM·compatible storage.
Cost effectiverress.-!!tat's what you get
with Vista Disk Systerns.-Whether it's the
V200 Minifloppy, the VI00lrrlo~or any
of the quality products in between -.~
Vista series (with the standard Digital '
Research CP / M Operating System) is the
most cost-effective system available.
Now Vista's new, compact case makes
every 8" system easier to handle and better-
looking. And"Vista disk systems operate
with any Z-80 / 8080-based computer con-
taining at least 24K of main memory.
I dialed a number and ranted and raved CS-4002. Sports Games-1. Four exciting
(Later I was ashamed of the way I behaved) graphics games. Includes an amazing
"Nothing's happening," I told them, "nothing at all." Baseball game for two players who control
That's when I noticed ... the plug out of the wall. infielders and outfielders, type of pitch, and
the swing of the bat. Even has sacrifices,
Sheepishly, timidly I hung up the phone double plays, and home runs. Horse Race
I'm certainly glad I was there all alone. allows up to eleven players to bet on the
It wasn't a minute till the employees came in outcome of a horse race. Slalom challenges
I watched them start the equipment ... easy as sin. you to ski through the gates in a minimum
time. In Darts you try to throw your darts as
Two weeks have passed, and no more am I spastic
close to the bullseye as possible by con-
A few program problems, but nothing too drastic. trolling the game paddles. $7.95.
'I'm back to my normal routine of the day
I have too much to do than to watch my help play. CS-4003. Strategy Games-1. Play Check-
My work involves talent and much ability ers" in color against the Apple. Skunk is a
I say that, of course, in all humility. dice game for one or two players. UFO is a
space game in which you must outwit an
My product is certainly one of the future
enemy spaceship. Blockade with exciting
Oh, didn't I tell you? I distribute computers.
graphics and sound effects, with a one or
Eunice M. Corm two player option. Genius, a 'challenging
trivia quiz. 'Requires Applesoft BASIC.
$7.95.
1"1
Pi
;.'
r~j
t~1
FROM 8 EDUCENTER
8
COMPANY
eBY PHONE: call (415)848-8233
BankAmericard/Mastercnarge
/ American Express accepted
.SHIPPING: no charge when payment
included.
ADD: $1.50/book for fast shipping.
eTAX: in California, add sales tax. 2020 Mllvia St.
eOVERSEAS: Berkeley,
SYBEX-EUROPE,313 rue l.ecourbe, Calif 94704 Signature 0 Send catalog.
75015 - PARIS. France Tel:(1)8282502 DEPT CC . 0 FREE CAT ALOGI ORDER FORM 0
AM~MED
APL IMPLEMENTATION
• C202: MICRQCOMPUTER
PROGRAMMING:6502
Rodnay Zaks, 250 pp, $9.95
C207:MICROPROCESSOR
INTERFACING TECHNIQUES
ALesea & R.Zaks, 416 pp, $9.95
SELF-STUDY COURSES
Includes Book and Cassettes
INTRODUCTION
SYBEXC-Books are leading University and TO MICROPROCESSORS (2.5 hrs) ref. 51,529.95
C200:AN INTRODUCTION TO TOPROGRAMMING(2.5 hrs) ref. 52, 529.95
Industry textbooks, used worldwide, and now
translated into most major languages. PERSONAL AND BUSINESS COMPREHENSIVE(6 hrs) ref. 5Bl, 559.95
They are the result of years of experience COMPUTING SPECIALIZED
in actual education, and have consistently
been qualified as 'best pedagogic text ever MILITARY(6 hrs) ref. SB3,549.95
Rodnay Zaks, 250 pp, 56.95
used'. BIT-SLICE
(6 hrs) ref. SB5,549.95
INDUSTRIAL (4.5 hrs) ref. SB6,549.95
"WelJ planned and executed text (C20 1}... a A comprehensive introduction to personal INTERFACING(6 hrs) ref. SB7,549.95
complete treatment ... self-contained and self- computers, for home or business use: the
defined ... The chapter on 'Internal Operation of hardware, the software, the peripherals, the OTHER BOOKS
a Microprocessor' is the best explanation we have costs, BASIC.How to fail with a business
thus for seen in print." (Elementary Elec- system. How to select a system. Will it be ZIO-APL IMPLEMENTATION525.00
tronics, Sept. 78) sufficient? Which one to buy. Xl-MICROPROCESSORLEXiCON51.95
\ Now on cassettes: 3 hrs, ref 510,514.95 AND MORE ... ASK FOR FREECATALOG
WARNING: Readers have Determined
that C-series Books May be Addictiye.
Please let us Know.
TOORDER
r----------------------
8
I NAME POSITION, _
BY PHONE: call 415/848-8233
I COMP~Y ~
ADDRESS _
BonkAmericard/Mastercharge accepted
Made Easy Feldman. It's available at most computer stores, or from dilithium
Press, P.O. Box 92, Forest Grove, OR 97116 (reprinted
permission) .
with
... via your PET At the end of the article are some notes about how you can
convert the program for use on other computers.
Tom Rugg e. To put the program into a sort of flashcard mode, in which
Phil Feldman the phrases are flashed, but no replies are necessary, insert
This program turns your computer into a tachistoscope (tah- these two lines:
kISS-tah-scope). A tachistoscope is used in reading classes to 515 GOTO 710
improve reading habits and, as a result, improve reading speed. 715 GOTO 590
The program displays a word or phrase on the screen for a
This will cause. each phrase to be flashed (all for the same
fraction of a second, then asks you what it was. With a little
length of time), and then displayed again so you can verify
practice, you'll find that you can read phrases that are displayed
for shorter and shorter time periods. what it was.
Main Routines
How To Use It 120 - 150 Initializes variables.
The program starts off by displaying a brief introduction, and 160 - 220 Reads DATA statements into T$ array.
waiting for you to press any key (except the "stop" keys or shift 260 - 380 Displays introduction.
keys, of course). After you press a key, the screen is blanked out 400 - 420 Waits for operator to press a key.
except for two horizontal dash lines in the upper left-hand corner. 430 - 450 Picks random phrase from T$ array. Ensures no
After two and a half seconds, the phrase is flashed on the screen duplication from previous 5 phrases.
between the two lines. Then the screen is blanked out again, and 460 - 465 Clears screen and displays horizontal lines. (
you are asked what the phrase was. 470 - 500 Displays phrase for appropriate length of time.
If you respond correctly, the next phrase is displayed for a 505 - 5~0 Waits, then asks what the phrase was.
shorter time period (.05 seconds less). If you respond incorrectly, 550 Determines if typed phrase matches the phrase
the program shows you what the phrase was, and the next phrase displayed. .
will be displayed for a longer period of time (.05 seconds more). 560 - 640 Shortens time for next phrase if reply was correct.
The fastest the Commodore PET can display a phrase and Saves subscript to avoid repetition. Goes back to 400.
erase it is about .02 seconds (one-fiftieth). See if you can reach 700 - 740 Shows what phrase was. Lengthens time for next
the top speed and still continue to read the phrases correctly. phrase. Ensures that time period is a multiple of .05
A lot of research has been done to determine how people read seconds. ,
and what they should do to read faster, with better comprehen- 800 - 810 Special routine to display phrase for shortest time
sion. We won't try to explain it all, but a couple of things are worth (about .02 seconds).
mentioning. 840 - 870 Subroutine to display horizontal dash lines.
To read fast, you should not read one word at a time. Instead, 910 - 9999 DATA statements with phrases to be displayed.
you should learn to quickly read an entire phrase at once. By
looking at a point in the center of the phrase (and slightly above Main Variables
it), your eyes can see the whole phrase without the necessity of
T Time (seconds) that phrase will be displayed.
scanning it from left to right, word by word, Because the
J Number of "jiffies" that the phrase will be displayed.
tachistoscope flashes the entire phrase on the screen at once, it
B ASCII number for character to clear screen.
forces you to look at a single point and absorb the whole phrase,
L Limit of number of phrases.
rather than scanning left to right, word by word.
T$ Array of phrases (read into from DATA statements).
If you can incorporate this technique into your reading, and
C Count of number of phrases actually read.
increase thewidth of the phrases you absorb, your reading speed
R$ Temporary string variable. Also, reply of operator.
can increase dramatically.
R Work variable. Also, subscript 'of phrase to be displayed.
P1, P2, P3, P4, P5 - Subscripts of the 5 previous phrases.
Easy Changes
S Starting time of display of phrase (in jiffies).
a. Change the phrases that are displayed by changing the K Temporary work variable.
DATA statements that start at line 910. Add more and/or
replace those shown with your own phrases or words. Line Suggested Projects
140 must specify a number that is at least as large as the a. Instead of picking phrases at random, go through the list
number of DATA statements. So, to allow for up to 100 DATA
once sequentially. Change line 250 to set R to zero, and line
statements,change line 140 to say
430 to add one to R, then check If R is greater than C.
140L=100
b. Instead of only verifying that the current phrase doesn't
Be sure to enter your DATA statements in the same form
duplicate any of the previous five phrases, modify the
shown in the program listing. You may want to start off with
program to avoid duplication of the previous ten or more.
shorter phrases or single words to begin with. Later, try
Changes will be needed to lines 440, 450, and 600.
longer phrases. Do not alter line 9999, which has to be the
last DATA statement. In a 4K PET, you have room for about c. Keep score of the number of correct and incorrect replies,
60 phrases of the approximate size shown in the program and display the percentage each time. Alternatively, come
listing. In an 8K PET, you can probably have over 200 of up with a rating based on the percentage correct and the
them. Be sure to have at least 6. speed attained, possibly in conjunction with a difficulty
factor for the phrases used.
b. To change the length of time the first phrase is displayed,
change the value of T in line 120. If one-tenth of a second is d. Add the capability to the program to also have a mode in
too fast, try two-tenths. Use a multiple of .05 seconds, or else which it can display a two to seven digit number, chosen at
make it .02 seconds (the maximum speed). random. Have the operator try several of the numbers first
(maybe five-digit ones) before trying the phrases. The
c. To cause all phrases to be displayed for the same length of
phrases will seem easy after doing the numbers.
time, remove lines 570 and 720.
d. If you want to Change the waiting period before the phrase is Conversion Notes
flashed on the screen, change the 1500 in line 465. To make
Although this program uses several special features of the
the delay five seconds, change it to 3000. To make it one
Commodore PET 2001 computer, it can be converted fairly easily
second, change it to 600.
to work on many other computers, too. You need to have a pretty
r
!
I
The program clears the screen and displays two parallel lines in the upper
left corner of the screen for a couple of seconds. . ===~~=~~--~-+'--.'--~-f =-,"--~~~~~
The program as the phrase was. The operator responds correctly. BUDD LAKE. NEW JU?S[Y O"/um
(201) 691-1~)H.1
The program acknowledges the'correct response, and indicates that the
next phrase will be shown for a shorter length of time.
Theodore Ehora
A classic confrontation, along the Kaissa was meeting its first serious Duchess beat the Soviet program after
lines of the Fischer-Spassky match, competition since it had won the title. 48 moves. Although Kaissa pulled itself
was anticipated in the World Computer The Russians, because of their great together and defeated the rest of its
. Chess Charnplonship that took place in popular enthusiasm for the game, had opposition, it was still beaten by Chess
Toronto in 1977. Although there were programmers working full time to 4.6, which defeated all its opponents
sixteen entries, representing eight develop their electronic champion. and won the title.
countries, excitement was generated In contrast, Chess 4.6 was a spare An exhibition game between Kaissa
by the expected clash between Chess time hobby for its two authors. Its most and Chess 4.6 only added salt to the
4.6, a Northwestern University recent achievements before the Toron- Soviet wound. Kaissa lost that game
program from Evanston, Illinois that to tournament ranged from winning the after 44 moves.
was authored by Lawrence R. Atkin Minnesota Open (for humans) to Winning the computer chess cham-
and David J. Slate, and Kaissa, the winning the U.S. Computer Chess pionship was the last thing on the mind
Soviet program created by a ten-man Championship. It had been improved of David Slate, as he walked through
team from the Institute of Control since lOSing the first world cham- Northwestern's computer center in the
Sciences in Moscow. pionship, then named Chess 4.1, but it summer of 1968. Slate, a graduate
. Kaissa, named after the mythical was unknown whether these in- student in physics, was in the systems
goddess of chess, was the defending novations could beat Kaissa. bay area when he noticed a green
champion, having scored four straight In the first round of the tournament binder with the word "CHESS" printed
wins at the first championship that took the unexpected happened. Kaissa on it. The authors of this chess
place in Stockholm during August of faced Duchess, a chess playing program were Lawrence Atkin and
1974. Three years later in Toronto, program from Duke University. Keith Gorlen (who has since left the
CREATIVE COMPUTING
134
project). Both Atkin and Gorlen were "We wanted everyone to think they puter must numerically evaluate all the
undergraduate students in computer had missed the first version," said resulting positions, then combine
science. Atkin describes his original Slate, with a chuckle. these results to assign a numerical
reason for writing a chess program as a "We, on the inside, know just how evaluation to the contemplated move.
means of escaping the boredom of flaky the whole set-up is," remarked This evaluation will reflect whether the
being a student. They had written their Slate, as he described Chess 4.6, with move is more favorable for the com-
first program in April 196~.Atthetime, its house language program of over puter or its opponent. Finally, the
both of them were relatively weak 30,000 steps. "We have a certain sense computer will choose the move which
players. that a human would make moves at a has a numerical evaluation that gives it
certain level, but that is not reasonable the most favorable position from the
Slate who was an expert player, to assume for a computer. It's metal possible selection of moves. The
decided to write his own program and and semiconductors with electric evaluation of a position considers such
by September, 1968, Northwestern had currents running around inside. Every things as material advantage, pawn
two chess playing programs. Each of one of those things had to be perfect in structure, king safety and mobility.
these programs had their own order for it to play." Occasionally, the computer will
strengths and weaknesses. The Atkin- Indeed, the idea of a chess playing reject a certain move after it discovers a
Gorlen program had a primitive tree. computer seems absurd if you look at bad position could arise from that
search function, which allowed the the statistics of this complex game. move. This saves the computer from
computer to look ahead in moves. It According to Claude Shannon, a wasting time in investigating useless
also had a bad judgment of the computer scientist whose 1950 paper variations.
resulting positions. Slate's program pioneered computer chess, there are Many of the opening moves of the
was just the opposite; it made good 10'20 different sequences of moves that game have been investigated by
evaluations of the game, but was weak begin with the initial position of the human players. Openings from the
in looking ahead. quiet "Giuoco Piano" to .the dynamic
In 1969 Slate told Atkin that he had "Sicilian" are programmed in the.
decided to write another program. computer and played by rote for the
Atkin replied that they should combine fi rst six to fifteen moves. After that, the
thei r two prog rams, si nce each of them computer begins to "think" about the
had separate strengths and talents that position. Presently, Chess 4.6 holds
they could bring to the project. The over 6,000 different opening positions
reswlting program was eventually nam- in its memory bank.
ed Chess 2.0. Chess players are categorized in
As they began to write their new- classes by the United States Chess
program, they also became aware of Federation, in ascending order, as
the literature on computer chess. The E,D,C,B,A, expert, master and senior
new program implemented alpha-beta master, with class "C" being an average
pruning, which greatly increased the tournament player. The World Chess
playing strength of the program. Federation bestows the higher titles of
"I remember this scene at the con- International Master, Grandmaster and
sole," recalled Slate, as he described World Champion, which are earned by
the first test game of the new program. international competition. Both Slate
"Atkin was playing the program. It (the and Atkin rate Chess 4.6 as an expert.
program) was really playing chess. Atkin noted that the program plays
Playing very sharp, very nicely. It acted better than either one of its creators.
as if it knew what was going on on the "The problem of trying to rate a
chess board. Punishing mistakes computer is that computers really play
ruthlessly.. .. and at the very last a different game of chess than people
moment, when it had one move to go to do," stated Atkin. "What happens is
checkmate Atkin-of course he was that the machine plays tactics like a
quite ecstatic over this experience;the Grandmaster and makes strategiC
monster we had created had come to -rnoves like an 'E' class player. You end
destroy us. It was just thrilling!"- up with something in the middle."
suddenly when it was going to Another interesting difference
checkmate him, the display started to between man and machine is the fact
go completely berserk. Weird numbers that a chess master will often play an
appeared on the screen; fizzing and inferior move, gambling that his oppo-
sparkling started and then it dissolved. nent will not be able to exploit it. The
"The program had died a horrible computer assumes its opponent will
death; the strain was too much. Its first find the proper reply to all its moves.
game. He indicated that a fast com-
victory was too much for it." . This difference between computer
puter would take 1090 years to examine
Eventually they discovered the flaw and man continues to challenge Atkin
all the possible moves, before the first
in the program. They had told the and Slate. Already they have added a
move is made.
computer that it could only have fifty new innovation which allows Chess 4.6
Since all serious tournament play is
legal moves in one position. However to analyze its opponent's probable
timed, any chess playing computer
the checkmate position was complex move while the opponent is thinking.
would lose the game by exceeding the
and there were over fifty legal moves Now, they hope to devise a way for the
time limit if it was programmed to look
available. computer to build a hypothetical model
at all the possible variations in a
After play-testing their new program, of its opponent's.play. By using such a
position.. So how do you get a com-
they began to distribute it to various model, the computer could probe its
puter to "think" through a game of
computer installations. Because the opponent's weaknesses and play a
chess?
software products were usually adver- gambling move.
tised with a number after it, they Chess 4.6 analyses an average of
decided to call it Chess 2.0. Why did three moves ahead. Since one move by J.BIIT was the name of a program
they call the first version 2.0 instead of the computer can result in a variety of devised by chess master Hans Berliner.
Chess 1.07 responses by its opponent, the com- In that name he stated the basic
:.IAN 1979
135
purpose for programming a chess The bet is presently for 1,250 pounds found is that if we put our program on
playing computer: Just Because It Is sterling (about $2,125) and has beerr' faster machines, its play is significantly
There. However,practical purposes for placed with three computer scientists. better. (Presently Chess 4.6 is run on a
the chess playing program have Although the time limit for the bet is CDC Cyber 176. A six-fold increase in
already been found. Presently, the August, 1978, Levy has indicated that speed gives the computer an extra half-
specific techniques used for playing he will renew the wager after that move to look ahead.) If there is another
chess have already been used in period. step, another order of magnitude in the
programs that handle a telephone- "The bet was made by Levy with power of machines, I think that we
switching system and an electronic- three computer scientists," explained : can-well, its hard to say. I think we can
power grid. Atkin. "It is up to them to come up with beat him once in a while-that is better
"It is a good research base," said a program-steal, borrow or than I think we can do now, which is
Atkin. "If you're interested in how to whatever-that will play Levy. We've almost never."
make computers solve difficult tenatively agreed to be that program. Presently Atkin and Slate, along with
problems, language translation Right now there are negotiations going David Cahlander of Control Data, are
problems, perception problems .... on trying to arrange the location forthe busy' finding ways to improve Chess
those kinds of problems are very match." 4.6. One of their most recent plans is a
difficult because there are enormous "One way to beat him is with a way to cut down on the boredom of
amounts of data and a huge informa- conceptual breakthrough. What we've attending the program at a tournament.
tion base. One example would be "Actually, when you have a terminal,
language translation problems which its a drag," said Atkin. "You're sitting
deal in huge vocabularies. Those are there, with the board in frontofyou and
difficult problems, but they are basical- the terminal on your side. The com-
ly similar to chess. So chess can be puter makes a move. You make it on the
used as a simple problem to help solve board. You sit there twiddling your
the more difficult ones in the field of thumbs while the other guy (or com-
artificial intelligence." puter) is thinking. He makes a move.
While the future for computer chess You type it in the terminal. You're just.
and its practical applications looks an automaton, sitting in the middle.
promising, the immediate future holds Getting very frustrated it's
plenty of challenge for Chess 4.6. nervewrackinq."
Perhaps the most dramatic of these "What we're trying to do right now is
challenges is the Levy wager. build a robot that takes the place of the
In 1968 David Levy, an International programmer sitting between the ter-
Master and computer expert, wagered minal and the board. The robot will
that he couldn't be beaten by a chess have an arm that picks up the pieces.
playing computer in a ten-game match. ONE Df>.Y AT T\-IE flRlrr d •••.• We'll just sit back and watch." -
ROSoliC CHeSS "1OURNAIII",.1
P-----------------------~----~
RELIABLE APPLE SOFTWARE
Radio Shack Computer Users
NOW AVAILABLE ON CASSETTE
-
language, requires 24K 10
14. Applevision· High resolution qraphicsand music demo, machine
Financial package ...
••
language and BASIC 15
15. Blackjack· One or two players in low-res graphics,
machine language and BASIC
16. Apple Checkbook· Complete checkbook balancing
and reconciliation program
10
10723 White Oak Ave., Dept. C.C. Box 149C New City, New York 10956 (914) 425-1535
Granada Hills, CA 91344 Send (or FREE Softw.areCatalogue (Including listings of
(213) 360-2171 hundreds of TRS programs available on cassette and diskette).
OPTIONS:
Dual Pitch $125.00
micro mcd
Correction Feature $125.00 computer
Noise Reduction Feature $50.00
RS-232 Interface $195.00
devices
inc.
Direct International Sales: Discounts Available to 960 E. Orangethorpe, Bldg. F
International Sales Division EDUCATIONAL ACCOUNTS Anaheim, California 92801
17648 Orna Drive Dept. No. CC 1-74 PO Box 8394 Telephone (714) 992·2270
Granada Hills, CA 91344, USA Ann Arbor. MI 48105 (313) 665-8514
"Innovators to the Microcomputer Industry"
CIRCLE 170 ON READER SERVICE CARD
AUTHORS WANTED CUSTOM
BY N.Y. PUBLISHER
SOLID STATE &
HOBBY CIRCUITS MANUAL TRS-80 SOFTWARE
$1.95 postpaid to your door. The new
A well-known New York subsidy book manual offers over 400 pages of
publisher is searching for manuscripts circuits for the hobbyist, engineer, YOU NAME IT, WE'LL WRITE IT!!
worthy of publication. Fiction, non- experimenter and do-it-yourself kit No mass production. You get individual
fiction, poetry, juveniles, travel, scien-
builder. HURRY - Supply limited. attention!! We have some pre-written
tific, specialized and even controversial
subjects will be considered. If you have Free catalog. Frazer & Associates, programs available. Also, lots of infor-
a book-length manuscript ready for pub- 1888 Century Park East Suite 10,
lication (or are still working on it), and mation on Computer Crime. For more
Century City, Calif. 90067
would like more information and a free details send 25~ or S.A.S.E. to:
booklet, please write: CIRCLE 197 ON READER SERVICE CARD COMPUTER CONSULTANTS
Vantage Press, Dept. D-65
312HoytSt., Dunkirk, N.Y. 14048
516 W. 34th St., New York, N.Y. 10001
=
::: PROCESSING EQUIPMENT. - Science Navigation Music Synthesis
Micro Tax 78 does 1040 schds ABC
minutes. 16K TRS-80 LEVEL II $9.99
Performance
Electronics
Amateur Radio
Guaranteed.
Digital Design
Utility Functions
Free Catalog.
Clisham Box 1172 Duxbury, Mass 02332 ::: ;:::: BENCHMARK COMPUTING SERVICES
P.O. Box 385-CI Providence, Utah 84332
CIRCLE 175 ON READER SERVICE CARD
~ ~ ~
:::; ~ :;:: CIRCLE 143 ON READER SERVICE CARD
==================
Automatlo Penolls and Novelties.
~
%
%
u.s. BROKERS
2636 WALNUTHILL LANE
SUITE 347-348
INC. ~
~
~
~':=J!g ;Fd % DALLAS, TEXAS 75229 :s:: TO PATENT GOOD
No. 3R6060 Eagle Automatic Pencn., with vio-
let ink lead, 4~ inches long. Price, each 40
No. 3R6062 Copying Ink Lead., violet for the
~//H/II"IIIIII"\\\\\\\\\\~ M 0 N EY PATENT
IDEAS m~y be secured
by our ald.
RECORD, Baltimore, Md.
above: three leads in box. Price, each 4c CIRCLE 133 ON READER SERVICE CARD
•-
75 cents postage & handling, Peterborough, NH 03458
Write for a FREE CATALOG or
~. circle the inquiry number on
your reader service card. pial your bank card orders TOLL-FREE: 800-258-5477
CONSULTING
AT LAST!! Intelligent, innovative, intriguing, in- Hardware, software and systems
teresting, incredibly inexpensive software for your assistance on those engineering issues
TRS·80 4K Level 1 computer! and jobs you don't have resources for.
Graftape 1.1 (includes 4 Graphics Programs) Selection, design, problem solving,
realization and integration in the whole
Super Graphics, Character Graphics, Mazemaker
mini-micro arena. Total Digital En-
on cassette .... only $6.79
gineering. 6 Holly Lane, Hudson, N.H.
Funtape 1.1 (includes 6 Game Programs) Gold Rush, 03051 603-883-0991
Tic-Tac-Toe, 4D Chase, Math-Whiz, Decapawn, CIRCLE 176 ON READER SERVICE CARD
Hexagram on cassette .... only $5.89 ~~55~
Send cheque or money order, or for more details on
these and other exciting programs, write:
BRUNSWICK COMPUTER SOFTWARE
8 Teesdale St. -Moncton, N. B. - Canada - E1A 5K5
TURTLES
-:,,-;;I!~
CIRCLE 181 ON READER SERVICE CARD
by Terrapin, fne.
PET OWNER'S
introducing 2nd Cassette Interface Sanyo
R,ecorder w/counter plugs directly into
computer $69.9S +$3. Shipping & Handling Small home robots
Use your own recorder Interface Module
$19.95 plus $2.00 S & H controllable
0& R CREATIVE SYSTEMS P_O. Box 402C by your computer.
st. Clair Shores, Michigan 48080
Hone,)t 0mpetition i.s all ri9ht, but [0 Brochures available Terrapin, Inc.
1891 introduce an inJerior article on scme one
else:s repUTation is piracy. Kit $300, Assembled $500 33 Edinborough Street
A few (he~p grocer..>are offerin9. an in- S-100 Bus Interface Kit $40, 6th Floor
ferior articleunder the name 01 french
;SOUP.5· 50I!Jre to esk Jor the
Assembled $50 Boston, MA 02111
U.S. postage $5 (617)482-1033
RAH(.o AMfRICAN fooD CO!). Mass. residents add 5% sales tax
DON'T BE HUMBUGGED
CIRCLE 113 ON READER SERVICE CARD
SP-30a
Printer
ATTENTION-
HUMANS
The Klingons are hot on the trail of the
Enterprise. To gain speed, we're unloading
our supply holds of Star Trek T-shirts, posters,
etc. Help us escape the Klingons and keep the
galaxy safe by buying these items at drastical-
ly reduced prices!!
~
Orders must be prepaid. (No bank cards)
Send to Creative Computing, P.O. Box 789-M, Morristown, N.J. 07960
Computer Career Opportunities
If you've gone as far as you can with your present company you should come work with us at Digital. We'll
give you all the room you need. We're.a billion-and-a-half dollar company that continues to grow by intro-
ducing hot new products like VAX.So there's always plenty to challenge even the best people.
, Field Engineers/Technicians with experience in: ' Software Specialists with experience
, CPU troubleshooting and repair in:
, Core troubleshooting and repair ' Real time event driven applications
, Peripheral fault isolation and diagnosis ' Operating systems design and
, Sales Professionals with a solid track modifica tions
, RSX-ll, RSTS-E, TOPS 10
record of success in selling computers to
, Business applications design
any of the broad range of markets.
, COBOL, FORTRAN
Have you
outgrown the
company you're An equal opportunity employer m/f.
working for?
Take a step in the right career direction today by sending your resume to Harry Crawford,
Digital Equipment Corporation, Dept. HI013820, 129Parker Street, Maynard, MA 01754.
DYES
synthesis and recognition, and investment analysis. Live demonstrations
of applications by individual users will enable you to see the latest per-
sonal computing realities in ac- . Then we need you.
tion. Commercial e..xhibits will bring You have developed
you up-to-date on industry offer- an application to a
ings in microcomputer products, point where your re-
systems, and services. Take full sults are up to your own high personal standards. Speak to
advantage of your computer by us, and the world, at the NCC 79 Personal Computing Fes-
attending the NCC Personal Com- tival. You can help your friends and colleagues take full ad-
puting Festival at the Americana vantage of their own computers by presenting a paper, chair-
Hotel in New York City, June 4-7. . ing a session, or demonstrating your application. Valuable
For continuing information about prizes will be awarded for outstanding applications demon-
the complete computing experi- strations and for the best papers published in the NCC '79
ence at NCC, simply fill out and Personal Computing Proceedings. Fill out the coupon be-
return the coupon below. low, check the box on conference participation, and we'll
send you complete information. The deadline for submit-
ting ideas and proposals is February 1, 1979. But remem-
ber ...whether or not you're presently taking full advantage of
your computer, there's a world of information on the very latest
in personal computing awaiting you at NCC 79 in New York.
CJ(CC 79 f
,-.t;~{-.../
..,.....~ ."
.
-.""'~~""
,,'
'
144
CREATIVE COMPUTING
ess.
Faster, easier and more economical digi-
tal testing. That's what CSC's Logic Probes are
ore.
without pulse memory capability. Handling a
minimum pulse width of 300 nanoseconds, this
all about. And that's what engineers, technicians 300 K ohm probe is the economical way to test
and hobbyists need, to deal with the increased
use and complexity of digital circuits ..
Unlike oscilloscopes, meters
=====s =
=5=
CONTINENTAL SPECIALTIES CORPORATION
Corporate Headquarters: Europe, Africa, Mid-East: CSC UK LTD.
Continental Specialties Corporation Shire Hill Industrial Estate, Units 1 and 2
70 Fulton Terr., Box 1942, New Haven, CT 06509 Saffron Walden, Essex CB 11 3AQ
351 California st, San Francisco, CA 94104 Telephone Number: SAFFRON WALDEN 21682
(415) 421-8872, TWX 910-372-7992 TlX817477
-----------------------
lbe All! of Affarc!able ~nal
Computing Has Finally ArrIved.
Ohio Scientific has made a major breakthrough in small com- math functions and built-in "immediate" mode which allows
puter technology which dramatically reduces the cost of per- complex problem solving without programming! This computer
sonal computers. By use of custom LSI micro circuits, we have can actually entertain your children while it educates them in
managed to put a complete ultra high performance computer topics ranging from naming the Presidents of the United States
and all necessary interfaces, including the keyboard and power to tutoring trigonometry all possible by its fast extended BASIC,
supply, on a single printed circuit board. This new computer graphics and data storage ability.
actually has more features and higher oertorrnance.than some The machine can be economically expanded to assist in your
home or personal computers that are selling today for up to business, remotely control your home, communicate with other
$2000. It is more powerful than computer systems which cost computers and perform many other tasks via the broadest line of
over $20,000 in the early 1970's. expansion accessories in the microcomputer industry.
This new machine can entertain your whole family with spec- This machine is super easy to use because it communicates
tacular video games and cartoons, made possible by its ultra naturally in BASIC, an English-like programming language. So
high resolution graphics and super fast BASIC. It can help you you can easily instruct it or program it to do whatever you want,
with your personal finances and budget planning, made possible but you don't have to. You don't because it comes with a corn-
by its decimal arithmetic ability and cassette data storage capa- plete software library on cassette including programs for each
bilities. It can assist you in school or industry as an ultra powerful application stated above. Ohio Scientific also offers you
scientific calculator, made possible by its advanced scientific hundreds of inexpensive programs on ready-to-run cassettes.
Program it yourself or just enjoy it; the choice is yours.
Ohio Scientific offers you this remarkable new computer two ways.
Challenger 1 P $349
Fully packaged with power
supply. Just plug in a
video monitor or TV
through an RF con-
verter to be up and
running.
Superboard II $279
For electronic buffs. Fully
assembled and tested. Re-
quires + 5V. at 3 Amps
and a video monitor or TV
with RF converter to be up
and running.
~
~---------------------------------------------------------------