Computer Digest Vol 01-01-1984 May
Computer Digest Vol 01-01-1984 May
lARRY STECKLER
PUBLISHER
EDITORIAL ColfilUiEil
D,GESi
Another Computer Magazine!
Hugo Gernsback (1884-1967)
No! This one is different. Really different! founder
M. Harvey Gernsback, editor-in-
Considering the numbers of computer magazines available today, you could chief
go broke trying to read them all. What's more, the amount of time you Larry Steckler, CET, publisher
would use up just going through all of them would keep you from getting Art Kleiman, editorial director
anyplace near your computer. Byron G. Wels, editor
Brian C. Fenton, technical editor
That's why ComputerDigest is here. Carl Laron, associate editor
Robert A. Young, assistant editor
We do read all the magazines in the field, and we read them very carefully. Ruby M. Vee, production manager
When w e see an article that we feel is important to you, we pull it out and Robert A. W. Lowndes, production
put it aside. Then, once a final selection is made,each of those articles is associate
read again and carefully edited to carve off the fat and leave only that Dianne Osias, production
which is necessary to make it readable and informative. assistant
Joan Roman, circulation director
When we can't get permission to reprint an article, we assign one of our Arline R. Fishman,
own authors to do a story that fully covers the subject in our own style and advertising coordinator
format. In this issue, every article is original with us. Next month, we hope
will start showing carefully selected and edited reprints.
Gernsback Publ ications, Inc.
You gain two ways. First you don't have to buy those magazines you don't 200 Park Ave. South
really need. Second, you get to preview a lot of magazines you may have New York, NY 10003
been considering subscribing to. If you like the kind of articles they publish Chairman of the Board,
(after you preview one or two in ComputerDigest) you can subscribe, . M. Harvey Gernsback
knowing that it is a magazine you will want. President; Larry Steckler
Naturally, we can't operate in a vacuum. We need some i"nput from you too. ADVERTISING SALES 212-777-6400 '
We'd appreciate your comments, and we hope we'll be able to get a letter Larry Steckler
column started with the next issue. So do drop us a line and give us the Publisher
benefit of your thinking. We need and want your help to make
ComputerDigest a more helpful, valuable publication for you. EASTISOUTHEAST
Stanley Levitan
We know you'll like what you find in the pages that follow, and that you will Radio-Electronics
be looking forward to our next issue. We feel that we have an excellent 200 Park Ave. South
opportunity to serve, and we intend to take an aggressive stance to New York, NY 10003
accomplish that purpose. 212 -777 -6400
Thank you for joining us here, and we hope we 'll be talking to you again, MIDWESTlTexas/Arkansas/Okla.
and often, in the future. Ralph Bergen
Radio-Electronics
BYRON G. WELS 540 Frontage Road-Suite 325
EDITOR Northfield, Illinois 60093
312-446-1444
PACIFIC COAST
Mountain States
Marvin Green
Radio-Electronics
15335 Morrison St., Suite 227,
Sherman Oaks, CA 91403
818-986-2001
Apple's Macintosh
This personal computer will solve all kinds of
problems for anybody from a school person to a
business manager. It comes with a mouse, and
offers a 32-bit (internal architecture)
microprocessor and bit-mapped graphics. You get
TABLE 2
many of the advantages of the Apple 32 Apple Lisa 2
supermicro at an excellent price. Microprocessor MC68000
Memory 16K ROM, 496K RAM
Apple's Lisa Disk drive One 3Y2-inch microfloppy
Disk storage 400K per disk
There are three, count 'em, three Apple Lisa's.
Keyboard 76 keys with numeric pad
The Lisa 2, the 2/5 and the 2/10. If you want Size 18.7 (width) x 15.2 (depth) x 13.8
Apple, and want more Apple than you can get in (height) inches
a Macintosh, go for the Lisa series . Again, the more Weight 48 pounds
Lisa you get, the better off you will be, so we Other comments Three slots, two serial ports, one
parallel port, built-in speaker with
advise investing the most you can afford to make
software-controllable tone generator.
your first expense your last. All the Lisa 's come
with a mouse, and as you'll see from the
specifications, they keep getting more and more
powerful ..
TABLE 3
IBM PC
Microprocessor 8088
Memory 40K ROM, 16K (standard) to 256K RAM
Disk drives Up to two 5%-inch diskette drives
(optional)
Disk storage 160K per diskette
Keyboard detached, with 6-foot cable. 83 keys, APPLE's MACINTOSH (above) and IBM's PCjr- two new ma-
auto repeat chines generating a lot of excitement.
Size 20 (width) x 16 (depth) x 5.5
(height) inches
Weight 21 pounds (without drives) 28 pounds
(with two drives)
Other comments Cassette 110, five expansion slots, built-
in speaker, BASIC interpreter. RF
modulator or video monitor must be
purchased separately
IBM's PCjr.
Many have taken to ca lling this "the Peanut," and
TABLE 4 it's a truly innovative unit w ith some features that
IBM PCjr tickled our fancy- like the cordless keyboard that
Microprocessor 8088
is coupled to the system unit via infrared signals to
Memory 64K ROM, 64K RAM
Disk drives one 5%-inch double-sided drive provide a degree of freedom heretofore
(optional) unavai lable. It's an excellent, low-priced starting
Disk storage 360K on a double-sided d iskette unit, and w ill do a w orkmanli ke job for the small
Keyboard cordless infrared keyboard with 62 office or for the home.
chicklett keys
Size 13.9 (width) x 11.4 (depth) x 3.8 IBM's PC
(height) inches
Weight 6 pounds (without drive) 9 pounds There are two PC's from IBM. The PC and the PC
(with one drive) Xl Chances are that w hen you visit your local
Other comments Cassette 110, two joysticks. Cord for dealer,
keyboard is optional. Display is 40
, if you ask to see the jr it won't be long
before he's selling you "up" to a PC or an Xl Both
columns, 80 columns with upgrade
that also increases RAM to 128K. (Both are excellent va lues, and suffic iently powerful to
that upgrade and disk drive are do any sort of job that you'd cali o n a desktop
included with the enhanced version. unit for. There's a vast array of software available
Connector for N is optional, direct for both, and the speci fi cati ons speak exceed ingly
and composite video are standard.
well for these units ......CD~
. ~
THE MACINTOSH WILL NOT take up too much room on your A VARIETY OF ACCESSORIES is available for the Macintosh,
desktop. Its "footprint" (not including the keyboard or mouse) including an outboi\rd drive, a numeric keypad, printer,
is 10 x 10 inches. modem, and carrying case.
-It often appears that CP/M is the bogeyman of The fact that it remains the leading 8-bit computer
personal computing. Some colleges short on funds operating system is a testimonial to how well it was
take in substantial extra income w ith rather expensive initially thought out, touch ing bases that hadn 't even
"How to use CP/M" adult education courses. Highly . been thought of in the late 1970's.
paid consultants· will come to your home or office any CP/M was intended for a "persona l computer" that,
hour of the day or evening to give you personal training like the mythical kingdom of Camelot, lasted for one
in CP/M. Magazine authors suggest you consult the local brief instant in time. It was written for a central
"CP/M expert" to work out your problems. And computer to which other equipment--called
computer stores offer as an excuse to users who "peripherals"-were connected. Depending on the
wiped out all traces of their software from a hard disk particular installation the input to the computer could
that "it's your fault if you misuse CP/M." be from any of several devices such as a teletypewriter,
Why is CP/M so difficul t to use? In truth, it's not a video terminal consisting of a keyboard and CRT
difficult at all; it's often easier to use than most of the display, batch processor, a telephone line, a paper-tape
so-called user-friendly operating systems. reader, virtually anything. Similarly, the computer could
Most difficulties in using CP/M arise because the feed any number of devices, among them a high-
system has remained essentially the same while the speed line printer, slow speed letter-quality-printer,
hardware, the program software, and the type of several d isk drives, paper-tape punches, teleprinters,
person using the software has changed dramatically. even another computer. Hence, CP/M was designed to
Many of the original CP/M concepts no longer pertain accommodate all those various peripherals, and
to how the modern personal computer is generally numerous software routines commonly used by "data
used. But once you understand CP/M in terms of processing" techn icians were built into CP/M so the
modern hardware and software and your own user could easily use the peripherals.
technical level, you will find that it becomes a delight Today, however, the typ ical personal computer rarely
to use. connects to that much hardware. Nor does the user
need the software functions that go with the hardware;
What's CP/M? yet the functions remain in CP/M. If you call a function
CP/M, an acronym for Control Program for not implemented for your particular computer, either
Microcomputers, is only a disk operating system w ith a nothing happens, your information gets directed to
fancy name. It's primary purpose is to create d isk files places unknown to you, or the keyboard locks up. If
and then permit the user to use the files in any desired you just don't use the features there won 't be any
manner. For example, the output from a d isk file could problems. We'll cover what not to use a little later.
be directed to a printer, or another d isk drive to make Also, the documentation was intended for the
copies, or another computer, or a modem, or a paper computer scientist/engineer/technician, and even some
punch-anything at all. of them had difficulty understanding it. For many
On the opposite side of the coin, CP/M allows / applications-oriented users of personal computers,
almost anything to be used to create the d isk file. The inconsequential hassles become insurmountable
input could come from a keyboard, a teletype problems because the user doesn't understand the
machine, a CRT terminal, a card reader, paper tape- technically-oriented documentation.
again, anything. To make life easier and simpler for those of you who
Some of those devices and uses might sound aren't computer experts, and don't care to become
strange because you have not heard of them or your experts, we're going to cover CP/M from a strictly non-
computer has no provisions for them; and that's a good technica l applications-oriented viewpoint. Some of
part of the reason some users have difficulty using you wil l undoubtedly gnash your teeth and shout to
CP/M. CP/M was never intended for the modern the world "that isn't right. " Gnash away! This short
personal-computer or the typical person using it today. course in CP/M is intended strictly for those who want
MAY 1984 - CompulerDigesl 9
DIR
A. CARDF I LE COM MBAS I C COM LABEL2 BAS MAILPAC BAS
to use their computer, not write the next multi- A: F AMI L Y BAS BOOKEEP BAS CHECKS BAS CHECKS82 BAS
megabyte integrated word processor/spreadsheet! A:
A:
INSURE84
STAT
BAS
COM
PIP
XD I R
COM
COM
CARDF I LE
COMHE X
PRM
COM
CARDFILE
MITE
DAT
COM
graphics program. A: FILES DOC FLS COM
A>
Note : To avoid confusing computer keyboard
FIG. 1-THIS TYPICAL DIRECTORY display shows the CP/M
commands, the punctuation-the periods, commas, utilities, MBASIC and its files, and a Cardfile dat abase with
colons, etc.-which are by normal convention located its files.
within parentheses will be shown outside the
parentheses. unrelated files; you would like them arranged into
homogeneous groups. For example, you woul d like
Drives and user areas only the CP/M utility programs-PI p, STAT and XDI R- to
As stated earlier, CP/M is a disk operating system. It be available on boot up, with MBASIC and all its
will write and read d isk files on any of up to 16 related programs w ith the .BAS extension listed
individual or "dual identity" disk drives which are alpha independent of both the CP/M utilities and the
labeled as "A", "B:", "( ", etc. The colon (":") is part of database program with its ind ivid ual data files and
the disk drive hardware identification; without it CP/M prompt screens. Figure 2 shows how only the CP/M
has no idea what you are talking about, and the lack of utilities wou ld be d isplayed.
the colon is the reason why what should be an OIR
;~ P I P COM : STAT COM : XOIR COM
ordinary copy command can resu lt in inaccessible disk
files. Whi le a disk drive can be assigned any letter
I
(within reason), because of the way modern personal- FIG. 2.-THIS IS HOW we would like the computer to " boot
computer software is written, the main drive, the so- up," with a DIR showing only the utility files.
called primary default drive, is always A and the What you can do to avoid the cl utter is to tag each
second drive is always B: You could have your second individual file by ass igning it a user area tag . As shown
drive designated ( but a lot of commercial software in Fig. 3, we could place the MBASIC file and its
wouldn't have the vaguest idea what to do. Unless you programs in user-2 area by first typing USER 2. A nything
modify the software that is the way it must be done; done from here on w ill have the USER 2 tag, so if we
otherwise, you will end up w ith software that won't now move (write) MBASIC and its relate9 programs to
run, or software that simply erases it's own records. the disk they w ill all have the USER 2 tag . A ll programs
(Self-erasure is very common to hard disks where A created by MBASIC will also automatically get the USER
and B: are the same disk mechanism.) 2 tag.
Take note that some programs permit the user to
eliminate the colon when specifying disk drives, and USER 2
A >DI R
some so-called "utility" software permit the user to use A. MBAS I C COM. LABEL2 BAS . MAILPAC BAS: FAMIL Y BAS
A. BOOKEEP BAS . CHECKS BAS. CHECKS82 BA S • I NSURE84 BAS
CP/M without the colon. Using a colon at one time and A>
not at other times causes mBre problems thaI! the FIG. 3-MBASIC AND ITS FILES should have their own
convenience is worth because omitting a colon at the exclusive tagged directory.
wrong time can "crash" (ruin) a file. Try to do it CP/M 's
To keep our database files separate we might give
way at all times-use the colon even if you don 't have
them a USER 5 tag . From the "A>" command prom p t we
to.
type USER 5. Everything we do w ill now get the USER 5
The basic CP/M system that handles the filing and ·
tag. If we write our database, in this instance Cardfile,
retrieval of d isk data has several inherent command
to the disk, the program and all its generated prompts
functions. The most commonly used command is DIR
and files will be tagged USER 5 (see Fig. 4).
(for "directory"), which will cause the display device to
show a directory of the disk files. The directory can be USER 5
A >DIR
"keyed" so that only a desired group of files appears at A. P IP COM : CARDFILE COM : CARDFILE PRM : CARDFILE DAT
A)
anyone time.
One of the attractive features of CP/M is that it can FIG. 4- A DATABASE PROGRAM, such as cardfile, and its
files could similarly have its own tagged directory.
create up to 16 individual "user areas" on a single disk
that are keyed to individ ual directories for each user If you now go back to the "b oot up" cond ition by
area. "User area" is essentially an invisible tag applied typing USER 0, you would see on ly the CP/M utilities, as
to one or more disk files, and the computer always shown in Fig. 2.
"comes up" in user 0 when CP/M is first booted up. In Fig. 2, the computer has been "booted" so it
You enter a user area from the command line-when "comes up" automatically in the the user 0 area and a
the "A> " shows on the screen-by typing USER 1, USER 5, DI R command produces the response NO FILE. In Fig. 3
etc. Since the computer automatically comes up in the computer has "come up," we have first entered
user 0, the command USER 0 need be entered only USER 2 and then DIR. Notice we have a d irectory listing
when leaving some other user area. of MBASIC and its files. In Fig. 4 we have entered USER 5,
User areas work this way: Assume your disk drive will then DIR, and we get only a directory of the Cardfile
record 200K bytes of data. Any program written to the files.
disk is placed in the user-O area and a DIR command There is normally no way a single DI R command will
will display a listing for all the d isk files . If all the files list files from other user areas unless spec ial software
were simply written to the d isk, the directory would has been provided, and this is not usually done except
appear as show n in Fig. 1. But let's assume you don't for the computers with hard-disk drives such the
want the d irectory listing cluttered w ith a string of Kaypro 10. Kaypro provides a special directory program
10 Computer Digest - MAY 1984
that will list all files regardless of their user area. (There In Part 2 we' ll give you a short seven-statement routine
are available special utility programs that simplify for DDT that you don't have to understand at all, but it
getting directories and moving from user area to user w ill open up user areas to you-and then you can
area, but they are a subject for another time.) In fact, forget all about it.
because hard-disk drives contain so many files it's ED is a rudimentary line-oriented editor that wasn't
often d ifficult to locate a desired file unless they are even good in "the good old days;" kill that one also.
organiied in homogeneous user area. In fact, a full LOAD and DUMP are also for computer science types;
d irectory listing for the software that comes bundled you will probably never use them so kill them from the
w ith the Kaypro 10 would take almost four fu ll screens work d isk. SUBMIT is a way to automatically link
to display That does not include any user-generated commands, as is XSUB. Many software houses supply
files. Using user areas simpl ifies load ing programs-it's their programs in SUBMIT or XSUB format under a
certain ly a lot easier to locate and use the desired files different name. For beginners and appl ication-oriented
from a user area than trying to dig them out from the users it's best to avoid those programs until it's you
"fu ll directory" who are the local CP/M expert.
Wh ile the user areas are often a decided SYSGEN is the program that is used to place the CP/
convenience you must keep in mind that the user area M system on other disks. Leave it on the work disk.
on the default drive, the control drive determines the STAT means "statistics." It w ill tel l you almost anything
user area on all other drives. If you copy a program you want to know about a disk or the programs stored
from drive A: to a disk on drive B, or C, or whatever, it on the disk, such how much free space is available on
w ill be copied to the same user area from which it the disk; how much disk space a program takes up (or
came. Same th ing if B: is the default drive. Often, the needs if you're making a copy); the devices connected
user will be in a user area, say user 4, and copy a to the computer; the cond ition (setup characteristics)
program to a backup disk in drive B:. Sometime later, of the devices. STAT is important,' and you should
forgetting that"a user area was used during the backup, hands-on experiment with it until you can use all its
the user calls for a DIRon the backup disk and the "bells and whistles."
screen shows NO FILE, because DIR checks the 0 area of PIP-an acronym for Peripheral Interchange
B: and the files have the USER 4 tag. Program-is the utility that moves files from place to
In Part 2 of this series we'll show how to move place and it is the keystone of CP/M. Unfortunately, PIP
programs between user areas. For now keep th is point works on two levels: very-easy-beginner and d ifficult-
in mind: It is easy to move files from any user area into to-understand mumbo-jumbo technese. (Technese is a
the one being used. It is d ifficult, often almost language whose purpose is to insure that outsiders
impossible for a non-programmer to move a file from don't understand what's going on. For example, social
the assigned user area into any other because the workers speak technese, educators speak technese,
original CP/M made no provision to do it easily etc.) In Part 2 of this series we will cover PIP strictly on
the beginner level. Be prepared to follow along "hands
on" because you'll be the local "CP/M applications-
Utilities software expert" when you're finished.
Because CP/M is a "universal " program it is always The manufacturer's utilities generally include some
specifical ly enhanced by the computer manufacturer form of CONFIG (configure) utility, and either a FORMAT
for a particular computer. That is done through special utility or a COPY utility that will either format a disk or
utility programs that are suppl ied w ith CP/M, as well as copy one complete d isk to another disk. That should
by utilities supplied by Digital Research, the outfit that be on the same work disk as SYSGEN. The command
wrote CP/M. Some are invaluable for day to day work; FORMAlCor FORMAT through the COpy program)
others can cause the tota l destruction of the d isk files if places invisible magnetic "tracks" and other information
used by a non-programmer-they shouldn't even be on blank (new) diskettes so they can be used to store
on the average user's work disk because they were disk files. You cannot store information unti l a disk is
intended for computer scientists, technicians, and formatted. If the disk isn't formatted there is no
programmers. The N technician using a personal personal computer using any operating system that will
computer for business, the dentist keeping patient know the disk exists. That is a point often forgotten, if
records, the service shop using a spreadsheet program ever known, by many "toy store" computer
for financ ial projections, and the wheeler and dealer salespersons.
doing stock transactions from home have rare or no The CON FIG program is a means whereby the user
need for some of the supplied utilities; again, all they can assign different techn ical attributes to various
can do is damage the d isk data or confuse the user. "ports"-the connections for a printers, modem, or
The Digital Research util ities are: ASM, DDT, ED, whatever. It is generally not needed on the work disk
LOAD, DUMp, STAT, EXSUB, SUBMIT, SYSGEN, and PIP since once CP/M is configured, meaning "set up" for
ASM is an assembler for those who write assembly particular hardware or software there is rarely any need
programs; you probably don 't need it so erase it from to change things.
your working disk (not from the master or backup copy If the manufacturer provides other utilities they are
of CP/M). DDT is also for software experts and is used generally intended for his particular computer, or
primarily to modify program code. Normally, it can also specific software, and aren 't really part of CP/M.
be erased from the working disk; but even if you Next time, we'll PIP and STAT through several disks
haven't the vaguest idea of what DDT is all about, it is and user areas. Be prepared by having a few
required one single time if you want to use user areas. SYSGEN'ed disks available .....Q)~
MAY 1984 - CompulerDigesl 11
rade
Your B get Printer
Many low-priced printers can be easily upgraded to give them new features and greater
flexibility. Here's a look at some of the upgrade kits currently available for two of the most
popular of those printers.
HERB FRIEDMAN
- If you have been into personal computing from its Shack TRS-8o. Mode/1, the most popular computer of
"hobbyist" days, or have built your system on a tight its day, hence the MX-8o. featured a Radio Shack
budget, it's odds-on that you have either an Epson graphics mode. Much of the modern software,
MX-8o. matrix printer or Smith-Corona TP- 1 (or TP-2) however, is written for the graphics mode of the newer
daisy printer. Either, or b oth, have prob ably given you MX-8o. printers, which has the graphics capability for
years of trouble-free service, but lately you find that the present most popu lar 8-bit computers, the Apple II
more and more software can't be used with your and lie. Even if the software is for other than Apple
printer, or you want to upgrade the computer but find computers the graphics will most likely be intended for
your printer can't quite hack it as an up-to-date printer the graphics capability of the most recent vers ion of
with the new computer hardware. the MX-80
Essentially, what you have is still functional The MX-8o. (and its clones such as the Texas
equipment that's been made obsolete by modern Instruments and IBM printers) accommodates only
software, or by modern uses for a personal computer. tractor-feed paper. If you want to print on single sheets,
The Epson MX-8o. printer, which could be used with such as letterhead, the only way to do it is to use a
any computer having a Centronics-compatible parallel special plastic tractor/p in feed "carrier," some of which
printer output, was intended primarily for the Radio are prone to damage the printhead when p ushed
THE MICRO-GRIP single sheet upgrade kit. Its use does not
interfere with tractor operation.
AN ADHESIVE MYLAR LABEL you affi x to the front of the TO ADD the Micro-Grip single sheet feed to the MX-80 you.
printer lists the new functions provided by the Fingerprint. simply remove the collar securing the drive bar on the left
side.
sched ules, even bus iness stationary-which includes in the first place, user-installed retrofit kits are avai lable
letterheads and envelopes. To insure precise alignment that w ill upgrade either printer to accommodate
of the printing, continuous forms must be tractor or pin modern needs. While some of the retrofits are better or
fed . more convenient than others, we know those
So what we have is a popu lar tractor-feed matrix discussed here wi ll really work exactly as promised
printer that needs at least neW graphics capability and because w? actually tried them out
the ab ility to feed single sheets, and a daisy printer that The first of the user-installed MX-80 retrofits was
needs a tractor feed in order to accommodate Epson 's own Graftrax, wh ich consisted of three ROM's,
continuous forms . Let's see w hat w e can do to satisfy two of which plugged into empty sockets in the base
those important needs. of the printer wh ile the th ird replaced an existing ROM.
Among other things, the Graftrax upgrade provided for
Upgrading the printers dot-add ressab le graphics, itnllics p rinting, and even
Regard less of why you purchased the MX-80 or TP-1 more important, backspar illCj. It was terrible
ATTACH THE PRESSURE roller assembly to the paper bail IT APPEARS TO BE permanently installed, but the tractor
and the single sheet retrofit is finished. mechanism goes on and off in seconds. .
A SINGLE SHEET being printed by the MX-80. Be certain SLIDE THE SUPPLIED GAUGE-actually a notched rod-on
the pin-feed mechanisms are against the sides of the paper the drive bar, tighten two screws, and the tractor assembly
it feeds straight. is adjusted for use.
b ackspac ing because the p rinthead returned to the true backspace that puts graphic printouts in high gear
extreme left and then advanced for each b ackspace, and rel ieves the stra in on the printer's printhead-d rive
but it was adequate for general word processing: motor; a "fine print" that can be used for superscripts
underscore, kerning, etc. Unfortunately, a graphic and subscripts; automatic perforation skipover (no
printout w ould cycle the head continuously until the more program listings printing on the perforations); and
d rive motor could be heard slowing to a crawl. a continuous underscore that can be turned on and off
The latest retrofit available from Epson dealers is from w ithin a p rogram or word processor. (A
Graftrax-Plus, which gives your o ld model MX-80 the continuous underscore is formed simu ltaneous ly w ith
advanced features of the latest model. A mong the the character; the head does not backspace for the
Graftrax-Plus highlights are the Apple-compatible underscore.)
graphi cs (no more Radio Shack Modell graphics); a The Graftrax-Plus retrofit kit consists of three ROM's