You are on page 1of 228

-,.

, /

SPACEPORT GAM. MA 6
HOLOGRAPHIC MUSE UM'
OF
ANCIENT TECHNOLOGY
$995
$175

$325
I

~--~---------- /

$395 COMPUTER
SYSTEM

• •

Your computer system needn't cost a fortune.


Some computer kits include little more than a mother boa rd and For just $35 you can add eith er a serial or parallel interface
a front panel, and you pay extra for everything else you need to' boa rd . (And you won 't have to buy seve ral interfaces on a costly
make an ope rating computer. boa rd to get ju st the one you wan!.)
SWTPC doesn't do it that way, so you can get your Sou thwest
Technical 6800 Compute r up and runnin g at a bargain cos t Peripheral Bargains
compared with most other system s. It comes comp lete at $395 Your compu ter is no good without at least a terminal for
with feature s that cost you extra with many oth er syslems. enterin g data and viewing compu ter output , and you wi ll
probably want a good method of storing programs and data.
The Extras You Get We oHer you a line of hi gh-qual ity peripherals at low prices .
These extras in cl ude 4K of random -access memory, a (You can prove thi s by ju st comp aring prices .)
min i-operating system in read -o nly memory, and a se ri al control Buy ou r CT-64 Video Terminal for only $325 and our CT-VM
interface. They give you 1) a cons iderab le amount of working Monitor with matching cover for $175. Our MF -68 Dual
memory for you r programs, 2) capability through the mini - Minifloppy cos ts just $995 , complete with Disk BAS IC and a
operating system to simp ly turn on power and enter programs disk operatin g system . For casse tte storage our AC-30
without having to first load in a bootstrap loader, and 3) an Cassette Interface gives sim ple control for one or two cassette
interface for connecting a terminal and beginning to talk with reco rders.
your computer immedi ately. You can get inexpensive hard copy with our PR -40 Al-
phanumeric Line Printer.
Low-Cost Add-Ons We back up the 6800 system with low-cost software ,
Now th at you have a working computer, you'll probably want includ ing 4K and 8K BASIC.
to add at least two feature s soon, more memory and interf aces Compa re the value you get with our computer and peripher-
for needed accessory equipment. Memory for our 6800 is als before you buy. We think you' ll find th at SWTPC g ives you
another bargai n. You can get 4K memory boa rds for just $100 more for you r money in eve ry way.
and 8K boards for on ly $250.
Ou r interface s cost little compared with many other system s
Enclosed Is:
_ _ $995 for the Dual Minifloppy
_ _ $325 for the CT·64 Terminal
_ _ $175 for the CT·VM Mon itor
_
_
_ $250 for the PR·40 Line Printer
_ $79 .50 for AC·30 Cassette Inferface
_ _ Or BAC # Exp. Date _ __
bI II Ld
10
_ _"._ ......._......_iiiI
Southwest Technical
Products Corp.
219 W. Rhapsody. San Antonio . Texas 78216
_ _ $395 for the 4K 6800 Comput er _ _ Or MC # Exp. Date _ __
London: Southwest Technical Produc ts Co .. Ltd .
Name _ _ __ _ __ _ _ _ __ _ Address _ _ _ _ _ _ _ _ _ _ _ _ _ __ Tokyo: Southwest Tech nical Products Corp.! Japan
Cily _ ______ __ _ __ _ _ 8Iale _ _ _ _ _ _ _ _ _ _ Zip _ _ _ __ Cir c le 109 o n inquiry card .
The easy way to get disk storage,
FORTRAN IV, and other programming power
Control up to Control up to CRT terminal
four 8" drives three 5" drives interface

L...-_- LSI circuitry

w-- - 1 kilobyte
Function _ _ __ PROM
switches

Here's a new disk controller and


disk drive comb ination that will set
you up for truly powerful disk storage.
The new contro ll er is extremely
versati le. You can use it with either
our new 5" single disk drive or our
8" dual disk drive. In fact, the con-
tro ll er will interface up to three 5" or Single 5" Dual 8"
four 8" drives. disk drive disk drive
That means you can have enor- board control of your disk drive STORES/FACTORY
mous disk storage since t he new con- and also includes a bootstrap to Thi s new card and the d is k drives
troller puts 92 kilobytes on each side load our powerfu l CDOS disk are in prod uctio n and available.
of a 5" diskette and 256 kilobytes on operating system supp lied on all So contact your compute r store
an 8" diskette. Recording is in soft- Cromemco diskettes. or t he factory tod ay and you can have
sectored IBM format. • The controller will interface your the power of FORTRAN IV and a
CRT terminal through its RS-232 large memory right away.
FORTRAN IV AND MORE serial port. May save you an I/O.
You can get still more Cromemco • It has 5 programmab le interval
disk operation aids. For example, we PRICES
timers. Mode l 4FDC· K Disk Con tro ller kit. ... . . . ... . $ 395
also offer FORTRAN IV for our com- • It has vectored interrupts. Model 4FDC-W Disk Controller assemb led .. . $ 595
puter users. • And it has an 8-bit para ll el inp ut
Mode l WFD 5" single disk drive asse mbled . . $ 495
Model PFD-K 8" dua l disk drive kit . . ... . .. . $1995
And as in so many things, we are port and an 8-bit para ll el output Model PFD-W 8" dual disk drive asse mbled .. $2495
the first manufacturer in the field to port. Disk dr ives are comp lete wit h
power supp ly, case and cables.
offer this advanced program for the
Z-80 ,uP. SOFTWARE
Besides FORTRAN IV we also offer LOOK TO THE FUTURE Purchasers of Cromemco computers
our spec ial BAS IC (14-digit precision), This new disk contro ll er eq uips or drives may purchase software o n 5"
or 8" d iskettes as follows:
our Z-80 Assemb ler, and now an en- you for the future as we ll as for now.
5" 8"
te rta inment diskette with over a doz- Not on ly can you now have ve ry Diskette Diskette
large storage, but the features of the Model Model Price
en of our Dazzler® games. FORTRAN IV FDF-S
controller and the standard IBM for- FDF-l $95
Z-80 Assemb ler FDA-S FDA-l $95
KEYBOARD CONTROL mat protect you from early obso- 16K BASIC FDB-S FDB-l $95
lescence. Dazz ler® games FDG-S FDG-l $95
The new Model 4FDC disk con-
tro ll er (supplied in our Z-2D) is for
our Z-2 computer or any S-100 bus
computer using our Z-80 CPU card .
cromemeo
You should also know about these
other capabilities of the new con-
tro ll er:
• Its PROM-res ident Disk Operating
System (RDOS) gives you key-
[3 incorpo rated
Speci alists i n c omputer s and peripherals
2400 CHARLE STON RD., MOUNTAIN VIEW, CA 94043 • (415) 964-7400

Circle 34 on inquiry card. BYTE December 1977


You can,now have the industry's
finest microcomputer
with that all-important
disk drive

YOU CAN GET THAT


ALL-IMPORTANT SOFTWARE, The professional·
TOO grade microcomputer
for professionals
Loading your programs and files
will take you only a few seconds with
the new Cromemco Z-2D computer.
You can load fast because the
Z-2D com-es equipped with a 5"
floppy disk drive and controller. Each
diskette will store up to 92 kilobytes.
Diskettes will also store your pro-
grams inexpensively-much more so
than w ith ROMs. And ever so much
more conveniently than with cas-
settes or paper tape.
The Z-2D itself is our fast, rugged , ADVANCED CONTROLLER CARD Shown with optional
p rofessional - grade Z-2 computer The new Z -2 D is a professional bench cabinet
equipped with disk drive and con- system that gives you professional
troller. You can get the Z-2D with performance.
either single or dual drives (dual In the Z-2D you get ou r well-
shown- in photo) . known 4-MHz CPU card, the proven We're able to put all of this in -
Z-2 chassi s with 21-slot motherboard cluding a UART for the CRT interface
CROMEMCO HAS THE and 30-amp power supply that can on just one card because we've taken
SOFTWARE handle 21 cards and dual floppy the forward step of using LSI con -
You Cijn rely on this : Cromemco drives with ease. troller circuitry.
is committed to supplying quality Then th ere 's our new disk con- STORE/FACTORY
software support. troller card with special features: Contact your computer store or
For example, here's what's now • Capability to handle up to 4 Cromemco factory now about the
available for our Z-2D users: disk drives Z-2D . It's a real workhorse that you
CROMEMCO FORTRAN IV COM- • A di sk bootstrap Monitor in a can put to professional or OEM use
PILER: a well-developed and power- 1K 2708 PROM now.
ful FORTRAN that's ideal for scien- • An RS-232 seri al interface for Kit : Z-2D with 1 disk drive
t ific use. Produces optimized, relo- interfacing your CRT terminal (Model Z2D- K) ......... .. ... $1495.
catable Z-80 object code. or teletype A ssembled: Z-2D fully assembl ed
CROMEMCO 16K DISK BASIC : a • LSI disk controller circuitry and tested (Model Z2D-W) . . .. $209 5.
powerful pre-compiling interpreter Additional disk drive
w ith 14-d igit precision and powerfu I (Model Z2D-FDD) .. . . .. ...... $495.
Z-2 USERS:
I/ O handling capabilities. Particularly
suited to business applicat ions.
Your Z- 2 was d esigned with th e f uture SOFTWARE
in mind. It can be easily retrofitted (On standard IBM-format
CROMEMCO Z -80 ASSEMB LER: a with eve rything need ed to convert to soft-sectored mini diskettes)
macro-assembler that produces relo- a Z-2D. Only $9 35 kit; or $1135 for 16K BASIC (Mod el FDB -S) ......... $95
catable object code. Uses standard assembl ed retrofit package. FORTRAN IV (Model FDF-S) ....... . $95
Z-80 mnemonics. Z-80 Assembler (Model FDA-S } .... $95

Cromemeo
2 BYTE Decemb e r 1 9 77
[3 incorporated
Specialists in computers and peripherals
2400 CHARLESTON RD., MOUNTAIN VIEW, CA 94043. (415) 964-7400 Ci rcle 34 on inquiry card .
~~TI DECEMBER 1977
In '-he Queue Volume 2 Number 12

Foreground pUBLlS I·IER


Viq.:ini.1 P!.: Sl.. h\"e
EDITOR I N CHIEF
Cli l T Hd nll' I S Ir
48 A $ 19 MUSIC INTERF ACE PRODU CT ION MANAGER
Music Systems-Struve j ud ith I t.I Vl' \'
ADV E RTI SI N G DIRE CTOR
76 ON A TE ST EQUIPMENT DIET? TRY AN 8 CHANNEL DVM COCKTA IL! DdHd Bow l! il', lu
Test Equipment-Cia rcia CIRCULAT I ON MANAGER
(;In!.ur y <; p i t/l.Hkn
130 USING THE POLYMORPHICS VIDEO INTERF ACE EDITORS
Hardwa re-Wenzlaff Christop h!.:1 P i\lorg.ln
81.l i ~c ' W Lillil\"
164 SAVE SO FTW A RE: USE A UART FOR SERIAL 10 A SSISTANT PUB LI SHE R
In terfacing-McGahee i: li /.lbclh i\l p .lUgh
CO·Op EDITOR
~l O Il Morrow

Background PRODUCT ION ED I TORS


K.Hen (tl l'gu r\,
N,1I1lY ~, tl mlill
ADVERTISING
12 THE COMPUTERS O F STAR TREK Norl:cn B,II d<.,lc y
Speculation-Schmucker- Tarr 1'.l l rili. 1 Cl.lr\"
EDITORIAL ASS ISTANT
24 A FLOPPY DIS K TU T ORIAL I nw id N\ land
Floppy Disks-Rampil PRODUCT I ON ASSISTANT
Clw ry l Hut cI
91 JAC K AND THE MACHINE DEBUG CI RC ULATION A SSISTANT
Software Techniques- Grapp el -Hemen way P,lmcl.1 R H e,ls lip
DEALER SALES
104 STRUCTURED PROGRAMMING WITH WARNIER-ORR DIAGRAMS: Part 1 Ginnil: F Bouchil:.lu
Software-Higgins TRAFFI C MANAGER
Edmo nd D Kdly j r
112 SIMULATION OF MOTION: Part 2: An Automobile Su spension ART
Mode lling-Smith
D oro l hy Sh ..HllO nsky
118 A LITTLE BIT ON INTERRUPTS Elkn ShJmo nsky
Tutorial-Wier BOOK PUBLISHER
C hristop he r t. Smith
140 MU LTIP ROGRAMM IN G SIMPLIFIED CON VE NT ION SUPERV ISOR
Software-Lahasky t.li /,l bl~t h i\ lp .lugll
EXECUT I VE SECRETAR I ES
154 WHERE TO GET BARGAIN S IN USED COMPUTER EQUIPMENT Jill C alli h.ln
Hardware-Libes P,Jl rki " Clar k
RECEPTION IST
156 A LOOK AT LISP Jacq ueline t.a fll shaw
Software - McGath CLUBS AND NEWSL ETTE RS
D av id WOl mak
162 RELATIVE ADDRESSING FOR THE 8080
DRAFT ING
Software-Gaskell Douglas G len
Stephl' n Kruse
186 A USER'S REPORT ON THE INTERCEPT JR
L y nn Malo
Applications-Lahore Bi ll More ll o
D oro thy Sh,l mo nsky
TYPOGRAPHY
Nucleus C uslo m MMhtin g Rl:so urccs I nc
Goo d way c.; r,q>hics
BYTE !s Ilublishcd monthlv bv PHOTOGRAPHY
BYTE Publications Inc, 70 Main St , Ed Cr,l btre c
4 In Thi s BYTE Peterbor ough NH 03458 . Ad(treu all PR I N TI NG
m OIl C)(ct'f,lt subSCriPtIons 10 abbve
6 Is PASCAL the Ne x t BASIC? &dd' e$~ ; phone 16011 924 ·7217 . Ad~ress
Ru mlo rd Press
NEW PRODUCTS EDITOR
10 Letters 911 edit orial corr espondence to the edhor
Dani el F vls l ra
at the tJoove address. Unacceptable
46 T echnica l Forum : Wheeler : manusc npts WIll be (ctu! ned If accom- ASSOC I ATES
panied by sufflcllmt lirst class postage . \V .tl ter 8Jnl.. s
Undocumented M6800 Instructions Not responsible lor loS! manu$C1 ipts or Sieve Cia l cia
Technical Foru·m: Gordon : phOtos. Opinions expressed by the D ,lvid l· ylslr .1
72 authors ar6 nOI necessarily ,/'lose of Po rt ia I SilJLso n
The X F and X7 Instructions of the BYTE . Addnt$S all 'iubscriplions. change
BI TS I NC
of address, Form 3579. and fulfiflmeni .;;:.:
MOS Technology 6502 complaints 10 BYTE SubscriPtions. PO Fl oy d IV Rehling
Box 590. Martinsville NJ 08836. Second M ede llin Steph ens
74 PC 77
~;~~:05~~9~ P:~d 8~d~~:~~'~~rou!~i~n~ :~!~~
Jim Tr .lvis.lIl u
84 Get Your System Togeth er Ron ald Wil le
dffic~l "' l,lSPS PubP~at'on No : 102410. _'
143 T ec hnical Forum: Gentry: Suhsorjplions are $U for OI1~ yeitr\ $2~ 'f
for !WO yaars, ar'\d $32 for three "ears .~jn :l:~,
Comments o n Paging Sc hemes Ihe USA lI nel lts PO SSIlSSIOI)S. " ~ff~f!,~ve ,~.Y/~4i
146 Book Reviews ~~: ~u~~~~:n~1$53~°,ro~~~r::~~n~~?1:~,J;¢'~~ ADVERT ISI NG SALES
148 Programming Quickies
~~~~a P:~d y::;xl~~~ ~~:~~~ntl~o~~' w Suuthern Ca lifornia :
149 BYTE's Bits . clau registration no . 9321 . 525 for a One l3 ul kll' v/ BOIi, i\ SStH. i d ll' ~ I nc
'tear subscription bV surracemail worlc{· iJ I 2 Sou l h B,lrring l on
151 BYTE's Bug s Wide . Ai, (jijljverv to $elected' areas at Sui li.' ]01
152 Clubs, Newsletters aC1ditionnl roles avoulable upon request . Lo ~ Am:dl' s LA 900 ,19
S2S for a one vear subscription bv air (21.1) 826··1021
168 Didd le ilehverv to EUrope . Single copy price is
N ort herll California :
$2 .00 In Ihe USA end its possessions,
192 A Note to Novice Kit Build ers . .. $2 ~O in Canada and Mexico, and $3 .50
Juln L rhtlmp~on I n~
In EuroPe . and $4 ,00 elsewhere. Foreign · H CJr ~ t Builtl in),:
193,196,204,216 What's New? 5ubscflP11onS and sales should be remit - Suile I I I I
197 Bit Status Di sp la y led In Un'ted States fUr)ds , Printed in S.ln I, I , l llLi ~~ u LA Y, II OJ
Uniterl SIDl es of AmedC8, Entire (·11 5) J(,~ · 8; ·17
222 Class ified Ads co ntents copyright © 1977 bv BYTE
, Publica lions Inc. A,II rights reserved .
224 BOMB
224 Reade r Service

BYTE De cemh er 1977 3


Th is month's cover is based on Kurt compare favorably with expensive Multiprogramming allows your
Schmucker and Robert M Tarr's digital voltmeters. Read On a Test computer to seemingly perform several
article, The Computers Of Star Trek Equipment Diet? Try an 8 Channel tasks at the same time. It can save pro-
(page 12). It is an appropriate topic DVM Cocktail! cessor time by always having a pro-
for computer people, many of whom gram executing while another pro-
are science fiction aficionados, Once upon a time, Jack and the gram waits for some type of input.
Trekkies, and users of the Force. The Machine Talked; now Jack and his Prof Irwin Lahasky's article, Multipro-
theme, interpreted by artist Robert friendly 6800 have moved onto better gramming Simplified, expl ains the
Tinney, is: What would happen if the things like debugging the programs basics of multiprogramming.
crew of the Enterprise visited a holo- issued by the assembler described in an
graphic museum of ancient technology earl ier article. Turn to Jack and the Many experimenters, including the
that had an exhibit devoted to per- Machine Debug by Grappel and editors of this magazine, have dis-
sonal computing, circa 1977? Robert Hemenway for a humorous (but covered the real advantages of pur-
used Willard Nico and his 8080 based tutorial) account of the development chasing used but eminently usable
computer system with dual floppy of a program called Tracer 6800 which gear. Sol Libes gives valuable pointers
disk, video terminal and DECwriter as uses software breakpoint techniques to to frugal hackers in Where to Get
models for the diorama. The cassette provide an instruction by instruction Bargains in Used Computer Equip-
recorder, made obsolete by the disk machine code execution trace on a ment.
drives, is shown unused. terminal or hard copy device .
As personal computer users acquire
The floppy disk can give your more and more memory for their
computer the extra storage power
needed for many applications such as In This ~~TI processors, thoughts can be turned to
more powerful languages for the ex-
advanced music and voice synthesis, pression of programs. Gary McGath
artificial intelligence and robotics . To write well conceived programs feels that small computer users should
Find out more about the ubiquitous easily, you have to design them in a have nonnumeric, symbolic data
floppy in Ira Rampil's A Floppy Disk disciplined and structured fashion. manipulation abilities in their lang-
Tutorial. David A Higgins begins describing one usages. In A Look at LISP, Gary de-
useful method in the article on Struc- scribes one of the candidates for such
tured Programming with Warnier-Orr symbolic manipulations in the small
Microprocessor operation code
Diagrams, Part 1: Design Methodo- computer.
structure is sometimes incompletely
logy.
documented, as is demonstrated in
two articles: Gerry Wheeler's commen- Relative addressing allows jumps
As a second installment in a series within a program to be made indepen-
tary on Undocumented M6800 In-
of articles, Stephen P Smith turns to dent of the location of the program
structions and H T Gordon's commen-
the problems of motion in which in memory address space. But what
tary on The XF and X7 Instructions of
effects of the motion's current state about such position independent
the MOS Technology 6502. The
feed back into the model. Turn to code in processors like the 8080 which
effects of the undocumented op codes
Simulation of Motion: An Automobile have no relative branch addressing?
are interesting, even if you don't want
Suspension for a more detailed model Read James P Gaskell's Relative Ad-
to use them as part of normal coding
which features damping (shock absor- dressing for the 8080 and learn how to
practices.
bers) and bounce (springs) in response simulate this feature for the 8080.
to external conditions (bumps in a
In a neat combination of tutorial road). Handshaking is the process of coor-
and practical information, Bill Struve's dinating two asynchronous processes,
article A $19 Music Interface (and The use of interrupts allows you to such as serial communication opera-
Some Music Theory for Computer keep track of several devices at the tions and a program. In a short article,
Nuts) provides a way to generate same time. If you are not familiar with Thomas McGahee shows how to Save
square wave musical tones for four the use of interrupts read Robert Wier's Software: Use a UART for Serial 10.
channels as a result of an investigation article, A Little Bit on Interrupts.
of the theory of harmony. What do you do if you're an ocean-
Constructing and interfacing a Poly- ographer and want a microprocessor
Transform your computer into a Morphics Video I·nterface is described to help collect data at the bottom of
powerful 8 channel 3Yz digit voltmeter. by Wayne Wenzlaff. Wayne describes the sea for eight weeks? One solution
Steve Ciarcia shows you how in the his experiences with his video interface is to use a watertight titaniu m sphere
latest installment of Ciarcia's Circuit and how he modified a television set and a battery powered processor.
Cellar. Let a BASIC program do all for use as a monitor in Using the Poly- Henry Lahore shows how he did it
your calculations and get results that Morphics Video Interface. in A User's Report on Intercept Jr.

4 BYTE Dece m ber 19 77


Meet The North Star Family
THE NORTH STAR S-100 FAMILY-four high perform- available. The MDS includes the S-100 interface board
ance products at attractive low prices. Our boards are with on-board PROM for system startup, Shugart mini-
designed for use in the North Star HORIZON computer floppy disk drive, cabling and connectors, and DOS and
and other S-100 bus computers using 8080 or Z80 proces- BASIC software on diskette. Kit: $699. Assembled: $799.
sors. Visit your computer store for a demonstration, or Additional drive - Kit: $400. Assembled: $450. Single
write for our free color catalog. Drive Cabinet: $39. Optional Power Supply: $39.

16K RAM BOARD Z80A PROCESSOR BOARD


No other S-100 bus memory can match the performance The North Star ZPB brings the full speed, 4MHz Z80A
of the North Star 16K RAM at any price . This low-power microprocessor to the S-100 bus. Execution is more than
board has been designed to work at full speed (no wait twice the speed of an 8080, and the ZPB operates in sys-
states) , even at 4MHz with both Z80 and 8080 systems. tems both with and without front panels. The ZPB in-
Memory refresh is invisible to the processor, bank switch- cludes vectored interrupts, auto-jump startup, and space
ing is provided and addressability is switch selectable in for 1 K of on-board EPROM. Kit: $199. Assembled: $259.
two 8K sections. Best of all, a parity check option is avail- EPROM Option - kit: $49. Assembled: $69.
able. Kit: $399. Assembled: $459. Parity Option - kit:
$39. Assembled: $59. HARDWARE FLOATING POINT BOARD
If you do number crunching, then this board is for you.
MICRO DISK SYSTEM The FPB performs high-speed floating point add, subtract,
The North Star MDS is a complete floppy disk system with multiply and divide with selectable precision up to 14
all hardware and software needed to add floppy disk decimal digits. Arithmetic is up to 50 times faster than
memory and a powerful disk BASIC to S-100 bus com- 8080 software, and BASIC programs can execute up to
puters. The North Star MDS is widely considered one of 10 times faster. A version of North Star BASIC is included.
the best designed and most complete S-100 bus products Kit : $259. Assembled: $359. Prices subject to change.

NORTHSTAR COMPUTERS
2547 Ninth Street· Berkeley, California 94710 • (415) 549 -0858
Circle 83 on inquiry ca rd. BYTE Decemb er 19 77 5
E~it()pial By Carl Helmers spread acceptance and availability, together
with the fact that the language most widely
taught is thereafter going to be the one
One of the most interesting phenomena most widely used, forms the safest recipe for
in the academic world of computer science stagnation in a subject of such profound
of late is the language PASCAL. Th is lang- pedagogical influence. I consider it therefore
Is PASCAL uage is the subject of much intense activ ity,
and is rapidly gain in g acceptance as the lang-
well worthwhile to make an effort to break
this vicious cire/e. [Quoted from the second
uage of choice for training and illustration edition of the PASCAL User Manual and
the Next of computer concepts to new students of Report, by Kathleen Jensen and Niklaus
the field. Characteristic of this phenomenon Wirth, Springer Verlag, New York, 1974,
BASIC? is the existence of on the order of 100
different implementations of the language
page 133.]

for various computers and a very active Since the time of PASCAL's creation by
"PASCA L User's Group." Professor Wirth, the language has become
PASCAL began in the late 1960s as a widespread, primarily because his tutorial
tutorial experime nt of Professor Niklaus purposes also happen to coincid e with what
Wirth: a method of teaching the concepts one might want in a systems and appli-
of programming in a systematic fas hion cations programming language used in
using a consistent and highly structured software development. In fact acceptance
program representation. Historically, has been sufficiently widespread that there
PASCAL has antecedents in the ALGOL now exist implementations for some of the
language but with the addition of con- more common microprocessors in the
cepts such as record and fi le structures personal computing fie ld (using the PASCAL
which were missing in ALGOL's definition. User's Group Newsletter as a source for
The following passage by Professor Wirth this information in a listing of implemen-
gives the essence of PASCAL's purposes ... tations in issue #8 recently published). What
are the ramifications of PASCAL as it might
The development of the language affect personal comp uting users?
PASCAL is based on two principal aims. At the present time, outside of low level
The first is to make available a language assemblers, the personal computing field is
suitable to teach programming as a system- dominated by one language, BASIC. It is the
atic discipline based on certain fundamental high level language of choice for users of the
concepts clearly and naturally reflected by equipment and for manufacturers who sel l
the language. The second is to develop to the users of the eq uipment. Any at-
implementations of this language which are tempted personal computing system design
both reliable and efficient on presently these days must come up to the standards
available computers. of a reasonable BASIC (such as the Micro-
The desire for a new language for the soft BASIC used by MITS, OSI, Commodore
purpose of teaching programming is due to and others) or it will be at a relative dis-
my dissatisfaction with the presently used adva ntage in the marketplace. This domi-
major languages whose features and con- nance of BASIC as a language is a fact of life
structs too often cannot be explained logi- in th is field. A decade and a half of language
cally and conVincingly and which too often design evo lu tion has occurred since BASIC
defy systematic reasoning. Along with this first came on the scene, yet it still dominates
dissatisfaction goes my conviction that the at the user leve l. Why?
language in which the student is taught to In a casua l enumeration mode, I can list
express his ideas profoundly influences his several fairly obvious and interrelated
habits of thought and invention, and that reasons why this has become the case; out
the disorder governing these languages of these reasons will come a similar scenario
directly imposes itself into the program- for development of PASCAL as a fut ure
ming style of the students. option for personal computers.
There is of course plenty of reason to be
cautious with the introduction of yet • Everybody knows BASIC.
another programming language, and the • BASIC has a manufacturer indepen-
objection against teaching programming dent standard definition.
in a language which is not widely used and • Lots of implementations of BASIC are
accepted has undoubtedly some justifi- avai lab le.
cation, at least based on short term com- • Much personal use app lications soft-
mercial reasoning. However, the choice of a ware already exists in BASIC.
language for teaching based on its wide- • BASIC is frie ndl y.

6 BYTE December 1977


The most cost effective
products for your
microcomputer.

RM64

Write protection in 16K


THE EXTENSYS blocks; and
RM64 MEMORY BOARD
provides the most cost Fully socketed for 64K
effective system memory allowing 16K, 32K, and 48K
found in the industry. versions to be upgraded at
The RM64 provides this because a later date.
of our low cost per byte when
compared to our competition plus the increased reliability of a Delivery of the RM64 is 15 to 30 Days upon
single board over multiple boards containing less memory. The receipt of order. Prices for the RM64 include shipping and handling
board is S-1 00 bus compatible making it usable in over a dozen prepaid in the continental United States.
different microcomputer systems including ALTAI Rand IMSAI.
The RM64 is available in four configurations : 16K, 32K, 48K, or Extensys Corporation is also announcing several other new,
64K bytes of memory all on ONE board. The board is completely highly cost effective products. The FOS100 Floppy Disk System
assembled, checked out and burned in for over 100 hours prior is based upon the Extensys File I/O Board and incorporates
to shipment. This complete testing procedure allows Extensys either one or two dual PerSci Model 277 floppy disk drives. The
to provide a one year warranty on parts, labor and materials FOS100 System also includes the Extensys Multiprocessor
(assuming no misuse of the board occurs). Operating System, EMOS. EMOS provided many large system
On board hardware is provided for: capabilities, such as multi-processor, multi-user operation and
Individual memory bank address selection in 8K byte individual file privacy based on user supplied passwords. The
increments; MM 16 Memory Manager interfaces to RM64 memory boards to
create a megabyte or more of memory and adds full DMA
Complete dynamic refresh logic without loss of processing capability to the FOS100 Floppy Disk System.
efficiency while programs are running; Circle 52 on inquiry card.

mgpornl~"
Extensys Fully Assembled and Tested Prices
Board select logic which allows more than one 64K byte board
per system; RM64-16 $ 595 FOS100-2 $2880
RM64-32 $ 895 FOS100-4 $4680 380 Bernardo Avenue
S-100 bus compatibility including on-board voltage regulator; RM64-48 $1195 Mountain View, CA
RM64-64 $1495 MM16 $ 295 94040
Memory overlap which allows memory sharing the same address 16K Upgrade $ 375 (415) 969-6100
space to coexist in the same system;
At a superficial leve l, these reasons are PASCAL is becoming the tool of teaching
part of a self-sustaining lo op of circular programming concepts which Professor
reasoning: Since BASIC is friendly, eve ry- Wirth env ision ed .. . and the beginnings of
body wants to know BASIC; since so man y th e "everybody knows" state for PASCAL
people leam BASIC, th ere tend to be lots are already evident.
of implementations. Much software for
applications has been written in BASIC. BASI C Has a Manufacturer Independent
Since a manufacturer ind epe nd ent standard Standard Definition.
for BASIC ex ists, conversion of programs This comment is nominally true of
from one machine to another is simplified, BASIC. Work is indeed in progress on an
thus making wid ely ava ilabl e software useful ANSI standard for BASIC, and there is
to people, and so on .. . ad infinitum ... of course the original Dartmouth College
This is Professo r Wil'th's "vicious circle." definition of BASIC. Th e fact th at people
Like ma ny similar conventions, BASIC are trying to define a standard form of
has been bootstrapped into th e public BASIC, however, is a re sult of the fact
awareness over time, and has acq uired a that the impl eme ntat ions of BASIC have
certain inertia of its own that will keep it been somewhat subject to variations. In
going for yea rs in the same way that the person al computing world, thel'e are
FORTRAN see ms to live fOI'ever. Let's numerous differences at a detail leve l
examine the I'easo ns in this li st, and in so betwee n language extensions of various
doing compare BASIC to PASCAL, a lang- BASIC interprete rs, some as basic as the
uage which is quite possibly in an ear lier variations in string and array handlin g
stage of a similar bootstrap cycle and may in various forms of minicomputer BASIC.
indeed become a much demanded "language BASIC language implementors are no
of choice" for the usei' community . Vicious different from implementors of a numb er
circles can have pos itive aspects: it all of languages, often succumbing to the
depends on which cil'cle one has estab lished. "wouldn't it be neat if" syndrome and
A contention I make is that the same sort throwing in features not 'part of the original
of "vicious circle" 'can be, and indeed is definitions of the language . Th e hitch with
being establish ed for the language PASCAL. such featurism is that if anyone uses the
features, the programs written with the
Everybody Knows BASIC. fe ature may no longer be portab le.
Of course PASCAL would be no more
BASIC hi storicall y was introduced at a immune to featurism on the part of imple-
time when "big" computers dominated the mentors; at least that would be an obvious
field, and there was a need to partition the contention since there is no fundamental
activities of such computers into small difference ' betwee n peop le who impl eme nt
individu ally oriented packages for purposes BASIC and peopl e who implement PASCAL .
of making the "big" co mputer available But before making such a statement, an
to many people. This partitioning succeeded examination for the motives of implemen-
admirably: when professor X (or Y or Z) tation featurism should be mad e. BASIC
wanted to make real exercises in pl'ogram- in its original definition is a very limited
ming availabl e to students, BASIC was and paroch ial language, one wh ich represents
frequently employed, due to its ava il ability a viewpoint of quick ilnplem entation of
and interact iv e simplicity. Like any tech- programs with limited 10 formatting,
nology, BASIC aid not start out in an standard floating point operations, and no
"everybody knows" state, but it got that intent to service large or com plicated
Arlicle s Policy
way through its eal'ly ava il ab ilit y and no applications. Thus, many of the "feature"
8}I TL is continuolly seeking Quulity small push from pedagogues of computer temptations presented to BASIC impl e-
manuscripts wri lr en by individuals who
ore upplying personal computer sys tems, science. mentors are a result of attempts to co rrect
designing such sys tems, or who h(}LIe
kn owledge which will prove useful to
Tod ay, the teach el's of programming are the deficiencies of BASIC by adding omitted
our readers. For u more formal descrip- tending to pu sh PASCAL as the language of items (for examp le, str ings, impl emented
tion of procedures and requirements,
potential au thors should send u self- choice for teac hin g "good" pl'Ogramming differentl y in various BASIC interprete rs).
addressed, stomped envelope to BYTE concepts. Th e PASCAL Use r' s Gl'OUp is PASCAL, on the oth er hand, by having
Authors' Guide, 70 Main S t, Petl'r-
boruugh NH 03458, evidence of th e numb er of academ ic people a definition which is more general in scope
A ((icles which accepted ure
Of('
purchased with () rot(' of up to $ 50 per
who support th e id eas of Professor Wirth to than BASIC (although by no means compli,
magaline page, based on technical the extent of impl ementin g th eil' own loca l cated to use in simple problems) helps cut
Quality and suitability for B YTE's
reudNship_ I: aeh m onth, the authors PASCAL systems for educat ional pUl-poses. dowli these "feature" temptations on the
of {he {WO le(Jding (Jrticles in the reader
pull (BYTE's Ongoing Monitor Box or
(This is typically done using a numb er of part of its impl ementors. One basic exampl e
"BOMB") Ofe presented with bonus techniqu es of machine ind epe nd ence con- of this slightly more general definition is
che ck s of $ 100 and $50. Unsolicited
materials should be accom p anied by full
ceived by early impl ementors of PASCAL in PASCAL's inclusion of extensible data
nome and address , us well as relurn for purposes of sp l'ead ing its imp leme n-
pos/age. -
tations.) One I'esu lt of this ava il ab ility is that Continued on page 184

8 BYTE December 1977


$ 109 .95
29.95

$ 199 .95
t 29.95

And, we build just


' MBS 8K / 16K EPROM Board
Ki t less EPROM $ 8 4 .95
about any board you'll
want for S-100 'bus expansion.
When you're thinking about expansion
look to the Solid State Music " blue
boards:' You '" find quality and user versa-
tility built into everyone allowing you to ex-
pand your system in whatever direction you
choose . . . and , we've been doing it for years .
102 Inpu t/ Output , PROM a nd
Universal Boa rd Right from the start we design our boards with our
Kit $ 54 .95
Bare P'C . Board 2 9.95 customers in mind. Extra features are added that will
aid in expansion, not hinder program design and devel-
opment. All first class parts are used and they're checked
to make sure you have years of trouble free operation. Plus,
every kit comes complete with assembly instructions and user
information to make assembly a snap and operation a pleasure .
Talk to your dealer today to get more facts about the " blue boards"
or write direct. Compare prices , quality and features. You 'll find out
why more and more people are using Solid State Music " blue boards"
$199 .95
for their S-100 bus expansion.

SPECIAL BONUS OFFER


An 8080 Monitor for
104 2-Poralie land 2- 50 rl ol
1/2 price!!!
Input/ O utput Boa rd
Kit $149 .95 If you buy any of the Solid State Music
kits or assembled boards you'll receive
• Assembled boards also ava ilable a SSMSOSO Monitor complete with ei- VillS
al slighlly highe r prices .
ther eight 1702 's or two 270S's and over s 1726
50 pages of software information. A
$49 .95 retail valu e .. . just $25 .00. Hurry!

So lid S ta t e Mu s ic
2 10 2 A Wa ls h Ave nu e
S anta C l a ra , CA 95050
Circle 106 on inquiry card . We 're the blue boards
(4 08) 2 4 6 - 27 0 7
J irn-P 8k AUTHORIZED
electronic components

ALABAMA
DEALERS

Mobile Lafayette Radio Electronics


CALIFORNIA
Berkeley AI Lasher Electronics
Monterey lackit
Palo Alto lack Electronics
Sacramento The Radio Place
Sacramento lackit
San Carlos J&H Outlet Store
San Francisco Zack Electronics
Sunnyvale Sunnyvale Electronics
Vallejo Zackit
Walnut Creek Byte Shop Computer Store
DON'T KNOCK ANOTHER VIEW OF TECHNOLOGY'S FLORIDA
HOMEBREW USEFULNESS Tampa Microcomputer Systems
GEORGIA
Atlanta Atlanta Computer Mart
I just happened on Edgar Cohen's I am writing to BYTE in response to HAWAII
letter titled "Homebrew" (August 1977, previous lette rs by Robert Garner (As k Aiea Delcoms Hawaii
page 12). He feels as I do, that we as BYTE, May 1977) and Nel so n Ingerso ll Honolulu Integrated Circuit Supply
ILLINOIS
readers should be looking at more (Letters, September 1977) about the
Evanston Itty Bitty Machine Co.
homebrew computer articles in BYTE. moral future a nd purpose of the co m· INDIANA
My motive for writing was spurred by puter. East Chicago Acro Electronics Corp.
your follow-up comments. I n response to Mr Garner's lette r, the Hammond Quantum Computer Works
LOUISIANA
We in amateur radio have been hom e- real haza rd th at results from computers Baton Rouge Davis Electronic Supply Co.
brewing it for years, even before com- be ing "plugged into applications right MARYLAND
mercial equipment was available. And and left" a rises not from intangible and Baltimore Computer Workshop of Baltimore
Rockville Computer Workshop
much of the present day home brewing poorly defined moral ab use s that might
MASSACHUSETTS
is for economic reasons. At age 13, I result from their introduction , but rather Medford Tufts Electronics
wouldn't have had my own amateur from the standpoint of cost effect ive- MICHIGAN
radio station had it not been for home ness. Computers are being considered for Lansing Fulton Radio Supply Co.
MINNESOTA
built equipment, much of it coming such purposes as maintaining hom e food Duluth Northwest Radio of Duluth
from construction articles in publica- recipe files and keeping track of food Eagan Dacom Amateur Radio Ctr.
tions like BYTE. This same rule applies inventory, where it is much simpler and MISSOURI
cheaper to perform these tasks t he old· Parkville Computer Workshop of Kansas City
to test equipment I've built (frequency MONTANA
counter) and I think it applies to com- fashioned way . I agree with Mr Garner ' Billings Conley Radio Supply
puters as well. . that computers could be mi sused , but NEBRASKA
As a matter of fact, the only reason he seems to promote the same general Uncoln Altair Computer Center
NEW JERSEY
I don't have a computer yet is because hysteria that is curre ntl y plaguing th e Hoboken Hoboken Computer Works
practically everything on the market is new science of ge neti c engi neerin g. True, NEW YORK
out of my price range. To top if off, along with every new technological Albany Fort Orange Electronics
development comes a host of possibi- New York Computer Mart of New York
there are very few good surplus buys New York The Computer Store
available, another way we in amateur lities of misuse, but surely these can be Troy Trojan Electronics
radio get by cheaply. minimi ze d so that we could reap the White Plains The Computer Corner
maximum benefits from it? Sanctimo- OHIO
I think you are wrong about the time
Cincinnati Digital Design
invested in homebrew equipment. I and nious morali ty does nothing but help OKLAHOMA
many other readers would gladly invest the public to concentrate solely on the Oklahoma City Bits, Bytes & Micros
the time, if only the technology were deficiencies of a technological develop- OREGON
Beaverton Altair Computer Center
there to give us a shove in the right ment and destroy it before it has had a
PENNSYLVANIA
direction . Certainly, the parts aren't ex- chance to prove itself. Murraysville Computer Workshop of Pittsburgh
pensive at all and much can be saved by Mr I ngersoll's problem seems to lie RHODE ISLAND
wire wrapping instead of using ready to in the fact that he sees the computer as Cranston Jabbour Electronics City
Pawtucket Jabbour Electronics City
go printed circuit boards made up and a device th at will replace al l of our TENNESSEE
sold by someone else. duties as human beings a nd turn us into Memphis Sere-Rose & Spencer Electronics
nonthinking, passive entities. I primarily Oak Ridge Computer Denn
TEXAS
Gary L Montgomery see the computer as a tool, as a device
Dallas Computer Shops Inc.
WB3GBQ that will aid man a nd not replace him. Houston Altair Computer Center
Rockville MD The "automation of physical and mental Houston Interactive Computers
drudgery" does not relieve man of any VIRGINIA
Alexandria Computer Hardware Store
In reply, let me reiterate the fact that responsibility to be productive and to Springfield Computer Workshop of Northern Virginia
am a confirmed homebrewer, always think, but rather it frees him from WASHINGTON
trying to get the best system by my own simpler tasks (drudgery) in order to be Bellevue Altair Computer Center
Longview Progress Electronics
viewpoints on the subject of design. But the most creative and achieve the WEST VIRGINIA
perhaps the reason I don't view the greatest self-satisfaction; man is only Morgantown The Computer Corner
method as cost effective is the remem- utilizing the feature that distinguishes Morgantown Electro Distributing Co.
brance of money spent to get one of the him from the rest of the anim a l king- CANADA
Alberta, Calgary The Computer Shop
first Motorola 6800 chips ($360 for an dom; in thi s instance, a decided adva n- FOREIGN
XC6800 in early 7975) and similar tage. I argue that performing simple and France, Paris Computer Boutique
purchase of 4 K static memory chips thoughtless tasks is drudge ry . Th e "box"
ahead of later price reductions. I've analogy is poor in that it presupposes
built a system with close to 800 TTL
and M05 integrated circuits in the main
processor modules, a system which,
it took no effort to design, build, and
program the computer and robot to
make the box. Wh at Mr Ingersoll over-
~~~TR J~re.;e:~ ~~~~Ey~
much to my homebrew surprise, works looks is that to accomp lish this the man
JIM·PAK, 1021 HOWARD AVENUE,
quite reliably. 50 I can certainly attest to
the effectiveness of the approach . . . CH SAN CARLOS, CALIFORNIA 94070
Continued on page 19

10 BYTE December 1977 Circle 67 on inquiry card.


irn-pak
' $ ".1'11%+ "I.I.lsIAM!
Component Center
Introduction
The world of Star Trek represents many
things to many people. To the majority it is
an escape into a time when man is once
again challenged by the vastness of his
known universe and can assume the now
lost role of the explorer of unknown ter·
About the Authors ritories with their inherent, but also un -
known , dangers . To others it is the tale of
Kurt j Schmucker has been employed as a mathematician at the Depart- man's final triumph over his own inhuman-
ment of Defense in Washington DC since 7974. He received an MS in mathe- ity; a world where race (human, humanoid
matics in 7974 from Michigan State Univerisity, and an MS in computer or other)' color and background are not
science from johns Hopkins University in 7977. Mr Schmucker is also cur- points of contention and disunity, but are
rently an advanced special student in the computer science department of the rather different reference points from
University of Maryland. He is a member of Phi Beta Kappa, the Mathematical wh ich the society can grow together in
Association of America, and the ACM. peace. In this case "infinite diversity in
Robert M Tarr has been employed as an electronics engineer at the Depart- infinite combinations" yields a whole which
ment of Defense in Washington DC since 7974. He received an MS in mater- is greater than the sum of its parts. To yet
ials science in 7972, an MS in electrical engineering in 7973, and an engineer others it is a time when science and the
degree in electrical engineering in 7975, all from the University of Southern mysteries of nature are more clearly under-
California. He is currently pursuing a PhD in electrical engineering with a stood, an understanding which brings forth
computers major at the University of Maryland. Mr Tarr is a member of Phi a technology beyond one's wildest
Beta Kappa, Eta Kappa Nu, and the IEEE. imagination.

12 BY TE Decem be r 19 77
Whatever view one takes of the Star Trek have bonded together to form a union called
phenomenon, one can ask how closely our the United Federation of Planets. It is a
present culture approaches that ideal, be it union more loose than the United States of
in the area of science, human understanding, America of the 19th, 20th and 21 st cen-
or man 's view of himself in his world. This turies, yet stronger than the United Nations
essay will try to measure one such gap of the 20th century .12 These planets occupy
between our own world and that of Star a significant portion of the Milky Way called
Trek: the state of computer technology . the Treaty Exploration Territory, roughly
Star Trek, with its fantastic starship the a sphere centered on Sol with a radius of
En terprise, presents a level of computer 4750 parsecs (approximately 15,500 light
sci ence and computer engineering predicted years) . The Articles of the Federation were
by many science fiction writers. I ,2 ,3,4,5 the agreement which established this union.
Problems like voice 10, automatic program- They authori zed funds for the building of a
ming in a natural language and computer Star Fleet to act as the armed, peace keeping
analysis of complex, ill-defined problems force of the Federation. The Fleet would be
are handled routinely. How close is the designed and built using state of the art
present technology to solving these problems? techniques.
How soon can the computers of the Enter- Included in this Star Fleet appropriation
prise be constructed? Let us try to answer was an initial expenditure for 14 heavy
these questions . cruiser starships, one to be named the
Very little, if any, technical information Enterprise. Th ese starships would be capable
is available on the Enterprise computers. of extended duration patrol of the Treaty
Only vague, nontechnical statements are Exploration Territory and would be provided
ever made by the Captain or the Science with weaponry and other capabil ities enabl ing
Officer. them to accomplish a myriad of possible
tasks.
"Deep in the heart of this ship are our
A starsh ip on patrol represented the
computer banks. They operate the entire
Federation in all matters within its occupied
ship. They also contain the whole of
human and humanoid knowledge. They quadrant of space. Its functions included
are indisputably reliable. Our lives depend military uses (defense of borders and moni-
on them. " 6 toring of intergalactic treaties with the
Klingon and Romulan Empires, two other
"In a matter of a few seconds we can
obtain an answer to any factual question,
regardless of its complexity. "7
No references are ever made to its physical
configuration. Is it in fact one large central
processor with terminals and perhaps ter-
minal concentrators scattered throughout
th e ship, or a number of smaller optimized-
for-special-functions processors loosely
coupled through a shipwide network? The
portions of the Star Fleet Technical Manual
which recently have been made available to
other than Star Fleet personnel do not in-
clude the "Ship's Computers Systems
Schematics" section or the "Ship's Com-
puters Maintenance Schematics" section .s
Th is essay will speculate on various
hypotheses supported by the user level in-
formation available, and will attempt to
show the hardware and software possibilities.
I
The Role of the Enterprise
The world of Star Trek takes place in the
late 22nd or early 23rd centu ry. 9 ,10 In that
era the United Starship Enterprise is perhaps
the second largest scientific and techn ical
achievement resulting from the combined "Computer, I want a complete rundown of all references to the design of
technologies of a unified portion of the computer systems for Enterprise class ships in the first quarter century of
Milky Way.11 In the 22nd century a portion BYTE magazine. "
of the intelligent life forms of the galaxy "Yes, sir, but are you prepared for recursion?"

BYTE De cember 1977 13


Federation-sized planetary unions, police the computer, since it is often instructed
actions (enforcement of Fed eration law, to "tie in to all ship's sensors" and provid e
in vest igatio n of crim in al actions), scientific the command staff with an analysis of
missions (new explorations, data gathering unknown phenomena. l 9,20,2 1
assignments), diplomatic assignments, and If most of the Enterprise computing
missions of mercy. power resides in a central processing unit,
It may be of benefit to compat'e the stat"- th is may point to a limi tation in the com-
ship Enterprise to its namesake of the 20th puter's processing power. Perhaps if all data
century, the United States aircraft carr ier ft"om al l sensors were routinely processed
Enterprise, in order to get a grasp of the there would be insufficient comp uting
scope involved in the constt'uct ion of such power to perform t he remaining essentia l
a vessel. The USS Enterprise, launch ed in functions. If, on the other hand, ther"e is a
1960, was the largest warship of its time and network of processors, then it may be that
represented state of the art technology. It is the results of se nsor inpu t are not routinel y
st ill operational today and is powered by passed to the central comp lex.
ten nuclear reactors. The USS Enterprise Certain groups of sensors may be tied
can sail on one set of reactor cores for to loca l processors wh ich perform the
about ten to 13 years or roughly 300,000 necessary functions, eg : activation of sh ields.
miles . It is provisioned eve t·y few weeks, The central processor comp lex does not
however. The total cost of the co nstruction routinely have need for these resu lts unless
and outfitt in g was 451 million do ll ars. In correlation of the sensor data is required.
wartime, its comp lement is 5500 peopl e Computer control of the weaporis sys-
consistin g of 162 officers and approxi- tems (phasers and photon torpedoes) is also
mately 2940' en li sted men plus 2400 airmen possible through analysis of sensor input,
attached to an air wi ng. I 3 but it is not as accurate as computer assisted
The starship Enterprise, on the other human contro l coup led with visual contact
hand, is powered by a contro ll ed matter· with the desired target. 22 This, too , may
antim atter reaction. 14 ,l5 point to either a lack of sufficient com-
The tota l cost of the Enterprise was 50 puting power for tim ely analysis, or a lack
billion credits. l6 On patrol, its comp lement -GLappropr iate decision algo ri thms for this
consists entire ly of 430 officers with 43 typeo~on .
command (lieutenant and above) and 387 Another major use of the computer,
crew (ensign rank).l? Traveling at the speed perhaps the one most apparent to the casual
of li ght (ie: Warp Factor 1, approx im ate ly observer, is information storage. The need
1/200th of its flan k speed) the Enterprise for an immense data base can be clearly seen
ca n travel for 18 years (as meas ured by a when one cons id ers the role a starship plays
ca len dar trave ling aboard the En terprise?) in its patrol area. A starship capta in acts
without refueling or taking on additional autonomously from Star Fleet Headquarters
provisions. I 8 in almost all aspects of his command. 23 As
far as vio lations of Federation law are con-
Computer Uses and Capab ilities of the cerned, he is the judge and jury. In addition,
Enterprise the officers and crew often requ ire instant
An enterpr ise as comp lex as a starship access to the immense technical knowledge
requires a vast amount of computet· sup- of the Federation in order to cope with new
port. Many of the routin e tasks, such as phenomena encountered in the ir patrols.
monitoring of life-support systems, food This requires the existence of an immense
synthesis' and turbolift contro l (a vertical interactive data base on the Enterprise
and horizontal elevator used for intraship itself. Because of the intergalactic distances
transportation) are automatica ll y mai ntai ned involved, there can be no link to the com-
and contro ll ed by the sh ip 's computers. puters at Star Fleet Headquarters or on
These are manually contro ll ed only during Memory Alpha?4 Subspace communica-
an emergen cy . tions require time for transmiss ion, too
Even more demanding and less well - (often on th e order of days) . 2 5,26
defined tasks are routinely delegated to the The vast amount of information stored in
sh ip 's computers. Th e com puters can activate th is data base is best appreciated by relating
the ship's alert systems and ini tiate the two incidents that happened on the Enter-
deflector shields (a set of very sop hi sticated prise. Th e first in vo lved a sma ll space cruiser
defensive force shields which block matte r traveling toward Ophiuchus VI without an
and se lect ive energy transmission) upon identification beacon . Upon pursuit, the
analysis from t he ship's sensors. It appears cruiser entered an asteroid belt. After
that on ly a portion of the ship's vast amount
of sensory data is routinely patch ed through Continued on page 172

14 BYTE December 1977


' I *' "
~-- ~ I IOHIZON

Look To The North Star HORIZON Computer.


HORIZONTM- a compl ete, hi gh-perform ance mi croprocessor EXPAND YOUR HORIZON
system w ith integ rated f lo ppy disk mem o ry. HO RI ZON is A lso avail abl e- Hardware fl oa tin g po int board (FPB) ; addi-
attracti ve, profess io nall y engineered, and ideal for business, ti o nal 16K memory boards with parity opti o n. Add a second
educatio nal and personal appli cati c ns. disk drive and you have HORI ZON-2 . Economical seri al and
To begin programming in extended BASI C, merely add a CRT parall el I/O ports may be inst alled o n the moth erboard. Many
or haiTI-copy termin al. HORI ZON-1 inc ludes a Z80A processor; widely avail able S-100 bus periph eral boa rd s ca n be added to
16K RAM , mini f loppy ™ disk and 12-slot S-100 moth erboard HORI ZON.
w ith seri al terminal interface - all stand ard eq uip ment.
QUALITY AT THE RIGHT PRICE
WHAT ABOUT PERFORMANCE? HORI ZON processor board, RAM , FPB and MICRO DISK SYS-
The Z80A processor operates at 4MH Z - double th e power of TEM ca n be bought separately fo r either Z80 or 8080 S-1OO bus
th e 8080. A nd o ur 16K RAM board lets th e Z80A execute at systems.
full speed. HORIZO N ca n load 0 1' save a 10K byte d isk progl'am HORI ZON -1 $1599 kit ; $1899 assembled.
in less than 2 seco nds. Each di skette can store 90K bytes . HORI ZO N-2 $1999 kit ; $2349 assembl ed.
AND SOFTWARE, TOO
16K RAM- $399 kit ; $459 assembl ed; Parity option $39 kit; $59
HOR IZON includes th e North Star Disk Operatin g System and assem bled. FPB $259 kit ; $359 assembled. Z80 board $199 ki t;
full extended BASI C on diskette ready at power-on. Our BASI C, $259 assembl ed. Prices subject to change HORI ZON offered
now in w idespread use, has everythin g des ired in a BAS IC, in- in cho ice of wood or blue met al cover at no extra charge.
cluding seq uenti al and random di sk fil es, fo rm atted output, a
powerful line ed itor, strin gs, mac hine lan guage CA LL and more . Write fo r free co lo r catalogue or vi sit your loca l computer store.

NORTH STAR * COMPUTERS


2547 Ninth Street· Berkeley, California 94710 • (415) 549-0858
Circle 83 on inquiry card. BYTE Decemh er 1977 15
The home computer thats ready
to work, play grow with you.
Clear the kitchen table. Bring in the color
ana
history or math. But the biggest benefit-no Appl e IITM is a completely self-contained
T.v. Plug in your new Apple II;' and connect matter how yo u use Apple II -is that you and computer system with BASIC in ROM ,
any standard cassette recorder/player. Now your family increase your familiarity with the color graphics, ASCII keyboard, light-
you're ready for an evening of discovery in computer itself. The more you experiment weight, efficient switching power supply
the new world of personal computers. with it, the more you discover about its and molded case. It is supplied with
Only Apple II makes it that easy. It's a potential. BASIC in ROM , up to 4SK bytes of
complete, ready to use computer- not a kit. Start by playing PONG. T hen invent your RAM, and with cassette tape, video and
At $129S, it includes features you won't find own games using the input key board, game game I/O interfaces built-in. Also in-
on other personal com puters costing twice as paddles and built-in speaker. As you experi- cluded are two game paddles and a
much. ment you'll acq uire new programming skills demonstration cassette.
which will open up new ways to use your
Apple II.You'll learn to "paint" dazzling color SPECIFICATIONS
displays using the unique color graphics com- o Microprocessor: 6502 (1 MHz) .
mands in Apple BASIC, and write programs o Video Display: Memory mapped, 5
to create beautiful kaleidoscopic designs. modes -all Software-selectable:
As you master Appl e BASIC, you'll · Text-40 characters/ line, 24 lines
be able to organize, index and upper case.
store data on household fi- · Color graphics-40h x 4Sv, 15 colors
nances, income tax, · High-resolution graphics-2SOh x
recipes, and record col- 192v; black, white, violet, green
lections. You can learn to (l6K RAM minimum required)
chart your biorhythms, · Both graphics modes can be selected
balance your checking ac- to include 4 lines of text at the bottom
count, even control your home of the display area.
environment. Apple II will go as · Completely transparent memory
far as yo ur imagination can take it. access. All color generation done
Best of all , Apple II is designed to grow digitally.
Features such as video graphics in 15 colors. with you. As your skill and experience with o Memory: up to 4SK bytes on -board
And a built-in memory capacity of SK bytes computing increase, you may want to add RAM (4K supplied)
RO M and 4K bytes RAM - with roo m for lots new Apple peripherals. For example, a re- · Uses either 4K or new 16K dynamic
more. But yo u don't even neecl to know a fined, more sophisticated BASIC language is memory chips
RAM from a ROM to use and enjoy Apple II. being developed for advanced scientific and · Up to 12K ROM (SK supplied)
It's the first personal computer with a fast mathematical o Software
version of BASIC- the English-like pro- applications. · Fast extended Integer BASIC in
gramming language -permanently built in. And in addi- ROM with color graphics commands
That means you can begin running yo ur tion to the · Extensive monitor in ROM
Appl e II the fi rst evening, entering yo ur own built-in 01/0
instructions and watching them work, even if audio, video · 1500 bps cassette interface
yo u've had no previous computer experience. and game · S-slot motherboard
The familiar typewriter·style keyboard interfaces, · Apple game I/O connector
makes communication easy. And your pro · there's · ASCII keyboard
grams and data can be stored on (and re- room for · Speaker
trieved from) audio cassettes, using the built· eight plug-in · Composite
in cassette interface, so you can swap with options such as a prototyping board for ex- video
other Apple II users. This and other peri - perimenting with interfaces to other equip-
pherals-optional equipment on most per- ment; a serial board for connecting teletype,
sonal computers, at hundreds of dollars extra printer and other terminals; a parall el inter-
cost - are built into Apple II . And it's face for communicating with a prin ter or
designed to keep up with changing technol- another computer; an EPROM board for stor-
ogy, to expand easily whenever you need it to. ing programs permanently; and a modem
board communications interface. A floppy Apple II is also
As an educational tool, Apple II is a sound
investm ent. You can program it to tutor yo ur disk interface with software and complete available in board-only
children in most operating systems will be availabl e at the end form for the do-it-yourself hobbyist. Has
any subj ect, such of 1977. And there are many more options to all of the features of the Apple II system,
as spelling, come, because Apple II was designed from but does not include case, keyboard ,
the begin ning to accommodate increased power supply or game paddles. $798.
power and capability as yo ur PONG is a trademark of Atari Inc.
req uirements change. *Apple II plugs into any standard TV using
an inexpensive modulator (not supplied).
If you'd like to see fo r yourself
how easy it is to use and enjoy detailed brochure. Or write Apple Computer
Apple II, visit your local dealer for a Inc., 20S63 Stevens Creek Blvd., Cupertino,
demonstration ai1d a copy of our California 95014.
Circle 4 on inquiry card .

computczr Inc:
Order your Apple II now.
from anyone of the following authorized dealers:
ALABAMA COLORADO lcontinued) KANSAS [continued) MtNNESOTA Icontinued) NORTH CAROLINA TEXAS

~~\el ~~~~ren
Computerland Team Electronics Team Electronic s Team Electronics Bvte Shop
3020 University Or. NW 1450 Main Street 2319 Louisiana Strcet 455 Rice Street 1213 Hillsborough 51.
Huntsville 539·1200 Longmont 772·7800 LawIOnce 841·3775 51. Paul 227·7223 Raleigh 833·0210 Houston 977·0664

~~~~u~;~~~~imer
The Computer Center Team Electronics Tea m Electronics Team Electronics NORTH DAKOTA
303 B. Poplar Place 1022 Constitution Road 1132 West loop Shopping Center 110 Sixth Avenue S.
Birmingham 942·B567 Manhallan 539·4636 51. Cloud 251·1335 Team Electronics Houston 997·0909
Belmont Plaza 2304 E. Broadwav
ALASKA Pueblo 545·0703 Team Electronics
Space 81·A Mid·State Mall
Team Electronics
6413 lvndale Avenue S.
Bismarck 223·4546 Y39gMt~ro~l~o8~ntlr~~ .
Team Electronics FLORIDA Salina 827·9361 Minneapolis 869·3288 Team Electronics Dallas 234·3412
Country Village Shopping Center Bvte Shop West Acres Shopping Center
700 E. Benson Blvd. Team Electronics Team Electronics fargo 282·4562 The Computer Shop
1044 E. Oakland Park Blvd. 907 W. 27th Sireet Tetrace 1311 fourlh SI. S.l. 6812 San Pedro
Anchorage 276·2923 fl. Lauderdale 561·2983 Team Electronics
Tope ka 267·2200 Minneapolis 378·1185 San Antonio 828·0553
Team Electronics 1503 11th Avenue N.
404 E. Fireweed Lane
Anchorage 272·4B23
~A~5S~~~ Road Team Electronics
Towne East Slluare
Team Electronics
Maplewood Plaza
Grand forks 746·4474 Computer Terminlll
2101 Mvrtle 51.
Miami 264·2983 3000 White Bear Avenue Team Electronics
~~~it~ K~~%gg826
EI Paso 532·1777
Team Electronics Maolewood 777·3737 209 11th Avenue SW.
169B Airport Way GEORGtA Minot 852·3281 The KA Computer Store
fairbanks 456·4157 Data Mall, Inc . Team Electronics Team Electronics 1200 Maiestv Drive
791 N. West Street Madison East Team Electronics Dallas
3001 N. fulton Drive Mankato 387·7937 109 Main Street
ARIZONA Atlanta 233·0532 Wichita 942·1415
Williston 572·7631 VtRGINIA
Bvte Shop Team Electronics Team Electronics
HAWAII 310 GrDnt Avenue Home Computer Center
B13 N. Scottsdale Road
Tempe B94·1193 Real Share
"J)'i;h~~II"' ta'2Hi'5r59Street Eveleth 749·8140
OHtO
2927 Virginia Beach Blvd.
The Data Domain Virgini, Beach 486·1700
190 S. King Street ~890 Barney & Associates Tellm Electronics 1932 Brown Stre't
CALIFORNIA Honolulu 536·1041 Timbervilie Electronics
425 N. Broadway Har Mat Mall Davton 223·2348
Computer Components p. O. Box 202
5848 Sepulveda Blvd. ILLINOIS Pillsburg 231·1970 §iO~a~i S~ej~nM~enue OKLAHOMA Timb ..ville 896·8926
Van Nuvs 786·7411 Team Electronics KENTUCKY Team Electronics
Meadowdale Drive, Space lA Computer Depot WASHtNGTON
Computerland Computer land 3515 W. 70th Street 1105 Elm Slteet
11074 San Pabto Ave. Carpentersville 428-6474 813 B LVOllon Lane Stubbeman Village Team Electroni cs
Minneapolis 927·5601 423 W. Yakima
EI Cerrito 233·5010 Team Electronics Louisville 425·8308 Norman 329·3456
Northgate Mall ShoPlling Center MISSOURt Yakima 453·0313
Computerland The Data Domain Team Electronics
22634 foothill Blvd. Decatur 877-2774 5061, Euclid Avenue Tea m Electronics Crossroads Mall WISCONSIN
Havward 538·8080 Biscavne Mall
Computerland
Team Electronics
Sandburg Mall
Lexin!ilon 233·3346
The Data Dornllin 301 Stadium Blvd. b~r,~oC~~S~W:dS 6Sf:.)e3~ ~ 10 Team Electronics
3209 Rudolph Road
1150 W. Carl Sandburg Drive Columbia 445·4496
fn8gt~w~~5ieW~.g6v8do Galesburg 344·1300
3028 Hunsinger lane
Louisville 456·5242 Electronic Components IntI.
Team Electronics
Penn Square Shopping Center
Eau Claire 834·0328
Team Electronics
~~~8~t~j~aF~bricante
Team Electronics
Soulhpark Shopping Center MARYLAND t~ru~;~iaSouM.~~~? Penn Square
Oklahoma City 848·5573
3365 E. Clairmont Parkway
Eau Claire 834·1288
Mission Vieio 770·0131 4200 16th Street Computer land Team Electronics
Moline 797·8261 16065 frederick Road MONTANA Team ElectlOnics
Computerland 1134 Hall of fame Avenue 3365 E. Washington Avenue
Team Electronics Rockvill e 948·7676 Team Electronics Stillwater 377·2050
4233 Convoy Street 613 Central Avenue Madison 244·1339
San Diego 560·9912 4700 Block - N. University Ave . MASSACHUSETTS Team Electronics
Peoria 692·2720 Great f'lls 852·3281 Team Electronics
Computerland 5305 E. 41st
117 fremont 51. Team Electronics T£6 ~~~~W(f~eS~~;~etJnc . Team Electronics
1208 W. Kent
Southroads Mall
7512 W. Appleton Avenue
Milwaukee 461·7800
San Francisco 546·1592 1714 fifth Avenue 8urlington 272-8770 Tulsa 633·4575
Rock Island 788·9595 Missoula 549·4119 Team Electronics
Computerland Team Electronics 3701 Durand Avenue
Team Electronics MICHIGAN Computers Made Easy Woodland Hills Mall
104 W. First Street 415 Morrow El mwood Plaza Shopping Center
Tustin 544·0542 321 N. Alpine Road Team Electronics 7021 Memorial Racine 554·8505
Rocklord 399·2577 Delta Plaza Shollping Center 80zeman 586·3065 Tulsa 252·5751
Bvte Shop Escanaba 786·3911 Team Electronics
6041 Greenback Lane Team Electronics NEBRASKA Team Electronics 3347 Kohl .. Avenue
Citrus Heights 961·2983 Woodlield Mall f·119 Team Electronics Team Electronics Surrey Hills Memorial Mall, Space H-4
Schaumburg 882·5864 M&M Plaza 148 Conestog, Mall Yokon 373·1994 Sheboygan 45B·8791
Bvte Shop Menominee 864·2213
2233 EI Camino Real Team Electronics Highwav 281 & 13th Street Bits, Bvtes & Micros Team Electronics
Palo Alia 327·8080 2716 S. MacArthur Blvd . MINNESOTA Grand Island 381·0559 1186 N. MacArthur 8lvd . 5300 S. 76th
Springlield 525·8637 Team Electronics Oklahoma City 947·5646 Southridge Center
8vte Shop Team Electronics 2055 "0" Street Greendale 421·4300
496 S. Lake Ave.
Pasadena ~gmt"A~r~~n~oad Ridgedale Mall
12503 W,v,"Ia Blvd. Lincoln 435·2959
High Technologv
1020 W. Wilshire Blvd. Team Electronics
Arlington Heights 255·6488 Minnetonka 544·7412 Team Electronics Oklahoma City 842·2021 Sunrise Plaza
~~~6S~~ron Avenue Computerland Team Electronics
304 S. 72nd Street OREGON Highwav 8 East
San Jose 377·4685 9511 N. Milwaukee Ave.
Niles 967·1714
204 Southd,le Center g~~~11~~ole3~~~rg~n3 Center Team Electronics
Rhinelander 369·3900
8vte Shop Edina 920·4817 1913 N.E. Third Street Team Electronics
1200 W. Hillsdale Blvd. Iltv Bittv Machine Company Team Electronics Bend 389·8525 1505 LoseV 8lvd . S.
Team Electronics Bel Air Plaza Village Shopping Center
San Mateo 341-4200 1316 Chicago Avenue 1248·50 Eden Prairie Center
Evanston 328·6800 12100 W. Center Road Team Electronics LaCrosse 788·2250
Eden Prairie 941·8901 s.w
~~WOW8amino Omaha 333·3100 1023 1st
Real INDtANA Team Electronics Canby 266·2539 Team Electronics
Santa Clara 249·4221 207 Third Street Team Electronics 2207 Grand Avenue
The Data Domain Sunset Plaza Shopping Center Team Electronics Wausau 842·3364
Bvte Shop 8em id ii 751·7880
2989 N. Main Street
2805 E. State 8lvd.
fort Wayne 484·7611 Team Electronics
Norfolk 379·1161 §~I~~n fa~%rg.~n2d7~oad N.l. Team Electronics
Walnut Creek 933·6252 Kandi Mall South Hwv 71 Team Electronics 3301·3500 S. 27th Street
The Data Domain The Mall
A·VIDD Electronics 7027 Michigan Road Willmar 235·2120
1000 S. Dewev
SOUTH DAKOTA
Team Electronics
~~I~~~kl:e Sh6~d~16~~nter
2210 Bellflower Road Indianapolis 251·3139 Tea m Electronics North Platte 534·4645
Long Beach 598·0444 402 W. Sioux Avenue Team Electronics
Computer Country IOWA ~:oFI~o:r ~~°:l'.~~'~lenter NEW HAMPSHIRE Pierre 224·1881 2619 Milton Avenue
Team Electronics Team Electronics Janesville 756·3150
2232 Salt Air Drive Team Electronics Computermart
Santa Ana 832·9681 202 Main Street Cedar Mall 170 Main Street 1101 Omaha Street Tea m ElectlOnics
Ames 232·7705 Owatonna 451·7248 Nashua 883·2386 Rapid City 343·8363 1801 Matshall Street
Computer Playground Manitowoc 684·3393
6789 Westminster Avenue Team Electronics Team Electronics Team Electronics
Duck Creek Plaza NEW JERSEY 613 W 41st Street Team Electronics
Westminster 898·8330 Mesabi Mall
Bettendorf 355·7013 Cornputerland Sioux falls 336·3730 7700 W. Browndeer Road
Computer Slore Hibbing 263·8200 2 De Hart Street
Team Electronics Tea m Electronics Northridge Center
1093 Mission 51. Tea m Electronics Morristown 539·4077 Milwaukee 354·4880
San francisco 431·0640 4444 first Avenue N.E. Thunderhird Mall 41st Street & Westelll Avenue
Lindale Plaza Virginia 741·5919 Computermart Western Mall Tea m Electronics
Electric Brain Cedar Rapids 393·8956 501 Route 27 Sioux f,lIs 339·1421 396 Park Avenue
3038 N. Cedar Ave. Team Electronics Isel in 283·0600 Oshkosh 233·7050
fresno 227 ·B479 Team Electronics Apache Plaza Team Electronics
Rainbow Computing, Inc . 320 Kimberlv Road Silver Lake Road NEW YORK Sioux Empire Mall WYOMtNG
t0723 While Oak Norlhpark Shopping Center S1. Anthony 789·4368 4001 West 41 st Sireet
Davenport 386·2588 Conllluteriand Tea m Electronics
Granada Hills 360·2171 1612 Niagara falls Blvd . Sioux falls 339·2237 Hilltop Shopping Center
Team Electronics
StrawucHY Electronics
Team Electronics 1733 S. Robert Street Bullalo 836·6511 Teilm Electronics 207 S. Montana
71 Glenn Way ~9 2300 Kennedv Road West 51. Paul 451 ·1765 223 Ninth Avenue S.E. Casper 235·6691
Dubuque 583·9195 Com\luterland
8elmont 595 ·0231 225 Elmira ROtJd Watertown 886·4725
Team Electronics CANADA
Team Electronics 2640 Hennepin Avenue S_ Ithaca 277·4888
COLORADO Room 120 -Space 18 Minneapolis 377-9840 Future Bvte
The Mall Co-op Electronics 2274 Rockland
Bvte Shop 9146 Main Street
3464 S. Acoma St. Iowa City 338·3681 Montreal. Que . 731-4638
Clarence 634·2193
Englewood 761·6232 Team Electronics
Team Electronics 2015 E. fourth StlOet
3275 28th Street Sioux City 252-4507
Boulder 447·2368 Team Electronics
If you would like to be an Apple dealer, call Gene Carter,
Tellm Electronics
The Citadel
K-O Stockyards Station
2001 Leech Avenue Director of Dealer Marketing, 408-996-1010.
Colorado Springs 596·5566 Sioux City 277·2019
Team Electronics
107 S. College
fort Collins 484·7500
Team Electronics
Team Electronics
Wa~~rl~~ive2sd~_~56r7ue
KANSAS
pplC! computczr Inc:
Teller Arms Shopping Center
2401 North Avenue
Team Electronics
215 W. Kansas Avenue
20863 Stevens Creek Boulevard, B3-C
Grand Junction 245-4455 Garden City 276·2911
Team Electronics Tea m Electronics
Cupertino, California 95014
2045 Greelev Mall
Greelev 356·3800 14 S. Main Street
Hutchinson 662·0632
(408) 996-1010
18 BYTE December 1977 Circle 4 on inquiry card,
Circle 90 on inquiry card.

• Record and playback at 120,


60 or 30 self-clocking bytes per
second (extended Kansas City
Standard)

• 1200, 600 or 300 baud data


terminal interface
the inside story
• Dual cassette operation

• Compatible with SWTPC cas-


sette software
ON
)00 ti N E • Optional kit permits program
~ i:: !)OO '~. 41 /t . ;' co ntro I of cassettes '
1.0(A l Au t O
J200
C I S -3 0 + • Optional adaptor permits inter-
PU1G(iM facing with any computer

Upgrade your SWTPC 6800 system to 1200 baud with


PerCom's . CIS-30+ dual-cassette/terminal interface

[~E~O()M 1
The CIS-30+ ... four times as fast as SWTPC's AC-30 with the same dual-
a
cassette capability ... plus 1200-baud data terminal interface ... in a SWTPC
color-compatible package that's only 1110 the size of the AC-30 .
Dependable? The simplicity of Harold Mauch PerCom Data designs says more
PERCOM DATA COMPANY, INC.
than any well-chosen words. Simply put, for only $79.95 * you get the fastest, most DEPT. B .318 BARNES· GARlAN D. TX 75042
dependable dual.function interface you can buy for your SWTPC 6800. (214) 276-1968
See your nearest dealer or order direct from PerCom. 'Kit price. Assembled and tested :
$99.95 + shipping . Tex. res. add
PerCom peripherals for personal computing' 5% tax. BAC & Me available.

Continued from p age 10 moment in my hast e to tryo u t the


SR -S1A on th e print,er. Each 'x ' va lu e
Cl F: All
(1,3,5,7,9,11,13) and eac h 'y'va lue e"""'" X- I . v
must have been extreme l y proficient at (2,4,6 ,8 , '10, 12, 14) is notated at the t:"r y ___ ,;.
bui ldi ng boxes, for otherwise t he pro - edge of the tape and th e number of data 1. c.cu·"""e'..c..'T" (~ 30· .) foUtf/..
grammi ng wo uld have been impossib le. po in ts entered (7) are also show n. The or. Aec.r. C:aot\,.o.

(Anyone who programs comp uters shorter tape shows the printout of two
"':"
,~, .
4. Cl F: All
wou ld know t hi s.) To ill ustrate my con- prob lems I cop ied from the owner's 2. ..' . >::: 'y'
cept of the comp uter as a too l , I p ropose man ual of the S R-S 'I A o n pages <10 and , '. o.
~' . ::;:0. C1:::
that once the compute r and robot have 42 respective ly. Th e first is the conver- '1 6. \'
freed the man from the drudgery of sio n of polar coo rdinates (5 ,3b ') to
I..
... ,~, . .::.. ".'
2.5 -X"
7 4. :~: :::: 0 1 2701'? -)(.1
making simple boxes, he can rea ll y rectangu l ar coord in ates wh il e the second ci. ;-
::: ,
elF:
th ink about what larger st ru cture or is a co nve rsion of spherica l (5, 30', 60 ' )
sc heme those boxes w ill be a part of. to recta ngul ar coord in ates. ~ 4.
« '4
Follow in g these gu ide lin es wi ll make I n addit ion to th e SR-S1A I also Q
the computer a safe and usefu l too l own th e SR-SO, 58--56 and ' th e TI ...
0
10 .
'.',
y

that benefits all soc iety . Programmable 58 "So li dstate Software" 1 1. C.Otl'''', ~ J 0·, 00. S'IJ~-'~"'l.
and of course the PC100A printe r. As ~ 1 1. 1". fete. T. Co. "'0.
12.
Mark Bizer I am a newcomer t o th e ho bby of ho m e to, Cl F: All
43 Morgan Cir ca lcul ato r and comp uter syste m's I wo ul d t:::. o.
1::: .
Amherst MA 01002 app reciate hear in g from ot her read ers 14 . ::::0 . C1:,:
who use th ese ca lcu lators I hav e men- 7
ClF:
CO NFI RMATION OF THE SR-51A tioned, in order to exc hange i deas and :3 lDF'E 4 . 3 :301 270 1'~
PRINTER TRI CK . .. AND-SOME in formation w ith them . I wou ld li ke to 1. 4 . 33 0 127 019 ST1
IIITCF'
6 0. C1 :::
GRAPEV INE JUICE know especia ll y if anyone who pract ices 2. 1 t ·506:;:SO'3
1.
chem i st ry or biochemistry as a hobby or 2 . 16 50E.:;::,09 - ")."" >::: '-('
ClF 1. 2:, - )(.,
p1': ~~-). - 22 . 'r'
After reading Webb Simmons' letter as a st ud ent has ari y prog rao'ms for these ClF: All
,....~- '1 - 2:~: .
in the September 1977 BYTE regarding subjects that co uld be . used o r modifi ed t!"'r. "It .... ., - 33 .
for use on the TI-S8 or SR -56? 1'/'f:W')(.. --'~:2 .
the use of his SR-S 'I T I ca lcu lator o n the
ClF: ALL 5fl-'>IA / Pc r •• . ~
PC-100A printer, I dec i ded to try the Fina ll y, I have heard th at TI intends
same wi th my SR-51 A. Obv i ous ly t hi s to release a "programmer" for the rumors or do yo u know. if there is any
mode l fu nct ions on the PC-IOOA as we ll TI-58/59 w hi ch w il.i allow users to
tru th to t hem?
as the SR-5 1 as shown by the printout re cord th ei r own li brary modu les and
tapes I have in clud ed w ith my letter. The also i s pl ann i ng on v id eo monitors and Will ia m A Faria
longer tape is a lin e regress ion prob lem XY p l o tters t o add on to the ir pro- 74 Division St
wh ich I "made up" o n the sp ur of the gramm ab le ca lc ul ators . Are these idl e New Bedford MA 02744

BYTE December 1977 19


NEED NEW PLA YER PIANOS?

Since you didn't mention it in the


PRIMER REMOVER

I t was good to see so much attention


Rated[GJ
September '1977 issue, let me be th e first to APl in the August 1977 iss ue. But
you goofed when yo u recommended the
Great Locations
to teIJ you about Superscope's latest
entry:
It' s called the Pianocorder (a Super-
APL Primer.
Th e A PL Prim er may be easy to read,
ComputelLand'·
scope trademark), and it is an e lectronic but its author missed the boat on two Now Open:
player piano. Built around an 8080 key attributes of APl . He neg lected 3020 UniverSity Drive N W
processo r, it's scheduled to come in two APl's treatment of arrays as wholes, and Huntsville. AL 358 05 (205) 539-1200
versions: a Vorsetzer, for grand pianos its treatment of programs as "user de-
11 074 Son Pablo Avenue
and such, and what seems to be a retrofit fined functions" that take arguments, EI C errito. CA 945 30 (415) 233-5010
kit that can be put in an upright or return results, and behave just like
spinet. This version is supposed to come primitives. Th e truth is, he didn't realiz e 22634 Foothill Blvd
Hayword CA 94542 (415) 538· 8080
out around $ 1500 or so. The control is at the time either how ce ntral those two
by means of a digital casette tape, which topics are, or how easy to introduce 6840 Lo Oenego Blvd
controls which keys are down, and also they'd prove to be. Ing lewood CA 90302 (21 3) 776 -8080
controls the dynamics (by controlling Experie nce shows that they're not 24001 V,O Fobnconte. ' 904
the pulses into the solenoids). There are hard to get across . By shrinking from MISS ion Vlelo. CA 92630 (714) 770· 0131
two things that are really exciting about forthright treatment of these funda- 4233 Convoy Street
this : there's a record mode (casually mental aspects of APL (and thereby Son Diego. CA 92111 [714) 560·9912
invite Van Cliburn over and have him try fostering dreadful programming habits),
117 Fremont Street
out your new piano); and the device will the APL Primer does the newcomer Son Fronc lsco. CA 94105 [L115) 546 -'1592
come with 100 cassettes, recorded from to APl a great disservice.
Mr Tuchinsky's collection. He's presi- You shouldn't reco mmend it. IBM EI O d Plaza
171 E Thouso nd Ooks Blvd
dent of Superscope, and an avid fan of should withdraw it.
Thousond O oks. CA 91360 (805) 495 ·3554
player piano rolls from Welte; his
collection includes most of the great Paul Berry 104 W First Street
I P Sharp Associates Inc Tusti n. CA 92680 (714) 54Lt·0542
pianists from the turn of the century,
who cut rolls for Mr Welte. Ste 110, 299 California Av 24 75 Bloc k Rock Turnpike
You can get more details from the Palo Alto CA 94306 Fa irfield. CT 06430 (203) 374·2227
source by contacting Tony Blazina, Astro Shopping Center
manager, Pianocorder Division, Super- ps : I know; I wrote it. Kirkwood Hlghwoy
scope Inc, 20525 Nordhoff St, Chats- Newark. DE 19711 (302 ) 738-9656
worth CA 91311. He says that basic 50 East Rand Rood
descriptive literature should be available page 40} this sequence (box below) . Arl ington Heights IL 60004 (312) 255-6488
in a few weeks, and marketing early in 2. There are many se rious errors in the
9511 No MllwaukeeAvenue
1978 . I first read about it in a recent APl references . For exa mple, there Niles. IL 60M8 (312)967.1714
issue of Electronics magazine. are five errors in those on page 65
(August) alone. Perhaps you should 10935 S Ocero Avenue
A long list of possibilities come to
O a k Lawn. IL 60453 (312)422-8080
mind. The output device is a piano. consider publishing a carefully
Given the data format, you could encode checked and annotated bibliography 813-B Lyndon Lane
a score, make an arrangement for four for APl. LOUIsville. KY 40222 (502) 425- 8308
hands (why not eight?). You could take 3. In discussing APl, care should be 16065 Frederick Road [Pt 355)
the sheet music, encode it, fine tune the taken to use appropriate terminolo- RockVille. MD 20855 (301) 948-7676
phrasing, pedalling, dynamics until you gy. For example, Mr Wimble's article 419 Amherst
had the perfect performance . For confuses the important distinction Na shua. NH 03060 (603 ) 889-5238
learning and teaching, you could encode between operators and functions
2 De Hart Street
the right or left hand, or one part of a (already commented upon in Mr MOrristown. NJ 07960 (201) 539-4077
du e t. Anthony's letter (August page 17)}
I hope we'll see an article covering and uses the term arity for valence. 1612 Niogora Falls Blvd
Buffalo. NY 14150 (716) 836 -6511
the se bases not too long from now . Perhaps the best reference for
terminology and fundamental con- 225 Elmira Rood
Michael D Zorn cepts is one not yet mentioned Ithaca. NY 14850 (607) 277-4888
1833 SPeck Rd #4 in your articles: APL Language 130 4 SOM Center Poad
Monrovia CA 91016 Manual, available from IBM Corp M a yfield Heights. O H 44'124 (216) 461-1200
as Form #GC26-3847. Shoal Creek Pl oza
APL COMMENTS 3300 Anderson Lone
Kenneth Iverson Austin. TX 78757 (512) 452-5701
would like to offer a few comments 163 Great Oak In 6L139 Westhelmer Poa d
on APL matters in your August and Pleasantville NY 10570 Houston. TX 77057 (713) 977-0909/0910
September 1977 issues:
Mike Wimble concurs; the confusion 52-58 Clarence Street
Sydney. NSW AUSTRALIA 29- 3753
1. The readability of APL expressions over operators and functions is in part
might be brought out more clearly due to changes and revisions to A PL over Opening Soon:
by adding to your explanation the years. We regret the bibliographic
(September BYTE, page 166) of my 6743 Du bl in Btvd
errors, and will attempt to correct them Dublrn. C A 94566
thought experiment (August BYTE, in future APL articles .•
42- 42nd Avenue
Son Mateo. CA 94403
1 N All candidates for primes to N. 2927 28th Street
( 1 N) 0 • lIN A remainder table. Kentwood. MI 94508
0=( 1 N) 0 • l IN Divisibil ity tab le. Column I
shows the divisors of I . Franchises Available:
+ / Q0 = ( 1 N ) 0 • lIN The number of divisors for each of IN
2 = + / Q 0 = ( IN) 0 •lIN A sieve showing which numbers have Computerland Corp.
exac tl y two divisors (the primes). 1922 Republ ic Ave.
( 2 = + / Q0 = ( 1 N ) 0 • I I N) / 1 N Sel ec tion of the primes by the sieve. Son Leandro. C A 94577
(415) 895-9363

20 BYTE December 1977 Circle 30 on inquiry card .


The Best Game in Town.
Rated [G] And if your syst em breaks down,
our in-store service department
Welcome to ComputerLand . w ill g et you back up and
An incredible adventure into running .
the world of persona l
computers. A one-of-a-kin d Right now!
shopping experience .
Great Selection.
Each ComputerLand store
presents everything you ever Your first st op a t ComputerLand
wan t ed to kn ow about may well be your last stop.
comp uters. And th en some.
ComputerLand offers th e fin est
Take o ur Game Room , for quality and
sta rte rs. You ' ll find excitement
for th e whole family in our
end less variety of cha lle nging
computer games. You ca n battle the Kling o ns in an
out -of-thi s-world game of Star Trek. Crea t e an e lec-
tronic work of art with a compute r con trol led N. Test
your sk ill in a game of compute rized hangman.

You ca n even plot your b iorhythm .

But we' re more than just fun and games.


Each Compu te rLand st ore offe rs a
knowledgeable and person-
able staff o f professionals

largest se lec-
ti on of all th e
major brand names .
Like Apple Computer,
Cromemco, DEC, Diablo,
Haze ltine, ICOM , IM SAI. Lear Sie gler,
Nationa l Sem icond uc tor, North Star, Texas
Instrum en ts, Vect o r G raphi cs a nd more.
t o serve you.
Plus the g rea test avai l- Plus a complete inve ntory o f tools , books a nd a ccessories.
able selecti on of micro compo ne nts. Wheth e r it' s a dat a
What' s more, at ComputerLand , we dea l in product. Not
processing system for your business or a compu t er con tro lled
prom ises. O ur inventory is o n o ur own shelves. Rather than the
sprink ler syst em for your home, you ' ll find w ha t ever you need
manufacturer's. So you can take delivery on tomorrow's com-
at Compute rLa nd .
ponen t s t oday.
Read on.
Wh ich m ea ns,
Genuine Service. simply put, that at
Compute rLand , you
We wa nt t o su pply get exactly w hat
you w ith th e o ne you want .
system that's rig ht.
Rath e r than a com - Exactly when you
p lete syst em that isn't. want it.
Or a limited system
th at is. Be Our Guest.

That' s why, at Com- Beg in with the


puterLand, you deal gra nd t o ur of ou r
w ith rea l p rofessiona ls exhibit areas. " Test -
who are a lso rea l drive" any of our
peop le. People w ho individual systems.
speak you r lang uage
.. . in addition t o BASIC, COBOL o r FORTRAN. Then t e ll us your needs. We' ll sit down and talk abo ut the system
that's ri ght fo r you . It' s as easy as that a t Compute rLand .
People, in short, w ho c an offer both the novice and
the o ld hand the same expert guidance in se lecting The great computer store. RATED G.
th e optimum system he or she needs .
Call or write for the address of the ComputerLand store nearest you.
Yet, assisting in the purchase is o nly th e beginning of Franchise opportunities available.
ComputerLand 's service. If the kit you bought requires a
little more do-it-yourself than you yourself can do, we
p rovide assembly assistance .

If tha t comp lex program proves t o be just that. we provide


ComputelLand'"
programming assistance. 1922 Republic Aven ue, San Leandro , CA 94577 (415) 895-9363
Circl e 30 on inqui ry card. BYTE Dece mber 1977 21
Some people build personal computers for the love of bUilding. And

II:
ance loads, system loads, and even area-wide line voltage drops as
the systems they buy are usually more fun to build than to operate. low as 90 VAC .
The Equinox System TM, on the other hand, is designed for people who And the exclusive Noiseguard ™system on our 20-slot busbeard
build for the love of computing. When you put it together, it's really to- produces signals that are "textbook clean ," eliminating a major source
gether. Ready to work for, and with, you in the development of your own of data errors and interfacing problems that plague most other
professional, intellectual, business and even social interests. personal computer systems. Plus, there are dozens of other features
The Equinox System ™goes together easily with construction aids to make your mainframe
like parts legends and solder masks. The Equinox System ™fits together more convenient: carrying

TOGI
perfectly, and will continue to be a perfect fit with future hardware and handle and tilt -up stand, key-
software. And it's all S-100 compatible, so you'll be able to work together operated power switch for
with the largest group of peripherals, software, suppliers and system system security, spare power
users in personal computing. T regulators for your small
Mainframes, interfacing, memory, software-The Equinox System M peripherals, and more.
has it all together now. It's no wonder that Equinox ™
Really together. mainframes have been acclaimed as a major advance in per-

THE MAINFRAMES
The Equinox System ™offers an important choice in mainframes.
The Equinox 100 ™mainframe integrates the popular 8080A CPU
into a powerful front panel programming center. For users' who prefer
another CPU, however, we also offer the Equibox ™-a fully engineered
sonal computers. Equinox 100 TM or Equibox ™- each has the
features you want all together in one elegant package.

THE INTERFACING
InterfaCing your input/output de·,rjces to your mainframe can
be a frustrating, expensive and time-consuming process.
(
cabinet, power supply and S-I 00 busbeard system ready for installation That's why The Equinox System TM offers all the interfacing
of your choice of CPU· you're likely to need in one low-cost kit . TM
lt would be difficult to forego the speed and convenience of the The Equinox 110 Interface is a single board that plugs right into your Equinox 100 bus. And
Equinox 100 ™front panel, however. It allows you to work in concise you're ready to plug in 3 audio cassette units with individual motion control, a Teletype' or
octal digits on a 12-key keyboard and digital LED display. It allows you RS-232 terminal , and any 8-bit parallel device . .. including graphics display, line printer or
to monitor and/or alter the contents of any CPU register or register pair, paper tape reader.
110 device or memory location. And the Equinox 100 ™front panel The Equinox I/O Interface has I K bytes of RAM and ROM on board, preprogrammed with
will perform these operations while fully halted, single-stepping, or Slow- powerful Cassette Operating Executive (COPE) software. COPE handles dozens of interfacing
Stepping TM at a programmable rate! and data handling tasks to increase the efficiency
lt is, quite simply, one of the most powerful, intelligent and wonder- of your software. Your programs can store and
fully convenient front panels in the world. And comparisons of The retrieve cassette data with a simple CALL COPE
Equinox SystemTM mainframes don't stop at the front panel. instruction. Data is formatted, checked and trans-
Both Equinox 100 TM and Equibox ™compare directly to full-scale ferred in blocks up to 64K bytes with a single READ
and mini computers in reliability of operation. Both Equinox 100 ™and or WRITE instruction. COPE can even beotstrap
Equibox ™are equipped with massive 26-amp Constant Voltage (ferro- your programs.
resonant) power supplies to protect your programs from in-home appli-
All Equinox software is designed to make full use of COPE capabili·
THE SOFTWARE

L
ties . So loading your Equinox software is as simple as selecting an
address and pressing RUN . Cassette data storage has never been
more convenient. The Equinox System ™now includes two primary software packages :

I
EQUIATE for text·oriented programming, editing and assembly, and
The Equmox 110 Interface IS programmed for the highly·rehable
BASIC·EQ language for number·oriented programming.
300 baud Kansas City Standard for cassette data transfers . but can
Beth of these powerful programming languages have been greatly
:;:f~~;~~:~~~~~a~~, enhanced by full integration with our COPE interfacing software.

raER
EQU/ATE gives you the power of a fully programmable text language.
RS·232 channel also features
Using EQU/ATE, you can create programs to edit copy, keep inventory,
user·programmable rates up
manipulate your hIes of addresses or recipes, and more.
to 4800 baud. And you have
EQU/ATE is also one of the most powerful editor/assemblers available.
access to all COPE routines .
EQU/ATE writes, assembles and executes your programs. It is fully
There is no more cost·
symbolic, accepts global symbols and assembles programs larger than
effective way to handle your
available memory.
system interfacing. And the Equinox 110 Interface is even

W'
EQU/ATE is also an extraordinary text editor which works interactively
more attractively priced when purchased with a complete
with you to edit by character, string or line. It also offers full number edit·
system.
ing of memory contents in octal, hex or decimal.
THE MEMORY Yet, EQU/ATE is extremely compact, occupying only 4K of memory

II You can get your Equinox System ™together with more


low·cost memory.
with 8K total memory required .
BASIC·EQ is a powerful, interactive, high·level programming Ian·
guage developed for .math and science applications. Its primary use is
in the manipulation of numbers, although it is capable of string Oriented
The Equinox Szrstem ™is the first system to offer the
ECONORAM III M 8K X 8 memory board with the advanced operation. Our version, BASIC·EQ, occupies 5K of memory.
Beth BASIC·EQ and EQU/ATE are supplied on cassette, ready to.
SynchroFresh ™natural·timing refreshing system. TM
load themselves into your Equinox System ™ They are competitively
Configured as two individually addressable 4K blocks, the ECONORAMJlI comes as·
priced ... and are even more attractive when purchased together with
sembled, tested and guaranteed to work perfectly in your Equinox System for one full
your Equinox System ™
year. It is also available as a lower·cost kit. .. . .
For tiqht budgets, the K·Ration ™4K x8 static memory kit IS also available for your Equmox
System ™ This high·efficiency design is one of the most Widely used, lowest power and lowest
cost memories available for S·l 00 systems.
GET IT TOGETHER!
And the memory savings are even greater For more information and ordering:
when you purchase your Equinox System ™
all together!
BY MAIL Send check or money order to Equinox
Division. Parasitic Engineering. P.O.
Box 6314. Albany. California 94706
BY PHONE 800-648-5311. BankAmericard/Visa and
Master Charge accepted.
IN PERSON See The Equinox System ™at your local
computer shop.
A Floppy Disk Tutorial

What peripheral device most ofte n defines So it is with floppy disks except that the
the hom e hacker's ultim ate system? It is, of access times are now measured in centi-
co urse, the floppy disk. But what are these seconds instead of nanoseconds, and the
Ira Rampil devices that seem to have the ab ility to quantity of data at each point is now
917 Engineering Research Bldg transform the small est microprocessor sys- hundreds or thousands of bits in stead of just
University of Wisconsin tem into a full-fledged computer? How do one. Because the str ucture of di sk stmage is
Madison WI 53706 they work, and are th ey worth the cost? I similar to th at of main memory, it is often
slow ly uncovered the answers to these ques- used to store programs and data, especia ll y
tions as I sought to upgrade my system by those programs and data which are fre-
add in g floppies. quently refe renced or modifi ed. In fact,
Basically, the floppy disk is the littl e during the early age of electronic digital
cousin of IBM and other manufactu rers' computers, mach ines lik e the IBM 650
huge hard disk drives. As far as any com- actually used a rotat ing drum similar to a
puter is concerned, the floppy is a real disk disk as its only memory, which fetched new
drive. The differences between it and (for in structions for execution with eac h revolu-
example) an IBM 3330 disk are mainly tion. It is widely believed that the Minute-
specifications of speed and storage capacity. man missile system still uses such a memory .
Floppies, like other disks, are relative ly fast All of the other mass storage techniques
random access memories_ If the last th ree available to hackers, such as paper tape,
words sound familiar, it should be no sur- audio, and even digital cassettes, are funda-
prise. Semiconductor random access mem- mentally serial memori es. That is, allot" most
ories store (if programmable) and reaq data of the recorded data may have to be passed
by address, with a unit quantity of data through in order to find a particular piece of
(typically o ne bit) at each addt"ess. Th e data data.
at any address can be quickly and easi ly Tabl e 1 compares several different mass
changed without disturbing the contents of storage techniques. As you can see, floppy
any other address . disks fall between hard surface cartridge

Table 7,' A comparison of


IBM 2315 IBM 3740 Digital Audio
several different mass stor- Technique Cartridge Disk Floppy Cassette Cassette Units
age techniques.
Data Capacity 48. 3.0 6.0 0 .84 Million bits
(unformatted)
Average or Typical .035 .45 20 120 * Seconds
Access Tim e (* = manually
controlled")
Data Transfer Rate 2500 250 10. 0.3 kbps
Price of Commerciat $8000 $1500 $1000* * $100 **Note that
Package: Drive + personal com-
Powe r + Controller puting digital
cassettes 'c an be
much cheaper
than commercial
drives
System Cost per .32 .6 10 33.3 cents per bps
Unit Data Rate
System Cost per .016 .05 .016 "012 cents per bit
Unit Storage stored
Media Cost $100 $8. $4. $4. (unit quantity
prices)
Storage Cost 1.7 2.2 0.55 3.9 cents/kilobyte
of media

24 BYTE December 1977


Typetronic:
your source for complete computer
management systems ...
now introduces New Jersey's most
complete computer store
The new Typetronic Computer of the Typetronic systems ... power- hardware and software packages,
Store has all the professionalism ful tools for management in such including microprocessor and
and depth of the field-proven Type- fields as retail chain stores and NOVA* compatible minicomputer
tronic minicomputer management chemical distributor operations. systems and peripherals ... plus
systems. In fact, the store is staffed The Typetronic Computer Store classroom courses, expert assis-
by experienced professionals who is New Jersey's most complete and tance, and many other services.
have devoted years to the success comprehensive store for hobby- Highlights include:
ists, engineers, and business • Hands-on demonstrations of
users . It offers a microprocessors and other
wide range of equipment.
• A variety of microprocessor
assembly kits ... IMSAI , Pro-
cessor Technology, Motorola,
etc.
• Formal classes on both software
and hardware topics.
• Library of publications, product
literature, etc.
• Use of the Typetronic computer
with micro-assembler.
• NOVA is a registered trademark 01 Data General Corp .

.5 r. "- -
~
I
_1_'- - - -, I
If you are located in the N.J '/N.Y./Pa . metropolitan area and
desire additional details , return this coupon:

We are considering the automation of our company


operations. Please have a systems representative
contact me.
I
t.ypetronlC Please send me your brochure on the new Typetronic
Computer Store.
I
computer Name - - - - -- -- - - - - Title
I
store I Company Div. _ _ _ _ __ I
806 Route 17, Ramsey, N.J. 07446 I
:JI
Street _ _ _ _ _ _ _ _ _ _ _ _ __ __ _ _ _ __
201-825-1300

I.:t y
_
--------
State _ _ _ _ Zip

.
Circle 122 on inqu iry ca rd . BYTE De ce mber 1977 25
PLASTIC
CARTRIDG E

/
/
/ r
<r. / / '

/
--- --..--
_----
--- " " ....... more per kilobyte than do high qu ality
audio cassettes like Memorex MRX-2 C30,
when used for digital recording. If speed and
/ //
():::~~ random access are important, get a floppy. If
II /1/ \
INDEX HOLE

~ ".J'01-
/', . . O -_,~lI~~~-S- . \
/ '

\
low cost and vast amounts of storage are
important, get digital cassettes. My own

( ' I
I
T~ACK 76 I
I
/' ,~()
\
\
\
\
\
system will eventually have a floppy disk for
an operating system and a digital cassette
transport for archival storage.
Floppy disk s were first deve loped at IBM
I ,"'--.., \ ,
\ I
t \ TRACK 00
I \
,
I
II laboratories in the middl e 60s. Th ey were
first used as a means of storing micro-
program code for programm abl e peripheral
controllers in the 5/3 70 family, and were
\/ \ / I
\ ' / /
eventually used to store the microcoded
\
\
"
..... - -"
",/
/
I diagnostics and emulator functions for the
370 computers. Then, in the beginning of
\
"
"
,,
HEAD ACCESS
~OLE
/
/
/1/ 1973, IBM introduced the 3740 Data Entry
System. Like a keypunch, except that data is
recorded on a floppy instead of cards, one
/// 3740 floppy disk holds the equiva lent of
DISKETTE /
......
....... -
.........
-_

~'--------
_.",.

- ,'
", /'
,/
/
3000 cards. IBM then predicted that floppies
would replace cards as th e principl e data
entry medium. This of course has yet to
happen completely, but is well under way.
In the midst of all the commotion, someone

..
COLOR KEY , discovered that floppy disks make exce llent
mini and microcomputer periph erals, and
D MAGNETIC MEDIA CONCEALED
BY PROTECTIVE WRAPPER the floppy peripheral industry was born.
Thus the 3740 is the device that started th e
MAGNETIC MEDIA VISIBLE THRU
HOLES IN PROTECTIVE WRAPPER floppy industry.
As for the floppy disks (diskettes) them-
Figure 7: An X-ray view of a floppy disk, The floppy disk is encased in a selves, figure 1 provides a closeup view . An
protective plastic cartridge 8 inches square. Dotted line circles illustrate IBM diskette looks for all the world like a 45
the portion of the disk where data is stored. It is coated with an oxide layer rpm record in a plastic jacket. Actually, the
similar to that used on magnetic tape. The combination read and write head diskette is defined to be a disk of heavy
contacts the oxide layer through the slot shown at the bottom of the Mylar based magnetic tape material. It is 7.8
cartridge. inches (19.8 cm) in diameter with a center
spindle hole 1.5 inches (3 .81 cm) in diam-
disks and cassette systems in terms of eter. The 0.01 inch (0.025 cm) index ho le is
performance and cost. (We're not even con- used to synchronize data as the disk rotates.
sidering the much more expensive 2311, Data is stored on the su rface of the disk in
2314 and 3330 type disk drives of the the oxide coating, the same technique used
big machines here.) Both floppies and in magnetic tape storage. And like magnetic
digital cassette systems provide high per- tape, floppies are very susceptible to con-
formance at medium cost. Audio cassettes tamination by foreign particles (dirt, dust,
provide low performance at low cost. (Car- fingerprints). Therefore, the diskette is en-
tridge disks are not likely to fall into the closed in a thin semistiff low friction plastic
hands of a hacker; they are included for jacket known as a cartridge. The standard
reference only.) The big tradeoff is speed cartridge has three openings in it to allow
versus price, of course. A floppy is very fast the spindle, read and write head , and ind ex
and more expensive, wh ile the digital cas- photosensor to have access to the disk.
sette is much slower but cheaper. The same The inside surfaces of the cartridge have
holds true for the media. Diskettes cost soft, low friction liners. The liners wipe the

26 BYTE De cembe r 1977


UP AND RUNNING
TDL EQUIPMENT USED BY NEW JERSEY PUBLIC TELEVISION
TO PROCESS NEW JERSEY GUBERNATORIAL PRIMARY ELECTION RETURNS

John Montagna, computer engineer (above left), Four screens were incorporated, two terminals
lead this successful network team in generating entered votes as they came in and were used
election results speedily, efficiently and reliably to call back votes to check accuracy. Mon-
using predominantly TDL hardware and soft- tagna called on the power and flexibility
ware. Montagna created three programs to get offered by TDL's ZPU board and three Z-16
the job done. The text for a SWAPPER pro- Memory boards.
gram was written and assembled using the TDL
TEXT EDITOR and Z80 RELOCATING MACRO Montagna's setup worked constantly for over
ASSEMBLER. The SWAPPER text and all four hours updating and displaying state-wide
debugging was run through TDL's ZAPPLE and county-wide- results without flaw .
MONITOR. The relocatable object code was
punched onto paper tape. A MAIN USERS "I chose T D L because they have all the soft-
program updated votes and controlled air dis- ware to support their hardware, and it's good;
play. An ALTERNATE USERS program got it has the flexibility to do the job."
hard copy out and votes in. The latter two John Montagna
programs. were written in BASIC. Mont agna
modified the ZAPPLE BASIC to permit time- We salute John Montagna and NEW JERSEY
sharing between the two USERS programs. PUBLIC BROADCASTING for spearheading
the micro-computer revolution.

TECHNICAL
DESIGN
TDL's XIT AN SYSTEMS have the capacity to do
similar tasks for you. Write to us for XIT AN
. . . .II1II LABS
information and the name of your nearest TDL RESEARCH PARK BLDG . H 1101 STATE ROAD
dealer. PRINCETON , NEW JERSEY 08540 (609) 921-0321
Circle 117 on inquiry card . BYT E Dece mber 1977 27
oxide and to put an additional head access
slot on the opposite side of the cartridge,
WRITE PROTECT HOLE giving a two-sided floppy disk (see photo
2 and figure 6). Some manufacturers have
Figure 2a: A diagram of
a floppy disk showing a o gone so far as to develop a drive mechanism
which simultaneously accesses both sides at
typical location of the
once . IBM, Information Terminals, BASF
wire protect (or file pro-
and Wabash are some of the companies
tect) hole. When this hole
which sell floppy disks. The price of disk-
is punched out, data
ettes varies from $12 to $ 7 each in boxes of
cannot be erased from the
ten to about $4 to $5 each in large
disk. The write protect
hole serves the same pur- quantities.
pose as the plastic tabs
Drive Hardware
on a magnetic tape
cassette. There is a commonly drawn analogy be-
tween a disk drive and a phonograph. Both
are mass storage devices in which the data is
stored on a platter-shaped medium. The
platter is seated on a spindle around which it
I NDEX HOLE revolves while the data pickup (needle or
Figure 2b: A floppy disk magnetic head) moves radially across the
with a design modification data. In the case of a phonograph record, the
to allow "hard sectoring. " music, or data if you will, is recorded on
32 0.70 inch (0.025 cm) OOCOOO
spiral grooves or tracks which are cut into
o
holes are punched in the o
o 0
0 the record. To access a particular song, the
0 0
disk in addition to the tone arm is moved radially over the record
0
o 0
o 0
index hole. These holes en- o
o
0
0
and placed down in the starting groove of
o
able the hardware to o
o 0
0
0
the song. In contrast, the data on a com-
detect the exact rotational ° 0 0 0 00
puter disk is stored in discrete concentric
position of the disk by circles, not one continuous spiral. The con-
means of a photosensor. centric circles are called tracks and are
The need for space wast- accessed by a magnetic head wh ich is
ing address fields is elim- bumped mechanically from track to track
inated with one hole per 32 0 .1 in. SECTOR HOLES under computer control. Data is stored by
sector, and the number of means of saturated magnetic recording at a
data sectors can be maximum density of 3200 bits per inch (on
typically increased from disk clean and eliminate static charge while the innermost track), and 48 tracks per
26 to 32 per track. reducing the necessary spindle torqu e. To radial inch.
protect the disk even further when the Most floppy drives on the market today
diskette is not in use, it is kept in a use either a synchronous AC or servo-
cardboard sleeve, in the same manner that an controlled DC motor to drive the spindle at
LP record is kept in its album cover. The exactly 360 rpm. Speed control is very
industry standard (I BM 3740) specifications important to insure data reliability . The
for diskettes is fairly rigorous and widely spindle motor runs continuously whether or
accepted, although a number of variations not a diskette is loaded.
have lately appeared on the scene. Two of When a diskette is loaded into a drive, it
these are shown in figure 2. is inserted into a narrow slot and the
The wri~e protect hole is a small plastic cartridge is held in place between a spring
knockout in the cartridge which serves the and a small metal protrusion . The door over
same purpose as the small knockout tabs in a the slot is then closed, clamping the diskette
tape cassette. A sensor detects whether the to the rotating spindle. At the same tim e, in
knockouts have been removed or not, and if most drives, the read and write head is
so, disables the write electronics. Another engaged .
variation is the presence of many small The type of read and wri te head used is
sector indexing holes punched in the disk. one of the important differences between
The advantage of this so-called hard sector- hard disks and floppies. Hard disks use a
ing process is a higher data capacity per system known as flying heads in which the
track . This will be discussed in more detail read and write heads are aerodynamically
later. floated off the surface of the disk. They are
A third, relatively recent, innovation in held a very small and precisely controlled
the manufacture of diskettes is to coat both
sides of the Mylar backing with magnetic Continued on page 35

28 BYTE Decemher 19 77
";Lower Cale !If Numeric Pad ;.; Protect Mode
. ~Tabbing )II( Auto Repeat · )II( 15 Baud Rates
,.,Dual Intensity ~ Aux. Port l1li( Addr. Cursor
.. 24 Line x 80 Char. )llr'Optional Printer Port a Block Mode

at $995 00
SORoe 10 120 II tbe mOlt waated termlaal oa tbe market.
the
-.-
the REWARD contact···

Circle 108 on inquiry card . BYTE December 1977 29


Ohio Scielitific advances
the state-of-the-art
of smaD cDllipaters.
From our inexpensive 8K BASIC in ROM Challenger liP to our powerful triple processor
Challenger III, Ohio Scientific offers a full range of products that are technologically
superior to anything available on the market today.

Challangar UP Challangar U
Challenger II
from Ohio Scien·
tific is a disk
based computer
capable of stor-
--l ing up to 500,000
bytes of informa-
tion on an Ohio
Scientific dual
drive floppy disk.
Challenger II comes with 16K of RAM (the disk
BASIC is automatically loaded into the computer so
there is no need for ROM's) and our powerful Disk
Challenger liP from Ohio Scientific is our unique Operating System (DOS) which allows the computer
personal computer with BASIC in ROM and 4K RAM to perform big computer functions like random ac-
for programs in BASIC. cess, sequential and index sequential files in BASIC,
, Complete with audio cassette interface and a full and I/O distributors which support multiple terminals
computer keyboard, Challenger liP can be connected and industry standard line printers.
to a home TV via an RF converter and it's ready to go. And best of all a 16K Challenger II with serial inter-
Challenger liP comes fully assembled and tested face , Single drive floppy disk, (250,000 bytes) BASIC
for only $598.00. and DOS costs only $1,964.00 fully assembled.

Challengar m
Challenger III from Ohio Scientific is the revolutionary, new triple processor
computer that allows you to run programs written for the 6502A, 6800 and Z-80
processors.
Incredible as this is, a disk based Challenger III costs
only about 10% more than conventional Single processor
microcomputers. A 32K Challenger III with a
serial interface and a dual drive floppy disk
assembled and tested costs $3,481.00.

For more information send for our


Free, short form catalog, or send $1 for
our 64 pg. Small Computing Buyers Guide.
11679 Hayden· Hiram, Ohio 44234

30 BYTE Dece mber 1977


Meet Challenger DP
from Ohio Scientific.

Unlike any other personal computer available today


Complete with BASIC in ROM and 4K RAM, expandability from old models to new models,
Challenger liP is the ideal computer for programs which is nice to know considering the rate at which
in BASIC. technology is constantly improving . For example,
BASIC is there the instant you turn the computer Ohio Scientific's original 400 series products can
on with a full 32 x 64 character video display. be plugged right into the new Challenger liP. And
Challenger liP also comes with an Audio Cassette Ohio Scientific has 2 years of experience in build-
Interface for program storage. The user simply con- ing personal computers , so we're not new to this
nects a Video Monitor or a TV via an RF Converter business unlike some of our competitors.
(not supplied) and the machine is ready to use. Complete with a full computer keyboard Chal-
Challenger II P is ideal for both the home user lenger liP comes fully assembled for $598 from
who is new to computing or the experienced user Ohio Scientific.
who wants expansion capabilities. Challenger liP Check the chart below and compare Challenger
comes with a four slot backplane and is expandable liP with other BASIC in ROM computers. Unlike
via the full Ohio Scientific product line, which in- other personal computers, Challenger liP has a
cludes 15 system boards offered in over 40 different much greater capacity for expansion and the capa-
versions. bility to perform big computer functions with all of
Ohio Scientific has always maintained upward its big computer features .

Ohio Scientific Other BASIC in ROM


Challenger liP Computers
Processor 6502A 6502 or Z-80
Clock 1 or 2 MHz slower
Display (Lines/Characters) 32/64 25/40 or 16/64
Keyboard Full Computer 4 Function
(Capacitive Contact) Calculator Type or Full Computer
(Mechanical Contact)
Display Characters 256 128 or 64
Lower Case Yes No
Plotting Yes Yes
Audio Cassette Interface Yes Yes
BASIC 8K By Microsoft some have only 4K BASIC
String Functions PEEK, POKE, User Yes Not Always
Machine Language Accessible Yes Not Always
Optional Assembler/Editor Yes No
Disk Option Available Now Yes No
In Case Memory Expansion Ability 36K Less
Expansion Boards Available Now 15 None

BYTE De cember 1977 31


Introducing three boards only
Ohio Scientific could build.
Ohio Scientific provides 15 system boards offered in over 40 different versions for Ohio Scientific Com-
puter users. All of the boards are compatible with Ohio Scientific systems and many of them are by far
technologically superior to any other mitrocomputer products on the market. And Oh io Scientific has the
technology that made them possible.

500 CPU Board


This board gives you our ultra-fast 8K BASIC in ROM
with plenty of user workspace (4K RAM) for as little as
$298.00. Use it as a standalone or as the CPU in a large
system. BASIC is there the instant you turn it on. And
in the October issue of Kilobaud Magazine, our version
of 8K BASIC came out the winner in a BASIC timing
comparison test of all of our competitors. The 500 is the
fastest around!

510 Systems CPU Board


This is our unbelievable triple processor board! Com-
plete with the 6502A, 6800, and Z-80 processors, this
board allows you to run virtually all programs published
for small computers. Available in the Challenger III, the
510 board is ideal for industrial development and re-
search applications. There isn't another triple proces-
sor board like the 510 anywhere, except at Ohio
Scientific!

560Z CPU Expander Board


The 560Z board is our multiprocessing board with a
Z-80 and 6100 chip. This board allows you to run
several processors simultaneously and the 6100 chip
lets you run powerful PDP8 software with the 560Z. The
560Z board is the only multiprocessing board available
for small computers, and Ohio Scientific makes it!

These three state-of-the-art CPUs are only a small part of the picture. Ohio Scientific's advanced tech-
nology offers you other unique features such as Multiport Memories, Distributed Processing, Big Disks with
up to 300 megabytes on line, and Advanced Software.

11 (379 Hayden • Hiram, Ohio 44234


32 BYTE Decemb er 1977
Announcing the mast
advanced disk OHIO SCIENTIFIC

anywhere far 56,000 DEALERS


Abacuz Stores Limited
55 Erb St. East
Waterloo. Ontario
Canada N2C 3EO

The 74 megabyte disk


(519) 885·1211 .
Americln Mlcraproceuofl
Equipment" Supply Corp.
20 N. Milwaukee Av e.
Prarieview . Il 60069

from Ohio Scientific


(312) 634-0076
Clntury 2~
4566 Spring Mountain Rd .
las Vegas. NV 89102
Computer Mart of New York
C-D74 from Ohio 118 Madison Ave.
New York . NY t0010
Scientific is the ultimate (212) 686-7923
Computlr Power
storage device for small P.O. Box 28193 '
computers. San Diego . CA 92128
(712) 746-0064
The C-D74 is the first OlllWlrl MlcrDly.tlms
92 E. Main SI. #1
Winchester technology disk Newark . DE 19711
(302) 738-3700
for small computers making Olurt Dat.
big system technology af- Microcomputer Sal es
P.O. Box 1334
fordable and reliable for the Tucson. AZ 85702
(602) 623-6502
small system not under The Hom. Computer Co .
P.O. Box 1891
maintenance contract. Universily Station
Charlottesville . VA 22903
The disk uses a non-re- 1804) 295-1975
movable sealed chamber Mlcrocomp
P.O. Box 1221
drive with a unique rotary Fond-Du-Lac. WI 54935
1414) 921 -4669
positioner to provide the Mlcrocomputlr Work.hop
234 Tennyson Terr.
highest performance disk Williamsville. NY 14221
available today. 1716) 634-6844
Omaha Computer Stir.
The Ohio Scientific 4540 S. 84th St .
Omaha. NE 68127
C-D74 can store all the 1402) 592-3590
records of a medium size
company for instant access. REPRESENTATIVES
And the Winchester tech - Abacuz Dltl Secom Systems
P.O. Box 276 541'-1 New Peach Tr ee Rd .
nology of the C-D74 means 011 City. PA 16301 Chamblee : GA 30341
that the drive can run 24 Associates Con.ultlnll
33 Ogden Ave.
1404) 934-3272
Vingco, Inc .
hours a day without worry East Williston . NY 11596 2 World Tra de Cntr .
1516) 746-1079 Penthouse 107th Floor
of disk wear. BRAG Microcomputers New York , NY 10048
19 Cambridge SI. 1212) 775-1184
There are other important Rochester. NY 14607
C-D74 applications in business 1716) 442-5861
Computer Bu.inllS
computing and research in computing P.O. Box 171
laPorte. IN 46350
itself. The disk makes small computers 1219) 362-5812
practical for much larger jobs than Johnson Comput.r
P.O. Box 523
formerly thought feasible, particularly since most business computing is Med ina. OH 44256
1216) 725·4560
disk bound and not computer bound . Omlga Computing, Ltd.
Box 220, Station P
C-D74 provides an unbelievable 35 millisecond average access time Toronto, Ont o M5S 2S7
1416) 424-2174
to any of 74 million bytes of information. With a 10 millisecond single Pan Atlantic Computer Sy.temt, GmbH
track seek, the drive has an incredible data transfer rate of 7.3 megabits 61 Darmstadt
Frankfurterstrasse 78
.

per second . West Germany


(08102) 3206
Recommended minimum hardware for the C-D74 is a Challenger Science Education Extentlon
11516 leHavre Dr.
with 32K RAM and at least 8K on a Dual Port 525 board , and a single Potomac, MD 20854
or qual-drive fl0p.py disk. (301) 299-9506
Spectrum Technology Services
The drive, cable, interface for an Ohio Scientific Challenger and P.O. Box 942 .
Palos Verdes Estates, CA 90274
OS-74 operating 'system software is $6,000 FOB Hiram, OH. 1ek-Aids, inc.
1513 Crain SI.
Equipment rack shown not included. Evanston. I L 60202
1312) 328-0110

The state of the art in small computers.


10 order direct call 1-216-569-3241
'.
AVAILABLE LOCALLY
Visit the Heathkit Electronic Center
nearest you (Units of Schlumberger
Products Corporation) and see our
Complete Computer Line
Parts and service available . All kits dis-
pl ayed, and sold at slightly higher prices.
ARIZONA - Phoenix, 85017
2727 W, Indian School Rd . 602-279-6247
CALIFORNIA
Anaheim, 92805
330 E. Ball Rd . 714-776-9420
EI Cerrito, 94530
6000 Polrero Ave . 415-236-8870
Los Angeles, 90007
2309 S. Flower SI. 213-749-0261
Pomona, 91767
1555 Orange Grove Ave. N. 714-623-3543
Redwood City, 94063
2001 Middlefield Rd . 415-365-8155
Sacramento, 95825
1860 Fulton Ave. 916-486-1575
San Diego (La Mesa, 92041)
8363 Center Dr. 714-461-0110
Woodland Hills, 91364
22504 Ven tura Blvd. 213-863-0531
COLORADO - Denver, 80212
5940 W. 38th Ave. 303-422-3408
CONNECTICUT - Hartford (Avon, 06001)
395 W. Main SI. (Rte. 44) 203-678-0323
FLORIDA
Miami (Hialeah, 33012)
4705 W. 16th Ave. 305-823-2280
Tampa, 33614
4019 West Hil lsborough Ave. 813-886-2541
GEORGIA - Atlanta, 30342

Take an 5285 Roswell Rd. 404-252-4341


ILLINOIS
Chicago, 60645
3462-66 W. Devon Ave. 312-583-3920
Chicago (Downers Grove, 60515)

even BIGGER
224 Ogden Ave. 312-852-1304
INDIANA - Indianapolis, 46220
Fully assembled DEC 2112 E. 62nd SI. 317-257-4321
KANSAS - Kansas City (Mission, 66202)
Writer" Keyboard 5960 Lamar Ave. 913-362-4486
Printing Terminal at the KENTUCKY - Louisville , 40243

Byte!... sensational low price


of only $1495!
12401 Shelbyville Rd . 502-245-7811
LOUISIANA - New Orleans (Kenner, 70062)
M~~~~X~~rans Memorial Hwy. 504-722-6321
Baltimore, 21234
with the Heathkit H11 16·Bit Personal Computing System 1713 E. Joppa Rd . 301-661-4446
Rockville, 20852
5542 Nicholson Lane 301-881-5420
MASSACHUSETTS
Based on the world-famous DEC 40 instruction set! The software is Boston (Peabody, 01960)
LSI-11, the Heathkit H11 and it's supplied in easy-to-use paper tape 242 Andover 51. 617-531-9330
Boston (Wellesley, 02181)
peripherals are designed to give you format, perfect for the H1 0 paper tape 165 Worcester Ave.
reader/punch. And with Heath's MI~~1~1uNt west of Rt. 128) 617-237-1510
all the power and speed you need for
complete assembly manuals and Detroit, 48219
total computing versatility. It's one of 18645 W. Eight Mile Rd. 313-535-6480
the few FULL 16-bit personal com- software documentation, you have E. DetrOit, 48021
18149 E, Eight Mile Rd. 313-772-0416
puters available to hobbyists today, the most solidly supported computer MINNESOTA - Minneapolis (Hopkins, 55343)
101 Shady Oak Rd . 612-938-6371
and equivalent commercial versions system you'll find anywhere. Sink MISSOURt - St. Louis (Bridgeton) 63044
would cost literally thousands of dol- your teeth into it today! 3794 McKelvey Rd . 314-291-1850
NEBRASKA - Omaha, 68134
lars more! As with the H8 system, 9207 Maple SI. 402-391-2071
NEW JERSEY
complete "program-ready" software H11 LSI-1116-Bit Computer ... . $1295 Fair Lawn, 07410
35-07 Broadway (Rte. 4) 201-791-6935
is supplied: the Heath/DEC PDP-11 H11-1 4K Memory . . . . . . . .. ..... 275 Ocean, 07712
software includes ED-11 editor; H11-2 Parallel Interface . . . .. .. . .. 95 1013 State Hwy. 35 201-775-1231
NEW YORK
PAL-11S relocatable assembler; H11-5 Serial Interface .. . ....... . . 95 Buffato (Amherst, 14226)
3476 Sheridan Dr. 716-835-3090
LlNK-11S link editor; Absolute H10 Paper Tape/Reader/Punch . . 350 Jericho, Long Island, 11753
Loader; ODT-11X debug; lOX LP I/O H36 LA36 DEC Writer" ... . .... 1495 15 Jericho Turnpike 516-334-8181
Rochester, 14623
executive program; DUMP-AB-PO If purchased separately. 53605 00 937 Jefferson Rd . 716-244-5470
White Plains
and DUMP-AB-PB; plus BASIC and (North White Plains, 10603)
FOCAL; and it executes the PDP-11 / Heath System Price
Prices are mail order net F.O.B., Benton Harbor, Michigan .
$3350 00 7 Reservoir Rd . 914-761-7690
OHIO
Cincinnati (Woodtawn, 45215)
10133 Springfield Pike 513-771-8850
Prices and speCifications subject to cha ng e without notice. Cleveland, 44129
5444 Pearl Rd. 216-886-2590

FREE Heathkit Catalog Columbus, 43229


2500 Morse Rd. 614-475-7200
Toledo, 43615
Read about computers and nearly 48 So. By rne Rd. 419-537-1887
400 other easy-to-build kits. --.....~~ PENNSYLVANIA
Philadelphia, 19149
6318 Roosevelt Blvd. 215-288-0180

MMfffi ~ --------
Frazer (Chester Co.) 19355

F
HEATH 630 Lancaster Pike (RI. 30) 215-647-5555
Heath Company, 334-360 Pittsburgh, 15235
1_~_iil.IiI_IilllIIi·ilJimil'Ii.I·_il-. Benton Harbor, MI49022 3482 Wm. Penn Hwy. 412-824-3564
RHODE ISLANO
Providence (Warwick, 02886)
I Please send me my FREE Heaihkit Catalog. 558 Greenwich Ave. 401-738-5150
I I am not on your mailing list.
TEXAS
Dallas, 75201
II Name' _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ____
2715 Ross Ave. 214-826-4053
Houston, 77027

I Address _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ___
Use coupon for
3705 Westheimer 713-623-2090
VIRGtNIA
Atexandria. 22303
6201 Richmond Hwy . 703-765-5515

~
mail-order ~ Norfolk (Virginia Beach , 23455)
I City 5tate __________ catalog or bring 1055 Independence Blvd . 804-460-0997
WASHINGTON - seatlle, 98121
to store for
I CP-133-1 Zip JI retail catalog.
2221 Third Ave. 206-682-2172
WISCONSIN - Milwaukee, 53216
L
34 ---------------------
BYTE De ce mber 1977
5215 W, Fond du Lac 414-873-8250
OPENING THIS FALL: San Jose, California
Circle 58 on inquiry card.
Continued from page 28

SOLENOID

~
PRESSURE PAD

LOAD SPRING
~~
CARTRIDGE
HINGE BAIL ---...

\
®t (f,//DISKE TTE

\-1
HEAD CARRIAGE I I'SPINDLE

"'- I~~~~(
READ AND
WRITE HEAD

HEAD POSITION MOTOR)

Figure 3: Diagrammatic representation of a floppy disk drive system. The read and write head and the pressure pad are mounted
on the head carriage, which can be moved radially (see arrow A) to any given data track by means of the motor controlled lead
screw. The bail is solenoid actuated (see arrow B) and is used to lift the pressure pad away from the disk during insertion and
removal. The floppy disk remains in its protective plastic cartridge at all times; the head makes contact with the oxide surface
through an access slot (see figure 7). The spindle rotates the floppy disk at 360 rpm during use.

distance away from the magnetic surface in not being used. A typical mechanism for
the relative wind created by the rapidly head loading and positioning is shown
spinning disk. Flying heads are very difficult schematically in figure 3.
to build and maintain, and therefore quite Most manufacturers use a lead screw
ex pensive . The advantage of flying heads is driven by a stepping motor to move the head
that they cause no wear on the disk surface from track to track (A stepper motor is a
(unless they "crash," of course) and there- motor which rotates a fixed number of
fore perm it very high rotational speeds and degrees every time it receives a pUlse.) . 'The
data rate. head is mounted on a carriage which is
Floppies, on the other hand, use a con- pushed back and forth across the diskette
tact head . Contact heads are much simpler, by the rotation of the lead screw. The pitch
mech anically speaking. They are pressed of the lead screw is chosen such that the
onto the floppy in much the same way as a stepper motor's angular rotation is trans-
tape head is pressed into magnetic tape. lated into a linear motion equal to the track-
Thus in the terminology of flying heads, to-track radial distance of 0 .0213 inches
floppy disk heads are permanently (0.05 cm) (IBM format). A "seek," which
"c rashed. " The chief drawback of these means moving the head to the desired track,
contact heads is the wear they cause to the consists of the retraction of the head back to
floppy and vice versa. Diskettes are rated in track 00 followed by n pulses to the stepper
terms of the number of passes the head motor in order to reach the desired track n.
makes over a particular spot before an error Track 00 position of the head is detected
is likely to occur there, while read and write by a microswitch sensor. Likewise, tracks
heads are rated in terms of th e number of 44-76 are detected, for reasons to be dis-
hours they can survive contact with the cussed later. Variations on head positioning
diskette before replacement. Typically schemes in the newer drives include "vo ice
quoted values of component life are in the coil" methods which position the head with
millions of passes per track for diskettes, and a linear actuator similar to an acoustic
tens of thousands of hour.s of contact for the susp~nsion loud speaker's voice coil.
read and wri te head s. I n order to stretch the
useful component lives, most floppy control- Controllers
lers will command the drive to unload the The basic function of a floppy disk con-
head from the diskette when the floppy is troller is to do many of the small house-

BYTE Decemher 19 77 35
keeping tasks necessary in order to use the wide bands between selections on a phono-
floppy as a storage device. Perhaps the most graph record. The bands on a record allow
important task of a controller is the handling the' listener to select and play particular
of floppy disk formatting. Formatting is the songs. In fact, a recent addition to the list of
key to th e floppy disk's random access capa- exotic hi fi equipment is a microprocessor
bility , since it provides the stored data with controlled turntable called the Accutrac.
access addresses. The unit has an infrared emitter and re-
Basically, formatting breaks each track up flection detector built into the tonearm head
into discrete areas known as sectors. Each which sense when the tonearm is over a
sector is of fixed length and is assigned its smooth band, detect the record 's fo rmat,
own address based on the sector's physical and allow the processor to randomly access
location on the disk. With soft sectored any track . The track can be played and re-
disks, sector addresses are permanently played, or any other track on that side of
written into the beginning of each sector to the record can be accessed.
uniquely identify the corresponding block A floppy disk controller works in much
of data. the same way . The computer passes a sector
Formatting is a concept similar to the address to the controller, which moves the

I NDE X HOL E

TRACK n

PR EAMBLE POS TAMBLE

r-- 46 BYT ES ---+---

--- -----

ur~ "~"--+-,""'-i\
10 GAP DATA

,
r--~f--! ~~~~~~ I I 0 CHECKSU M I - - - - - -O
I-t -AT-A
------ CHECKSUM]

1 -.----- 6 BYT ES -I 1+1·- - - - - 12B ByTE S - - - - - - . f · I....


• 2 BYTE S -1

Figure 4: The IBM 3740 floppy disk format. The format is "soft" sectored, meaning that data written in the track controls the
organization of information on each track. Each of the 77 data tracks on the floppy disk contains data, address and control
fields grouped together to form "sectors." Each sector contains a sequence of fields, identical to those of the other sectors,
which are further broken down into individual data bytes. One complete track is shown in this illustration. The index hole
provides the only hardware synchronization in this format.

36 BYTE December 19 77
Now you can gain all the speed and flexibility of a front panel and walnut cabinet with one, two or
disk-based PolyMorphic microcomputer system three floppy disk drives, controller, power supply, fan
without scrapping your POLY 88. and 2K of ROM. You also receive two copies of our
Our POLY 88 Upgrade-to-Disk Kit enables you to system disk, containing our powerful disk
quickly and easily convert your POLY 88 into a operating system, fully extended BASIC and versatile
complete System 8813, a very versatile disk text editor and assembler. The single-drive POLY 88
system with one, two or three floppy disk drives. Upgrade-to-Disk Kit costs $1,450.
You retain all the essential parts of your POLY 88 Why wait? Drop by your nearest PolyMorphic
system (including the powerful BASIC software Systems dealer today and have him demonstrate
library) and gain the increased access speed and the speedy and flexible new System 8813 for you.
programming flexibility of PolyMorphic's remarkable Then, ask him to show you just how quickly and
new System 8813. easily you can perform a disk transplant on your
Our POLY 88 Upgrade-to-Disk Kit contains every- POLY 88.
thing you need to perform a quick "disk transplant" If you can't drop by your dealer, please call us at
on your POLY 88 at home, using a few simple tools. (805) 967-0468. Or write PolyMorphic Systems Inc.,
Each upgrade kit contains a brushed aluminum 460 Ward Drive, Santa Barbara, CA 93111.

'erforma

BYTE De cember 19 7 7 37
DATA BYTE

DATA BITS o o o o

CLOCK BITS

GAP BYTE

DA TA B ITS o o o o o o o o

CLOCK BIT S -

ADDRESS MARKS

DATA BI TS

CLOCK BITS o o o

Figure 5: Examples of FM data encoding. In this scheme, clock bits alternate


n n n MARK TYPE
with data bits to provide constant resynchronization during data recovery.
The concept of FM, or "frequency modulation," comes about because a
string of 7s in the data bit, when interlaced with the clock bits, gives a differ- o 0 0 DELETED DATA

ent frequency of pulses than a string of as. The pulse train at the top of the o I I DATA
figure shows the data byte 70070770 encoded using this technique. The
middle section shows the format for a "gap" or zero byte. Gaps are used to I 0 0 INDE X

provide buffer regions between fields so that minor fluctuations in motor


I 1 ,0 ID
speed will not affect accuracy. Also shown is the format for address marks,
which serve to inform the system that the next byte is the beginning of a
data or address field. Certain clock and data bits of the address marks are
intentionally set equal to zero in order to differentiate them from other types
of bytes. The last three data bits in the address mark tell whether the infor-
mation that follows is deleted data, regular data, an index byte or an ID identify its type to the controller. Thi s
byte. encoding is easily accomplished through the
use of clock bits. Clock bits are written, as
head to the proper track. The controller shown in figure 5, prior to every data bit on
then waits for the desired sector address to a diskette . This is done to provide continu-
pass under the head before allowing the data ous resynchronization in the data recovery
transfer to occur. The data transfers are process. This in turn decreases the confusion
always of fixed length to avo id unintentional resulting from small motor speed variations
overwriting of other sectors. while decreasing the signal recovery band-
The IBM standard format is illustrated in width and improving the overall data rei i-
figure 4. It currently represents the most ability. Most data recovery circuits utilize
popular form of soft sectoring. The format a ph ase locked loop which provides a limited
is conservatively designed to protect against form of timing memory that can recover a
overwrites and to synchronize data transfers. data bit if the preceding clock bit is missing,
The format details the content of each of or the motor speed is slightly off. Those
the 77 tracks: data, address and control bytes which serve a special formatting func-
fields grouped together to form sectors. tion are called address marks and are rec-
Each sector contains a sequence of fields ognized by a pattern of intentionally
identical to those of the other sectors. These missing clock bits. There is a single pattern
fields are further broken down into individ- of clock bits that serves to identify all four
ual data bytes, each of which is coded to types of address marks; each type is iden-

38 BYTE December 1977


Circle 96 on inquiry ca rd .

.cf~~0:e~ _.
P R(llOl EM" 5(lLVE R S YS TE MS
/ I

PROM: Space for 2K bytes , 1702A . Store


bootstrap loaders and mon itors.
RAM: 1 K bytes , 21 02L1PC, 450 ns , low
power . NO NEED TO RELOCATE STACK
WHEN ADDING MEMORY .
CIRCUITRY: Replaces memory write logic
on AL TAIRTM and Imsai front panels.
REGULATORS: Two regulators. No need for
regulated power supply.
JUMP-ON-RESET: PROM program execu-
tion starts at any location in memory without
interfering with programs in any other por-
tion of memory .
S-100 BUS ; + 8 and -16 VDC ; PI C BOARD
SOLDER MASKED BOTH SIDES WITH
PLATED THROUGH HOLES ; ALL SOCKETS
INCLUDED.
OPTIONAL FIRMWARE: 512 byte monitor
for use with Tarbell tape interface on 2 ,
1702A PROMs .
PROM/RAM KIT WITHOUT PROMS $ 89
+ OPTION A - SIO Rev . 1 or 3 P + S $129
+ OPTION B - 2 SIO (MITS) $129
+ OPTION C - SIO 2 (IMSAI) $129
+ OPTION 0 - Pol y Video Interface $159
(Includes Video Driver)
California residents please add 6% tax.
IMMEDIATE DELIVERY FROM FACTORY
OR YOUR LOCAL COMPUTER STORE
T .M.

~. i:O~ C:~.li»t-iC inC.

Circle 12 7 o n inq u iry ca rd . BYTE De cemher 1977 39


trol fields. Roughly 46 gap bytes after the
Pressure Pad leading edge of the index photocell there
is an address mark called an index address
mark. The index address mark byte serves
as a landmark indicating that exactly 32
bytes follow before the first byte of the first
sector of the track . The length of the post
index gap is fixed at 32 bytes since it lies
between the index address mark and the ID
record of the fi rst sector, and neither of
these fields are user written. Consequently,
they are immovable and fixed in length.
Each sector has four major fields: the ID
record , the ID gap, the data field record,
and the data gap. The ID record, as its name
implies, provides the complete identification
for the sector. Its first byte is an ID address
mark wh ich perm its the system to get ready
to read the address information. Next are
the 8 bit track and sector address fields,
each followed by a byte of eight zeros.
Finally, a 16 bit cyclic redundancy check
word (see BYTE, March 1977, page 42) is
calculated to confirm error fre e address read
back. Note th at in the IBM format, the track
a nd sector addresses are defined by the
sector's physical location on the diskette.
Because of this the user cannot usually
modify the I D record. Following the I D
record is the ID gap, wh ich is 17 bytes
long. Its primary functions are to buffer
Read and Write Head
the length of the data field record and
to provide a place for the read and write
head to switch to write mod e before enter-
Photo 7: A floppy disk unit. The cover has been opened to reveal the disk ing the data area without disrupting any
drive system and its associated electronics. The floppy disk is inserted and other information .
removed at the front, as shown. Courtesy Innovex Corporation . The data field record is the heart of the
floppy disk, and without it none of the rest
of these fields would be necessary . The data
tified by the data bits in the byte . Address field consists of 130 eight byte bits in which
marks serve to inform the system th at the the owner of the diskette is free to record
next byte is the beginning of a data or programs, text, or any other information
address field. desired. Actually, only 128 bytes ofthe 130
Another special byte present in the IBM bytes allocated is free for user data; the final
format is the zero byte, which makes up the two bytes of the data field are reserved for
predefined gaps. Gaps exist to provide a another cycl ic redundancy check (CRe)
buffer region between other fields whose word. to permit error checking during
physical length may vary slightly, depending read operations. After the cycl ic redundancy
on the spindl e speed and software synchro- check word, there is another gap , 33 bytes
nization . Gap bytes contain only clock bits long, providing a head write-to-read transi-
which preserve the proper output frequency tion area and another safeguard against data
in the phase locked loop for synchronous spillover . The next sector's I D address mark
data recovery, starting with the first byte follows immediately after the data gap. Of
of the next field. course, the tangential speed of the diskette
Picking the index hole as a convenient is different for every track, being greatest on
starting reference , every track will contain track 00 and least on track 77 . Th is physical
the same sequence of data, address and con- fact, combined with a constant data rate of

40 BYTE Dec embe r 19 77


THIS IS tli ~ FMJTORf ~ ADIU ~ 90M 11£
(HRt~ ~TED BY Q.R t6 A.AJt-VJIt-II.

TI£ Jl.RJt-VD1-I1 LETS Y(lJ DIM OOlH lJftR AID 108' case
l.ETTERJ, 64 ~ fIR LIt£, 16 LItIS IIIP IN A~,
~ raMT. rffi CtlY S1~.OO!
The new A.Rfi-vtM-II is not a kit, but a fully asBled,
tested, btrnt-in board Ulith a 1 yea" WTal'ty. Ifld lu at
tJ1at you ~t! i.e use fast, 2)0 nsec RI'l'S to allru usi~ ttf
~VItfII with the Zli micro ~ ri. fnJ ttB!'s
a keyboM'd irp,rt.j)ort that allows use of al f6:I1 eraxid
keyboard, with +5J &-12V poo.er StoW 1ied f(l' k~ logic.

The Alpha-VDM-II contains 1K (1024) bytes of ran- Video output for any standard video monitor, or a
dom access memory , to which the processor can TV repair shop can easily modify your own set.
read or write , just as though the memory were an
The VDM comes with free terminal mode software ,
integral part of the system. As the information is
designed for teletype replacement. Options include
written , the contents of this on-card memory are
select blinking cursors , text line blanking after car-
displayed instantly without interrupting the opera-
riage return.
tion of the processor.
Also available: 4K RAM; $107.00 , BK RAM ;
All timing required to generate a standard video
$197.50 , BK(Z) fast RAM ; $217.50, Alpha-VDM ;
signal is provided by a crystal oscillator and as-
$107.00 , Graphics-VDM ; $137.00.
sociated digital circuitry. Centering of the display
on the monitor screen is controlled by drift-free Order direct , by check , BankAmericard or Master
counter logic . Charge (Add $1 .50 shipping , credit customers give
us all the card numbers , please and Ohio residents
The 1K by B static display memory buffer is directly
add 4 112% sales tax) or contact us for more infor-
addressable as RAM on the 8-100 bus. Displaying
mation. Kent-Moore Instrument Company, a sub-
data on the screen is accomplished by moving the
sidiary of Kent-Moore Corporation (founded in
data to be displayed in the first 512 bytes of the
1919), P.O . Box 507, Industrial Ave ., Pioneer, Ohio
Alpha-VDM memory. Therefore the display update
43554. (419) 737-2352 . Or, Kent-Moore of Canada,
is essentially instantaneous . Output routines can
246 8 . Cawthra Rd ., Mississauga , Ontario L-A3P2 ,
make use of all Memory Reference instruction , in-
Canada .
cluding one byte moves. (i.e. MOV M , reg .)
Multiple programmable cursor circuitry is built in .
All 1024 cursors can be displayed at one time , and
anywhere in the display. Thus , the VDM can display Kent-Moore
white-on -black or black-on-white - perfect for INSTRUMENT COMPANY
many video games! The VDM also features EIA
Circle 68 on inq uiry ca rd . BYTE Decemher 1977 41
Photo 2: A closeup of the
Shugart SA850 double-
sided floppy disk head
assembly. Each head in
effect acts as the pressure
pad for the other head.
Courtesy Shugart Asso-
ciates.

250 kHz, means that the physical bit density to as "dou ble density" options by manu-
on each track will be different, track 77 facturers . They work by a set of rules that
having the highest density . In order to pre- remove clock bits when those bits will not
vent peak shift distortion (see BYTE, be required for synchronization . Group
February 1977, page 36) on the more coded data is also more co mpressed than
crowded innermost tracks, the write current raw FM . All of these techniques require
del ivered to the head is reduced when more so phisticated electro nics than FM, and
writing on tracks 44-77. are sli ghtly less reliable because they remove
Most f lopp ies in use today use the fre- redundancy and at the same time have prob-
quency modulation (FM) encod ing described lems with peak sh ift due to more critica l
here. In the search for eve r high er per- timing requirements .
formance' several new codes have been Hard sec tol'in g is another high perform-
developed to increase the capacity and ance option increasing the storage capacity
transfer rate of floppy disks. These schemes of a diskette. By add ing sector holes tied
are MFM (modifi ed FM) and M2FM through the index ph otose nsor to a sector
(modifi ed MFM) which are usuall y referred ad dress counter circuit, the need for space

42 BYTE December 1977


wasting address fields is eliminated, increas-
ing the space available for data. Th e number
of data sectors is increased from 26 to 32
in most hard sectoring schemes.
There have been several complex large
scale integration (LSI) chips introduced,
such as Nippon Electric's NEe }.lPD372,
which contain most of the circuitry neces- The Dual Sided Floppy
sary to perform the formatting and device
One of the most promising develop-
control functions of a floppy disk controller.
ments in the floppy disk field is the
These chips obviously simplify the task of
new two-sided floppy. An example of
design ing a general purpose, inexpensive
this is the Shugart Associates SA850/
controller.
857 double sided floppy disk drive
Decoding a diskette's format codes is as
shown in photo 2. Details of the drive
far as some controllers go. They leave much
mechanism are shown in figure 6. The
work still to be done by software in the
price of the unit is approximately
host computer in order to retrieve data files
$750, and it is capable of storing up
from a diskette. At the other extreme some
to four times the data of a standard
controllers have dedicated intelligence in the
floppy disk drive (7600 K bytes unfor-
form of their own microprocessors. A floppy
matted or 7200 K bytes formatted) .
disk operating system will usually include a
The unit is available with double
general-purpose set of subroutines, called
density FM encoding capability (called
a device handler, wh ich takes care of what-
M2FM). A metal band driven by a
ever messy details the controller can't do.
stepper motor is used to position the
A partial list of the tasks required of a
dual head assembly. Photo 2 shows a
device handler for a floppy disk includes :
closeup of the head assembly.
• determining the track and sector
address of a desired file
• doing a seek to the desired track
• scanning sector addresses for a match
• reading, writing and buffering data
• error detection and correction
/-
If the files to be stored are longer than
one sector's worth of data, then there must /
/ /
/

/
/ --
be additional software, usu ally called a file I
/ I/
I I
management package. Th e file manager Double-Sided I I
Head Assembly I \
determines how to break up and reassemble \ \... ",,/

large blocks of data and maintain a directory \ ;-


\' ___. :;;.,,/'/
of where all the files and remaining free
space is located. The file manager is typically
used to invoke the device handler in order Magnetic Heads
to keep minor details transparent to the
user . The user merely has to call the file
",
"
manager and ask that a file identified by a "

name be either written or retrieved. From "


II
"
It
that point on, he or she can be completely
ignorant of the details of lookups, tim ing,
.,
.I'1

noncontiguous files, error retries and man y


othe co mplications required for floppy disk IiIt
I.
I'
,,/'
/
/
'\ //'
operation. Of course, transpare nt or not, ,I , /
'1 /
these two programs add quite a bit of over- Carr iage Way Double-Sided
head to the task of disk access: the host Diskette
computer must spend time (up to several
hundred milliseco nds) between the time
a re quest is made to the file manager and the Base Casting
time the access begins. I n most m icro- Mounting Plate
processors and minicomputers, this time
is precious and could almost always be spent
more profitably elsewhere . Figure 6: A diagram of the Shugart SA 850 dual sided floppy disk drive. Note
I n an effort to reduce unproductive over- the metal band which is used for positioning the head assembly. (Graphics
head time, many manufacturers are design- courtesy Shugart Associates.)

BYTE December 1977 43


ing and producing "intelligent" controllers,
which vary from dumb to very bright. The
label "intel lige nt" does not specify exactly
what the controller is capable of, but indi-
cates on ly that it can reduce the host's
Command Language
work load associated with floppy disk use.
Command Command Syntax Function These intelligent controllers usually take the
Allocate AXn Create an empty
form of a separate high speed dedicated
f i Ie of length microprocessor attached to the host's DMA-
n with name 10 bus. The host can issue a small number of
A*
Copy CXY Copy file X into macrocommands which the controller pro-
Y cessor can decode and execute on its own.
Delete OX Delete file X
Eject Ed Eject diskette
There are two paths to intelligence that
in drive d manufacturers are currently taking. The
File FuX Open file X and first, sim ilar to the channel computer con-
assign it
logical un it cept, is to provide a contro ll er capab le of
number u executing user-written mini-instructions
F u Clo se fi le asso- directly and independent of the host's main
ciated with u
F Close all files memory. These mini-instructions, above the
Gap Gd Compress data leve l of the controll er's microcode but
gaps on drive
d
below the level of typical user file
Input I ts d Read sector s on commands (GE T file, PU T file), provide a
track t on great deal of flexibility in terms of incor-
drive d
Kill K d seq Initialize disk ette porating the floppy into a preexisting high
on drive d performance operati ng system . Controllers
with optional
interleaved
of this type might be most efficiently used
sector in high performance minicomputer systems.
seq uence seq Here a sophisticated fi le manager program
Load LX Read entire file X
Name NXY Rename X by Y
can take full advantage of the flexibi lity and
Output ot sd Wri te sector s other features of th is type of controller and
on track t on at the same time reduce the host 's workload.
drive d
Position Pus byte Position open An example of this type of controller is
file associated Scientific Micro Systems' FD0300 family of
with u to the contro ll ers for various different computer
relative sector
and byte fami li es.
offset The second approach is to incorporate
Pu Report cu rrent
position of
the entire device handler and most of the
open file file manager programs into the contro ll er.
associated This method takes care of the hardware de-
with u
Query QX Report index tails and most of the software details of file
track info for management for the user. Howeyer, this
file X
Read Run Read n bytes
is at the expense of elim inating control of
from open fi le formats, directories and other things,
file u since the co ntroller usually has a fixed and
Ru Read variable
length record rather simpl istic approach to fi le manage-
from open ment. This is not necessarily bad for
file u personal microcomputer systems, in which
Save SX Write a new file
called X the goal is not necessarily tricky data file
Test Td Run diagnostics man ipulations but rather rapid and con-
on drive d
Write W u n Write n bytes to
venient access to a small number of files
the open fi Ie (such as assemb lers, compilers, sources and
associated object codes) . In fact, this type of contro ll er
with u
may be the best bet for meeting that sort
*File References (FR): A 4 part identifier for each of system requirement. An example of this
disk file consists of a name, version, type and type of contro ll er is the PerSci 1070. The
drive number. Identifiers consist of alph anumeric
characters separated by specia l punctuation char-
1070 commun icates with its host largely
acters. "Wild card" and partial file constructions by single character ASC II codes wh ich
are all owed. signify major fi le operations such as S for
seek, D for delete, and G for get (read).
The complete list of 1070 op codes is
Table 2: The command set for the PerSci intelligent fair ly powerful, as can be seen in tab le 2.
floppy disk controller. Addi ng inte lli gence to a floppy disk con-

44 BYTE December 1977


•p---------------.
• Computer Enterprises •
Only •

troller costs about $200 to $300. This


brings the total cost to about $400 to $600, •• Has All 3: ••
matching the cost of most floppy disk
drives. Including another $200 for a power
supply, cables and a cabinet raises the cost
of a floppy disk system to double that of
• Ixll. LowestPrices •;
:
many personal computer systems. Many • Ix12. Reliability

personal computer systems (the author's
included) are little more than workshop ; 1X13. Speediest :
curiosities. The addition of a fast mass
storage device would transform them into • Shipping.
convenient and powerful interactive tools.- • North Star Horizon Computer System ••
• The Complete Z80A System
• *Z80A CPU at4 MHZ •
GLOSSARY • * 16K 200 nsRAM •
* Serial II 0 * 1 or 2 •
Address mark: A special byte used for format-
ti ng data (see fi gu re 5).
• micro disk drives Credit C h •
• * DOS and BASIC as t •
Card D'lSc~)Un
Bail: A solenoid operated mechanical device • Price PrlCe
used to lift the pressure pad away from the
floppy disk during insertion and removal. • Horizon 1 (1 drive) kit $1497 $1439·.
I Horizon 1 (2 drives) kit $1871 $1799.
Cartridge: A square plastic sleeve used to
protect the floppy disk.
• THE standard of Video •
• Display Terminals-
Data field: That portion of a sector in wh ich • Lear Siegler ADM-3A Kit $ 770 $ 740.
data can be stored . I SPECIAL TOTAL SYSTEM •
Floppy disk: A flexible plastic disk used for
I combination •
bulk data storage and retrieval .
SAVE $50 MORE- •
• Horizon 1 and ADM-3A •
FM encoding: A floppy disk encoding tech- I khs $2214 $2129
nique in which clock bits alternate with data • Horizon 2 and ADM-3A •
bits in a serial pulse train. • kits $2589 $2489.
Gap byte: A data byte consisting of all zeros, 1--------------------1
• SEND FOR YOUR FREE COpy •

.
used as a buffer between various regions on the

.
floppy disk.
• OF COMPUTER ENTERPRISES.
• DISCOUNT CATALOG •
Hard sectoring: A technique of sector identifi-
cation in which each sector is assigned a unique
physical hole on the disk, and 32 sectors can be
--------------
polymorphic VTI/64 kit
IMSAI 8080 with 22 slots kit
$186
$614
$179
$590 •
put in a single floppy disk track. Since this • IMSAI Factory Assembled 16K RAM $464 $446
form of sectoring requires a unique hole pat- IMSAI Factory Assembled 32K RAM $748 $719 •
• IMSAI Video Interface VIO-B kit $234 $225
tern and a different type of controller, it is IMSAI Video Interface VIO-C kit $278 $267 •
incompatible with soft sectored disks. • Seals 250ns 8K RAM kit $250 $240
TDL ZPU kit $252 $242 •
• 4K Expansion for TDL Z16K $ 99 $ 95
Head: An electromagnetic device used for SEMI 4200 Chips $ 13 $ 12
reading, recording or erasing data on a magnetic • TDL 8K BASIC Paper Tape $ 47 $ 45 •
TDL 12K BASIC Paper Tape $ 89 $ 86
medium such as the floppy disk. • TDL Macro Assembler Paper Tape $ 47 $ 45 •
• Shipping charges: $10 per CPU on larger units; $1.50.
Sector : One of several fixed length subdivisions
of a floppy disk track used for storing data and
per kit. $2.00 min. per order. I
• Delivery is stock to 30 days on most items. Shipment is
10 information. Typical mechanisms use 26, 32
• immediate for payment by cashier's check. money or- •
or a similar small number of sectors per track.
• der or charge card. Allow 3 weeks for personal checks.
to clear . N .Y. State residents add approp. sales tax . •
Soft sectoring: A technique of sector identifi-
• Availability, prices and specs may change without
cation in which only one physical hole on the
disk is used to synchronize the beginning of a
track's data. Then, the remainder of the track is
: noti ce WriteOr Call ;

! i
divided into sectors which contain the sector

~TM
identification as part of the fixed format of
data on the track. Only 26 sectors per track are
possible due to the formatting information
which must be recorded with each sector . This
format is incompatible with the hard sectored
format which achieves higher data content. I Fayetteville, N.Y. 13066 •
Track: One of 77 concentric rings of data on a • P.O. Box 71 I
floppy disk. The rad ial distance between tracks
• Phone (315) 637-6208 Today! .I.
._--------------
is 0.0213 inch (0.05 cm) .

Circ le 28 on inquiry card. BYTE Dccemh c r 19 77 45


Gerry Wheeler
Computer Communications Network Group
University of Waterloo
Waterloo, Ontario CANADA

Undocumented M6800 Instructions

According to Motoro la there are 197 Th e store immediate in stru ct ions may
va lid operat ion codes fo r the M6800 mi cro- require so me ex pl anat ion. Co nside r for a
processo r. Th is mea ns that of the 256 moment the load imm edi ate in structi ons.
possi bl e 8 bit combin ations, 59 are ca ll ed Th ese in stru ctions take the byte fo ll ow ing
invali d instructio ns. the op co de and put it in to th e appropriate
Have you, li ke myse lf, eve r wo nd ered register. Th erefore the store imm ediate
about th ese in vali d codes? What would in structi ons should store th e register into
happe n if yo u acc identa ll y executed one? the byte imm ediately after the op code,
It does happen so metimes, of cou rse, when- righ t? Th e onl y flaw is that there is a hole
ever your latest software creat ion takes an left after th e instructi on, and the regi ster
unexpected leap in to neve r never land and is stored after th at (see figure 1). Note that
begin s execut ing rando ml y set me mory the nex t in struction execu ted is the byte
locat ions. What are those holes in the op fo ll owing the newl y sto red register. Thi s
code chart anyway? means th at the sto re immedi ate A and B
Th e myste ry of those holes he ld my in structi ons are th ree bytes long, and the
atte nt ion un til the suspe nse was unbearab le. store imm ediate X and SP instru ctions
To sati sfy my gnaw in g curiosity I exec uted are fo ur bytes long!
th ose codes deliberate ly, defy ing ma n and Now for the bi g surprise. Thi s one has
Moto rola! And I got so me interesting results. bee n du bbed HCF fo r Halt and Catch Fire.
So me of those codes seem to be just Well, almost. Wh en thi s instru ction is run
NOPS: they do nothin g. Others change the the o nl y way to see wh at it is do ing is wi th
flags in the cond iti on co de reg ister accord in g an osc ill oscope. From th e user' s poin t of
to so me pattern that is, as yet, unde- view th e machine halts and defies most
ciph ered. attemp ts to ge t it restarted. Th ose persons
But let me te ll you about a couple of the wi th indi cator lamps on th e address bu s
interesting ones. See tab le 1 for desc rip t ions will see that the processor begins to read all
of six in structions that Motoro la d idn 't te ll of memory, sequ entiall y, ve ry q ui ck ly. In
us about. Th e mnemoni cs are, of course, effect, the address bus turns into a 16 bi t
assigned by me. counter. Howeve r, th e processor takes no
Th e first o ne, NBA, is se lf-ex pl anatory . noti ce of what it is reading. . . it just reads.
Th e A and B acc umul ators are AN Ded to- Th e onl y way ou t of thi s race is with the
geth er, and the resul t is stored in A. I had RESET lin e. Th e mac hin e ignores the IRQ,
to use NBA as the mn emo ni c because A BA NMI and HALT lines. For all intents and
Table 7: A list of six un- is already used by Motoro la. Thi s instruct ion purposes th e processor has halted and ca ught
documented M6800 has bee n checked out thoroughl y, and see ms fire! It is quite possibl e th at th e HCF
instructions and their to be perfect, eve n sett ing the co nd it ion in stru ctions are put into th e 68 00 design
definitions. The operations codes co rrectly. Th e onl y uncertainty is its inte nti onall y in th e in te rest of prod uction
and operation codes which execution t ime. testi ng of newl y fab ri cated processor chips.
in voke them are defined in
the column labelled Re-
sult, and the next instruc- Hexadecim al Next Instruction
tion address is given in Name Mnemonic Op Code Result At
each case. Halt and Catch A N D acc umul ators NBA 14 A.B-7A PC + 1
Fire (HCF) does not have sto re ACCA, im med iate ST AA 87 A4'C+2 PC + 3
a "next instruction " sto re ACCB, im med iate STAB C7 B4'C+2 PC + 3
store SP, immediate STS 8F SPh4'C+2;SPI4'C+3 PC + 4
address because the pro- store IX, im med iate ST X CF IXh4'C+2;1XI4'C+3 PC + 4
cessor hangs up. Halt a nd Catc h F ire HCF 9 D o r DD see text Not appli cab le

46 BYTE Decemhe r 1977


Circle 96 on inquiry card.

EMO-RY CAPACITY EXCEED_ED


Dn" ~""TIVE ACTION-: AOOION MEMORY
i!:I:y Problem Solver Systems.
-
Inc.
FEATURES .:e •••••••••••••~ ••
- ~ - "16K Sta-m;=R AM . KM8B
~250nS=:-& 4501-(& Versions 8K Static RAM 450nS
~ ADOAEs:sING in a1!Y;4K boundaries • ADDRESSIt>ln select in any OK tJoundary =
~BANK-SRECT ull~ banks • PROVISlOti- for Interrupt
r MEMOlrY PROTEG'Fj K increments • MEMORY PROTECT
• BUFFERING all addfe-ss and data lines • BUFFERED-data and address lines ~
,.. WAIT SJATES O- ~ .. PIN COMPATIBLE wilh KIM·1. which allo~or
-.:CSEGM_~ijT DISABL~u p to 6 1K banks a Bussed System =-
• SOL PFrnNTOM ~ • SPECIAL TOGic which allows monitor program
10 operate:with lull 65K memory -_

v··- 1 ! 1 ." 1 "l\- .\\ \ . \ \


f ur-rr--- .-
- f

'1- "1 '-


" r' . "r ! J,;~r- l )~.' '\-' \ \ \ .
,r -
'
~ .... "'-;!- -
rrrrr- T-'-' ."rt-"-·\ . '\ '- \
• • ~,~

'.' '" .~. ~-. i.'",' rfp, '. 'r .... ~_2G.t.. <:;:o: ~ •• ~:-..~

This one instruction might provide the auto- Motoro la's definiti o ns. Bu t these warnings
matic test equipment with a quick initial ap ply only to programs to be distributed
indication of whether the particular pro- in som e way; if your perso nal processor
cessor chip is a total dud , or a prospect executes these instru ctions and you find
for more detailed automatic testing and a use for them in yo ur own handcrafted
verification of defect free operation. assembly langu age programs, then by all
While these instructions are now docu- mea ns take adva ntage of th em.-
mented, some warnings must in all fairness
be stated lest the user run into problems.
MSB LSB
Th e primary warning is that there may be a
reason that they were left undocumented:
they may not work with every 6800 pro- ICFI? ?Ir rlr rio pi
cesso r, so any software intended for pro-
duction, distribution to friends or for
T'"-------
publication should never use these instruc-
tions. At different times during the history
of M6800 production at Motorola, revisions
and ch anges in the production masks may
alter the effects of these instructions with-
out any warning to users ; after all, an
undocumented instruction is not there from
IL..-----------------("CF" L..
____________
NEXT INSTRU CTION

INDE X REGI STER STORED HERE

DON'T CARE

= STORE INDEX, IMMEDIATE)

Motorol a's point of view, so why tell the Figure 7: The "Store Index Immediate" instruction requires four bytes of
users about changes in its definition? Simi- memory, as illustrated here. The operation code hexadecimal CF is followed
larly, when 6800 parts are acquired from by one byte which is "don 't care" as far as the operation of this instruction
suppliers other than Motorola, use of ind e- is concerned. The third and fourth bytes of the operation receive the 76 bit
pendent designs for the production masks address value from the index register in the normal order. In this diagram, rrrr
by the seco nd source leaves definition of is the 76 bit target for the immediate store, and OP is the first byte of the
these undocum ented instructions unsp ec i- next instruction. Operation of the "Store Stack Pointer Immediate" instruc-
fied and not necessarily identical to tion is similar.

BYTE Decembe r 1977 47


A $19 Music Interface

(And Some Music Theory for Computer Nuts)

Bill Struve it is for a computer to generate notes on this


800 Madison Av scale.
Memphis TN 38163 Pianos, electronic organs, and synthe-
sizers are all tuned to a slightly different
scale, the equally tempered diatonic scale.
"It's all Relative." So it is in physics as J 5 Bach (1685-1750) played keyboard in-
it was in music. About 600 BC Pythagoras struments and composed music which
discovered that strings under equal tension req uired changing key signatures (which
sounded harmonious if their lengths were we'll define by example later in th is discus-
in ratios of small whole numbers like 2/1, sion), during the performance. But changing
3/2, 4/3, 5/3, etc. Many experiments key signatu res on an instru men t tu ned to
throughout the world since that . time have the pure diatonic scale usually required
told us that in music, it is the ratios of the retuning the instrument as you'll see in a
frequencies of the notes that count, not the moment. Bach found his way out of this
absolute frequencies. It has only been in dilemma by slightly mistuning his instru -
recent times that there has been inter- ments , a technique which had recently been
national agreement that A above middle developed in Europe. This tempering was
C is 440 Hz. Musicians call the "distance" done so that all key signatures were equally
between two notes an interval. Musical inter- out of tune, or equally tempered. When
vals are actually the ratios of the frequencies this is done, the ratio of frequencies of any
of two notes, and are so important in music two adjacent notes turns out to be the
that many of the ratios, or intervals, have twelfth root of two (the value 1.0594631
names. For example, 2/1 is called the octave, noted mathematically as l¢Or calcul ated
3/2 is called a perfect fifth, 4/3 is called a in FORTRAN-like languages as 2** (1 .0/12)) .
perr"ect fourth, 5/3 is called the major sixth, He chose this ratio because there are twelve
etc. These names make sense to musicians half steps per octave and the octave is a
because th~y represent the distance between ratio of 2/1. Only the octave is kept purely
two notes on the musical scale like do re mi harmonic in this scale: Th e perfec.;t fifth is
fa sol la ti do, which might be numbered 1 0.11 percent low, the perfect fourth is
through 8, respectively. An octave is do to 0.11 percent high, the major sixth is 0.91
do, a perfect fifth is do to sol, a perfect percent high, etc. Since the most discrim -
fou rth is do to fa, a major sixth is do to inating ear can only perceive differences
la , etc. The pure diatonic scale was con- in frequency when they are more than
structed to maximize harmony between 0.2 percent, the most harmonious inter-
notes. This scale has been called the natural vals (the octave, the fifth and fo urth) are
scale, and is one of the two most widely indistinguishable between the two scales.
used scales in Western music. Many unac,- But what Bach and the world gained by
companied singing groups sing on this scale giving up a little harmonic perfection 'was a
because it sounds right to them , even though quantum jump in the versatility of fixed
they may not be able to tell you the dif- tuned instruments (and an added quantum
ference between pure diato nic and tempered jump in the time and skill required to
diatonic scales. Later you'll see how easy pro perly tune one).

48 BYTE December 1977


FIRST EASY WAY TO BUY
A MINICOMPUTER
MINI 12 SPECIFICATIONS

Word Length 12 Bits


CPU 1M 6100 fully static CMOS BUT
device
Instruction Set Identical to the Digital
Equipment Corporation
PDP-8E
HOW'M I GONNA PAY
Clock Rate 4MHZ FOR IT?
Major State Time 500NS
Serial interface 20 MA current loop
standard, RS-232 TLF offers 3 purchase plans:
Optional
1) CASH with order - and receive
Baud Rate 110 Standard, Others
optional
a BONUS CERTIFICATE
Memory 8192 words standard , worth $100 on selected MINI
expandable to 32 K words 12 accessories.
Control Panel PDP-8E compatible, with 2) Send $350 with order and pay
additional functions balance of $545 when ready to
Parallel Interface 12 input and 12 output
ship or COD to postman.
lines
Real Time Clock Programmable, from 10 3) NO INTEREST EASY
MS to 40.95 seconds PAYMENT PLAN
Counter Counts External Events
Expansion Bus 50 line, TTL compatible
terminated bus structure
Binary Loader ROM res ident.
Monitor Bootstrap ROM resident.
Power Requirements 100/ 120/200/2 40 VAC,
50/60 HZ HERE'S HOW IT WORKS:
Dimensions 2" high x 13" wide x 14"
deep

STEP 1
Fill in coupon below STEP 2
and mail TODAY When your MINI 12 is ready
with your check for to be shipped you send us
$195 to: $200 or pay postman COD.

TLF
P.O . Box 2298
Littleton
Colorado 80161
STEP 3
The balance of $500 is paid
in 4 equal monthly
installments of $125 each.
You can use your BAC/
VISA, Master Charge or TOTAL PRICE ONLY $895
American Express too!
Make all cheques payable to WHAT COULD BE
TLF Corporation. SIMPLER?

j--------------------------------------, ®TLF 1977

Please enter my order for _ _ _ _ _ MINI 12 Computers @ $895 each as per the plan checked below:
1 0 Enclosed is $895 . I want the Bonus certificate. 0 Send more information please.
2 0 Enclosed is $350 . I will pay $545 when you're ready to ship or COD when delivered.
3 0 Enclosed is $195 - I will pay $200 when you're ready to ship and 4 monthly payments of $125 ea.

_ Check __ Money Order _ _ BAC/VISA _ _ Master Charge _ _ American Express


Card II Interbank II Exp Date _ _ _ _ _ _ __
Signature _ _ _ _ _ _ _ _ _ _ _ _ _ __ _ _ _ _ _ _ _ _ _ __ _ _ _ __ _ _ _ _ __
Name _ _ _ _ _ _ __ _ _ __ _ _ _ _ _ _ _ _ _ _ _ __ _ _ Phone _ _ _ _ _ _ _ __

Address ~--------------------------------------
And your wife will be happy City _ _ _ _ __ _ _ _ _ __ ___ State _ __ _ _ _ _ _ _ _ Zip _ _ _ _ _ _ _ __
too! In fact she might just
buy it herself (for you of TLF Corporation P .O . Box 2298 Littleton Colorado 80161
course) for Christmas. L _____________________________________
Telephone 303 922 6241 Telex 454541 _

Circle 121 on inquiry card. 8YTE December 1977 49


Harmonious Computers should be as clear as mud! Organization of
Microcomputers can give us both per- facts into a pattern often does wonders for
fection and versatility. Since division by the intellect, so let us organize all this in-
small whole numbers is trivial with digital formation into one table (table 1) and call
electronics, it is at first sight more practical it the "Key of C Major" so that musicians
to use the pure diatonic scale when digitally will think we are talking about music instead
generating music, just as it has been more of computers.
practical to use the equally tempered dia- You should notice a couple of things
tonic scale for music performed on classical abo ut table 1. First, at the bottom line
keyboard instrum ents. Changing key signa- you'll see that I've added a new concept:
tures in computer generated music is no the musician's idea of step size. Th e steps
problem, since the entire instrument may be come in two sizes, whole and half. Remem-
"retuned" in a few microseconds. beri ng that everything is relative, we can talk
The greatest advantage of the m icro- about step size in terms of the ratio of the
computer is the ease with which anyone frequencies of the pitches, or notes. In the
can produce music . Years of time con- pure scale, a half step up in pitch is an in-
suming practice are not required. Applica- crease of 16/15 in frequency and a whole
tion of computers to music may change step up is an increase of 9/8 or 10/9. In the
music from an activity primarily dominated tempered scale all half steps up are an in-
by motor skills to one dominated by the crease in frequency by the twelfth root of
intellect. Composers no longer have to be two (21/2), and all whole steps up in pitch
skilled at playing an instrument in order increase the frequency by the sixth root of
to work out their compositions. two (21/6) which is two half steps:
Do, re, mi, fa, 50/, /0, ti, do! North 2 1 / 12 x 2 1/12 = 22/12 = 2 1/ 6
American, English, and Italian children all Secondly, you should note that the dif-
learn how to sing the scale. Most . of them ference between the pure and tempered
also learn other representations of the same notes is imperceptibl e for four of the eight
musical scale like: C D E F GAB C, and: notes. You may be wondering why 440/440
= +.91 percent instead of 0 percent an d why
261.6/264 = 0 percent instead of - .9 1
percent. To answer this, look at the "Fre-
quency Ratio to e" lines and recall that
everything is relative so: C(tempered)/
C(pure) = 1/1, or 0 percent and A(tem-
pered )/A(pure) = 23/ 4 /(5/3) = 1.6818/
1.6667, or +.91 percent.
Rarely if ever are any of these youngsters To make this last point clear let 's make a
exposed to: 264 Hz, 297 Hz, 330 Hz, 352 do to do scale from A = 220 Hz to A = 440
Hz, 396 Hz, 440 Hz, 495 Hz, 528 Hz , or Hz, table 2. I could have made C(tempered)
to: 1/1, 9/8, 5/4, 4/3, 3/2, 5/3, 15/8, 2/1. = C(pure), but that would violate an inter-
These two sets of numbers are also repre- national agreement about A = 440 Hz!
sentations of do, re, mi, fa, 50/, /0, ti, do in Besides, this way I can tell you about a
the pure diatonic scale. Equally valid (es- scale in the minor mode. We'll impress
pecially for the piano) representations of the musicians looking over our shoulders
this simple do to do musical scale are; by calling table 2 "Key of A Minor."
261.6 Hz, 293 .7 Hz, 329.6 Hz, 349 .2 Hz, The two major differences between these
392 .0 Hz, 440 Hz, 493.9 Hz, 523.3 Hz, two keys are the beginning note and the se-
wh ich are related to each other by powers quence of whole (W) and half (H) steps up
of the twelfth root of 2: 20 / 12 (=1.000), the scale. Both the starting place and the
22/12(=1.1225), 24 / 12 , 25/12, 27 / 12 , sequence are specified in the nam e of the
29/12,211/12,212/12 (=2.000). As you key. The key of C major begins with C and
may have guessed by now, these last two proceeds in the major mode sequence of
sets of numbers are the frequencies and steps, WWHWWWH. The key of A minor
frequency ratios of the equally tempered
scale of do to do played on a piano. Article continued on page 54
So far, so good, but if you are as fast as
I am at absorbing this material, by now it Text continued on page 58

50 BY TE Doco mbo' 1977


THE AJ 8411/0-A COMPLETELY
REFURBISHED IBM SELECTRIC
TERMINAL WITH BUILT IN ASCII
INTERFACE-JUST $995
Features:
• ASCII code • High quality ~electric printing
• 14.9 characters per second printout • Reliable, heavy duty selectric
• Special introductory price-$995 mechanism
(regularly $1195).75% discount over • Off line use as typewriter
original price of new unit.
• Choice of RS 232 Serial Interface or
Parallel Interface (requires 3P + S)
• Order direct from factory
• 30 day warranty-parts and labor
• Nationwide service locations

AJ 841 WARRANTY AND SERVICE IS


AVAILABLE IN THE FOLLOWING CITIES:
Los Angeles Cincinnati
Philadelphia Detroit
Hackensack Dallas
Columbus Houston
Cleveland Atlanta
San Jose Chicago
ANDERSON
Boston New York .JACOBSON
Washington, D.C. Anderson Jaco bson, Inc., 521 Charcot Avenue
San Jose, California 95131, (408) 263-8520

r--------------------------,I
HOW TO ORDER AN CLIP AND MAIL WITH ORDER
I AJ 8411/0 TERMINAL SELECT EITHER: I
I 1. Make cashier's check or money order pay- o0
RS 232 Serial Interface
Parallel Interface (requires 3P +S) I
I Address your request to:
able to : ANDERSON JACOBSON, INC.
Number of units @ $995. each $ _ _ _ _ _ __
.. I
I Personal Computer Terminal
Local Sales Tax $ _ _ _ _ _ __
I
I ANDERSON JACOBSON, INC.
521 Charcot Avenue
Shipping and handling $35.00 each
(excluding San Jose) $ _ _ _ _ _ __
I San Jose, CA 95131 I
2. Upon written notification, pick up your ter-
TOTAL $ I
I ofminalthe atabove
the AJ service office located in one
NAME
cities . Allow six to eight weeks -------------------- I
I 3. forAfinaldelivery. ADDRESS
check of your unit will be made at the ------------------- I
I 4. Forlocalwarranty
AJ service office attime of pick up.
CITY STATE ZIP _ __
I
IL __________________________
or repair service, return unit
to designated service location.
PHONE ( ) _ _ _ _ _ _ _ _ _ _ _ _ _ _ __ ~

Circle 3 on inquiry card . BYTE December 1977 51


FROM THE INVENTORS OF SOMETHING NEW, SEX
THE WORLD'S BEST KEPT SECRET.

Exactly one year ago, we introduced SEX to BYTE Magazine with this little
ad. Your response was tremendous - much greater, in fact, than to any
of our other larger ads which made no mention of sex. Researchers at the
SEX psychology department of TJU say that, because the readers of. BYTE are
not a controlled group (some irresponsible parents even let their children
read the magazine), no statistically valid conclusions can be drawn. We
Now what self-respecting company believ~, however, that we may have stumbled across something of even
resorts to a cheap trick like this to
get your attention. more Interest to computerists than the old 8080. It is, in fact, the world's
best kept secret.
WEDO
And it works, doesn't it? So does
our new 16K STATIC RAM memory What is it you ask? First, please keep this confidential. If word got out to
board. It is fully assembled and
tested and plugs into your SWTPC too many people, it might depress the market for late model 8080's so
6800 microcomputer-allowing you much that one of th.ose high priced units could be purchased for less than
to expand your system to 48K. The
PRICE?? That's the sexy part. It's a comparably equipped new economical 6800 with automatic bootstrap
so BARE we can only reveal It
through the mail. (Sent in plain
and power disc drives. The world's greatest secret is: NOW THERE IS A
brown wrapper so as not to offend LOT OF GOOD SOFTWARE FOR THE 6800. For instance, there are two
a non-computer oriented spouse.) disc based editors and three assemblers available for the SMOKE SIGNAL
Name _ _ __ _ _ __
BROADCASTING BFD-68 disc system. A disc based BASIC COMPILER
Sireet _ __ _ _ _ __ with data file capability is available and so is a BASIC INTERPRETER with
City _ _ _ _ _ _ __ data file capability. We also have a DISASSEMBLER with TRACE capabil-
Stale & Zip _ _ _ _ _ __ ity, a SOURCE GENERATOR and a smart 1K MONITOR program with I/O,
tape load and punch, breakpoint, single step capability and much more.
SMOKE SIGNAL BROADCASTING If you're a newcomer to computing and want to learn what BASIC is all
P.O. Box 2017
Hollywood, California 90028 about, we have a LEARN BASIC package that leads you from basic BASIC
to advanced BASIC in 12 easy lessons. All this plus the best microcom-
puter disc operating system around.

SUPER EDITOR: The SE-1 is a content oriented editor with from a program when you only have the object code. $19.95
string search and block move capability _ Changes may be on cassette. Add $5.95 for diskette.
made by referring to line number or string content or a com- SOURCE GENERATOR: The SG-1 is a very fancy disassembler
bination of references. Naturally, it is designed for file trans- that takes object code in memory and creates a listing and
fers to and from the BFD-68 so the size of the edited file is outputs source code to cassette tape or the BFD-68 in either
limited only by the capacity of the diskette. $29 on diskette SWTPC CO-res or SSB Editor format. The source code gener-
or cassette. ated includes labels so that the source file created may be
SUPER ASSEMBLER: The SA-1 inputs source code from a file edited and re-assembled with whatever changes the user
on the BFD-68 and outputs object code to disc file. Some very wishes to make. $24.95 on cassette. Add $5.95 for diskette.
large programs can be assembled with the SA-1 since the BASIC COMPILER: The Software Dynamics Basic Compiler has
source code resides on disc and is not resident in memory. been adapted for use on the BFD-68. This is a super fast busi-
Assembly listings include alphabetized and tabulated symbol ness oriented BASIC with PRINT USING statement, disk data
table: $29 on diskette or cassette. file capability and ten digit accuracy. Because it is a compiler,
Complete source listings are included for both the SE-1 and you can develop business programs, compile them and deliver
SA-I. Order both for $53 and save $5. an object module, thus, keeping the BASIC source program as
SMARTBUG - A CURE FOR MIKBUGITIS: A super smart your trade secret. Write for more information.
Motorola-Mikbug replacement that preserves almost all Mik-
bug entry locations so your present programs will run without LEARN BASIC is a 12 lesson programmed course in BASIC .
modification . Uses ACIA for baud rates to 19,200 and includes It takes the new owner of a 12K or larger 6800 computer sys-
many additional features including a software single-step trace tem from beginning BASIC to advanced BASIC in easily under-
command . Manual and source listing for $19 .50. stood steps. Requires SWTPC6800version 2 .0 BASIC. Includes
65 page manual. $39.95 on cassette or diskette.
TRACE-DISASSEMBLER: The TD-1 in the trace mode allows
you to trace through a program and monitor and change the A BASIC INTERPRETER for the BFD-68 with data file capa-
registers or memory as you go along. In the disassembler bility is available for $39.95 from Computerware, 830 First
mode, it provides you with a way to make a program listing Street, Encinitas, CA 92024. Write them for more details.

52 BYTE De cember 1977 Circle 104 on inquiry card.


FULLY ASSEMBLED PRODUCTS FOR THE
TRULY COMPATIBLE 55-50 6800 BUS.
Our Basic Floppy Disc System (BFD-68) must, in all modesty, be
called superb_ It comes completely assembled with a disc con -
troller that is plug compatible with the SWTPC 6800 _The cabinet
and power supply are capable of handling up to 3 Shugart Mini-
Floppy Drives_ One drive is included in the price of the BFD-68
and others may be added easily at any time _ Or you may save
money by ordering the dual -drive BFD-68-2 or triple drive BFD-
68-3 (pictured) _ Price: BFD-68 $795. BFD-68-2 $1139. BFD-68-3
$1479. SA-400 Drive $360_
The BFD-68 includes our Disc Operating System Software_ The
software provides direct commands to name and rename f iles,
transfer memory to disc and disc to memory and to automatically
jump to the starting location of any program loaded from disc to
memory _ The direct command names are : RUN, GET, GETHEX,
CLOSE, SAVE, DELETE, APPEND, RENAME, COPY, LIST, LINK and PRINT _ In addition , the Disc File Management subroutines are
available to create files under your program control.
A bootstrap PROM is included on the controller board to initiate the Disc Operating System which loads int o a 4K memory board
located at 7000 or optionally at DOOO_ Thus, you can be up and running from a cold start in just a few seconds_
SUPER SOFTWARE: Free patches are provided for SWTPC BASIC version 2 _0 and Co-Resident Editor/Assembler. These patches
allow the SAVE and LOAD commands to work with the disc or the cassette at your option _
See the opposite page for more details on the Super Software available for the BFD-68 _

M-16-A: The M-16-A is a single power supply fully STATIC 16K


memory system_ It is fully buffered and requ ires only half the
power of a similar size system using low power 2l02' s_ With the
M-16-A, you can expand your system to 48K, add one of our
EPROM boards, our BFD-68 disk controller board and still have
room to spare _The M-16-A is switch selectable to any 4K starting
address and hardware write protect is included_ Price $529.

P-38: The P-38 series modules are available in 3 configurations.


The basic P-38 is an 8K EPROM board containing room for 8
2708's. Like all our products, it is completely assembled . As a
bonus, one 2708 is included which contains SMARTBUG , our lK
Mikbug compatible monitor program. The P-38 is switch select-
able to any 8K location_ P,-ice $179.
The P-38-1 contains all the features of the basic P-38 plus a
built in interface to the POP-l and the Oliver Paper Tape Reader_
Price $229.
The P-38-FF is a plug-in interface card for the ICOM Frugal Floppy
and the other ICOM full size floppy disks . It contains all the fea-
tures of the P-38-1 plus an additional 2708 with the ICOM boot-
strap software. ICOM's 6800 FDOS-II is included on diskette_
_ Price $299.
The PS-1 power supply kit provides plus and minus 16 volts required for the P-38 series boards _ Also, it allows a wiring modi -
fication to be made to the 8 volt supply that will increase its output by one volt. Price $24.95.

NEW PRODUCT: The POP-l is a 2708 EPROM programmer that is contained in a separate cabinet outside the 6800 and connected
by ribbon cable _The POP-l uses a separate self-containe d power supply for the programming voltage_ There is plenty of power to pro-
gram 2708's from any manufa cturer - no need to choose only the most expensive 2708's . The POP-l interfaces to the SMOKE
SIGNAL BROADCASTING P-38-1 EPROM board and complete software is provided on cassette_ The software allows you to duplicate
an existing 2708 (making changes if you wish ) or t o transfer a block of RAM to EPROM_ An adaptive programming technique is used
that allows most 2708 's to be programmed withi n 15 seconds . Instructions are also provided showing how to modify the POP-l
to program the TMS 2716 . Pri ce $129.
ALL OUR PRODUCTS EXCEPT THE PS-l ARE COMPLETELY ASSEMBLED . MASTERCHARGE AND VISA CARDS WELCOME .

Circl e 104 on in qui ry card. BY T E December 1977 53


Continued from page 50

Key of C Major

Interval Major Major Perfect Perfect Major Majo r


From C: Un ison Second Third Fourth Fifth Sixth Seventh Octave

Sung: do re mi fa sol la ti do
Cal led: C 0 E F G A B C

Wri tten: ...-:I;=---_+_---r--t__--~-_+_--t+__+--_+l'--+-:=_:I_'_-t____4_J_-+_-"""""-___1

Units

Frequency
Pure: 264 297 330 352 396 440 495 528 Hz
'"
'c Tempered: 261.6 293.7 ,329.6 349.2 392.0 440 493.9 523.3 Hz
-: 'u'" en
'" ~ .~ E
'u
Frequency
'iii o E <I> R~tio to
>
~
0. ..'"
<1>1-
~

:2:
C for.
Pure: 1/1 9/8 5/4 3/2 5/3 15/8 211 HzlHz
' Tempered:, 2 1/6 2 1/3 27/12 2 3/4 2 1 V12 2 HzlHi
Temperedl
Pure 0 %
'"
'c
'" '"§
'u
.~
:2:
t! C Step Si ze:

Table 7: The key of C major. There is a direct equivalence between a musician's terminology for musical concepts and the
physicist's or mathematician's precise measures of the idea. One of the attractions of music is this low level precision in volved
in the creation of high level emotional sensations.

54 BYTE Dec ember 1977


~'U~{j~TAl REEEflRCH

NEW CP/M™ SOFTWARE IRPC, IRP, REPT provide repetition of


source statements under control of a list of
space is used for the symbol table, resulting in a
minimum usable memory size of about 20K.
Digital Research is pleased to announce the characters or items to be substituted each
-PLIASE NOTE: MAC is a copyrighted product of Digital
availability of our new macro assembler called time the statements are expanded. This Research and may not be copied for use by any
"MAC" which is upward compatible from our feature is particularly uselul in generating individual other than the purchaser. Due to the proprie-
previous 8080 assembler provided with version _ groups of assembly language statements tary nature of MAC. the machine code diskette is
1.3 of CP/ M '". Our new assembler is compatible with similar structure. available only to registered owners of the CP/ M '·
with the latest Intel macro standard, and Operating System. Although you may purchase the
SORTED SYMBOLS are provided in a "Macro Assembler Language Manual and Applications
incorporates several facilities which will prove diskette file suitable for listing on your line Guide" separately, Digital Research cannot accept
quite useful: printer or use during debugging. diskette orders without your registered CP/ M '· Serial
tF, END IF, ELSE provide conditional Number. (If you haven·t retumed your CP/ M '· Registra-
assembly facilities which are controlled by TITI.!, PAGE are provided to control page tion Card, you may do so at this time.)
boolean expressions involving the arithmetic ejects and titles on each page of the source
listing.
operators (+. -, " / , MOD, and unary -) , shift ORDER FORM:
and mask operations (SHL, SHR, AND, OR, PARAMETERS can be specified when I would like to purchase:
XOR), and relational operators (LT, LE, EQ, GE, MAC is started to control the source and ( ) "MAC Macro Assembter Language Manuat
and NUL) . destination of particular files as well as listing and Appftcoltons Gutde" Only (200 pages) for
formats for macro generation. $15.00
MACRO definitions allow groups of ) "MAC Macro Assembler Language Manuat
instructions to be stored and substituted in and Appftcoltons Gutde" and MAC Ma-
the source program, as the macro names chtne Code Dtskette·. CP/ M '· Serial No.
are encountered. Definitions and calls can MAC DOCUMENTATION =-=-~--:-c,----- for $70.00.
be nested, symbols can be constructed ) MAC Machtne Code Diskette· Only. CP/ M '·
MAC documentation includes the "Macro Serial No. for $60.00.
through concatenation (using the special & Assembter Language Method and Applica- Califomia residents please add 6% sales fax.
operator), local symbols can be created tions Guide", the most complete guide to
Total purchase: $ _ __ __ _ _ __ _ __
(using the LOCAL pseudo operation). Macro macro applications available today. Examples
( ) Please charge to my
Mastercharge # _ __ _ __ __ _
parameters can be formed to pass arbitrary include macro-based languages, high-level BankAmericard # _ _ __ _ _ __ _
strings of text to a specific macro for control structures and operating system interfa- Expiration Date -,.-,-_-::-_ _ _ __
substitution during expansion. In particular, ) I would like further Information on:
ces . Over 60 listings of working B080 macro
the MACLIB (macro library) feature allows assembly language programs are provided so ( ) CP/ M '· Operating Syslem.
the programmer to define a particular set of ( ) MAC Macro Assembler.
lt1is manual can be used as a study guide in
macros for generation of machine code for
any specific 8 or 16 bit machine which does
advanced macro applications. (The manual is ~~x:ss----------------
available for separate purchase.) City _ _ _ __ _ __ State _ _ Zip _ _
not match the Intel 8080 instruction set.
Macro libraries are included with MAC for the The macro assembler occupies a 12K region
Zilog Z·BO instruction set, along with macros
for pertorming simple peripheral and se-
of memory, and requires concurrent operation
with CP/ M system, thus requiring 16K of program
oI [)~[j~TRl A~S~RACI1
quential file I/ O under CP/ M. space during operation. Additional memory P.O. Box 579, Pacific Grove, CA 93940
Circle 39 on inquiry card . BYTE De cember 1977 55
Key of A Minor

Interval Major Minor Perfect Perfect Minor Minor


From A Unison Second Third Fourth Fifth Sixth Seventh Octave

Sung" do re mi fa sol la ti do
>
0>
Called A B C D E F G A
o
"0
c
'E
~
on
'c
'u'"
'iii
:::J
:E

on
'c
'"
'u
';;
'"
E
'" g'
.;; >
"'-c0
:E
o'E
~~
'u
'iii
>
.s:
Q.

on
•c_
0
1;;
,!!! 0
u c
'iii 'E
~ Q;
I- *North American and English children learn a movable do scale, so do can be any note, The French and Italians have a fixed do
system so do is C,

Table 2: The key of A minor, As in table J, we note the same information, but start the scale on A instead of C. This changes
the order of half and whole steps (bottom line) from a major mode sequence to a minor mode sequence,. an extra line has been
added to show the frequency ratios of the minor key with respect to the major key,

56 BYTE December 1977


Computer Mainframe System
First in the TEl family .. . The MCS-112 and 122 Mainframe Systems.
MThe Base on Which to Build-

The cabinet
A heavy duty, precision formed cabinet of fine
craftsmanship. Completely machined and An 5-100 Bus system high quality mother board with l00-pin edge connectors. Compatible with IMSAI, MITS,
ready for assembly The exterior is fin- CROMEMCO, TDL and other 5-100 bus configured circuit boards. Plug connections for reset switch. Voltage terminals
ished in TEl blue. Vented for most are screw type to power supply leads. All card guides are provided. 12 slots for MCS-l12 model and 22 slots for
efficient thermal character- MCS-l22 model.
istics. Furnished with all
necessary hardware . Edge connectors
High quality edge connectors factory mounted and wave soldered to eliminate this nuisance for
you. Completely checked out for shorts or open traces. ALL edge connectors furnished, 12 for
the MCS-112 and 22 for the MCS-l22. No additional expense when you expand your
system.

The power supply


One of a kind ... using a constant voltage transformer (CVT) with a very
high immunity to input line noise ... greater than 100 db rejection.
Line regulation better than ± 1% from an input of 95 to 140 Volt
AC at full load to 85 to 140 Volt AC at three quarter load.
Designed to meet UL-478 specifications (EDP SPECS).
Individual fusing on all input and output voltage
lines. See specifications below for power
ratings.

The cooling system


A 115 CFM muffin fan with a
commercial grade washable filter
will provide clean airftow over all
circuitry

. .---The wiring
All wiring is color coded and ALL is
precut to length with connecting lugs
factory machine applied. Soldering is
held to an absolute minimum .
The front panel
The front panel is blank NOW ... TEl puts It all
except for an indicating AC together for you. Mainframe
switch and a reset switch .
However, the chassis and mother systems (6, 12 and 22-slot) ...
board are designed so that you may Floppy and mini - floppy disc drive
remove the front panel and insert an IMSAI systems (single, double and triple with
or equivalent front panel. Soon to be dual density) ... a Z-80 CPU with address-
available will be our "VIRTUAL OPERATING CON-
able "j ump to" and autostart capability (also
SOLE" especially designed to complement our
Mainframe Systems. variable speed control) ... 8K and 16K RAM ... 16
Channel A/D and 0 / A converter.. 3 serial + 3
parallel multiple I/ O .. . and other supporting boards
Specifications MCS-112 MCS-l22 ... and our newest item, the PROCESSOR TERMINAL - A
Dimensions 17V.Wx12Dx71f4H 17V.Wx19V,Dx7V.H CRT, keyboard, mini-floppy disc and 12-slot mainframe with a
Power + 8 volt DC 17 amps 30 amps 8080~ CPU - all housed in one quality aluminum case. All of
Power ±16voltDC 2 amps 4 amps these fine products at prices you will like. Watch for them all.

r---------------,I
I Contact your local TEl dealer or if you are not near one of our
dealers, write or call CMC MARKETING CORP direct for more I
I Information.
( DEALER INQUIRIES INVITED) I
I PLEASE SEND ME:
I0 MCS-112Kit@395 .00 0 MCS-112Assembled@445 .00 I
I0 MCS-122 Kit @ 495.00 0 MCS-122 Assembled @ 575.00 I
Texas residents add 5% Sales Tax
I I Enclose Check 0 or Money Order 0 I
I CMC MARKETING CORP I
L~~:R~:t:::7~~1:::,(~'::2:J INC.
Circle 20 on inquiry card. BYTE December 1977 57
Text co ntinued from page 50 starts with A and proceeds in the minor The sign for a half step up is # and is ca lled
mode sequence, WHWWHWW. a sharp.
Look at the frequencies of the notes Second, you should now be able to write
called D and G in these two keys. For tem- the notes used in the scales of all major and
pered tuning, each of these notes keeps the minor keys . For example, the key of C
same frequency although the key changes minor begins with C and proceeds
from C major to A minor . For pure tuning, WHWWHWW, so it would be: C, D, Eb, F,
however, each of these notes must be G, A", Bb, C. The I? ey signature is the short-
lowered by 1.25 percent when changing hand used by musicians to specify the key at
from C major to A minor. A singer or the beginning of each line of music:
violinist does this dur ing a performance,
but can you imagine a pianist or organist
stopping in the midd le of a performance to
retune two notes in each octave? Bach's
equally tempered tuning survives all such H'ff-""-tf--t.r-----j = KEY 0 F C MIN 0 R
key shifts quite we ll. The most sensitive
intervals (octave, fourth, fifth) are still
imperceptib ly different from the pure
scale, and the other interva ls get no worse.
You shou ld notice one more thing when you This tells the person playing the music that
are comparing these two tables . There are all of the Es, As, and Bs should be played
two kinds of thirds, sixths, and sevenths. one half step flat.
As you may have guessed, there are also two Third, the major and minor modes
kinds of seconds, major and minor. There sound different because different intervals
is also an interval ca lled the tritone, so there are used for the third, sixth, and seventh .
can be twelve equal half steps per octave. Fourth, the two most dissonant intervals,
So if we list all of the intervals, we find the minor second and the tritone, are not
13 to get 12 half steps per octave. Si nce used in any major or minor key, but are
these thirteen intervals form what is known needed for some key changes.
as the chromatic scale, we' ll call this list Fifth, and perhaps most important for
" Intervals of the Chromatic Scale" and imp lementation on a "dinky" computer
write it down in tab le 3. and for experimentation, is that the only
You can learn at least five things by prime numbers used in the pure pitch ratios
inspecting tab le 3. are 2, 3, and 5. Also, 5 only appears to the
First, the b sign is used to denote a half first power and 3 only to the first and
step down from a note and is ca lled a flat . second powers. You wi ll see later how easy
it is to implement the pure diatonic scale
with inexpensive integrated circuits external
to the computer, so the computer is not tied
up by generating the pitches itself. In con-
In terva l C M aj o r A M inor Pure Ratio Tempered Rat io trast, the powers of the twelfth root of two
2°/12
may be obtained from the moderately ex-
Un ison I c-c i IA-A j 1/ 1
pensive "top octave" integrated circuit, or
2 Minor Second C-O" A- Bb 16/15 21/12 calcu lated (but not accurately) in rea l time
22/12 by the dinky itself. In the latter case there
3 Major Second I c- oj j A-B j 9/8
will be little computer power left for calcu-
4 Minor Third C_E b I A-C I 6/ 5 23 / 12 lating the melody or harmony.
5 Major Third j C-E j A - Db 5/4 24/ 12
From Music to Mathematics and Back Again
6 Perfect Fourth I C-F j IA-O I 4/3 25/12
Webster defines inversion of a musical
7 T ritone C-G" A-E' (64/45 or 45/32) 26/12 interval as: "A simple interva l with its upper
tone transposed an octave downwards . ..
8 Perfect Fi fth IC-G I IA-E I 3/2 27/12
Inverted primes become octaves; seconds
9 Minor Sixth C_A b IA-F I 8/5 28/12 become sevenths; thirds, sixths, etc."
10 Major Sixth A-G· 5/3 29 / 12 A mathematical inversion Webster defines
I c-AI
as: "A change in the order of terms of a
b 210/12
11 Minor Seventh C-B IA-G I 16/ 9 proportion ... " So what if a fifth is just an
12 Major Seventh I C-B I A_A" 15/ 8 211 / 12 inverted fourth ? Simplification, that's what!
If we divide the chromatic scale right in the
13 Octave IA- A' I 2/ 1 212/ 12
Ic-c i middle at the tritone, the bottom half is
just the inverse of the upper half. This means
that you on ly need to learn and think about
Table 3: Intervals of the chromatic scale. half as much. This is not only true musica lly

58 BYT E De cember 1977


and mathematically, but your own ears they all are in agreement. Table 4 contains
will also easily recognize the similarities my list, which I've called "Music to Mathe-
between an interval and its inverse. matics to Music" for reasons you 'll see in
Try the following experiment on any a moment.
piano or organ that's in tune. Pick out any Now isn't that a remarkable historical
black or white key and call it 1 for ref- achievement: what musicians have been
erence. This home note is called the tonic calling an inverse is also an inverse of the fre-
and should be located near the center of the quencies of pitches according to the mathe-
keyboard for reasons I'll explain in a matical definition of inverse. Although I'm
moment. Now find note 6 by counting up neither mathematician nor musician, I have
six keys including 1 and all black and white read a number of books on both subjects,
keys. Now play both 1 and 6 together; including some on the psychophysics of
that's how a perfect fourth sounds. Try it music, and I have never seen this simple
again with 1 and 8 this time; that's how a and simplifying correspondence of musical
perfect fifth sounds. Now go back and forth and mathematical inverses mentioned. Per-
between 1 and 8 and then 1 and 6 to get a haps it was information lost with the burn-
feel for the fifth and its inverse. Next try ing of Pythagoras and his temple 2500 years
the same thing with 2 and 7 then 2 and 9. ago. A close look at my list of most har-
These two intervals are also the fourth and monious to most dissonant reveals that as
its inverse, the fifth, but you have trans- the top and bottom of the fractions get
posed them up by half a step. Now try a larger, the harmony decreases and the
minor third and its inverse, the major sixth. dissonance increases, {with the exception
First play 1 and 4 together and then 1 and of the minor second; but let's forget about
10 together. this exception for the moment}.
You should notice that the minor third The order in this list is no accident;
and major sixth don't sound quite as sweet neither is it a learned cultural bias! It is as
or harmonious as the fourth and fifth did. if we had a brain with a center which con-
Now try transposing up a half step to 2 and tinually seeks for simplicity, harmony and
5 then another half step to 3 and 6, and so order. The harmonic series: 1, 2, 3, 4, 5,
on up the keyboard. Do the same with the 6, ... , is found extensively in man's
fourth, first 2 and 7, then 3 and 8 and so on theories about nature. Is this because it is a
up the scale. Notice how the fourth and property of nature, or is it because man's
minor third sound similar regardless of the · brain can understand things better if they
tonic or home key chosen, and how they are in such a series? Such a question is
are clearly different from each other even if interesting, but can only be raised and not
played in different octaves; in music as in answered in an article about music for
physics everyth ing is relative to the observer. computer nuts. Music, like speech, is unique
You may even want to make a list for to man and is totally abstract. By abstract,
yourself of the intervals which sound alike. I mean that for the most part, no attempt
You can also note which intervals are most to copy nature is made.
harmonious and which are most dissonant, Music is solely a product of man's brain,
or rough. I'll even bet your list looks like or ear-brain combination. Here is where we
mine! If you think I've biased you, have find harmonic series galore. A musical chord
your friends or family make lists. I'll bet such as the major triad is three notes played
together, the frequencies of the notes being
related to each other as elements of a har-
monic series are related. In the key of C
Interval Ratio Inverse Octave Sh ift Musical Inverse major, the major triad is C, E, and G which
have pitch ratios of 4, 5, and 6 (ie: 4/4,
Unison 1/1 1/1 2/1 Octave
Fourth 4/3 3/4 3/2 Fifth 5/4 and 6/4). Often to make the chord
Major Third 5/4 4/5 8/5 Minor Sjxth sound fuller, a musician will add the C an
Minor Third 6/5 5/6 5/3 Major Sixth octave lower, and the C an octave higher.
Major Second 9/8 8/9 16/9 Minor Seventh
Minor Second* 16/15 15/16 15/8 Major Seventh This also fills out the harmonic series some
Tritone 64/45 45/64 45/32 Tritone more: 2, , 4,5,6, , and 8. How about the
missing 1, 3, 7, 9, etc? You can try 1 and 3
*The minor second is more dissonant to me than the tritone, but the tritone seems
more dissonant to me than the major seventh, so the minor second doesn't fit in for yourself; they are simply the C an octave
th is I ist very well. lower still, and the fifth up from the next
C, and they fit in beautifully.
Table 4: Music to mathematics to music. The intervals useful in music are Unfortunately, you won't be able to try
listed in order from the most harmonious to the most dissonant. Most people 7 on a piano; it would be 7/4, which is
are in good agreement about the order of evaluation of the relative degrees of 1.8 percent lower than Bb, a minor seventh
harmoniousness in the first five intervals listed. from the C of the triad. Fortunately, if you

60 BYTE December 1977


Meet the TSC
Text Handlers!

6800 Text Editing System 6800 Text Processing System


This Editor has caused more talk than any The TSC Text Processing System is by far
other TSC program. Most users find it hard to the most powerful text formatter available to the
believe its power. The TSC Text Editing System micro user. Over 50 commands are provided
will allow extreme ease in any text preparation, for easy paging, margin setting, and spacing.
whether it be an assembler language program Right, left, right and left, and center justification
or a legal document. modes are all handled. The TSC Text Proces-
Included are all the usual edit features plus sor is actually a formatting language which
commands for block move, block copy, tabs, allows the creation of macros including vari-
local and global string changes, and overlays. ables. All of these features allow for very
All editor commands can be used as content efficient footnote handling, special document
oriented commands. The commands may preparation, and form letters.
also be used in a character, line, or relative Other features supported include page
position fashion and either in a local or global numbering (either Arabic or Roman Numerals),
sense. complete page size control (line length, page
Some other unique features include the length, top, bottom, left and right margins, etc.),
ability to work forward or backwards through a tabs, conditional formatting control, exact title
file, restrictive column zone definitions, a de· placing, contiguous space and text control, plus
finable tab fill character, plus many more. much, much more.
The TSC Text Editing System comes com- The Text Processor in conjunction with the
plete with assembler language source listing Text Editor will give your micro the powers of
and a very thorough users manual which in- the best text processing system available. The
cludes a "Mini-Tutorial" for those wishing to get complete assembler language source listing
started immediately. and extensive users manual are included.
SL68·24 Manual and Source Listing $ 23.50 SL68·29 Manual and Source Listing $ 32.00
With Cassette $ 30.45 With Paper Tape $ 31.50 With Cassette $ 38.95 WIth Paper Tape $40.00

8080 Systems Available Soon!


------------ ...
• 0 SL68·24 $23.50
l o w / Cassette $30.45
0 SL68-29 $32.00.
0 W/ Cassette $38.951
l o w/ Paper tape $31 .500 W/ Paper tape $41 .001
I 0 Complete 6800, 8080, & 6502 Software C at- I

ITr.:3l!~
~l{b
TECHNICAL SYSTEMS
CONSULTANTS. INC .
I alog 25¢

I Name
I

I
• ox 2 574 W. LAFAYETTE INDIANA. 47.0'
317 - 742 - 7509

... _---------_ ..
I Address I

I City State Zip I


SPECIALISTS IN PROGRAMS, SOFTWARE, • HARDWARE FOR INDUSTRY • THE HOBBYIST

Circle 11 8 on inquiry card. BYT E December 1977 61


build the pure diatonic scale interface de- sounds so dissonant. The width of the criti-
scribed below, yo u will be able to hear for cal band is roughly equ al to:
yourself how well 7 fits into the series. Also
100 Hz + 50 Hz x f
you wi ll be ab le to hear 11 , and 13, and to
hear how, and und er what co nd itions th ey where f is the 'frequency of the note in kHz.
fit. You can calcu late that, as you go to lowe r
Th e ear-brain wants so much to hear notes on the piano, roughness, or dis-
harm onic series that it wi ll even fill in sonance, will be heard in the minor and then
missing pitches . The "missing fund amenta l," major thirds, and still lower will be heard
or the lowest note of a harm onic series, has even in th e fourth and fifth, until at the
been stud ied by many doing acoustics re- lowest octave the only consonant interval
search. If your ear is presented with a series wi ll be the octave itself. Thus , if you want
of tones whose frequencies are in the ratios the musi c you compose to sound har-
of who le numbers such as 2, 3, 4,5,6, or monious, you should have the pitches re-
3, 5, 7, 9, your brain tel ls yo u that you lated to each other in the harm onic series,
actuall y hear the pitch corresponding to 1 and pitches pl ayed at the same time should
(the fundamental) also! be more than 1/2 of th e critical band apart.
Now let's get back to th e dissonance of Analysis of musi c composed by Bach and
the minor seco nd and why you needed to Dvorak shows that their chords obey these
stay in the middle of the piano keyboard two simple rul es.
to do the ex per im ents with intervals . If two To compose in teresting mu sic, you'll
pitches are very close together, the ear can- need a few more rul es. Most music has
not tell them apart, and they are heard as two feat ures, constancy and variety.
a singl e smooth pitch. If the pitches are far It is as if the brain center which looked for
enou gh apart, two smooth and distinct notes order, simp licity, and harmony was easi ly
are heard . If the distance between the bored, so once it found a pattern, it would
pitch es is in the critical band, the two notes soon be looking for another. Our musical
are heard as two more or less rough notes . needs vary. Sometimes we want very simp le
This ro ughn ess is max imum at 1/4 of th e tun es so we can unwind , and at other times
critical band . It turns out that the minor we need complex melodies to keep ou r
second is 1/4 of the critical band over the in terest. Once you have made a tune with a
middle of t he piano range, and this is why it computer, it will be possible, in prin cipl e,

______ ::'::'L~ VO~ __ ___ -+I-- ________ CMOS-.E~~ _______ _

tl
<P2
R/W, K5, <P2

KI M- I 1400 NOTE I
\ DO TO 07
PROGRAMMABLE
COMPUTE R AO TO A9 / 5 VOLT TTL DIVIDERS FOR
TO 12 VOLT LATCHES KEY, OC TA V E, NOTE 2
CMOS 1401 AN 0 NOTES SQUA RE WAVE

1
LEVEL DO TO 07 DO TO 07
DO TO 07 NOTE OUTPUTS
SHIFTER NOTE 3
FIGURE 2
140 2 ( BLOCK)
DO TO 07 NOTE 4
TTL 5 VOLT WRITE
---- --------

cl
CMOS 12 VO LT

.( 50 TO 07
'<0O m •• "0' ""0'11
( AO TO A7
R/W, K5, <P2 ..A
F OR
ADDRESS WW 1403 TO WW 1407
FOR FU TURE FUTURE
( <P2, 12 VOLTS DECODER WRITE STROBES USE
CMOS E XPANSION \
tlo TO A9 FIGURE

WP20 TO WP22 JJ <P2 = CLOCK PHA SE 2 , 1.00MHz

Figure 7: Block diagram of the musical tone generator interface. A ll logic (see figures 3 and 4) of the tone generator itself is
72 V CMOS, with level conversion from the TTL 5 V levels at the computer output.

62 BYT E De c emh er 1977


ARTEe Introduces
The Elephant

The 8K·32K Expandable Memory That Grows WithYour System


Now, for the first time , you can have a GP-100-$20.00 TO ORDER: Use your Mastercharge or
reliable true static memory that will grow Maximum design BankAmericard. Or just send along a money
with your system. Start with the board and versatility along order. Your order will get same day service.
8K memory. Then add on one, two or three with standard ad-
8K increments of memory up to 32K. 250 ns dress decoding and FOR MORE INFORMATION: For more
access time. The Artec 32K Expandable buffering for information about these or any of Artec's
Memory allows you plenty of room for S-100 systems. complete line of circuit boards or for either
memory and all necessary support hardware. Room for 32 un- industrial or personal use, please call or
committed 16 pin write. A catalogue will gladly be sent.
For five years Artec craftsmanship and IC's, 5 bus buffer &
reliability has been proven in tough industrial
use. Now, you too can enjoy breadboards
decoding chips, 1 ..................... . ......... .. .....
. DIP address select Please send me:
and memories that will work time after time.
Boards like the GP 100 and the wire wrap
switch , a 5 volt reg- o 32K 0 GP-100 0 WW-100
ulator and more . o I've enclosed a money order.
WW-100. Send for an Artec Board, your High quality FR4
order will be sent the same day as received. Bill my 0 Mastercharge
epoxy. All holes plated o BankAmericard No. _ _ __
through . Reflowed sol-
Board & 8K of memory-$290.00 der circuitry. Name _ _ _ _ _ _ _ _ _ _ _ _ __
8K add on klts-$255.00 ea. Address _ _ _ _ _ _ _ _ _ _ _ _ _ __
Full32K board-$1,055.00 WW-100-$20.00
A wire wrap breadboard , City _ _ _ _ _ _ State _ _ _ Zip _ __
similar to the GP 100. Al-
lows wirewrap of all
sizes of sockets in any 10% discount for students & computer club members.
combination. An extra
regulator position for
multiple voltage applica-
tions. Contact finger
pads arranged for easy
pin insertion .
ART€C €l€CTRONIC), INC.
605 Old County Rd .• San Carlos, CA 94070 • (415) 592-2740

Circ le 5 on inquiry ca rd. BYTE December 19 77 63


for you to have the computer make all • An address decoder .
sorts of variations of your tune to keep it • A level shifter to change the 5 V sig-
interesting. nals from the computer to 12 V sig-
Now let's switch gears from music to nals for the CMOS circuits so they
computer oriented electronics and find out can operate fast enough to follow the
how to build a diatonic computer music 500 ns write pulse put out by the
interface. The interface costs less than $19 computer.
to build, including 24 integrated circuits,
LEDs, resistors, four diodes, and a universal The block diagram shows that I've chosen
type printed circuit board . It will put out hexadecimal addresses 1400 to 1402 to drive
four notes simultaneously, and will play in the interface. This is a convenient memory
almost nine octaves (17.36 Hz to 7812.5 location for me because I have a KIM-1
Hz) . The highest and lowest octaves have with 12 K of memory and these locations
12 and 13 different notes, and the middle are not used for anything else. You'll notice
seven octaves have 33 notes each, giving that I've also decoded write pulses for
a total of 256 unique notes. It uses three hexadecimal addresses 1403 to 1407 and
bytes of memory space. page selects of addresses 20XX to 22XX for
The interface can be functionally divided future expansion of the interface. Also,
(see figure 1) into four parts: eight address lines, eight data lines, a clock
line, and the write pulses for addresses
• A set of programmable frequency 20XX to 22XX, all at 12 V, are brought
dividers. out to the edge connector for use with
• A three byte latch . other CMOS interfaces .

WI400, DO TO 03

Ik ;66. 7KHz TO 125 KHz

1 - - - - - - " 1 OCTAV E
WI400 , D4 TO D6 ~~~ERATOR ';'n (n; I, 2, 3,4,5 , 6,7, B)

SELECTOR

OUTPUT NOT E I
WI40l, DO TO D3 (Ikonl; 17.4Hz TO 7.8KHz)

SIX
HALF
BYTE
LAT CHES 1-_ _ _ _ _"1 OUT PUT NOT E 2
W 1401, 04 TO D7 (lkon2; 17.4Hz TO 7.8KHz)

OUTPUT NOTE 3
W 1402, DO TO D3 (lkon3;34.7Hz TO 122 .IH z)
Figure 2: Detail block dia-
gram of the tone genera-
tor, which uses the 7 MHz
clock of the KIM-7 as its
frequency standard. The OU TPUT NOTE 4
outputs at right are square WI402, 04 TO D7 (lkon4;69.4Hz TO 244 .IHz)

wave signals which can be


sent to further filtering WI400, D7
STROBE
and signal processing be-
fore mixing down to one
or two stereo channels. WWI400 TO WWI402

64 BYTE December 1977


S~RLS ~L~~TR[]~K~S, ~~~.
10728 DUTCHTOWN RD . • CONCORD. TN . 37720

PHONE 615-966-8771 TELEX NO. 55-7444

Ci rcl e 101 on inquiry card . BY T E Dec em be r 1977 65


'C3
~7406

+'2
ALL
RESISTORS
630n
114W

~
~>-----'-'jil~~>4""'---'
DOC "'" '0

7406

'C4
7 4 06

0' CI; >---,9'W>:;:c>",--t--.

IC4
7406
02 =-c=>-~S~~c><>,·6L-+-~ ~
~
rh ++2 '--- -----na le l 7
400 1

~9 ~ '0
Oi 3 4 JI J4 MODE C ~ '-t--t--"Sr:--.. ,---,
+-HH-+-+++~4 0' 'C,4 Qz 9 '2 J2 cor7'---+-H---+----'6~'7;/~ ~2
+-+-t-t-t-H~::i7 02 4042 Q3 '2 '3 J3 'C'S 3 0 is 4
IC4 .-t-t-t-Hr--"" 03 Q4 '5 5 CI 4029 >-'- C 'C'6 Rr---

03
7406
3~ 4
'4
1~
o~ ~
~~k30 ~ i ~q~
C
~n

IWW'40"
UP/OI~O I~
m L----t--t--t---t-----" m
i6
40 ' 3 ol-'~-++---r>
-L/ mh~OR

IC4
7406
~ r. T
'3boo 12 +t: tI.
C,5 J4 MODE ,---,
4 " - lel7 19 I
'-t-t-t-~o, ' C'" iiifL--":,::-lJ, 'C'9 cr!1- 40 0' 9 '2

r-J ~~
~
4042 ~ '2
Q4 '"
'3 ~~ 4029COI-7'---t--t-""'~i.'''7~i1'"C o'CI6 i5R~
01~".::.3_+--I-_ _~....--::.r> ~OTE

c¥c¥l
04 S CI 4 0'3 2
IC 4 0' 02 03 04 UPIoN PE S ~ SELECTOR

~g~3° G~
7406
05
II!>, 2 JO I' ): OUTPUT

r. +12
+t: ti9
iii ~2 J,J4 MOoEC~ ,--,
4 0'
IC20 Q2~ J2 le21 ~~~I _~2
ICI "
7 02
03
4042 Q3~
Q4 IS
J3
S Cl
40 29 ~ 3 M 'C0 'C22Q~t=
Co,1-'-7------+L!J----".e,"OO:;..~O R 4
7406 14 04
C ~il
6ciQ~
S .... 6 02 3 4 UPI oN PE S 4013 01-'-'-+-+-----DI
.:>NOTE 3
06 ~
.... 0'
1. 1 SELECTOR

NSLot
S053
(WW14021 JOI' J6 OUTPUT

'C'
7406 n
+h
07 ~
.... "
9 ....

4
'--'H-t-"-10'
t-:-! 02
'C23
4 042
~
Q2 ~
C ,S

iii
.--
J'
J;
J2 'C24
MoIO"E

c 'S
U 400'"
~_4r1 ' 0
l e lO
12
~.~
f,;l

~ 03 Q3 ~ J 3 4029 co I-7<----------tl-.ll4.
6;,,:""vo-'0,/b C I C2 2 :
4013
I"
L.-..!.1 04 0 , 04 03 0454~ C~P/oN PE 5 0~1.=.3------1=r:>~~~~C~OR
• CURRENT THRU LED INDICAT ORS
IS LIMITED BY THE OUTPUTS OF
THE 4042'5
m; t 6~Q~ JOI' J" OU TPUT

r -- - - - - OE;;U~ -;:;IX-;-NGC~C~T- - ---,


I '0 K
I NOTE' :ts~
10K L-.C..
I NOTE 2 + ~TO AUDIO AMP ( .... 2 3VPP)
I NOTE 3 10K J, USE TH I S AS A OUICK
I NOTE 4 10K 470 ~~~~E ~~A~lg~A~:
I SYNTHESIZER MODULES I
L _______________ _____ ~

Figure 3: Schematic of the tone generator's key, octave and note selection
logic. A default mixing circuit is shown to allow connection of all four out-
puts directly to one audio amplifier for testing.

66 BYTE Decomher 1977


Peripheral Vision is a young, fast-moving company -Completely S-1OO plug-in compatible
that's dedicated to selling reasonably priced -Drive is from Innovex (the originator of the floppy
peripherals for various manufacturers' CPU's. concept)--assembled and tested
So now, when you build your microcomputer -Disk operating system with file management
system, you'll know where to iook for all the system included on floppy
peripherals that will make your system do what it's .Cabinet and power supply optional
supposed to do. Also in the works are many new products we'll be
Peripheral Vision may be young, but we have some letting you know about soon, if you'd like to take a
old-fashioned ideas about how to run our business. closer look. Like 1/0 cards, tape drives, an impact
We know there are serious incompatibilities among printer--all for the S-100 BUS--and we're deSigning
the various manufacturers' peripherals and CPU's. peripherals for a lot of other CPU's too.
We want to get them together. And we want to bring We've given you a little glimpse of who we are and
significant new products to market--products what we're doing. If you want to see more, just fill in
consisting of everything from adaptation the coupon below.
i nstructionslkits for hardware and software to major
new designs.
Most important to our customers, Peripheral Vision
is committed to helping you get along with your
computer. We'll do all we can to make it easy.
Our first product is a real reflection of this
philosophy. It's a full-size floppy disk for the Altair- Po. Box 6267j Denver, Colorado 80.20.6 30.3/ 777-4292
Imsai plug-in compatible S-100 BUS . And it's
Name _______________________________
available for as low as $750.00.
Our floppy disk has many exciting features : Address _____________________________
-1 interface card supports 4 or more drives
Ci ly I Slale IZ i p ________________________
-Stores over 300,000 bytes per floppy
-Bootstrap EPROM included--no more toggling or
paper tape

Circl e 9 1 on inquiry ca rd . BYTE D~cember 1977 67


+5 +12

630
II
R/W INH

IC5
630 4028
K5 12 C WP22
115" 6

US" 7 WP21
630
WP20
} .oW" ""
11711 4
A9 13 8

630
AS 10 A

+12

630
A7 9

IN746
3.3V

A6

630
6
<:>2

Figure 4: Schematic of the tone generator's KIM-7 address space decoding, a


diagram of the edge connector, and power wiring table for figures 3 and 4.

68 BYTE December 1977


The six programmable div iders are the loading the co un ter with 11 . Thus the fre-
heart of the interface (see the deta il block quenc y of PE pulses would be 1/11 of the
diagram of figure 2 and circuit diagram of frequency of positi ve transitions at C. A
fig ure 3). Five of these are 4029 presettable, flip flop at the output of the note di vide rs
bidirectiona l, binary or decade counters set conve rts the PE impulses into square waves
up to count down in binary mode. In this with a 50 percent duty cyc le. Each of the
mode the carry out (CO) line goes low when- 04 latch outputs turns off a divider and
ever th e counter counts down to O. The CO thus turns off the sou nd of one or more
signal is in ver ted and re turned to the preset note outputs. Bits 4 and 8 of hexadec i-
enab le (PE) input which sets the counter to mal location 1400 tu I'll off all the sound,
the value of the binary number on input pins whereas bits 4 and 8 of address 1401 and
J4 to J 1. Each posit ive transition of the 1402 turn off notes 1 thl-u 4, respective ly.
clock (C) input ca uses the counter to count The reason for all this turn off is that music
down by one as long as the clock inhibit has a lot more silence in it than is generally
(CI) is low. Because J4 (p in 3 on IC9, IC15, recognized. To make notes sound distinct,
IC19, IC21, and IC 24) is always high, the rather than al l run together, the sound must
co unters may be set to divide by 8,9, 10, be shut off for periods of 10 to 50 ms (for
11, 12, 13, 14, or 15, dependi ng on the example) .
binary number on inputs J3 to J1. This The key selectol- divides the computer's
number is store d in 4042 latches by writing 1 MHz clock by a number from 15 to 8 to
the data into D3 to D1 of the latch as if it produce frequency fK of 66.7 kHz to 125
were a memory location. For example, if a kHz as shown in the second block di agram.
binary three (011) were on 13 to J 1,8+3, or A bi nary divider , IC13, produces seven
11 would be loaded into the counter when more octaves (factors of two in frequency)
PE went high, and the C input would have from fK, and the 1 of 8 se lector, IC12,
11 positi ve transitions before CO wou ld go se lects one of the octaves, fKO (520.8 Hz to
low , forcing PE high momentarily , and aga in 125 kHz), based on bits 6 to 4 stored at

Power Wir ing Table Edge Connector Wiring Diagram

Number Type +SV GND +12 V


+5 V 1 A ground
ICl 7406 14 7 -
12 V output ¢ 2 2 B write page 20
IC2 7406 14 7 -
Cfi2 3 C write page 21
IC3 7406 14 7 - R/W 4 D wri te page 22
IC4 7406 14 7 - K5 5 E
~O
IC5 4028 - 8 16 DO 6 F Dl
IC6 4023 - 7 14 Dl 7 H 52
IC7 4028 - 8 16 D2 8 J 53
IC8 4042 - 8 16 D3 9 K 54
D4 10 L 55
IC9 4029 - 8 16
D5 11 M 56 12 V outputs
IC10 4001 - 7 14
D6 12 N 57
ICll 4042 - 8 16 5Vinputs
D7 13 P AO
IC12 4051 - 8 16
AO 14 R Al
1~ 13 4024 - 7 14
15 S
Al A2
IC14 4042 - 8 16 16 T
A2 A3
IC15 4029 - 8 16 A3 17 U 1-\4
IC16 4013 - 7 14 A4 18 V A5
IC17 4001 - 7 14 AS 19 W A6
IC18 4042 - 8 16 A6 20 X 1-\7
IC19 4029 - 8 16 A7 21 Y A9 5 V input
IC20 4042 - 8 16 A8 22 Z +12 V

IC21 4029 - 8 16
IC22 4013 - 7 14
IC23 4042 - 8 16
IC24 4029 - 8 16
Continued on page 170

BYTE D.cember 1977 69


is to take it apart
piece by piece.
Compare the features of our S-IOO bus o Keyboard Included. IMSAI is the only
system, the industry standard, to anyone S-IOO bus manufacturer to supply a micro-
else. After you've taken them apart piece by processor driven keyboard with "N" key
piece, you'll know why IMSAI is the system roll over and tiered construction for a true
you can grow with. At a price you can live typewriter keyboard touch.
with.
028 amp Power Supply. The world famous
IMSAI 80/30 Integrated Video Computer IMSAI power supply assures stability and
(with Intelligent Keyboard-IKB-I) reliability of performance.
Standard Features: Options: IMSAI is the only S- 100 bus manu-
o Price assembled $1499. IMSAI is the only facturer to provide a comprehensive array
S-IOO bus manufacturer that offers a micro- of fully integrated options including: line
processor driven keyboard with "N" key and character printers, CRT terminals ,
roll over, 2'14K of RAM , 8 expansion slots, intelligent keyboard, ACR storage, stan-
choice of 4K, 16K, 32K and 64K RAM dard and mini floppies , TTY BASIC with
expansion boards, 3K ROM monitor, OS, 4K, 8K and 12K BASIC, audio cassette
synch/asynch serial interfaces, parallel and BASIC with OS, 8K disk operating system
serial ports, high resolution CRT monitor, (DOS) based upon C P/M,* scientifically
24 x 80 display with graphic editing and and commercially oriented disc BASIC and
data entry features, and 28 amp power sup- level 2 FORTRAN IV compiler.
ply for the incredibly low price of $1499. o Printers. Only one other S- 100 bus manu-
o mpu Speed. IMSAI is the only S- 100 bus facturer can supply both line and character
manu facturer that offers true 8080 com- printers.
patibility,operating at 3 mHz. o CRT/Keyboard IMSAI is the only S-100
o RAM Included. 2'14K. bus manufacturer to provide both CRT
o Expansion Slots. Eight expansion slots termin al and intelligent keyboard as
are provided in a new terminated and regu- separate options.
lated motherboard (10 slots total). o ACR Storage. Available.
o RAM Board Sizes. IMSAI is the on ly o Floppies. IMSAI is one of the few S-IOO
S-IOO bus manufacturer to supply 4K, 16K, bus manufacturers to provide both
32K, and 64K RAM memory expansion standard and mini floppies and the only
boards. S-IOO bus manufacturer that supplies
o ROM Monitor. IMSAI is the on ly S-100 double density standard floppies.
bus manufacturer to provide 3K of ROM. o TIY BASIC. IMSAI is one of the few
o Asynch/Synch. Only one other S-IOO bus S-IOO bus manufacturers that provides self-
manufacturer provides both methods of contained operating systems with 4K, 8K
data communication. and 12K BASIC.
o PIO/SIO. IMSAI is the only S-100 bus o ACR BASIC. IMSAI supports ACR
manufacturer that provides two serial ports BASIC with an 8K version.
and one fully implemented parallel port at o DOS. I MSAI is the only S- 100 bus manu-
no extra charge. facturer to provide a n enhanced version of
o Video 110. IMSAI is the only S-IOO bus the control program monitor (CP/M*) that
manufacturer to include a high resolution can support up to 18 disk drives.
(14 mHz) monitor as an integrated part of o Disc BASIC. IMSAI is the only S-IOO bus
the computer. manufacturer that provides both scientific
o CRT Format. IMSAI is the only S- 100 and commercial versions of compiler
bus manufacturer to provide a full 24 x 80 oriented BASIC.
screen, which is two times the capacity of o FORTRAN IV. IMSAI is the only S-IOO
the common 16 x 64 screen. bus manufacturer that offers a level 2
o Graphic/Edit. IMSAI is the only S-100 FOR TRAN IV compiler that operates
bus manufacturer that provides graphics under an enhanced version of CP / M~
and text editing features with character and Prices and specifications subj ect to change without ~otice.
line insert/delete for yo ur CRT display. ·CP/M is a trad emark of Digital Research CorporatIOn.

Price/Performance
no one else has put together.
~~~&~®
The Standard of Excellence
lMSAI Manufacturing Corporation, 14860 Wicks Blvd ., San Leandro , CA 94577 (415) 483-2093 TWX 910-366-7287 in Microcomputer Systems

Circle 61 on inquiry card. BYTE December 1977 71


The XF and X7 Instructions

of the MOS Technology 6502


H T Gordon
Dept of Entomological Sciences
110 Wellman Hall
University of California
Berkeley CA 94720 None of the operation codes listed in the into a Y indexed absolute address (XXXX +
instruction set of the MOS Technology 6S02 Y) is command ed. However, 9E stores the
has a low order bit pattern of 1111 (hexa- resu lt of an AND betwee n the byte in th e
decimal F) or 0111 (hexadecimal 7), al- X reg ister and hexadec im al imm ediate va lu e
though many have 1110, 1101 , 0110 or 02, ie : if bit 1 of this byte is a 1, 02 is
0101 . How does the processor interpret stored, and if not, 00 is stored . (I have no
op codes of type XF or X7 where X is an id ea where th e processor finds th e 02.) Op
arbitrary high order digit? code 9F stores t he resul t of an AND
When I tried this out I found that it exe- between the value 02, the X register, and
cutes th em as val id instructions to do both the accumulator; if the bytes in both re-
the XE and XD, or both the X6 and XS gisters have a 1 in bit 1, 02 is stored; other-
instructions, with fasci nating and usefu l wise 00 is stored.
results. Thus for example AS XX causes When X6 and XS comman d different
a load of the byte in page ze ro locat ion operations, X7 causes th e X6 to be done
XX into the accumulator, A6 XX loads first, followed by the XS. For examp le
this byte into th e X register, and A7 XX E7 XX causes the byte in XX to be incre-
loads it into both ind ex registers, an oper- mented by 1, then subtracts th is value fro m
ation that would need three program bytes the accumulator, setting the proper flags
with the conventional coding. and leaving the result in the acc umul ato r.
Op code 87 is eve n more interesting, Everything the "new" instructions do cou ld
since 8S XX stores the value in the accu- of course also be don e with the conve ntional
mulator in to page zero locatio n XX and set, using more program bytes and time.
86 stores the value in the X register into Most of the unused op codes of the 6S02
XX, and it is obviously impossibl e to store "run," but 12 of type X2 cause operat ion s
two different values simultaneously in one to become "lost in space," from which only
location . The effect of 87 XX is to store RESET ca n rescue them. It would be inter-
into locati on XX only those 1 bits that esting to know whether som e of the unused
occur in both the accum ul ator and the op codes of other microprocessor designs
X register. Th e effect is that of a logical will also prove to be valid instructions.
AND betwee n th e acc umul ator and the Since discovering the XF and X7 instruc-
X register (neither one being altered), with tions, I have fo un d that there are also
Technical Forum is a fea- storage of the resul t into XX. "unofficial" XB instructions. For example
ture in tended as an interac tive Th e effect of 97 XX resembles that of A9 XX is a load immedi ate of the by te XX
dialog on th e technology of 87 XX, except that the result of the AND in to the acc umul ator, and AA commands
personal compu ting. Th e sub- is stored in page zero Ioca tion XX + Y, transfer of the byte in the accu mul ator
ject matter is open-ended, and
the intent is to foster dis- since Y indexed storage is used by op in to the X register. Th e effect of AB XX
cussion and communication codes 9S and 96. Since these are store is to load XX in to both the acc umul ator
among readers of BYTE. We instructions, no testable fl ags are set. In and X registers, setting th e usual flags .
ask that all correspondents general, op codes of type XD and XE Some other XB op codes are also executed,
supply their full names and have the same logic as XS and X6, differing but I have not yet had time to work out
addresses to be printed with
th eir commentaries. We also only in hav ing a 2 byte abso lu te add ress their operation . I have no do ub t that some
ask that correspondents instead of a 1 byte page ze ro address. Thi s of these in structio ns cou ld be put to use,
supply their telephone num- is not tr ue for op codes of type 9X. Both but th ere is a hazard. If manufacturers
bers, which will be printed are nevertheless exec uted, but the operations decid e to add new planned instructions
unless we are explicitly asked
to omit them .
are not the sa me as t hose of 96 and 97 . in chip redesign, programs using the un-
Th ey resembl e th e va lid 90 in th at storage plan ned ones wi ll be incomp atibl e. -

72 BYT£Dc cember1977
~e $6,000* DP
nter. o U"CRT, 24x80 Field, User Programmable Font.
C haracter and line insert / delete allows fast program
correction and text editing. Inverse video and programm able
field a llows highlighting or enlarging graphics of inform a-
tion display. Titled field s protect information blocks from
being wri tten over accidentally. Programm a ble font (up to
256 different charac ters) allows foreign language a nd special
purpose cha racter forms.
o Alphanumeric Intelligent Keyboard. 62-pad main
keyboard . Programmable l2-pad numeric keyboard. l2-pad
co nt ro l keyboard. Standard typewriter and calculator
key board layo uts. "N" key roll over reduces operator error
during high-speed da ta entry.
o Commercial BASIC, FORTRAN IV, DOS Software.
Built-in ROM monitor a llows extensive debugging and
diagnostics. BASIC, interactive or compiler version .
FORTRAN IV level 2 ANSI compiler. DOS-

IMSAI Introduces enhanced C P / M .**


Distributed processing, fin ancial reporting a nd analysis,

theVDP--80 word processing, whatever your application , the VDP-80 is


yo ur answe r.
Dial (415) 483-2093, and we'll tell you how you can put
Until now, owning real computing power meant paying
unreal prices. Announcing the IMSAI VDP-80 Video Data our $5995* DP Center on your desk top. When it comes to
Processor, a complete computer, intelligent termin al a nd small business computers, Just Ask IMSAI.
megabyte floppy disk mass storage system . All in one " Base price VDP·801l000. $5995. wi.h 32K RAM memo ry a nd du al d oubl e dc nsi.y Hoppy
d isk dri ve. U.S . Do mestic Price O nl y. Fea tures and prices subj ec t to change without no tice.
compac t cabinet. All for just $5995! A complete desk top "CP/ M is a trademark or Digital Resea rch Corporation.
DP cen ter.

J?D\
Fo r small business applications, the VDP-80 pl aces a
stand-alone co mputer a t yo ur fingertips. And, o ur full lin e
of add -on periph era ls, assures th at the system can be
expanded as yo ur needs do.
For the large business user, with an existing central
mainfra me, th e VDP-80 is the ultim a te remote processor.
You have th e adva ntage of powerful local processing
capability, plus the epitome in cost-effectiveness for
impl ementing a distributed data communications ne twork .
Take a close look at th e following features. Then you' ll
know why we ca ll o ur VD P- 80 the desk top DP center.

o Powerful, High-Speed, Central Processor. 3 mH z


Intel 8085 microprocesso r. 32K RAM memo ry (expa nd a ble
to I96 K). Parallel a nd serial 110. Asynch , synch a nd
bisynch co m m unications. Progra mm a ble baud rates
(.05 -56 KB) .
o Megabyte Mass Storage. PerSci du al fl op py, dou ble
density disk drive stand a rd. One millio n byte storage
capacity. T hree floppy disk drives can be added-o n,
providi ng 4 milli on bytes of on -line storage .
o Drives Printers, Plotters, Terminals, Modems and IMSAI Manufacturing Corporation
Tape Drives. Suppo rts up to six terillinals or modem s, a nd 14860 Wicks Blvd .
Sa n Leandro , CA 94577
four tape drives. Drives plotte rs, seri al printers and line The Standard of Excellence (415) 483-209 3 TWX 910· 366· 7287
prin ters (u p to 300 Ipill). in Microcomputer Systems

Circ le 61 on inquiry ca rd. BYTE Dece mber 19 7 7 73


pe77
By Chris Morgan. Editor

Who would go to Atlantic City before the


gambling casinos are built? Computer freaks,
that 's who! Thousands of microcomputer
enthusiasts {between 8 and 12 thousand}
crammed into the Shelburne hotel August
27 and 28 to see over 150 manufactu rers
Photo 7: A view of the PC 77 convention floor. display their computer creations. Exotic
sights met the eye at every turn : a complete
mock up of a fighter plane was bei ng run by
a microcomputer, with plans available to
intrepid experimenters who wanted to
duplicate the gadget; games galore and some
very high class color graphics filled video
Photo 2: Heath's dis- screens; computers spoke and listened
play, a popular spot to fascinated onlookers; Heath, Commodore
at the convention and Radio Shack displayed their brand new
where hackers could microcomputer systems; and BYTE was on
get their hands on the hand at a brand new convention booth.
new Heathkit com- Everyth ing went smooth Iy from first
puters for the first hour to last, and the well attended banquet
time. featured a host ' of speakers including com-
puter pioneer Dr John Mauchly.
Next year's convention promises to be
even bigger and better at its new location :
the Atlantic City Convention Center .•

Photos by Charles Floto

Photo 3: One of the many color


video displays on view at Per-
sonal Computing 77. Shown are
two Compucolor displays
offered by the Computer Mart
ofNj.
Photo 4: The Computer Store (New Yorl? area) booth.

Photo 5: One corner of the expansive MI TS booth


which took up over 800 square feet and featured
the complete line of Altair computers.

IN ELECTRONICS HAS THE LINE ...


DIP/Ie INSERTION TOOL WITH PIN STRAIGHTENER

STRAIGHTEN PINS RELEASE PICK-UP INSERT


... MINIMUM ORDER $25.00. SHIPPING CHARGE $1.00. N.Y. CITY AND STATE RESIDENTS ADD TAX

OK MACHINE AND TOOL CORPORATION


3455 CONNER STREET. BRONX. NEW YORK . N.Y. 10475 U.S.A.
~HONE (212) 994·6600 TELEX NO 125091

Circl e 8 5 on inquiry card . BYT E Dece m be r 1977 75


(]iapcia's
(]ipc~it (]ellap

On a Test
Equipment Diet?

Photo 7: ICs on ICE.


Pictured are all the com-
ponents necessary to build
the 8 channel 3];2 digit
computer controlled volt-
meter described in this
artie/e.

Try an 8 Channel DVM Cocktail!


Steve Ciarcia About three weeks ago, I was testing a concluded that there must be a better way .
POS 582 new 8 bit analog to digital converter which It's old hat to use one channel of a dual
Glastonbury CT 06033 I had just built for an upcoming magazine trace scope to troubleshoot the other trace,
article: this one, in fact. It was a high speed so it was natural to cons ider using the
successive approximation an alog to digital analog to digital converter to monitor
converter which performed 200,000 con- itself. While the thought was momentarily
versions a second, and it worked fine . I had gratifying, the low resolution inherent
intended to use it for some speech digitiza- with eight bits and clumsy binary con-
tion experiments. During the testing phase, version made me reconsider.
however, I became exasperated from con - While thinking over this dilemma I was
tinually moving my digital voltmeter (DVM) leaning back in my reclining desk chair
probes around the circuit to take readings with one elbow on my computer and my
and having to stop to make the same cal- feet up on my printer. I realized that I
culations repeatedly. To speed the process should move some of the junk so that I'd
up, I wrote a BASIC program which would have more room in the basement. I con -
do the number crunching, provided I typed cluded that what I needed were eight DVMs.
in the voltage values correctly . More often, This insane desire was quickly eradicated
though, all I wanted was to monitor a few and replaced by a more economically sound
voltage levels simultaneously. idea. I had designed a 4 channel 8 bit digital
After stringing my two DVMs, an analog to analog conYerter to run with BASIC. It
volt-ohm meter (VOM), and my oscilloscope was only natural to design a multichannel
all over the bench to aid in my testing, I analog to digital converter which also inter-
faced to BASIC.
12 bit analog to digital converters and 3Y2
digit DVM chips come in a variety of con-
Motorola MC14433 3% Digit Analog to Digital Converter Specifications: figurations. Converters which specifically
Accuracy: ± 0.05% of reading ± 1 count state that they are 12 bit converter modules
Two voltage ranges: 1.999 V and 199.9 mV
Up to 25 conversions per second can have either binary or binary coded
I nput impedance> 1000 megohms decimal (BCD) outputs, but are almost
Auto zero
universally parallel binary output devices.
Single positive voltage re f erence
Auto polarity The end of conversion signal results in
Drives CMOS or low power Schottky loads immediate data output. The computer
On chip system clock
Over, under, and auto ranging signals available
just has to scan the data lines and translate
them into meaningful notation. Chips which

76 BYTE Dece mher 1977


MORE BYTES FOR YOUR BUCK ,

8K RAM ... assembled, burnt-in, tested


and warranted ... only $197 50 !
These are not kits, but completely assembled and Both boards have fully buffered address and data
tested boards, with a 1 year warranty. No soldering, lines, and extensive built-in noise immunity circuitry.
no messing, no chance of mis-connections ... just And are plug-in compatible with the S-100 bus
plug 'em in and you're ready to run. The 8K RAM has (Altair 8800, IMSA 1 8080, etc .)
the same features and speed as our 4K RAM (500
nsec, no wait states) and if that isn't fast enough Quality, assembled boards at less than kit prices. But
there's our 8K (Z) fast RAM that gives you a 250 nsec what else should you expect from a company whose
access time for only $217.50! prime products are electronic test instrumentation
and microprocessing components?
Because of the low power memory chips used, power
requirements are lower than many other RAM boards. Also available: 4K RAM; $107.00, Alpha-VDM; $107.00,
And the 8K RAM uses less power than two 4K boards. Alpha-VDM-II; $145.00, Graphics-VDM ; $137.00.
All RAMs are manufactured to military specification
Order direct by check, BankAmericard or Master
MIL STD-883-C , assuring greatest control over
Charge (Add $1.50 shipping, credit customers give us
reliability.
all the card numbers, please and Ohio residen ts add
4 V2% sales tax) or contact us for more information.
Address selection is easily accomplished by our
Kent-Moore Instrument Company, a subsidiary of
Visaddress™, an easy to read switch on the board
Kent- Moore Corporation (founded in 1919), P.O. Box
top. The 8K board is designed to be selected as one
507, Industrial Ave., Pioneer, Ohio 43554. (419) 737-
of eight possible 8K RAM boards present on the S-1 00
2352. Or, Kent-Moore of Canada, 246 S. Cawthra Rd.,
bus.
Mississauga, Ontario L-A3P2, Canada.
To achieve address selection, the top address lines
are decoded using the Visaddress switch. The switch
will then show the selected starting address of the Kent-Moore
RAM card. (Le. ¢=¢¢¢¢-1FFF, 2=2¢¢¢-3FFF, etc.
on the 8K board). INSTRUMENT COMPANY
Circle 68 on inquiry card. BYTE Dece mber 1977 77
are specifi call y referred to as 3% or 4% digit order of magnitude less. Software to per-
DVM large scale integrated circuit (LSI) form the serial to parallel conversions is a bit
chips do not have this lu xury . In general, more involved, but once it's written, who
their output is a combination of serial and cares?
parallel, one digit at a time. Interfacing to a One of the latest chips to hit the market
parallel output analog to digital converter is the Motorola MC14433, a 3% digit low
would be far easier with regard to the com- power complementary MOS analog to digital
puter software, but as is generall y the case, converter. Its specifications (relative to
one never gets something for nothing. 12 bit computer applications) are listed in the box
parallel analog to digital converters are on page 76.
expensive . Most are designed to cover high The MC14433 is a modified dual ramp
speed data acquisition applications. Speed integrating analog to digital converter. This
(1000 to 100 K conversions per second) is outlined in figure 1.
costs money. The conversion sequence is divided into
This leaves us with the 3% digit DVM LSI two integration periods: unknown and
chips. They run very slow ly by comparison reference. During the Vin or unknown input
(1 to 50 conversions a second), but cost an integration sequence, the unknown voltage
is applied to an integrator with a defined
integration time constant for a predeter-
Figure 7: A simplified functional representation of the Motorola MC74433 mined time limit. The result is that the
30 digit analog to digital converter. 7a shows a block diagram of the device; voltage level at the output of the integrator
7b shows the two integration periods used to convert the input voltage to a will be a function of the unknown voltage
30 digit decimal number. During time t7, the unknown voltage (Vin) is ap- input. More positive input voltages will
plied to an integrator having a predefined integration time constant (r) for a result in higher levels at the integrator
preset time. During t2 a known negative voltage is presented to the integrator. output.
The time needed for the integrator to return to the 0 level is therefore a During the second cycle of the integra-
functil:m of the unknown voltage. A digital counter keeps track of this time, tion sequence, Vin is replaced at the input
from which Vin can be calculated. of the integrator with a negative 2.000 V
reference. The output of the integrator
INTEGRATOR OUTPUT starts to move toward zero while the digital
VOLTAGE VO
circuitry in the chip keeps track of the time
it takes to make it to zero again. The time
difference between the two integration
sequences is then a function of their voltage
SLOPE= ~ SLOPE = V REFIT difference. Since the integration time con-
T
stants are the same for both periods, if 2.000
V were the unknown applied voltage, t2
would be equal to q. The unknown voltage
is equivalent to the ratio of the periods,
times the voltage reference, Vref. This is
VOLTS also known as a ratiometric converter. Quite
a ·mouthful. The full scale range of the
TIME
converter is determ ined by the level of Vref.
Changing Vref to .200 V will make the same
~------ II ------~~
1999 count represent a 199.9 mV full
122
scale. (Obviously, Vref could be set to any
~-------12 3--------~ value within the voltage limitations of the
chip. But, remember, full scale will still be

(7a)
T = integration time constant
CONTROL START tl unknown voltage integration period
r--- LOGIC (constant)
t2 reference voltage integration period
INTEGRATOR (variable)
V INPUT C
Vintl V ref t2
Va =
T T

that is
COUNTER
Vin
=.2
V ref tl (7 b)

78 BYTE Decemher 1977


r

/
·f

I '

'j
f

Volume VI VOlume VII


Yes and it still contains what was previously
advertised . A fully disk interactive business
package with AIR, Inv., AlP, ledgers, tax to tals,
payroll records, more.
As a bonus it also contains the Users Manual for
our Firmware Ledger package. These 100 extra •
pages contain report formats, file creation rou-
tines and our very powerful program ACBS1 usea .j
to create the powerful file structured data base ,

VOLUME I - $14.95 f~
VOLUME II - 24.95
VOLUME III - ,39.95
VOLUME IV - \. 9.95
VOLUME V - 9.95 •

OUR SOFTWARE IS COpy-


RIGHTED AND MAY NOT BE
• Y",
,,
REPRODUCED OR SOLD. "
Due to the numerous copyright violations on
our earlier volumes - un til further notice we 10% di scou nt on purchases of entire set, Offer expires December 30,1977
are offering a REWARD leading to the arrest

-
and conviction of anyone reproducing our
software in ANY way without our written
permission. This incl udes diskettes, paper and ERICARO
magnetic tape , cassettes, records , paper
copie • etc .
p ono,ed
",
I
1999 counts even if it repl·esents 2.463 V, Each output pin of IC1 has the power to
if for example that WNe Vrer) drive one LS TTL load. Since all input ports
are not necessal'ily low powel', we pl'ovide
Making a DVM Chip Computer Compatible IC3 and IC4 as buffers. They are 74LS04s
and while they are capable of driving regular
There are more bus configurations than I TTL, they do invert the output data of the
know what to do with lately, so I set up this DVM. Any driver program must complement
interface to run from decoded input and the BCD and digit data it receives from this
output ports. Whether they be memory
interface before using it.
mapped 10 or not, we do not care, as long IC2 is a MC1403 precision voltage
as the outputs are latched and the inputs
reference chip and supplies the Vl'ef input.
can be driven by low power Schottky TTL This IC will vary only 7 mV over a range of
devices. 0° to 70°C from its nominal 2.5 V output.
To fully utilize this eight channel 3\12 While a zener diode might also supply an
digit DVM, we must design the correct hard-
adequate reference voltage, the temperature
ware interface and write a universal software
drift characteristics of the avel·age zener
driver. would negate the value of a 3\12 digit
converter if used beyond a 5 or 10°C tem-
Hardware and Data Format perature variation. A precIsion voltage
Figure 2 details the schematic of the 8 integrated circuit is an absolute must if
channel interface board. IC1 is the MC14433 this circuit is to be used for practical
DVM chip. With the values chosen, it will appl ications.
perform appl'oximately 25 conversions a IC5 is a 7474 which is used here as a set-
second. Reducing the 68 K resistor between reset flip flop. The end conversion signal
pins 10 and 11 to about 27 K will increase from IC1 sets it, and an output bit from
this to about 50 conversions per second. the computer resets it after reading the
Figure 2: Circuit for the This is an out of specification condition output data.
8 channel 3];2 digit volt- and, though probably successful, is IC6 is an 8 input CMOS multiplexer.
meter. dependent on individual parts. Its address lines are tied directly to a latched

Continued on page 92

TYPICAL RESISTOR
INPUT SCALING

-1.9995 VIN 5 1.999V PR08E


,I -5VSMAXS5V INPUT
100V
lOOK 3 900K
,13 "'--lNO. I
IC4
4
8 3 74lS04 , "'--lNO.2 TO
VREF V IN IC 6 ANALOG
470K IC I CD4051 NO. 3 OUTPUTS
5
MCI4433 lOOK
3112 DIGIT OVM , ~,--,NO . 4
EOC ANALOG
*100V
.1 , ",--,NO.5
INPUT S
4
6 SET , ''--lNO. 6
OSI OS2 DS3 DS4 03 02 01 00 ClK 5 a D2 8
19 18 17 16 23 22 21 20 II 68K , "'--lNO. 7
IC5
7474 6
1NH NO.8

ClK 3 C B A
5 II ClR 9 10 II
-5V 330
IC3 1/2W -12 TO-16
74 lS04 V

1
IOI"F
5.IV
5 6 3V
.

*MYLAR
+5V

t D+5V

\
87 86 85 84 83

PORT 003 INPUT


SELECTED CHANNEL
82 81 80
I
~
81 80

PORT 002 INPUT


OVERRANGE AND
87
~
82 81 80

PORT 003 OUTPUT


CHANNEL SELECT
I
JOIOI"F 1.01
6 3v

.
100

1 DGND

DATA OUTPUT END OF CONVERSION AND CONVERSION


STATUS START

80 BYTE Decemher 1977


4800 BAUD CASSETTE RECORDER
An ASYNCHRONOUS NRZ type Recorder with remote motor start/stop. Error
rate 10 8 at 4800 BAUD. Can be used from 110 to 4800 BAUD into a UART or "Bit
Banger PIA" -no clocking required. This is not an audio recorder. It takes RS232 or
TTL signals from the terminal or computer and gives back the same signals. No audio
interface is used. Motor start/stop is manual or through TTL or RS232 signals.
Tape speed is 3.2" /second nominal; 1.6"/sec. optional. 110 volt, 60 Hz, 5 watts.
(220 Volts on special order). Can use high quality audio cassettes (Philips Type) or
certified data cassettes. Can be used in remote locations from a 12 Volt battery.
Recommended for DATA LOGGING, WORD PROCESSING, COMPUTER PRO·
GRAM RELOADING and DATA STORAGE. Especially recommended for 6800
systems, 6502 systems, 1800 systems and beginners with the 8080 systems. Manual
control except for motor start/stop. 6800 or 8080 software for file or record searching
available on request with order. Used by major computer manufacturers, Bell Tele·
phone and U.S. Government for program reloading and field servicing.
MODEL CC-8 $175.00 AV AIL ABILITY - Off the shelf.

PROVIDES MONITOR AND TAPE SOFTWARE in EPROM. EXPANDS 6800 CONTROLLER for SWTP
MIKBUG with 1 K of ADDITIONAL ROM PROGRAM.
This is a complete tape controller for the SWTP 6800 system. Has 3 K of EPROM
space for your own programs. A 1 K ROM (2708) is provided with all tape and moni·
tor functions . The ROM program is identical to our extensive 8080 ROM program.
Has one ACIA for one or two tape drives, one USART for an additional Serial port
and a 4 bit parallel port for motor control. Will control one or two CC·8 or 3M3A
drives with the software provided. Can be used with other tape drives controllable with
4 TTL bits if appropriate software changes are made.
Extra serial port is provided for your use with a second terminal or printer. (RS232,
TTL or 20 rna)
The ROM program supplements the MIKBUG program and is entered automatically
on reset.
AVAILABILITY -Off the Shelf. $190.00, Tested & Assmb. ($160.00, Kit)
PROVIDES MONITOR AND TAPE SOFTWARE in ROM TERMINAL and
TAPE PORTS on SAME BOARD CONTROLS ONE or TWO TAPE UNITS
(CC-8 or 3M3A)
This is a complete 8080, 8085, or Z80 system controller. It provides the terminal
I/O (RS232, 20 rnA, or TTL) and the data cartridge I/O, plus the motor controlling
parallel I/O latches. Two kilobytes of on board ROM provide turn on and go control
of your Altair or Imsai. NO MORE BOOTSTRAPPING. Loads and Dumps memory
in hex on the terminal, formats tape cartridge files, has word processing and paper
tape routines. Best of all, it has the search routines to locate files and records by
means of six, five, and four letter strings. Just type in the file name and the recorder
and software do the rest. Can be used in the BiSync (IBM), BiPhase (Phase encoded)
or NRZ modes with suitable recorders and interfaces.
This is Revision 7 of this controller. This version features 2708 type EPROM's so
that you can write your own software or relocate it as desired. One 2708 prepro-
grammed is supplied with the board. A socket is available for the second ROM
allowing up to a full 2K of monitor programs.
Fits all S100 bus computers using 8080 or Z80 MPU's. Requires 2 MHz clock
from bus. Cannot be used with audio cassettes without an interface. Cassette or
2SIO (R) CONTROLLER cartridge inputs are RS232 level.
$190.00 ($160.00 Kit) A V AILABILITY - Off the shelf.

~
80 BOARD for SWTP COMPUTER: Now you can use the 8080/Z80 software programs in your SWTP 680

J
machine. Replaces your MPU board with a Z80 and ROM so that you are up and running with your present
SWTP memory and MPC card. $200 assembled and tested. ($160 kit)
AVAILABLE-November '77.

OVERSEAS: Export Version 220 volt 50 hz. Write factory or: Megatron-Datameg, B011 Purzbrunn, Munchen, Germany; Nippon Automation
5-16-7 Shiba, Minato-Ku, Tokyo, Japan; Hobbydata, FACK 20012, Malmo, Sweden; G. Ashbee, 172lfield Road, London SW 10-9ag: Trin-
tronics, Ltd., 186 Queen Street W, Toronto, Ontario, Canada; EBASA, Enrique Barges 17, Barcelona 14, Spain; ARIES, 7, rue Saint Phillipe du
Roule, 75008 PariS; Microlem 20131, Milano, Italy; Eagle Electric, Capetown, S. Africa.

For U.P.S. deliverv, add $3.00 Overseas and air shipments charges collect. N.J . Residents add 5% Sales Tax . WRITE or CALL for further
information. Phone Orders on Master Charge and BankAmericard accepted.

~atiunal Multiplex Curpuratiun


3474 Rand Avenue, South Plainfield NJ 07080 Box 288 Phone (201) 561-3600 TWX 710-997-9530

Circle 82 on inquiry card. BYTE De cembe r 1977 81


Everything you need in small computer systems with special emphasis
on TERMINALS! Look at these units ... compare price, quality, delivery,
service ... and you'll see why you don't have to look anyplace else!
LEAR SIEGLER ADM 3A TERMINAL
• Full addressable cursor ADM 3A $739 95
• Display format-24 lines Kit. . . . . . . •
of 80 characters per line ADM 3A ' 95
849
• Communications rates-75 to Assembled .. •
• b~~ogu~:rui~terfaces ;~~~~ ?~.s~... .. 69.00
- EIA standard

• Display Format
-80 characters
per line by 24 lines
• Full cursor control
• Edit operations : clear screen,
clear unprotected character type-over.
(Options are Character InsertlDelete,
Line InsertlDelete, Erase to end
~WiflHtr". of page, Erase Line/Field)
and much more
~~~~~Ied $1398.00
ADM 2A TERMINAL
• 1920 character display (24 x 80)
• 16 function keys for 32 commands
• Separate keyboard-119 keys
• 10 key numeric pad
• Single key edit operations ADM 2A
• Page, field or line edit Assembled . . .
• Security, protected fields $1895.00
and much more

OKIDATA MODEL 110 OKIDATA MODEL 22 • 125 lihes per minute


LINE PRINTER LINE PRINTER 132-column print line
• 110 CPS dot matrix • Upper/lower case
• 8 different
Friction
Feed.. .
$114900•
character sizes
• 12 IPS paper slew
Tractor
Feed. . . ..
1279•
00 Trac tor Feed ... $2249.00
RS 232C
Serial .. 379.00
Interface ..

• 132 column printing


.10-30 CPS
• Full keyboard
• Tractor feed

82 BYTE De cember 1977


CENTRONICS CENTRONICS 761 PRINTER
703 SERIAL .300 Baud serial transmission
PRINTER • Bidirectional and incremental printing
• RS232 , CCITT-V24, or
current loop interface
• Baud selection (110/150/300)
KSR with Keyboard .... . .. . $1695.00
• Low
cost
of ownership
• Bidirectional logic seeking printing
• Microprocessor electronics $2395 • 00
'l.'
Receive only version

1595.00
• Excellent print quality

IMSAI 8080 MICROCOMPUTER


• Powerful. Low cost. Easy to use

~
With 22 Slot
. . . .. . . .. _ IMSAI80.!JQ
• • ~
~

•_ I , - - ' ...-
.
f_. -
.
. - $0619:95 • Fully IBM 3740 media
II,k._-'l"'~~ ~ With Z-80 CPU and format compatible
849.95 • Full formatter
and controller ICOM Model FD 3712
Dual Drive System
built-in
HAZELTINE 1500 $2795.00
VIDEO TERMINAL
• Reverse video
.24 x 80 display
• Programmable
brightness levels
• RS232 and
current loop
and much mo

Assembled . ... $1149.


SPECIAL BUYS
HAZELTINE MODULAR 1 Sorac 10 120 Video Term inal Kit ... ... . . $959.00
INTELLIGENT TERMINAL DEC LA 180 Printer . .. ...... ..... .... 2769 .00
Compu c olor 8001 Color Computer .. .. . . 2595 .00
.1920 character display ICOM Microfloppy System . . . . . ... ... .. 989 .00
.8 different video levels North Star Microfloppy Disk Kit. ... . . . .. 599 .00
• Full editing capability 2708 Eproms .. . .. .... . ...... . . ... .... 27 .95
• Removable keyboard ~ Javelin 9 " Video Monitor . . . . .. .. .... . . . 159 .95
and much more Livermore Modem Model 76 . . .... . . . ... 299 .00
Sol 20 with Solos Kit (limited supply) .... . 999 .00 '
Assembled .. . . Mi cropo li s Model 1053MOD 2 . . ....... 1799.00
$1659.00 IMSAI AP44-44 Col. Printer Kit. .. ....... 329 .00
TDL XitanAlpha 1 Computer Kit ...... . .. 699 .00

We carry a full line of the follow ing: TDL, SYNCHRO-SOUND ENTERPRISES. INC.
Centronics, Seals, Hazeltine, Micropolis, The Computer People
Hayden, IMSAI , Cromemco,
Compucolor, Icom, Lear Siegler, Okidata, 193-25 Jamaica Avenue,
DEC, Javelin, North Star, Peripheral Vision . Jamaica, New York 11423
Same day delivery and shipping on most 212/468-7067 TWX: 710-582-5886
items. Full modern repair facilities on Hours 9-4 daily Visit our new showroom
premises for complete servic ing of and Satu rday Work ing units on display
everything we sell. Dept. BB BankAm eri card· Master Charg e

Circle 11 2 on inqu iry card . BYTE Decemhor 1977 83


or cabinet that will serve the purpose.
Get Your System Together I have found a 20 by 25 by 60 inch (40.8 by
63.5 by 15.24 cm) size frame quite suit-
able for my homebrew computing system.
The size depends mainl y on the size of the
existing equipment in your system. Some of
John G Whitney
the better cabinets are the ones in which all
2405 Haisley Dr four sides have panels which swing open to
Ann Arbor MI 48103 expose the computer hardware for easy ser-
vicing. If you fail to locate such a cabinet,
you can easily construct an adequate
wooden enclosure.
So you now have your own home com- After acquiring a cabinet it's usually best
puter system up and running. Your pro- to install a fairly large ventilating fan to keep
cessor is on one bench, a cassette mass the heat generated by the hardware to a
storage memory unit on another. The ter- minimum. Another addition such as a row
minal stands nearby, with the paper tape of 110 V AC outlets, mounted on the inside
punch and your TV video monitor on the of one side panel, will decrease your work
floor. To top it off you have 20 interconnec- when changing or increasing your com-
ting cables lying around. Does this remind puter 's equipment. A main power switch for
you of your computer system? Things don't all electrical equipment in the cabinet,
have to be this way when with a moderate when mounted near the front, becomes
amount of time and money one can convert quite handy when all powe r is to be discon-
one's computing apparatus into a well organ- nected . Other additions, like a smoked glass
ized and laid out system. or plastic front door panel to improve your
Most professionally installed minicom- cabinet's appearance, are left to your
puter systems have most of their hardware imagination .
mounted in one rather large cabinet. Not only will the cabinet provide an
Mounting the hardware in such a cabinet enclosure for your equipment, but any
eliminates many interconnecting cables that sufficiently large unused space can be used
otherwise would be lying around on the to store your computer software, in paper
floo r. A cabinet for your system will in- tape or cassette form. When utilizing space
crease the system's reliability by shortening for your system's software it becomes
cable lengths between system components, necessary to insulate and shield these areas
since they are now all mounted together. from all electrical wires or possible stro ng
The shorter cables will have less capacitance magnetic fields. This can be done either by
which will in turn lower the amount of byte moving the wires away from the space or by
transfer errors due to noise pickup. A cab- surrounding them with a steel shi eld which
inet will also provide easy movability of the will confine the magn etic fields. Otherwise
total computing system without much you might find that your software cassettes
trouble. By mounting your computer hard- contain small bits of garbage.
ware in such a cabinet you can achieve In utilizing a cabinet with your system
these results in addition to improving you won't just improve your computer's
your system's appearance and efficiency. appearance and efficiency, but when some-
At almost any used computer surplus one views your system he or she won't
center one can find a fairly cheap and exclaim in disbelief, "Is that the computer?
adequate stripped down computer frame Th at littl e box!".

84 BYTE December 1977


----15 ntll! J~J~~IltlPlJTErlE ANNOUNCING

GRAND OPENING
MOST COMPLETE LINE OF MICROCOMPUTERS AND ACCESSORIES
PLACE YOUR ORDER TODAY - CALL TOLL-FREE- 800-433-1679

COMpUTER
. . . 680 O ayaTEM

RADIO SHACK SOUTHWEST TECHNICAL PRODUCTS

CPU's - Alpha Micro, ICOM,


IMSAI, Polymorphlcs,
Processor Technology,
T.D.L., Vector Graphics,
Equinox

"POPULAR BRANDS"
CARRIED
DISCS - ICOM, Digital
Systems, IMSAI, Mlcroplls,
North Star, Polymorphlcs,
Processor Technology,
Shugart, Smoke Signal, SWTP,
Perscl , Extensys

VIDEO
BRAIN

TERMINALS-
Beehive,
Lear Siegler,
SOROC, SWTP,
Informer

Complete Line of Parts and Accessories!


Call for Special Prices! 800·433·1679
Mail To: TANDY COMPUTERS 612
P.O. Box 2936, Fort Worth, Texas 76102
Please Send Me TANDY COMPUTERS
Full-Line 1978 Catalog
PLEASE PRINT
Name,_ _ _ _ _ _ _ _ _ _ _ _ _ _ Apt. _ _
PRINTERS - Centronics, Okidata, Practical Automation, SWTP,
Diablo,IMSAI Street _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ __
City _ _ _ _ _ _ _ _ _ _ State _ _ Zip _ __

Circle 114 on inquiry card. BYTE December 1977 85


The end of bad solder ioints, heat damaged

components and sick IC's.lntroducing the
Semikit. Item 1, a 16KRA Memory Board, $369.

Let's face it. Loading and for both of us. You get a board refresh. There's no waiting while
soldering PC Boards is not much where the primary causes of the CPU is running. Worst case
fun for the kit builder. Even damage (poor solder joints, excess access time is 400 nsec. Each
more important, it's the place solder and bad IC's) are virtually 4,096 word block is independently
where most of the trouble gets eliminated. You get a board of addressable for maximum sys-
introduced. The real fun and highest professional quality. tem flexibility. Power is typically
education comes in running and And we get the business! 5 watts, the same as most single
testing boards. 4K memory modules. Back-up
The 16KRA Memory
power connection is built-in.
Now the Semikit with Board's at your dealer now.
fully tested Ie's. Your Processor Technology Other Semi's are coming
At the price of a kit, Processor dealer has the first Semikit, a your way.
Technology Corporation intro- 16KRA Memory Board, in stock The 16KRA Memory is
duces the Semikit. It's a fully and ready to go right now. You Processor's first step in adding
stuffed, assembled and wave can take it home tonight for more fun, capability and reli-
soldered PC Board loaded with $369 as a Semi kit or for $399 ability to your computer system
IC's that have gone through Q.C. fully assembled, tested and at lower cost. Other modules are
and final checkout (a first in burned-in. on the way to your dealer now.
the industry). You'll have a 16,384 byte Come on down today.
We leave you the fun of memory with a better price per- Or you may contact us
testing with our fully documented formance ratio than anything directly. Please address Processor
set of instructions. We do the on the market today. Now you can Technology Corporation, Box B,
production tasks of loading, wave afford to add quality, high 7100 Johnson Industrial Drive,
soldering and inspecting the density memory to your system Pleasanton, California 94566.
boards. You do the more interest- for remarkably little. And you Phone (415) 829-2600.
ing and time consuming chore can add enough to solve complex
of testing and burning-in computing problems right in
the boards. the main frame.
The result is one sweet deal The memory features invisible ProcessorTechnology
Circle 95 on inquiry card. BYTE Dec e mher 1977 89
See Sol here•••
ARIZONA The Byte Shop INDIANA NORTH CAROLINA The Micro Store
3400 EI Camino Real The Data Domain ROMs 'N' RAMs 634 So. Central
Byte Shop Tempe Expressway
Santa Clara, CA 95051 406 So. College Ave. Crabtree Valley Mall
813 N. Scottsdale Rd . Richardson , TX 75080
Tempe, AZ 85281 (408) 249-4221 Bloomington , IN 47401 Raleigh, NC 27604
(812) 334-3607 (214) 231-1096
(602) 894-1129 Recreational Computer (919) 781 -0003
Centers The Byte Shop
Byte Shop Phoenix VIRGINIA
1324 South Mary Ave. 5947 East 82nd SI. OHIO
12654 N. 28th Dr. Sunnyvale, CA 94087 Indianapolis, IN 46250 The Computer Systems
Phoenix, AZ 85029 (408) 735-7480 Byte Shop
(317) 842-2983 Store
(602) 942-7300 2432 Chester Lane
Byte Shop of Tarzana 1984 Chain Bridge Rd .
Byte Shop Tucson The Data Domain Co lumbu s, OH 43321 McLean, VA 22101
18423 Ventura Blvd. 7027 N. Michigan Rd . (614) 486-7761 (703) 821-8333
2612 E. Broadway
Tarzana, CA 91356 Indianapolis, IN 46268
Tucson , AZ 85716 (213) 343-3919 Computer Mart of Dayton
(317) 251-3139 Media Reactions Inc.
(602) 327-4579 2665 S. Dixie Ave. Reston International Center
-Computer Components Dayton, OH 45409
5848 Sepulveda Blvd. 11800 Sunrise Valley Dr.
IOWA (513) 296-1248
CALIFORNIA Van Nuys, CA 91411 Suite # 312
Th e Computer Store Reston , VA 22091
The Byte Shop (213) 786-7411
1514 University Ave . of Davenport OREGON (703) 471-9330
Berkeley, CA 94703 Th e Byte Shop 4128 Brady Street
2989 North Main St. Davenport, IA 52806 Byte Shop Computer Store The Home Computer Center
(415) 845-6366 3482 SW Cedar Hills Blvd. 2927 Virginia Beach Blvd.
Walnut Creek, CA 94596 (319) 386'-3330
Computer Center (415) 933-6252 Beaverto n, OR 97005 Virginia Beach , VA 23452
1913 Harbor Blvd. (503) 644-2686 (804) 340-1977
Byte Shop KENTUCKY
Costa Mesa, CA 92627 The Real Oregon
(714) 646-0221 14300 Beach Blvd. The Data Domain WASHINGTON
Westminster, CA 92683 3028 Hunsinger Lane Computer Co.
DCI Computer Systems (714) 894-9131 Louisv ille, KY 40220 205 West 10th Ave. Byte Shop Computer Store
4670 N. EI Capitan (502) 456-5242 Eugene, OR 97401 14701 N.E. 20th Ave.
Fresno, CA 93711 (503) 484-1040 Bellevue, WA 98007
(209) 266-9566 COLORADO (206) 746-0651
MICHIGAN Byte Shop Computer 'Store
Byte Shop 2033 SW 4th Ave . The Retail Computer Store
The Byte Shop 3101 Walnut SI. The Computer Store
1122 " B" Street of Ann Arbor Portland, OR 97201 410 N.E. 72nd
Boulder, CO 80301 (503) 223-3496 Seattle, WA 98115
Hayward , CA 94541 (303) 449-6233 310 East Washington
(415) 537-2983 . (206) 524-4101
Ann Arbor, MI 48104
Byte Shop (313) 995-7616
The Byte Shop RHODE ISLAND
3464 S. Acoma SI. WISCONSIN
16508 Hawthorne Blvd. Englewood , CO 80110 Computer Mart Computer Power, Inc.
Lawndale, CA 90260 (303) 761-6232 of Royal Oak M24 Airport Mall The Milwaukee
(213) 371-2421 1800 W. 14 Mi le Rd . 1800 Post Rd. Computer Store
The Computer Mart Royal Oak, MI 48073 Warwick , RI 02886 6916 W. North Ave.
FLORIDA (313) 576-0900 (401) 738-4477 Milwaukee, WI 53213
633-B West Katella (414) 259-9140
Orange, CA 92667 Byte Shop of Genera l Computer Store
(714) 633-1222 Fort Lauderd ale 2011 Livernois SOUTH CAROLINA
1044 East Oakland Park Troy, MI 48084 WASHINGTON D.C.
Byte Shop Blvd . Byte Shop
496 South Lake Ave. (313) 362-0022 2018 Green SI. Georgetown
FI. Lauderdal e, FL 33334 Computer Store
Pasadena, CA 91101 (305) 561 -2983 Columbia, SC 29205
(213) 684-3311 MIN NESOTA (803) 771-7824 3286 M Street NW
Byte Shop of Miami Washington , D.C. 20004
Micro-Computer Computer Depot, Inc. (203) 362-2127
7825 Bird Road
Application Systems 3515 W. 70th SI. TENNESSEE
Miami, FL 33155
2322 Capitol Avenue (305) 264-2983 Minneapolis, MN 55435
(612) 927-5601 Microproducts & Systems CANADA
Sacramento, CA 95816
(916) 443-4944 Microcomputer 2307 E. Center Street Trintronics
Systems Inc. Kingsport, TN 37664 160 Elgin SI.
The Computer Store NEW JERSEY (615) 245-8081
144 So. Dale Mabry Hwy. Place Bell Canada
of San Francisco Tampa, FL 33609 Hoboken Computer Works Ottawa, Ontario K2P 2C4
1093 Mission Street (813) 879-4301 No. 20 Hudson Place (613) 236-7767
San FranCisco, CA 94103 Hoboken, NJ 07030 TEXAS
(415) 431-0640 (201) 420-1644 Compute r Port Computer Mart Ltd.
GEORGIA 926 N. Collins 1543 Bayview Ave .
Byte Shop The Computer Mart Arlington , TX 76011 Toronto , Ontario M1 K 4K4
321 Pacific Ave . Atlanta Computer Mart of New Jersey
5091-B Buford Hwy. (817) 469-1502 (416) 484-9708
San Francisco, CA 94111 501 Route 27
(415) 421-8686 Atlanta, GA 30340 Isel in, NJ 08830 Computertex First Canadian
(404) 455-0647 (201) 283-0600 2300 Richmond Ave. Computer Store Ltd.
The Byte Shop Houston, TX 77006 44 Eglinton Ave . West
2626 Union Avenue (713) 526-3456 Toronto, Ontario M4R 1A1
San Jose, CA 95124 ILLINOIS NEW YORK
(416) 482-8080
(408) 377-4685 Champaign Computer Th e Computer Shoppe Interactive Computers
Company 444 Middle Country Rd . 7646V2 Dashwood Rd. The Computer Place
The Computer Room Houston, TX 77036 186 Queen St. West
124H Blossom Hill Rd. 318 N. Neil Street Midd le Island, NY 11953
Champaign, IL 61820 (516) 732-4446 (713) 772-5257 Toronto, Ontario M5V 1 Z1
San Jose, CA 95123 (416) 598-0262
(408) 226-8383 (217) 359-5883 Th e Computer Mart Neighborhood Computer
itty bitty machine co . of New York Store Basic Computer Group Ltd.
The Byte Shop #20 Terrace 1548 East 8th Ave .
509 Francisco Blvd. 1322 Chicago Ave. 118 Mad ison Ave.
Evanston, IL 60201 New York, NY 10001 Shopping Center Vancouver, B.C. V6J 4R8
San Rafael, CA 94901 4902 - 34th Street (604) 736-7474
(415) 457-9311 (312) 328-6800 (212) 686-7923
Lubbock, TX 7941 0
illy billy mach ine co. The Computer Corner Pacific Computer Store
(806) 797-1468
42 West Rooseve lt 200 Hamilton Ave. 4509 Rupert SI.
Lombard, IL 60148 White Plain s, NY 10601 Vancouver, B.C. V5R 2J4
(312) 620-5808 (914) 949-3282 (604) 438-3282

ProcessorTechnology
90 BYTE De cember 1977 Circle 95 on inquiry card.
I may have bugs in the
program , but the pro-
grammer's got bats in his
belfry,

Jack and the Machine Debug

.. . or Reading the Traces of the Wild Program

" It has to be done by now. That sub- " Shouldn 't I reload the program first, Robert 0 Grappel
routine can't take much more than a few Jack?" 148 Wood St
milliseconds per entry, and there aren' t " I guess so." Jack wa ited as computer Lex ington MA 02173
man y entries. I'll give it a few mo re reloaded the program from its cassettes.
Jack E Hemenway
second s." Jack sat nervo usl y puffing his "Now, put a software interrupt at 1 FCO."
151 Tremont St
cigar. " It can't take this lon g," said Jack, hi s "O ne SWI in se rted (hexadeci mal 3 F to
Boston MA 02116
patience exhausted . He punch ed the RESET me). Shall I ru n the program now?"
button. "Start." Jack we nt in to the kitchen fOI'
"What do yo u want now, Jack? Here I a beer. He retumed a few minutes later.
am, fait hfull y running yo ur program, and "Computer l What are yo u doing? RESET! "
you interrupt me. Find a mistake in your " Now what ?"
code?" " I told yo u to set a breakpoint!"
" Hard ly. You should be don e by now . " I did set a breakpoint; see the 3F at
What have yo u been doing that took so 1 FCO. I ju st have n't exec uted that instruc-
long?" tio n yet."
"Well, whe n yo u interrupted me, I think "W hy not?"
was execut ing a load-immediate " I haven't the fogg iest idea. I just exec ute
in struction ." them in the order that yo u wrote them.
"Where?" Writin g programs is supposed to be yo ur
" How should I know? You interrupted contributi on to our work."
me . I'm in the monitor ROM now. I can't " Don't get snide. Remove the break- I just execute them in the
keep track of every in struction I execute." point." order that you wrote
"Tru e, true. It su re wou ld be ni ce if you " Done." them. Writing programs is
could , though." "Now, put the break po in t at 1 FA2." supposed to be your
"Well, I can't. I already assemb le yo ur " I'll reload t he prog ram first, Jac k."
contribution to our
programs for yo u; you can 't ex pect me to " I guess you should , but I hate wait ing
work ...
debug them for yo u too! That's supposed to fo r those cassettes."
be yo ur departm ent !" "They' re yo ur des ign, remember. If you
" I know, computer . How do I figure want speed, buy me some disks."
out where yo u went wrong?" "Th ey're on order."
" How do I know?" "G reat. Now let me load t he program the
"Calm yourse lf or I'll use yo ur parts in best I ca n from these archaic, cranky, slow,
my F8." ol d ... "
"Okay, Jac k. I'm sorry I lost my head. " J ust do the job without th e com-
Anything would be better than inflicting mentary! "
that F8 on us. How abo ut trying a break- The cassette in th e read drive tum ed ever
point?" so slow ly. " I'm ready now, Jack. Th e break -
"Good idea! Co mputer, so met im es yo u point is set."
amaze me. Try a breakpoint at the sub -
ro utin e ret urn ." Continued on page 133

BYTE Decemher 1977 91


Continu ed from page 8 0

output port. The us ual convel"sion sequence


is to set the chan nel in fol"mation to the
mu ltip lexer, clear the EOC flip f lop and wait
fOl' an end of convers ion signal. More on th is
later.

Data Format
As I stated eadier, the data from the
DVM to the computer is both sel"ial and
para ll el. Thel"e are four digit select lin es and
fou l" BCD data lines (see tab le 1).
With respect to what the comp uter sees
through the 74 LS04 buffers, the digit
se lect outp ut is low when the respective
digit is se lected. The most sign ificant digit
(yS digit DS 1) goes low immediately after
an EOC pulse, fo ll owed by the rema ining
digits sequencing from most significant to
least sign ificant digit (MSD to LSD). An
interd igit blanking time of two clock periods
is inc lu ded to ensure that the BCD data
has settled . The mu ltip lex clock rate is equa l
to the system clock fl"eque ncy d ivided by
80.
During the Y2 dig it (DS1), the po larity
and certa in status bits are ava il ab le. It wo ul d
be confus ing to list the status bits, sin ce they
al"e not being used in this ap pl icat ion for
autorangin g. The polarity wi ll be 02 and a
"1" will in dicate negative. The Y2 digit value
Photo 2: Eight meters (some are multimeters, others are voltmeters) which will appear on 03 and a "1" will ind icate
could be replaced (at least for DC voltage measurements) by the computer- high.
ized 8 channel voltmeter described here. T he inte l"face is summarized by port

Photo 3: Prototype board


for the 8 channel 3YJ digit
voltmeter.

92 BYTE De ce mhe r 1977


allocations in table 1. (Note: I have assigned
particular port numbers to each byte. These
designations will run directly with the soft-
ware driver provided. If the reader wishes to
assign different port numbers, that is fine ,
but remember to modify the driver software
to reflect the changes.)

Designing an Analog to Digital Converter


Software Driver
For a hardware personality like me, soft-
ware is a tedious task. I don't like writing
any more than I have to and if it is possible
to write a universal piece of code which is
compatible with any operating system, all
the better. Units such as the digital to
analog converter I presented in the Septem-
ber 1977 BYTE (page 30) do not need soft-
ware drivers because the hardware is expli-
citly designed to be independent of com-
puter timing. Timing is the key word. A
"software driver" is the same as its hardware
counterpart. Both serve to couple the
computer to external devices and
synchronize the timing. The most obvious
driver already existing in a computer system
like my Digital Group system is the
asynchronous data link to the tape cassette,
video display and printer. The computer is
instructed through this program to perform
explicitly timed operations which result in
Photo 4: An illustration of the accuracy of the computerized voltmeter. A the correct serial input and output.
Data Precision 4J.1 digit digital multimeter and the author's system simultane- The 3% digit DVM interface is not unlike
ously measure a C cell battery. The computer value is 7.540 V compared a communications driver. To effectively
with the Data Precision reading of 7.5402 V. obtain data from the interface, the computer

Table 7: to port data Command Output Byte (Port 003 OUT) (Enable; 1 Disable; 0)
formats.
~~ ;IEOC/lnterrupt Enable/disable

B5 Future Expansion
B4

B2
B3
81
1 Channel Select, 0-7
BO
Status Input Byte (Port 002 IN)

B71
B6
B5
84 Not Used
B3
B2
B1 ; Out of Range (-1.999 < Vin > 1.999)
BO ; End of Conversion
IC1
Data Input Byte (Port 003 IN) Symbol Pin Number
B7; 1st digit (MSD) : When true; B7-+0 DS1 19
B6 ; 2nd digit 86 DS2 18
B5 ; 3rd digit 85} N/A DS3 17

!i
84 DS4 16

B1
;1 ::Dd~::it Value
B3
B2
B1
;
;
;
1/2 digit value
Polarity
N/A
°3
°2
23
22
21
°1
BO BO ; Status Bit 00 20

94 BYTE December 1977


I"€ . ~ ~ a » n e w IIBDEID'
" D A§§EMBLER
CPU on an 80 80 bas ed
itte n in sym bol ic lan gua ge for an 80 80
wr
As sem ble s pro gra ms
FU NC TIO N: sys tem .
uld be RA M) ;
wh ich at lea st 1 K sho
pu ter wit h mi nim um of 4K me mo ry (of ice .
IRE D: 80 80 com dev ice ; an obj ect cod
e ou tpu t dev
HA RD WA RE RE QU a sou rce list ing inp ut
int er will allo w
/CR T or key bo ard /pr
con sol e dev ice suc h as a key bo ard ma nds ; add itio nal me mo ry
OP TIO NA L HA RD WA
RE : A sys tem
l of the pro gra m using exe cut ive com to ass em ble dir ect ly
con ven ien t con tro
and ed sym bol tab le len gth , or cap abi lity
exp
bey ond 4K will allo w
int o me mo ry.
d. Each I/O
dev ice s will be uti lize
ed I/O dri ver rou tin es for wh ate ver I/O eas e in ada pti ng the pro gra m
User pro vid vec tor for
SO FT WA RE RE QU IRE
D: pro gra m by a single
dev ice is lin ked to the
to ind ivi dua l sys tem s. (he xa-
pag es 01 thr oug h OA
list ing pro vid ed in the ma nua l res ide s in of OB and OC (he xa-
RY UT ILI ZE D: Th e ass em ble d
01 2 oct al) . Pag es 00, par t of OA, all use r pro vid ed
ME MO h are lef t ava ilab le for
dec ima l - 001 thr oug 2, 01 3 and 01 4 oct al) tab le sto rag e
00 0, par t of 01 use d for sym bol
dec ima l - oct al) on up
(he xad eci ma l - 015
I/O rou tin es. Pages 00 in sys tem s wit h suf fic ien t me mo ry)
.
dir ect ass em bly are as
(or as ry
pos es, sta nda rd ind ust
itte n in, and acc ept s for ass em bly pur INX H: CA LL ; etc .)
Th is pro gra m is wr ;
ON ICS UT ILI ZE D: the 80 80 CP U (su ch as MOV A,B em oni cs wh ich
MN EM for ibl e mn
acc ept ed mn em oni cs special 80 08 com pat
con tin uin g its use of
[N ote : SC EL BI is dis the pas t.]
80 80 pro gra ms in
hav e cha rac ter ize d its (da ta
T (de fin e a nam e), DB
G (or igi nat e), EN D (st op ass em bly ), SE udo -op era tor s.
Ac cep ts the OR do ub le byt e) pse
PS EU DO -OP ER AT OR
S: and OW (da ta wo rd or
by te) ' OS (da ta stri ng) jec t
pro duc e ass em ble d ob
ces ses a sou rce list ing in two pas ses to be obt ain ed. Lis ting s
pro to
IO N : Th e pro gra m thi rd pas s allo ws an
ass em ble d list ing
will als o dis pla y the
PR OG RA M OP ER AT cod e. An opt ion al for ma t. Th e pro gra m
hex ade cim al or oct al gra m can pro ces s
obt ain ed in t. Th e pro
ma y be
sym bol tab le at the op era tor s req ues y be con tro lle d fro m
con ten ts of the mu ltip le file s. Pro gra m ope rat ion ma itch es by
sou rce Iisti ngs as sin
gle or h com pu ter pan el sw
usi ng exe cut ive com ma nd s or thr oug
a con sol e dev ice pro gra m .
te loc ati ons wit hin the
jum pin g to app rop ria 6 cha rac -
d. Lab els ma y be 1 to
y to use , var iab le len gth fie lds per mi tte wit h or wi tho ut lea din g
RC E FO RM AT : Co nve nie nt, eas
bot h hex ade cim al and oct al num ber s as dat a), allo ws
SOU s rac ter s dir ect ly
ter s in len gth , acc ept lity (ca n acc ept ASCII cha
"li ter al" cap abi
zer os, has ran ds.
ber s as CPU reg iste r ope
use of let ter s of num ope rat ion of
m ma nua l des cri bes the
- in the SC EL BI tra dit ion ! Th e pro gra rou tin es, and con tai ns tw o
Th oro ugh cus sio ns of all ma jor
DO CU ME NT AT ION : the ass em ble r, pre sen ts det aile d dis
cim al and one in oct al no tat ion ).
em ble d I isti ngs (on e pro vid ed in hex ade rou tin e tha t ma y be
com ple tel y ass and eve n pro vid es a
ope rat ing ins tru cti ons
Of cou rse it inc lud es em ble r!
ms pro duc ed by the ass
use d for loa din g pro gra ry refe-
wr itte n wit h all me mo
gra m has bee n car efu lly org ani zed and ide in any gen era l are a
IAL FE A TU RE S: Be cau se the pro
, it ma y be rea dil y rea sse mb led to res tha t som e RAM
SP EC ren ces ass ign ed lab els in ROM pro vid ed
ry . I t ma y eve n be rea sse mb led to res ide
in me mo tab le use!
atc h pad and sym bol
are a is ava ilab le for scr in the doc u-
ass em ble r (as des cri bed
pap er tap e of the ob jec t cod e for thi s in the wid ely acc ept ed "he xa-
d
OP TIO NS :
A pun che
ilab le. Th e obj ect cod e tap e is pro vid ed ing of the pro gra m as
me nta tio n) is ava list
o, the com ple te, com me nte d sou rce pun che d pap er
dec ima l for ma t." Als ht ASCII for ma t on
in the do cum ent ati on is ava ilab le in str aig dli ng. Ad dit ion all y, opa que
pre sen ted eas e in han
tap es are pro vid ed for er tap e rea der s now
tap e. Fan -fo ld pap er use of low cos t opt ica l pap
er tap e is sup pli ed to fac ilit ate the
y as opt ion al sup ple me nts to the
pap
d use . NO TE : Pap er tap es are sol d onl
in wid esp rea
do cum ent ati on .

rd Assembler '
, sPecIfy 80!~~~~ Opt
Scelbl's 8080 Standa ional object code
on punched paper tape $10.00. OptIonal
1( ll m l (O,..I>I1III1
g on P h PT.
commented SOurce listm unc ed pap er tape, spe
cIfy

OPTIONAL PAPER TA
PE

Cir cle 98 on inq uir


y car d.
NOW AV AIL AB LE !
8080SA-SPT: $39 .00
.

1 (0~II1III~6 I~(~
P~st Office Box 133 PP
Milford, CT 06406
ST
Dept. B

BYTE Dece mbe r J 977


95
Listing 7,' An assembly program for driving the 8 channel 30 digit voltmeter must synchronize itself to the integrated
in figure 3. It is designed to run on the Z-80 and is assembled to occupy mem- circuit and perform a set instruction
ory page octal 740. repertoire to demultiplex the input data
ASSN 140000 140000
stream. There is a certain trade-off between
140000 0100 * hardware and software. Another ten or
1 4 0000 0 11 0 *** Me144 3~~ :~ 1/2 IH GIT AID CONVERTE I~ ORIVER 15 chips could be added to the interface
140000 0120 ** REV
140000
140000
0125
0 13 0 *DIP
1.1.) board so that it requires no more software
140000
:l40000
0140
01S0 SIP
E(W
ECW
3
2
DATA INPl/T PORT NUMBER
STATUS INPUT PORT NUM BER
than the pigital to analog converter board,
140000
140000
0 160
0170
COP
EEOC
EOU
EO U
3
200
CO MMAND OU TPUT POR T NUMBER
ENA BLE EOC INPUT
but the cost justification is not there.
140000 0180 DEOC EOU 000 DISAB L E EOC INPUT Driver programs can be triggered by
140000 0190 **
140000
140000
0200
0210 * CONVERTED CHANNEL DATA BUFFERS
either a poll from another program or an
140000
140000 000 000
0220
0230
*CHANO DW 000000
interrupt which initiates execution . While
140002
140004
000
000
000
000
0240
0250 CHAN I
DW
DW
000000
000000
both can be equally effective in certain
140006
140010 000 000
000 000 0260
0270 CHAN 2
DW
DW
000000
000000
applications, using interrupt initiated drivers
140012
140014
000 000
000 000
02 8 0
02 9 0 CHAN 3
DW
OW
000000
000000
which give the appearance of simultaneous
140016
140 0 20
600 000
000 000
0300
0310 CHAN4
DW
DW
000000
000000
computer operation can be hazardous. By
1 40022
140024
000 000
000 000
0320
0330 CHANS
DW
DW
000000
000000
now, most experimenters have mastered
140026
140030
000 000
000 000
0340
0350 CHAN6
DW
DW
000000
000000
BASIC and are trying to find more challeng-
140032
140034
000 000
000 000
0360
0370 CHA N7
OW
I) W
000000
000000
ing applications. But consider for a moment
140036
140040
000 000 0380
0390
DW 000000
** INTERMEDIATE DATA BUFFERS the BASIC interpreters most systems are
140040
140040
0400
0 41 0 * provided with . They may execute divinely,
140040 000
140041 000
0 42 0
0430
POL VA L DB
CHAN DB
000 L AS T POLARITY
000
VAL UE (O=POS lT IVE)
CURRENT CHAN NEL NUM BER
but they have no source listing and there-
14004 2 000 000
140044 000 000
0440
0450
CCP DW
STATUS DW
000000 COMMAND CHANNEL PARAMETER
000000 RETURN STAT US PARA ME TER
fore cannot be modified very easily. If a
140046
1 4 0046
0 4 60
0470
** program utilizes information provided
140046 0480 *** START AID CONVERTER through interrupt driven peripherals, but has
*** INf'UT PARA METER=DE
140046 0490
140046
140046
0500
0510
REGI S TER WITH CHANNEL SELECT BITS
SET FOR DESIRE D CHANNEL (BIT 0= 1
no way of knowing when the information
140046
140046
0520
0530
** OUTPUT PAR AHETE R=FOHLR REG
CHANNEL 0 r ETC.)
ISTER (BIT 0 FO R CHANNEL 0
will arrive, it is of no use. Attempting to add
1 40046 0540 * WHERE O= OOOD VALlJE; I =O UT OF RA NGE ) interrupt analog data acquisition to
140046 0550 *START EX DE,H L SAV E INPUT PARAMET ER
140046 353
14 00 4 7 042 042 140
0560
0570 LD (CCP) ,HL
unsourced sequentially interpreted BASIC is
140052 257
140053 375 041 0 40 140
0580
0590
XOR
LD
A INITIALIZE CHANNEL. NUMBER
IY,POLVAL INITIALIZE INTERMEDIATE DA TA POINTER
more than I intend to explain this month.
1 40057 375 167 0 0 1 0 600 LD ( IYtl), A ZERO CHANNEL NUMBER Sometime in a future article I'll describe a
** START AI D CON VERTER AND ESTABL ISH PO L AR ITY
.1 40062 0610
140062 0620 control application which uses interrupts as
140062 0630 *
140062
1 40064
006
076
002
007
0640
0 650
LD
LD
B,2
A,7
CYCLE TWO TII1ES
SE LECT CHANNEL 8
they were intended.
140066
140070
323
366
003
200
0660
0670
AGAIN OUT
OR
CO P
EEOC
SE LECT CHANNEL Adding this DVM interface to BASIC
1 400 72
140074
323
333
003
002
0680
0690 WAIT
OUT
IN
COP
SIP
ENABLE EOC INPUT
READ STA TUS
requires a polled driver . A machine language
140076 3 13
140100 050 37 2
107 0700
0710
BIT
.JR
Or A TEST FOR EO C
Z ,WA IT J UM P IF NOT TRUE
program is written which can be inserted
140] 02 020 36 2
140104 006 2 ()O
0720
0730
OJNZ AGAIN
LD D , 20()
JUMP IF NOT n ONE
SELECT [lGIT 1
anywhere in the computer's memory
.140106 :U S 361 140
.140111. 016 O()<)
{}7 40
0750
CALL RDIG I~EAD DIGIT (assuming it's assembled to execute there, of
LO C,() POLAR I TY = POSITIVE
140113 313 122 0760 BIT 2,n TEST POLARITY BIT ·
140115 D'1() (l01 07'70 ~JR NZ,PDS ~JLJMP IF POS ITIVE
14011 7 ()11! ()7Ej() INC C PO LAf~ITY :::: N EGATrVE
l40120 375 HJl ()OO 0790 pas 1..1) (IY +O ) , C SAVE CURRENT POLAJUTY
140 1 23 OBOO *
.140123 0810 *
SELECT NEXT CHANNEL Fm~ CONVERSION
Constructing the Interface
l 401 23
140123 072 () 4 :? 140
0820 *
0830 SE LN XT LD A , (C:CP) LOAD CHANNEL COMMAND PARA METER
.1 40 1 2 6
313 077 08 40 SRL A TEST NEXT CHAN NEL BIT 1. Use IC sockets and solder in all passive
1 4 0130 062 042 140 0850 LO (CCP) , A RESTOR E components.
1 4 0133 070 OlD 0860 JR C , SELO\} 1 JUMP IF CHANNEL SELECTED
::140135 3 12 355 140 08 7 0 ~JI-' Z,RAPUP 2. Turn on the power and ensure that the
1 40 1 40 375 064 001 OSBO INCCN INC (IY+l) INCREMENT CHA NNEL NUMBER correct supply voltages ' are presented to
1 40143 030 3 5 6 0890 J I~ SEL NXT
140145 335 041 000 140 0900 SEl.OOI LIt IX,CHANO LOAD DATA BUFFER BASE ADDRESS
ICs 1, 2 and 6. Turn off power.
.1401 5 1 026 000 0910 LD 0,0 3. Insert IC2 and apply power. The output at
1401 5 3 375 136 001 0920 LO E, (IY+l) LOAD CURRENT CHANNEL NUMBER
1401Sb 313 043 09 :~0 SLA E CALCULATE BUFFER OFFSET
pin 2 should be 2.5 V and should not drift.
140160 313 043 0940 SLA E Adjust the pot so t~at there is exactly
1 40 162 335 031 0950 AI)!) IX ,D E 2.000 V on IC1 pin 2. Turn off power.
**
140164 0960
] 40164 0970 SE L ECT CHANN EL ANI) START CONVERSION 4. Insert the rest of the ICs including the
1 40 164
14C>164 072 041 140
09(10
0990 SCSC
* tD A , CCHAN ) LOA D CHANN EL NUMBER
MC14433. Be careful when inserting the
1 4 011.)7 323 00:5 lC)() O OUT COP BELEeT CHANN EL 4051 and MC14433. You are now ready to
1 40171 366 200 1010 Ol~ EEOC ENABLE Eoe [JIJTPl/T wire the board to some convenient input
.140 173 323 00 3 1020 OUT COP COM MAND AID CONVERTER
140175 1030 ** and output ports and see if it flies.
140175 104 0 WAIT FO R Eoe 5. Turn on power. A driver program obviously
140175
140175 333 002
1050
1060 WEOC
* IN BIP REA [I CONVER TER STATU S
is necessary to see if the circuit actually
140 177 313 107 1070 BIT O,A TEST FOR foe works and I have included one. If you are
1 40201 050 372 lOBO JR Z , WEOC JUMP I F NOT READY
140203 313 117
re~lIy anxious, you c~n try a couple of
1 090 BIT 1, A TES T FOR OVERANGE
.1 40205 040 124 1100 JR NZ , OVER JUMP I F TR UE quickies : an oscilloscope attached to digit
140207
140207
111 0
1120
**
CONVERSION DONEiPROCESS FIRST ( MSD) DIGIT
select or data lines will tell you immediately
1 40207 1130 * if the circuit is running. You should see
1 40207 006 200
140211 315 36 1 140
1 140 MSDO LD B , 200 SELEC T DIGIT 1 square waves of various duty cycles.
11 50 CALL RDtG WAIT AND READ DIGIT 1
140214 057 1160 CPL Another method is to write a short program
.14021 5 0 17 11 70 m:,~eA RIGHT ~'US T IFY DIGIT VALUE which scans the end of conversion bit
.1402 16 017 1180 RRCA
1402 17 017 11 90 RRCA (remember to reset it first) and halt. If it
1 40220 346 001 1200 AND 1 ISOLATE halts, there must be an EOC.
140222 036 000 1 210 LD E, O INITIALI ZE STATUS BYTE

96 BYTE De ce mber 1977


MSD
WhatYouSeeis WhatYouGet!
Now, A Video System You Can Afford!
Internally, the MSDV-lOO is a two-board
MSDV-IOO S-IOO based system which occupies 2K of
Video Display System: RAM address space and two I/O ports, user
The Video Display System is a high selectable. The microcomputer can write to
quality 80 character, 24 line video output the screen directly with horizontal retrace
device for the S-lOO bus. Many advanced synchronization if desired for a flicker free ,
features have been incorporated which are very high speed display.
not normally found on units costing many Software support for the MSDV-IOO is
times the price. complete with both machine language code,
including fully commented source listings,
The character set includes upper and and a comprehensive Basic software
lower case characters as well as full package implementing all MSDV-lOO
punctuation. Any character can be features. Assembly language drivers allow
underlined, a feature useful in word the sophisticated user to easily customize
processing. A character can also be made to the system for specilized applications.
blink at a user selectable rate , often used
Programs are provided that permit the
for alarm or warning situations. Additionally user to link the video system to high level
a character can appear iIi reverse field programming languages such as Basic. A
(black on white) or, if composite video is
link program, provided in BasiC, permits
used, individual characters can be the user with no knowledge of assembly
intensified. A third significant feature of the Video language programming to immediately
Also included in the MSDV-lOO is the Display System is the ability to display grey obtain video output. The link fully
ability to generate high quality continuous scale elements in any of nine levels in any implements the forms capability of the
forms overlays. Charts, graphs, or order of 1920 positions on the screen. This is MSDV-lOO, including direct cursor
entry forms are easy to produce on the especially useful for bar graphs and for grey addressing, as well as the other advanced
video screen. scale graphics or animations. features of the Video Display System.

Also included are disc driver routines for


Altair Basic, which allow program and data
MSDD-IOO storeage on disc, and permit sector level
Floppy Disc System: I/O through Basic. Many programs and files
may be kept on a single disc, and cassette
The MSDD-lOO Floppy Disc System is a I/ 0 is retained. These drivers work with 8K,
significant advance in low cost, high density 3.2, 8K 4.0, Extended 3.2 and 4.1 versions
mass storage systems. Using the industry of Basic.

G~
standard Shugart SA400 minifloppyTM drive
and a highly reliable LSI controller, the
single card MSDD-lOO Floppy Disc System DEVflOPI1'1ENT
represents a major cost/ performance 2765 So. Colorado Blvd .Sulte 110 Denver,CO 80222 (303)758-7411

breakthrough for the hobbyist and Sanyo Monitor (VM4209) ... ....... $150
businessman. Micro-Floppy Disc System . ... .... $499-
(Assembled) .. . . . ..... . .... . . .. $599-
Many features not provided on larger Video Display System ......... . . . $285
(Assembled) ............. ...... $385
disc systems are standard on the MSDD-lOO The Altair/ SlOO compatible disc Additional Drivers ......... ...... $350 ea.
Disc system. The controller will support up controller is a single board deSign , and Diskettes . .. ... . . ... ... . ......... $4.25 ea.
- Power Supply not included.
to three drives and provides all of the disc features very low power consumption. To place Order, send check, money order or SA
timing functions, therefore no software or MC Card # with expo date and signature.
timing loops are required. A very flexible Included free with each MSDD-lOO Uncertified checks require 6 weeks process-
ing. Phone orders accepted.
onboard vectored interrupt structure is Floppy Disc System is a software package, Please Send me the following: AMOUNT
provided, a valuable feature for use in provided on diskette, for formatting,
modern multi-tasking applications. certifying, and copying discs, as well as
programs for creating fully customized
The disc controller design is totally memory-to-disc and disc-to-memory TOTAL:
synchronous, requiring no "one shots". routines which may be put in read-only Name _ _ _ _ _ _ _ _ _ _ __
Ease of maintenance is evidenced by the fact memory. In addition, assembly language I/O Address _ _ _ _ _ _ _ _ _ __
that there are no adjustments required for driver listings are provided to facilitate City, State, Zip ---:-:-_-:-_ _ _ __
operation. custom applications programming.
o Send me more information
Circle 81 on inquiry card.
course) and called as a subroutine when the trying to use it. Perhaps the next level is
peripheral is to be exercised . The Digital to write an interrupt driver which con-
Group Maxi BASIC, like many others, has tinually updates a value in the interpreter's
instructions which all ow memory and 10 tables of variables ; but this would require a
port manipulation as well as calling machine source listing and further documentation of
langu age subroutines. It is this latter cal l the interpreter in order to accomplish the
instruction which initiates the analog to goal.
digital conversion cycl es and communicates
with the interface driver program. Wh en it The Driver Is a Relocatable Subroutine
executes this call instruction, it passes a The actual program which interfaces to
~hannel convert code in the DE register
and stores the values to the DVM chip is
pair. The driver program returns contro l written in the form of a single callable sub-
to the BASIC interpreter at th e conc lu sion routine. To maintain the relocatabi li ty of
of the analog to digital conversion . This the subroutine to any page in memory, all
provides a convenient method of synchron- information necessary for the proper
ization. BASIC waits for the driver to finish execution of the driver is provided at th e
storing the converted input data before time of the call. The additional information
about which channels are to be converted is
Listing 7, continued: loaded into th e DE registers at the time of
140224 1 1 3 1.220 tD C.E the call. One bit of the E register is allocated
140225
140225
1230
1 24 0
.*
* T ES T POLARITY OF CHANNEL
for each analog to digital channel. Chann ell
1 402 25
140225 313 122
1 250
1 260
*
MSD 1 BIT 2 .0 TE ST POLARITY is the least significant bit a[1d channel 8 is
140227 040 017 JR NZ .M SD2 JUMP IF POSITIVE
140231
1 270
1 280 ** NEGATIVE the most significant. Setting a "1" value for
140231 1290 POLARITY
14023 1 1.300 * the channel bit will tell the driver to convert
.1 4023 1 014 1 310 INC
1402 32 036 200 13 2 0 LD
C
E , 200 LOAD NEGATIVE S IGN that channel and a "0" means to ignore it.
140234 375 313 000 lOtI
140240 040 022
1330
1340
BI T
JR
0,( IY+O) TEST PREVIOUS POLARITY
Nl .MSD 3 JUMP IF ALSO NEGATIVE Loading E with binary 10 110 011 wil l
140242 375 313 000 306
1402 46 030 3 14
1350
1360
SE T
JR
0, (IY+O) MAKE PREVIOUS VALUE NEGATIVE
SCSC CONV ERT AGAIN indicate to the driver that channels 1, 2, 5,
14025 0
140250
1370
1380
** POSITIVE POLARITY
6 and 8 are to be converted . Setting all bits
1402'50
140 250 375 313 000 106
1 390
1400
*
MS0 2 B IT 0 , (IY+O ) T EST PREVIO US POLARITY
to "1" wil l cause all channels to be read and
140254 050 006
140256 375 313 000 206
1 41 0
14 20
JR
RES
Z ,M SD3 JUMP IF ALSO POSITIVE
0, (IY+O) MAKE PREV IOUS VALUE POSITIVE
converted . Indicating to the driver which, if
140262 030 3 00 14 30 JR sese CONVERT AGAIN any, channels are to be read rather than
**
1402 64 1440
140264
1402 64
1450
1 460 *
SAVE MSD AND CURREN T POLARITY
scanning all of them is a method of saving
14026 4 263
140265 335 167 000
14 70
14 80
MSD3 OR
LD
E ADD POLARITY SIGN TO HSD
(IX+O),A SAvE IN DATA BUFFER
time. By computer standards, th is analog to
140270 375 16 1 000
140273
1490
1 50 0
LD
** PR OCE SS 2 ND
(IYtO),C SAVE CURRENT POL AR IT Y
digital interface is slow; it is better not to
140 27~
140273
1 510
1 52 0 *
DIGIT
waste any more time than is necessary.
140273
140 2 75
313
315
010
361 140
153 0
15 40
RHC
CALL R[JIG
B SELECT DIGIT 2
WAIT AND READ OIGIT
The driver starts the conversion process
140300
140302
3 46
335
017
167 001
1550
1560
AND
LD
017 ISOLAT E
(IXt1),A STORE SECO ND DIGIT
by se lecting a channe l address to convert.
140305
140305
1570
1::;80 **
PROCESS 3RD OIGIT
This is accomp li shed by looking at the least
140305
140305 313 010
1 590
1600
* RRC Er SELECT 3RD DIGIT
significant bit of the E register. If it is a " 1 "
140307
140312
315
3 46
361 140
0 17
1610
1 620
CALL RDIG
AND 017
WAIT AND READ DIGIT
ISOLATE
it will convert on that channel. If it is a "0"
140314
140317
335 167 002 1 6 30
1640 **
LD (IXt2) ,A STORE
it shifts and inspects the next bit, and so on"
140317
140317
1 650
1 66 0
PROCESS 4TH DIGIT
* until it finds one that is set. When a bit set
140317
140321
313
3 15
010
361 1 40
167 0
1680
RRC B
CALL RDIG
SELECT 4TH DIGIT
WAI T AND READ DIGIT
condition is found, the channel address of
1 4 0324
140326
346
335
017
167 003
1 6 90
1 7 00
AND
LD
01 7 ISOLATE
(IX +3) , A STORE
that particular channel is sent out via port
140331
140333
030 2 05 1 7 10
172 0 **
JR IN CCN 003 to the analog input multiplexer IC6 and
140333
140333
1 7 30
1 7 40
LOAD 2 .000 OVERli:ANGE VALUE I NTO DATA BUFF ER
* the end of conversion flip flop IC5 is reset.
140333
140335
076 002
335 167 000
175 0 OVER
1 760
LD
LD
A.2
(IXtO),A
LOAD NSD VALUE The DVM then starts the process of
:L "0340
140341
257
335 167 001
1770
1780
X(IR
LD
A
(IXt1),A LOAD LSD VALUES
converting the analog input signal.
1403 44
1 4034 7
335 167 002
335 167 003
1790
1 800
lD
LD
( I Xt2) , A
(IXt3),A
Demultip lexing the output of the DVM is
140352
1 40355
303 140 140
.
1810
1820 **
JP INCCN fairly straightforward. Th e processor hangs
14035 5
140355
1 830
1840
END OF CHANNEL CONVERSIONS
* in a loop waiting for an end of conversion
140355
140360
052 0 44 140
311
1850 RAPUP
1 860
LD
RET
HLp (STA TUS)
RET URN "TO CA LL ER
sign al. When this happens, the program
140361 1 870 * knows that the next four digits of data are
**
140361 1 880
140361 1890 REA D DIGIT ROUTINE what is wanted. The DVM integrated circuit
14036 1 1900 *
140361
140363
333 003
057
1910 RDIG
1 9~0
IN
CPL
DI P READ OATA BYTE
CONVERT TO HIGH Tr.:UE LatHe
sets each of the digit select lines successively,
l40364
1 4 9365
127
2 40
1 930
19 40
L I)
AND
D. A
II
SA VE COPY
TEST FOH GIVEN IJIGIT READY
and the program records the values of the
1.11036 6
:I. 40 :~70
050 37 1
17 2
1.95()
H'60
J li:
LD
Z ,rWIG JUMP IF NOT
A,D Ji:E STORE A REGISTER
four data lines each time. It strips the status
+ 4 037 1 3 11 197() F.'n RETUfi:N TO CA LL Er< and polarity bits from the most significant

98 BYTE December 1977


Table 2: Power wiring +5V -5V GND
table for figure 3. Ie Number Type Pin Pin Pin
IC1 MC14433 24 13 1&12
IC2 MC1403 1 3
IC3,4 74LS04 14 7
IC5 7474 14 7
IC6 CD4051 16 7 8

Note: All resistors Yo W 5% unless otherwise noted .


All capacitors are 100 V ceramics unless otherwise noted.

READ AND SAVE


MOST SIGNIFICANT
SAVE BIT WITH POLARITY
'REQUESTED SIGN
CHANNEL
NUMBERS

READ AND SAVE


SECOND, THIRD
AND FOURTH
DIGITS

PERFOR M TWO
ANALOG TO DIGITAL
CONVERSIONS AND INCREMENT
SAVE LAST CHANNE L
POLARITY VALUE NUMBER

r----------,
1 CONVERSION I
I ~~~UTEST FOR L ____ _ NO
I I
IL ___________
CHANNEL JI
YES
NO

START
CONVERSION

STORE
2 .000 IN
DATA
BUFFER

NO
r-----------,
I CURRENT I
NO ___ .....J POLARITY SAME I
? I AS PREVIOUS I
IL __________
POLARITY --.JI

Figure 3: Flowchart of the digital voltmeter driver program of listing 7.

BYTE Decembe r 1977 99


Listing 2: A BASIC program (written in Maxi BASIC) which performs data digit (the 3Y2 digit) and reformats the value
acquisition and computes results from the output of the 8 channel digital into four bytes of memory . The three whole
voltmeter. digits will be stored in BCD notation and
LIST occupy three of the bytes. The Y2 digit,
100 REM polarity and out of range will be located in
11 0 ~~EM
1 20 RE M 8 C ~l A NNEL 3 1/2 DIGI 'r SCANNING PROGRAM - S .CI AR CIA the remaining data byte. Polarity is indicated
:1 3 0 REM I:;:E V 1. 5
14 0 REM SPECIA L ANAL YSIS SEC TI ON by setting the most significant bit. A positive
150 r::EM TTL TO MOS VOL TAGE LEVE L CONV ERT EF.:
160 RE M
reading is a zero condition and negative is a
170 RE M
I SO REM
one in that bit. The Y2 digit valu e can onl y
IllO LET Ml = 24576
1 92 RE M P AGE 14()( OCTAL )
be a one or zero and occupies the least
200 RE M HI IS SE T f O BE THE DEC IMAL ST ART I NG UJ Ct-=lT I UN OF significant bit of the quantity. Out of range
2 10 REM THE VALU E TA BL E
220 LE T M2="2 46 1 4 is accomplished with a little program man-
230 REM M2 IS lH E MA CHI NE LANGU AG E CAL L AD D RE~ ; S LO CA'fION I ~ OI :;: 'fHE AI D
2 4 0 L E T M3 ~-: l O ipulation. If the driver detects that the
250 REM M3 I S THE GAIN. I N THI S APPL I CAT I ON , THE RA NGE: OF T HE CO NVER T ER
2 60 RE M IS +1 9 . 99 TO -19 . 99 VOLT S
incoming reading is not within range , it sets
2 70 F~E M TO LI SE TH E
2 00 GOTO 300
C ONVI~ F(fEI:;: '=- UR --1.9 99 TO + 1 . (?9 9, L E T H:3 = 1
the equivalent of +2 in the Y2 digit byte.
290 PRIN 'r "T O REP EAT THE SAM E SE LEC TIO N, '!'Y PE AN X·
2 9 1 PRINT"TO SE LECT A NEW OPTIO N, TYPE AN 0 " : r NPU'r B$
Obviously, this is an illegal condition for a
29 2 IF B$= "X · 'rHE N GOT O 4 20 DVM capable of only counting to 1999, but
29 4 P ~\ INT : PF.:.INT : PRI NT
300 F'H INT' OP TIUN LI ST ' it is easy for BASIC to check the
3 10 RE M WE S 'r A I~ T THE PROG RA M WI TH AN OPT I ON LIST
320 PR I NT" --------- - - - - --- -- - - - ·------ ----- -- -------------- " authenticity of the data by checking that all
330 PR I NT"O - ---SEL ECT CHANN EI_S ·
340 PR I NT "1 - - --SCAN AND DISI ~ LAY ALL CHANN ELS" incoming values are between -1999 and
:'5 50 PF.:INT " 2 - - --S CAN AND DI S I ~' LAY SEL.ECT ED CHANN ELS ONC E· +1999. The driver program continues to do
3 60 PRI NT"3 ----SC AN AND DIS PLA Y SELEC 'rED C H A ~N ELS (:ONT I NU OUSLY ·
370 PRI NT : 4 - ---SC AN CHANN EL 1 CONT I NUOu sLy 100 T I MES '
380 PRI NT" 5 - -- - GO TO SPEC I AL AN ALYSIS S l.J BI~O U TI N E S "
this same sequence until all designated
390 F~E M TH ESE RO UT I NES AR E DEP END ENT UPON THE PArrf I CULA R AID AP F'LI CATION channels have been converted .
40 0 PRI NT ' 6 - - -- EX IT'
410 PI:;; INT " WH ICH OPT I ON " : IN PUT S There is a slight peculiarity with DVM
420 IF 5 = 0 THEN 520
430 IF S- l TH EN 930 chips: ' they don't like changes in polarity.
440 IF 5 =2 Tli EN 1060
450 I F 5=3 'rH EN 1280 The first conversion after a change in
460 IF 5= 4 Ttf EN 138 0
470 IF 5=5 T HEN 1470
polarity will be 0.000 and will have to be
4 80 IF 5= 6 TH EN PRI NT"THANKYO U· :END
4 90 GOTD '\1 0
discarded. In a single channel DVM this
5 00 F~ E M wouldn't present a problem, but when
5 1 0 REM F I RS 'r WE DE TERMI NE WH IC H ANA LOG C ~f A NNEL S TO READ
:,) 20 F'RINT "I NDICA TE YO lJl ~ CHO ICES WIT H A Y ( II:;; N AI::- TE I:;; TH E CHANN EL NIJ MD ER . reading eight channels, some will be negative
:530 foUR C::: l TO 8
5 40 PR I NT"CHA NNE L " ;C, inputs and others will be positive.
5 50 I NP UT A$
560 RE M AC CEP T ONLY 'rRUE IN PU'rS The in itial conversion also has the same
570 IF A$ =" Y" 'fH EN LC'r A( C )~ 1 : GO'rll 610
580 I F A $ ~· N" 'rH EN LE"r A(C) =b : GOT O 6 J.() problem to contend with, since the con-
590 PR I NT" I NPU"r A Y FOR YES Ol ~ A N F OR NO "
600 GO TO 5 4 0
version history when the driver is not active
6 10 NEX T C is unknown. The solution is to write a
6 2 0 GO TD 290
630 RE M smarter driver. Following a call , the driver
640 REM
650 RE M program initializes the interface and deter-
660 RE M SET D EQU AL T(l TH E DEC I MAL M EM OI ~Y A DDI ~E~;S OF THE
670 RE M BI ~ G I N N ING OF VAI.,UE ·fAB I.. E mines the polarity. After that, any time the
680 RE M TH I S SUBROU 'rI NE DI ~ 'r E RM r N E S 'rH E 3 1/2 DI GI ·,· VALIJ E polarity changes between successive readings
6 '?O h'E11 FRCH1 T HE T I~ DI.. E I N MI;: MOri Y
7 00 LET Q 1 '''' EX ,~ I1( [t ) on designated channels, another conversion
7 10 LET 0 "= 0 1
"72 0 I F 01 >"" 1 20 THEN 1.."I;:r n "' Ol '- 1 2 EJ
73 0 [1 "" [1 .1-1
is initiated and stored. Figure 3 is a
7 40 LE T IoJ=EXA i1 ( D) simplified flow diagram showing the logical
750 1) :::: IH.1
760 LET E:::: EX AM ( D) design of the driver.
77 0 1) '= 1)+1
780 LET R ~ E X AM( I )' The end product of the driver is a 32 byte
790 L.E T 11 :::: 1) +1
800 LE T Y:::: (I ·!·( .l:4(W H · ( . O:l :+: E H( , \)O.t :+:I:;; ) memory resident table which contains the
9 10 LET Yl o M3% Y
820 ~~E nmN
eight 4 byte values corresponding to the
8 3 0 HEM
8 40 REM TliI S S IJ BR()lj"fINE F) I ~IN ' r S OU T Tli E V O I ._ · I · AGE ~ VA I.. UES
eight channels. The values are sequentially
D5 0 PI:;;I NT "CHANNEI.. " ; X;" IS "; arranged in the table . A simple formula
f3 6 0 IF ll1 <128 THE N F"IHNT " ~ ; : GO TO 880
870 I F 01 >= 1 28 Tli EN PRIN T "- " ; locates a particular channel location at L +
E)8(' IF M3: ~ 10 "'liEN PRINT %5 F 2 ;Yl ; " VOL.r E; " :GO Td 90()
B9() F' IU NT 7.I.J I::- 3; Y1; " VOL TS · (4(N-1)} where L is the starting address of
900 RETUFiN
910 HEM the table and N is the channel number. A
920 HEM
'; 30 LET B·:::C ALL (M2, 2 ~:i::'))
complete assembly listing of the DVM driver
940 HEM THE (;(11.• 1.. I NS ITiU CTI DN rEL.L S THE AI D I NT E I'~FACE TO STAHT CON VI::rnINCl
'/5 0 F~ EM 2 ~"'j~:; I S AL L ElITS 131::T
is outlined in listing 1. It is made to run on a
960 RE M THI S WI LL CA USE 'IHE AI D TO CONVE IH AND ~~ " lfm E ALI . I;: IGHT CHANNEL S Z-80 and is assembled to occupy page 140
(/70 l ET D= H 1
980 REM II I S THE STAfn AI) DR I:::SS [JF THE VAL UE TA BL. E (octal) .
9 i}O nm X:= l TO 8
1000 GUS UB ]O() The driver can be assembled for
i Ol 0 I:;: EM GET :5 1.12 DIGI T VALU E FI:;;() M M I:: i1C1F~ Y
1 0 20 I F Y>:=2 THEN PRINT " CHANNEL ";: X;" Hi OUT OF RANG E" : (JOTO 1 0-10 practically any portion of memory, but take
B ~) O
:1.030 GOS UB
1040 NE XT X
care not to overlap into operating system or
10:'.:;0 (j(JTO 290 source files . If you own Digital Group soft-

100 BYTE Decemh" 1977


Listing 2, continued:
CHANNEL 6 IS S .04 VOLT S
1060 LE T D=Ml
.1 0 7 0 GOSUB 11 3 0 CHANN EL 7 I S -11. 45 VOLTS
1080 GOlO 290
CHANN EL 8 IS 2 .00 VOL 'rs
1090 HEM
TO REPEA'T ' T I ~E SAME SELEC TION . fYP E AN X
TO SELECT A NE~J OI:'TJ:ON , TYPE AN [)
UOO REM
IllO I' EM "0
11 2 0 REM THI S SUBrWU'rIN E PRI NT S ONt Y THE SELEC TE[I CHANNELS
OPTION LI ST
1130 LET L= A(1)*1 +A(2 )* 2 tA ( 3)*4tn(4)*8+A( 5 )*16tA(6 ' *3 2tA( 7 '*64tA (S >* 1 29
1140 REM TH I S EQ IJ ATION SE T S TH E BIT PA TT ERN I' D,: 'THE CALL TO THE AI D
() ---- SELECT CHAN NEL S
1150 LET H=CALL(M2,L)
1. -·---SC AN AND DI SPLAY ALL CHAN NEL S
1 16 0 REM H WILL RETURN mOM TH E CALL WIT H THE HL r< EG . ')ALLJE BUT
AND DI SPLA Y SELECTED CH (" NNELS ONC E
·-- '~-S CAN
'1 7 0 l~ E M IS NOT BEJNG USE n PI~ESENTL '( IN THIS PROm" AI1
3 ·_--"---SCAN AND DISPLA Y SELECTI.::I'I
C I-I ANN I~ L S C(JNTINU()U !:; L.Y
11 so FOR X'" I TO (J
4 - --·-S CAN CHANNEL 1 C() NT I NUOW:iLY 100 rJI1 ES
1190 GOSUI) 70()
1 2 0 0 LET Z = A(1)tA(2)tA(3)tA(4)+A(5)+A(6)tA(7) tA (8)
5 ----GO TO SPECIAL ANAl.YS IS SIJBRO l,l'fINES
b ------ EXI T
l:HO IF Z::: O THEN PIUNT"NCI CHANNELS HAVE BEEN SE LECTED' !EXIT 290
WHICH OPT.ICH'J
:L ;!20 IF A(X) ::: O TH EN 1250 '10
1230 I F '(:> =2 THEN PR INT " CHANNEL • ;X;' IS OUT OF RANGE' : GOTO 1 2 S0
IN DICATE YOUR CHOI CES WITH A Y OR N Ii FTEI'~ THE CHANNEL NU MJJ ER
]. 2 40 GO SUe 8 50
CHANNEL 1 ?Y
125 0 NEX T X
CHANNEL 2 ?N
1 26 0 RE TURN
CHANNEL 3 7N
1270 GOSlJB 11 :W CHANNEL TY
1 2 80 U:: T [l o-:: Ml
CHANN EL 5 ?Y
1 29 0 REM THI S SU BI,OUfINE IS A CONTINUOUS UWP ---.- EXI T WITH RESET SWITC H CHANNE l 6 ~fN
13 00 FOR J = I TO 1000
CHANNE L 7 TN
13 10 LET fJ=MI CHANNEL 8 TN
13 20 GOS UEc 11:50 TO Fi: EPEAT TI-II.: SAM E SEL ECl HIN, TYP E tiN X
l 330 PRIN r : P"INT PRIN T TO SEL ECT A NEW OVT I ON,TY PE (-iN 0
1340 NEXT J "0
1350 GO TO 290
1360 REM OPT I ON LIST
1 370 REM THIS SUBROUTINE CON TI NU OUSLY SC AN S ANn PRINTS CHANN EL 1
1380 FOR R= l TO 100 o -'--- SEI_EC 'T Cli ANNELS
1390 LE 'f li=CALLCM 2 , 1) 1 -'--- SCA N AN D DI SPLAY ALL CHANNELS
14 00 REM GO AND CONV ER T CHANNEL 1 ONLY --'--SCAN AND DI SPLAY SELEC'fED CliANNEL S ONCE
1410 LET D= MI . ---SCAN AND DISPLAY SELEC TED CHtlNN I::: U:~ CONT I NUOUSL.Y
1420 GOSUB 700 4 - --- SCA N CHANNEL 1, CO NTINUO USLY 100 TI MES
1430 LET X=I 5 --- - GO TO SPEC IAL ANALYS I S SUBROUTINE S
1440 GDS Ufi 8S0 6 - - - - EX IT
14 50 NEXT R WHICH OP TI ON
1 460 GOTO 290 72
14 70 LET fI==CALL(M2,255) CHANNEL I IS 3.54 VOLTS
1480 REM SCA N AND STORE ALL CHANNEL S CHANN EL 4 IS -10 . 75 VOL 'rS
1490 LET II = MI CHAN NEL 5.IS - 11. .02 VOLT S
1500 FOR X== ! TO 8 TO REPEA T 'rH E SAME SE L1 ~ C'rI ON , TYPE AN X
1510 GOSUB 700 TO SELECT A NEW OP1 ION , TYPE AN 0
t5 2 0 LET V(X) =Yl 'W
1 5 30 F\'EH SET VALUES IN TO AN 8 VALUE ARRAY
1540 NEXT X OPTIO N LIS T
1550 REM CHECK CA LIB RA TION
1560 I F V(8» '" 2 . 0()6 THEN 'PRIN T ' OUT OF CALIBIMTION· :GOTO 290 () ----SELECT CHANNELS
1 570 IF V(8) (= 1. 994 THEN PRINT·OUT OF CALIB r<ATION' :G~rO 290 I ---- SCA N AND DI SPLAY AL L CHA NNELS
158() PRINT · TTL TO MOS LEVEL CONVERTER - -- TTL LOW INPUl STATE· : PRI N r:PR IN T ----SCA N AND DI SPLAY SELEC'fED CHANNE LS ONC E
1590 PRINT "DIO DE Dl" -'--- SCA N AND DI S I ~ LAY SE LEe'fED CHANNE L.S C:ON'TINtJO LJ SLY
1600 Pf~INTftVOL ' r AGE D I~ O I~ :~ " ,V( 2)- V(1)i · VOLTS" . --- SC AN CHANN EL 1 CON'rINUOUSLY 100 'TIMES
1610 PRINT :PRINT·RI· 5 -- - - GO TO SPEC IAL ANALYSIS ~ UBROUTINE S
1620 LET 'rl=(V(2)-V(J»/2200 b ----,- EXIT
1630 PRINT "CURRENT = "iTl;" AMP S" WH ICH OPTIO N
1640 pr.:JN T"POW ER = • ;Tl*Tl*2200 ?5
I b50 PR INT : PRINT"OI" TTL T O NOS LEVE L CONVERTEr< -- '-TT L LOW INPUT ST ATE
1660 PRIN T·V CE 01 = ';V (4) '-V(3); ' VOLTS ·
167() PRI NT "VBE 01 ::: • ;V (3) ;" VOLTS' DIOllE DI
Ihe() PRINT "VCB 01 := • ;V(4);" VOLTS " VOLTAGE DF\OP == '- . 61 VOLTS
1690 PRINT : PRI NT"R 2 " Rl
170() LET T2 ~"'( V(5) '~ V(4) )/4700 I: U R R ~ NT = 1.()45 4545E-03 AMPS
1710 PRINT "R2 DROP = "~V(5)- V (4) ;" V() LTS " PO WER == 2 .4()454 52E - ()3
17~0 PRINT"CURREN T ~ · i'r2 ~ · AMP S' <lI
1730 PRI NT" PO WER :: "; T2*T2* 4700 ; " WATTS " VCE 01 1() .1 2 VOLT S
17 4 0 PRIN T : PRINT · R3 · VSE 01 = .63 ',,IO LTS
1750 LET T3=(V(6)-V(7»/ 4700 vce 01 = 10.75 VOLTS
1760 PRINT"R3 DROP ::: " ;V(6) ·-V(7)'" VOLTS' R2
1770 PRINT "CUR REN T = ";T3," AMPS " R2 DFWP .2 7 VOLTS
1780 PRI NT "POW ER ::: "; T3*T3* 4700 , " WATT S' CUR F\EN T 5 . 7 44680 9E-05 AMPS
1790 PRIN ' r :PRI NT~Q2· PO WER = 1.551063 9E-()S WA·r·fS
1900 PRINT "VB E 0 2 := " ;V( S)-V(4)," VOL 'rS " R:l
1810 PRINT "VCE 02 = ";V( 7)'~ V(5);" VO LTS" r~ :'~ DR OP -6 . 41 VOLT S
1820 PRINT "VCB 02 =
",V (7)-V( 4)," VOLT S " CUf<F\ENT - 1.3638298E- 03 AMPS
I B3() PRI NT"Ie OF 02 := • ;T 3 ; " AMPS · POWEH == 8.7 421 49E-03 WAT"rS
18 40 PRINT"POWER DIS S I PA TION ::: "; ( V(7) - V(::;) )*T3; " WATTS· 02
1850 PFUNT:PRINT:PR INT" SUPPlY VOLT AGES " VBE 02 := .27 VOLTS
lS60 PRINT V(6) v eE (12 = . ·13 VOLT S
1870 PRINr" - " ;V (5'> VC B Q2 = . 7 VOLT S
1880 GO TD 290 IC OF U2 = - 1.3638298E'- 03 AMP S
RE(\[rY POWER DI SS IPAT IO N - S . 8644681E-'0 4 WATTS
!5 UP P I~ Y VOLTAGES
:=j .04
),' I IN - 11.()2
TO REPEAT TI~E SAME SELEC 'frON, 'f YPE AN X
OF" ) ION L '{ S1 TO SELECT A NEW OPTION , 'f VPE AN 0
'~()

.) .- -SI::. LEC T CHANNeLS


I -- --SC AN ANlJ !II Sf'LAY M ,L CHANN ELS OPTION LI ST
----SCAN AND DI SPLA Y SEI,.EC'TFD C ~ iA NN E L S ONC:E
.i ----S(J'IN ANlI IH SPI.J 'lY SELECTED CHANN ELS CCliHINUOU SL', () ---"~SE LE C' tCHANNELS
4 ----, -se rl N CH ANN El. I (;()NTHH.l (JUSL'( 100 '1IH I::n 1 -,----SCAN AND DI SP l.AY ALL CHANNEL~;
-----GLl 'ro SPECIAL (lNA LYBIS Sl.mrl'()l.JT.u~r:: s -'--- S (:~N AND DI SPLAY E;ELECTED CHANN ELS ONCE
1.1 ---'-EX l'J 3 -- -- SCAN AND DISf)LAY SELEC 'fl::n CHANN El.S C()NTINUOUSLY
WHI CH OP T1011 4 - - -'~S CAN CHANNEL 1 CON 'f I NUOU SLY 100 TIM ES
"I 5 ----GO TO SPECIA L ANALYS I S SUBRO UTINES
CHri l'lN CL I IS J . ~j4 VO LTS 6 ----EXIT
CII ANNE I rs 2 . 9:\ VO LTS WH IC H OPTION
CHI"INt.J EI rs _h 0) VOL1 S '? b
UIMmEI 4 IS - 1. 0 . 1'-, VOLrs TIIAN I,Y DU
L' H()N NE I I S ~:I .l • () ~! V(lLTS r:: EAfJY

BYTE De ce m ber 197 7 101


CHANNEL NO. 7
+5V be accommodated. A 900 K-l00 K resistor
divider network will change the input

~
CHANNEL NO.4
~ CHANNEL NO 6
range to ±19.999 V. Some channels can
be set for 20 V ranges. With the present
R3
47K CD4051, though, separate resistor dividers
L- 5V
.ov
CHANNEL NO.3
) MOS LEVEL
are needed on the inputs because the max-
OUTPUT
imum voltage handling capability of the
01 4051 is the ' range of its power supply.
TTL 7404 RI
CONTROL
IN914 2.2K 1+ 5V
INPUT
2
L Relays, which could pass the high voltages,
-12
could be configured to allow use of only one
selectable divider network, but for now we
are limited. If you put resistor dividers on
the inputs, the only necessity is to instruct
CHANNEL NO . 1 the program to multiply the particular
CHANNEL NO.2
channel reading by an appropriate ranging
NOTE: CHANNEL NO. 8 factor. In this particular case, all ' input
CONNECTE 0 TO 2,000 V REF
channels have been set for ±19.99 V ranges,
and the mUltiplier is ten.
Figure 4: A sample circuit illustrating the use of the 8 channel 30 digit volt- The program presents an option list. It
meter. The circuit is a TTL to MOS voltage level converter. allows general application as an acquisition
and data logging tool. With it, one can select
to read and print all eight channels,
ware, there are some alternatives depending particular channels, or log a ' single chann'el
on what version you have. For people with continuously. Option 5 is what it's all
straight (non-universal) 32 character Z-80 about. It automatically records the input
Maxi BASIC Version 1.0, page 012 is em pty voltages and computes the circuit param eters
and has been left for future expansion. If such as power dissipation and voltage drops.
you have the 64 character Maxi BASIC A very complicated circuit example would
Version 1.1 , it 's better not to try to bury the probably have been more impressive, but
driver within the interpreter unless you're an that is merely a case of applying program-
experienced p'rogrammer. Owners of 8080 ming talents to the same set of input data .
systems have only to reassemble the code One further note of explanation: the call
using 8080 instructions and locate it in a instruction in Maxi BASIC has been mis-
similar manner. The logic behind th e driver interpreted by some people. It is not a
is not so involved that it necessitates using directly executable instruction, but is rather
the Z-80 . Any microprocessor should be used in a statement like LET X = CALL
able to work with the interface. (2560,9) . The BASIC interpreter will go to
memory location decimal 2560 and start
Using the Interface with BASIC executing a machine language subroutine.
This DVM interface is specifically The number in parentheses after the comma
designed to r!,Jn with a BASIC interpreter is the value which is put in the D and E
such as Maxi BASIC or the equivalent. registers at the same time. This is a 16 bit
Listing 2 illustrates a BASIC program which value with a range of 0 to 65,535. When the
does data acquisition and computes results machine language subroutine is finished, it
from this input data. Often, the best method returns to the interpreter. X will then have a
of. explanation is to illustrate the actual use value equal to .whatever was in the Hand L
of a device. This program, while , being registers when the subroutine ended.
general in nature, provides specific reference
to the value of mating BASIC and analog
acquisition.
The following items are available from General
Figure 4 is a circuit of a TTL to MOS Digital Corporation, 700 Burnside Av, East
voltage level converter. Its use is to co nvert Hartford CT 06108:
o and 5 V TTL levels to +5 V and - 12 V 1. Complete set of integrated circuits
MOS logic ievels. It is a relatively simple including the MC14433 and MC1403 , ..
circuit, but it shows how BASIC can work $29 .95
2. Complete kit of all parts including PC
for you. board, sockets, integrated circuits and
Up to this point I have said that the input other components . .. $64.95
range of the DVM is ±1.999 V. By putting 3. Assembled and tested unit complete
resistor voltage divigers in series with the with DVM interface . . .$79 .95
All items are postpaid in the continental US .
multiplexer channel inputs, other ranges can

102 BYTE Decemher 1977


Con clu sion
Having eight ch annels is bette r than
having one, espec ially if it doesn 't cost any
•• • • •
.. D • • ., •
more. I've atte mp ted to pre sent a low cost
solution to a usual ly expensive data ac-
qu is ition prob lem. As is always th e case with
• • • • •
computers, the maxi mum ut ili zat ion of th e
j
device is depe ndent up on the programm er,
and as my col lege textbooks used to say, th is
is an' exercise left to the reader.
If you have a suggesti on for an arti cle or
an idea abo ut a projec t to be built, pl ease
write and te ll me abo ut it. Pl ease enc lose a
stamped , self-addressed envelope. Unfor- • •
tun ate ly, based on th e mai l volum e of pre- • • • 11
vio us articles, I wil l not be abl e to answe r
all letters perso nall y, but I wi ll attemp t to. - • • • •
• AI 11

'"
The author would like to extend
special thanks to Dave Hardenbrook
for his help in writing the D VM driver
Photo 5: The breadboard circuit o f the schematic in figure 4 used to test the
program.
8 channel voltmeter.

THE ALPHA·1 SYSTEM --' HARDWARE


• Stores greater than 500K bytes per -side of a C-60
--'RATED A BEST BUY tape .
IN MASS STORAGE • Access a file in 17 seconds average on a C-60 tape .
• Load 8K of data in less than 11 seconds (6250 baud).
SYSTEMS • 100% interchangeability of cassettes with no adjust-
men t s required or allowed .
• Compatible with all popular S-100 Bus Microcom-
puters.
• Audio t rack under computer control.
• Elimin ates the need for ROM/PROM monitors.

--'SOFTWARE
• MCOS, a powerful stand -alone cassette operating
system , is operationally much Simpler than a D.O.S.,
handles variable length named files , will update a
file in place, packs or copies tapes with a Single
command .
• EXTENDED BASIC with MCOS permits array hand -
ling and concatenation of files , plus all capabilities
of MCOS.

--' PRICES START AT $240


--' APPLICATIONS
• BUSINESS applications include mailing lists, payroll , --' FREE BUYERS GUIDE
billing, and inventory. If you are shopping for a tape or disk system for your
• CASSETTE BACKUP for disk-based Systems not. S-100 Bus Computer System , you do not have all the
only provides large amounts of storage at low cost , facts until you have the MECA " BUYERS GUIDE TO
but also provides for convenient storage of histori - MASS STORAGE. " This 10 page guide book provides a
cal records . fram ework for evaluating cassette , cartridge , and disk-
• DEVELOPMENT SYSTEM features include a power- based systems. Write for your copy today.
ful operating System with an Editor, Assembler, and For com plete information including the Dealer nearest
Debugger, plus a variety of System utilities which you , write or phone:
speed development.
• OEM applications include P.O.S. data capture, word IIICe;;)
processing systems, audio-visual presentation sys- 7026 O.W.S. Road , Yucca Valley, CA 92284
tems, telephone call transfer systems. (714) 365-7686

Circle 70 o n in qu iry card . BYTE De cemb er 1977 103


Structured Programming
with Warnier-Orr Diagrams

Part 1: Design Methodology

David A Higgins Any successful program design method- printed , displayed and punched outputs
Langston Kitch and Associates ology must be able to do several things: it physically look like?" "What will the pro-
715 E 8th St must produce consistent, low cost, high gram be able to do?" All of these questions
Topeka KS 66607 reliability results; it must produce them must be thorough Iy answered before you
quickly, while still allowing for easy mainte- can even begin to think of coding the
nance later and, it must be simple enough to program. Skipping this step because "Aw, I
all ow anyone (and I do mean anyone) to use know what I want to do," or "Gee, this isn't
it. Warnier-Orr diagrams (after Jean- any fun, let's start coding," is a common
Dominique Warnier in France and Kenneth mistake, and although you may get away
T Orr in the United States) satisfy all of the with 'it on a small program once in a while,
above requirements with an added bonus; omitting it will kill you more often than not.
they produce structured programs that A good example of the kind of trouble
nearly always run correctly at the first you can get into by assuming that you know
effective trial. They al low people to produce everything about a problem can be found in
superprograms without being superprogram- a recent popular film . In the movie jeremiah
mers. johnson, Jeremiah befriends an old·hunter
The purpose of this article is to show how and trapper in the mountains. The old
to develop and code a structured program hunter asks Jeremiah if he can skin a bear.
using the Warnier-Orr methodology from "Of course I can," he replies. In the next
start to finish. The technique is a straight- scene, we see the old man running down a
forward approach to producing correct pro- hill towards the cabin closely pursued by a
grams. It is just as valid and successful for very large bear. The hunter runs into the
personal microcomputer app lications ' as it is open front door, leaps out of the back
for megacomputer app lications in the world window and yells : "There .. . you skin th at
of business, science and industry . I feel that one and I'll go get you another." Jeremiah
this method of designing a program is one of failed to do one basic th ing; he forgot to ask
the most advanced state of the art software whether the bear he was supposed to skin
development techniques in existence today. was dead. Skinning a dead bear is one thing,
It is a concise, step by step method with skinning one that is still running around the
predictable results. room trying to skin you is quite another .
Just as writing a program after it has been
Step One: Identify the Output properly defined is one thing, and trying to
This is the first, the primary and the most write one when you aren't even sure what it
important rule of all for the construction of is supposed to do when you are finished is
a correct program. It cannot be emphasi zed another.
enough. The failure to first identify th e Defining outputs is not really an un-
outputs of a program is usually the primary reasonable requirement to make; after all, no
reason programs fail to run correctly. building contractor would begin construc-
You must ask yourself the questions : tion without first knowing what the finished
"How will I be able to tell wh en I am building was supposed to look like; no
through with this program?" "What will th e electrical engineer would start soldering

104 BYTE Decemb er 1977


YES YOU CAN
Put 'The VERSATILE 2 To Work Now!
Even if you've NEVER used a computer, you can begin to operate the VERSATILE 2 immediately.
It's all been done for you: a compact computer that needs no extras, and a complete software library.

Great for HOBBYISTS • TEACHERS • BUSINESSMEN


HOME You don't have to be a CLASSROOM Get your kids right OFFICE Stop drowning in paper-
programmer or electronics techni- to work learning BASIC, playing work. And quit worrying about
cian. Or know anything more than games and solving math and ac- which system will work best for you.
how to plug it in, and read our counting problems without worry- With our business accounting pack-
manual. Get your hobby going with- ing about what makes the computer age, you can concentrate on busi-
out hassle. go. ness while the VERSATILE 2 con-
centrates on maintaining your
records compactly, and permanent-
lyon diskette.

SPECIFICATIONS
Z-80CPU
Video di splay with graphics on 9"
64x 16 screen
16K Static RAM Memory
Serial and Parallel 110 Ports with
standard RS-232 Connector provided
at rear of unit
ROM to drive RS-232
EXPANDABLE
Add memory, printer, and up to 3
external mini ' Ooppy disk drives.
OPTIONS
8K Memory Boards at $195.00 each .

HOME SOFTWARE LIBRARY


Five diskettes are included to give you im-
mediate programming capabilities .
DISK #1 contains a Disk Operating System
and 12K Extended BASIC. Easy to use
statements include: IF THEN , GOTe).,
READ , EXIT, FOR, NEXT. You get com-
plete line editor, multi-statement lines and
multi-dimension arrays. A BASIC teaching
program on thi s di skette will have you quick-
ly programming in BASIC .
DISK #2 has many games including STAR-
TREK, BLACKJACK and STAR WARS.
There's room left over for you to add your
JIMIflORY STATUS own.
DISK #3 is a Home Accounting Package with
EiflER PIill1Ull[R 1lU-34!18 programs like Budgeting, and Checkbook
PPIIT 1UIl[R IIU-34!11 Balancing .
IlSOlJPllCli' 3 J" GlOBE \lillIE
NllUACTIIIER GlO1l{ IItC. DISK #4 contains a Small Business Account-
CUlllEIll SlfI'lIER I'IJItWIS[D DIBEClrRO" fACTORY . ing Package. Included are programs for Pay-
GTY. I" SlOCl toSl PIUC[ iTV. ORDERED DIJE DATE
roll, Inventory Control, Accounts Payable
11 24 .16 42.i8 5i 4/1i178 and Receivable, Taxes, Invoicing, Check
Printing, and much more.
£illER PIillIUlJl[Jl. I
DISK #S is a formatted blank diskette for
you to enter your own programs.
VERSATILE 2
$2495 Assembled and Tested. 6 Month Warranty. 30-day delivery or available direct from dealers.

Scientific Sales, Inc.


COMPUTER DATA SYSTEMS Alexander and Company, Inc.
175 W. Wieuca, Suite 210
5460 Fairmont Drive 5518 Florin Road
Atlanta, GA 30342 Wilmington, Delaware 19808 Sacramento, CA 95823
(404) 252·6808 (302) 738·0933 (916) 422-9070

Circle 25 on inquiry card. BYTE December 1977 105


MONTHLY FINANCIAL REPOR'l' one numeric field. It is typically the field
FOR 'l'HE MON'r il OF JANUARY 1 9 77
holding a person's response to a program
BALANCE FORHl\RD OF $231 . 90 generated questi on. For illustrative purposes
DN!'!:: C HECK# 1'0, DE BI'f CREDIT BALANCE let us look at a home computer app lication
1 978 GROCERY STORE
- MILK, BREAD , EqGS
2 . 23 229 . 67 that requires a slightly more complex data
979 P HONE COt>IPANY 37 . 14 192 . 53
base arrangement. Take for instance a com-
puter program that would balance the fam ily
980 GAS BILL 25 . 61 166 . 92
checkbook an d produce a financial report
981 GEORGE FREDRIC K 5 . 00 156 . 92
- SHOVELLING SNO\'1 each month. Th e report designed in step one
PAYCHECK DEPOSI'f 312 . 18 469 .1 0 might look something like figure 1,
982 ELEC'I'RIC COI·!PANY 23 . 1 5 445 . 95
If you were keeping manual records th at
you wanted to be able to search very easi ly,
you would keep each one of those entri es,
perhaps on index cards, filed by year, by
31 1013 BY'rE HAGIIZINE 12 . 00 237 . 11
-SUBSCR IPT I ON RENEh'T\L month and by date. Figure 2 illustrates a
way of re presenting the logical data struc-
CURREN'r BALANCE 237 . 11 ture for the checkbook balance report in
Warnier-Orr notation .
Figure J,' Proposed output of a computer program for balancing a checkbook In figure 2, you can see the logi cal data
and producing an end of month report, structure for the checkbook balance report.
Th e report is organized by year; within each
year by months ; within each month by days;
parts together without a sch ematic diagram , and within each day by transactions, which
In fact, no profession (reliable profession are either debits (checks) or cred its (de-
anyway) involved in the business of putting posits) . Note that year, month, day, and
things together ever starts to build anything transac ti ons all ap pear in the report at least
unless they know wh at it will lo ok like after once and possibly many times; thus we see
they are done. Yet, that is precisely the way the notation (l,n) in the diagram. Having an
most programmers try to write programs, entry for a day that had no transactions or
Th en they wonder what went wrong when hav ing a monthly report with no days is
they have probl ems. Th e same programming hardly worth the trouble. However, each
principl es which app ly to the professional transaction is either a credit transaction
app ly just as much to t he amateur, for no (credit occurrin g once, and debit not occur-
one's time is unlimited . ' rin g) or a debit transaction (debit occurring
After defining all of th e outp uts of the
once and credit not occurring) . This con-
program, the next step is to define the
diti on is reflected on the chart by the " Ell "
logical data base, although you will probably
symbol, which is the symbol for mutual
never really spend much time at this step
exc lu sion.
with most personal microcomputer app lica-
One important point needs to be made
tions.
here. Th e diagram of figure 2 is not the
logica l data base for this report; it is on ly th e
Step Two : Define the Logical Data Base
report's logical data structure. Makin g a
The reason th is step is trivial for many chart of the logical data base requ ires that
personal use app li cations is because the we map the data elements that appear in th e
logical data base typically consists of on ly report onto the log ical report structure, as
we have done in figu re 3, In figure 2 we
showed conceptual relationships of one par t
DEB IT of the structure to anoth er. In figure 3 we've
10, 1) filled in the required details needed to
T RANS-
comp lete each leve l of the structure. On e
YEAR MONTH DAY
CHECK FIL E
( 1,V) ( 1,m ) ( 1 ,d)
AC TI ONS leve l of th e structure corresponds to one
11 ,1)
bracket and th e levels are counted left to
CRE DIT righ t.
(0,1)

Step Three: Defi ne the Physical Data Base


Figure 2: Logical data structure for the checkboo/? balance report, The Defining the physical data base of a pro-
notation (7,n) indicates an operation will take place at least once and possibly gram is large ly a packaging decision: wh at
many times. physical arrangement of the data in the

106 BYTE December 1977


IN THE L.A, AREA
-re ~~T:AMAft.,..
TARZANA, CALIFORNIA 91356
(213) 344-0153

IMSAI COMPUTER $875


ASSEMBLED
MODEL 8080 MICROPROCESSOR SYSTEM AND TESTED
INCLUDES CPU, MAINFRAME WITH 22 CARD SLOTS, FRONT PANEL,
AND POWER SUPPLY, COMES ASSEMBLED AND READY TO PLUG IN AND ENJOY!

8K RAM BOARD $225


250 nS LOW NOT A ASSEMBLED
ACCESS I POWER I KIT ANDTESTED

• S100 BUS: PLUGS RIGHT INTO ALTAIR / IMSAI, OR ANY COMPUTER USING THE "ALTAIR" BUS
• CONVENIENT DIP SWITCH SELECTION OF ADDRESS ASSIGNMENT AND WAIT CYCLES
• MEMORY PROTECTION DIP SWITCH SELECTABLE IN INCREMENTS OF 256,512 lK, 2K, 4K, or 8K BYTES
• FULLY BUFFERED ADDRESS LINES ALLOW USE IN LARGE COMPUTER SYSTEMS

16K 2708 EPROM BOARD $99


INCLUDES ALL SUPPORT CIRCUITR Y A ND SOC K ETS RE A DY TO PLUG -IN 16 270 8 1C'S 2708 'S NOT INCLUDED

• ALLOWS CONVENIENT STORAGE AND ALTERATION OF YOUR OWN CUSTOMIZED COMPUTER PROGRAMS
• S100 BUS : PLUGS RIGHT INTO ALTAIR / IMSAI , OR ANY COMPUTER USI NG THE "ALTAI R" BUS
• DIP SWITCH SELECTION OF MEMORY ADDRESS ASSIGNMENT
• DIP SWITCH SELECTION OF MEMORY WAIT CYCLES
• ASSEMBLED AND TESTED, NOT A KIT

8K 2708 EPROM PROGRAMMER BOARD $145


COMPLETE SYSTE M FOR " BUR N ING IN" PROGRA MS INTO THE 2708'S
ELECTRICALL Y A LTERA B LE 27 08 MEMOR Y NOT INCLUDED

• S100 BUS ALTAIR / IMSAI COMPATIBLE


•• COMPLETE 2708 PROGRAMMING SYSTEM
DOUBLES AS 8K NON VOLATILE PROGRAM STORAGE
• ASSEMBLED AND TESTED , NOT A KIT

2708 EPROMS $18 50 I 21L02 250 nS $1 75


TOP QUALITY PARTS - NOT SECONDS
74 SERIES IC's
COM PLETE LISTINGS
74LS SERIES IC's
LlNEARS IN OUR CATALOG

SOROC IQ-120 TERMINAL $995


• RS-232 COMPATI BLE 24 LI NES X 80 CHARACTERS I NCLUDI NG BLOCK MODE OPTION

8080 A $14 I POWER SUPPLY 12 VOLT $9 95


PER SCI DUAL DRIVE $1400
• 8-INCH FLOPPY WITH IMS CABINET AND POWER SUPPLY

Many other parts available-Just call or write for free catalog


NEW PRODUCTS COMING - WATCH FOR OUR ADS - INFORMATION AVAILABLE
WE WELCOME INQUIRIES

Ci rc le 116 o n inquiry c ard . BYTE December 1977 107


YEAR NUMBER
NAME OF MONTH
DAY NUMBER
BA L ANC E FOR WARD
CHECK N U MBER

" TO " DE SCR I PTION


DEBIT
10,1 I "FOR" OESCR IPTI ON
(0,11
CHECK YEAR MONTH DAY TRANS AC TIONS
11,ml (l ,dl 11.t I AMO UNT
F ILE 11 ,yl

CR EDIT DESCRIPTI ON
CRED IT
10, 1 I
{ AMOUNT

BA L ANCE AMOUNT

CURREN T BAL A N CE

Figure 3: The logical data computer will best suit the needs of the Given that we have a file with this
base is generated by map- program . The only help I can give you on information on it which is sorted by year,
ping the data elements this is th e simple suggestion that the physical month, day and transaction, producing a
that appear in the report representation should mirror the logical report program is almost a trivial exercise.
onto the logical data struc- representation in all but the most extreme
ture, cases, These are hardware decisions, You Step Four: Design the Process Structure
may wish to construct a file one way if you Since in this case we are working with a
are using a cassette tape storage system; you single program , the process structure will
may construct it another way if you have a ultimately re present the program structure.
floppy disk. You would not want to impose Were we designing an entire system, an
a file structure that forced a cassette tape to accounts receivable system for instance, th e
behave like a disk by running back and forth process structure would represent many pro-
through the tape at high speed, That is a grams and the associated system procedures
good way to burn up a tape drive in a hurry, that would operate them, The process struc-
Ultimately, as memories become faster, ture is obtained from the sam e logical data
more versati Ie and more efficient, the phys- structure that the logical data base 'was
ical data base will probably always be able to derived from.
mirror the logical data base , Magnetic bubbl e Refe rring again to both figures 1 and 2,
memories, for instance, have no moving we can begin to design the program from the
parts to burn up, bottom to the top. Looking first at the
In the checkbook balance report program leftmost bracket, which for this step is
the simplest physical data base would be a labeled REPORT PROGRAM, we could
sequential file. The necessary information draw a structure thus:
and a brief description of each transaction
could be stored in the order shown in figure
4, read left to right. START PROGRAM { OPEN FILES

REPORT PROGRAM

{
END PROGRAM { CLOSE FILES
check or
deposit description d escript ion transaction
date flag I field 1 I field 2 I number amount
Note that program structure is denoted by
left to right positioning, and that sequences
Figure 4: A sequential file with a record format such as this is the simplest of operations are noted top (first) to bottom
physical data base for the checkbook program, The information that is (last).
needed has been decided by the logical data base, The order they are put on We can see that the only thing for us to
the file depends on exactly what you intend to do. Since in this case we will do at the beginning of the program is to
be sorting by date, the date of the transaction appears first on the file, open the files, and the only thing to do at

108 BYTE Dec em be r 1917


the en d of the program is to close th e fil es
we have used. Movin g right to the YEAR
bracket, th e process END YEAR must be
defined. For thi s program there is nothing to
do at the end of the year, so we fill in th e
bracket with the notation SKIP.

For th e bracke t labeled MONTH , there is


the matter of printing the CURRENT
BALANCE at the end of the month.
$6.50 worth
of Bugback®
labels free
;a--""~.,, with $35.00
book purchase.
Our Bugback adhesive labels stick to Emphasis on self-teaching . No previous
their chips, immediately identifying logic knowledge of electronics ne eded.
Th ere are no processes to be performed at functions and pin numbers. But even Over 900 pages. St900
wi thout the S6.50 Bugback freebie, our BRS·l - Lab workbook providing theory
th e en d of each DAY, therefore we show the Bugbooks'" are a great bargain. Nine and applications of the 555 timer chip.
END DAY process the same way as the END books. pa cked with everyth ing S6 .95.
to teach you digital and 8 . BRS-2 - Text/workbook covering the best
YEAR process. ana log electronics design of low·pass. high-pass.
from scratch . bandpass and notch filters.
Bugbooks I & II - 750 S850
page s, with experi ments BRS-4 - Op·AMP and linear
in basic digital electronics course . 300 page s S9 .00.
DAY
to sophistica ted circuits. Select your S35 (or more)
11.d l S17.00 book value and get S6.50
Bugbook IIA - Advanced topics worth of Bugbacks now. Send
{ SKIP in digital logic transmission. S5.00. check or money order directly
Bugbook III - General overvi ew to E&L Instruments. We'lI ship
of micro co mputer systems with postpaid anywhere in continental U.S .
particular emphasis on interfa cing,
110. programming in machin e languages
Th e TRANSACTIONS process is where 597 pages. SI5.00.
most of th e work is done. For each CREDIT Bugbooks V & VI - Oigitallogic and E&lINSTRUMENTS, INC .
G1 F.rst Street , Oerby . Conn 06418
or DEBIT, one lin e and possibl y a second microcomputers from ground zero . (203) 735·8 774 Telex No 963536

(for DEBIT) is pri nted, showing the appro-


Please send the following Bugbooks, postpaid_ I've enclosed
pri ate info rm at ion; the running balance is $ _ _ . 0 Bugbook 1/11 $17.00 0 IIA $5.00 0 III $15.00
updated, and the next record must be read . o VIVI $19.00 0 BRS-1 $6.95 0 BRS-2 $8.50 0 BRS-4 $9.00
Name
MOVE CHECK NUMBER. Address
CHEC K "TO". AND
CHECK AMOUNT City _ _ _ _ State _ _ _ Zip
TO PR I NT LI NE

SUBT RAC T CHECK AMOUNT


FROM RUNN IN G BALANCE
Enclose check. money order or numbers from BankAmericardl
DEB I T Visa or Master Charge. We will ship po stp aid anywhere in
10 ,1 1 MOVE RUNN I NG BALANCE TO Continent,1U. S.
PRI NT LI NE

PRI N T A LINE

PRINT SE COND LI NE 10 , 11

SPACE DNE LIN E


TRANSACTIONS
11,tl
MOVE DEPOS I T AMOUNT,
DEPOS IT DES CR IPTI ON
TO PR I N T LINE

ADD DEPDS I T AMO UNT TO


CRED IT RUNNING BALANCE
10,11
MOVE RUNN I NG BALANCE T O
PA INT LI NE

PRINT A LIN E

SPA CE ONE LINE

END
TRA NS· { GET NEXT RECORD
ACT I ON

Circle 46 on inquiry card. BYTE December 1977 109


Figure 5: Completed Warnier-Orr diagram for a checkbook balancing report program. This program arrangement will probably
result in the smallest amount of memory being used. The sequences of operations at any given level (left-right position) are
read from top to bottom. A level of operations corresponds to a logical level of procedure calls in a block structured program-
ming language.

OPEN FILES
BEGIN PROGRAM SET INIT I AL VA LUES
( READ FIRST RECORD

BEG I N YEAR ( SK IP

PRINT HEAOINGS
BEG IN MON TH PRINT STAR TIN G BALANCE
( INITI ALIZE RUNN ING BALANCE

BEGIN DAY ( SKIP

MOVE CHECK NUMBER, CHECK "TO", AND


CHECK AMOUNT T O PRINT LIN E

SUBTRACT CHECK AMOUN T FADM RUNN IN G BA LANCE

DEBIT MO VE RUNN IN G BA L ANCE TO PR INT LI NE


10,1)
PRINT A LINE

PRINT SECOND LI NE fO,I)

SPACE ONE LINE

REPORT PROGRAM YEAR MONTH DAY TRANSACT IONS


lI.yl (l,m ) 11,( 1) (l ,tI

MOVE DEPOSI T AMOUNT, DEPOS IT DESCR IPTI ON


TO PRINT LI NE

A DD DEPOSIT AMOUNT TO RUNNIN G BALANCE


CREDI T
10.11 MOVE RUNNING BALANCE TO PR INT LINE

[ PR IN T A LI NE

SPACE ONE LINE

END TRANSACTION ( GET NEXT RECORD

END DAY ( SK IP

END MON T H ( PR IN T CURRENT BALANCE

END YEAR ( SK IP

ture that will produce the report is iso-


END PROGRAM C CLOSE FilES
morph ic to th is structure. Th e structure is
also optimal in operation, in the sense that
nothing is ever done unless it must be done.
Th e program which is coded from this
With th is much of the program design structure will also have some predictabl e
done, the on ly things to be filled in are the features. It will run as quickly as possible. It
BEGIN brackets for each leve l. The entire will usu all y require the least amount of
diagram with these processes added is shown storage. It is very easy to maintain, and it
in figure 5. will run correctly at the first effective tri al.
Looking at the Warnier-Orr di agram for Not bad dividends for a half ho ur of extra
th e checkbook balance program , you can see work . Syntax runs are not effective trials,
th e entire series of events which must take but, with a little diligence and effo rt, syntax
pl ace to cOITectly process th e report as it errors can also be brought und er co ntrol.
was give n. Note also that this is the on ly Next month Part 2 will show how easy it
correct structure th at will prod uce the is to fill in the details of structured programs
checkbook balance report. An y other struc- using Warnier-Orr diagrams.-

110 BY TE Decembe r 1977


"'" /"';':" '" -. ;c1h.,ai;:it~i~rj ,· •. •',. '.
• < ' - t •

' ''''~~ ::,.-::: .: , . ' ,: "t ., "', :' , '~'/'~ ~ . . 7~." J"~:';''':.''-: .'~ :: . . ~ '. ::' ~t-
• •: . , : ," : ; . - ... ~ , .: ;;' .:.:' ·' t'-~ : ~j-",: · _:'._ "",:;, ;': '~. ' >--.; ~_...,\:~ .,~ ':-."<' .".
".:.:':. ·~:··:.'.w~ Jp·.~:O'y'"'~ti:i~··) Sf<; ;': ,;;·~:.:flait~r~a b,u!nbt:.~un,n~~d;·~~~::.:·<·,,:::·· : . .:,TJj~:Gi~iit M.erit~i,Y by ':: ~~ '. :" ,
,,,: d,yMmic.2AM iioWd '~ ,cori~ ~,~ :~~ ;":". know·heW'aopcJ,ii:ts;') ":~. .:.;':; .,..' ..... ,. ~:.b.~abYte·is"a solid b~•.Ari<rah \.~ .
:. ~~.: ;. ~~~,5~.¢ir ~~~ ·BY.r.~!rr(1: io:iI~s,r~te/,~:", !.i '~~i~:th~n ·j~QQ·.;ni<!ro~,<?mp.4-S ·:~~:~·1~?~Q,DiiCat:oh~;,Eftecpv'e 'Q~~~er ,. ." ,
'L~ ~~'" '~n)ffl~tl~t ~Hl!:,I;)Yf.l~»ytc;; '-", ': '" ,.., ·f e(·oWQ.ers atsq \<Row60wgOQP ~t. ;' ; '1 " ~p~ne'W'.Ma:n~f:~ctw:.er':s , -' .' ' ... ';,- :.
~. ':: ;'~: :: d,es!9ris~nd:bli"Ci$ me.moty:·b9aids;·, .JS':' DY!1~t1~yte~s',t6k dynamk i~ ".: .;'<: ,;-:: ,Sug'g~~ted Pric~Js,i~~uced from .", :."
I.', "j J:
~ '~'J.'~, .
,~& ihesame:uhmatched:.en~ii{"
I-'/ .r .'.. ;·\,, ~ • . , '~ ~. '.
.;'" .;,runningmmQre
':. ,". ~,~
~ysteihs than
". f
.$
,~ _. ,'.~}
'," . :
4~5
""'-'.
to
~.
$3,99"~
':. ~ ·.5 . . '.'
_ ' ~" 'v'; }",,"
' .' ....
"" ". :. ":'
"'
arw
:'..', ..
':1
v __ •• . .•• . ",t"0 ',", "

;/';:' ,:n~eJ<I;R.9.~~!hty·art~r~e~hQit;~1 ;~~W:: :',;~t~t, ~y.9~rnh:~· peip.~~·pr1h~ ,.'~::: ',.'~:;/ >;' sk :!~t: Qie Gre,~Vy~eP1Pry by· .; \ " '. ;,
" r:'::" thcit·w.eo~·mt:O',Egyprsoteat... ,_. tn~J:ket. : .:'.' .,\ ,....-. - .:' .<' . :Dy!l~by,te.,t.Ye,orlocal .cprriputer ,~ . :. • .
: '. ':. " J)YJi~O\id. - ,< ~;".;': ',.,. ::-,':':'j :,,; ."... ' '. :,:-: :::'::We·. seJed th:e' b~stGQinponeJjti ,' : ~toredf .i(i~n't in ~t~.ck, telfthe . -, : - " .
, A

::: ~ ...;;- :~ ;Q~ ~t ttI~·s~v~I\Wq.~,d,~~s;~if,.!/' , 'i)v~·.caIYb.u¥ 'l(f~tJild t~e.;,16k \~~n~rr.--:.:~·l).w~e~:t!yl~ h~ ~isse~'~n~~er , .' . . :', .: '.'
i ..... / : :th~ C),hc.lCmt, w.<?~ldt tbe Gre~t .(i ~ ".;: • A,.q, be~aUse 'SolId p'~rts make '~ solId"'; Dyna~yte s~Ie;' al}si <;>rder dIrect. ' . ' ,"
:'./ ~ : P9't~rnid flas·been 'stan~ing-orl:the ;;: memory. OUF,rri~ory:chi~s ; fo.. ," Telep'nQn~ (415)'494,7:81 7.· Cable.~· .: I •

,~ / .:'; de#~Vor:~~cT.~~i~!~:·4;40Q-··:-';, ~!:; ,"e~~m.l?l~ ~reJ~ctory; prime from'· . " . D':~:A~~E:~r !:nail to p~abyte;. ,': " .
. .... >years. A1th6l!Sh:if.$ enQrmqus b~!)e National.5emkdn4uctor. , .. ' . IQc., 4020 fabIan, Palo AltQ, CA :- .. , '.

'.; ;:~,,·~·.~P~,e~~ ~3:.~c(~,s tj!isp'e~~ef~I~>_ . ",·t· ' ~Y.habyt~:~~8 the.fi~stto " '" ' ~~~q~... . ' . , ..... .
I.' '. : "$quare; Rlsl~.45.q{eettltIS as taU 'deHlteri,16k'CI¥Jlamic RAM's •. . SpeClflc;atIqns: .19,38~ by tes,NaMnal ;
. "" ·':17 . ' ''' ' ~I'a'~ ' 0 " ;' ' ~ A3 ' ' . ~ . ' "-. ' SemlqmductorM~5271chlps,l>·100com· .:
a~ ·a .~ , , ~r:6fY,ulU 1l19i ..ver~ . . " . ",asse~led, lested-and burned '. patible, 350 nsec.. access 'lime, 55Qnsec. • •
I • •.. • , .' •

" . .milliPrrbl,?cks of,stone w~re u.sed,.:.. ·in.,And at a price competitive witt). . cycle time, transparent refresh, no wait states
eacn averaging 2Ji21ons:.some,',· ·, KitS! Each beard's c()mplete fo.!' .2 MHz 8080 proce~sor, on boar~ clock, ,5
. ' : .;.... , '. . . '. • • " '. .. • • . ' '. . wa~ts 'power consumption, 1 MHz d,rect memo
. .'. : .we~gh 19tonS. DE;splte ~eIr SIZe, . functtpn IS conftrrned by three ory acce~s, 16k addressing', solder masked, •
-!heY.fit tog~ther with a-t.()I.eran,ce " stages of testing and'a burn in
I ,!ssembled with sockets, t,<sted, burned in,
that IS less~a"l'~alf the Widtnof.a cyd~ thai runs 72 hours at 70° C
nui1ianhair~ ... ' :
. Dyiaabyte:builds its 16k '
. (158°).
When we build them that
guarar,lteed one year.
Dynab y t e
dynamic R.AM. ~o~rds with the soUd we can guarantee them .
same exceptionid preciSion for a full year. Builders of the Great Memory
and care. Their reliability is as If a Dynabyte board ever needs
solid as a rock. repair, we provide factory service
, Dynabyte's design meets rigid with a 24 hour turnaround for both
industrial grade standards. Th~ warranty and non-warranty work.
design is so good, in fact, that one The Dynabyte 16k dynamic
of the largest, most experienced has the widest compatibility of any
electronics manufacturers has dynamic memory. 50 it will work in
tried to imitate it. (We were your system.

Circle 43 on inquiry car~:I. BYTE Dec e mb er 1977 111


Part 2:

Simulation of Motion An Automobile Suspension

Have you ever taken your system out to a speed. This is th e speed of the object at a
club mee ting or demonstration, only to f ind time 0 seconds into the fut ure. Now multi-
that something is ruining your car's hand- ply the speed by 0 and add that product
Iing? Was it because of the heavy power to th e present position. This is the position
supp ly in th e back seat? Would heavy duty the object wil l ta ke in D seconds. Th e
shock absorbers help? You can answer th ese simul ation program will now calculate new
Stephen P Smith question s using your personal computer and values for the forces and mass and step the
POB 841 the simulation techniques found here. simulation forward once more. The process
Parksley VA 23421 Last month [page 78/, I introduced some will continue until an end condition is
basic id eas used in simu latin g moti on. A reached .
games application was used as an exampl e. In th e lunar lander game simulation, two
This month I'll expand on that base; ex pl ain degrees of freedom were considered, up and
some addit iona l ways that forces can ac t, down, and side to side. The up and down or
and demonstrate a more acc urate technique vertical motion was affected by gravity and
for computi ng speeds and pos itions. Th e thrust. The side to side or horizontal motion
example I'll use wi ll be a simu lat ion of an was affected only by thrust. Both of these
automobile suspension and its respo nse forces were determined independen t of th e
to a va ry in g road surface. Automobile speed and position of th e lander. Gravity
enthusiasts wi ll be able to see how differe nt provided a constant change in speed, and
springs and shock absorbers would affect thrust was controll ed by the user. In thi s
the way a car rid es. More imp orta nt, all article we wi ll ex plore variabl e forces which
computer users will acquire some additi o nal are not determined by th e user, but directly
tools to use in their own simu lations and by the speed and position we are simul at ing.
gain insights into new applicat ion s fm their As mentioned earli er, the example we'll
personal systems. use is an automobi le suspension, the parts
First, let's review the basic points made in wh ich connect the wheel to the body . Th e
th e last art icle. When beginning a simu lation, most important of these parts are the spring
yo u wi ll fil'st divide the moti on being and th e shock absorber. We will assume
simul ated into degrees of freedom . In other th at there are oth er parts wh ich keep the
words, you will decid e which motions wheel from moving back and forth, but
you want to simulate, up and down , side only th e wh ee l's up and down moti on
to side, etc. From th en on, ca lculati ons will be considered (see figure 1) . Of course,
will be made se paratel y fm each degree of th e entire car can also move along the road.
freedom. Ne xt you wi ll decide which We will consider that as a second degree of .
forces are acting in each direction and fre edom . Let's exam in e separa tely th e
determine how much eac h force would forces that contribute to vertical and
change the speed of some object in 1 second. horizo ntal motion .
If you use th e metric system of units, the Motion down th e road results when the
change, or acce leration (in meters per car's motor, through the wh ee ls, pu shes
second per seco nd), will be exactly eq ual to the car forward. Air resistance an d rollin g
th e fo rce (in newtons) divid ed by th e mass friction try to slow it down. To simplify
of th e object (iii ki lograms). You will now the simulation, we will ass um e th at these
be ready to pred ict the speed and pos iti on of forces balance eac h other exactly. Thi s
the object at a step of 0 seco nd s into the mea ns th at th e speed along th e road wil l
futur e. Add up the effects of the individu al not change. If the speed starts at some
fo rces. Multipl y th e total by D (th e ste p va lu e other than zero, th e hori zo ntal pos i-
size) and add the produ ct to th e prese nt tion will change. As we will see later, the

112 BYTE D ('c ~mbcr 1977


y

GRAVITY I t
BODY
V ERTI CAL
VE LOCITY
(Y)

W HEEL HORIZONTAL
VERTICAL H-'I---I~ VELOC ITY
V ELOCITY (X)

'--_--;<:::=--,-_---;_==::::::;::~~::~---___;_----;__---_;_---___;_----;_.
~O ~o
y . +,OS - - - -- - - - -
1 1
Y.-os - b - - - - - - Ib - ! -- - - -2'o-- 40 60 fo SIO 160 X
BUMP) FROST HEAVE?
HOLE
ROAD SURFACE LEVEL MODEL

Figure 7: A conceptual model of the "automobile" (unicycle, rather) which is modelled in the sample prpgram of listing 7 as
discussed in this article. The wheel in this model tracks the road surface exactly, and has its own vertical velocity due to the
horizontal velocity interacting with bumps in the road. The actions of the wheel in turn couple through the spring and shock
absorber suspension to the "body" of the automobile. The purpose of this simple model is to calculate the vertical position
of the car body at any given point down the road, given the effects of graVity, shock absorber, spring and excitement proVided
by the bumps and holes. The table in the figure is taken from lines 605 and 606 of the BASIC program o(fisting 7, and is used
to plot the road surface. A better dynamic model of a car would have many more degrees of freedom than this simple model.

simulation program must keep track of the the spring is compressed. The spring begins
position along the road, because it will to push upward on the body, and at some
determine how the wheel, and in turn point the two forces balance each other.
the body, moves up and down. The body will eventually come to rest there.
In the vertical degree of freedom we wi II Knowing a little information about the
need to consider gravity. You will remember spring we can compute that point. Springs
from the last article that to simulate gravity produce forces wh ich are equal to the dis-
a program subtracts a constant value from tance they are compressed times a constant.
the speed for each unit step. (Speed and The metric units for the constant are new-
position are considered positive if they are tons per meter. Sample values are shown in
directed upward .) On the earth the gravita- table 1, column a. Suppose that gravity
tional acceleration constant is 9.8 meters per exerts a force of 5000 newtons on the car
second per second, so for each second ' of body; then a spring with a constant of
simulated time, velocity changes by 9.8 100000 newtons per meter wou Id have to be
meters per second. Since the car obviously compressed .05 meters (100000.x.05=5000.)
does not continue to move downward, there to balance the pull of gravity. At this point
must be other forces balancing gravity. the system would be in equilibrium.
These are produced by the spring and shock What about the shock absorber? Itwas
absorber, and are determined by the vertical designed to produce a force that depends
speed and position of the body. not on how far it is compressed, but on how
Let's examine the spring first. At its nor- fast it is being compressed. The faster you
mal length (often called the free length) a try to move it, the harder it resists being
spring produces no force at all. If it is moved. Like the spring, a constant is used
compressed, in other words forced to be- to calculate the force, this time multiplying
come shorter, it will push back on whatever the speed. The metric units for this constant
is compressing it. The shorter the spring are newtons per meter per second and some
is forced to pecome, the harder it will push representative values are shown in table
back . This is an example of a force that 1, column b. At equilibrium there is no
depends upon position. In the automobile motion, so the shock absorber produces no
example, as gravity pulls the body down, force. If you were to push down the car

BYTE December 197 7 113


(a) (b) current horizontal, it finds the next smaller
entry and the next larger entry. An inter-
Vehicle Spring Damping polation formula is then used to figure out
where the present position falls between
Full size car (LTO, etc) 3200 1450 the two table entries, and to calculate the
Intermediate (Torino, Cutlass, etc) 3000 1200 road surface which lies at the same point
Compact (Nova, Aspen, etc) 2800 1000
Subcompact (Vega, Pinto, etc) 2600 700 between the corresponding table entries
Add 20% for heavv duty suspension. of road height. For example, suppose a
Su btract 20% for front wheel. program entered table 2 to find the road
surface corresponding to a horizontal
Table 7: Representative body at a speed of 2 meters per second, a pOSitIOn of 11. It would find entries at
spring and damping con- shock with a constant of 50 would resist 10 and 12 with corresponding road heights
stants for automobiles. that motion with a force of 100 newtons of 0.0 and 0.08. Because 11 lies halfway
The units are metric: the (50 x 2). When you let up on the body, between 10 and 12, the interpolation
spring constant is quoted the spring would exert a greater force than formula will find a corresponding road
as newtons per meter of gravity and the body would move upward. surface that lies half way betwee n 0.0 and
compression; the damp ling The shock absorber would also resist that 0.08 or 0.04. There are other interpolation
constant is expressed as motion . This action is called damping. The formulas that use three, four, or more of
newtons per meter per damping in an automobil e suspension must the table points, but this method using two
second. . be carefully chosen so that the body returns is generally accurate enough with a reason-
quickly to equilibrium, but does not con- ably detailed tabl e. To simplify your
tinue to bounce back and forth for very long implementation of interpolation , I have
afterward. included a BASIC function in the program
Armed with your present knowledge of of listing 1 which uses the 2 point method.
simulation you should be ready to make Users can simply place their own tables
just such a choice using a trial and error in the data statement and use the function
approach. Calculate the forces on the body, in their programs, or they can follow
and then use them to fi nd the speed and through the eq uations and implement them
position one step into the future. That speed directly.
and position will be used to calculate new In our automotive simulation, the inter-
values for the forces, which in turn will be polated table data will give us the vertical
used to step the simulation forward once road and wheel position. The difference
more. Repeating the process continuously, between this an d the vertical position of
you will simulate the motion of the car the body will be the amount the spring is
body. Try different values for the sp ring and compressed. We can quickly calculate the
damping constants until the desired output resulting force. If the simulation program
is ach ieved for a given set of inputs. retains the wheel's position from the pre-
Th e inputs, you'll remember, are go ing vious step, it can also calculate the wheel's
to be dete rmined by the simulated position vertical speed. Reversing the equation used
in the horizontal degree of freedom. At each to fi nd a new position, the speed is equal
position along the road the input routine to the difference in the two positions
will determine the height of the road surface divided by the step size. If the wheel moved
above or below norm al. If we assum e that from .08 meters to .04 meters in a step of
Table 2: A sample road the wheel does not leave the road this will 0.01 seconds, its speed would be (.04- .08)/
surface table. This table also give us the up and down motion of the .01 = -4.0 meters per second. The difference
is used to draw the sur- wheel. Th e data can be stored in a table between this speed and the speed of the
face curve shown in in memory. By entering different values for body is used to calculate the force produced
figure 7. the horizontal speed at the start of the by the shock absorber. All these calculations
simulation, we can also vary how fast the are included in the BASIC program of listing
Horizontal Road
car will pass over ou r model road. At each 1. Readers who want more detail on the
Position Surface step the program will enter the table to find equations will find them there as well-
the road height wh ich corresponds to the commented program statements.
o 0.0
current horizontal position.
10 0.0 Also in that program is a new method for
12 0.08 This method will work as lon g as there computing speeds and positions. The
13 0.08 is an entry in the table for every hor izontal
14 0.0
equations used in the lunar landing game
20 0.0 position we will find. That could be a very worked fairly well when the forces did not
21 - .04 big table, especially if the step size is small. depend upon the speed and position. In this
22 - .04
23 -.08 To elimin ate the need for large tables, we simu lation they do, and even small errors
24 0.0 can use a technique ca ll ed interpolation. can snowball if not corrected. To do this,
30 0.0 Very simply, interp olation is done like this. we will use a powerful numerical technique,
50 0.1
51 0.0 When the program enters the table, but one which uses the results from three pre-
100 0.0 doesn't find an entry exactly eq ual to the vious steps to help predict the next, and

114 BYTE De ce mber 1977


Application Software!
111\.';1(" You can
·' ;0 "'TWI\ R E
I I.IIIRI\RY
buy software
'''h"
from anybody-
but ours works
- to .. • • Vi.
---r---.. . ~
in your system.
We only sell one product,
Quality.
We have been in business for over nine years building a reputation
for providing a quality product at nominal prices - NOT what the
traffic will bear. Our software is:
• Versatile - as most programs allow for multiple modes of
operation .
• Tutorial - as each program is self prompting and leads you
through the program {most have very detailed instructions
contained right in their source code} .
BA S I C
• Comprehensive - as an example our PSD program not only
SOFTWA R E computes Power Spectral Densities but also includes FIT's,
Of
Inverse-transforms, Windowing, Sliding Windows, simul-
- lIBRA~Y taneous FIT's variable data sizes, etc . and as a last word
our software is :
VOLUME II
• Readable - as all of our programs are reproduced full size
for ease in reading.
• Virtually Machine Independent - these programs are written
in a subset of Dartmouth Basic but are not oriented for any
one particular system. Just in case your Basic might not
..... use one of our functions we have included an appendix in
Volume V which gives conversion algorithms for 19 differ-
ent Basic's; thats right , just look it up and make the sub-
stitution for your particular version. If you would like to
convert your favorite program in to Fortran or APL or any
other language, the appendix in Volume II will define the
statements and their para meters as used in our programs .
Over 85 % of our programs in the first five volumes will execute in
most 8K Basic's with 16K of free user RAM. If you only have 4K
Basic, because of its' lack of string functions only about 60 % of our
programs in Volumes I thru V would be useable , however they
should execute in only 8K of user RAM.
All of our programs are available on machine readable media . For

- ., those that have specific needs, we can tailor any of our programs for
you or we can write one to fit your specific needs.

Vol. I - $24.95
Bookkeeping
Vol. III - $39.95
Advanced Business SCIENTIFIC RESEARCH
Games Billing, Inventory 220 Knollwood, Key Biscayne, FL 33149
Pictures Investments
Payroll Phone orders call (800) 638-9194
Vol. II - $24.95 Vol. IV - $9.95 Information-(305) 361-1153
Math I Engineering General Purpose Add $1 .50 per volume handling, all domestic shipments sent U.P.S. except
Plotting I Statistics APO and P.O. Box which go parcel post. Foreign orders add $B.DO/volume
Basic Statement Vol. V - $9.95 for air shipment and make payable In U.S. dollars only.
Oef. Experimenter's AVAILABLE AT MOST COMPUTER STORES
Program BANKAMERICAIID
Master Charge and Bank Amerlcard accepted.

Our Software is copyrighted and may not be reproduced or sold.


BYTE December 1977 115
which then goes back and corrects the forces which are constant, user controlled,
step when the predicted results are available. or which depend directly on the motion
It is called, logically enough, a predictor- you are simulating. Inputs can come from
corrector method. Rather than attempt your keyboard, from an analog device such
to explain it here, I'll provide a BAS Ie as a joystick, or from tables interpolated
programming example which you can by your program. The outputs might tell
adapt to your own simulations. Readers you how well you are playing a game, or
with a good background in math may wish which of several configurations is best
to reference a book on numerical methods for a design you are contemplating. In the
for more details. In either case you will next article I'll continue to expand on the
have acquired a tool which will be very types of forces considered. In particular,
useful in future simulations. I'll show how you can handle forces which
Looking back over the two articles act in more than one degree of freedom
you should begin to see some ideas for and suggest some ways to handle rotary
your own simulations. They could involve motion.-

Automobile Suspension Simulator


118 REK SET PROGRAK CONSTANTS
118 Kl--188888
128 K2--2888 Listing 7: This program was written to help interested readers
138 "-588
148 V-18 follow the mathematics of the accompanying article. Particular
158 D-8.85
151 RE" SET INITIAL SPEED AND POSITION attention should be paid to the interpolation subroutine and to
168 T-8 the equations for the predictor-corrector method of predicting
178 Pl-9.8*K/Kl
171 Sl-8 future positions and velocities. The program was not intended to
172 RE" FIND INITIAL ROAD SURFACE
175 11-8 be efficient; readers will surely be able to shorten it once the
176 Xl-8 method is understood. The following table defines the variable
177 Yl-8
178 X-8 names I've used.
182 GOSUB 688
183 I2-(Y-I1>/D
184 ll-Y
185 RE" CALCULATE INITIAL FORCES K7 = spring constant
186 Fl-(Pl-II)*Kl/K K2 = damping constant
187 F2-(SI-I2)*K2/K
188 Al-Fl+f2-9.8 M = mass supported by the spring
189 RE" SET PAST DATA EQUAL TO INITIAL DATA
198 52-51 V = horizontal speed of the entire car
288 53-51 D = time step size
218 54-51
238 A2-Al T = elapsed time in the simulation
248 A3-Al
258 M-Al P, 5, A = predicted values for vertical position, speed, and
total effect of forces
259 RE" BEGIN SI"ULATION
268 REK PREDICT SPEED AND POSITION P7, 57, A 7 = present values of vertical pOSition, speed, and
278 5-51+D/24*(55*AI-59*A2+37*A3-9*A4) total effect of forces
288 P-Pl+D/24*(55*SI-59*S2+37*S3-9*54)
281 X-X+V*D 52, A2 = speed and effect of forces one step past
282 RE" FIND HEN ROAD SURFACE
283 GOSUI 618 53, A3 = speed and effect of forces two steps past
284 I2-(Y-I1>/D
285 ll-Y 54, A 4 = speed and effect of forces three steps past
298 RE" PREDICT HEN FORCES F7 = change in speed due to spring
291 Fl-(P-Il)*Kl/"
292 F2-(S-I2)*K2/" F2 = change in speed due to damping (shock absorber)
388 AaFl+F2-9.8
318 RE" CORRECT SPEED AND POSITION 17 = current vertical position of the wheel
328 S-Sl+D/24*<9*A+19*Al-5*A2+A3) 12 = current vertical speed of the wheel
338 P-Pl+D/24*<9*S+19*51-5*S2+S3)
348 REK CORRECT FORCES AND UPDATE SAVED DATA X = current position of car along the road
341 Fl-(P-Il)*Kl/" 1
342 F2-<P-I2)*K2/" Y = road height at position X
358 M-A3
368 A3-A2 X7, Y7, X2, Y2 = table entries for positions immediately
378 A2-Al greater than and immediately less than the current value
388 Al-Fl+f2-9.8
398 54-S3 of X
488 53-S2
418 52-51
428 51-5 I expect it will occur to many of you that graphic rather than
438 Plaf'
448 T-T+D printed output will make this program much clearer. The wave-
458 PRINT !tSl,Pl
"'I IF X(I .. THEN 278 form produced by a plot of the data would give you a much
478 END
better feel for the motion of the car body. For the example in
688 REK INTERPOLATE TABLE TO FIND this listing, try plotting pOSition from - 0.7 meter to +0.7 meter
681 RE" VALUE OF. Y CORRESPONDING versus time from 0 to 700 seconds.
682 RE" TO GIVEN VALUE OF X
685 DATA 8,8,18 t 8,12,8.18,13,8.88,14,8,28,8,21,-8.84 One final note: to avoid losing data, it is important that the
686 DATA 22,-1.84,23,-8.88,24,8,38,8,58,8.1,51,8,188,8
611 RE" TABLE FOR "AT 15 X(I),Y(I),X(2),Y(2), ••• interval between points of the table in the interpolation subrou-
628 IF X()(I THEN 678
638 )(2-)(1 tine is larger than the distance the car moves in one step. In other
648 ' Y2-Yl
658 READ Xl,Yl words, if you want to model a road that changes rapidly, you will
668 GO TO 628 have to reduce the step size (D) to a value less than the minimum
678 Y.Y2+(Yl-Y2)*(X-X2)/(Xl-X2)
688 RETURN of (X(n) - X(n+7))fV.

116 BYTE December 1977


Ximedia Presents ...
a reliable small business disk system
for both word processing and computation.
Xi media Systems stress reliability and performance at an affordable price. That re-
quires hundreds of product evaluations. It also requires a strong commitment to
selling only those components which have operated dependably in business or pro-
fessional applications. The Small Business Disk System (SBD-I) is that kind of system .
OPERATIONAL CAPABILITY TECHNICAL CAPABILITY
The SBD-I system is designed for the professional for The North Star HORIZON computer is built around
such tasks as word processing, accounting, inven- the highly successful Micro-Disk System. The CPU
tory control, and other business-related activities. card is based on the Z-80 microprocessor, and de-
We like this system for a number of reasons . First, signed to run at a full 4 MHz. It also features a jump-
the North Star Disk-Operating-System (DOS) with on-start circuit to pull in the disk bootstrap on power-
extended disk BASIC is excellent. It's as bug free as up.
any BASIC now in use . .4.lso, it's a truly extended The HORIZON motherboard has an on-board serial
BASIC with features like formatted output, callable interface with room to add another serial and / or
machine language subroutines, random and sequential parallel I/ O port. The Crea/ Com memory is a very
file access, and a powerful line editor. fast (250s) dynamic ram board with lots of features.
On the hardware side, we have found all the North First, the refresh is handled by an on-board processor
Star products to be well-engineered, well-designed, and is totally invisible to the main processor. Other
and extremely reliable. The Micro-Disk System , goodies include a pin 67 phantom line, full or partial
around which the HORIZON is built, was the first write protect, no wait states (even at Z-80 speeds),
mini-floppy system commercially available, and is still and guaranteed tested, burned in factory prime chips.
the leader. Each 51J2" diskette will hold 90K bytes of The Perkin-Elmer FOX-11 00 is a super high quality,
data, which means about 50 pages of text per disk, low cost CRT terminal that's a cut above the com-
perfect for word processing. We've included 32K petition. The first big improvement is the 9x12 matrix.
of Crea/ Com dynamic memory which is in our exper- This means terrific readability and lower case char-
ience, one of the better dynamic boards around . They acters that descend! Other features include a
require low power, they're fast, and they use a good hooded, eye-level display, black-on-white or white-
refresh scheme. For memory, 32K should be plenty on-black display, full 96 character ASCII character
and the HORIZON is expandable up to 65K and set, direct cursor addressing, 80x24 display, re-
beyond! settable tab stops, Typamatic auto repeat, wrap-
The combination of 32K of Ram, 180K of Disk, Z-80 around or scroll modes, and a debug mode for
speed and the FOX-1100 make SBD-I system a displaying control characters. All in all, the FOX is a
powerful tool for the profeSSional user. It's a good superior terminal designed for the serious user and
medium-sized system that can be expanded to in- built to take abuses of day in and day out use.
clude more memory, more disks, and other S-1 00 The alternate SBD-IP system includes a 55 CPS
accessories when and if they become necessary. daisy-wheel printer for letter quality hard-copy output.

DESCRIPTION

North Star HORIZON -2 computer


(without memory board)
3 Extra card guides and connectors 21 .00
1 Crea l Com 32K fast dynamic memory 885.00
1 Perkin -Elmer FOX-1100 CRT terminal 1,440.00
1 set Interconnection cables 25.00
1 set Ximedia proprietary system docu - 50.00
mentation
TOTAL SUGGESTED RETAIL $4.370.00

CONVENIENT ORDERING: Toll free number. Prepaid,


Mastercharge, and Visa orders shipped free ; others
Ximi:i)iA
1290 24th Avenue
freight-collect. Most orders shipped from stock . If not , San Francisco, California 94122
we wi II notify. California residents add 6 % sales tax . (415) 566-7472- Toll Free (800) 227-4440
Circle 132 on in quiry card. BYTE De cember 1977 117
A Little Bit on Interrupts
Robert R Wier
POB 9209
College Station TX 77840

While talking with fellow enthusi asts at- gram currently running and give it to the
tending meetings of computer clubs, there operating system without having to go
seem to be several aspects of small computer through the process of clearing the machine
systems which are partic ularly confusing to and reloading the operating system manuall y
newcomers to the hobby. One of these is each tim e. Another problem emerged at this
interrupts. This article explains how the time with the fact that as the central proc-
mechanisms of interrupts work, and wh at ess ing unit improved in efficiency due to
can be done with them in a personal com- th e faster technology, the devices used for
puter system. input and output, called peripherals, re-
mained at about the sam e speed. Therefore,
History if the central processing unit had to wait for
the completion of an input or output opera-
Wh en computers first came into wide- tion, it would just sit there testing and
spread use, they ran primarily on card or retesting to see if the program cou ld pro-
tap e batch principles. Th e operator had long ceed. This was frequently called a "b usy
lists of instructions which told him which wait loop," or "spin lock." It is a technique
card decks to use to run which jobs. Each which is still frequently used in microproces-
job had to be set up independ ently, which sor systems.
was okay as long as this setup time was Clearly, since 10 operations were so slow,
short in relation to the amount of time each it would be nice if the processor could
job ran. A desired goal was to keep the simply request the 10 hardware to input to or
machine running as much as possible . As output from memory directly without proc-
technology advanced and job run times be- essor intervention . Th en the processor coul d
came shorter, setup time became a signifi- go on and perform useful computations
cant fraction of th e total job run time. It while the 10 operation was in progress . Of
was clear that if the mach in e could take over course this required considerably more
some of the chores of the operator, but at soph isticated 10 hardware than was in use
machine speed, the utili zation of the system previo usly , when the processor orchestrated
could be increased. Accounting and setup every data transfer. But since the 10 hard-
procedures could be acco mpli shed by pro- ware didn't need to be able to perform com-
grams stored inside the mac hin e, and then plicated arithm etic functions it could be
the computer could request the operator to regarded as a "mini" central process in g unit
perform only those duties that actually re- or (Aha!) microprocessor. Indeed, the
quired human intervention (such as mount- original purpose of the microprocessor chip
ing a disk pack ). Thus programs called which has made our hobby possible was to
"operating systems" came into use. About produce cheap, reason ably smart peripheral
this same time, it was realized that if such a systems at low cost. That is, each 10 channel
machine were going to run jobs und er an would have its own smaller processor to
operating system, there had to be some way handle only data transfers between an 10
to return control to the operating system device and memory. A littl e thought will
should the program enco unter difficulties. reveal a probl em, howeve r. If the processo r
That is, the operator should be abl e to jerk simply starts an 10 operation and then
control of the machin e away from the pro- pursues other matters, how does it know

118 BYTE December 1977


Everything you've ever
wanted to know about
microcomputers in
~=0$l8~~ book Ove, 400 pages. F""aw· .11" s;ze.

The ultimate book


about microcomputers.
Written by experts
... SCELBI and BYTE. Over
400 pages. A collector's item,
featuring The Basics
from the first 16 issues of BYTE and SCELBI's
classic library of books. Your microcomputer
bookshelf is incomplete without this priceless edition.
OU can't buy information How does a microcomputer do All about building a micro-

Y organized like this any-


where. This is the book
that everyone who is into micro-
it? Lots of "how to" theory. In-
troducing you to microcomputer
operation. 6800, 6502, Z80 CPU
computer sys~em. Over 12 com-
plete construction articles. Flip-
flops. LED devices. Recycling
computers needs for reference, chip capabilities. RAM and ROM used ICs. Modular construction.
for ideas, for clues to problem memories. Addressing methods. Making your own p.c. boards.
solving. It is a truly authorita- Prototype board construction.
tive text, featuring easy-to-read, Make your own logic probes.
easy-to-understand articles by Construction plans for 6800 and
more than 50 recognized pro- Z80 computers. Building plans
fessional authors, who know and for I/Os - TV and CRT displays,
love microcomputers from the cassette interfaces, etc. Mathe-
ground up. Logical and com- Over 400 pages. Selected articles
matics functions. ROM program-
plete, it features many glos- from BYTE and SCELBI books. mer. Plus much, much more.
saries, and is illuminated with Profusely illustrated. Many How to program a micro-
profuse illustrations and photo- photographs. $10.95, plus 50¢ computer. Programming for the
shipping and handling. beginner. Assembling programs
graphs.
The Sceibi/BYTE Primer is by hand. Monitoring programs.
divided into four logical sec- How to control peripherals. Number conversions. Game of
tions, that take you from point Transmission of information to Hexpawn. Design your own as-
"0" through building and pro- and from computers. Magnetic sembler. Lots more.
gramming your own computer ... recording devices for bulk stor- And that's only the beginning!
step-by-step-by-step. age. Analog to digital conver- Others have spent millions ac-
What can you do with a micro- sion. How a computer can talk. quiring the type of microcom-
computer? Checkbook balanc- Other I/O techniques. And more. puter information found within
ing. Recipe converting and food the 400 pages of The Scelbil
Order your copy today! BYTE Primer. But, it costs you
inventory. Heating and air condi-
SCELBI COMPUTER
tioning control. Home and busi- CONSULTING INC. BITS
only $10.95, plus 50¢ for postage
ness security and management. Post Office Bo x 133 PP STN 70 Ma in Street and handling, complete! You
Dept. B Peterbormlgh, NH
Playing the ponies. Analysis of Milford , CT 06460 03458 know the quality of Scelbi and
the stock market. Maintaining BYTE. This is your assurance of
massive data banks. Self-instruc- Pri ces shown for No rth American c ust o mers. excellence throughout this MUST
Maste r ~harg e. Post al and bank Money
tion. Toys and games. Small Orders preferred . Personal checks de lay text. Order your copy today! And,
business accounting and inven- shipping up to 4 weeks. Pri c ing . speci fica- get one for a friend!
ti ons, avai l abi lity subjec t 10 c hang e without
tory. And lots, lots more. notice .

Circle 98 o n inqui ry card. BYTE De cem ber 1977 119


when th e 10 ope rat ion is finished so that it exactly what happens wh en something from
may use th e data input, or refill the buffel" the outside world, or a co nditi o n in te rn al to
just output. Wh at if the drive man gles the th e process ing, wants attention ?
tape and th e data has to be output or input Suppose the processor is hardwired with
Figure 7: What happens aga in ? Wh at was needed was the ab ili ty for at least one interrupt lin e, and probabl y
when an 8080 interrupt the 10 pmcessOl" to be ab le to tap the more. Wh en an interrupt occu rs, the des ired
occurs. The interrupt sig- ce ntral processor on th e should el" and say effect is to :
nal occurs first at some " I'm finish ed," 0 1" " I fo ul ed it up ."
external device. Then, • Store all the inform ation regardin g
Th ere was also the probl em of re al time
external circuitry creates th e prese ntly running pro gl"am which
applications whi ch, depe ndin g on the sys-
an interrupt signal and is necessa ry to resume exec ution at
tem, nee ded th e co mputer to be ab le to
th e same point som e t im e in the
sends an RST instruction detect so me co nditi o n, make a dec ision, and
to the processor as the act on it quickly. If yo u had a big busy wa it futul"e, so as not to have to start it
loop, whe re several in str'uct ion s were over again from the beginnin g. This
second step. As a third
executed in the loo p betwee n each chec king in clud es the program co untel", any
step the old program
of th e status of each se parate inpu t signal, status inform ation , and, optionally,
counter information is
yOUI" refin ery's ca talyti c co nve l"ter mi ght go the processo r registers. Th is " state
saved on the stack to allow
critical before th e co mputer eve n chec ked to saving" activity must be co mpl ete or
later return. Then, the
see if something was wron g, a di sq ui etin g unpredictab le behav ior can ensue upon
fourth step which is part
deve lopment. return to the interrupted process.
of executing the RST in-
• In se l"t into th e pmgram co un te r the
struction is to jump to
address of the first in stru ct ion in the
one of eight possible re- What Interrupts Do
interrupt program which will handl e
start locations in the first
64 bytes of memory ad- So, interrup ts we l"e dev ised. Ind eed, so me th e conditio!! which caused the inter-
dress space,. if the eight computer scientists fee l that the major dif- rupt. When th e interrupt routine is
by tes are not sufficient, feren ce betw ee n the seco nd and third finished, th e status registe r(s)' program
step five, shown here, is a ge nerati o n machin e was not onl y the transi- counter, and processo r registers of th e
jump to an extension of t ion to integrated circuitry, but the advent interrupted program may be restored
the interrupt routine. of the interruptabl e machin e as well. But and the interrupted program resumes
Responsibility for saving
the state of the processor
(beyond the return from
subroutine pOinter pushed
automatically into th e
stack by RST n) is up to MEMORY ADDR ESS SPACE
the programmer coding
the interrupt response
routine.

BALANCE
INTERRUPT
ROUTINE

IF 8 BYTES
IS NOT
ENOUGH SPACE

RETURN
POINTER
ONLY
GOE S TO
STACK AT
INTERRUPT

E XTERNAL LOGIC
INTERRUPT TRANSFORMS RST "n ll 8080
STEPI * ----. INTERRUPT INTO
PROC E SSOR
SO URCE "RS T" INSTRU CTIO N
REQUEST

120 BYTE December 1977


BYTE December 1977 121
Circle 75 on inquiry card .
WIRED "OR" INTERRUPT LINE

PROCESSOR AND
DEVICE REST OF
NO,O SYSTEM

DEVICE
_--H-----i NO. 1 "WHODUNIT"
INPUT PORT
0 0 " 1 DIDN'T DO ITI"
I I
'
0
" I DID IT I"

DEVICE B
U
___-+-------i NO. 2 S

CO L OR KEY :
1 0 ACCESSED BY INTERRUPT OF
DEVIC E NO.1, TH I S CAS E
'------1 DEVICE
NO.7
(OR "n")
____
1----- o 10 IGNORED THI S CAS E

"I DIDN'T DO IT I"

" I DIDN'T DO ITI "

" I DID IT I"

"I DIDN'T DO IT' "

Figure 2: The " Who Done running without reall y being aware essors do this, sin ce th ere wou ld be all sorts
It" problem on interrupts, that it was temporarily not in co ntro l of probl ems encou ntered if an interr up t
Some means must be pro- of the processor. Th is process of re- were recognized in th e middl e of the execu-
vided to determine which storing the machin e state is the inverse ti o n of an instru ct ion, A littl e thought will
10 device requested service of the state saving ac tivity, show why, Th e 8080 does not in cre ment
when more than one de- th e program co unter. Th e program counter
Interrupt Hardware
vice shares an interrupt for th e old program is push ed, saved, onto
line on any processor, Th e actual hardw are that is in cl ud ed to th e stac k. Th e next instructio n to be
Here is one way of deter- effect interrupts varies somewhat from one exec uted is "jammed" onto th e data bus by
mining "who done it": processor to th e next. Virtu ally all of them external interrupt ci rcu itry and is ca ll ed the
The input port " WHO- save th e old program counter in so me sp ec i- res tart in struction , Depending on the resta rt
DUNIT" looks at eight fied location and insert the address of the instru ctio n operand, the next instruction
single bit status flags interrupt handl er's first in struction into the executed (ie: the address pl ace d into th e
corresponding to up to program counter, Thi s is in effect an uncon - program co unter) may be one of eight
eight devices; if the flag dition al branch to a subroutine with link age possib le dec imal memory locations: 0,8, 16,
is on, then that device fo 'r return after interrupt process in g. Each 24,32,40,48, or 56.8080 programm ers will
"did it," machine is different, though, in th e ac ti ons note th at there are just enough memory
taken beyo nd these two bas ic functions . In locations, eight, between these ad dresses to
the IBM 370 seri es, th e hardware does save th e regis ters of the old program, di sa bl e
practically eve rythin g fo r th e programm er. furth er interrupts, and exec ute a jump to
In microprocesso rs, the software interrupt another location , which in thi s case wi ll be
program must do some of th e thin gs that the th e interrupt service ro utine. Th is entire
hardware does in th e larger machin es, Let's operation is ex pl ained in figure 1.
look at th e most popul ar microprocessors Obviously, if you eve r contemp late using
and see what they do . all eight classes of interrupts, you want to
be sure not to program using the first 64
Interrupts on the Intel 8080 memory locations sin ce those are rese rved
Wh en an interrupt requ es t is received, th e by the hardware for interrupt handlin g. But
8080 compl etes th e current instru ction be- what if yo u want to have on ly one class of
fore taking any action on th e interrupt. interrupt? Say, a panel switch that th e
Virtu ally all miniprocessors and microproc- operator (you) ca n push to get the atte ntion

122 BYTE December 197 7


---------------------------------------------------,
References
and
Robots
froID BITS __ A Oictionary of Microcomputing by
__ Game Playing With Computers by Philip E Burton. In the opinion of BYTE's
Donald D Spencer, published by Hayden. editor, Carl Helmers, "This is one of the
What does it mean to play games using a best designed and executed dictionaries of
computer? Read this book to get an computer related terms yet seen on the
introduction into numerous recreational market. It is of particular relevance to those
uses of the computer to program and play individuals who want a good general
mathematical and logical games. Topics reference to numerous technical terms,
include numerous mathematical problems, broadly covering hardware and software
casino games, board games, unusual gam- fields as currently practiced." This new
bling games, and miscellaneous logic games. hardbound edition is part of the Garland
Numerous BASI C language programs and Reference Library of Science and Technol-
listings are included to show details. $16.95. ogy. $12.50.

..
SoII"-.n'" ~

.\I ic "'l"",".,..;o;n

_ _ Software Design for Microprocessors.


This stand alone guide to microprocessors
has been designed by the people at Texas
I nstruments to convey knowledge to the
first time user of microprocessors. This
----.-Scientific Analysis on the Pocket _ _ Build Your Own Working Robot by excellent source book of computer concepts
Calculator by Jon M Smith, published by David L Heiserman, published by Tab begins with an outline of the basic principles
John Wiley & Sons. This book is another in Books. This book will not tell you how to of the general purpose computer, its
a set of source books for mathematical build Robbie, the robot of Forbidden machine architecture, software, and meth-
analysis using the contemporary products of Planet, or a classical android of science ods of addressing. It proceeds to discuss
technology. It is oriented to the pocket fiction. What it will introduce you to is the how to build software, what is involved in
calculator, yet it will provide you with problems of making a robot mobile device documenting what you've done once you've
algorithms and methods useful with any called Buster III , using pre-microprocessor done it, the mechanics of programming, and
personal computer which implements the TTL integrated circuits for all logic specific examples using the TI TMS-1000,
scientific and analytical functions found on functions. It is a must book for background TMS-8080, TMS-9900 and SBP0400 de-
a good pocket calculator. For a more reading, but much of the logic can be signs. You'll find a thick hardcover te xt -
complete description, see the book review extremely simplified using today's micro- book filled with over 370 pages of useful
on page 120 of the December 1976 BYTE ; processor technology. Use this book as a information including a comprehensive
or order its 392 pages of detailed technical first look at these problems from which you glossary of microprocessor terminology,
information and review its use for yourself. can build further and more elaborate among several other detailed appendices.
$13.75. solutions. Softbound, $5 .95. $12.95.

Send to : Check paym ent method :


My check is enclosed
BITS, Inc
Bill my MC No. _ _ __ __ _ _ _ __ __ _ Exp. date _ _ __
70 Main St
Peterborough NH 03458 1--= = Bill my BAC No . Exp . date _ _ _ __

Tot al for a ll boo ks c hecked $ _-


Name
Pos tage , 50 cents per boo k for ___ books $ _ - Address
Overseas, 75 cents pe r boo k fo r _ __ books $ _ _ _ City State Zip

Gra nd Total $ -- Signatu re

Pri ces shown sub ject to change . All orders prepa id .


You may photocopy thi s page if you wis h to leave yo ur BYTE in tac t. In unu sual cases, processing may exceed 30 day s.

----------------------------------------------------
Circle 12 on inquiry card . BY TE Decemhe r 1977 123
of the machin e. Then just program the par- vectoring method also has the disadvantage
ticular location that you (or the computer of requiring that the stack pointer must
hardware designer) hardwired in. Let's neve r be used for other purposes (such as
suppose for a minute that you need more a pseudo-index register) when interrupts
th an eight interrupts. Th at's possible, within are possible. Th e three interrupts possibl e
a few restrictions as shown in figure 2. Just on the 6800 are:
OR the interrupt requ est lines from the out- Mas kabl e Interrupt (IRQ). This inter-
side world together and feed them to the rupt occurs when a hardware sign al causes
same interrupt lin e going into the processor. a low state on the I RQ line of the proces-
But then how do you know which device has sor. This lin e is always wired in a "wired
caused the interrupt? Obviously there will or" configuration when mul tiple sources
have to be another signal somewhere to indi- are used, so some form of polling or
cate which device needs attention. Thi s Priority logic is needed to identify
could be implemented in a variety of ways: sources. Wh en an interrupt occurs, a flag
is set in the processor which prevents a
• The dev ice could place an identifying
second interrupt from interrupting the
number on the data bus which would
routine which processes the first to arrive.
identify the device .
Non-Maskable Interrupt (NMI). Thi s
• An input port could be wired so that
interrupt is identical to the I RQ interrupt
the device would signal that it nee ded
except that no " masking" of repeated
attention.
interrupts occurs in the processor to pre-
• The processor could send an interroga-
tion to each device connected to that vent conflicts. As a result, without exter-
interrupt line asking if it was the one nal logic to do the masking only one
that sent the request. interrupt source should be dedicated to
this signal. Motorola intended this lin e to
Th e first and second methods are faster since be used with the absolute highest priority
the device number or input data could be external signal in a typical system: the
used as an index to go to the appropriate signal which indicates a 110 V AC main
interrupt handl er program. Th e third power supply " power failure" in a dedi-
method is called pollin g and may be some- cated application system; th e interrupt
what time consuming if many devices use response routine in such a case would
the same interrupt line. Because so much of have enough time before the capaci tors
the interrupt logic of the 8080 is external to of the power supply discharge (typically)
the chip, there can be considerable variation. to save the state of the processor and pre-
Most 8080 systems use a simple restart pare for late r return of power. But the
(RST) operation code, but any instruction intended use does not mean the only use,
including jump (JMP) or call (CALL) can be and with proper care this interrupt line
used with appropriate external logic. can be used for inputs as diverse as a
di rect memory address (DMA) controller
Motorola 6800 Interrupts or real time clock.
This chip has built into it th e capability Software Interrupt (SWI). This inter-
rupt occurs when a program executes
of decoding and servicing a smaller number
a software interrupt instruction . Th e
of interrupts, but in a more automatic way
actions taken are exactly the same as
than the 8080. Th e 6800 uses an indirect
those for the totally asy nchronous NMI
"vectored" interrupt situation in which each
and IRQ hardware inputs. Th e only
source of an interrupt looks up a uniqu e
di fference is that the SWI is not a true
vector location for the address of its service
interrupt since it is programmed into the
routine . Wh en an interrupt is indicated to
softw are at a fixed point, whereas an
th e 6800 by one of three possible sources,
interrupt such as NMI or IRQ can occur
the processor automatiCally saves the two
at any time relative to the execution of
accumulators, index register, status register,
a program. The SWI instruction, in effect,
and program counter on the stack, and in
is a call to an interru pt subroutine, with
the process of doing so it changes the stack
return impl emented via an RTI (return
pointer. Thus, the 6800 has the advantage
from interrupt) instruction .
of never requiring program code to achieve
state saving functions . It simultaneously has There is one further method of interrupting
the disadvantage of always perform ing a a process in the 6800 which is not charac-
complete state save so there is no way to terized by the state saving needed to effect a
"cut corners" and save time by ignoring true interrupt style action. This is use of the
the saving and restoring of data which is not "reset" (RES) line of the hardware . This
changed by the interrupt routine. This form of interruption merely causes an

124 BYTE December 1977


i-------------------------------------------------------------------------------------_
I Adam Osborne's books An Introduction _______ Volume 2 is a much thicker detailed
I
I to Microcomputers, Volumes 1 and 2, are a volume which complements the information
I concise compendium o f the technical details in the first volume . This is the volume which
of microprocessors at the component fills in many of the details left out of the
(engin eer ing) level. These are the source conceptual treatment in Volum e 1. H ere
books for the system designer who plan s to you ' ll find 19 detailed chapters on the
employ the microprocessor, or the advanced engineering and log ica l specifications of pro-
homebrewer who wants a dash of custom- ducts made by 16 different manufacturers,
i zat ion not found in commercial products. includ ing in many cases reprints from the
manufacturers' documentation as well as
- - - - Volume 1 is subtitled "Basic Con- new materials provided by the author. Pub-
cepts ." Thi s is the book which p rese nts a lished in 1976, it even includes such pro-
framework of ideas concerning the design cessors as the MicroNOVA by Data General
and use of sma ll computers implemented and the Texas· Instruments TMS-9900 as
with LSI . Topics include definition s of the well as the older 8 and 16 bit machines .
microcomputer, fundamental co ncepts of Organization is by design type, and where
logic and numbering characteristics of parts of several manufacturers were in-
instruction sets, etc. $ 7.50. tended for a given processor deSign such as
the 8080, these are grouped into a single
chapter. Revised second edition $15.00.

---___ How to Buy and Use


Minicomputers and Microcomputers
by William Barden. People have often
asked us where to tu rn to get an
introductory book about computers
for personal use. One exce llent place
to st art is How to Buy and Use
Minicomputers and Microcomputers,
William Barden Jr's in stant summary
of the small computer revolution,
_____ Digital Computer Fund-
published by Howard Sams in mid-
amentals by Jefferson C Boyce.
1976. This is one of the first books
The way to a world of learning is
of the "general introduction to
through books. A great place to start,
computers" genre to be published
and to return from time to time, is ____ Computer Power And Human
with an emphasis towards the small
the classical te x tbook. Thi s new Reason by Joseph Weizenbaum. This
computer and personal computing as
book from Prentice Hall is in- book is one which should be
it i s being practiced these days. the
tended as ju st that. Topics covered purchased or read for several reasons.
book, written for the novice as well
include digital computer operation , If you're presently a programmer by
as the expert, surveys the technical
basic computer circuits and concepts, details of th e field in nine chapters trade or skill , you'll see a philosophy
Boolean algebra, implementing com- of computer use and abuse pro-
and 10 appendices. Thi s book is light
puter operations in hardware, com- pounded . It's genuinely interesting,
(but essential) reading for th e experi-
municating with the computer and and definitely provocative if you
enced computer person, and worthy
related issues of coding schemes, reference the storm of letters, coun-
of ser iou s, concentrated perusal by
detailed di scussions of the control ter letters and counter counter letters
the novice. $9.95.
section, memory functions, arithme- which this book produced in the
tic and logic functions, input and Association for Computing Machin-
output functions of a classical com- ery's SIGART newsletters during
puter, a chapter on computer pro- 1976. If you're a novice to the field,
gramming and a final summary the tutorial and explanatory chapters
chapter on the details of a typical of this book, which are aimed at th e
minicomputer design interpreted in layman, will serve as an excellent
the light of the more theoretical background source which is also
general concepts in the book. This eminently readable , This includes an
book is excellent background infor- excellent and low level explanation
mation for the I iterate and well read of what an algorithm is, and how
hacker. Order yours today. $15.95 computers go about executing effec-
hardbound. tive algorithms. $5.95 softbound.

Send to : Check payment method :


My check is enclosed
BITS, Inc
Bill my MC No. ___________________________ Ex p . date _________
70 Main St
Peterborough NH 03458 Bi II my B AC No. _________________________Exp . date _________

Total for all books checked $- - Name

Postage , 50 cents per book fo r books $- - Address


Overseas. 75 ce nts per book for books $ ______
City State Zip
Grand Total $-- Signat~ ______________________________.___________

______________________________________________________ --------------------------------1
You may photocopy this page if you wish to leave your BYTE intact. In unusual cases, processing may exceed 30 days

Circle 12 on inquiry card. BYTE December 1977 125


MEMOR Y ADDRE SS S PA C E

RE SET
R OUTIN E

NMI
ROUTINE

PRO CE SS OR STACK

ADDRE SS OF
RESET
ROUTINE STORED FF FE , FFFF
HE RE
SWI
ROUTINE
AD DRES S OF
NMI R OUTINE
STORED FFF C,FFFD
HERE

A DDRE SS OF
SWI ROUTINE
IRQ ROUTINE STORED FFFA,FFFB
HERE
U SE DA TA I N
IRQ LOCAT ION
TO CA LL A DDRE S S OF
IRQ ROUTINE IR Q ROUTIN E
STEP 4 STORED FFFB , FFF9
HERE

COLOR KEY :

D MEMOR Y WHICH CAN BE


ROM ( A N D OFTEN IS )
PO INT
IRQ L OCAT ION

D MEMORY WHI CH MU ST BE
PROGRAMMABLE SCRATCH PAD

6 B OO
• } L I N KA GES DURIN G STE P I : EX T ER N AL PR OC ESS OR
I RQ INTERRUPT INTE RR UPT
INPU T ON IR Q *
EV ENT ---u-
----.;=---.11 RQ

Figure 3: The 6800 proc-


essor's interrupt structure. un co nditi o nal bran ch to a res tart location, processor sends out addres~ to memory fo r
This vectored interrupt and is typi call y used to initi ali ze th e sys tem location FFF8 from which it obtains the
method starts with an or to recover from di sas trous errors. hi gh order address of th e interrupt routin e.
interrupt signal to the All four so urces of in te rrupti on of th e Th en it sends out the address FFF9, from
processor. In this example, 6800 processor, IRQ, NMI, SWI and RES which it obtains th e low ord er address of
IRQ occurs, so the proces- use a simil ar indirect vectored approac h to th e interrupt routine . It then branch es to
sor generates a re ference locating th e address of th e des ired routin e. th e interrupt routin e at the address ju st
to the IRQ vector location In the cases of IRQ, NMI and SWI th e obtain ed. A similar process occurs for th e
at hexadecimal FFF8 and de sired ro utin e is a subroutin e whi ch r'e turn s NMI response using th e data co ntain ed in
FFF9. The two byte ad- via an RTI (return from interrupt) locations FFFC and FFFD as an address; for
dress at the IRQ vector instructi on; in th e case of RES th e desi red th e SWI response using data contain ed in
location in turn points to routin e is th e beginning of th e software locations FFFA and FFFB as an address ;
the IRQ routine some- whi ch gain s co ntrol wh en th e processo r is and for th e RES respon se usin g data con-
where else in address space res tarted. tain ed in locations FFFE and FFFF as an
and as the last step in the In each case, th e processo r uses a 2 byte address.
process, the routine is address stored in th e region fro m hexa-
called. As part of the decim al addr'ess FFF8 to FFFF in memory The MOS Technology 6502
special interrupt routine address space as th e star tin g address fo r th e Thi s 8 bit processor is very simil ar to th e
call, the old state informa- desired routin e. Thu s, for exa mpl e, sup pose 6800 in its processing of interrupts. Th ere is
tion is pushed onto the a so ur'Ce of an interTup t changes th e state no separate vector for a software interl'Upt as
stac!? of th e I RQ lin e, causin g an I RQ interrup t. implem ented in th e 6800, so the 6502's
Th e processo r first co mpl etes th e prev ious interrupt vector regi on onl y in clud es non-
instructi on, as noted earli er. Th en, in stead maskabl e interrupts (FFFA and FFFB con-
of executin g th e nex t in st ru cti on, it tain the address), reset (FFFC and FFFD
exec utes th e detail s of th e built in "s tate contain th e address), and mas kabl e
savin g" sequ ence. Afte r state sav in g, th e interrupts (FFFE and FFFF contain th e

126 BY TE December 1977


SAVE MONEY! As of January 1, 1978, we are raising our subscription rates to meet the increased
costs of producing and mailing BYTE to our more than 110,000 monthly readers. The new domestic
subscription rates, effective January 1, 1978:

Current Rates Rates Effective January 1, 1978


One year U.S. - $12 One year U.S. - $15
Two years. U.S. - $22 Two years U.S. - $27
! ,hree years U.S. - $32 Three years U.S, - $39

If you already subscribe to BYTE and still have


several months to go before expiration of your
subSCription , you can still take advantage of
current rates for renewal (even up to three
years). Use coupon below. When your present
subscription expires, your renewal order
commences.
If you are not yet a subscriber to BYTE, the
leading magazine for the creative home
computer experimenter, don't delay . . . mail
this coupon and start getting your own copies
of this invaluable magazine, before new rates
become effective.

USE THIS MONEY-SAVING COUPON TODAY


To new subscribers:
Read your first copy of BYTE, if it's
1 ~-~--~---~~~------~
BYTE S~~ption Dept • P.O. Box 361 • Arlington, Mass. 02174 .
everything you expected, honor our I PLEASE ENTERMY SUBSCRIPTION FOR:
invoice. If it isn't, just write
I b One year issues)
$12 (12 0 Two years $22 o Three years $32
" CANCEL" across the invoice and
' 0 ,Check enclosed ,(entitles y?U to bonus of one extra issue)
mail it back. You won't be billed, and
the first issue is yours. I'I .0 me Bill 0 Bill BankAmeri~ard/Visa 0 Bill
Master Charge
Allow 6 to 8 weeks for processing. Card Number. I I I I I I I I I I I I I I Expiration Date: ----~___;--=-:-'----=--
Signature: ---'---=-------~. Name (please prlnt)I-...,--,--.::.-=----'=----,---,- 1
,. Ad<ilress: ~_,,---,---...:.:.-----_,_-~--------____::__,__-_:_-----
© Byte Publicatians, Inc . 1977
City: State/Country::- - - = - - - - Code:--'-
Offer expires December 31,1977
FOREIGN RATES FOR ONE YEAR: (Please remit in U.S. Funds)
d ' Canada or Mexl~ $17.50 (Air delivered) 0 Europe $25 (Air delivered) .
o All other countries except above: $25 (Surface delivery)
. Air delivery available on request
address.) Th e 6502's BRK instruction is placed close to the screen, when the light
similar to the 6800's SWI, except it uses the beam strikes the cell an interrupt may be
same vector location as the maskabl e inter- generated : This interrupt may then cause
rupt (I RQ) rather than a separate address the location of the beam to be noted by
vecto r. storing the current valu es in the counters
used to control the be am.
Interesting Uses Another extremely interesti ng appl ica-
Now knowing about interrupts, what are tion is the emu lation of hardwired instruc-
their uses on the personal computer system, tions. If the processor allows software or
and what kinqs of programming should we illegal instruction interrupts then software
use with them? Probably a majority of users routines may be programmed which will
will not need to use interrupts at all, at least produce the same effect as if the desired
until they have several years programming instruction had actually been included in the
experience. If you have an 8'080, just be silicon on the chip . For example, suppose
careful to write your programs around the that you frequently needed an instruction
critical interrupt locations in low memory which would, for some unfathomable
addresses, in case sometime in the future reason , add the contents of all the registers
you decide to start using them. If you have a and output them to a teleprinter. You
6800 and use a dedicated monitor such as could set up a subroutine in each program
J BUG or MIKBUG , much of your freedom that required this actio n. But if yo u
to use interrupts is replaced by hardwired found that you needed this instruction
response vectors in ROM found at F F F8 to frequently in every program you ran on the
FFFF. Almost certainly if you plan on machine, another way of implem enting this
writing or using some type of operating routine would be to place into the program
system, the interrupt faci lities will need to code (that is, t he program being run) some-
be used in the interrupt routines. th ing to cause an in terrupt.
Th e use of interrupts for 10 operations This interrupt would cause the interrupt
probably will not be a major app licati on routine to determine which action was
except in cases of direct memory access or desired, execute it, and then resume the
fast peripherals. Personal wstems tend to be interrupted program. Of course, the in-
strongly oriented to a memory conservative struction would be executed much more
type of programming, since the cost of slowly than if hardwired. Once the routine
the processor hardware is so low to begin was finalized, it could be burned into read
with, and the slowness of 10 is not really a only memory, and from then qn it would
sign ificant factor. always be available for the programmer's
Real time applications are likely to use. The actual bit pattern inserted into
abound in small systems. The timers that are the program, to cause the interrupt, varies
included in some systems often operate by with the processor. If there are unimple-
allowing the program to load a desired mented operation codes then you may
number, which is then counted down (or simply choose one and use it to signify the
added up, depending on the hardware) new operation from then on. If unimple-
independent of the processor. When zero is mented operation codes do not exist., or
reached, the timer can generate an interrupt. they cause the mach ine to "hang up" and
This could be useful il1 such applications as not interrupt, then a software interrupt,
keeping track of how long programs use the call ed a "supervisor call" on the 370, l11ay be
processor, allowing q player a limited used . This is somewhat less pl~asing, how-
amount of time to' make a move in gam es ever, since the code on the program listing
like Star T rek, generating time of day will always look the same (ie : a software
applications and so on. A Very interesting interrupt) ' and make debugging a bit more
real time application of interrupts is in the difficult. The 6800 's SWI instruction with
use of ligh t pens on · oscilloscope graphics its separate vector is ideally suited to this
displays. This is one use of computers that use. Obviously, a byte would have to be
many hobbyists, upon seeing it operate for stored somewhere which would signify to
the first time, feel is just this side of magic. the interrupt routine which operation
Actually, when you consider how the was desired. In a 6800 this would be accom-
oscilloscope display is generated, the mech- plished by fo llowing the SWI instruction
anism is very straightforward. You may with ' the appropriate 1 byte code, and
deduce that the computer, or 10 device , modifying the stack so that RT! returns
must know where the beam of light is control one byte past its normal point of
currently positioned on the scope's screen, return.
or else it would be just q jumbled mess. It is possible to reproduce a particular
Therefore , if a photosensitive device is machine 's entire instruction set on another

128 BYTE December 1977


"Eco
()

entirely different machin e in this manner. ~


::l
Thi s is freq uentl y ca ll ed "e mul atio n," 0-
c
although the term is also used to describe c
o
this process bein g acco mpli shed by micro- N
N
code whi ch, confusingly enough , is onl y
remotely related to microprocesso rs. ~'"
u
Conclusion
We have seen that the use of interrupts
all ows com puters to becom e more ve rsatile
than wh en the y are dedicated to one
program. In te lTup ts all ow th e mac hine to in-
terac t with the outside wodd whi le at the
same tim e all owi ng it to pursu e "its own"
interes ts. IntelTupts are usefu l fOl" acco m- 5-100 BUS
plishin g things in ways which, whil e mOl"e
difficu lt to program initially perhaps, may
be worthwhi le in the ease of applicati o n.-
t
REFERENCES SPEAK "KAAMPYUTAOLKER"
1. Intel 8080 Microcomputer System s User's
Manual , In te l Corporatio n, Santa Clara CA ,
MODEL CT-1 SYNTHESIZER 395 .00
July 1975. CSR1 SOFTWARE SYSTEM 35 .00
DEMONSTRATION CASSETTE 2.95
2. M6800 Systems Reference an d Data Sheets , CALIF RESIDEN TS AOD 6% SALES TAX

Motoro la Semiconductor Products Inc, Phoeni x


AZ . WR IT E FOR INFORMATIVE LITER ATURE

COMPUTALKER CONSULTANTS
3 . MCS6500 Microcomputer Family Program- P.o . BOX 1951, DEPT. B, SANTA MONICA , CA 90406
ming Manual, MaS T echnology, Norristown ,
PA.

Easy to use! Everything you need


for 1/0, mass storage, and a monitor. OUR NEWEST BABY!
3 complete parallel parts with their The System Central Interface
own handshaking, latched outputs, bi- SCI
directional.
Serial port with 20 ma, 60 ma,
RS-232, speeds from 75 to 19,200. 256
bytes of RAM for stack and buffer
DAJEN Electronics storage.
7214 Sprin g leat Ct.
Cit ru s Heights, Ca. 95610
(916) 723-1050
2708 PROGRAMMER
3K of ROM, 2-2708's provided with
monitor: complete video, software, cassette routines, 16,com -
mands total.
High-speed cassette system with 2 relays, simultaneous
read and write, speeds from 500 to 40,000.

Yes, please rush my SCI to:


Name ... ... ............ ... .................... .............................. .
Alta ir, Po ly,
Address .. ... ................. _........ ................................. .. .. IMSAI, Z-80,
Tarb el l Com-
City .... ...... .......................... State ...... .. Zip ....... .. .. patible
Kit
Mastercharge .................................... Exp . ...... .. .. .. $285
Assembled
Visa/B .A. ............................. ............. Exp . .......... .. $345
Signature ................................................... .......... ... ..

Circle 35 on inquiry card. BYTE Decem her 1977 129


Using the PolyMorphics Video Interface

Wayne Wenzlaff I recently purchased one of the PolyMor- the more curious I became. A call to Poly-
3494 S Greenwood Ct phic Video Termin al Interface units from a Morphics gave me the answer.
Eagan MN 55122 local computer store. After opening the It seems that some of the first instruc-
pl astic bags inclu ded with the kit and check- tion books printed managed to get by the
ing the parts aga inst the packing li st, I sat quality control department without being
down to th e task of assembling the- kit. The checked . In any case, I spoke to a very nice
instruction s looked simple enough, the parts person by the name of Cindy Feeney, who
were all there, and there was a parts di agram, turned out to be the national marketing
except I couldn't read it. manager. She apologized for the problem,
Well, being no stranger to electronics, I and exp lained that they sent a letter to their
armed myself with a pen, the schematic, and dealers as soon as they became aware of the
a bottle of Dr Pepper. (The Dr Pepper is mistake. The only trouble is they didn't
important!) Some four hours and many know who had purchased the boards with
bottles later, my board was complete. Trac- the bad diagram, so some of us unfortunates
ing circuit di agrams is OK if you have a lot got hold of a kit without knowing about
of time and know your electronics, but the letter. She exp lained that the diagram
there have to be a lot of nonelectronics had been reprinted, this time in three colors
people who bought this board and had the for easy readab ility. And she sent one to me .
same probl em. The more I thought abo ut it, Free! She also offered to replace the diagram
to anyone else who has had the same pro-
blem if they will just drop her a note. The
NEW VIDEO INPUT
address is PolyMorphics, 737 S Kellog Av,
,.-,,
\
\.
. Goleta CA 93017.
Now I needed a television to connect it
I
I
I to. I don't own a video monitor, but I do
,..:~ .. IOfLF * have a black and wh ite television set, a
+~-- SEE TE XT
Panaso nic Model TR-S42. With this set,
I
I 8+ adding a video input is a cinch. A schematic
I
I of th e section of the video amplifier to be
I
I modifi ed is shown in figure 1. Pan aso nic
I 2SC563
FROM 3rd VIDEO I V IDEO AMPLIFIER provides a test point at the input of the
IF STAGE
RI41
video amp lifi er. The signal is positive going

)
47 TO VIDEO (signal is positive with respect to ground)
OUTPUT and the leve l is 0.9 V peak to peak. The
RI40
PolyMorphics board provides a positive
470 go ing video output, with about 1 V peak to
EXIS TING
peak leve l. Talk about a perfect match!
TEST POINT I n order to eliminate any biasin g pro-
bl ems for the video amplifier, I elected to
Figure 7.' This is the simplified schematic for the video amplifier. The dot- leave the video interm ediate frequency (I F)
ted capacitor is the added component to the original circuit. Take care to stage connected. The PolyMorphics board
connect the positive side of the capacitor to the television circuitry. Th e has plenty of video to drive th e amplifier, so
video signal from the video interface can be connected directly through this the only thing you need to do is turn the
capacitor. telev ision to an unused channel, preferably

130 BYTE Dec. ",ber 1977


Photo 7: This is the display generated by the program written to output a
series of vertical bars. Th e dark bands running across the monitor indicate
that the horizontal frequency of the video interface and the horizontal
frequency of the monitor are not identical.

Not ice the dar k lin es running from the


lower left to upp er right hand corner of the
sc reen. Th ese are present because th e hori-
zonta l freq uency of the set is not the same
as the hor izontal frequency of the vid eo ter-
minal. The sta nd ard hori zo ntal frequency of
UHF. The PolyMorphics board provides a a televi sion set is 15,750 Hz. The freque ncy
slight amount of DC bias on the video lin e, of the PO'lyMorp hic board is 17,094 Hz. Al-
and this will distort your displ ay unl ess you though the manu al wou ld lead you to be-
fi lter it out. Th e simp lest cure for this is th e li eve that this is a simple ad justment of the
addition of a coupli ng capacitor in the video hor izo ntal hold control, not all se ts can be
line. Install it in series with the center con- adj usted to operate at this f req uency with-
ductor, with the positive end connected to out some intern al modifi cation. I had access
the TV circuitry as shown in figure 1. Ex- to fo ur sta ndard video monitors wh ich I
perim ent to see what value works best for later tried the board on. Onl y two of the
you, but it will prob ably be between 0.1 and fo ur were ab le to lock in and produce a
10 mF. usabl e display. Fortunately it' s not too
With the tel evision modified and the
board co mpl ete ly assembled, I was now up
HOR IZ ONTAL HOLD
to the section labeled 1.6. For those of you
who don't own the PolyMorphics terminal,
that section reads, " As it stands now, your
unit should work if connected vi a coax ial
cable to a video monitor or modified televi-
sion set." Wrong. Not that there's anything
wrong with the terminal, but I have built
two of them now, and they don't do any-
thing until you put so mething in memory .
For ease of testing, the fo ll owing program
can be entered via th e front pan el switches.
This eliminates the need for anythin g but a
computer, the video interface board and th e
modified te levision. Set th e PolyMorphics R415
6 .8K
address to 0000, then proceed as fo llows: I TELEVISION
TERMINAL
0000 21
I
0001 OA R NEW I
I
0002 00 S .6K* I
I SEE TE XT I
0003 3E L_______ '\.'v-.,. _ _ _ _ _ _ J
0004 38
0005 77 Figure 2: The section of the horiz ontal hold
0006 23 circuit that determines what the horizontal
0007 C3 frequency is must be modified to match the
0008 03 horizontal frequency of the video interface.
0009 00 The dotted resistor and switch are additions
to the original circuit. By changing the value
Th is progra m shou ld display alternate black of R4 75, I changed the range of the horizon-
and white vertical bars on the screen. I say tal frequency adjustment. The switch is not
"should" because the display I got is illus- necessary but allows the use of the set as
trated in photo 1. either a monitor or a television.

BYTE December 1977 131


WlIIllllllll lr lill 111"1

XIMEDIA PRESENTS
The Perkin-Elmer Fox-1100
Photo 2: The correct display should have
vertically aligned black and white bands.
This indicates that the horizontal frequency
of the video interface and the monitor are
identical.

The Low-Cost, Not-So-Dumb CRT


Fully Assembled and Tested -$1 ,295.00

Ximedia Corporation stresses reliability


and performance at an affordable price.
That requires literally hundreds of product difficult to modify the set once you know
evaluations. It also requires,a strong com- . what you are up against.
mitment to selling only those components The sets that seem to cause the trouble
which have operated dependably in
are the ones that use a coil to adjust the
business or professional applications.
The Perkin-Elmer FOX-1100 has that kind horizontal frequency instead of a poten-
of track record. And it has the following tiometer. A quick look at my Panasonic
features: located the culprit. The horizontal fre-
quency is determined by a coil, in con-
• Resetable tab stops
junction with a 6.8 k resistor (R415) as
• Numeric key pad shown in figure 2. Although it would be
• Highly readable 9 x 12 dot matrix difficult to change the coil, we can adjust
• Hooded, anti-glare screen its range by changi ng R415. A 5.6 k resistor
• Upper and lower case added in parallel with R415 changed the
• Black-on-whitel range sufficiently to produce a proper
white-on-black display display. I could have permanently altered
• Transparent mode-displays the value of R415, but then the set would
control characters not have been usable as a standard TV set.
By connecting a switch in series with one
• Direct cursor addressing
of the leads from the 5.6 k resistor I can
• Typamatic auto repeat disconnect the added resistor from the
• Local service centers circuit when I'm not using the set as a
monitol·.
All in all, the FOX is asuperiorterminal
designed for the serious user and built to The final display is shown in photo 2.
take the abuses of day in day out use at a Adding a video input required only one
price the economy-minded user can afford. part, a capacitor. Correcting for the un-
usual horizontal frequency took a single
resistor. This may not work for every set,

Xililci)iA
1290 24th Avenue
but you'd be surprised how many sets use a
circuit very similar to this one. If you have
a tight budget, arm yourself with a sche-
San Francisco, California 94122 matic of your TV , a few spare parts, and th is
(415) 566-7472 article. You'll undoubtedly learn something,
Toll Free (800) 227-4440 and the pleasure of doing it yourself can't
be beat. Besides, assuming you already own
CONVENIENT ORDERING: Toll free number Prepaid
Mastercharge, and Visa orders shipped free; others' a black and white television set, where else
frelght·collect. Most orders shipped from stock. If not ca n you get a video monitor conversion for
we will notify. California residents add 6 % sales tax. '
under a dollar?-

132 BYTE Decemb e r 197 7 Circle 132 on inquiry card .


Continued from page 91
write me a real nice monitor, with asynchro-
nous 10, and disks, and ... "
"Start the program."
"Get off the disk kick. A debugger is
Tim e passed, a lot of time. Jack stabbed
what I need. I want a purely software
the RESET button hard enough to push
answer. I need to have MIKBUG-like facili-
the computer across the desk.
ties that I can use wherever I want in a pro-
"Ge ntly, Jack! I get your message. You
gram without upsetting that program . It's
must be putting the breakpoint in the wrong
got to be reentrant. I t's got to know how to
pl ace."
break down instructions. It should give me
" If I knew where to put the breakpoint,
a sort of breakpoint for each instruction
then I probably wouldn't need one. Wh at I
executed."
need is some way to sprinkle a program with
"The program you seek is called a tracer.
breakpoints and just skip the ones I don't
They 're available on big machines, like your
need."
partner Grappel's PDP-ll . Maybe he can
"No can do, Jack. My MIKBUG monitor
adapt one to your liking."
traps every breakpoint and that is that. You
"And adapt it to your limited faculties."
can't skip by one. If you put obstacles in
" His big machine can't even talk! Don't
my path , I trip over them. You don't want
you say I'm limited! "
a bruised computer, do you, Jack?"
"Okay, okay, I give up . Anyway, it's
" I guess not. What I do want i~ a better
bedtime. Good night."
way to debug. There 's got to be something
" Yeah," said computer. Jack flipped the
more effective than this 'stab in the dark'
power switch, and computer's red eye
ap proach."
dimmed .
"May I make a suggestion, Jack?"
" Now look who's the designer. What
words of wisdom have you,
Motorola?"
° great sage of "So what's new?" said computer as its
fan began to hum.
"Sarcasm will get you nowhere, except "Well, I uh .. .found , .. discovered that
maybe 'stabbed in the dark.' I was going to ... noticed, uh .. . "
suggest that you investigate my HALT in-
put. If you put a properly timed signal there,
then I'll execute only one instruction at a
time. You can run programs so slowly even
a human can follow the processing."
"That's an interesting idea. Let me think NEW ...
about it for a while ." W e have introduced two new products
" I can hardly stop you, Jack. I don't have which interface to a variety of bus st ructures:
hands . . .yet. You were looking at those the S-100 bus - the Motorola bus - the
robot articles in BYTE, weren't you!"
Intel SBC 80/10 bus. W e have a Scientific
"Talking is quite enough, computer!"
" I. . .guess ... so." Calculator Board which will do you r complex
Jack sat back in his chair and thought. mathematical compu tations in firmware with a
Computer knew better than to interrupt minimum of dedicated RAM or software sup-
such meditations of his human partner. port. In kit form, prices start at $99.95.
Computer liked its power continuous.
A new vid eo display module which pro-
"No good, computer." Jack rolled his
vides for a format of up to 24 lines and a full
chair to the console again. "Hardware single
stepping isn't what I need. I need to be able 80 characters wide is ready. Lower case and
to read your registers and check memory custom character sets are available on special
locations. In short, I need your MIKBUG ord er.
capabilities to help me debug. With your It ca n also be obtained to provide 32, 36,
hardware suggestion I 'd still need to know 40, 64, or 72 characters per line. In kit form,
where to stop single stepping. That's no
prices sta rt at $199.95.
better than breakpointing."
"Not exactly, Jack. If you don't muck up Call or write for data sheets - or contact
my contents with your debugging stuff, your loca l dealer.
then you can resume running again after
you stop stepping. You can write reentrant
code, can't you, Jack?"
Celet'lon
"That's exactly what I'm trying to debug. P.O. Box 6215
Th anks a bunch." Syracuse, New York 13217
"Sorry . I guess we'll both have to live (315) 422-6666
with M I KBUG for a while longer, until you

Circle 138 on inquiry card. BYTE De ce mber 197 7 133


Circle 119 on inquiry card .

"Friends. "
"Going to get a tracer written?"
"Yep."
"Can I assemble it? I'll do a very careful
job."
"I'm sure you will, computer. I'm sure
you will." .

"Computer, let's try to work this break-


THE point thing ouL"
"Glad to help, Jack."
TECHNICO " Fine. Now, we need a program which
doesn't change any register or condition
SUPER STARTER code or memory location in the target
SYSTEM program . . .the one I need to debug."
"It's got to be reentrant. Right, Jack?"
AND "It should print the contents of all your
registers, the address of the present instruc-
SUPER SYSTEM 16 tion, and the instruction code. Someth ing
like the MIKBUG format should do ."
V.S. "That's a problem . How do I do all that
printing without messing up th e registers?"
THE HEATH H·ll "Come on , computer. .. that's easy . You
save all the registers before printi ng and then
SAVE OVER S1000 restore them when you 're don e."
"Like the MIKBUG software interrupt
SEND FOR FREE BROCHURE does, on the stack! You know, sometimes
U TECHNICO 1-800-638-2893 you're pretty smart, Jack ."
"Except we can't do it that way."
9130 RED BRANCH RD. COL UMBIA. MD 2 1045
CIR CLE IN OU IRY NO.

"Come on, Jack, out with it!"


"That problem you were having
yesterday . .. "
" I wasn't having any problem yesterday!
It was your code th at was a problem. I ju st
read 'em; I don't write 'e m!"
" I know. But you should have warned
me that I was pushing one more item onto
the stack than I was popping off. Wh en you
executed the subroutine return, you got a HARDWARE TECHNICO HEATH
byte of data confused with the real return FEATURES SYSTEM 16 H·11
address."
" I did not confuse anything! I did exact- DUAL YES NO
ly, I repeat, exactly, what you asked for.
You said PSH, I pushed! You said PUL , I FLOPPY'S
pulled a byte off the stack. You said RTS,
and I took the top of the stack as a return CASSETTES YES NO
address. I may have bugs in t he program, but
the programmer's got bats in his belfry! VIDEO YES NO
If you can't count the number of bytes yo u .BOARD
put on the stack , yo u might t hink of goi ng
back to philosophy!" E·PROM YES NO
"Cool it!"
"I might say . .. "
PROGRAMMER
"Cool it!" *FOR COMPLETE COMPARISON SEE
Jac k glared at the consol e, and com- HEATH LITERATURE AND CONTACT
puter's red eye stared back. "I'm sorry,
TECHNICO FOR FREE CATALOG
Jack." CIRC LE INO UI RY NO.
" I guess it really is my fault, computer."
" Fri ends? "
Circle 119 on inquiry card .
134 UYTE Dece mb er 1977
Circle 119 on inquiry ca rd.

"W hy?"
"Because MIKBUG wo n't let me change
the address of the software interrupt handl er
program. It's in ROM , unfort unately. We'll
need another way."
" Jack, isn't this breakpoint thing sort of
like a subroutin e? I mean, it 's, say, 'called'
from the target program .. .does some stuff
lik e printing .. .and th en returns to the
IN STORE TECHNICO HEATH"
target program."
PRICE SYSTEM H-l1
" I guess we have to do it th at way. We' ll
put a su broutine call (J5R) at the address
where t he trace is to begi n. It will call t he MINIMUM $299 $1,350
trace program, which will be written as a KIT
subroutine. Th e subro utine will first have to
save all the registers, then print my debug- WITH POWER $442 $1,550
gi ng info . It can the n restore the registers SUPPLY AND
and return . Thanks for the id ea, computer." 1-0
"Don't thank me yet; it won't work. If
I in sert a 3 byte subroutine jump into the WITH ASSEM-
target program , then I've destroyed three BLY $491 $1,845
bytes of your code. Then , when I return lANGUAGE
from the subroutin e, I return three bytes
further into the target program, not where I WITH MEMORY $968 $2,140
sta rted." FOR FULL
Jack thought a bit and puffed his cigar. SOFTWARE
" Jack! That cigar smoke is getting in my
'FOR COM PLETE COMPAR ISON SEE HEATH
cassettes! Ho w can you humans stan d all
AND SEND FOR TECHNICO PR ICE LI ST
that stuff? Do computers get cancer of th e CIRCLE IN OUIRY NO.

integrated circuit or something?"


" Relax, my automated friend. You're
quite safe. I just figured out how to work
the traci ng."
" I'm all ears."
" I'm surprised you can stop talking long
enough to listen. Anyway, I can overcome
your objections by careful programming.
MICRO- TMS-9900 LSI-II Before inserting the subroutine jump, you'll
PROCESSOR TECHNICO HEATH save the three bytes you're rep laci ng. You
FEATURES SUPER H-II can put them back before yo u return ."
SYSTEM 16 "B ut, Jac k, I still return to the wrong
SINGLE YES NO place!"
CHIP "Hold it a minute! I can fix up the return
CPU address on yo ur stack to back it up three
bytes. Th en you'll return to the code you've
WITH HOW. YES NO replaced and restored. Th at' ll be a break-
MULT.-DIV. point that I can really use. "
INCL'D. "G lad to help you. Bu t, Jack, you still
COMMUNI- YES NO have to know where to brea kpoint. We' re
CATIONS REG- scarce ly better off than we were with
ISTER UNIT MIKBUG. True, the program can now con-
16- YES NO tin ue after your breakpoint. Is that all you
REGISTERS wanted?"
" It 's enough for right now, but we' ll
' FOR COMP LETE COMPARISON CONTACT probably exte nd it later. Pl ease assembl e
DEC , FOR 9900 CONTAC T this code." Jack pl aced a cassette in th e
TE XAS INSTR UMENTS OR TECHNICO drive and pressed PLAY . Jack smiled. "It's
CIRCLE INOUIRY NO. the on ly sure way to keep it quiet."

Circle 119 on inquiry card. BYTE December 1977 135


"Computer, I want to exte nd Bob's " Fine. So, we'll have two special cases :
breakpoint. " extended jumps and indexed jumps. The
"It was only a matter of time. I suppose extended jumps are easy; the second and
you want a full trace now ." third byte of the instruction are the address
" Right. It isn't that much more . All a you require to set your new breakpoint."
trace is is a movi ng breakpoint." " Done."
" If you can't figure out where ,You want "The indexed jumps need the contents
your breakpoint, th en you make me push it of the index register from the target pro-
All a trace is is a moving aro und through your stuff. Why is it that I gram, but you have saved that! You have
breakpoint ... You handle always have to bail you out of your the offset in the second byte of the instruc-
it in the usual way except problems?" tion! Do a simple addition and you have the
that before you return you "That's what I built you for, remember?" new break point address!"
"Calm down, Jack . I was only kidding." " It's simple if you give me a 16 bit ad di-
put a new breakpoint
"I didn't build your sense of hum or, tion program."
where the next instruc-
that's for sure! Anyway, here's how yo u'l l "Surely. Now for subroutine returns .
tion will be, and fix up the You can get the return address from the
trace a program. Start with a breakpoint.
previous breakpoint as if You hand le it in the usual way, except that stack. You've saved the target program stack
it were never there. before you return you put a new breakpoint pointer, so you can get the top of the target
where the next instruction will be. Effective- stack for your new breakpoint. That's
ly, this breakpoints every instruction!" special case 3."
"Some things are easy to state in words " But what about all the branches?"
but hard to code. How do I fig ure out where "Th at will take a bit of work . Let's work
my next instruction is? I have instructions on the unconditional branches first; they're
of different lengths in my op code set. I simpler. You do know where the target
might jump or branch ... " progra m is because you've got its program
"Computer, rememb er the 'Thompson counter saved. You get the offset from the
Lister ' program on page 99 of the October second byte of the instruction, You just add
1976 BYTE? It could figure out how long an the offset to the program counter."
instruction was by disassembling your code "What about signs, Jack? "
in memory . Well, I'm going to give you a "Oh, yes. Forgot about that."
version of that algorithm so that you can "I not iced th at."
find the next op code. It'll also help you for- "All right, computer. You get a go ld
mat the instruction printout for my ease in star! If the offset is negative, you must
reading." subtract it from the program counter . I'll
"Fine .. .if you think you're up to it. give you a 16 bit subtract too ."
Besides, I remember that the 'Thompson "All that for just unconditional branches!
Lister' couldn't catch invalid instructi ons. I shudder to think what the conditional
Sometimes yo u stick data into a subroutine branch es will need ."
return address and force me into the middle " Not too much more. We just have to
of nowh ere !" decide whether the branch will be executed
"I remember that incid ent well enough . or not. If not, then the branch is just
I'll add a table of invalid op codes so that another 2 byte instruction. If it is to be exe-
you can call me nam es when you hit one." cuted , then it is equivalent, for your pur-
"This I like." poses, to an unconditional branch. You've
" I thought you would . Now, th ink yo u already got code to handle each case."
can trace?" " Yeah, but how do I know if the branch
Computer sat with lights quivering. "I've is to be executed? ESP ?"
Why anybody would try got probl ems , Jack. You've given me a way "Nothing but good, clever programming
to trace a program with to find the next in struction in most cases, is needed here. You have the condition
interrupts going off is but what abo ut jumps or branches? Knowing codes from the target program saved away.
beyond me, but we'd the length of the instruction is no help." You have the op code, the type of branch.
better be complete. "True. I guess we'll need a set of spec ial All it takes is a little trick . You 'll copy the
cases. " branch into a spot in the trace code and set
'''Oh boy. Here we go." th e condition codes from your save area.
"It won't be too bad." Jack didn 't so und Then, if the branch falls through, you know
too convinced. " Let's start with the jumps. to treat it as a norm al 2 byte instruction.
There are subroutine jumps and uncondi- Th e branch will tell yo u when to use your
tional jumps. They can be ind exed or ex- branch code. Simple, huh 7 "
tended address ing ." ,"Self-mod ifying code . .. very poor form,
"The subroutine stuff doesn't matter, Jack! "
Jack. For my pu rposes, a jump is a jump . "Can yo u do it better?"
All I need is the location of the end of the "No."
jump." "Then stop comp lai ning. It's effective;

136 BYTE December 1977


it works. Don't knock it." tion , wait for me to hit a key on the console.
"At least it will have your nam e on it This will let me stop tracing cleanly."
and not mine. Any more special cases?" " Glad to oblige. Now, your favorite
"A few. We've got to take care of the trick of modifying instructions could cause
interrupt instructions RTI and WAI and problems. If an instruction tries to modify
SWI. Why anybody would try to trace a pro- the instruction I've tried to breakpoint,
gram with interrupts going off is beyond me, well, kabooml!I"
but we'd better be complete. They won't "Very graphic."
be hard to handle ." "You're buying me some graphics
"Than k God! " equipment? "
"Since when did you get religious? Any- "No, my eager processor. Perhaps a
how, th e RTI is just like the subroutine muzzle ... "
return; just the return address is deeper on "Okay. Beware of tracing programs
the stack ." which use modifying instructions. You
"That was relatively painless. I can figure shouldn't write them that way anyhow."
out the SWI code myself. I know the soft- "Computer, try tracing this now."
ware interrupt will get a handler address The stream of printout began again, with
from its vector, which, since I have MIK- Jack periodically tapping the carriage re-
BUG , is in ROM . My new breakpoint goes turn key. "Wait a minute, wait a minute!
at the address found in the vector." Computer, you're getting some of these
"Very good, computer. Now, the WAI is branches screwed up ."
a bit of a problem. You can't know whether "I'm just doing what you said to do."
the interrupt that will get you out of wait "Well maybe I was wrong."
state will be an I RQ or an NM I. They have "Please publish that last comment,
different vectors. We'll just have to pick one Jack! I want that admission in writing!"
and warn the user of my tracer that the "Okay . Now, what's the problem? Why
other type of interrupt causes problems." do some branches trace properly and others
"The I RQ is used more often, so I guess don't?" Jack poured over the printout
I'll get my new address from the IRQ while computer hummed contentedly.
vector ." "Bob! Come here and look at this!"
" I guess that's a good choice." {Enter Bob, who really was there all the
"Done with special cases, Jack?" time, but didn 't say much .} Bob scanned
"I think so. Here, I'll load this program the trace listing.
and you try to trace it." " You always get forward branches right.
Computer began to trace. Jack smiled as That must be a clue . What is it about back-
the printout overflowed down the printer. ward branches? You get some of them
Suddenly, the printing stopped. Jack right." Bob thought some more.
punched RESET . "Oh, sure!" Bob jumped to the console
"I was going good there, wasn't I, Jack? " again, papers falling to the floor. "If you
"Yeah, but why did you stop?" branch backwards less than three bytes,
"You had this call to MIKBUG in the tar- then your new breakpoint overlaps the
get program . I traced the next instruction present instruction!"
and put my breakpoint out, but then every- "Fine, Bob. Now what are we to do
th ing fell apart." about that? My breakpoint has to be three Of course, you can't
"Of course, of course! You can't put bytes long." expect to put break-
breakpoints into ROM! You can try to store "Yes, but this problem only happens on points into read only
anything you want, the data won't change! backwards branches. A branch doesn't memories ...
When you breakpoint, check that your change anything in the target program ex-
breakpoint is going in. If not, quit before .cept the program counter. In fact, it needn't
you get lost in thought." be executed at all. We just change the return
"Now you tell me!" address from the trace routine to get back to
"Better late than never . Now let's see, we the right place in the target program! We
can't trace through ROM or nonexistent return to the breakpoint call, not the
memory and we can't tolerate nonmasked branch! It's easy."
interrupts at all, or IRQs unless we were in "Fine, Bob. Can I rest now? It's been a
a wait for interrupt state. Can you think of long time since I had some time to myself.
any other places we'd have trouble?" All work and no play makes Jack's com-
"Well , if you hit my RESET then I'll puter dull."
have trouble. I might not have fixed up my
breakpoint yet." " Computer! "
"Right. Tell you what: every time you fix "What is it, Jack? I was just reading that
up the code after having traced an instruc- new language you guys have been working

BYTE December 1977 137


on, STRUBAL. Bob wants me to compile it "Well, that's no big dea l. I just change
for him . It looks like a big project." my stored valu e fo r that register. Th en,
" Well, right now I want you to help me when I return to the target program , the
extend our debugger." register will have what you want in it. How
"You never give up, do you, Jack?" will yo u tell me which register to change?"
"With such an able assistant, why should " I thought a lot abo ut tb at, and I think I
I? " will use the console input that now tells yo u
"Th at's hitting bel ow the belt. " to go o n. From now on, if I type a carriage
"Yo u don't have a belt, computer." return, then go to the next instruction. If
" I forgot," said computer sheep ishl y. I type a cap ital A, then I want to ch ange
"What now ?" your A register. If I type a cap ital B, then I
"Your tracing is very helpful, but I'd lik e want to change yo ur B register. Similarly,
to be able to fix the errors that I find X and S indicate your index and stack
without reloading the program and retracin g registers . Just after the input you can wait
my steps." for me to type in the new value I want in
" Would you say 'our steps'?" that register ."
"If you insist." " I suppose I keep lett ing you change
" I do." registers until yo u get around to a carriage
"Ok ay. We don't want to retrace our return? "
steps. We need more of MIKBUG 's capa- "Right, and, if I type something th at
biliti es in the debu gger. I want to be able doesn't correspond to a register, just skip it.
to change the register co ntents in the target Prompt me for another input."
program. " "Yes sir, boss. Let me anti cipate your
"After I spend so much effort savi ng the next req uest. You want to be ab le to change
contents? " memory locatio ns, like MIKBUG does."
"Yes. If I find that a reg ister has the " Right agai n! We'll indicate that with a
wrong thing in it, then I'll want to correct capital M. I'll enter the address. You give me
the register before you go on to the nex t the prese nt contents and then let me type
instruction . " my desired value for that locati on."
" Done. I'm going to ad d a feature that
might be useful. I'll automatically convert
lower case letters to upper case. Th en you
wo n't have to worry about case shifting on

AnnOUn[lnli
ORAnliE [OUnTY'5
that fa ncy console."
"T hat's a good id ea. Th anks ."
" Gl ad to help. At least it wil l keep the
swear ing down when yo u forget to shi ft. "
mast [anuenient "Yes." .
"Jack, I've got a question."
& mastAffarduble " Wh at?"
"If yo u can change registers and memory
[amputer Stare at will, can't yo u get me into situations
where I can't co ntinu e a trace? Especia ll y
WE OFFER A COMPLETE LINE OF MICROCOMPUTERS,
PERIPHERALS AND ACCESSORIES if you muck aro und with the stack."
IMS A I SEA LS PRINTERS " I guess that's true, but let the user be-
CROMEMCO HAZEL TINE BOOKS
BYTE 8 LEAR SEAGLER MAGAZINE S ware. I don't expect you to protect aga in st
\ every stup idity that a programmer may
come up with . All the leg itim ate cases I
VISIT OUR STORE AND SEE THE
LATEST IN AFFORDABLE COMPUTERS ! i can th ink of will work correctly. After all,
! ¥ the trace program is onl y about one
l agu na kilobyte."
\~ 50"","" . , · , "I'm glad you said that and not me ."
674 EL CAMINO REAL
EL CAM I NO PLAZA
I "Computer, we understand each other."
"Yeah, Jack . Now can I go back to read-
TUSTIN, CA 92680 ing STRUBAL?"
" I suppose so ."
PHONE (714)731-1616
" Jack , would you put a clean cassette in
MON · THUR " ·7 drive l? I thin k I may be needing it."
r RI " · 9
SAT ' 0· b "Sometimes I wonder who works for
whom," mu tte red Jack as he reached for
the bulk eraser. He dropped the cassette

138 BYTE Decemb<r 1977 Circle 15 on inquiry card.


into the drive. It began to slowly and in- "Continue th e trace ."
exorably turn . "I'm at lOB now. It's a jump to
MIKBUG."
" Computer, load the tracer program , Jack hit a carriage re turn.
please . " "Got to stop here, . Jack. can't trace
"You want to ch ange it again!" ROM. Try a new address?"
"Don't get steamed ·up . I just want to ru n "No, I think that wi ll make a sufficient
an example to test out the tracer." example." Jack turned and walked toward
"What target program should I load?" the kitchen . He almost imagined that he
"You don't need one." heard a sigh from the workshop. He ig-
"Come on, Jack, be serious. Of course nored it.-
need a target program. You don 't expect
me to trace memory garbage. You don't A nd when Tracer was done, jack's computer sent his printer the fo llowing
mean that, do you, Jack?" listing of tracer tracing tracer, ultimate confirmation of the program's opera-
"You've already loaded a program; tion. In this listing, the lines which are blank except for single colons illus-
let's trace that. " trate inputs of carriage returns to cause the program to proceed with tracing
"Trace the tracer. Clever! That will the next instruction. Each line of output contains the hexadecimal contents
really show that tracing doesn't upset the of the index . register, processor condition codes, B and A accumulators,
target program. Okay, I'm ready ." stack pointer, current instruction address, and the current instruction's
" Go ." hexadecimal operation code and operands. A fter tracing through to location
"What address in the program do you 0245, several m emory manipulation and register manipulation commands
want to start at?" are executed, followed by one further line of traced code.
"How about 212 hexadecimal?"
ENTE I<S TA R T-T " A C~ ADD f<ESS : 02 12
" 212 it is . Here are you~ registers: index, X CC 8 A S P-ADD RESS INSTRUCTION
condition code, B, A, and stack pointer. 02 12 D0 02 BC A0 42 0 2 12 SF
The instruction is a CLR B, hexadecimal SF . 02 12 DA BC A04 2 02 1 3 n: 11 1 7:1
What would you like?" "'~
02 16 [)(1 00 BC M I 42 02 16 A6 01'1
"Continue trace." Computer traced the
next instruction. Jack typed a carriage re- 0 2 1 6 D8 00 A6 A042 02 115 "8
turn and computer traced again. Again Jack 132 17 D8 ~0 A6 A0 4 2 02 19 8 1 BC
hit the return and computer traced. Jack A BC
hit yet another carriage return. Computer 02 17 D4 elil 8 C A0 4 2 02 18 2. lC
traced the instruction at 219 .
"Why don't you show off some of your 02 17 D4 !illJ Be AI:l 4 2 0239 SC

register change stuff? You're at a compare A 02 17 D0 0 1 BC A0 42 0 23 A SC


with 8C immediate instruction; why not 02 17 D0 02 8C A0 4 2 132313 SC
make A equal to 8C?"
02 17 D0 133 BC A042 0 23C F7 0 17 2
"Fine. Do it."
"Done. What now?" 02 17 D0 0 3 8C A0 4 2 023 F SA
"Continue tracing ." 02 17 D0 02 8 C A0 4 2 0240 27 0~

"The tracing tracer traces, and having


02 17 D0 02 BC A0 4 2 02 4 2 SA
traced, moves on."
"Can the poetry and just trace the pro- 02 17 Dlil 13 1 BC A0 4 2 132 4 3 2 7 '13
gram, if you don't mind." 02 17 D0 0 1 BC A13 42 1~24S 8 D 13 10 8
Computer traced the next ten instruc- B FF
X 12 34
tions without comment. "Let's show some C Dl
of the other debug stuff."
"Okay. Change the B registerto FF."
"Done." Using Tracer 6800
" Change the index register to 1234." A low level trace technique is a usefu l ad-
"Roger." junct to an assemb ly language oriented pro-
"Change the condition codes in the tar- gram development situation. The tracer pro -
get program to 0 1 ." gram described in this short story can be
purchased by 6800 owners in the form of a
"That's cute, Jack. What does it mean?"
Paperbyte stm program product , number 2.1,
"J ust do it." soon to be published . Tracer: A 6800 Debug-
"A ll right. How about a memory change? ging Program includes a reprint of "Jack and
I've got lots of memory that isn't being used the Machine Debug," tracer program notes,
right now ." complete assembly and source l isting, object
program listing, and machine readab le Paper-
"Fine. Look at location 500." bytes tm bar codes for the object program.
" It's got 22 in it now." Watch BYTE for details on price and where to
"Make that 44, computer." purchase Tracer.
" Your wish is my command."

BYTE Dec ember 1977 139


Multiprogramming Simplified

Multiprogramming is the abi li ty of the gra ms currently in memory. As programs


computer's operating system to handle and (tas ks) are read into the computer, ' certain
execute sever'a l programs concur're ntl y, In information assoc iated with them is
this articl e, I've set out to ex plain in a simpl e stored by th e computer. Th e name of the
fashion the co ncept of how the operating program and the location where the above
system of a computer handles more than one information about the program is stored
job (program) at one time, Onl y the essen tial is placed on a li st call ed the job (tas k)
elements are included in this simpl e model, queue (see figure 1). As memory becomes
wh ich is base d on a "typical" large scale ava il ab le, programs to be executed are
computer's progr'amming environment. The loaded into memory (figures 2a and 2b)
same ge nera l concepts are of course appl i- according to their size and arrival tim e
cab le as we ll to the much smal ler memory (how long they have been waiting). In for-
regions of the typical personal computer. mation regarding these programs, such as
The operating system, th l"Ough its var'ious name and locatio n, is placed on the ready
control programs, keeps track of the amount queue. As processing continues, programs
and location of avai labl e mem ory and the are categorize d as eith er active, ready or
specific memor'y regions al located to pro- waiting. Only one program at a time can
be active.
Th e operating system maintains a special
memory location for each program in
memory which contains the next seq uenti al
Job Active Ready Waiting NSI
Queue Queue Queue Queue Cells instruction (NSI) to be executed for that
program. This memory locatio n is called
A - 100 K
B - 150 K
the NSI ce ll. As a program is loaded into
C - 50 K memory, the add ress of the first instruction
0 - 150 K to be executed for that program is moved
E - 100 K
into this NSI cell. A special NSI register
Program Counter = xxx xxx
(program counter) is maintained by the
hardware containing the add ress of the next
Figure 7: When a program is en tered into the multiprogramming computer, it seque nti al instruction to be executed for the
is first put onto a job queue. The jobs are typically stored in the order they cu rre ntl y active program. Wh en a program
are entered, and each queue entry has all the essential information about the beco mes active, th~ nex t sequential instruc-
job. tion pointer is moved from its NSI cell to
the program counter of the comp uter; th is
will of course be dynamically changing for'
the currently active program. As in struct ions
for the active program are exec uted the
Job Active Ready Waiting NSI va lu e of the program coun ter is typicall y
Queue Queue Queue Queue Cells
in creme nted by the length of the current
in struct ion being exec uted to r'eflect the
A A 100,000 address of the nex t instruction address
B B 200.000
C C 350,000 th at is to be executed. When branch es
0 - 150 K occur, the program counter is redefined
E - 100 K
comp lete ly. This process is repeated until
I Program Counter = xxx xxx I the program is either comp leted or inter-
rupted by an outs ide service request from a
Figure 2a: Enough memory is available to fit the first three programs into the rea l time clock or 10 operatio n. If the active
ready queue so they can await execution. The next sequential instruction program has bee n comp leted, its memory
(NSI) cell for each of the programs is initialized to the location of the first all ocation is freed and becomes avai lab le for
instruction in the corresponding program. rea ll ocation. If it was interrupted it will be

140 BYTE Decemher 1977


Irwin Lahasky
Bankers Trust Company
1 Bankers Trust Plaza
New York NY 10006

placed on the wait ing queu e and its next * Address 000 ,000
seque ntial instruction pointer' will be defined Operating System Programs
by the old program counter value at the time Address 99,999 *
of interrupt. Th e highest pri ority program in * Address 100,000
the ready queue will be give n active status, Prog ram A
its NS I ce ll will be moved to the program Address 199,999 ,*
counter, and instruction execution will be * Address 200,000
resumed at its NSI address. Progra m S
As 10 requests are serviced, programs will Address 349,999 *
be moved from the wa iting queue to the * Address 350,000
ready queue, and wi ll be returned to active Program C
status when their turn comes. Exampl e: Address 399 ,999 *
Program A (100 K bytes), program B (150 * Address 40 0 ,000
K bytes), program C (50 K bytes), program Unu sed
D (150 K bytes) an d program E (100 K Address 449,999 *
bytes) are read in to the computer and placed
on the job qu eue (figure 1). 350 K bytes of
memory are avai lab le beginning at addre ss Figure 2b: A representation of where the programs are actually stored in
location decima l 100,000. Addresses 0 thru memory. Addresses 0 thru 99,999 (decima/notation) are used by the oper-
99,999 may contain operat ing syste m pro- ating system of this example.
grams. Program A is loaded into locat ion s
100,000 to 199,999, its NSI pointer is set
to its first instruction to be exec uted
(address 100,000), and it is placed in the
ready queue. Program B is loaded into Job Active Ready Waiting NSI
Queue Queue Queue Queue Cells
locations 200,000 to 349,999, its NSI
pointer is set to its first instructi on address A A 100,000
of 200,000, and it is placed second in th e B S 200,000
C C 350,000
ready queue. Program C is loade d into D - 150 K
locations 350,000 to 399,999, its NSI E - 100 K
pointer is set to 350,000, and it is pl ace d I Progra m Cou nter; 100000 I
third in the ready queue. 50 K bytes remain
avai lable in mem ory from addresses 400,000 Figure 3: Program A is moved into the active queue to be executed. The
to 449,999, but this is in sufficient for either next sequential instruction pointer is mo ved from the appropriate NSI cell to
of the remaining programs (D and E) , wh ich the program counter upon activation.
req ui re 150 K and 100 K bytes, respectively.
Th erefore this memory will rema in tempo-
rari ly unused (figures 2a and 2b). .
If there is no entry in the active queue,
the first program in the ready qu eue, pro- Job Active Ready Waiting NSI
Queue Queue Queue Queue Cells
gram A, is moved to active status, its NSI
cel l is moved to the program counter A A 100,000
B S' 200,000
(figure 3), an d executi on wi ll begin at the C C 350,000
status add ress. Progra m B now beco mes D - 150 K
first on th e ready queue and program C E - 100 K
second. As the in structi on at location I Pr og ra m Counter ; 100002 I
100,000 is fetc hed and executed, the
address in the program counter valu e Figure 4: The program counter is here incremented by 2, since the first
changes as instructions are executed. instruction of program A is a 2 byte instruction. This has no effect on the
Assuming the first instruction is 2 bytes related NSf cell.

BYTE De cember 197 7 141


long, the next sequential instruction to instruction is also two bytes long.
be executed becomes 100,002 (figure 4). Processing continues in this manner until
After the execution of the instruction at an interrupt in processing is encountered,
location 100,000 is completed, the instruc- such as a request to read data into the pro-
tion pointed to by the program cou nter gram from an input device or a request to
(at location 100,002) is fetched for execu- write data to an output device. In this case,
tion, and the program counter is changed time is required to get or write the external
to 100,004. This is done because the second data, and control is transferred to another
program in the following ma,nner. For the
purpose of our example, iet us assume that
program A issued a read instruction located
at address 158,266, and that th is instruction
Job Active Ready Waiting NSI
Queue Queue Queue Queue Cells type is six bytes long. The program counter
which had been pointing to address 158,266
A A 158,272 will be incremented by 6 to 158,272 (figure
B B 200,000
C C 350,000 5). An interrupt is generated by this 10
0 - 150 K instruction.
E - 100 K The program counter contains the address
I Program Counter = 158,272 I where execution is to be resumed for pro-
gram A (158,272). The program counter
Figure 5: When program A reaches memory location 758,266, read instruc- is stored in program A's NSI cell, and pro-
tion is encountered that is 6 bytes long. The program counter is incremented gram A is placed last on the waiting queue .
by 6 to 758,272. While the read operation takes place, program A is removed The next program in the ready queue is
from the active queue and put into the waiting queue. The current value of moved to active status, its NSI cell is moved
the program counter is then stored in the A NSI cell as shown here. to the program counter, and processing is
continued at the address (now different) in
the program counter (figure 6).
Job Active Ready Waiting NSI
As jobs are completed and their memory
Queue Queue Queue Queue Cells allocation is freed, programs waiting on the
job queue are loaded into available locations.
A A 158,272
B B 200,000
Their NSI cells are initialized and they are
C C 350,000 placed last on the ready queue.
0- 150 K Programs are loaded into memory ac-
E - 100 K
I Program Counter = 200,000 I cording to their position on the job queue,
their memory needs, and avai labi lity of core.
Figure 6: The next program on the ready queue is moved to the active queue If program C, which occupies 50 K bytes,
after an interrupt. The appropriate NSI cell is moved to the program counter finishes first, its memory allocation of 50
K bytes plus the 50 K bytes which is unused
(re)starting the program on its way.
(total 100 K bytes) is not sufficient for pro-
gram D (which needs 150 K bytes) even
though program D is next in lin e on the job
Job Active Ready Waiting NSI queue. The 100 K bytes of available memory
Queue Queue Queue Queue Cells is sufficient for program E, so it is loaded
A A 158,272 into locations 350,000 thru 449,999. Its
B B 248,208 NSI ce ll is then set to 350,00b and it is
0- 150 K
E E 350,000
placed last on the ready queue (figure 7).
This idea of multiprogramming has
I Program Counter = 158,272 I developed over a number of years of conven-
tional computing systems, ranging from the
Figure 7: A t this point program C has finished and has been removed from simplicity of two interacting programs on
memory. There is not enough room for program D but there is for program £, small machines to the larger contexts of
which is loaded into memory and the ready queue. Program £'s NSf cell is set many jobs executing simultaneously on the
to its first instruction's location. Program A 's read operation has finished and biggest machines. It is an example of how
program A is again in the active queue. The programs will continue to shift in creative programming and design of systems
and out of the active status as they are interrupted, until the entire series, and software can make a machine do more than
any that are read in later, is completed. what the hardware designer intended .-

142 BYTE De cemher 1977


Comments on Paging Schemes immediate response to a request for a
nonresident page. The main thing,
Just read "Give Your Micro a Megabyte" however, is that the page processor
by R 0 Grappel in the July BYTE and I need not respond as qu ickly as before,
thought it was GREAT! I think I have a way since the comparator has already asser-
to avoid the startup "difficulty" referred to: ted the wait req uest to the main pro-
cessor.
1. Reset the "page written latch." 4. Update the page select register after
This will keep the junk page from the completion of the page fetch oper·
being written into bulk store. ation. By waiting until the newly re- .
2. Use a latch to disable the page com- quested page is in main store, the wait
parator logic so as to force a "not request will automatically be disabled
equal" output. This will cause the page at the proper time . Also, each time the
processor to begin the page fetch update occurs, the comparator is en-
sequence. The comparator will be en- abled, thus the latch set during startup
abled upon completion of the fetch will be cleared to its normal run state.
operation.
3. Use the output of the page com- It is clear that by doing things this way James F Gentry
parator as the source for causing the the startup sequence looks just like any 4116 Schalk Rd 1
main processor to wait. This will allow other nonresident page fetch.- Millers MD 21107

Senior ComRuter
Systems Technicians
We're the fastest growing small-computer systems company in the world.
Not just in systems sales, but in careers as well.
Several new Senior Systems Tech positions are opening up here in
Southboro this month and in the immediate future. They're key assignments
that demand at least 3 years' experience, minimum, and an ASEE degree or
its equivalent. Your background should include familiarity with CPU memory,
moving head disks and related peripherals.
What each of these jobs offers is the chance to move your career up to
new levels.
Our salary levels, benefit program and training programs are attractive
and more easily discussed in a personal interview.
To arrange for an interview send a letter or resume to John Prendergast,
Data General, Route 9, Southboro, MA 01772. Data General is an equal
opportunity employer M/F.

4. DataGeneral
Circle 36 on inquiry card. BYTE Dece mber 1977 143
The disk system you want
at a price you didn't expect 'rom a
company that understands systems.

144 BYTE Dcu'mber 1977


THE s
ISTA 50
PPY DISCOUNT
We know that one of the biggest problems in single diskette. Software functions include
personal computing is that you 're buying with instantaneous program loading , named dynamic
your own personal dollars. files, program editing , assembling, debugging,
That's precisely why you 're going to like batch processing , and file copying on back-up
doing business with us. diskettes.
We're Vista Computer Company, the personal All backed by the Vista 90-day warranty, mem-
computer systems brainchild of the business com- bership in VUE (Vista Users' Exchange), and
puter systems people at Randal Data Systems. Dataforce , our associated service company with
And our V80 Floppy Disk System is a perfect 115 locations throughout the country.
example of how we're prepared to help you get the
most out of your personal computing dollars. Test drive the vao
at your local computer store
5649 buys you the Drop by your nearest computer store and run
whole kit and kabooc:lle the V80 through its paces. Once you find out what
it can do for you , you 'll see that our combination
The $649 you spend on a Vista V80 Floppy of high performance and low price is hard to beat
Disk System ($749 assembled) gets you every- and easy to take.
thing you need:
An 80K byte minifloppy drive (assembled and We love to take orders
tested) that can be powered directly by your If you 'd like us to ship you a Vista V80 Floppy
8080 or Z-80 computer. (Case and power Disk System, they're available now. Just send us a
supply optional.) check or money order for the amount
An I/O cable and a of purchase, or your BankAmericard/
single card , S100 bus- VISA or Master Charge account
compatible controller kit number with expiration date and
that handles up to four authorized signature. California resi-
drives and includes a PROM dents add 6% sales tax. Uncertified
for bootstrap loading (add i- checks require six Weeks processing.
tional drives just $399). To place your order, or to obtain
VOS, the most advanced further information, call or write today.
microcomputer disk operating Vista Computer Company, 2807
system available, and our Oregon Court, Torrance, CA 90503.
BASIC-E compiler, designed (213) 320-3880 .
to work with VOS, all on a

Vi.lta
We never forget it's your pocket.
BYTE December 19 77 145
Control your Premises!
with INTROl
Principles of Interactive Computer Graphics
by William M Newman and Robert F
Sproull, McGraw-Hili, New York . $22.50,

It seems to be on ly a matter of tim e until


someone somewhere develops a high resolu-
tion graphics display at a price within the
reach of the amateur computer experi-
menter. Several co mpanies have already
introduced devices capable of generating
med ium resolution pictures using bus
compatible cards and a common TV or
the Intelligent monitor. Once the hardware is avai labl e,
Remote Control System then comes the software: the programs
that build the picture and move it in two
Mountain Hardware's new Introl'· system is a sophisticated or eve n what looks li ke three dim ensions .
remote control system that communicates over the standard
A hi ghly definitive and readabl e book by
110 VAC power lines. The AC Controller'· board is an S-100
compatible board that is capable of controlling up to Willia m Newman and Robert Sproull,
64 remote units anywhere in your bUilding. The AC Remote '· Principles of Interactive Computer Graphics,
unit has two independently controllable AC sockets that leads the reader step-by-step through
can turn two 500 watt appliances on or off. The computer can displ ay dev ices, displ ay files, interactive
a lso "poll" the remote to check its status (on or off).
Programs can eaSily be written in Basic or assembly language
graphics, three-dimensiona l computer
to monitor and control remote devices. All future remotes graphics and f inally graphics systems.
(temperature indicator, remote terminal, and status sensor) The book is designed as a college text,
will be compatible with the AC Controller board. An Appl~ II but this does not diminish its general
version is also available.
A functional Introl system requires one AC Controll er board
usefulness. Th e language is not heavy
and at least one remote unit. Complete documentation and the math is for the most part limited
is provided with each component of the Introl system along to algebra. Nine appendices cover most of
with software subroutines for your own controller programs. th e nonalgebraic math and machine or
langu age specific descriptions.
Advanced 8K Part 1 describes available display devices
PROROM Memory System including CRTs, storage tubes and plasma
panels. Attention is given here fOI' the
nonh ardware oriented reader to ga in an
understanding of what actually happ ens
inside the equipment and what the advan-
tages and disadvantages of each gadget are.
Next fo ll ow two chapters on point plotting
displ ay s and vector generation . These are
fo ll owed by a chapter on display processors,
the highly necessa ry hardware that drives
the actu al picture making unit. Also covered
PROROM is a 7.5K EPROM + 512 RAM board that is S-100
here is an instruction set for a display pro-
compatible. It has a built in programmer which allows you to cessor that is used throughou t the book.
program the AMI-6834 EPROMs one byte at a time without Part 2 gets into th e actua l programming.
special software. The kit is complete with sockets, manual. For openers, the authors desc ribe a hypothe-
256 bytes of RAM and one 512 byte PROM, preprogrammed tical instruction set simi lar to that used on
with an 8080 system monitor.
KIT ASSEMBLED the IMLAC PDS-1 and the 18 bit DEC com-
AC Controller ............................................................ $149 $189 puters. This instruction set, along with that
AC Remote ..................................................... .... ....... $99 $ 149 of the previous section and the SAl L lang-
PROROM .................... .............................................. $164 $214 uage (an extension of ALGOL-60), is used in
6834 EPROMs...... ...................... . .. .............. $10 ea.
the numerous examples to illustrate sample
Available now at most computer stores or directly from techniques and methods. The authors then
Mountain Hardware, Inc. Visa a nd Master Charge accepted.
Calif. res. add 6% sales t ax. (408 ) 336-2495.
continue with a description of the use of
subroutines and files to simplify and con-
dense the instructions required to generate
~ Mountain Hardware, Inc. a picture. Finally, once you have built a
• Box 1133 Ben Lomond, CA 95005 picture, how do you move it? I n the chapter

146 BYTE December 1977 Circle 79 on inquirv card.


on transformations, both rotation about an
axis and shifting along a line are discussed .
Th en comes the problem of eliminating part
of a display that has been transformed off
the screen. For the solutions the authors Circle 63 on in quiry card.
describ e methods such as scissoring, clipping,
windowing and viewporting .
Interactive grap hics, part 3, is the real
heart of the book and probably the most
interesting section. Here is where graphic
input devices such as the light pen or the
Stanford Research Institute "mouse" are
tied into the total system to provide a device
which is efficient and usable. Also covered
here are interrupt techniques, hardware
versus software, and character recognition.
Three-dimensional graphics is given a
good treatment with discussions of wire
frame perspective, hidden line, hidden
surface and shading, to name a few. This
section once aga in discu sses the trans-
formation theory and some sample imple-
mentations required to move a three-dimen-
sional object through space.
Th e last section, part 5, deals with needed
languages as well as those now ava ilable for
use in developing interactive graphics sys-
tems. Included are discussions of command
languages, primitive operators, and some
considerations on system design. Also AV~I~~~AC'"
From a hobbyist standpoint, one of the
",HE NAKE ·sm and
best parts of the book is its extensive biblio- M chanl
graphy. Over 300 references are cited with print e _ Fully only
ller
a short preceding section which describes Contra
Assemble
d
$S2S
some of the most usefu I. and Tested - ...
While it does not read like a popular
novel, the book is exciting and tends to
encourage " leafing through" until some-
thing interesting catches the eye for more
detailed reading. The authors have gone to
considerable effort to expound virtually
every method or algorithm talked about
with actual program segments and profuse
illustrations (After all, what good is a book
abo ut graphics without lots of pictures?) .
For the beginner in graphics who needs
to know a little about everything or for
the professional who needs a reference
work, this book is a good place to start.
The style is easy to read and ski m for the
novice, and the depth of the material
prese nted is sufficient so that with the
bibliography and appendices, even an t)lntegral Data Systel1l§
old-timer can learn a lot. 5 Bridge Street· Watertown , MA 02172 . (617) 926-1011
If you are not afraid of someth ing be-
sides BASIC and the ASR-33 then this
book can mak e a valuable addition to
your reference shelf.

Steven Fox
875 Foxcroft Lp
Bosque Farms NM 87068-

BYTE December 1977 147


Circle 69 on inquiry card.

FINAI~LY.
A State-of-the-Art Keith C Laudenslager
rntolForLearuiug 139 Bronx Dr

S.,ftware Design. A Number Guessing Game Cheektowaga NY 14227

And at an affordable pri ce . The


Modu-LearnTM home stud y course This is a game to guess a number between
from Logi cal Services .
Now you can learn microcom puter '
o and 99 that the 8080 computer is thinking
of. When the program if initiali zed, a "("
programming in ten comprehens ible
lessons. At home. In your own time . At followed by a carriage return and line feed
you r own pace . is se nt out to your Telety pewr iter or video
You learn to so lve comp lex prob lems monitor. To start, type in any 2 digit num-
by breaking them down in to easi ly ber usi ng lead ing zero for numbers below
programmed modules. Prepared by te n. If it is not the number the computer is
professional design engineers, th e thinking of, the number will be typed out
Modu-Learn ™ cou rs e presents sys-
tematic software design techniqu es, fo ll owed with an "H" or "L." Th e " H" or
structured program des ign , and prac- " L" indicates that you guesse d either too
tical examp les fro m rea l 8080A high or too low. If the number is guessed
mi cro-comp uter app li cations. All in a correctly, it will be typed out an d followed
modular sequence of 10 lessons . by the letter "c." To pl ay again, just ty pe in
more than 500 pages, bound into one
practi cal notebook for easy reference.
anoth er 2 digit number. Th e program is
li ste d in symbo li c form along with abso lu te
You get diverse examp les, problems,
and solutions. With thorough back- code, and was asse mbl ed by han d.-
ground material on mi cro-computer 1030 IE 43 START MVI £.43H JEI- "e"
architecture, hardware/software trad e- 1032 CD 86 10 CALI. CHOUT 10UTPUT CHARACTER
1035 CD 91 10 CALI. CRLF 10UTPUT CARRIAGE RET AND LINE FEED
offs, and useful reference tables . All 1038 04 LOOP INR B IINCREMENT LOOP COUNT
for only $49.95. 1039 DB FE IN Fl!H IINPUT DATA
103B E6 04 ANI 04H ICHECK IF DATA AVAILABLE
For $49.95 you learn design tech- 103D CA 38 10 JZ LOOP ILOOP UNTIL DATA READY
niques that make software work for 1040 78 MOV A,B 10THERWISE GET COMPUTER NUMBER
1041 27 DAA IADJUST TO DECIMAL NUMBER
you. Modu-Learn ™ starts with the 1042 47 MOV B,A IRES Bt-NUMBER
1043 CD 9C 10 GUESSIN CALI. INECHO IINPUT DATA AND ECHO
basics . Ou r p rob lem-so luti on ap- 1046 CD AB 10 CALI. ASCBIN IASCII TO BINARY cONVERTOR
proach enab les you to "g raduate" as 1049 OF RRC IMOVE FIRST
104A OF RRC IDIGIT TO
a programmer. 104B OF RRC IUPPER 4 BITS
See Modu-Learn™ at your loca l com - 104C OF RRC 10F BINARY DATA
104D ~F MOV C,A JREG C'-RSSULT
puter store or order now using the 104E CD 9C 10 CALI. INECHO 'GET SECOND DIGIT
1051 CD AB 10 CALI. ASCBIN IASCII TO BINARY CONVERTOR
coupon below. 10 54 81 ADD C IPACK BOTH NUMBERS TOGETHER
•••••••••••••••••••••••••••••••••••• 1055 4r MOV C,A IREG C,.BOTH NUMBERS
Please send the Modu-LearnT" course for: 1056 3E 50 TEST MVI A,50H JREG At- 50
me to examine. Enclosed is $49.95 (plus : 1058 B8 CMf B 'IS COMPUTER' ABOVE 501
1059 FA 63 10 JM ABOVE lGO TO ABOVE IF • ABOVE 50
$2.00 postage and hand ling) or my : 10SC B9 CMP C INUMBER GUESSED ABOVE 501
Mastercharge/Bankamericard authori za- · 105D FA 6F 10 JM NUMHI II F ABOVE 50 GO TO NUMHI
1060 C3 67 10 JMP CMPBC I GO TO CMPBC I F BOTH B!:LOW 50
tion . 1063 B9 ABOVE CMP C liS NUMBER GUESSED ABOVE 501
1064 F2 74 10 JP NUMLO II .. NOT ABOVE 50 GO TO NUMLO
Name : ~ _ _ _ _ _ _ _ _ _ _ __ 1067 79 CMPBC MOV A, C I ACC. -NUMBER GUESSED
1068 B8 CMP B ICOMPAR!: CONPUTER AND GUESSED'
1069 CA 30 10 JZ START II F EQUAl. GO TO START
• Add ress: _ _ _ _ _ _ _ _ _ __ 106C FA 74 10 JM NUMLO I GUESSED TOO LOW
1061' IE 48 NUMHI NVI E,,'-8H JEt ..... "
:: City: State:._ _ _ _ _ _ __ 1071 C3 76 10 JMP OT JOUTPUT "H"
1074 IE ~C HUMLO HUI g,,4CH JE.·"L"
:: Card # _ _ _ _ _ __ __ _ _ __ 1076 CD 86 10 OT CALI. CHOUT 10UTPUT CHARACT!:R
1079 CD 91 10 CALI. CRL" 10UTPUT CARRIAGE RET AND LINE FEED
:: Expi ration date: __________ 107C DB FE NXTNUM IN FE IINPUT DATA
Ion E6 04 ANI 04H II S DATA READY
: Signature: ___ _________ 1080 CA 7C 10 JZ NXTNUM ILOOP UNTIL DATA READY
1083 C3 ~3 10 JMP GUESSIN I PROCESS' NEXT NUMBER
1086 DB FE CHOUT IN FE I CHECK I F TRANSMIT
1088 E6 oe ANI 02 I BUFnR I S EMPTY
108A. CA 86 10 JZ CHOUT noop I F BUSY
10eD 7B MOV A,E JACO,-DATA
108E 03 FF OUT FF 10UTPUT CHARACTER
1090 C9 RET I R!:TURN
1091 IE 00 CRLF NVI E,ODH JREG "£"I-CARRJAGE RETURN
1093 CD 86 10 CALI. CHOUT IOUTPUT CHARACTER
1096 IE OA NVI E,.OAH JREO NENt_LINE FEED
1098 CD 86 10 CALI. CHOUT 10UTPUT CHARACTER
109B C9 RET I RETURN
109C DB n INECHO IN n liS DATA AVAlLABLE1
109E E6 04 ANI 04H ICHECH STATUS BIT
lOAD CA 9C 10 JZ INECHO ILOOP UNTIL DATA AVAILABLE
.711 Stierlin Road 10A3 DB FF IN FF J INPUT DATA
10AS 5F MOV E,A J REG. E'-DATA
: Mountain View, CA 94043 IOA6 CD 86 10 CALI. CHOUT IECHO DATA
:(41 5) 965-8365 IOA9 7B MOV A,E IRESTORE DATA TO ACCUMULATOR
: ................................ . 10M
10AB
C9
D6 30 ASCBIN
RET
SUI 30H
I RETURN
ISUBTRACT ASCII ZERO

LOGICAL
SERVICES INCORPORATED
lOAD
lOAF
lOBO
IOB2
FI!
F8
OA
D6 07
C9
CPI
RM
SUI
RET
OAH
07H
I I SIT A LETTER OR NUMBER1
I RETURN I" IT IS A NUMBER
ISUBTRACT ASCII SEVEN
I RETURN

148 BYTE Dc cemhcr 1977


· IlYlE's Ilits
TECHNICAL NOTE: CABLE a I>:U)
Selectric Interfacing Experiences I>: CO NNECTO RS WI-
WU) I IW

sELECTRI~-~11 ~~
II>:
I e njoyed Dan Fylstra's well written I-W INTERFACE
0>
art icle (" Interfac in g the IBM S electri c
01>: L ______ :
Key bo ard Printer," June 1977 BYTE, 1-0
I
page 46), as his ex pe rience parallel ed I
my own . Perhaps it is too obvious to I
mention but on e big advantage of the I
Selec tric is that it makes a fine stand
alon e typewriter. This is not impaired
by co nnectin g it to a computer and can
II !
I
help justify the outlay of several hun-
dred dollars. There are many variations
on th e Selectric theme be yo nd the
carriage si ze. Coil vo ltage may be 24 or
48 V, friction feed or a variety of
traction feed (pin feed) platens are IK
avai lable, some printers are without
key bo a rds, and Selectric mechanisms
are used in oth e r manufacturers' hous-
ings and eq uipment.
The 10 Sel ec tric (versus the type-
+ -
wr iter ve rsion) is desig ned for con-
4BV
tinuous operation and once set up
properly it should be quite reliable.
Properly is the catch word since it is
a co mplex mechanism and those who
wo rk on these machines professionall y
are use d to getting professional prices.
Surplus units ca n run the gamut from
fun c tionally perfect and well maintained
NORTH{!STAR OWNERS
to run-to·destruction and cannibalized
hulks. I've been favorably impressed The System EX~9utiv~ . packqge
with the parts situation both in terms
of price and availability.
For my Selectric output devi ce,
You Have Been Waiting For: ,
I also chose the op e n loop control sys-
tem since it uses only one output port
and less than 250 words of memory
*' EDITOR: Line oriented with auto number, incrementing to any valu e;
holding up to 6 fil es in memory .
(B08 0 or Z-BO). No interrupts or input
ports are involved. With careful trim-
ming of software timing loops very little
*' MONITOR/EXEC: T ape I/O in TARBELL & ESP formats (object. or
source); disk I /O for NORTHSTAR,. reads HEX paper tape in INTEL
speed loss should occur. Selectrics are
format .
more notable for quality print than
spe ed; other impact printers are much
faster . Mine runs about 12 to 14 charac-
*' ASSEMBLER: Processor tp.chnology - ESP compat ibl e; assemble the
program for one address & put obje~t el sewhere.
ters a second, including carriage returns,
and is nea rly at the upper limit of speed.
*' DEBUGGER: Break point - con tinu e
exec ution - reset & clear breakpoi nt.
from brea kpoint & resum e

*'
A Note on Selectric Interfacing :
A Magnet Driver Circuit
DISASSEMBLE R: HEX or ASC II clump - labels located by address, not
I also started to do my inte rface with just assigned - writes assembler format file to memory locat ion .
relays but hit on a simpler design. Min e
has less isol at ion th an Dan Fylstra's
T H E PACKi\GE I S C OMP LE I E I-,ND I lE',<.\DY 1 0 LOI\O
bu t this has been no problem . Driving U S IN G voun EX I S l i NG DO S INPU I IO U I PU I !lOU liN ES.
either interface thru optoisolators would
be good practice since rela ys and DISKETTE + EXTENSIVE MANUAL ONLY $48 .00
so le noids are very noisy . My actual
circuit and program aren't given as I Jst C lilSS Po sl a9c , In suran ce, H4l lldlilHJ & Ca l i l . Rcside nt 5 - ()u/o Sa les I ax In c lud ed.
adapted a single relay to replace the 714/894-9131

BYTE SHOP
missing dual la tching shift relays. The M · F 11:30 · 9:00
f ront end is about the same except I SAT 10 - 6
used a ll eight bits. This will mak e it
'- I
I- I~I
eas ier to ac tuate the check relay either
w it h the tilt and rotate relays or as a 14300 BEACH BOULEVARD. WESTMINSTER, CA 92683
control relay . The number of control

Circle 16 on inquiry card. BYTE Dec e mher 1977 149


Circle 139 on inquiry card.

TAKE ADVANTAGE OF US ... functions can be expa nd ed with a BCD


to decimal converter (7442 etc) betw ee n
the 7400s and th e transistors _ For 48 V
We offer a full 10% DISCOUNT on many major lines: co ils use 2N2907A (jam es, 5/$1) tran-
sistors an d the suppression diodes
IMSAI Processor Technology
should be on the relays_ In this circuit
Vector Graphic TDL the relay common line must not be
North Star Solid Sta te Mu sic gro und ed. Switching the motor on and
- and others - off generates a big noise spike, worse
on the indu ctive sta rt motors than on
the capacitor start ones _ A ze ro crossi ng
Many items at even greater discounts: sol id state relay would probably be the
best solution a nd could a llow TTL leve l
IMSAI, w/ 22-slot motherboard, reg. $699.95, OUR PRICE $589 91 ! on a nd off control.
What can you do with a printe r?
Vector Graphic Vector I-plus, reg. $659, OUR PRICE $56000 ! With a 64 or more character width moni-
Norih Star Micro Floppy Kit, reg. $699, OUR PRICE $599 00 ! tor, floppy disk or computer co ntrolled
cassettes a nd a good text ed itor, you can
eas ily store, retrieve, ed it a nd pr int out
No service charge for credit cards. Take a 5% cash discount on your letters, manuscripts, resumes , etc. I
wrote this note on a Digita l Group l-80
whole order if you don't use a credit card. system, stored it on a Phi-D ec k, edited it
on a DGSS text editor (awkward but
wel l priced) a nd printed out the fi nal
version in 5 minutes_ On a lesser scale,
Absolute lowest prices on 16K or 32K Dynamic RAM Boards. hardcopy of disasse mbl ed mac hine lang-
4K, 8K, and 15K Static Boards and l-80 CPU Boards are being deliv- uage programs or BASI C prog ram listings
ered at rock-bottom prices. Call for quotation. Call or write for our make it mu c h easier to see the whole
free 54-page cata log. program and structure or de bug it. Prin -
ters are genera ll y a poo r substitute for a
video monitor when running games. That
If it's made for the S-1 00 bus, chances are we stock it r< approach can put you up to you r arm-
pits in paper. Paper that has been used
on one side is often availab le free from
commerc ial c'o mputer users and is fine
(as is, or sheared) for li stings, work
7 White Place, Clark, NJ 07066 (201) 382-1318 sheets etc. This saves money and tre es.

Don Southwick
7611 Aberdeen Way

Demo Record
(stereo L p) $2
includes 4th class
postage in USA . For
MUSIC Produce music
• with your micro
for $159 or less.
Quad chromatic pitch
IEEE
Boulder CO 80301·

A call for papers has been issued for


1st class , add $2.
generators are S-100 the Pattern Recognition a nd Image
Synthesis Board : boards (parallel ver- Processing Co nference sched ul ed for
Waveform : dual RAM, sion available)which Chicago I L on Jun e 5 thru 7 1978 .
sync sw itch-over, produce 1 t04 tones Sponsored by the Machine In tel li gence
64 elements each at once, each tone and Pattern Analysis T ec hnica l Com -
with 256 levels. any of 96 pitches.* mittee of the IEEE Computer Society,
Programmable filter Square wave output the program will consist of in vited
smooths "steps". plugs into your amp. papers, panel discussions and co ntri-
Envelope : rise: 256 1, 2,and3tone units buted papers_ Pap ers are in vited on a ll
levels,4ms to 1.3s . ($111,$127,&$143kit) aspects of pattern recognition and image
fall : 256 levels, 3ms are expandable to 4 processing, includin g stat istical and syn-
to 7.8s. sustain: tone unit ($159 kit , tactic pattern recog nition , clu stering,
256 levels. ,"! $185 assembled) . All shape and tex ture recognition, scene
Volume : 256 levels. units expandable to segmentation and a nal ysis, image fi l-
Pitch: 96 , piano range include synthesizer tering, enhancing and reconstruction,
& 8 higher:" Price : $220 (kit), features. and medical, industrial and remote
* If 2MHz clock is unavailable (on pin 49 for S-100 units), ask about our crystal option, $16 . sensing app lic at ions.
There are two categories of contri-
COMPUTER-CONTROLLED MUSIC SYNTHESIZER SYSTEMS. buted papers, a nd authors sho uld state
Our SynthesiS Boards (specs and price given above left) are professional synthesizers their preference when sending in
for serious musical applications such as studio recording, live performances, and material. Long papers (about 5000
educational use. An S-100 controller (parallel version available soon) runs 1 to 8 words and suitable for a 25 minute oral
synthesis boards ; the price is $88 to $180 depending on cables required. Write for presentation) are due December 1 1977.
information on these products, and a complete description of our synthesis methods Short papers (about 500 words and
and how they compare with others '. suitable for a 15 minute oral presen -
Dealer inquiries invited .

~
tat ion) are due February 1 1978. Camera
A L F PRODUCTS INC. 8080 software available at cost. ready copy in both categor ies is due
128 SOUTH TAFT Both products featured on L P _ April 1 1978 .
DENVER, CO 80228 Send ·image processing papers (in

150 BYTE Decemher 1977 Circle 1 on inquiry card _


triplicate) to Prof K Preston J r, Depart· Siggraph 1978 Call for Papers
ment of Electrica l Engineering,
Carnegie·Melion University, 5000 Forbes The 5 th Annual Conference o n
Av, Pittsburgh PA 15213, (412) Computer Graphics and Interactive
621·2600. All other papers should be T echniques wi ll be held August 23 to
se nt (in triplicate) to Prof R L Kashyap, 25 1978 in Atlanta GA, sponsored by
School of Electrical Engineering, Purdue ACM/Siggraph. Th e dea dline for a 300
University, West Lafay ette IN 47907, to 500 word abstract is December 15
(317) 493·9137. - 1977. The first draft manuscr ipt (in·
cludin g fi gures) is du e Ja nuary 161978.
Se nd tho se to Prof R L Phillips, pro·
Ambiguous BOMBacity gram chairman. 213 Aerospace Engi·
neering Building, North Campus, Uni ver·
The following two comments were sity of Michigan, Ann Arbor MI 48109. -
rece ived, referencing the same art ic le in
the BOMB eva lu ations for May 1977.
The author's na me has been para·
mete ri zed to "X" for purposes of anon y· A Little Contest
mity. "Y" stands fo r the artic le name.
A firm called Etroni x has annou nced
Comme nt 1 : an app li cations contest featur ing the use
of Fairchild Technology Kits. The
<Y> is awful. <x> is an idiot. co n test is open to a nyone. I t features
(Rating: 0) a Fairchild Video Entertainment System
($169.95) as first pri ze; sec ond prize is Where to get it.
Comment 2: a F airchi ld LED or LCD digital watch
(approx imately $8 0); third, fourth, and Equipment, parts, sup-
<x> is a great writer! He is clea r, fifth prizes are Timeband digital LED plies and services. Hard to
conc ise and yet detailed . (Rating : watches (approx imately $3 0). Send to
10) Etronix, Box 321, Issaquah WA 98027,
find and standard items at
for yo ur e nt ry blank a nd rules. Contest bargain prices.
All one can conclude is that subj ective c loses December 30 1977.-
evaluations of the same item sometimes
Over 600 places to find
differ markedly.- transceivers, antennas,
surplus, new and used
equipment, ,uPs/com-
puters, ICs, components,
A Small Hole in the APL assortments, assemblies,
continuations of the case str uctu re
There is one section of Mike labe led CODE a nd estab li shed in figure discounted items, test
Wimble's art icle, "An APL Interprete r 31 (see page 66). A note sho uld have equipment, peripherals,
for Microcomputers, Part 3" (October been placed below the exponent iation
1977 BY TE , page 64), that should be branch at the bottom of figure 31 to
etc. Hundreds of large and
clarified. Figures 32 and 33 are actual ly make this clear.- small mail order sources.
A complete directory
I,TiLDE divided by sources, items
and locations. Saves count-
less hours of shopping.
,m OPERAND FOR TlLOE OPERATOR
N OT A BINAqy a OR I
Easily pays for itself through
J',C;URE 34)
3,NECoAT[ comparative buying.
Contains no advertising.
4, S , C,NU M

II
-------------
Rush my order. I enclose $5.95 plus 55¢
postage and handling. Californians add
I
I
39¢ sales tax . Full refund if not
I completely satisfied within 10 days. I ()
I .~
~.'N"'ERSE
I Name I ~
I Address _ _ _ _ _ _ _ _ _ _ __ .~
'" I .~
:::l
I City/State/Zip I .g
I Primary interest: Amateur Radio 0 CB 0 .-<
I Experimenting 0 ILPs/Computers 0 I g
(FROM
n(,URES
I Send to: Peninsula Marketing I p.
CODE
32, 33
AND 34) Dept. D I
!TO FIGURES
I 12625 Lido Way
32 ANO 331
I Saratoga, CA 95070 •

1.-------------.1 BYTE Dcccmhe, 1977 151


readers can obtain material at cost. Wri te
to Joe Torxewski, 51625 Ch es tnut Rd,
Granger IN 46530.

Jim's Industry Notes

This newsletter is aimed primarily at


retail ers and manufacturers. The newsletter
Eastern Iowa Computer Club provides fast turnaround news on industry
data, and a communication medium for
Th e Eastern Iowa Computer Clu b is a exc hange of ideas, problems, so luti ons,
group of computer enthusiasts and other etc. The newsletter co ntains no advertisi ng.
interested peopl e. If yo u'd li ke to join, jim 's Industry Notes is sent first class.
contact Samuel Dillon, 1125 Washington Contact Jim Warren, POB 3010, Palo Alto
Dr, Marion IA 52302. CA 94305.

IIliana Teleprinter Society St Louis Amateur Computer Club

Th e Illi ana Teleprinter Society is a new SLACC's newsletter, the SLACC Stack,
Chicago based group of microcomputer conta ins cl ub information and an appli-
experimenters. Mee tings will be held on the cations for um . Meetings are held at 7 PM
second Thursday of eac h month at 8 PM in on the first Tu esday of every month at
the lower lobby of the Clyde Savings and the Thornhill branch of th e St Lou is County
Loa n Building, 722 W Cermak Rd, North Library. Contact Frank Curtis, c/o SLACC
Riverside IL. The pwgrams will include Stack, 24 Midpark, St Louis MO 63124.
speakers from Digital Eq u ipm ent Corp or·
at ion, IBM , and Heath Company, as well CHIPS
as an in formal program of discussions and
software swaps betwee n members. All A microco mputer club has bee n formed
meetings are ope n to the public. Those in the central New York State area. Th e
curious about microcomputers and their club, known as CHI PS (Computer Hobb yists
uses are invited to attend. For more infor- in Processing - Syracuse), has been holding
mat ion contact John March, president, regular monthly meetings and hardware
POB 874, Oak Park IL 60303. and software demonstrations for almost
a year. Membersh ip is open to all who are
Apple I Library interested in the microco mputer field. For
fu rth er information, contact CHIPS, c/o
Th e Apple software . and hardware J A Green, General El ectric Company,
Conducted by library is being started in In diana · to Court St Pl ant # 3, Room 16, POB 4840,
David Wozmak support the Apple I computer. In terested Syracuse NY 13221 .

400 North WaShington Street. Suite 200


INTERNATIONAL DATA SYSTEMS, INC. Falls Chu rch, Virginia 22046 USA
Telephone (703) 536 -7373

S100 Bus Cards (AL TAIRIIMSAI CompaUble) USES KIT PRICE

88-SPM Clock Module Your compu ter keeps time of day regard less of what program it is executing. $96.00
Applicalions include event logging. data entry. ham radio. etc. Provision for
battery backup is included.

88-UFC Frequency Counter Module Measure frequencies up to 600 MHz or period with 1/ t 0 microsecond resolu· $179.00
tion . Computer can monitor four separate inpuls under sohware control.

88 -MODEM Originate/Answer MODEM Use your computer to call other computer systems such as large timesharing $245.00
systems. Also allows other computer terminals to "dial-up'· your computer.
Auto-dialer is included so your compuler can call other compulers under soft-
ware control. Operates at 110. 134.5, 150.300 , and 600 band .
GENERAL PURPOSE PERIPHERALS

MCTK Morse Code Trainer / Keyer Hard / Software package which allows your computer to teach Morse Code. key your $29.00
transminer. and send prestored messages. Uses "NEW CODE METHOD" for training.

TSM Temperature SenSing Module Use it 10 measure inside and /or outside temperature for computerized climate $24 .00
control systems, etc.

DAC8 Eight Bit Digital to Requires one eight bit TIL levellalched parallel output port. Use it to produce $t9.o0
Analog Converter computer music or to drive voltage controlled devices.
Terms: Payment with order. Shipment prepaid. Delivery is stock to 30 days. Write or call lor detailed product brochures_

152 BYTE December 1977 Circle 65 on inquiry card.


Southern Nevada Personal Computing Portland Computer Society
Society
The Oregon based Portland Computer
The SNPCS meets on altern ate Saturdays Society was formed in the summer of 1976
from noon to approximate ly 3 PM. Its by Mike Enkelis and Mik e Boyd when they
membership is open to Clark County discovered that the Altair computer had
reside nts and students of Clark County become a rea lity. To get in touch with the
educational institutions. Du es for a PCS, write to the Portland Computer
corporate member are $12 per year; family Society, 3763 SE Division St, Portland OR
membership is $18 per year; correspondence 97202.
membership is $6 per year; and student
membership is $3 per year. Subscription SEMCO
to the newsletter Hard Copy is included
in the membership. Meeti ngs are held Th e Southeastern Michigan Computer
at Cl ark County Community College, Organiza tion will be hosting the MACC
Cheyenne Campus, room 3106. For more Computerfest '78 in the Detroit Pl aza
information contact Edn a Wells (secretary/ Hotel on June 23 thru 25 1978. For club
treasurer) at 1405 Lucil ee St, Las Vegas or Computerfest information contact
NV 89101, (702) 642-0212. SEMCO, POB 9578, North End Station,
Detroit MI 48201.
Unofficial Heath Users' Group
A TRS-80 Users' Group
A Heath kit computer users' group (as of
this writing still unnamed) in New Haven Th is group is dedicated to the exchange
CT produces a newslettel', BUSS, con- of programs and technical data for the new
taining information about the Heathkit l-80 based system by Radio Shack. Inter-
comp uters. You can get more information ested parties may send a self-addressed
abo ut the newsletter by writing ·to BUSS, stamped envelope to R Gordon Lloyd,
c/o Charles Floto, 267 Willow St, 7554 Southgate Rd, Fayettevi lle NC 28304.
New Haven CT 06511.
Junior Computer Hackers of America
Microcomputer Tinkers and Bug Busters
All students interested in forming a
This new club needs members and people natio nwid e organization and publishing
willing to produce a newsletter. Contact a newsletter of, by, and for computer
Microcomputer Tinders and Bug Busters oriented students should contact Brian
Society, 3845 Le Bleu St, Beaumont TX Moran, 7335 N Manning Dr, Peoria I L
77707 . 61614.-

ALPHA z- 80 $ 495
ASSEMBLED
• 12 SLOT MOTHER BOARD
• 12 CONNECTORS (S-100 BUS)
• 17 AMP POWER SUPPLY
• HEAVY DUTY CABINET WITH FAN
• Z-80 CPU BOARD: All Sockets I ncluded, Gold Con-
t act Fingers, High Quality Glass Epo xy PC Board,
Doubl e-Si ded, Plated Through Holes, Requires Only
+ 8 VDC / 800 MA.
NOTE: 22 SLOTS/30 AMP POWER SUPPLY - $595.
ADS also sells IMSAI and NORTH STAR Assembled at Kit Prices + LEAR
SI EGLER ADM 3A Assembled at $888 .00 . TERMS : Cash with Order.
Prices include Freight. (N.C. Residents add 4% Sales Tax . )

ALPHA DIGITAL SYSTEMS


ADS Data Acquisition, Computation and Control

1111 ROUTE 4 BOX 171A


BOONE, NORTH CAROLINA 28607

Circle 2 on inquiry card. BYTE December 1977 153


Where to Get Bargains
in Used Computer Equipment

Once they have their co mputers up and is to buy used equ ipment. Th e question is,
running, co mputer exper im ente rs sta rt where do you find it?
hunting aro und fo r peripherals. They look The big market in used computer eq uip-
for t hings like Teletypes (usually ASR-33s), ment is due to many factors, one bei ng that
video terminals, printers, paper tape readers th e state of the art is changing rapidly and
and punches, etc. The big problem here is companies frequently obsolete working
cost. In fact, those electron ic and electro- equ ipment to keep up. Thu s, there is a
mec hanical 10 gadgets can ofte n cost several great deal of equipment ava il ab le th at may
Sol Libes, President times the price of th e processor itse lf. New not be up to the latest speed or have the
Amateur Computer Group of NJ video terminals can cost you $1500 and up. latest feat ures, but is fully operational. For
1776 Raritan Rd Prin ters ca n cost as mu ch as $2000. What examp le, you ca n buy a used video termi nal
Scotch Plains NJ 07076 can a hobbyist do to save money? One way (AS R-33 co mp atib le) for less tha n $500,
or a video terminal that req uires some re-
wiring for und er $200. Hard copy te rminals
range fro m $300 (for an untested unit) to
Used Computer Equipment Vendors Equipment $1000 for guaranteed un its with extra
features.
American Used Computer Corporation Used min icompu ters, printers
POB 68 Kenmore Sta video terminal s, modems,
There are eve n minicomputers ava ilable
Boston MA 02215 T eletypes, etc . Al so new equipment at bargain pri ces. Di gital Equipment Corpor-
(617) 261-1100 for personal computing via t he at ion PDP-8s with 4 K words of core
Computer Warehou se Store.
memory and serial interface start at $750
Atlantic Surplus Sales T eletypes, parts, suppli es and and go up to $3000 for newer models.
3730 Nautilu s Av mi sce llaneous. New dealers in used equ ipm ent are
Brooklyn NY 11224
(212) 372-0349 appearing all t he time. Th e li st that accom-
panies thi s report is not complete by any
Computer Warehouse Store (See Am erican Used Compu ter
584 Commonwealth Av Corporation)
means, but it does in clud e the larger dealers
Boston MA in the co untry. Most used eq uipm ent dea lers
(617) 261-2701 publish cata logs and main tain mailing
Data Access Systems Used T eletypes, DECwri ters, video li sts_ A sim pl e postcard will usu all y get you
100 Route 46 terminals, mo dems, parts. their latest equipment listing and pu t you
Mountain Lakes NJ 07046
(201) 335-3322
on the il' mailing li st. Most of these com-
pani es are eager to dea l with comp uter
Data -Lease Minicomputers, video terminal s, experimenters.
700 N Valley St # A T elety pes, etc.
Anaheim CA 92801 Many dealers refurbish the used eq uip-
ment they sell and restore it to manu-
Data Processing Des ign Inc PDP -11s, printers, terminals, facturer's specifications to the point where
6980 Aragon Cir, Suite B etc .
Bu ena Park CA 90620 it is ofte n indi stinguishabl e from new
(714) 994-4971 . equ ipment. For examp le, several dealers
Federa l Communications Corporation Used T eletypes, data phones
refurbish Teletypes to "as new" condition.
Suite 107 an d TWX units Thi s mea ns a compl ete cleaning, re place-
11105 Shady Trl ment of defective or worn compone nts,
Dallas TX 75229
(214) 620-0644 replacement of items such as plastic cove rs,
repa inting ex posed metal enclosures, runni ng
Herback & Rade man Inc Used computer gear and parts.
401 EEri e Av
the machine for at least 5 hours to insure
Philadelphia PA 19134 its performance, and guaranteeing it for
(215) 426-1700 90 days. A new Model ASR-3 3 Teletype

154 BYTE December 1977


costs approx imate ly $1200, while an "as
new" reco nditi oned uni t typically se ll s for Used Computer Equipment Vendors Equipment
$7 00 and an "as is" nonreconditioned
JM As sociates Used comp uter peripherals,
mach ine goes for as Iittle as $500. 80 Em era ld Av etc.
Part icul arly good buy s can be obtai ned West m ont NJ 08108
on equipment no longer being manu-
ICC Computer Corporat ion Used T eletvpes and TW X units.
fact ured or from a manufacturer wh o is 1115 Sec uri tv Dr
no longer in business. Prices are ofte n Dalla s TX 75247
(214) 630-1401
co nsid erab ly less th an those for eq uipm ent
still being manufactured. MiniComputer Exc hange Miniperipherals .
The largest and old est used computer 154 San La za ro
Sunnyvale CA 94086
equipment deal er is American Used Com- (408) 733 -44 00
puter Corporation, which was started in
1968. Second largest is Newman Computer Nat ion al T eletypewriter Corporation Used T eletype s, parts and suppl ies.
207 N ewtown Rd
Exchange, wh ich was fo un ded in 1972. Pl ainview N Y 11 803
In ad di tion to equipment dealers, used (516) 293 -0444
equipment is often adve rti sed in publications Newman Com puter Exchange Used minicomputers, periph era ls,
such as On-Line, Electronics News, Com~ 3960 Varsity D r T eletype s, etc .
puterworld and Computer Hotline. Th ese Ann Arbor MI 48104
(3 13 ) 994-3200
should be co nsulted regularly for current
"b uys" and new companies in the market. PMR Canada Ltd Used processors, memories, co n-
94 Hy de Av tro ll ers, etc .
Another excellent source of used com- Toron to, Ontario CANADA
puter eq uipm ent is amateur radio flea (416) 653-4842
markets. Ham radio operators are big users
RCA Service Company Used T eletypes
of Teletypes and other printers, tape readers Bldg 204-2
and punches, etc. These flea markets are Camden NJ 08101
held locall y and region ally . The largest is (609) 779-4129

held in APiil in Dayto n OH , and draws R o ndure Company Miniper ipheral s, modem s,
ove r 10,000 attend ees. Th ere are acres of 1 224 Secu rity D r parts, etc.
Dalla s TX 75247
flea marketers. To fi nd out when and (2 14) 630-4621
where the ham flea markets are being held,
co nsult the ham magazines such as QST, CQ Van 't Slot En terprises U sed T eletyp es, parts and suppli es.
550 Springfi eld Av
and Ham Radio. Berke ley Heights NJ 07922
Good hunting! - (201) 464 -5310

MULTIPLE DATA RATE INTERFACING FOR YOUR CASSETTE AND RS-232 TERMINAL

the CI-812
The Only 8-100 Interface
You May Ever Need
On one card, you get dependable "KC-
standard"/biphase encoded cassette inter-
facing at 30, 60, 120, or 240 bytes per
second, and full-duplex RS-232 data ex-
change at 300- to 9600-baud. Kit, includ-
ing instruction manual, only $89.95* .

[~Eflll()M I
PERCOM DATA COMPANY, INC.
*Assembled and tested,
$119.95 . Add 5% for
shipping . Texas resi-
4021 WJ N DSOR . GARLAND. TE XAS 75042 dents add 5% sales tax . PerCom 'peripherals for personal computing'
(214) 276-1968 BAC/MC ava il able .

Circle 90 on inquiry ca rd . BYTE December 19 77 155


A Look at LISP

Today BAS IC is the uni ve rsa l language of ye t; bu t th is co uld change, if su ppli ers see a
th e mi crocom pu ter hobb y. It is easy to learn , po te nti al market.
ca n run in a sma ll amo un t of me mory, and Mu ch of th e power of LI SP co mes from
prov id es a co mm on ground for peop le wit h the fac t th at in it, programs are data. Thi s
diffe rent processo rs. But many microcom - means th at one program ca n build up or
pu te rs are no longe r so " micro," and th ey loo k at anoth er program, or eve n o perate on
need a more powerful language to use t heir itse lf. Thi s is a t remend ous help for debu g-
full capab il it ies. ging prog rams, since it lets th em be examined
Wh at properti es shoul d thi s language or modifi ed on the fl y. For instance, a LISP
have? It shoul d work well in teractive ly, ro utine mi ght ca ll a spec ial er ro r handling
Gary McGath since most ho bb yists use their machines ro utine if it detected an unwarra nted state
7 Silver Dr, # 3 th at way. It should be si mple in for m, so of affairs; thi s routin e co uld let th e use r
Nashua NH 03060 th at impl ementing and und erstand ing it are exam ine and change vari abl es, since var iabl es
easy. It shou ld be goo d at handl ing non- in LISP are also data, or eve n change part of
numeric data, sin ce most co mputer ho bby- the prog ram to get it back on the right trac k.
ists are n't inte rested in "co mpu ting" in the Th e structure wh ich is used fo r programs
li te ral se nse (ie: num eri cal calcul at io ns) as and data is the list. A li st is a seq uence of
mu ch as in graphi cs, information manage- any length, wr itten as its elements enc losed
ment and other such appli cat ions. It should in parentheses. For instance, (1 2 3 4) is a
run effi ciently. And it should make pro- li st of four numbers . Li sts ca n co ntain li sts;
gram m ing easy. (( 1 2 3 4)) is a li st with one element, which
A pri me ca ndid ate, on all but o ne of is a list of fo ur numbers. Note t hat in LISP ,
these co unts, is LISP. LISP was deve loped at parenth eses always change th e co nt'e nt of
MIT in th e ea rl y 1960s; it has never attained ex pressio ns; they are never optio nal, as in
wid es pread use, perh aps because of its un - so me languages.
usual sy ntax, or else beca use it ten ds to run Programs can create li sts as th ey run ,
slowl y. It is orie nted not toward prod uction thu s giving themse lves th e storage they
wo rk, but toward prog ram deve lopm ent and need. Thi s is anoth er spec iali ty of LISP,
ex perim entation. ca ll ed dynamiC storage allocation. Most
Eva lu ating LISP in ter ms of th e cr iteri a programs have to set out t hei r storage re-
mentioned above: It is ve ry stro ng on in te r- quire ments befo re th ey are run ; a BASI C
ac ti o n. Its sy ntax , th ough unu sual, is ve ry program, for instance, ca n't dec id e halfway
simpl e. It includ es names and a ve rsatil e th ro ugh its execution that it needs another
structured type in its data handling fac il it ies. array. But LISP picks up its storage as it
It.i s powerful eno ugh to make most prog ram- need s it. To give just one exa mp le of what
ming jo bs si mpl e. Un fo rtun ately, though, it this ca n mea n: You ca n run a LI SP pro-
loses to many other languages in efficie ncy, gram on a sm all amount of data with your
at least when it is run by an in te rprete r (as is curre nt memory suppl y, t hen ex pand it
th e norm al case). Bu t unl ess speed is so when you get mo re memory to ha ndl e more
cru cial for a given probl em th at it outweighs data with no changes to the LISP program.
th e co nve ni ence, LI SP is an excel lent choice. LISP programs are unu sual, bu t co n-
Th e purpose of thi s art icle is not to be a siste nt, in th at th ey use one too l everywh ere.
prim er o n LISP , bu t to give yo u reaso ns to Th is too l is fun ctional application. BAS IC
look fo r such a primer (for instance, Weiss- programmers are famili ar with simpl e func-
man's Lisp 7.5 Primer, publi shed by Dicken- tio ns li ke SIN; in the ex pressio n SIN (X ),
so n). Th ere are, as far as I know, no mi cro- SIN is t he fun cti on, whi ch is appli ed to th e
co mpu ter based interpreters fo r th e language argum ent X. In LISP , t hi s ex pression wo uld

156 BY T E Dece m ber 1977


be written as the list (SIN X). The rule is
that the first thing in the list is the function, A sample LISP program for building a maze
and the rest of the list is its arguments. (which may be used in Wumpus type games). The
user defines the maze by typing in lists of two
A LISP program is a list of this form, which atoms, which give two rooms that are adjacent to
gets evaluated by applying the function to each other. The rooms may have as names any
the arguments. The value of the list is the atoms not otherwise used . Input is terminated by
result of this application. This value may entering NIL. The function returns a list of atoms
which are the names of all the rooms; this valu~ is
itself be used as an argument to another also available as the value of the atom MAZE LIST.
function; thus, programs can be built up Each of the room atoms has as its value a list of
from lists within lists to any level. all the rooms to which it is adjacent.
Some functions do other things besides The only function used here which was not
mentioned in the main text of this article is MEMO.
returning a value. The function SETQ, for
This function tests whether its first argument is a
instance, performs the role of the assign- member of its second argument, in the sense of
ment statement in other languages. list membership .
(SETQ X 5) is like BASIC's LET X = 5. (SETO MAZEBUILD
COND tests a condition and performs or (OUOTE (LAMBDA ()
omits evaluations depending on the truth or (SETO MAZE LIST NIL) ;initialize the value
falsehood of that condition. This gives a (PROG (TEMP) ;TEMP is a local variable
capability like BASIC's IF statement, except A ;A is a label
(COND ((SETO TEMP (READ)) ;get a pair
that CON D is much more general. The fol- (SETO Rl (CAR T~MP))
lowing is a simple example of how COND (SETO R2 (CAR (CDR TEMP))
can be used: ;the names of the two rooms
(COND ((MEMO Rl MAZELlST)
(COND((GREATERP X Y) (SETQREL 1)) ;is this room known already?
((LESSP X Y) (SETQ REL -1)) (SETO (EVAL Rll
(T (SETQ REL 0))) (CONS R2 (EVAL Rll)))
((SETO (EVAL Rll
This is what happens when the COND (CONS R2 NIL))
;if not, start it up
expression is evaluated: The function (SETO MAZE LIST
GREATERP is applied to X and Y. If X is (CONS Rl MAZELlST))))
greater than Y, the value returned will be T, (COND ((MEMO R2 MAZE LIST)
otherwise it will be NIL. If T (or for that ;do the same for R2
matter, any value but NIL) is returned, then (SETO (EVAL R2)
(CONS Rl (EVAl. R2))))
(SETQ REL 1) will be evaluated, and the ((SETO (EVAL R2)
COND will be done. If, however, X is less (CONS Rl NIL))
than Y, then COND will try again on the (SETO MAZE LIST
first element of its next argument; that is, (CONS R2 MAZELlST))))
(GO A) ;repeat if wasn't nil
(LESSP X V) . If X is less than Y, this will )))
evaluate to T, REL will be set to -1, and MAZE LIST ))) ;return the value
the COND will be done . If, however, this
also falls through, then X must equal Y. Tis
then evaluated; since T is a special constant
which always evaluates to itself, COND will (SETQ X (QUOTE list-to-be-evaluated-
finally be satisfied, and REL will be set to O. later))
When a variable is used in a list, it is a
piece of data like any other, of a type called Elsewhere you have:
atom. Atoms can be passed around by them- (EVAL X)
selves (as opposed to passing around their
values) by using the function QUOTE. When thi s is encou ntered, X is evaluated
(SETQ X Y) sets X's value to be the same as once by the LISP interpreter, giving list-to-
Y's value; but (SETQ X (QUOTE V)) sets be-evaluated-later; then EVAL evaluates it
X's value to be the atom Y itself. This lets again, generating its value and all side effects.
you keep verbal information around for A Iist can be modified (I'll discuss th !=!
later printing. QUOTE is also useful with methods when I get to the structure of lists),
li sts, since it lets you create a li st of data so program editing is possible . But simply
which isn't intended for evaluation. evaluating fixed li sts, eve n with editing, isn't
The complement of QUOTE is EV AL. a very flexible method of programming. It
This takes an arg ument, already evaluated would be more useful to have a program
once by the application mechan ism, and that can operate on altern at ive sets of data;
evaluates it again. The use of QUOTE and that is, to run it with one set of data, then
EVAL provides one way of writing a pro- run it again on different data. This can be
gram for later repeated use ; at some point done, of course, by SETQing variables on
you write: which the program will operate. But this

BYTE D<cember 1977 157


Circle 140 on inquiry ca rd.

ATLAST! means th at each program must operate on


different variables, or else bookkeeping
problems start coming up . A more convenient
method, which LISP provid es, is to define a
Your idl e system can now come alive.
function which takes its data as a rguments.
Th e software scarcity is over.
A user defined function is a li st which has
the atom LAMBDA as its first element.
(This has its roots in a mathem atica l nota-
00 you need business programs?
tion called the lambd a-calculus.) Th e seco nd
Ledger? element of this list is a list of ato ms. These
Accou t General atoms are the para meters of the function,
N
n S PaYable? that is, the things that catch th e arguments
~ to the function . After the list of parameters,
X
o
co Accounts Receivable ? any number of expressions can follow .
c:i The use of functions with parameters is
a.: familiar to FORTRAN programm ers, and
. gf"J?
. 3.\ Bi\\ln . t1.1aIling/.
·
.
many versions of BASIC provide it in a
NledlC Payroll?? ISIS? simple form. What happens when a user
~ defined function is called is this: First, the
"'0 old values of the atoms on the paramete r
Q)
:!::: BASIC interpreters ... or just a monitor??? list are saved on -astack. Then the param-
E ete rs are given the values of the cor-
c We can suppl y them . - and we ca n supply- responding arguments. (There must be one
::> them in 8- level paper tape, a variety of audio parameter for each argurnent.) Nex t, the
Q) cassette form ats and on some f loppy di sk remaining expressions of the function are
.... evaluated in order. The value of the last
co form ats.

-~
+-'
a
en
Write for our software ca tal og -
P. S. We buy programs either outright or on a-royally basis.
ex pression is the value of the function. After
this value is found, the old values of the
atoms on the parameter list are restored
from the stack. Thus, as far as the outside
world is concerned, these atoms were never
touched .
There are various methods for setting up
function definitions in various implementa-
tions, and the method in Weissman's book is
distinctly confusing. A straightforward
method is to let the function be the value of
an atom. Then to define a function, you
wou Id just have to enter
(SETQ FUN (QUOTE (LAMBDA( ... ) ... )))
At any later time you could simply use
(FUN args) to apply the function.
There is, incidentally, no objection to
using a function from inside itself. This
method is called recursion, and it is often
useful to break up a complicated case into
simple ones. The idea is this : Your function
examines its argument. If the argument is a
simple one, it just returns the value. Other-
wise, it finds a simpler case which has a
known relation to th e case at hand , and
calls itself with an argument for the simpler
case. For instance, the factorial function
(FACT X), which returns X * (X - 1)
*(X - 2) * .. . * 1, could be written:
(SETQ FACT
(LAMBDA (X)
(COND ((LESSP X 2) 1)
((* X (FACT (- X 1)))))))
(Note the use of arithmetic operators as

158 BYT E December 1977 Circle 136 on inquiry card.


r --------I
Circle 49 on inquiry card .

functions in this examp le.) Th e important 16K RAM-


thing to rememb er in recursion is that th ere
alw ays has to be a simpl e, non recursive case
on whi ch all the rec ursive cases are built;
II FULLY STATIC
INTRODUCTORY
$450 KIT PRICE
otherwise, yo u will fi nd yo urse lf blowing

II
you r stack without getti ng a res ul t.
Input and outpu t in LISP are simple. Th e 10 SLOT TABLE TOP
funct ion READ reads one LISP ex press ion
and ret urn s t hat expression as the valu e of I \ '
MICROCOMPUTERS
TT-8080 ... KIT $475
SYSTEM WITH 16K & I/O

I
the function call ; the functi on PRINT prin ts
TT-8080-S ... KIT $11251
the va lu e of its argument. Argum ents to
these two functions are necessari ly im-
plementation dependent; they may include
the name of t he device or so me other indica- I CARD CAGE
& MOTHER BOARD
I
tion of where to go for the 10 function.
A good system will also provide other func-
tio ns, including ways of reading single I ", ~-_,_-_-.";
ECT-l00 ..• KIT $100
WITH CONNECTORS
& GUIDES
ECT-l00-F ... KIT $200
I
characters and co ntro lling output formatting.
A desirable (but ex pensive) functi on wou ld
be one that printed a list in a readab le in-
I ~.. CPU'S , MEMORY
MOTHER BOARDS II
dented format.
And now for the question that everyone
has been aski ng: What are lists really li ke?
I PROTOTYPING BOARDS

.
EXTENDER CARDS
POWER SUPPLIES I
A list rea ll y has only two parts, the first
element and all the rest. These are called the I DEALER INQUIRIES IN~I~~D SHIPPING EXTRA
car and the cdr, respectively, of the li st.
(Legend has it th at these names co me from
I I
-------
the old IBM 704 implementation of LISP, P.O. BOX 6, UNION, NEW JERSEY 07083
where they stood for "contents of add ress of
register" and "conte nts of decrement of
register. ") Th e cdr of a list is itself a li st,
L (201) 686-8080 .-

containing all the elements but the first.


In the case of a one element li st, the cdr
is the atom NIL which we met ear li er in
connection with CONDo LISP takes NIL
to be a li st of zero elements; it can be
treated as a list in most ways, and can be
wri tten as (); but, of co urse, it has no car
or cdr. The functions CAR an d CDR are
avai lab le for taking the car an d cdr of a
list. There are also two fun ct ions, ca ll ed
RPLACA and RPL AC D, for chang in g the
car and cdr of an existi ng list.
This system lets you have pointers into
any part or sublist of a li st. For instance, if
Y is some li st, yo u mi ght use Don Lancaster's ingenius design provides software
(SETQ X (C DR V)) controllable options including:
• Scrolling • Full performance cursor
to get a version of Y with o ut its first ele- • Over 2K on-screen characters with only
ment. Both of these variables will t hen share 3MHz bandwidth
the same sto rage; therefore, a RPL ACA or
• Variety of Iinelcharacter formats including
RPL ACD on X will change V's value. The 16/32, 16/64 .... even 32/64
moral: Hand le shared lists with care!
Unfortunately, the cost of the car and • User selectable line lengths
• • •••• ••• •••• ••• • •• • ••• 0 ••••••••••••••••••••••••••••••••••••

cdr approac h is that indexing down a li st : TELL ME MORE! ( ) Send ins truction manual for the TVT-6 Kit :
is tedious. If you want the fifth element with full operational details . $1 enclosed. •
: ( ) SEND FREE CATALOG
of a list, yo u have to work yo ur way Name : _ _ _ _ _ _ _ _ _ _ __
through four cdr pointers and then take
the car . Th is isn't too bad when worki ng Address : _ _ _ _ _ _ _ _ _ _ __

linearly down a li st, si nce a var iab le can be


set to success ive cdrs to get each eleme nt; : ELECTRONICS. INC. City: State : Zip: _
but it does slow down random access. : DEPT. 12-B, 1020W.WILSHIRE BLVD., OKLAHOMA CITY. OK 73116 .
.......... ..... ... ......... ... ............ ... ..... ... ........ .
Circle 87 on inquiry card. BYTE December 1977 159
Circle 80 on inquiry card.

Th e function which builds up lists is


ca ll ed CONS. CONS takes two arguments:
The first becomes thl' car of the new list,
and the second becomes the cdr. Th e argu-
ments themselves are unchanged; what
happens i's that a new structure is created to
encompass them both. This new structure
is all ocated from a pool of free storage.
Using CONS is one of two ways to create
new li sts; the other is READ (which uses the
equ ivalent of CONS internally), or the inter-
preter's top level reader.
But if you keep CON Sing things, won 't
you eventually run out of free storage? Yes,
this would be true if nothing were done to
prevent this situati on. But storage can often
be reused. A list may be entered once and
then forgotten; a var iable may be reassigned,
leav ing its old value in limbo. This storage
can be reclaimed by a routine called a
garbage collector. Whenever the interp reter
fi nds itself running out of storage, it can ca ll
the garbage co ll ector, which finds storage
that is available for reuse and designates
it as such.
Garbage co llecti on, unfortunately, is a
slow process. Whenever it has to be done,
the syste m comes to a comp lete halt for a
few seco nd s. This ca n create problems for
real time applications. I have heard reports,
however, of a LISP system being developed
which does its garbage co ll ectio n in small
chunks, so the waiting is distributed more
The Great eve nl y. Garbage collection is the price that
has to be pai d for dynamic storage all oca-
tion, unless you want to keep track of all
International all ocated storage exp licitl y_
Now for the interpreter itself. Interactive
LISP is run in a READ-EVAL-PRINT loop.
Math On Keys That is, an expressio n is entered, it is eva lu -
ated, and its value is printed. Th e mec hani sms
used for these operations are identical to
Book those of READ, EVAL and PRINT respec-
tively. Thi s mean s that a LISP function
From Texas Instruments
ca n start up its own eq uivalent of the inter-
Do you need a numerical algorithm for calculating exchange preter anywhere the programmer chooses;
rates in a hotel on a foreign trip ? Or figuring those this is often useful for debugging programs.
mysterious "points" when facing the sanctimonious charisma You might, for instance, place a READ-
of a banker at mortgage arrangement time? This book is a
compendium of simple explanations and step by step
EVAL-PRINT loop as the first thing in a
procedures for accomplishing numerical solutions to function, giving it a provision for exiti ng, so
numerous commonly encountered situations in daily life. that yo u could look at its parameters and
Each entry is characterized by a statement of the problem, decide if they are val id _ Th is gives you an
including the elements of theory required , and the keystrokes
abi lity corresponding to breakpoints in
needed to solve the problem on an algebraic entry calculator.
This is an invaluable sourcebook of information for the machine langu age debugging.
person who is inclined to manipul ate numbers. $4.95, plus 50 But how do you do looping? The fu nc-
cents postage. tions which allow this are PROG and GO.
For conve ni ence, use any
of the coupons on pages PROG constructs are similar to user defined
Send now to: 123 , 125 or 167, writing functions, except that PROG is used in pl ace
BITS, Inc. in this book's title . Pro - of LAMBDA and the construct isn't app li ed
70 Mai n Street cessing may occasionally
to any thing_ Th e parameters are NIL, or
Peterborough N H 03458 exceed 30 days.
else indeterminate, at first. Th e function GO
Master Charge and BankAmericard Welcome. ca n be used within a PROG construct, and

160 BYTE December 1977 Circle 12 on inquiry ca rd .


Circle 13 on inquiry card .

nowhere else. Its one argument is an atom;


it treats that atom , which is not evaluated
as a statement labe l and goes to that labe l:
if it ex ists in the PROG. For instance, a
nonterminating READ-EVAL-PRINT loop
co uld be written thus:
(PROG ()
A
(PRINT (EVAL (READ)))
(GO A))
PROG s can put a GO inside a (OND
expression to allow for conditional branches. That's right, if we don't se a unch of our
Finally, LISP is an expandable language . BASIC SOFTWARE VOLUME 1 albums
Its costly features (in terms of designing the quick, we'll get fired! Included are lots 'n' lots
interpreter) are data defi nition, input and of your favorite Basic programs such as
output, gar bage collection, and a design that LUNAR LANDER and BLASTOFF!, plus new
permits recursion. Once this exists, individual ones like MAILING LIST, FOURIER FIT and
functions are fairly cheap . This means that AMPLE ANNIE. Plays through your Tarbell,
with sufficie nt documentation , th e user Kansas City or Altair cassette interface (we
could add his or her own machine language coded all three ways). Or make cassette
functions to perform special ized operations copies. Only 6 bucks. Don't be a dummy, or-
(eg: graphics). LISP interpreters might even der today! Satisfaction guaranteed or money
be sold in a minimal version, with add on back.
modules ava ilabl e for larger memory sizes.
(No, I can't say right now how much mem o-
ry that minim al version would take.)
$6 to: SOFTWARE RECORDS
PO BOX 8401-B
UNIVERSAL CITY , CA 91508
LISP is not an all-purpose langu age. If
yo u like to do matri x inversions or quadratic
interpolations, you will find it outrageously
slow and awkward. But if you are interested
in symbolic work, if you are not frightened
by the unu sual, if ease of use is more impor-
tant to yo u than speed, and if your compu-
ter has the capacity, LISP may be your 16K X 8 BIT RAM MEMORY
best choice.- STATIC OR DYNAMIC
HAVE IT YOUR WAY!!!!!!

GLOSSARY

Atom: a variable or literal used in a list .

Car: the first element of a list .

Cdr : all elements of a list except the first element.

Dynamic storage allocation: the ability of a pro-


gram to get the storage space it needs as it is
DYNAMIC RAM STATIC RAM
executing .
• Sphere Plug Compatible • Sphere Plug Compa tible
Garbage collector: a routine that searches the • 270 NSEC Access Time • Easy Home Brew Interface
storage space for previously used memory space • 470 NSEC Read/ Write Time • 150 NSEC Access Time
that is no longer needed and allocates these memory • Fully Socketed • 300 NSEC Read/Write Time
nodes as fre e space. • Low Power • Fully Socketed

Interpreter: a program that analyzes an instruc-


tion and executes it before going to the next
instruction .

List: a data structure, represented as a sequence WWW ENTERPRISES


of elements enclosed in parentheses.
P. O. BOX 548
NIL: an atom that doubles as a list of length zero. HARBOR CITY, CA. 90710
Recursion : the ability of a function to repeatedly (213) 835-9417
call itself.

Circle 131 on inquiry card. BYTE Decemb er 1977 161


Relative Addressing for the 8080

James P Gaskell An essential characteristic of any com- independent of where the program is located
Griffon Industries puter is the ability to branch as a result of a in memory. That is, if the whole (object)
Austin Rd decision. These jumps, or branches, can be program is moved to a new area of memory,
Amherst NH 03031 done with target addresses determined in a the jumps are- still valid. It is not necessary
number of ways. Examples include absolute to reassemble or explicitly relocate a pro-
(direct) jumps, indirect jumps, indexed gram every time it is moved around in
jumps and relative jumps. memory.
The instruction set for the 8080 pro- In order to implement this routine, three
cessor includes explicit absolute jumps, steps have to .be taken. First, a short pro-
both unconditional and conditional. It gram must be entered into memory. Second,
also has one indexed jump (although it a section of memory must be set to a con-
allows for no offset). Unfortunately , the stant. Third, some macroinstructions must
instruction set does not include any rela- be added to the 8080 assembler. (Macroin-
tive jump instructions, instructions which structions are assembly language instructions
are necessary if position independent pro- that are expanded into a sequence of ma-
gramming is to be accomplished . However, chine language . instructions during as-
_a routine can be used that simulates the semb ly.) After these steps are taken, relative
desired result, thus enh ancing the 8080's jumps can be written in a straightforward
usefulness to programmers. fashion in assembly language.
A rel at ive jump goes to a specified offset First, the program shown in listing 1 must
from the present addl·ess. In structions of be entered into memory. It is important that
this type allow jumps within a program to be this program start at hexadecim al address

Hexadecimal Hexadecimal Label Op Operand Commentary


Address Code

0038 22 4B 00 ENTER : SHLD TEMP1 Save HL


003B E1 POP H HL = (THERE - HERE
+ BIAS + 1)
003C EB XCHG
003D E3 XTHL TOS = Original DE
HL = (HERE + 3)
Listing 7: A program used 003E F5 PUSH PSW Save PSW
003F 19 DAD D HL = (THERE + BIAS + 4)
to perform relative jumps 0040 11 FC 3F LXI D, - (BIAS + 4)
on the 8080 processor. 0043 19 DAD D HL = THERE
A block of memory must 0044 F1 POP PSW Restore PSW
0045 E3 XTHL TOS = THERE
also be set aside for the HL = Original DE
RST 7 instruction, and 0046 EB XCHG Restore DE
0047 2A 4B 00 LHLD TEMP1 Restore H L
the macroinstructions 004A C9 EXIT : RET Jump THERE
listed in table 7 must be 004B 00 TEMP1 : Nap 2 bytes of
added to the assembler temporary
004C 00 END : Nap storage
to allow this program to
work. Note: In this l isting, BIAS = COOO and TEMP1 = 004B .

162 BYTE December 1977


0038, because it will be entered during exe-
cution via a ReSTart 7 instruction. Also, Macro Macroinstruction Assembled Instruction
since TEMP1 is used for data storage, it is Number
necessary that TEMP1 be located in pro-
1 JR LABEL CALL (LABEL - $ + BIAS)
grammable memory and not in read only 2-9 JR (FLAG) LABEL C (FLAG) (LABEL - $ + BIAS)
memory.
Second, a block of memory must be set Note 1: $ means the location of the current instruction.
to the RST 7 instruction. The larger the Note 2: (FLAG) means any of the eight condition flags, ie: NZ, Z,
block, the greater the range of the relative NC, C, PO, PE, P or M.
jump instruction. An address near the
middle of this area shou ld be chosen as the
BIAS address. The machine language code Table 7: The nine macroinstructions which enable the assembler to perform
for the RST 7 instruction is hexadecimal FF. reiative jumps on the 8080 processor.
This fort uitous coding permits an easy way
to meet the present requ irement. Select an
area of (logical) memory where no hardware
memory exists. If the data bus has pull up
resistors, doing a memory read to these
locations results in reading hexadecimal FF. I nstr
Third, macroi"nstructions should be writ- HERE: JR THERE ; CALL (THERE - HERE + BIAS)
I nstr I
ten for the assemb ler so that it will do the N locations
computations necessary to implement the I nstr +.
THERE: Instr ; Address = (HERE + N)
relative jump. Since relative jumps can be Instr
done either unconditionally or based on
either state of any of the four flags, this
requires that nine macroinstructions be
wr·itten. Table 1 outlines what has to be
done. If your assemb ler cannot handle
macroinstructions, or if you do not have
an assembler, you must enter the proper
RST 7
CALL instruction as shown in th~ table. BIAS: RST 7 ; Contents = F F
To help in understanding the theory RST 7 I
of operation, refer to figure 1. Since we N location s

wish to jump from HERE to THERE, we


RST 7 +
RST 7 ; Address = (THERE - HERE + BIAS)
insert J R THERE (= CALL (THERE - RST 7
HERE + BIAS)) at HERE. This instruction
pushes (HERE + 3) onto the stack and
jumps to the location (THERE - HERE +
BIAS) . At this new location we have made
sure that the contents are equa l to hexa-
decimal FF (= RST 7). This instruction Figure 7: A n illustration of relative addressing as it is performed 017 the 8080
pushes (THERE - HERE + BIAS + 1) onto processor. The program jumps from HERE to THERE.
the stack and jumps to hexadecimal 0038.
At 0038, we find our program. This program
first saves the contents of selected registers. and relative jumps does not affect the
It then pops the top two words off the stack length of the object code. As requirements
and adds them together to give (THERE + change (basically, relocatability versus
BIAS + 4). After (BIAS + 4) is subtracted execution speed) it shou ld not be difficult
off, we are left with THERE. This address to alter the coding.
is pushed onto the stack and the registers In summary, the ability to do relative
are restored to their original conditions. The jumps can be added to an 8080 based
final RETurn does a jump to THERE. system. The working program requires
This routine uses four bytes in the stack on ly 21 bytes with perhaps another
and takes 78.5 IlS (with a 2 MHz clock, couple of hundred bytes located elsewhere,
ignoring memory wait times) to execute. so the demand on memory space is quite
For comparison, the abso lute jump uses low. In a typical app li cation of relative
no stack locations and executes in 5.0 IlS. jumps, object programs are pulled off a
This routine returns all registers in their mass storage unit, placed in any avai lab le
original states (except, of course, PC). memory, and immediately used. This
After the overhead is established, · each examp le shows some of the strength of
relative jump requires three bytes, which this kind of jump and some of the reason
is the same as the abso lute jump. This for the experimenter to add this capability
means that switching between absolute to his/her operating system.-

BYTE Oecemher 1977 163


Save Software:
Use a UART for Serial 10

Fr Thomas McGahee In my opinion suppliers of software for Handshaking


Don Bosco Tech microprocessors should refrain from writing
202 Union Av The key to an effective 10 scheme is a
their software for serial 10. Before you beat
Paterson NJ 07502 little thing we call "handshaking." Hand-
me over the head with your expensive Tele-
shaking is a technique wherein two devices
type, let me explain myself further.
communicate their status to one another.
Much of the software for serial devices
For instance, if the computer gives the exter-
such as Teletypes is written in such a way
nal 10 device a signal that indicates that it
th at the software itself provides the parallel
has valid data available on its output port,
to serial and serial to parallel conversion and
and the external device, after accepting
timing necessary to allow the Teletype to
communicate with the computer. fA prime and processing this data then provides the
example is the Motorola 6800'5 MIKBVG computer with a signal that indicates it is
program.} This may save the price of a ready to accept a new input, this is hand-
UART, but it also ties down a complicated shaking.
memory program to emulate a UART. I How can we provide this handshaking?
propose that instead of writing the software Well, a UART already provides handshaking
for a serial device, all software be written for signals. For that matter, most external 10
parallel 10. If provisions are made for the devices do or can provide the necessary
"handshaking" status information, then the signals needed for handshaking. What is
parallel information can be easily converted needed is a way to communicate this
to serial information if desired by using a information to the computer.
UART. With proper handshaking and a The first technique that might come to
UART, the speed of serial 10 can be made mind would be to use a special input and
independent of the software, allowing the output port to communicate status infor-
user to choose 110 bps or any other desired mation. As it happens, the ASC"II code
speed as presented to the UART clock
inputs. All the user has to do is provide th'e
desired clock rate. Further, such parallel
handshaking would allow parallel devices Figure 7: A circuit for setting up hand-
such as the SwTPC TVT II to be used at shaking between a computer and a VA RT.
speeds of several hundred characters per The eighth bits of the input and output
second instead of 10 per second . ports are used to indicate whether the data
If properly designed, a parallel 10 inter- has been sucessfully transmitted and the sys-
face can offer the following advantages: tem is ready to transmit the next bit of
information. This circuit can be adapted to
1. External 10 devices may be serial or any 8 bit computer. IC4 is a standard VA RT
parallel. part, an asynchronous data interface. Some
2. External 10 devices may be made integrated circuit part numbers which may
to run at a data rate up to their maximum be used for IC4 are: the COM 2502 and
speed. COM 2077 by Standard Microsystems, the
3. External 10 devices may be mixed; 2536 by Signetlcs, the A Y 5 7072, by
ie : a parallel input and serial output or vice General Instruments, the TMS 6077 by
versa. Texas Instruments, the TR 7602 by Western
4. Changing from one external 10 Digital, and the 57883 by American Micro-
device to another would require at most a systems. All resistances are measured in
change in a few jumpers. ohms and all resistors are!4 W.

164 BYTE Dece mh e r 1977


Power Wiring Table III
~
Integrated
Circuit Type +5V GND -12 V ~
~
IC1
IC2
7400
74123
14
16
8
8
-
-
.
'"
.0
E
IC3 74123 16 8 - u
IC4 UART 1 3 2 o
w
>-
>-
'"
+5V
l'
RI +5V
10K CI
100pF
+5V
6 Hh 14 6
L...-,..o'
19
---- RCVR DATA AVAIL-ABLE
31 CLR ~1:)';lT CEXT II CLR (RDAI ~INPUT
ROB 5 17 STATUS
I C2A I C 2B
74123 74123 25 TRANSMITTER R07 6
21B Q4 · 10. B OUTPUT
{
TO
A GND A
8
--------- 9 ~~~~~NICATIONS R06 7
DEVICE 20 RECEIVER
R05 B
INPUT
R04
9
13
~INPUT (INPUT
0
DATA PORT
10
R03
221TRANSMITTER II
BUFFER EMPTY R02
ROI 12 LSB
IC 4
(S EE CAP TION
FOR TYPICAL Tli 26 LSB
PART NUMBERS) -
27
+5V Tl2
28
+5V TI3
~TO
R3
~C4h
29 (OUTPUT
10K C3 TI4 0 OUTPUT
DATA
1.00pF R4 100pF 30 PORT
+5V
h ~h 10K TI5
8 RECEIVER DATA AVAILABLE 31
I RESET (RDAR) TI6
15 14 6 32
------ TI7
REXT
C EXT
I C 3A

C EXT
II CLR
IC3B Q 12
U 23 TRANSMITTER DATA _
STROBEHDS)
Tl8
33
, S T A R T OUT-
PUT AND
74123 -Q 4 74123
21B 10 B RESET
A GND A RECEIVER
-----
I 8 9
JL
Octal (Page 0) Octal
Address Op Code Operand Mnemonic Commentary

100 113 INP 005 ASCII input routine using input port 005;
101 310 LBA input data into register B;
102 174 200 CPE 200 check if most significant bit is high;
104 150 100 000 JTC 000100 if bit not high continue input loop;
107 106 123 000 CAL 000123 echo ASCII character;
112 044 177 NDI 177 strip off most significant bit;
114 310 LBA registers A and B contain ASCII character;
115 007 RET return;
123 250 XRA ASCII output routine using output port 015;
124 133 OUT 015 clear output port;
125 301 LAB load ASCII character into register B;
126 133 OUT 015 output ASCII character;
127 113 INP 005 check most significant bit of input port
130 074 200 CPI 200 to see if it is high;
132 100 127 000 JFC 000127 if bit is high continue checking loop;
135 301 LAB restore ASCII character to register A;
136 007 RET return;

Listing 7: Typical software routines for parallel 10 handshaking. This listing is represented
in octal for an 8008 processor. A subroutine of this sort can be used at a wide variety of data
rates since the receiving device will indicate whim the next byte of data is to be sent. The deter-
mining factor for data transmission rate is the speed of the VA RT's clock.

universally used by small computers only section's data available line to a low level. At
requires seven bits to define all the regular this time the RS flip flop maintains the
characters: upper and lower case, numeric, input port's most significant bit at a high
special symbols and control characters. Thus level.
we have the eighth bit, the most significant Having echoed the ASCII code back to
bit, available for use as a status bit. the UART, the software can now wait
Figure 1 shows one way of setting up with a loop testing the most significant
handshaking between a computer and a bit of the input port for its low state~
UART. The receiver of the UART has the Meanwh ile the UA RT transmitter section
seven necessary data lines connected directly is busy sending out serial data. When it
to the input port. The eighth bit of the is done, or at least when it is ready to accept
input port is connected to a simple RS flip more data, the transmitter buffer empty
flop formed by two cross coupled NAND will go high. Oneshot IC2A detects the
gates. When receiver data available (RDA, rising edge and produces a few hundred
pin 19 of the UART) goes high, indicating nanoseconds of delay, and then oreshot
that the receiver section has valid data, this IC2B produces a negative pulse that
signal is inverted and fed to the RS flip flop, resets the RS flip flop. The software detects
causing the most significa nt bit of the input this when the most significant bit at the
port to go high. This high level at the most input port goes low. This indicates that the
significant bit can be detected by the soft- output operation has been successfully
ware in a wait loop. [This status line can completed. The system is also ready to
also be used to trigger an edge sensitive inter- accept more input at this time.
rupt. . . CHj Note that while the example shown was
Once the software has acquired the data, for a UART, no restrictions were made on
in most situations it calls for an echo, which the speed at which the UART was being
uses the output ASCII routine. The software clocked. Because we use,d handsha king logic
first clears the output port, insuring that the signals we can run our UART at whatever
most significant bit is low. Then the ASCII clock speed we desire.
and the high most significant bit are sent to By using a handshaking method such as
the output port. The low to high transition th is, the software is reduced to periodic
of bit 07 is detected by oneshot IC3A which checking of the status bit. Output characters
causes a few hundred nanoseconds of delay can be sent at any time, not overlapping
before causing oneshot IC3B to output a receipt and echo of an input character. The
negative pulse. This negative pulse is fed to only other restrictions on use of th is tech-
the transmitter data strobe pin of the nique are that a dummy character must be
UART,. which causes th e data from the sent out when the system is initialized, and
output port to be loaded into the UART's of course the UART clock rate input must
transmitter buffer. At the same time the be matched to the rate of the terminal or
receiver data available pin of the UART is other communications device at the end of
also pulsed low, resetting the ' receiver the serial transmission channel.-

166 BYTE December 1977


~-------------------------------------------------~
We Speak Your Language ...
Practical Microcomputer Programming: _~ The First Book of KIM . Attention KIM
The Intel 8080 by W J Weller, A V Shatzel, $9.00 users! Here is the book you've been waiting
and H Y Nice. Here is a comprehensive for. I n it you'll fi nd a begi nner's guide to
source of programming information for the THE FIRST the MOS Technology KIM-1 microcomputer
present or prospective user of the 8080 as well as an assortment of games including
microcomputer, including moving data, BOOK Card Dealer, Chess Clock, Horse Race,
bi nary arithmetic operations, multipl ication OF Lunar Lander and Music Box. Also featured
are diagnostic and utility programs for
and division, use of the stack pointer, sub-
routines, arrays and tables, conversions,
KIM testing both the computer and external
decimal arithmetic, various 10 options, real equipment (such as cassette recorders), and
time clocks and interrupt driven processes, chapters on expanding memory and con-
and debugging techniques. ORB trolling analog devices. This 176 page
This 306 page hardcover book is well volume should prove an essential addition
worth its $21.95 price and should be in to any KIM user's library. $9.00 .
every 8080 or Z-80 user's library.
_~ Top Down Structured Programming
Techniques by Daniel McCracken who has
A called structured programming "a major
COLLECTION intellectual invention ." What is structured
OF
PROGRAMMING programming? Clement McGowan and
PROBLEMS John Kelly answer this question in their
AND lively, well written book, Top Down Struc-
TECHNIQUES
tured Programming Techniques. Discover

~
~~-
"
.!'- ;~~.:.:
the three basic types of flowcharts and
-- 'W

~
how to optimize them. One section deals
with the best ways to manage programs
being written by a team of programmers.
, /"" Kx ~ An important feature of this book is its
universality: practically any program in any
language can be improved by using the ideas
A Collection of Programming Problems described in it. $15.95.
_ 6800 Programming for Logic Design
and Techniques by H A Maurer and M R
Williams. Here is a book that presents you _ 8080 Programming for Logic Design by
with problems~nearly 400 of them: pro- Adam Osborne. These books are sequels to
blems and games like chess, bridge, NIM; Adam Osborne's previous books, An Intro-
practical problems such as applications of duction to Microcomputers, volumes 1 and
the law of science, Kramer's rule for solving 2. They explain how an assembly language
simultaneous equations, and applications in a microcomputer system can replace
of Latin squares to problems of probability; combinatorial logic such as TTL logic and
and more advanced computer science topics the like. If you're a logic deSigner, you'll
such as the use of Backus Naur form. One discover how to do your job in a new way.
quarter of the book is devoted to an appen- If you're a programmer, you'll find many
dix that gives stymied readers hints on how new and valuable techniques including the
to proceed with solutions of the problems. use of macros, high level languages, peri-
The most valuable feature of the book is its pheral interface adapters (PIAs), and so 9n.
careful and thorough ex~lanation of the Also incl uded are complete chapters on
use of algorithms to solve problems. No assembler language, direct digital logic
dyed-in-the-wool programmer or experi- simulation, and large sections devoted to
menter will be able to read this book for the implementation of all these ideas
very long before trying to solve the tanta- using the Motorola 6800 processor and
lizing and well presented problems. $13.50. the 8080 processor. $7.50 each.

DIAL YOUR ORDERS ON THE BITS TOLL FREE HOT LINE: 1-800-258-5477.
In New Hampshire, call collect: 924-3355 Check Payment method:

--
Send to: ' _ _ My check is enclosed
• _ _ Bill my MC No. _ _ _ _ _ _ _ _ _ _ _~ Exp. date _ _ _ __
BITS, Inc.
70 Main Street
mA' ,-
_ _~Bill my BAC No. Exp . date _ _ _ __
Peterborough NH 03458
i Total for all books checked $,---
I Name
Postage, 50 cents per book lor _ _ _ books $_--
: Address
Overseas, 75 cents per book for ___ books $_-
I City Stille . Zip Code
I
Grand Total $--
I
I Signature Prices shown are subject to change without notice.
I All orders must be prepaid.
I You may photocopy this page il you wish to leave your BYTE intact. In unusual cases , proces'sing may exceed 30 days.

~-------------------------------------------------~
Circle 12 on inquiry card. BYTE December 1977 167
Stan Skoglund

Diddle 5757 Avenida Sanchez


San Diego CA 92124

Listing 7. OCTAL

000377 SWITCH : EaU 255 ;ADDRESS OF SENSE SWITCH POR T

000000 ORG 000000

"DIDDLE " VERSION 1.0


,
000000 076 START : MVI A,3 ;INITIALIZE D ISPLAY PATTERN
000001 003
000002 016 BEGIN : MVI C,O ;INITIALIZE DIRECTION COUNTER
000003 000
000004 107 RUN : MOV B,A ;MOVE DISPLAY TO B-REG
000005 021 SPEED: LXI 0 ,64 ;INITIALIZE TIMER DURATION COUNTER
000006 100
000007 000
000010 041 LX I H,O ;INITIALIZE TIMER BASE
000011 000
000012 000
000013 002 DSPLY : STAX B ;DISPLAY BIT PATTERN VIA ADDRESS LIGHTS
000014 002 STAX B ;00 IT AGAIN TO MAKE IT BRIGHTER
000015 002 STAX B ;AND BRIGHTER ....
000016 002 STAX B ;AND BRIGHTER ....
000017 002 STAX B ;AND BRIGHTER . .. .
000020 002 ' STAX B ;AND BRIGHTER .. ..
000021 002 STA X B ;AND BRIGHTESTI
000022 031 DAD 0 ;ADD TO TIMER BASE . TIMER ELAPSED?
000023 322 JNC DSPLY ;NO , GO BACK AND DISPLAY AGAIN
000024 013
000025 000
000026 333 IN SWTCH ;OT HERWISE READ SENSE SWITCHES
000027 377
000030 376 CPI 0 ;DOES PLAYER WANT DISPLAY TO STOP?
000031 000
000032 312 JZ SPEED ;YES, GO BACK AND RE -ISSUE SAME DISPLAY
000033 005
000034 000
000035 062 STA SPEED+1 ;OTHERWISE SAVE NEW SPEED
000036 006
000037 000
000040 014 INR C ;BUMP DIRECTION COUNTER
000041 171 MOV A ,C
000042 376 CPI 63 ;TIME TO RESET DIRECTION COUNTER ?
000043 077
000044 362 JP RESET ;YES, JUMP TO RESET SECTION
000045 063
000046 000
000047 376 CPI 31 ;SET STATUS WORD
000050 037
000051 170 MOV A ,B ;MOVE PATTERN INTO A-REG .
000052 007 RLC ;SHIFT PATTERN 1 BIT TO THE LEFT
000053 372 JM RUN ;JUMP IF STILL MOVING IN LEFT DIRECTION
000054 004
000055 000

000056 017 RRC ;SHIFT PATTERN 1 BIT TO THE RIGHT


000057 017 RRC ;SHIFT PATTERN 1 BIT TO THE RiGHT
000060 303 JMP RUN ;GO DISPLAY NEW PATTERN AT NEW SPEED
000061 004
000062 000

THIS SECTION IS EXECUTED AFTER PATTERN HAS MOVED 4 TIMES TO THE


LEFT AND 4 TIMES TO THE RIGHT.

000063 170 RESET : MOV A ,B ; MOVE PATTERN INTO A -REG.

THIS NEXT LOCATION CAN BE LOADED WITH OCTAL 057 WHICH WILL
ADD A LITtLE ZIP TO DIDDLE .

000064 000 NOP ;CHANGE TO CMA


000065 303 JMP BEGIN ;GO START OVER AGAIN
000066 002
000067 000

168 BYTE December 1977


"Diddle" is a game program in which one be a winner. If you cannot do this,
can sit with an Altair 8800 computer and then you are not a bonafide winner,
diddle around for some time without solving but just a diddler.
anything. The pure satisfaction of beating • In all cases the burden of proof is left
the game makes it all worthwhile. to the player, not the judges. However,
The object of Diddle is to stop the the judges' d2cision is final.
moving pattern in address lights A12 and
A 13 while it is approaching from the right. Theory of Operation and
If this is done within the rules and regula- General Notes on Diddle
tions you are considered a winner. Of The display pattern is shown in the
course, almost everybody wins at the slower address LEDs by executing a STAX B
speeds, while only 'a selected few are tal- instruction which causes the 8080 pro-
ented enough to beat the computer in the cessor to output 16 bits of information to
high speed race. Try your luck! the address bus. The choice of the ST AX B
Load Diddle via the front panel instruction was made so that the B register
switches, referring to listing 1. For those of could contain the display pattern. To
you wishing to make paper tapes or Xerox modify the display, it is only necessary to
copies of this listing, be my guest. Diddle is modify the B register and then execute the
public domain software. STAX B instruction. This method of display
requires keeping in mind some other con-
Program Operation: siderations. For instance, remember that the
processor is also putting onto the address
• Select the program starting address
by setting all the address switches bus the location of each instruction it
fetches from memory and therefore, in
off (down).
order to control address LEDs A8 thru A 15
• Press examine.
via the B register, the ST AX B instruction
• Press run.
must be located in low memory (below
• Set address switch 10 up. Observe a
octal address 377). Try relocating Diddle
pattern moving in address lights A08
to octal 10000 and you will see that the
thru A 15. Watch it for a minute or so.
display still rotates, but address LED A 12
Try to predict its behavior.
will always be on. Also, for the same reason,
• Set all the address switches down.
the maximum display pattern one could
Note that the pattern stops moving.
hope to achieve would be 13 bits, although
Now set address switch 10 up again.
Diddle only uses an 8 bit display.
The display in the lights should start
The speed of the rotating pattern is
moving again if the program is oper-
determined by adding a value to an accumu-
ating properly.
lative counter until it overflows. Of course,
• There exists a relationship between the
the larger the value, the quicker the counter
speed of the moving pattern and the
will overflow. The real trick with Diddle is
address switch used in the above steps.
that it lets the value be selected by the
Switches to the left of A 10 will cause
player at execution time. This is done by
the pattern to move faster, while
executing an IN instruction from port 255.
switches to the right will produce a
MITS has provided the ability to read the
slower motion. Only A08 thru A 15
front panel switches (A8 thru A 15) via
can be used. Program ignores switches
software using this port.
AOO thru A07.
The direction of motion of the display
pattern is determined by counting the num-
Rules and Regulation:
ber of rotations. Eight rotations will cause
• Once a player starts the pattern mov- the pattern to revolve once, 16 rotations will
ing, he must wait at least 5 seconds cause it to revolve twice, etc. The pattern
before making his move to stop it. is rotated in the left direction until the
This prevents a player from creeping counter reaches 31, then it is rotated in the
up to the stopping spot by toggling the right direction until it reaches 63. The
speed switch. counter is then reset and the cycle begins
• The moving pattern must be approach- again.
ing the stopping position from the It is interesting to note that the contact
right when a player attempts his move. bounce of the front panel switches does not
• You must upon demand show that seem to affect the operation of Diddle. This
you can beat Diddle three out of is probably because the reflex time is much
three times at the speed you claim to larger than the contact bounce time.-

BYTE December 1977 169


Continued from page 69

address l400, to send to the divide rs, IC1S 22XX are written into . The pulse indicating
and IC19, for notes 1 and 2. Notes 2 and 3 addresses 20XX (2000 to 20FF) are being
are only in the low octaves Sand 6 so up to written into is combined with A7 toA3 and
three octaves may be played at once. I chose ¢2 to produce a negative pulse during phase
these to be in the lower octaves bec ause I two of the computer clock when locations
use them for rhythm and accompaniment. 1400 to 1407 are being written into. This
You may want to add other octave selectors short pulse is combined with /\2 to AO in
A two-sided printed cir- for more control, or add manual switches to IC7 to produce strobe pulses for the latches
cuit board and a kit of parts have notes 4 and 3 in any octave. during the SOO ns when the data is stable on
are now commercially avail-
able . The board alone is $19,
The data from the computer is strobed the data bus. Generating a tune is done by
and the complete kit is $39. into the latches by write pulses generated by storing (with a timed sequence) the appro-
The assembled, tested and the address decoder, ICS to IC7 (figure 4). priate data into locations 1400 to 1402 as
warranteed unit is $69. Send KS from K IM-1 is low whenever the sixth you would any other memory location . The
to : Meade Electronics, 511 1024 block of memory is addressed . KS S to 12 V level shifter is simply a high volt-
Meade Cir, Memphis TN
38122 . is combined in ICS with A9, A8 , and R/W age, open collector hex inverter, 7406.
to produce pulses when ad dresses 20XX to I n retrospect, diodes D1 to D4 are pro-

R W
Effective Actual Pitch Nearest
Nearby Integer Ratio Assuming Well Tempered
Musical Note N Key Note 256/N 1 MHz/(16 N) Ratio (R-W)/R

8 * 256 8 8 1.0000 244.14 1.0000 0.0000


252 9 14 1.0159 248.02 1.0000 0.0156
C * 242 11 11 1.0579 258.26 1.0595 0.0015
• 240 8 15 (10,12) 1.0667 260.42 1.0595 0.0068
234 9 13 1.0940 267.09 1:1225 0.0260
C# * 225 15 15 1.1378 277.78 1.1225 0.0135
224 8 14 1.1429 279.02 1.1225 0.0178
220 10 11 1.1636 284.09
D .* 216
210
9
14
12
15
1.1852
1.2190
289.35
297.62
1.1892
1.1892
1.1892
0.0220
0.0034
0.0245
208 8 13 1.2308 300.48 1.2599 0.0237
D# * 200 10 10 1.2800 312.50 1.2599 0.0157
198 9 11 1.2929 315.66 1.2599 0.0255
196 14 14 1.3061 318.88 1.3348 0.0220
195 13 15 1.3128 320.51 1.3348 0.0,:]0
E
F
.*
*
192
182
8
13
12
14
1.3333
1.4066
325.52
343.41
1.3348
1.4142
0.0011
0.0054
• 180 9 10 (12,15) 1.4222 347.22 1.4142 0.0056
176 8 11 1.4545 355.11 1.4142 0.0277
F# * 169 13 13 1.5148 369.82 1.4983 0.0110
168 12 14 1.5238 372.02 1.4983 0.0167
165 11 15 1.5515 378.79 1.5874 0.0231
G * 162 9 9 1.5802 385.80 1.5874 0.0045
• 160 8 10 1.6000 390.63 1.5874 0.0079
156 12 13 1.6410 400.64 1.6818 0.0248
G# * 154 11 14 1.6623 405.84 1.6818 0.0117
150 10 15 1.7067 416.67 1.6818 0 .0146
A .* 144
143
8
11
9
13
(12,15) 1.7778
1.7902
434.03
437.06
1.7818
1.7818
0.0026
0.0047
140 10 14 1.8286 446.43 1.7818 0.0256
A# .* 135
132
9
11
15
12
1.8963
1.9394
462.96
473.48
1.8876
1.8876
0.0045
0.0266
130 10 13 1.9692 480.77 2.0000 0.0156
B * 128 8 8 (next octave) 2.0000 488.28 2.0000 0.0000

• Diatonic major scale notes "best fit" to A = 440 standard .


* Best fit of diatonic major scale to equally tempered sca le based on B = 244.14.

Table 5: Table of possible intervals. Th e circuit of figures 7 to 4 produces the following set of possible frequencies assuming a
7 MHz central processor clock. In this table, outputs have been grouped near the equivalent well tempered scale ratio and fre-
quencies. The asterisk (*) indicates best fit for a logarithmic well tempered scale series starting at a ra tio of 7.0000, calculated
using a program on a pocket calculator. No tations in parentheses show effective integers derived by shifting to the next octave.
Note that with this calculation, use of "best" fit finds the note A in this octave at 434 Hz, 0. 7% flat with respect to the standard
A of 440 Hz. Table 6 picks a set from this table which is closes t to the standard pitches but not optimal with respect to equal
temperment.

170 BYTE Decemh" 1977


bably not needed since IC6 probably can't their multiplication by dividing by a smaller
supply enough current to damage IC3, number. To make this idea clear to you I've
even though the input vo ltage maximum to written out the ratios, divisors, output fre-
IC3 is specified as 5.5 V. The four extra out- quencies, and the data to be written into
puts on the quad latches are used with 24 locatio ns 1400 and 1401 (don't forget to
LEOs to give you a bonus light show, and write FF into 1402). For examp le, if hexa- LOAD ACCUMULATOR
are useful in figuring out what data is being decimal 34 and hexad ecimal F7 are written WITH OCTAVE AND
KEY DATA LOCATED
sent to the interface from the computer. The into 1400 and 1401, the 1.00 MHz clock AT SCALE + X
LEOs are lit with Os instead of ls at the J will be divided by (8x12x15x2) to give
inputs, so that the more lights, the lower an output frequency of 347.222 Hz .
the divisor and the higher the note . If you To play the major scale, your · memory
want the lights to read the same as the J should look like this:
inputs, reverse them and tie the anodes to Address Data
+12 V.
The middle seven octaves of the interface SCALE+O 34
eac h have 33 unique combinations of the SCALE+l F7
key and note dividers. I've made a list of fre- SCALE+2 40
quencies in one such octave. You'll notice SCALE+3 F2
right away that there is no way to get a per- etc
fect fifth if you use 244.14 Hz as the home The major and minor diatonic scales and
or "tonic" note. This is because to go up in the twelve note chromatic scale are not the
frequency by 3/2s, you need to al ready be only sca les that are pleasing to the human
dividing by a number that has 3 in it such as ear. With this interface you should be able to
9, 12, or 15. So if you want to change to a create new and pleasing musical scales, and
note that is a fifth from the tonic, 248.02 compose music which has never been heard
Hz, 260.42 Hz, 267.09 Hz etc can be used before. You can exp lore the sounds of inter-
as the tonic, but 244.14 Hz, 258.26 Hz, vals with frequency ratios of 7/4,9/5,9/7,
279.02 Hz can't be. Although this may seem and 7/6 which are not found in Western
restricting, remember that the octave here music. You should also be ab le to invent
L-_....::N:.::O<:DOES X"16
has almost three times as many notes as an some new and interesting cho l-ds since ?
octave on a piano. For the tritone inter- you will have more of the harmonic series
va l(s), yo u will find that 10/7 and 7/5 are avai lable to you. Just watch out for the
indistingui shab le from 64/45 and 45/32, critica l band by keeping your notes more
and are easier to use . than 50 Hz apart plus 25 Hz for each kHz.-
Now to get started using the interface, *CHANGE OCTAVE AND
let's write a program to play the do to do REPEAT OR RETURN

scale in both major and minor modes. To


keep it simple, we'll let note 1 play and Figure 5: Flowchart of a simple program to cycle through a series of note
keep the others silent. To silence notes codes found in a table indexed by register X, with 76 entries.
2 to 4, we need to store a 1 in bit 7 of
location 1401 and in bits 4 and 7 of loca-
tion 1402 . To hear anything, we also need
a 0 in bits 4 and 7 of location 1400 and Divisor Data
Ratio Octave Key Note 1400 1401 f KON1
to hear note 1, a 0 in bit 4 of 1401. One
set of data to accomp lish this is : 1/1 8 12 15 34 F7 347.2

r"i'
Q)
Second 9/8 16 8 10 40 F2 390.6
Address Data 0;
u Third 5/4 8 12 12 34 F4 434 .0
Vl Fourth 15 31 F7 463.0
1400 xy 4/3 8 9
1401 Fz ....0 Fifth
Sixth
3/2
5/3
8
8
12
12
10
9
34
34
F2
F1
520.8
578.7
2:
1402 FF Seventh 15/8 8 12 8 34 FO 651.0
Octave 2/1 4 12 15 24 F7 694.4
where x, y, and z are numbers less than 8
and the Fs are any number more than 7 1/1 8 12 12 34 F4 434.0

C"i'
Second 9/8 16 8 8 40 FO 488.3
(eg: hexadecimal E). Q)
0; Thi rd 6/5 8 12 10 34 F2 520 .8
u
If you look at the major and minor Vl Fourth 4/3 8 12 9 34 F1 578.7
mode sequences in table 1, "Key of C 0 Fifth · 3/2 8 12 8 34 FO 651 .0
.!:: Sixth 8/5 4 12 15 24 F7 694.4
Major," or in table 2, "Key of A Minor," 2: Seventh 16/9 8 9 9 31 F1 771.6
you' ll find that the major scale tonic must Octave 2/1 4 12 12 24 F4 868 .1
contain two 3s and a 5 in the divisor so
you can multiply by 9 and 15, and the Table 6: A selection of codes taken from the integers of table 5 and applied
minor sca le tonic must contain two 3s. to the hardware of figures 7 to 4, to create a major scale (tonic F relative to
The so ca ll ed "rate multipliers" also do A = 440) and minor scale (tonic A, relative to A = 440).

BYTE De cemher 1977 171


Circle 54 on inquiry card.

Continued from page 14

0-2 BINDER ADAPTERS


G
rescuing the small space cruiser, the captain
was being questioned concerning hi s actions
$36.00 (which had necess itated the interve ntion of
a starship). His statements were routinely

RI ro uted through the data base for confirm a-


tion or co ntradiction . Less than one second
after he stated "I have a Masters licence." ,
the computer countered with "I ncorrect.
p.o. Box 10767 Masters licence revoked stardate 1317.6."
Salem Station Even more surprisingly, the computer had
Winston-Salem, N.C. previously identified this captain correctly
27108
from his voice print and other sensory data.
(919) 748-8761 His complete file, includin g criminal record,
was instantly available to the Enterprise
officers. So, at the very least, the Enterprise
data base must contain complete bi ographical
inform ation on all known criminals in the
galaxy!27
The second incident began with the com-
puter's response to the inqui ry: "Computer.
Lingu istic banks. Definition of th e following
word: 'redj ac'." After receiving a negative
reply, all other banks were searched. The
answer was then in the affirmative : "Work-
ing. Red Jack: Source : Earth, nineteenth
century. Language : English . Nickname ap-
plied to mass murderer of women . Oth er
Earth synonym : Jack the Ripper." At this
point an additional inquiry was mad e:
"Computer. Criminological files. Cases of
unsolved multiple murders of women since
Jac k the Ripper." The computer responded
We're not playing games! with a half dozen such crimes ranging in
time from the unsolved murder of seven
Our systems mean women in Shanghai, China, Earth in 1932
to the crimes on Rigel IV only one year
BUSINESS! preceding the inquiry?8
The amount of linguistic, criminological
The systems can play games, but they're rea lly meant to and biographical data that would have to be
do business. Our Z-80 based minicomputer system has stored. on line to answer these types of
keyboard, video display, printer, 24K of memory, dua l qu est ions al most defies belief.
floppy disks including full business softwa re - and is Apart from the exceptional tasks which
ava ilab le assembled and tested, starting at .. the Enterprise computers perform, their
man-computer interface is even more
$3,995.00 amazing. All the computer terminals are
equipped for audio 10, full graphics including
Nothing else to buy (except paper and floppy disks) to
run: the displ ay of photographic data, and can be
ti ed into any of the ship's numerous data
Accounts Receiva bl e General Ledge r banks. Th e voice commands that can be
Accounts Payab le Inve ntory processed by th e ship's computers are not
Pay roll ... and others from a small set of command words (eg:
"End yellow alert! Begin processing. Find
Yeo man Rand! "); rather they are co m-
Programs run in BASIC interpreter, which is supplied. pl ete ly unrestricted Engl ish! Exa mples of
Dealer and sales agent inquiries are invited
typical commands are:
Compute to the last digit the value
MiniMicroMart, Inc. of pi. 29 [Quite a trick if you can do
1618 James Street it. .. CM]
Syracuse, New Yark 13203 Computer. Digest log recordings for past
(315) 422-4467 five solar minutes. Correlate hypo theses.
Compare with life forms register. Ques-

172 BYTE December 1977 Circle 77 on inquiry card.


Circle 103 on i"nquiry card.

tion: Could such an entity within dis-


cussed limits exist in this galaxy ?3 0
Engineering Officer Scott reports warp
BUY, SELL OR TRADE
engines damaged but repairable. Ascertain
precise degree and nature of damage, . YOUR NEW OR USED HARDWARE, SOFTWARE
compute nature and magnitude of forces OR LITERATURE THROUGH OUR NATiONWIDE
responsible, and program possible SMALL COMPUTER SYSTEMS DATA BASE
·countermeasures.3 I
Enter any item you wish to buy, sell or trade in our Small
Library computer . .. Give me everything Computer Systems Data Base. We will process your
you have on a man named or known as entry against all others in our data base and mail you a
Kodos the Executioner. A fter that, a printout of all matching entries. You then contact the
correspondents listed in those entries to effect your buy ,
check on an actor named Anton sell or trade. Your entry will remain active in our data
Karidian . 3 2 base for three months. All incoming entries will be pro-
cessed against your item and your entry will be mailed
Hardware Innovations Necessary to all those that match. Thus you are assured of a wide
coverage for your buy, sell or trade.
With the immense amount of data that The cost of your first entry is $4.00, each additional item
must be stored on line and available for fast submitted at the same time is $2.00. Send the entry form
access, one area of technology that must below together with your check to:
have been highly developed in the Star Trek
era is memory technology. A reasonable THE SMALL COMPOTER SYSTEMS CO.
estimate of the size of the Enterprise data P.O. Box 4344, Warren, New Jersey 07060
base is 10 22 bits. To achieve a retrieval "in o BUY 0 SELL 0 TRADE
a manner of seconds," an effective memory o HARDWARE 0 SOFTWARE 0 LlTEF,lATURE
access time of 10- 15 seconds is required Name ______________________________________
(see reference on page 180). No operational Street ______________________________________
memory devices today offer the necessary City _________________ State' _______ Zip _ __
fast access time, along with high capacity, Telephone (Include Area Code) ___________________
low power consumption and small volume.
Attach description of item (apprOXimately 50 words).
However, a number of devices hitherto
restricted to the research lab are becoming
operational which have some or all of the
desired qualities. These include the so-called
electronic disks, the Megastore of the
Ampex Corporation, and Josephson junction
THE PERFECT
devices.
El ectronic disks are memory devices em-
ploying various new technologies which do
not i~volve mechanical movement, but
OLIDAY
CARDS
which possess ' the capacity of fixed or
movable head disks, along with dramatically
faster access times. They are just now begin-
ning to become operational. Some problems
exist in a few of the technologies, eg:
memory volatility is a slight problem in ... Any of the
th e electron beam' addressed electronic versatile boards
disk.3 3 ,34
The Megastore of the Ampex Corpora- Z-80 CPU $35.00
tion, however, represents a new use for an
old technology. Megastore uses magnetic 2708/16 EPROM $25.00
core, a technology that has been on the
PROTOBOARD $25.00
decline since the advent of smaller and faster
semiconductor memories. The use of Mega- 8k STATIC RAM $25.00
store as a mass storage device is now a PLEASE ADD S2.DO SHIPPING PER ORDER
fact. 3 5
The Josephson junction is another entirely I MSAI 8080 Kit
-wilh 22 slol M.B.
new tec:;hnology which could be used for
memory. The Josephson junction device is
$SSO.DD
fro m PLUS SID .DD SHIPPING
a superconduc'ting tunnel junction first
demonstrated in 1962 by Brian Josephson at
Cambridge. In one form, it exhibits a very
rapid switching phenomenon between two
ta
PO BOX 91
ITha(~ audIO
ITHACA, N.Y. 14850 (607) 273-3271
modes of junction tunneling which enables

Circle 137 on inquiry card. BYTE De cember 1977 173


Circle 59 on inquiry card.

the device to be used as a flip flop register.


The Joseph so n junction, as far as memory
techno logy is co ncerned, is over 15 years
away. One difficulty with this technology
is that it operates at the extremely cold
temperature of liquid helium (4.2°K) and
therefore requ ires a soph isticated externa l
refrigeratibn unit. 36 The typical access times
fo r memory devices emp loy ing these tec h-
nologies are shown in the following table:

Integrated circuits 10 to 100 ns


Magnetic core 1000 ns
Fi xed head dis k 8,000,000 ns
Electronic disk technologies:
• Charge coup led devices 6400 ns
• Domain tip propagation 1,280,000 ns
• Electron·beam addressed 10,000 ns
• Magnetic bubbles 640,000 ns

Talk to you Josephson junction 1 ns

contputer for $299. Without a doubt, the new technology


which provides the fastest access is the
Josephson junction . (Laboratory access
SpeechLab™ lets you talk to and control any S-100
bus computer ... Sol , Al tair, IMSAI, etc. Use for compu- times of 0.6 ns have been recorded .) Because
ter input, research, vocal control and games. Price, $299 of the speed of the Jose phson junction, its
assembled and tested. Complete hardware/ software small size and low power consumption,
system, 275 page lab and 95 page hard ware manuals. much work is currently being done to bring

Los Altos, CA 94022.


Phone (415) 948-2542.
H · ' t·
Address Heuristics, Inc., 900 N. San Antonio Road ,

~ur.s .~s
it from the laboratory into the working
computer world.
With respect to operational memory
INC
devices, then, the current technology is still
five or six orde rs of magnitude away from
the worl d of Star Trek, where the measure
used is memory access time . However, an
ad diti onal possibility is that the Enterprise
Get the best in computer may be organized as an associative
or content addressable memory . Such an
organ ization wo uld reduce the access time
Business Data requirements by at least a few orders of
magn itud e and wo uld make the memory
Processing Systems access time requirements closer to our
current technology .
Th e remote terminals on the Enterprise
Accounting, Inventory, General Ledger, also represent a real cha ll e nge for today's
electronic tech nology. These term inals are
Timesharing Applications
primarily used for li ve visual commu nication
Also a complete line of personal computers between ships as well as fo r internal sh ip
and peripherals, including: communications. They are also capab le of
displaying photograph quality records from
• IMSAI • Polymorphic a data base plus alph anumerics. Since the
~ Digital Group • DTC
• Compucolor • North Star vid eopho ne is a reality today (although in
• Books/Magazines very limited quantities an d at great ex ·
pense),3? the visual communication usage
HARDWARE/SOFTWARE SUPPORT
alone poses no problem. Graphics display
Our experienced staff is ready to help you
terminals using the current raster scan
co,nfi,fJUlrA the best system to suit your needs
technology can presently provide this.
The display of photographs from the
data base, however, is a different matter.
If the raster technology is used, then the
A company of Business Solutions, Inc.
storage of digitized photographs by current
124 H Blossom Hill Road. San Jose, CA 95123 data compression techniques 38 would
(408) 226-8383 require such an imm ense amount of
secondary storage 39 that o ur current

174 BYTE December 1977 Circle 32 on inquiry card .


Circle 62 on inquiry card.
experience
memory technologies could not do the job .
But one cou Id envision a central photograph excitement
storage from which a specific photograph is
retrieved mechanically and brought into challenge
position .in front of a high resolution TV
camera. The camera produces the necessary intrigue
raster scan signal to drive the display. with your computer
Whether a mechanical retrieval of a random and
photograph could be performed in a timely
fashion, however, is open to discussion. Dr.C. William Engel's
Another possibility is to use the plasma
display technology coupled with back Stimulating Simulations
projection. This is currently done in the 64 - page pa perback book
Magnavox 10000 Plasma Display Terminal,
now being successfully used in the PLATO 10 Programs in BASIC
IV Project (Programmed Logic for art auction
Automatic Teaching Operation, Fourth Gen- mon s ter chase
Each Simulation
eration) at the University of Illinois.40 ,41,42 lost treasure
Con tains
scenario
The Model 10000 allows back projection of gone fishing
sample run
microfiche data concurrent with the display space flight
of graphic information. 43 Such a system
flowchart
for est fi r e
I is t 0 f v a ria b I e s
allows a small amount of information on the nautical navigation
program listing
screen to be modified without redrawing or business management
suggested modifications
recomputing the unchanging major portion rare birds
of the display. The problem on the Enter- diamond thief
prise, however, is to transmit such a back $5 a copy -immediate delivery - 1st class postage paid
projection from a common library to a C. W Engel, P. O . Box 16612, Tampa, FL 33687
remote term inal.
Any hardware on board the Enterprise
must be rugged . The starship is often sub-
jected to jolts of sufficient magnitude to
propel a forewarned, experienced and able-
bodied crewman a distance of 20 feet or
For the computer
more. 44 ,4S,46 While it is stated that the
computer hardware is enclosed in anti-
that has
gravity, antiacceleration and antiradiation everything
fields,47 this is at best impossible to evaluate
and at worst incomprehensible to today's
Searching for a Christmas
idea for your computer?
scienc.e. Stop in and see our
complete line of computer
Software Innovations Necessary products at our two
Apart from the hardware innovations convenient locations or
necessary to realize the level of computer
send $2 to General
Computer Company, Inc.,
technology present in Star Trek, there are 420 Main St., Brighton,
'software and theoretical developments Michigan 48116
which must be made. Certain elements of We'll RUSH you our NEW 80
that level of technology are not hardware PAGE MAIL-ORDER
bound (or at least do not appear to be CATALOG.
so). Two of these most apparent to the
computer oriented Star Trek observer are General
speech recognition and semantic compre-
hension of a natural language.
Computer
Company, Inc.
Speech Recognition Put the top of the line at the
top of your Christmas list.
It is often hard for nontechnical people
to understand the problems involved in 1310 Michigan Avenue
speech recognition by computer. After all, East Lansing, Mich. 48823
(517) 351-3260
every 5 year old child can understand
the speech of fellow human beings, even 75 W. Long Lake Road
Troy. Mich. 48084
in the presence of significant background (313) 362-0022
noise or degradation. Can the process be so
difficult to program? '

Circle 55 on inquiry card. BYTE Decemher 1977 175


, ~---- ---------.
Circle 19 on inquiry card. What some do not realize is that speech
is a method of communication used by
intelligent, knowledgeable beings who

ADM-3A:
employ elements of syntax, semantics and
I world knowledge in order to process a
complex signal. But only a portion of this
I
I $695 IN KIT
FORM
00 * I
I
signal is purely linguistic information.
Current studies indicate that the 5 year
old is able to utilize both hemispheres
I • All equipment I of his brain in language learning, unlike
I
F.O.B. Dallas, Te xas
or Anaheim , California I adults, Biologically, the child is specially
adapted to learn language by recognizing
I
• Terms - check or
money order with
order
I and inferring grammar from the speech of
I those around him. This research brings
I • Del ivery in 30 days
• Add $20 for Shipping
and Handling I into new light the human cognitive
I abilities for language and speech recognition.
. Recognition of the spoken word is often an
I OPTfONS:
• Lower case option I underestimated task,48,49 Star Trek
add $100.00 . presents a world in which this problem is
I • Numeric key pad I completely solved, Almost all commands to
option add $75.00
I • ·80 CHARA.CTERS/L1NE ·75·19,200 BAUD
I the computer complex are given vocally,
I ·24 LINES/SCREEN
• ADDRESSABLE CURSUR
• 9, to, or 11 BtT WORDS
• FULL & HALF DUPLEX
• ODD/EVEN/NO PARITY
• RS232 INTERFACE OR
I The processor is always able to convert th is
audio signal into an appropriate internal
I 20 ma CURRENT LOOP
I representation of English words and
I I sentences.s 0 .

.....Ac~pTt;;I";~':;;';~~~
GET COMPLETE DETAILS WITH A DIRECT CALL:
At present, the success in speech recog-
I I nition could be characterized by saying that

I I a vocabulary of 1000 words can be


recognized for one speaker, or a vocabulary
I equipment brokers I of one word for 1000 speakers. S 1 The
reasons for this lack of progress in over 20
\
-------------,
930 N. BELTLINE • IRVING, TEXAS 75061
7842
, years of work are many, but the main dif-
ficulties are presently in separating the
phonemes (the basic units of speech) from
each other and from other information in
the speech signal. 5 2 Some researchers have
MACRO FLOPPY estimated that less than 1% of the energy
CONTROLLER transmitted by voice output is used for the
linguistic signal itself. The maj O,rity of the
S-100 Compatible Flexible Disk Controller handles up to energy communicates other factors like the
eight standard or mini disk drives. sex, state of health (head cold, flu, etc),
On Board EPROM contains all disk interface software: emotional state and other nonlinguistic
"CP/M compatible driver routines and bootstrap information about the speaker. S 3 Merely
"Blank disk format routine separating the linguistic portion is difficult
'Routines for system customization
"Jump table driven software for easy interface
because it is masked by the torrent of
extraneous information (as far as speech
Crystal controlled clock . Board Address Jumper selectable. recognition is concerned).
Controller compatible with many brands of drives such as Aside from the separation of "pure"
Persci, Shugart, Pertec, Remex.
linguistic information from the speech
Model FOC-10BMA (mini) Assembled and tested $400.00 signal, separating the individual phonemes
Model FOC-10BSA (Standard I Assembled 'a nd tested $400.00
Model FOC-10BK (Bare PC Board, LSI
has al so proven to be nontrivial.
Controller IC, Pre-ProlTammed EPROMI $225.00 Speech is a semicontinuous phenomenon ,
Available stock to 10 days. To be able to separate individual phonemes
implies the difficult task of mapping this
Contact your local distributor, or
semicontinuous process onto a sequence of
Computer Hobbyist Products, Inc. discrete entities. While some success has
P.O Box 18113 been attained with this method of phonemic
San Jose, CA 95158 analysis, current research is dealing directl y
(408) 629-9108 with the semicontinuous phonetic stretches
(Calif. residents add 6% sales tax.) which correspond in some sense to fused
phonemic eleme nts such as syllables. 54
Dealer inquiries invited,
Relying merely on the audio signal alone

176 BYTE Decemher 1977 Circle 29 on inquiry card.


Circle 17 on inquiry card.

is insufficient for automatic speech recog-


nition. ss ,s6 Current efforts correspond to
the theories of human cognition of speech
and employ elements of grammatical,
fSiiPifiieiserVicfnl
§~ Whether lor troub leshooting or analysis.
al some point you will need our EX-
I
~
~ TENDER BOARD WI LOGIC PROBE ($35). IiI1
contextual and semantic constraints as well ~ Ours offe rs a buill-in logic probe (hi, 10, ~
~ and pu lse), special edge connector that ~
as world knowledge. Techniques and models
from artificial intelligence, mathematical
~
§
all ows clip lead probing, jumper link s in
all supply lines, a non -sk id needlepoint I
IirrII1!

l:
rObe. plus Quality parts and a realis t ic
price. _
linguistics, the theory of stochastic
processes, and acoustical and phonological
analysis are being extensively
employed. 5 7,5 8 The difference (or more
accurately the gulf) between the current
state of speech recognition and that of the
I srmprffTrurConfiOil
I
~
The OPTO·ISOLATOR/RELAY BOARD (5117) is
a natura l for controlling audio systems, model ~
I
world of Star Trek cannot be overem- ~ train s, robot devices . more uses are dis- ~

phasized, however. Extensive theoretical


~
~
IirrII1!
covered dail y, as described in our applications IiIIII1
notes. 8 reed relays respond to an 8 bit word
from you r computer; 8 oplc- iso lators accept
I
analysis and perhaps some breakthroughs in ~ an 8 bit word from the outs id e world and send
liII1 it back to your machine for handshaking o r fur-
computational techniques are requ ired
before this gulf can be bridged.

Natural Language Processing


t;::---------------------------
~

§ COMING - - - Heath H-81


Iher control purposes,

Completely separate from the notion of


speech recognition is the idea of semantic
comprehension of a natural language by a
computer, ie : computer "understanding" of
~I CO~E!!~~~~~~
MULLEN COMPUTER BOARDS I
the meaning o{ a normal English statement, §
§
BOX 6214, HAYWARD, CA 94545 (AVE I
as opposed to a statement made in a pro-
gramming language, however "high" level.
Suppose that some suitable input method is
used (voice, if the speech recognition
§L "Products that make your computer useful"

All kits are S 100 AltaH/ 1MSAI compat ible Available by mall
ped postpaid In the USA from Slack Colifornlans odd sales tax ) or at
many fine computer SlOres Dealer Inquires Invited
(~hlp J.§
~ ~ ),. . ~

problem has been solved) to get English .,"""""""""""""""""""""""""""""""""""""""""""""""""""""""""~


statements into the computer memory . What
success has there been on the design of
algorithms which could syntactically and
semantically analyze these statements so
We:ue. got the. best softw.ar
that they can be "understood" by the com-
puter? In the world of Star Trek, this
problem has been completely solved. From
nr the. 8080 l-80
the examples cited earlier, one can see that • Fortran • Basic
the Enterprise has an English "compiler" ANSI standard. e:(cept for COMPLEX VARIABLES 4K. 8K . Extended and Disk vcrsi0ns avai lable
wh ich can accept and correctly process ISIS-II, CP/ M. DTC Micro"lc . MITS DOS In usc for over two years in over 5000 installations
unrestricted English.
Packag e includes FORTRAN Compiler. M OS. ISIS-II. CP / M. Altair- versions available
The current state of natural language Asse mbl e r. relocating Linking Loader and run
understan ding is not yet even near that of lime library ROM compatible
Star Trek. However, many universities and One-byte INTEGER. two·byte INTEGER. Widely known as Altair* BASIC

research centers are examining this problem four -byte. and e ight-byte, REA L variable types Disk version su pport s ra'ndon! and sequential
and have m ~de significant contributions in Comprehensive error me ssages
floppy disk files

the past few years. At pre·sent it is possible M ore features per byt e than any othe r BASIC
Optirnized code generation
to correctly process relatively unrestricted
Full string manipulation. including concate nation
English statements made in the context of Disk file 1/ 0 support ed by rUn-lime system
and string arrays
narrow fields, eg: marine chemistry. While Only library routin es needed for program
Integer and Double Precision Variables
th e vocabulary of these fields is understand- execution are loaded ,
ab ly restricted (one rarely uses the wOl"d Direct access to machine 1/ 0 ports and memory
Main program and subroutines may be co mpiled
localions with BASIC stateme nt s
"sonata" while making retrievals from a scpara tely

chemical data base), the syntax covers a Single Copies_ _$500.00 Single copies CP/M and ISIS· it D;sk

wide range of possible English constructions. OEM Prices available upon request BASIC - - - $350.00
OEM Prices available upon request
One example of such a prototype language Available Early 1978: 608O/Z-80 APl, COBOl·74

"understander" is the LUNAR system


developed by Bolt Beranek and Newman
Inc. This system is used to process questions
to a data base of geological data recovered
300 San Mateo N.E., Suite 819, Albuquerque, N.M . 87108
from lun ar samples. Examples of the kind of *Allair is a trademark of MlTS. Inc.

Circle 74 on inquiry card. BYTE December 1977 177


Circle 115 on inquiry card.

Tarbell Engl ish that the system can correctly process


are:
Floppy Disc Interface What is the average modal concentra-
Designed for Hobbyists and tion of fIImenite in Type A rocks?
Systems Developers I need all chemical analyses of lunar
soil.
Give me the K/Rb ratios for all lunar
samples.
One interesting failure of the system
occurred on the following input by a non-
geologist:

What is the average weight of all your


samples?
It seems, among other th ings, that the
• Plugs directly into your IMSAI or ALTAIR' and handles up system had no notion of "ownership" built
to 4 standard single drives in daisy-chain. into its vocabulary , and even more im-
• Operates at standard 250K bits per second on normal disc portant, it had no mass data on the samples
format capacity of 243K bytes. anyway.59
• Works with modified CP/M Operating System and BASIC-E Prototype work such as the LUNAR
Compiler. system is paralleled by (and in fact th e
• Hardware includes 4 extra IC slots, built-in phantom boot- LU NA R system employs) recent automata
strap and on-board crystal clock. Uses WD 1771 LSI Chip.
theory work on the nature of natural
• 6-month warranty and extensive documentation.
languages. While early natural language
• PRICE: Kit $190 .... .. .............. Assembled $265
• ALTAIR Is a trademark/ tradename of MITS, INC. modeling employed deterministic finite state
automata (with their associated regular

~~ grammars) the naivete of this model is well


20620 South Leopwood Averue, 5<Jlle P
, Carson, Calffomlo 90746
I (213) 538-4251 known . Even a pushdown automaton (equiv-
alent to a context free grammar) is known to
be an inadequate model for a natu ral
langu age. 6o However, attempts to extend
these models to linear bounded automata
canada systems, inc.
Boards DO Something (equivalent to context sensitive grammars)
CL2400 or additions to the context free model have
Real Time Clock met with some objections. Recent work on
transition network grammars, which are an
S98-Kit S135-Assembled extension of regular grammars (equival ent to
finite state machines), has produced very
If your system needs to know what time it is, our CL2400 is encouraging results. In a very real sense, this
the board for you. The present time in hours, minutes , and
model is superior to the extensions of the
seconds is always available for input, and is continuously
updated by the highly accurate 60 Hz power line frequency . context free model and holds much promise
Need periodic interrupts? The CL2400 can do that , too , at any for the future .61 ,62 The transition network
of 6 rates. Reference manual with BASIC and assembly grammar model is also considered to be
language software examples included . equivalent to the artificial intelligence ap-
proac h to language comprehension used in
PC3200 the well-known syste m by Winograd .63
Power Control System As in speech recognition, much work
remains to be done before natural language
PC3232 S299-Kit S360-Assm . com prehension by compu ter can reach the
PC3216 S189-Kit S240-Assm .
level of Star Trek. Most probably work in
PC3202 S39.50-Kit S52-Assm .
mathematical linguistics will supplem ent and
If your system needs onloff control of lights, motors, be supplemented by practical prototyp e
appliances, etc., our PC3200 System components are for language "understanders." In th e meantime,
you. Control boards allow one I/ O port to control 32 (PC3232) the prototype work will provid e usable ,
or 16 (PC3216) external Power Control Units , such as the albeit restricted , natural language "com-
PC3202 which controls 120 VAC loads to 400 Watts . Optically pilers."
isolated , low voltage , current-limited control lines are It can be seen that Star Trek represe nts a
standard in this growing product line . level of computer science and technology
CanadA__ systems, inc.
P.O. Box 516
La Canada, CA 91011
decad es beyo nd the current state of the art .
Immense or revo lutionary resources are
(formerly comptek) (213) 790-7957 required for the on line memory alone. Even

178 BYTE December 1977 Circle 18 on inquiry card.


Circ le 37 on inquiry card.

fitting the mainframe along with al l this


secondary memory into the avai lab le floor
21 START-AT-HOME
space wou ld be difficult. Complex
phenomena such as speech and language COMPUTER BUSINESSES
in the shoestring, start-at-home
appear to be comp letely understood by the
scientists of the Federation, yet in our own computer business handbook
time these problems have resisted intense CONSULT I NG .PROGRAMMING .SOFTWARE PACKAGES .COM
FREELANCE WR I T I NG • SEM I NARS. TAPE /D I SC CLEAN I NG
resea rch efforts. FIELD SERV I CE. SYSTEMS HOUSES . LE AS I NG.SUPPL I ES
Ironically, some areas of Star Trek's PUBL I SHING.TIME BROKERS. HARDWARE DISTRIBUTORS
SALES AGENC I ES. HEADHUNT I NG. TEMPORARY SERV ICES
computer science appear to be virtual ly USED COMPUTERS. FINDER'S FEES.SCRAP COMPONENTS
id entical to present day standards. Computer COMPUTER PRODUCTS AND SERV I CES FOR THE HOME

security procedures can still be und ermined 1I1( 'Z-IWI:S!fHtH;; P l us - - hundreds of ideas on
by ingenious programmers.64 ,65 In addition IifAA' A' ~"HH.
moon l ighting, going full-time,
it;Oml')vt<:f I image building, revenue building,
the art of computer programming seems to
be not much advanced from today. At one
I,Mndb(.r,~ I
hll',lll(;'I" : bidding, contracts, marketing,
professional ism, and much more.
No career planning too l like it
point the Science Officer requires a matter "ve r pub lis he d . 0 r d ern ow and i f
of hours to Initi ate a class 1 priority you're not completely satisfied,
send i t back wi th i n 30 days for
command. 66 One would think that in two a full and Immediate refund .
centuries of software development, such
urgent requests could be more easi ly pro- .s t X II r i ngbound .113 pp . • $12.00

cessed and resources reallocated without


extensive action by systems programmers. -----------------------
D A T AS EAR C H
Call 312-945-2940 or mail coupon

730WAUKEGAN ROAD' SU!TE 108


We should not scoff at the view of incorporated DEERFIELD. ILLINOIS 80015

computer science presented by Star Trek, Rush copies of "The Shoestring Start-At-Home
however. Science ' fiction often predicts Computer Business Handbook to me right away -
future science fact with remarkable NAME/COMPANY __________________________________
AD DRE 5 5 _______________________________________
accuracy . Lunar . exp loration and the laser
C IT Y /S TATE/Z I P
are but two examples of current technology []C HECK ENCLOS~E~D~[]~B~A7.N~K7A~M~E~R~I~C7A~R~D~[]~M7A~S~T~E~R~C~H~A~R~G~E-
predicted by science fict ion writers. Wh ile
one can present various and often co n- #-------------------------------
trad ictory exp lanat ions of th is phenome-
non, one cannot dismiss it. Perhaps Star
Trek do es give us a glimpse of the future of ,-- THE BETTER BUG TRAP
th e computer; perhaps not. In any case, one
can agree with the Enterprise 5 Science
Officer when he says, "There is one thing we
DEBUG
can say: they will have many interesting
adventures." 6 7
AND
CDNBUER
Altair/IMSAI compatible board catches program bugs a nd
Computer Space Aboard the Enterprise provides timing for real-time app li cat ions.
According to the Enterprise blueprints,68 F ou r hardware breakpoint addresses. Software breakpoints
the computers aboard the Enterprise are physi- only possible at instructions in RAM . Better Bug Trap
cally located in four areas . The primary hull breakpoints can be in ROM or RAM, and at data or
contains the main ship's computer and the main instructions in memory, input/output channels, or stack
engineering computer. The main ship's com- locations .
puter is located on both decks 7 and 8 below
the bridge, with a total of about 1400 square Board can stop CPU or interrupt CPU at a breakpoint:
meters of floor space. Th e main engineering Real-time functions: watchdog timer, real-time clock (for
computer is located in the engineeri n g spaces time of day clock), interva l timer .
on the seventh deck below the starboard ene rgy
co nverters. This complex has about 64 square Sophisticated timesharing m ade possible!
meters of area. Unique interrupt structure: ge nerates a CA LL instruction to
The secondary hull hous es the auxiliary your subrout in e anywhere in memory, not a RST!
sh ip 's computer beneath the botany and hydro-
ponics labs on deck 19. The total area of this Addressed as memory. All parameters set easi ly by software .
complex is 340 square meters. Th e auxiliary All this and more for about the price of a real-time clock
engin eering computer, also housed in the se- board, but nothing e lse does the job of the Better Bug Trap.
condary hull, is located on deck 16 near the
$160, assembled and tested. 2 ma nuals plus software. 90 day
shuttlecraft hanger. Thi s complex occupies
warranty. Shipped UPS. Delivery from stock.
about 72 square meters.

11 !o~ !,R23~E!T~R?ST~UITE
The total space aboard the Enterprise de-
voted directly to the computer complexes is
therefore about 1900 sq uare meters. Thi s figure
does not take into account the numerous ter- 8
minals located th rough out the ship. GREENVILLE, NC 27834 • (919) 758-7757

Circle 73 on inquiry card . BYTE December 1977 179


Circle 126 on inquiry card.
Memory Requirements for the Enterprise
Th e Enterprise 's computer contains "the

16K Static RAM whole of human and humanoid know ledge,, 6


in the 23rd century and "in a matter of a few
seco nds ... can obtain an answe r to any factual
question,, ~ 9 More specific information on the
vo lume of data to be stored is required in order
to gauge the memory requirements, though. By
making reasonable and plausable assumptions,
this amount of information can be expressed in
bits in order to estimate the memory si ze and
access time requirements needed aboard the
Enterprise.
At present, the Library of Congress conta in s
over 72 million volumes 69 It wou ld seem rea-
sonable to assume that the store of knowledge
in the Enterprise is about a million times that
of the present Library of Congress (given the
present rate of growth of technical knowledge
and assuming that this rate wi ll increase steadily
over the next 250 years). This yields a bank of
S365 Assembled knowledge for the Enterprise w hich would fill
• Very low power-650 ma +5V; 90 ma +12V; 16 ma -5V abo ut 10 14 volumes. Assuming a vo lum e con -
• Uses 4K Static RAMS-No refresh tains on the average 1000 pages of 1000 words,
• Low-profile sockets for all chips
with each word averaging between six to eight
• Each 4K addressable to any 4K boundary
• Solder mask; silk-screen; plated-through holes letters, and a 6 to 8 bit character code for com-
• Low-power Schottky TTL's-Tested IC's puter storage, the information expressed in
• Fully buffered S-l 00 bus-Gold-plated contacts those 10 14 volumes represents a staggering
• Designed for 500ns system-S .D. Sales and TDL Z-80 tested amo unt of bits: on the order of 1022!
It is much more difficult to arr ive at an esti-
Delivery: Stock to 4 weeks. MC and SA accepted. Orders mate of the access ti me needed to meet the
shipped prepaid. California residents add 6% sales tax.

\II
stated user interaction. The entire notion of
·record retrieval on secondary keys is not nearly
as well formulated as primary key ret ri eva l. 70
ANDENBERG DATA PRODUCTS (Recall that retrieval by a primary key is a re-
trieval of one record based on the field which
PO BOX 2507 orders the data set. A secondary key retrieval is
SANTA-MARIA, CAliFORNIA 93454 805-937-7951 a retrieval of all records which have a given
value, or a given range of values, in any other
field. An example of a primary key retrieval is:
"Retrieve the medical record for Pete Smith. "

i;------" FINALLY, A An example of a retrieval on a secondary key

·.(~iJJ1'
,iY-:~f- \TELEPHONE
is: "Retrieve all cases of cancer diagnosis in the
past year."
Knowing the current state of memo ry tech-
nology, though, one can linearl y extrapolate

. WI1H BYTE!
......" ...
from response ti mes on data ' bases of kn own
size in use today to get an approximation of
the memory access times needed to ach ieve the
desired response for the data base on the Enter-
6800 AUTOMATIC TElEPHONE DIALER prise. Knuth presents an examp le of a fully in-
PROGRAM ••..........•... $9.95 postpaid verted file (a file together with a dictionary I
Have your 6800 system dial your phone. Uses directory for each field) with one million rec-
only 5 external components. Stores 650 variable ords of 40 characters each. With some reason -
length phone numbers. Operates in less than 1K able assumptions, he computes an access time
bytes of memory of 10.7 seconds for a request in vo lving ten
fields for which ten records are found. The
Includes: Paper tape in Mikbug® format and ob-
average access time for the disk used was
ject code • Circuit diagram and in struct ion s 71 ms.
71
Extrapolating this example, an aver-
• Instructions for adapting to other 6800 systems age memory access time of 10- 15 sec onds
would be required to process this retrieval in
6800 TElEPHONE ANSWERING DEVICE one second if the data base was as large as that
PROGRAM .•.............• $4.95 postpaid on the Enterprise (assuming a simi lar data or-
Have your 6800 system answer your phone and ganizatiol)). But current work in retrieving
reco rd messages automatically. Compatible with entries from large data bases may significantly
any 6800 system. shorten the required memory access times.72
Includ es : Assembly listing and object code. Cir-
c uit diagram and in structions
FOOTNOTES

Write to: SOFTWARE EXCHANGE lAsimov. Isaac, "The Last Question," Science
Fiction Quarterly, November 1956, page 6 .
2681 PETERBORO
2Heinlein, Robert A, The Moon is a Harsh
W. BLOOMFiElD, MICH. 48033 Mistress, Putnam, New York, 1966.
3Clarke, Arthur C, 2001 - A Spac e Odyssey.
New American Library. New York, 1968 .
4Jones, D F, Colossus (aka: "The Forbin
Project"), Putnam, New York, 1967.

180 BYTE December 1977 Circle 105 on inquiry card.


Circle 133 on inquiry card.

5Gerrold, David, When Harlie Was One,


Doubleday, New York, 1972.
6"Wolf in the Fold," Star Trek episode, first
2708
~~PD458
telecast 12/22/67, adapted by James Blish, Star
Trek 8, Bantam, New York, 1972, page 127.
7Ibid, page 127.
8In the unauthorized transmission of certain
portions of the Star Fleet Technical Manual which
took place on stardate 3113, the index of th e
manual listed these sections. The sections them-
selves, unfortunately, were not transmitted . Com-
- . TMS2716
piled b y Franz Joseph, Star Fleet Technical
Manual, Ballantine Books, New York, 1975, page
00.00:05 and pages 00:00 :08 to 00:00:09.
91n "Space Seed," a Star Trek episode about
suspended animation space ships ("sle e per ships"),
we are told that Kahn, the leader of those on the
PRAMMER III
sleeper ship, left Earth after 1996 . Spack informs
us that sleeper ships were last used in 2018 . Kahn
"slept" for two centuries or more, which implies
by xybek
that this ep isode takes place in the late 22nd or
23rd century. "Space Seed," Star Trek episode, The Ultimate EPROM Memory Board
first telecast 2/16/67, adapted by James Blish, Star
Trek 2, Bantam, New York, 1968, page 106 . For Your S100-Bus Computer
10Whitfield, Stephen E and Roddenberry,
Gene, The Making of Star Trek, Ballantine, New
York, 1968, pages 128, 40, 170 and 198. * Accommodates from 1k to 30k of the above EPROMS, in
any combination, each addressable on any 1k boundary
11Star Fleet Headquarters, an artifically con-
structed "wo rld," is the largest, "Articles of the within the board's 32k address space.
Federation," chapter 7, article 52, paragraph 3 and
article 53, paragraph 1 ; compiled by Franz Joseph,
Star Fleet Technical Manual, Ballantine Books,
* 1k of scratch-pad RAM.
New York,1975, page 00:01:09.
12Ibid, Preamble, page 00:01:00.
* On-board programming for all three EPROM types .

13Moore, J E (Ed), Jane's Fighting Ships 1975-


1976, pages 428 to 429, and 1976-1977 , page 565.
* Tri-state buffers on all address and data lines.
14" Articles of the Federation," chapter 7,
article 53, paragraph 1: op cit, page 00:01 :09.
* Empty EPROM sockets do not require address space.

15"Star Fleet Technical Order 03 :11: 20, "


compiled by Franz Joseph , Star Fleet Technical
Manual, Ballantine Books, New York, 1975, page
xybek • P.O. Box 4925 • Stanford, CA 94305
03:11:20. Telephone: (408) 296-8188
16"Mirror, Mirror," Star Trek episode, first
telecast 10/6/67, adapted by James Blish, Star
Trek 3, Bantam, New York, 1969, page 75 .
17"Star Fleet Technical Order 01 :04:10,"
co mpil ed by Franz Joseph, Star Fleet Technical
Manual, Ballantine Books, New York, 1975, page
01:04:10.
18"Outboard Bow and Stern Elevations Blue-
prints," dra w n by Franz Joseph , BOOKLET OF
GENERAL PLANS: USS Constitution Class,
Ballantine Books, New York, 1975, sheet 4.
19Cogswe ll , T R and Spano, C A, Spack,
Messiah!, Bantam, New York, 1976, page 5.
20"Tomorrow is Yesterday," Star Trek
episode , first telecast 1/26/67, adapted by Jam es
Blish, Star Trek 2, Bantam, New York, 1968 ,
page 27.
21"Journey to Babel," Star Trek episode, first
telecast 11 /17/67, adapted by James Blish, Star
Trek 4, Bantam, New York, 1971, page 51.
22"Balance of Terror," Star Trek episode, first
telecast 12/15/66, adapted by James Blish, Star
Trek I, Bantam, New York, 1967, page 74 . • Completely compatible with your IMSAI, ALTAIR*
23"For the World is Hollow and I Have SOL** or other S-100 microcomputers.
Touched the Sky," Star Trek episode, first telecast Trademarks of *MITS, **Processor Technology
11 /8/68. • Designed for use on the dial telephone or TWX
24"The Lights of Zetar," Star Trek episode, networks, or 2-wire dedicated lines, meets all
first telecast 1 /3 1 /69, adapted by James Blish, FCC regulations when used with a CBT coupler .
Star Trek 6, Bantam, New York, 1972, p age 26.
• All digital modulation and demodulation with on
25"Return to Tomorrow," Star Trek episode,
first telecast 2/9/68, adapted by James Blish, Star
board cyrstal clock and precision filter mean that
Trek 9, Bantam, New York, 1973, page 3. NO ADJUSTMENTS ARE REQUIRED
26"The Enterprise Incident. " Star Trek • Bell 103 standard frequencies
episode , first telecast 9/27/68, adapted by Jam es • Automated dial (pulsed) and answer
Blish, Star Trek 4, Bantam, New York, 1971, page • Originate and answer mode
27. • 110 or 300 BPS speed select
27"Mudd's Women," Star Trek episode , first • Complete self test capability
telecast 10/13/66. • Character length, stop bit, and parity
28"Wolf in the Fold," op cit, pages 132 and • 90 day warranty and full documentation
134.
PRICES Bare Board and Manual 49.95
29Ibid, page 139. Assembled (48 hour burn in) 279.95
30Ibid, pa ge 133.
3 1"Tomorrow is Yesterday," op cit, page 32.
32"The Conscience of the King," Star Trek
episode, first telecast 12/8/66, adapted by .James
DC Hayes Assoc.
Blish, The Star Trek Reader II, Dutton, New York,
1977 , pages 121 to 122.

Circle 57 on inquiry card. BYTE December 1977 181


··........................................................
Circle 44 on inquiry card .

33Martin, R R, "Electronic Disks in the


ED SMITHIS SOFTWARE WORKS 1980s," Computer, volum e 8, number 2, Febru ary
1975, page 24.
: M6800 SYSTEM DEBUGGING/UTILITY SOFTWARE 34Kell y, J, "The D evelopment of an E x p er-
im ental E lectron Beam Addressed Memory
for SWTpeo or Altair 680b Module," Computer, volum e 8, number 2,
February 1975, page 32.
35Kinnucan, P, "A New Use for Core
• M6800 DISASSEMBLER / TRACE is a powerful debug 1001 that allows the user Memory , " ~ini-Micro Systems, volum e 10, numb er
to examine (or exa m in e and exec ute) any area of mem ory under co mpl ete oper · 3, March 1977, pages 23 to 26.
• atar control. The tr·ace program disp lays th e comp lete CPU status befo re and a ft e r 36Miller, R T, "Sup erconductin g Tunnel Junc-
execution of eac h instruction al lowing th e operator to "software-sing le-s tep "
tions," IBM R esearch Reports, volume 9, number
thr ough the program under test. I t also has a "partial program" run fun ction plu s •
1, 1973 .
many ot hers . M68DT. . .. $20.00 •
37Hardeman , L J,"Picturephon e to Ch an ge its
M6800 DISASSEMBLER SOURCE GENERATOR wi ll produce compacted • Image," Electronics, volum e 46, number 19 , 13
• source code or an asse mb ler sty led program li st in g with sy m bolic labe ls and inst. Se ptember 1973, pages 75 to 76.
mnemonics. Source code output {eithe r lape o r discl is suita ble for re-editing and 38McCarth y, J P, "Automatic File Com-
assembly wi th th e SwTPC o co-res ident assembler or the T SC text editor and • pression," Proceedings of the International Com-
assembler . M68SG. . .. $25.00 • puting Symposium 1973, Davos, Switzerland,
North Holland, Amsterdam , 1974, pa ges 511 to
M6800 RELOCATE program wi ll t ake any contig uous area of m emory and • 516 .
• reloca te it anywhere within RAM . Op erand addresses are checked and adjusted 39 An image with a resolution approximately
as necessary. You can r elocate ROM / PROM into R A M if desi red . equ al to that of a present day television frame con-
M68RL. . . .. $10.00 tains about 10 6 bits. High quality, high resolu tion
photographs can con tain as many as 10 10 bits;
• M6800 BINARY LOADER allows the use r to save and load programs at the Ware , W H, "The U ltimate Computer," IEEE
m aximum rate possible u si ng Kansas City Stand ard recordin g. Th e save fun c tion Spectrum, volum e 9, number 3, March 1972, pages
• generates a short loader Mikbug- formatted pgm . at the beginning of eac h tape. 84 to 91.
: Th e tape is read using Mikbug- " L" co mman d. 40Nati onal Sci ence Foundation MOSAIC,
M68BL . . . . . . . . . . . . . . . $ 10 .00 volum e 3, number 3, Summer 1972.
41Alpert, D an d Bitzer, D L, "Adva nces In
• A ll progra ms supplied o n K ansas City Standard Mikbug - formatted cassettes.
Computer Based Education ," Science, volume 167,
20 March 1970, pages 1582 to 1590.
·
:~


•••••••••• Speci~1 Offer: All 4 programs for $55.00 •••••••••••:

Order direct by check. Speci f y system con figurat ion if other than SwTP Co.
. 42Bitzer, D L and Johnson, R L, "PLATO : A
Computer Based Syst em Used In t h e Engineering
of Education," IEEE Proceedings, volum e 59,
• Ca li fornia residents add sa les tax .
number 6 , June 1 971, pages 960 to 968.
43Mo d el 10000 Plasma Display T ermina l
ED SMITH'S SOFTWARE WORKS Broc hure , MAGNAVOX, Fort Wayne IN.
330 Camino de las Colinas 44"Tomorrow is Yesterday," op cit, page 26 .
Redondo Beach, CA 90277 45"The A lte rnative Factor," Star Tr ek episode ,
first telecas t 3/30/67, adapted by Jam es Blish ,

·...................................................... ..
-Mikbug is a tr ~ dem a rk o f Motorola, Inc. Star Trek 10, Ba ntam, New York, 1974, page 1.
46"The Immunity Syndrome," Star Trek
episode, first telecast 1 /19 /68 , adapted by Jam es
Blish, Star Trek 9, Bantam, N ew York, 1973, p ages
179 and 183 .
PEASDnf'll-CDmPLJTEA-n~ws 4 7"Outboard Bow and Stern E l evations Blu e-
prints," op cit.
48Lenneberg, Eric H, "Capacity for Language
Acquisition," L ester (Ed), Read ings in Applied
Transform ation al Linguistics, second edition, H o lt
Rin e hart, N ew York, 1973.
49Lenn e berg, Eric H, "On Explaining
Language," L est er (Ed), Readings in Applied
Transformation al Linguistics, second edition, H olt
Rineh a rt, New York, 1973 .
50For the sake of simplicity, it will b e assu med
that all speec h recog ni tion and natural language
compreh e nsion is for only one langu age: E n glish .
This is cl early not the case, but it is representat ive.
If all th e problems w ith t h ese two types of pro-
cessin g were solved for English, then th e extension
to other languages wo uld b e easy. [A debatabl e
point . .. CM]
51 F lanagan , J L, Speech Analysis, Synth esis,
and Perception, Springer-Verlag, N ew York, 1972,
page 196.
52 Garvin, P L, " A Linguist's View o f Language-
data Processing," P L Garvin (Ed), On Machine
Translation, McGraw -Hill , New York, 1963 , page
20.
53Ibid , page 18 .
54 Ibid , p ages 19 to 20.
55Newell, A, et ai, Speech Understandin g
· Systems: Fin al R eport of a Study Group, North-
Holl and, New York, 1973.
56 "The C-MU Speech Recognition Project,"
Pro c IEEE Systems S cien ces and Cybern etics
Conference, Pitts burgh P A, 1970.
57Woods, W A, "Motivation and O verview of
BBN Speechlis: An Experimental Prototype for
Sp eech Understanding Resea rc h, " IEEE
Symposium on Speech Recognition, Carn egie·
Mellon Universit y, 1974.
58 Bak er, J K, "Th e Dragon System - An Over-
view," IEEE Symposium on Speech Recognition,
Carnegie-M ellon University, 1974 .
59Woods, W A, "Progress in Natural Language
Understanding - An application to lunar geology."
AFIPS Conference Proceedings, volum e 42, 1973,

182 BYTE Decelllher 1977 Circle 93 on inquiry card .


Circ le 45 o n inq uiry card .

pages 441 to 450.


60Chomsky, N , "A Tran s formational A p proach
to Sy n tax," J A Fodor and J J Katz (Ed), Th e
LI GHT $37.50
Structure of L an gu age. Pren tice-Hall , En glewood
Cli ffs NJ, 1964.
61Woods, W A, "Transition Network Grammars
PEN -DRAW PICTURES
for Natu ral La n gu age A n al ysis," Comm of t h e -COMPOSE MUSIC
ACM, vo lume 13, n u mber 10, October 19 7 0, pages -INPUT TO GAMES
591 to 606.
62Win ograd, T, U nd erst a nding N atural L an -
guage , Academic Press, New York , page 43. Attaches to any ROllO s.vstem with TTL inpu t po rt a nd memo rv
63Wilks, Y, "Parsing E n glish I," C h arn iak , E mapped video drive r (PTC. Cro m emco, Pol y morphi c, etc.). A ll o~s
and Wilks, Y (E d ), Co mputatio n al Se m anti cs, comp u t.e r to int erroJ(a te t he pen at a ny tim e and determ ine its
North-Holl and, Amsterd am, 1 976, page 99. location.
641n "Cou r t Martial, " th e En terprise Records
Officer is able to mo di fy the ship's com pute r base d S-J()O Wire Wrap 1-0 K it s
log, a file w h ich should n ever be al tera ble; "Court
Martial," Star T rek ep iso d e , firs t tel ecast 2/2/67.
651n "The Menagerie," the Enterp rise Sci e n ce FLOATING POINT
Officer is able to tie in t h e ship's li fe-s up port system
with t h e helm. T h e ship's com p u ter woul d not
ac cept any course c h a n ges, sin ce t his woul d PROCESSOR $60.00
adver sel y affect t h e li fe sup port. In t h is way , t h e
Scien ce Officer was able t o take over t h e ship; In t.e rfaces new Nationa l fl oat.inJ( poi nt processo r chip . Fl oati nJ(
"Th e Me n agerie," Star Trek episode, first telecast point arithm etic to 8 d igit;; acc uracy, plus t. ri J( a nd IOJ( fun ctions.
11/17/66 and 11 /24/66 (a 2 part episode). Huns in pa ra ll el with BORO processor. M in i-BAS IC package
66"Wolf in t h e Fol d," op cit, page 1 38 . included.
6 7 "Assignme n t: Earth ," Star Trek ep isode, first
telecast 3/29/68. TTL 1-0 4 I NPUT POHTS $I !-l.!-l!). 2 LATC HED OUTPUT
68BOO KL E T OF GENERA L PL A N S: USS POHTS $14 .f!!). SEH IA L 1-0 . te letype a nd I{S 2:32 $ 14.%, HI G H
Con stitu t ion Class, draw n by Fran z Josep h , Bal- SPEF:D CASSETTE TAPE interface , up to 4K ba ud $2!-l.%.
lantin e Books, New York, 1 975.
69Golen paul, A (Ed) , I nformation Please A lma- S- ](Xl Bus BufferinJ( ki t, plu s R bi ts TT L 1-0 $ 24.95
nac, 3 1 st edi tio n , D an Gole np aul Associates, 197 7.
page 295. All kit.s incl ude very t h orough doc umen tation. co lor-coded wra p
70Knuth, D E. The Art o f Com puter P rogram - lists. d river softwa re . IC's, an d m ul t i-co lor wire (30 gal. Bus
ming, volume 3 (Sortin g a nd Searching), Add ison- b ufferi n g k it is requir e d b y all other kits, including FPP.
Wesley, Reading MA, 19 7 3, pages 55 0 t o 55l.
Wrap too l. soc kets, a nd wire wrap boa rd not includ ed.
71 lbid , pages 553 to 554.
72Hardgrave, W T, "The Prospects for Large Educational Data System
Capacity Set Support Systems im be dded w i thin CO D. Maste r (,ha r ~l' . VISA lH'cepl,t!(1
Virginia residenl~ add sales tax
of Virgin ia , In c.
Gen eralized Data Man agem en t Systems," P roceed- P. O. Box 211 5
in g of t h e Internatio n al Co m p u t in g S ym posium Cash o rders sh ip pt,>d postpaid
1973, Davos, Switzerland, North-Ho llan d, Amster- Newpor t News, Va. 23602
dam, 1 974, pages 549 to 556 .-

• PROGRAMMED COURSES
• ONLY $29.95
• ON CASSETTES (per course)

S1 - INTRODUCTION TO MICROPROCESSORS. This S2 - PROGRAMMING MICROPROCESSORS. This
seminar is intended for all non-specialists who wish to seminar describes the internal operation of a micro-
acquire a broad understanding of the basic concepts processor system including how instructions are
and advantages of microprocessors . It explains how fetched and executed , how programs are written and
microprocessors work and it stresses methods , costs, executed in typical cases (arithmetic and input-output).
advantages and disadvantages for the most important The goal of this cource is to provide an overall under-
aplication areas of each type of microprocessor. What standing of the basic concepts of microprocessor
is needed to implement a system ; how to use it; the programming. Requires an understanding of the main
impact of microprocessor-based systems; their evo- concepts in the INTRODUCTION TO MICRO-
lution. Topics covered include: BASIC DEFINITIONS. PROCESSORS SEMINAR. It is recommended that
SYSTEM COMPONENTS, MICROPROCESSOR AP- these two seminars be taken together.
LlCATIONS, WHAT TO LOOK FOR, and IMPACT AND
EVALUATION.

EACH 2 Y2 HOUR COURSE INCLUDES 2 CASSETTES AND COURSE BOOK.


Shipping and Handling: $1.50 one course, $0.80 each additional course.

~YBE~ In the U.S.: 2161 Shattuck Avenue, Berkeley, Calif 94704


In EUROPE: 313 Rue Lecourbe, 75015 - Paris, France.
To Order By Phone: (415) 848-8233 (BankAmericard I Master Charge)

Circle 111 o n inq ui ry card. BYTE Decembe r 1977 183


Continued from page 8 types which can be declared, as well as might not even want to consider the
file and record structures missing from possiblity of using the language for complex
BASIC. PASCAL is a block structured numbers because of the kluge that would
language allowing multipl e character strings result. Using PASCAL, I would simply use
for procedure and data names, and is thus the type extensibility of data to declare a
closer to the natural symbolic thought complex number type and code various
processes of designing a program than is procedures to implement complex number
BASIC. operations. An example of th is concept,
A classical contrast between the two which involves no features not inherent in
languages in this area of features is to pose PASCAL's definition, is given on pages
the problem : How would I use th e language 42ff of the PASCA L User Manual and
to include complex numbers for use in Report quoted earlier. Of course, perhaps
engineering analysis or physics? In BASIC, not all possible or desirable features were
included in PASCAL's definition, so dialects
may occur there as well as in BASIC. But the
necessity of di alects generated through
extensions is probably less in PASCAL,
STATEMENT OF OWNERSH IP, MANAGEMENT ANO CIRCULATION
making the standard created by Professor
(R~quirt:d b), J9 U.s.c: 3685) Wirth a closer approximation to what
actually gets implemented.

4. LOCATION 0,. KNOWN OP'P'ICE OF fOUIlLICATION (Stree!, C fl y. County, Slol~ oml , - ,P Code} (NOI W;fltt!",' - - Lots of Implementations of BASIC
70 Main St. Peterborough, Hillsboro, NH 03458
5 . LOC""TION OF' THIt HIfAOQUARTERS OR QENERA L BUSINESS O"P'ICES OF THE PUB LI SHERS (No t prlnt"r.,
Are Available.
70 Main St. Peterborouqh, Hillsboro, NH 0345 8
1-::~~:::.L:-;'::SH::':::R-:'N:;:.=~:-.::n:-d7:d::~"'=,:=~,:;:A~N,::O,::C;::OM::P:.':L:::.E1~E'.;A~O~0:.:cA=:ES~S=:ES~O;::F..:P:::U!;.L:c'S~~:!"c:A:,.!.':.::O:!,;'T:'::0:.R
:c:,.!.A:::N,-"O~M::A~N~AO~'::'.NG~'O~'.'.:TO~A~_ _ _ _ Here is where BASIC no doubt has a
~_V~1~'r~rq~:1~'n~1~'a~p~e~sc~h~k~e~_~
7~4~~G~r~o~v~e
=-s
~t~.__ ~p~e~t~e~r~b~o~ro~
ug ~h~
, _~N~H~_0~3~
45~8 _ _ _ _~ considerable lead over PASCAL at the
ED ITO R (Nom!) ond"AddfT"j

1---- --"'-' ' 'mP;:"r!W'S!L-:---c_~N£O'>lO~n,~e'-1:lActV.l1e""_ _ _ .E:p.l1e"t.l1eCfr,!,b~O~r~.ll.!!H,,-----'0"'3"'4"'5"'8'---_ _ _ ~


r "iL'•rr;:.. &., -lH1,!"';:.11J!!! present tim e. But PASCAL is rapidly gaining
MANAGINQ I!:DITOA (Nomr. and Add .....'
None in a catch up mode. As noted ear lier, there
7. OWNER II( owned by II corporofion, it. nCJrtlf a"d 4dd ...." mull bi.' ,'olf'd ond 01.., imrned iott l y ,hcrf'un,J.r fhi.' nomu Gnd od.fre "e.. uf " 0('11 ·
holdf'1'I' own/o, or hold/o, f p ercent or mort' of total limount of fl oell . If tltH ownf'n by a eurporotion. fh fO' ..arne, and oddre.H. of the Ind/l'{d lUJl
are presently nearly 100 different implemen-
owner, mu., be ./~n . If OWIH!d by a porfn.,..h{p or ofhf'r ''''''neorp oro' f'd firm. I,. nome ond oddrtlu. 0' WI! /I th o. of coeh i"d/LlJd'uol mUll o. tations of PASCAL, mostly for minicom-
bf',IHn.J
puters and larger computers ranging in size
1---_-'B"_Y'-T'-'E"--'Pc:.:u~b"_1'_1=:·C",a"-t,,,1=:'o~n'.':S"---.;I~n!!:C
,,-_,--_ __ _+_7~O~. Maln St . e erooroug , Nt1 and scope up to a CRA Y-l implementation
u; .. Poc, 7"' Grove st. Peterborouqh NH
" " .. " "'~~no Pptprborouah NH of PASCAL. At the low end, according to
•• K.NOWN BONOHOLDERS, MORTGAGEes. AND OTHER SECURITV MOLOEf\S OWNING OR HOl.OING 1 PERceNT OR MORE OF
the PASCAL Users Group Newsletter,
TOTAL AMOUNT OF BONDS. MOf\T GAGES OR OTHER seCURITIES (If ort' none •• o .'ole) Ih.,.., numb er 8, page 64, there are presently
compilers implemented for the Motorola
6800, Intel 8080 and Zilog Z-80 micro-
processor arch itectu res (although the Iisti ng
P. FOR COMPLETION 8V NONPROFIT ORGANIZATIONS AUTHORIZED TO MAIL AT SPEC'AL RATES (!feetlon 132. Jll2 , PSMJ
The J)urpo... function •• nd nonprofit ...tllt 0' Ihl' or~nlUI'on .nd Ih ••• ampi "eIU. for F.-de,,"neome ttl( purpa... (Chetlr a,..)
did not mention whether the compilers
were self-compilers or cross compilers).
(If ehon'f'd. pllbU.I'U'r m"", ,ubmlt 'lL'pklnotion of eh4n•• Implementatio ns are coming, part of the
with '''''''flo/em.nt.)

MO. EXTENT AND NATURE OF CIR CULATION


AVERAGE NO. COPIES EACH
ISSUE DURING PRECEDING
ACTUAL NO. COPIES OF SINGLE
ISSUE PUBLISHED NEAREST TO history of the langu age and the active
12 MONTHS FILING DATE

A . TOTAL "'0. CO".E ......... TIlD (Hilt Pr«u Run)


following it has among computer science
90 928 107 400 people .
• . "14.'0 C."CULATIO'"
t • • ALe. THAOUGH DEALERS AND CA .... 'ER •• STR ••T
VE ... DO". AND COUNTE" SALES 19,128 21 196
2. "'AIL .U.SCRI"TION.
67,665 77,q51 Much Personal Use Applications Software
C . TOTAL .. A.D C'"CULAT.O''' (814m o( 10BJ and JOBI)
86,793 98,847
Already Exists in BASIC.
D . ""EE DI.TR i .u.,..o .... V "'All... CARR .... OR OTHER MI!ANS
.AM~LI! •• CDM~L''''I!NTA''V. AND OTHE .. ,. .. EE CO~IE. 559 1,760
No argument here. The number of books
E. TOTAL OI.TRI.U"ION (8um o(C and DJ
87,352 100,607 and periodicals which publish programs
, . ·CO~JII!:. NOT DI.TfUSUTCO
1. OPI"ICE USE. L.IIPT OVER. UNACCOU"TitO •• ~OILI(O
APTIIR .... 'NTING 2,275 6 793 in BASIC will probably exceed the numb er
none as of this d
with PASCAL representations of equivalent
1 1nl
G. TOTAL (Sum 0(6, FJ ond I .ltou'" cQI.UI' net pre .. run .hown programs for a long time to come. But this
InA) . . 90,928 107,400
is equivalent to saying that BASIC has been
~
II. 1 certify Ihat the stalements made by me :M'A·~AAG~m'RR
~ ' Ai(jND~.~T,.LR·-(}J
~ · T~./J0R-,,'''U.;/.~L'.IIS.HOER
c. .• u·P'"U·bsslisher around longer in the public eye, for given
above are eorrect and eomplete.
12. FOR COMPLETION BY PU8LIS"'ERS MAILING AT THE REOULAR RA ES (Sf/e l ion 112. 12J, Po.lol SfJrv(('e M4IIu(ll) time much of the same sort of software can
39 u . S . C. 3626 p,ov!d •• In .,.rtln.nt Plrt : " No ""101' who would h ..... b.." Inlltltod 10 min mlnlr unda, form., IOtCtlon 4359 of mit tltli and will be written in PASCAL as more and
.h.1I ma" luch mltter ., the r~ .. prov'dfd und" thl. subMC110n unlan hi fUI' en"u.llv with thl Pon.1 Servle......"In.n rlquen 'or p.rmlilion
to m.1I mlttl' at weh fll ..... more implementations become available.
In eccordlnc- with 1hl provl.'onl of ttll. ItI'Ul'. I h"ebV raque" .,.,ml.tfon 10 m.1I thl publlcetlon nelTlld In 111m 1 I. thl phl~ POlte-ge
re... p,.-ntlv authorlnd bV 39 U . S. C . 3828.

BASIC is Friendly.

::'~':;7 3528 (Page 1) (See instructions on reverse) BASIC is fundamentally an interactive


approach to programming in which pro-

184 BYTE December 1977


grams are entered in source form and tested
with in the confines of one session with
Circle 84 on inquiry card.
effectively instant change from editing to
execution. If PASCAL is to become an ADD EXCITEMENT TO YOUR
equivalent "friendly" language, it must be VIDEO DISPLAY WITH A ...
implemented in a way which allows a
similar instant change from editing the PROGRAMMABLE CHARACTER
design to trying out the design of an appli-
cation .
GENERATOR
INNOVATIVE S-100 CARD PROVIDES THE CAPABILITY OF DYNAM-
Whether this friendliness requirement ICALLY CREATING CHARACTERS GENERATED BY YOUR VIDEO
can be best met by an interpreter or a DISPLAY. PROGRAM SPECIAL MATH OR SCIENTIFIC SYMBOLS,
APL CHARACTERS, SUB- AND SUPER-SCRIPTS, HIGH DENSITY
compiler is an open question, but it is BAR GRAPHS, SPACE SHIPS, ETC. YOUR ORIGINAL CHARACTER
a definite requirement. In BASIC the SET REMAINS INTACT AND AVAILABLE AT ANY TIME.
rule to date has been interpretive, or semi- KEYBOARD INTERFACE AND DUAL JOYSTICK INTERFACES PRO-
compiled code, where semicompiled means VIDED ON BOARD. IDEAL ADDITION TO SOL ™ TERMINALS,
POLYMORPHIC TM VTI, PROCESSOR TECHNOLOGY ™ VDM-1,
that symbols for language tokens are re- SOLID STATE MUSICTMVIDEO BOARD AND OTHERS USING THE
placed by compact codes. In PASCAL MOTOROLA rMgX7 MATRIX CHARACTER GENERATOR.
to date, compilation has been the rule
rather than the exception. It is conceivable
that a compiled PASCAL coupled with an
editing and object code maintenance facility
oriented to the block level might give
sufficiently quick response at the terminal
with much faster execution times associated
with compiled code.
Another open question concerning
PASCAL is that of how much memory is
required for a PASCAL self-compiler or 'UNRETOUCHE~PHOTOS
resident interpreter in a typical personal
FOR FURTHER INFORMATION
computer's microprocessor based system.
AND PRICING, CONTACT:
I suspect that a compiler or interpreter of
PASCAL can be built which will fit within OBJECTIVE DESIGN, INC.
16 K to 32 K bytes of memory, but whether
P.O. BOX 20325 TALLAHASSEE, FL 32304
this is really possible or not is by no means (904) 224-5545
clear to me.
To sum up the thesis, PASCAL is well
on its way to becoming the kind of widely
known language which will be taught as
a matter of course to new students of
"W'
e ve G 0. tIt"" 00

programming. This in turn will tend to boost A NEW ADDITION TO OUR STOCK OF
SURPLUS ELECTRONIC EQUIPMENT
the long term acceptance of PASCAL and
get it established as one of the major lang- The IBM Selectric© Based _ = -r.
uages, a process which at an earlier date I/O Terminal $695.00
occurred for FORTRAN and BASIC. For • INTEGRAL MODEM
• BCD OR CORRESPONDENCE CODE
our own part, we at BYTE are interested in • TABLETOP MOUNTING
giving PASCAL a boost. We have a survey • 22"W, 22"0 X 8"H, 58 LBS
• ASCII CONVERSION AVAILABLE
article about PASCAL in preparation at the • DOCUMENTATION INCLUDED
present time. We would also like to talk to
implementors of the language who would
be interested in marketing PASCAL com-
pilers or interpreters through software
book publications which include source code
and machine readable object code. For those
who desire more background information
on PASCAL, we recommend the PASCAL • KEYBOARDS - ASCII
User's Group, run by Andy Mickel at the ENCODED $40.00-$60.00
• CRT TERMINALS
University of Minnesota Computer Center, . • TAPE DRIVES $650.00 • PRINTERS Many
• EQUIPMENT CABINETS • TRANSFORMERS Other
227 Exp Engr, University of Minnesota, • POWER SUPPLIES • WIRE-CABLE Items
Minneapolis MN 55455, (612) 376-7290. filii" Send for a free. catalog or call Bill Blaney
The PASCAL Newsletter is published four ~" toll free 800-258-1036. In N.H . 603-885-3705

W~I1L.IJWIIJE E~E[;TI1~IlI[;;a, m[;.


Visit Our
times per year, and at the time of this Store
writing costs $4 per year.- 10 Flagstone Drive, Hudson, New Hampshire 03051

Circle 130 on inquiry card. BYTE Dece mber 1977 185


Photo 7: The Intercept Jr unit shown in the titanium sphere with the cover removed. The rebuilt processor board is the one
'closest to the front of the assembly. The system is used to collect data from the continental shelf.

Henry Lahore
Oceanography WB·1 0
U of Washington
Seattle WA 98195
A User's Report on the Intercept Jr ·

In August 1976 Intersil Inc brought out cm) board which features a keyboard, two
Intercept )r, a battery operated microcom· 4 digit LED displays, a monitor with micro·
puter system using Intersil's IM·6100 12 bit interpreter in read only memory, 256 words
CMOS microprocessor, which has been de· of programmable memory, three printed cir-
scribed in the May and) une 1976 issues of cuit card sockets for option cards, and a
BYTE and the June 1976 IEEE Proceedings. battery power supply for $281. Option cards
At the time, we in the oceanography available include 1 K bytes of programmable
department at the University of Washington memory, 2 K bytes of bipolar programmable
needed a microcomputer for underwater read only memory, a UART, and an audio·
,
data acquisition. This required a battery visual display card using LEOs and a speaker.
About the Author
operated system which would have to Excellent hardware and software documen-
Henry LahoreOb.tained operate for several months: We had to tation is included.
a masters degree in (!Iectri- choose between the Intercept) r or the RCA We have made three different battery
COSMAC processor, the only battery powered data acquisition systems using
cal engine:~ring at the
University of Washington powered systems available at the time. Intercept ) r. The sediment motion system
Because the Intersil processor recognizes to be described has analog and digital
in 1970, and has worked
the instruction set of the Digital Equ ipment sensors and uses the IM·6100 micro·
with Raytheon, Computer
Corporation PDP-8E minicomputer, and processor with 2000 words of memory.
Automation, and- Prim.e
because we had cross assemblers and pro- Data is recorded on a Memodyne incre·
ComputerS in the areas of
hardware interfacing and grammers available on campus who were mental low power tape cassette.
familiar with the PDP·8 language, we chose In our sediment motion data acquisition
programming. This pro-
the Intersil product. system (see photo 1) we have removed
ject is his first experience
The Intercept ) r microcomputer system the microprocessor from its socket on
with CMOS circuitry.
consists of a 10 by 11 inch (25.4 by 27.9 Intercept )r and put it in our data acquisi·

186 BYTE De cemher '977


SPECIAL OFFER
TE XAS INSTRUMENTS PROGRAMM A BLE
CHEAP TALK
CALCULATOR S ,
TE C 9900 SUPER STARTER SYSTEM
TELET YP E TERMINAL MODEL 43
modems
103 Type Full Duplex 0-300 Baud
BELOW DI SCOU NT HOUSE PRICES! WHE N YOUR NEW PET COMPUTER
' TI SR 58 , $97.95
RS 232 Interface , Manual or Lease Line
A RR I VES , Y OU AND YO U R PET WI LL
TI SR 59 . , , $224 ,95 4 1/2 x 5 PCB Construction
NEE D TO C OMMUN IC ATE , WE HAVE
TIP C 100A , $149.95 One Year Warranty
COMPLETE w ith charg er, c ase , instructions, war - TE N (10 ) PROGRAM S IN THE PET'S
ranty .
• ' TEC . 99OO· SS 16 BIT COMPUTER
BASIC LANGUA G E , ON A SI N G LE
QUALITY CA SSETTE ,
RUN .. - GAMES,
READY
DISPLAYS,
TO
AND
$115.00
16 bit TI9900 microP , 32 bit 110 hardware, mu lt &

~t·~
divid e. buHered bus, 20 rna loop, RS 232C, 8 in ter - GRAP HI NG PROGRAM S, USE THEM AS
rupts and soc kets . I S, OR MODIFY THEM TO MAKE
KIT : , " " , , , , , , , " , .. $299,00 YO U R OWN C USTOM PRO G RAMS ,
ASSEMBLED : " . $399,00
ORDER NOW SO YOU C AN H OUSE ·
"'NEWI TELETYPE TERMI NAL MODEL 43 BREAK YOUR NEW PET QU I C KLY ,
10 or 30 CPS , Interface : EIA (RS232) or TTL
(Digit al). Fanta stic di scounts. PHOnE 1
W ITH TTL INTERFACE : "" ""',.,'" , $984 ,95 Send $ 19,95 in check or money order to :
WITH RS 232 INTERFACE: . , $1 184 ,95 Send Check or C,O,D.
DON A LAN ENTERPRISES Shipping, Handling and Sales Tax Included
To order: check or mon ey order plus $3 postage
and handling . NYC residents only add 8% tax. POBO X 401 Phone 1
OWENS ASSOCIATES, DEPT, B MARL TON , NEW JERSEY 08053 1330 East State St.
147 Norwood Avenue
Staten Island, New York 10304
New Jerse y re sid ent s ad d 5% sales t ax.
Rockford, Illinois 61108
Tel ephone : (212) 448·6283
D eal er inquiri es invil ed . Phone (815) 962-8927

Circle 41 on inquiry card. Circle 94 on i nquiry ca rd .

INDU STRI A L QUALITY


SIX PORT I/O CONTROLLER
• computer •
MICROPR OCE SSOR CARD K IT S
All 15V o nlv . Sil l 4 .5)t 6 .5 , 22 /44 ed ge co nn • Program Control of Ports • depot<>lnc. •
• <1 K RAM
• MOlllcrhoar d
S'19 .95 • 2 K PRO M
$39 .95 . 4 K PROM
S 79 .9 5
5 129 .9 5


S100 Buss Compatib le
Parallel I/O
• (Credit Cards Accepted)
3515W.70thSt., Mpls., lION 55435

• Car el Cage 5 20 .00 • Digi tal 110 S 59 .9 5
• Kevboard / D,splay 589 .95 • Casselle Interlace S 3 7.95
• Av.:.. tahle tes ted .1 nd ,n OE M (I1'o' S.
• Single Printed Circuit Board • (612) 927-5601 •
$149.00 • SOFTWARE GOT YOU STOPPED? •
M ICROCOMPUTER SYSTEMS
• 6800 P' OIOlVll lng Bo'lld S ialler Se t S 84.9 5 • If you have a si ngle Northstar Disk, •
• Ki t =-1 . 6800 S tu de n \ Co mpu te r 5 125 .00
VIDEO SYSTEM we can offer you fully-tBsted and
• K II ::'2. Mo to rola Educ alor II 5 169 .50
• K i t :'-:1. 6800 Indust ' lill Card Sc t 52 10.00
• 30 x 64 Display - 1920 Char. documented packages Tor t he fol- •
• Kit =4 Hom\·b rew Com p ut e r Ca rrl Se l 5320 .00 lowing: •
• 128 Character Bu ffer
• BAR E BOARDS. EN CLOS UR E S. F I R M WA RE . ET C .
SEND 5 3 .70 FOR TEC HN I CAL MAN U AL I I NF OR M A • 1 J-I sec Read / Write Time Ger:leral Ledger with •.
Tl ON ON ALL A BOVE ) • Extensive Software Provided Payroll . . . . . . . . , •. $75 .00
Send Chec k o r M onev Q,rtp. r 10: • Programmable Display Attribute Mailing,List-with -Coded •
••
:0·
:':
I ,

S S: • Bankamerrc ard IV ISA )

~:I~:e~~~~~~~tS
Sal es Ta x
6%
Add
Characters
$349.00

Available in Kits or Assembled



Sort, Zip Code Sort, and
...Last Name Sort . . . . . . $7,5.00
.Inventory Control. • . . . . $75 .00

ilrer pur
ElectronIC Commu mca ltons CO
BankAmericard and Master Charge
Accepted
• Other packages soon! I Write or call
for detail s. Dealer ' inquiries en '
couraged.

.

P. O. Box 365 . Ch ino, CA 91710


Dealer or Club Discounts Avail able •
or V'S lt Re tOl d Stor e Name
13 552 Ctl ntra l Aven ue
lOR Address
Box 28823 Dallas, Texas 75228

Circle 102 on inquiry carel. Circle 99 on inquiry card. Circle 27 on i nqu iry card.
1, - :!¥
ELCOM CRYSTAL· 'C
CONTROLLED COUPLERSe
OUT PERFORM

CONNECTED_~ ~~
DIRECT ..4i
Il.
INTERFACE WITH YOUR COMPUTER
. 1-- NATURAllY WITH THE NEW
DHD-11 CONTROL PANEl
MODEMS I ' ,,--I . .~
.
COMPLETE MICRO Utilizing unique BI BCO
and BCOI B hardware
ADDRESS AND
BUSINESS SYSTEMS ,4 , OPERANDS (N DECIMAL techniques it is the
INSTRU.CTlDNS IN HEX most powerful, flexible
control panel Bva/1able.
Soroc IQ 120
The ELCOM 30 Originate· Only and
• '6 bit bi· direc tional address and
(assembled $899.95) ELCOM 32 Originate / Answer acoustic data bu sses int erf ace w ith any 8 or 16
co upled modems provide reliable Bell bit sys t em (MOS o r T2L ).
Lear Siegler $ 799,95 System 103 / 113 compatibl e, Duplex or
Half-Duplex. 300 bps data commu ni - • Addresses and data from contr ol
pan el to IJ. P load ed ·from keyboard in
ADM-3A kit catio n over conventiona l dial telephones. se lec t able hex o r decimal.
Advanced c rysta l -contro ll ed digi tal tech-
IMSAI 8080 ki t $ 599.95 niques and high-order linear phase active • A ddr esses and data fro m /J P to c o n ~
filters provide error -fr ee operation over Iro l panel r ead by 5 digit hexadecimal
Centronics Business $1145.00 t h e most marginal te l ephone circ u i ts . d isplay in selec tabl e hex or decimal.
Printer (132 columns) A sing le 2S- p i n fe m ale connector pro - • Se r ves as prog ra m loa der . de bugg er ,
vides both EIA RS · 232 and 20 mA TIY m o nit o r (bo th single s tep and dynam ic

i·WHOO
DISC/3 COMPANY
compatib le interfaces.
ALL PRICES FOB CONCOR D, TN .
Ba nkAm er icard/ Visa a nd M aslerch arge welcome
s tro be). and o verall J.L P educa tor.
Th is c on trol p anel w ith onl y CPU and
me mory form an ideal educator and! or
s tarter s ys tem or upg rades an existing

EI
EICom ENTERPRISES
micro! mini s ystem .
1840 LINCOLN BLVD. 10728 DUTCHTOWN RD , For f ree inf or m at ion . pri ce an d delivery co nt ac t :
SANTA MONICA, CALIF. 90404 CONCORD. TN , 37720
(615) 966 · 3352 ~ P ELECTRONICS

"i"i L~:P:.:o:. :B:0:X:2:1:0:3:S:Y:R:A:C:U:S:E:':N:. Y:':':3:2:2:0:~!~


(213) 451-8911 1615) 689 · 5559 . Ca ll 24 hours ,
DEALERS INQUIRES tNVrTED

Circle 49 on inquirx; card. Circle 47 on inquiry, card. Circle 1.23 on inqui w ·ca-rd.
tion system, which consists of an Augat Power Consumption
wire wrap board with 2000 words of
programmable memory, two CMOS type For any electronics which is to run on
parallel interface elements, and miscellane- batteries for an extended period of time,
ous circuitry. Two ribbon cables with DIP power consumption must be in the low
connectors form an umbilical cable of 28 milliwatt range. Many microprocessors
conductors between the processor and the cO,nsume more than 500 mW by themselves.
data acquisition system. Our CMOS data acquisition system con-
We use a cross assembler for PDP-8E sumes 18 mW of power. The CMOS circuit
assembly language on a DEC PDP-10 family has very low power consumption and
computer on campus. The 2000 word features almost as many different types of
program is loaded over the phone circuits as the TTL family.
lines into our system in about 3 minutes The Intercept Jr CMOS microprocessor
at 300 bps. The Intercept Jr system system comes with four alkaline D cells
monitor accepts the standard BIN loader that last for about 20 hours of operation
format outputted by PDP-8 mInI- with the LED numeric display on. The
computers or cross assemblers. At the following current measurements are for
end of program load ing, a checksum operation with the 2.45 MHz crystal oscil-
is displayed on the numeric display to lator installed:
show if there were any errors in trans- 5V 6V
mission. We get perfect transmission more HALTED 4.4 mA 5.6 mA
than 90% of the time. RUN 23 mA 30mA
While in the lab, the data acquisition RUN with display 223 mA 350mA
system uses Intercept J r to print memory
dumps automatically at the end of an We see that the LED display takes ten times
averaging time. This has been extremely as much power as the rest of the Intercept
useful for debugging the program. When we Jr.
are satisfied with its operation, the Intercept Power consumption in the CMOS com-
J r is removed from the data acqu isition puter system is proportional to the number
system. The latter is then sealed in a titani- of instructions per second executed. Our
um sphere, and the entire apparatus is data acquisition system samples data once
brougbt out to the continental shelf to per second, does a little computation, and
record data for up to eight weeks. Thus, in then has nothing to do until the start df the
th is project, the Intercept J r serves as a next second. Following Intersil 's appl ication
removable peripheral device used for pro- bulletin, M005, we turn off the system clock
gram debugging, loading and testing. while waiting for the next second. This
When the data comes back on tape reduces power consumption during the
cassette, we use the Intercept Jr system pause by a factor of 5.
to dump the data to the Teleprinter for a The IM-6100 has a WAIT line that allows
quick look, and then dump the data over the use of slow memory. This WAIT state
the phone lines to the PDP-10 computer can be used to reduce power consumption
for data analysis. . for all of the system except for the micro-
The data acquisition program is designed processor itself. Turning off the clock to
to operate in read only memory with 256 the IM -6 100 reduces current from 10 mA
words of programmable memory. After to .25 mA at the standard clock frequency.
loading the program over the phone lines, We have also slowed the system clock to
we throw a switch which disables write 1 MHz. This allows us to increase the size of
commands to all but the lower 256 words the pullup resistors from 1 k to 20 k ohms
of the memory. This switch, which we in order to reduce power consumption. Our
label RAM/ROM, has been very useful. We data acquisition system has to wait while
use the Intersil IM-6561 256 by 4 bit CMOS various peripherals are ready; slowing the
programmable memory. Harris Semicon- system clock reduces the number of times
ductor is com ing out with a field program- we have to execute a wait loop. Th e reduced
mable CMOS read only memory, HM-6612, clock rate also perm its us to use long cables
which should be an exact replacement for between the Intercept J r and our data
the IM -656 1 programm able memory. This acquisition system. The instantaneous
will eliminate having to load the program current consumed by our data acquisition
every time, but will increase power con- system is 10 mAo The average consumption
sumption. Each ' read only memory will is only 3 mA due to its being on only about
consume 10 mA while being ad dressed. 1/3 of every second.

188 BYTE D<c emhcr 1977


ELCOM
re you in the process of de-
turn-key computer earTESH[]p.
the affordable computer store
ENTERPRISES
Now Distributing .. ..

7825 BIRD ROAD HAZELTINE 1500 - Basic Terminal


o you have problems inter- OF [kit or assembled)
facing the hardware? (305) 264-2983
DIAL 264-BYTE
MIAMI CONTROL DATA - Conversational
Display Terminal s [asse mbl ed)
T he n you need th e hardwa re sp ec ia li st
COMPUTER MACHINE SERVICE . , ADDS - Regent 100 and 200
eMS is i n (he busi ness of assembling and repairing WE HELP YOU GET YOUR SYSTEM Terminals [a ssembled)
of microcomputers and equipmen t. BEE HIVE ' S - B100 and B500
eMS is not in the business to sell computer equip'
UP AND RUNNING. [a ssembled)
m ent. IMSAI 8080 M EM ORY EXPANSION TWX - New and Used
OU f pri mary object ive is to provide assembly service BYT E-8 CO LOR TV GRAPHI CS
SW TP MP68 LEAR SIEGL ER AD M 3 TELEX - New and Used
of til e highes t quality as well as prime quality repair
service on mic rocomputers and data communications CROMEMCO PAPER TAP E READER SHUGART - Mini -fl oppy Disc Drive
equip m ent. PROC ESSOR TECH Units $310.00 while they lastl"
INTERFACES (KITS or ASS EMBLED UNITS)
For inf ormation call : 213-328-9740 A LL PRICES FOB CONCORD, TN .
o r 213-328-9760 IN FO RT LAUDERDALE BankAmericard / Visa and Mastercha rge welcome

EI
Or w ri te: Computer Machine Service EICom ENTERPRISES
2909 Oregon Court 1044 E Oakl and Pk Blvd 10728 DUTCHTOWN RD .
CONC O RD . TN . 37720
Torrance, CA 90503 (615 ) 966 -33 52
(305) 561 -2983 (615 ) 68 9· 5 5 59 . - C all 2 4 h ours .
FOR A LL YOUR HARDWA RE PROBLEMS
CMS I S THE ONE TO CALL. DE ALERS INQUI RES IN VITE D

Circle 31 on inquiry card . Circle 14 qn inqui ry card . Ci rc le 47 on inquiry card .

••• THE PROM SETTER


••••••••••••
TYSON 'S CORNER. VIRG INIA

CHESS (WASH INGTON , D.C. AREA)


READIWRITE
THE

•••••••• BASIC COMPUTER SYSTEMS


1702A and 2708
CAN ALSO -WRITE and READ
•••••••• STORE
"Specializing in Systems" AND OTHER
2716
EPROMS
Chess Basic is a chess program FEATURING: AL T AIR / IMSAI COMPATIBLE
that runs on extended Basic. It Processor Tec hnology l ea r Siegler NO EXTERNAL POWER SUPPLY
has a length of 7K characters Po:y Morph lC DEC

and plays an intermediate level


D iablo
E&L
SWTPC
Seals
LET YOUR COMPUTER
game. Send for a sample run to
Vector Graphics
Apple
Olgilal Group
TDL
DO IT ALL
CROMEMCO Books - Maga Zines
see how well it plays. SOFTWARE INCLUDED
COMPUTERS FOR HOME. SCHOOL. & SMALL BUSINESS:
O ur slall Will help you select from the besl 01 each manu /ae- Doub)es as an 8 Bit Parallel I/ O
lurer 10 complete the system best SUited to your needs.
CHESS BASIC $10.00
§)s KIT COMPLETE-$210

~S
SPECIAL LEAR-SIEGLER ADM 3A
add $ 1.00 for shipping ASSEMBLED-$375
Cali fornia re sidents add 6%
COmpUTER SY5TEmS 5TDRE DELIVER Y LESS THAN 60 DA YS
T K ELECTRONICS 1984 CHAIN BRIDGE ROAD. McLE AN. VA. 22101
SZERLIP ENTERPRISES
TELEPHONE (703) 821-8333 1414 W. 259th STREET
PO BOX 1832 OPENING SOON HARBOR CITY , CA. 90710
Fremont Calif. 94538 ALEXANDRIA. VA • NORFOLK . VA • SAL TIMORE. MD · ORLANOO. FLA
Calif. Res . Add 6% Sales Tax

Circle , 120 on inquiry.card. Circle 33 on inquiry card . Circle 113 on il'1qui p,t card .

REMEMBER
16K =::=
AS S EMBLED AND TE ST ED _
IT'S A GRE AT 81 G COMPUTER WORLO
But You Only Need =::
-!4-

$520 _ THE COMPUTER CORNER-!4-


+t-- .SOL _ A New Dawn Is Here ! -+4-
Features ; -
-
-IMSAI 8080
-POLY - 88 -W-
-!4-
ST ATIC OPE RATI O N - -TDL Z-80 -W-
ACCESS TIM E 2 ~0I1'" _
.........- • Memor ies & 1/0 Boa rds -++-
-W-
5 100 BUS CO MPllllUl E
• FLOPPY DISKS , MINI OR
LOW POWEn T VPI C ALLV -tI+- • Compu ter Book Service --+4-
STANDARD MEMOREX OR 3M "1 0 ~ m il 8 " ......- - Magnetic Tapes & Di sks ~
• 3M DATA CARTRIDGES
10 5m a 16 "
24m .. 16", rll' g
.........- • Full Li ne of Magaz in es --++-
OC300A. DC1QOA
BATTERY BA C KUP ....-t- - Bra in Gam es & Puzzl es -++-
• 3M DIGITAL CASSETTES ........- - Wo r kshop s & Club In fo rm at ion -++
• 3M OR MEMOREX AUO I O
CASSETTES. C·GO
• 3M OISK CARTR IOGES
..
:::=
-++--
Visit THE COMPUTER CORNER for
all your com p uter need s. St op in and
=:
--++-
WE Of f ER ' ......,..- b rowse - you ' ll li ke our p ersona l serv ice. -i+-
• COMPETITI VE PRIC ING
• IMMEDIATE DELIVER IES
AVATAR SVSTE M S +t- w~i7eE P~a~~~TIE~ ~;:'~~Ce~el -++-
IAny Quanlity) -++-- 200 Hamilton Avenue -i+-
• UNCONDITIONAL GUARANTEE
-++-- White Plains, New York 10601 -i+-
+I- T el : 1914) WHY · D A T A -+4-
BETA BUSINESS SYSTEMS 3 830 SWENSON
BOX 2 23 ...,r Ample Par king -kf-
8369 VICKERS ST ., KG
~ SAN DIEGO.CA 9 2 11 1r a a l
.#" 10·6 Daily & Saturday ~

r**,*,* f f . *\\~
LAS VEGAS . NEV 8 9 10 9
iiiiiiiiI 171 4 ) 5 65 4505 _ (702) 7 JJ 8 J 04

Jf'1 If f • f
.' ~

Circle 11 on inquiry card. Circlli 134 on inquiry card . Circle 23 on inquiry card.
High Speed Operation The early UART cards were produced with
RS-232 connectors mounted on the wrong
We have not had any need for high speed side of the board. We also had to add a nega-
operation, but the Intercept Jr system can tive voltage source. Our Texas Instruments
be made to run at fairly high spee ds by teleprinter requires that a jumper be put
increasing the voltage supply. The typical on the UART card between pins 4 and S.
instruction takes 10m inor cycles for execu- We found it very useful to add an LED to
tion: indicate when data was being receiyed oyer
the phone lines.
Voltage (V) OSC Frequency (MHz) Execution Speed (cycles per second) The 1 K bytes of CMOS programmable
memory that is available from I ntersil has
5V 2 .54 MHz 200,000
6V 4.0 MHz 350,000 two AA cells mounted on the card for
10 V 8.0 MHz 700,000 battery backup. Th is card draws only 10 J1A
from the AA cells when power is turned off.
The S MH z operation requires the use of the It is affected by static electricity if it is
"A" version of the microprocessor. This remoyed from its socket. Touching the
operates faster than the PDP-SE minicom- printed circuit side of the removal board
puter but takes less than .01 the power. causes a latchup on the card, scrambling
the data saved in memory.
Option Cards The AUDVIS (audioYisual) board (6957)
has 12 slide switches for inputs, and four
The UART card required the most modi- LED numeric displays with 12 LEDS ' in
fication for our use. It has been designed for parallel for visual output, in addition to a
operation only at 110 bps. We added the speaker for audio output.
Fairchild CMOS 4702 clock generator to We intend to introduce the micropro-
allow selection of rates up to 2400 bps. cessors and the data acquisition system to
scientists and technicians with the AUDVIS
board, because it allows the new user to
quickly get used to microcomputer input
and output, and binary to octal conversion.
It was developed for use in 1 day Intercept
STATE OF THE ART J r classes given by Intersil around the
BOTH FORMS
country.
There are two forms of the "state of the art". One form is the
personal growth attained by most professionals who' realize they
must stay in step, intellectually, with new concepts and new CMOS Logic Probe
techniques. Too often, a tragedy occurs when the professional
neglects the second form, his career development. The fatal
mistake occurs when working in an environment that provides Th e Intercept JI' system is meant to be
a continuous parallel to industry but neglects to provide the only a tutorial system. If one gets aro und
professional growth that is necessary to insure career develop· to doing much hardware development, a
ment and avoid future frustrations. To insulate yourself against
this happenstance, check with our professional staff. They will CMOS logic probe becomes almost a neces-
advise you on your career development as it relates to your sity. For operation with the 2.45 MH z
technical development.
crystal, the response time of the probe
Our areas of specialization are: must be faster than 300 ns. Continental
SOFTWARE DEVELOPMENT Specialties, among others, has a fast
COMPUTER GRAPHICS CMOS logic probe with a useful pulse
DATA BASE
COMPUTER DESIGN latch feature that turns on an LED if there
SIMULATION AND MODELING has been a logic state change. The hobbyist
TELECOMMUNICATIONS might be interested in the AV R electronics
HARDWAREmOFTWAREINTERFACE
probe which we have also used.
For furth er information either call or send resume to:
PERRI-WHITE ASSOCIATES Selecting a Low Power Microcomputer
50 FRANKLIN STREET
BOSTON, MASS . 02110
(617) 423-1900 PERRI·WHITE & ASSOCIATES, INC .
As a brief postscript we note that, as of
ROBERT MARLOWE 5373 W. ALABAMA PLACE this writing, the available battery powered
HOUSTON, TEXAS 77056 processors on the market include the
PERRI-WHITE & ASSOCIATES, INC. (713) 961·5500 Intersil IM-6100, RCA COSMAC, Texas
44 MONTGOMERY STREET FRANK COLLINS Instruments 990 12L 16 bit microprocesso r,
SAN FRANCISCO, CAL. 94104
(415) 981·7000 and an upcoming 12L version of the NOVA
RICH ENGLE minicomputer from Fairchild. We found it
Management Consultants difficult to obtain a cross assembler for any
Specializing in Data Processing/Sy stems Engineering
All Replies Held In Strictest Confidence low powered computer other th an the
Intersil CMOS PDP-SE, however.-

190 BYTE Dcu,'m her 1977 Circle 92 on inquiry card.


~
•••• ·INTRODUCING NEMESIS 7··· ••
WASH. DC AREA HOBBYISTS! South Florida
THE GAME WITH THE BRAIN
Th., first of II "" r l .' ,," of hnndh('ld cornput('ril':ed
Micro
~
p;a.'::I'-'S uSlnp; "St .ne of the Art" techr.ology

SUNN Y COMPUTER
Diversions
announces STOR ES. I Nc .
HOBBYIST South Florida 's First Compu ter Store
MICROCOMPUTING
WE CARRY :
An intro duct ion to the design .
construction , and programming of • ALPHA MICRO SYSTEMS,
microprocessor ·based computers . MICRO FILE, IMSAI
EIGHT W EDNE SDAY EVENING SESSION S • BOOKS, MAGAZINES,
JANUARY ~. FEBRUARY 22
Nl'm('s i s7 e i c'tr-orllCll [ Ly dupllclltes (',:x act l y tho: ancient gnmc NEWSPAPERS
of NLm. Pebbles ,",crf: nrr<1l'lged Into 1 columns of 7 , 5 , i , ) These are companion " how -to · do· i' "
pe bh lC Ii each. P II\ Y I'I ltcrn ntcd ... lth an opponent . Eilch could
courses on the hardware and softw a re
• FULL SERVICE
re!:lOVe I\ny or ill I pobbles f rom Il co l umn but could moolllu I 4':('
only onc column per move . The lo se r took the Ill st pebb l e . technologies of personal compu t ing taught • SOFTWARE
Your r esp <'clllble opponent In r:~cslsi 15 a fixt.'d progrnm by Micro Diversions hardware and soft· • WRITE OR PHONE US FOR
compute r consistlng of 11 custom designed LS I computer chi p
or . circuit. To win Is ell(II'emcly difficult bl,l l po ssib le.
wore deSigners . Ca ll / send / c i r cle for PRICES
nU/"1an opponents IIT(, also permitted . b rochure .
MORE THAN JUST TOYS
~.1!.5y to ,'slI(lrr.b le kit Inc;lu(t..,s all pa r t s '(' Keep! batte r y)
HARDWARE· $75.00 SOFTWARE· $75.00
Inc l uding c u 5lom ~kJS compuler circuit , PC board (, case.
Sol:le 50Idering requ!re~ • • • • • •••••• • • • ••• • • • • • • • • $ 9 . 9~ 80TH $125.00 Monday 12 noon - 9 pm
Kit thllt r("juires no so l de ring . . . . . .. . .... . .. . .. $14.95 Classes limited in size : e arl y Tues.-Fri. 10-6
Coml'\ele fllttrH'I 1I.:uembled s8.'IIe • • • •••• • • • • • • • • •• $ 1&. 95 registration is recommonded .
B<1ItHY ext rll (q'l transistor radio). . ..... . . . . . . $ 1.50
lntludc $1.50 Iih iJ.pln8 t\e v.'ldll residents add )~ PST P.O. BOX 527 UNIVERSITY SHOPPING CENTEA
!)end check or money order to :
FALLS CHURCH , VA . 22046 1238A SOUTH DIXIE HIGHWAY
Compute r Cr ea tion s Inc .
(703) 533·1133 CORAL GABLES, FlA. 33146
118 West 2n d S tr eet ; Re no, Nevada; 89 50 1
(305) 661-6042
'",,0" '.. . ,, ·Pt;· j!!'
Circle 72 on inquiry ca rd. Ci'rcle 110 on inquiry card .

CONVERT ANY TV TELETYPE


TO A HIGH QUALITY MONITOR RECONDITIONING AND REPAIR
Prices for reco ndit ioning of complete
machinery including parts:

MODEL NO. PRICES


M -32 ASR,KSR $250.00
M -33 ASR ,KSR $250.00
M-35 ASR ,KSR $295.00 WHAT IS
M-30 RO $195.00 a really good way to
M-33 RO $195.00 protect all your valu·
M -35 RO $195 .00
• Hot Chassis or Transformer sets able back issues of
• 64-80 characters per line ALL PRICES FOB CONCORD, TN .
• By· passes tuner & I.F. BlInkAmericard / Visa and M as t erchllrge welcome BYTE that will keep
• Normal viewing unaffected
• Safe-Easy installation
The prices listed above are for mechanically them handy, clean, and
complet e te letype machines o nl y. Quotes
ACVM Hi·Resolution $24.95 ppd fo r repair of incomplete machines made organized?
on request.
RFVM Ch2·6 Modulator $9 .9S ppd
V"i~MP·"ji\rC·:···········B·o·x·2~tn5 EICom

EI
ENTERPRISES
10728 DUTCHTOWN RD . S end to: BYTE, POB 5 720,
Los Angeles, Calif. 90029 CONCORD. TN . 37922 Philadelphia PA 7974 7
(6161966· 3352
Calif. Residents add 6% Sales Tax (615) 689· 5559 . Call 24 hours . for informa tion on binders and files.

Circle 125 on inquiry card . Circle 47 on inquiry card.

computer
• • CANADIANSI
MAKE YOUR COMPUTE R PRODUCTIVE
WITH SOFTWARE WRITTEN

*
IN NORTHSTAR BASI C

REM General Ledger


and Statements $ 75
* *

• 0

• 0
• 0
depot"'lno.
(Credit CardS AccePted)
3515 W . 70th 5t.. Mpls., MN 55435
(612) 927-5601
Motorola DII 6800
Evaluation Kit . . . . . $235.00.
National SCMP Kit with
Key board . . . . . . . $190.00 .
E&L Digi·Designer Kit-




IntrodUCing

IMSAI8080
our kit-by-the-month
plan available for only $500.00 down
and $150.00 per month.
(Write for more information)
KIT : $897 .50
ASSM: $1245.20
Canadian Duty and Federal Tax Included

Hobby systems from $999.00 (Kit).


REM Mailing Labels $50 .
DesignYour Own
REM Federal Income Tax $200,
Schedule A and B
• Circuits . . . . . . . . . $ 77 .75 • Business/engineering systems from
$11 ,900.00.
• 0 Speech Lab Kit - Tal k To •
And More to Come . . . Your Computer . . . . $249.00. (Assembled and Installed -).
REM Sys tem Descriptions $2 each • 0 2708 Eproms Full Spec Educational discounts available. We
REM Sys tem supplied 011 Diskette • 450NS From TI &
Fairchild. . . . . . .. $ 16.95 •
• will develop custom application pack-
ages. Contact us for further informa-
with Program Documentation tion. Send $1 .50 for catalogue.
and Operating Manual
• 0 IMSAI 8080 Complete 22
• Slots All IC's w ith Sockets- • VISA · CHARGEX ACCEPTED JI
RUN Benson & Costello
29-02 23 A venue
* •
o
Assem. & Tested . . . $850.00.
TTL Catal og and Remember, Rotundra 11.."
h~

Astoria, N ew Yo rk 77705 • We Pay The Shipping . •


Cybernetics _
272-932-3376 • ~N~a~m~e~·----------------------~~·
Box 1448, Calgary, Alta . T2P 2H9
Phone (403) 283-8076

*
• Address •
• Part No. """""QtY.'"" Amt. Enclosed • (Installation ou tsido Wostarn Canada oxtra).

Circle 10 on inquiry card. Circle 26 on inquiry card .


A Note Be certain that when you are putting to- Deep Within Every
gether a kit by soldering in your integrated Novice Lurk. a
to Novice circuits that the identity of pin 1 position
Kit Builders is unambiguous. A particular' example we Computer Hacker
recently learn ed about by person al ex - Waltlnl to Get Out
perience was the Texas In struments TMS-
4044NL 4 K memory part used by a novice Help free the novice in your life with
to assemble an 8 K memory board from two outstanding selections from BITS .. .
a kit product. Th e in stru ctions for this
particular kit quite pmperly stated that:
... the "dot" or "notch" on the end
of the package is used for orientation
purposes and must match with that
shown on the component layout
drawing for each of the integrated
circuits.
The only problem was that the part (for the
novice) was ambiguous:

mconee l Pin 1 Inden!if,calion


if ..... rong notch IS u sed .

Your Home Computer, by James


White, is a clearly written nontechnical
description of personal computers that
TMS4044 NL-45 . . . . - - deepCvl
P7727 notch requires no prior knowledge of computers
or electronics. The emphasis is on under-
standing ; over 100 illustrations are included .
Topics include: compl-lting and you; com-
LactualP,nl munication inside a computer; computer
thought processes; fixed memory; inputs
and outputs; peripherals; systems com·
The first-time novice who assembled the
ponents; how to choose a microcomputer;
board in qu estion chose the dee p notch and so on . Your Personal Computer is the
as the identification of the proper end of ideal bo·ok for readers who thought they
the IC for pin 1, and was 180 " from the cou Id never understand how computers
proper orientation. The only other confir- work. And the best part is that it's easy
and fun to read. Yours for $6 .
mation of proper orientation would be that
pin 1 is at the left when the markings on
the IC are read in the normal fashion. Later
inspection of the mechanical data section
of a TI manual confirmed that the proper
ori entation of the package in this case was
given by the shallow rectangular groove.-

First Come
First SenJed
Back Issues of BYTE The perfect book for the layman or
About 300 July, 200 Aug ., woman, How YOil Can Learn to Live With
and 500 Sept. 1977 issues of Computers is a lively account of these
BYTE. Orders will be filled on a ubiquitous machines and their role in
first come first served basis until present society. Author Harry Kleinberg
the supply is exhausted; we will begins with some elementary logic and
partial ship and return any monies
shows how a simple hardware circuit can be
in excess.
Readers please send $2.00 for used to illustrate logical concepts. $8 .95.
each issue; this includes postage
and handling. BITS Inc
70 Main St
The Computer Place Peterborough NH 03458
186 Queen Street West
Toronto M5V 1Zl BYTE rnd•• For ease in ordering, use the coupons on
416-598-0262 . 70 Main Street pages 123, 125 or 167, writing in the
Peterborough NH 03458
name(s) of the book(s) you want.
Dealers please inquire.
Please note that processing may exceed 30
days in unusual cases.

Circle 12 on inquiry card .


00 -, - , I:IJ c..);> 0 ""'" W 0- A C ).> - 3
o ~~:::C:o..."""' ~ '< ~ l""'to (1)
00
"O
~ ("I)OQ
~a o ~l n~~
..~(J)
"o
Vl g5;~e:.o..ga.A~cr-""""\~~~-1
"0 tJ0~ u 0.. ..... ;::. SlJ""""\ '<O'QIV O : : r ""OJ
('1) ""'" -, c: """ 0 cr- r-t ("l) 00 In
~ 3
:~ ..3 g-~~~ ""o ~~~~C;~~~~('D1:riVlt:O~
V)' !-"l 1..0 In
<> .C:CJ~"""I""'t '<~ ...."QJog.C;~
Q " VI t.n ~. - 5; ~ tn _ . 0- 3 :.E <>
n
";'C;~o::>
In ('1)
~
,::;0»1""'t ~ <
"
m ~ :.E 3 ~ g 3 0 ~ - ~ :::l ;;;tl _. "0 <>
~ ~('1) ~~ ..("I) ~ ...." ~ ~ -"0 ctl...." ~. (ti ~. 0.. tn 0 o
("')
(Dntvg , ~--l o - ~ _. 3 _." N 3 ciil - 3 ~
3 0 V'I CJ "0 V'I -....J ~ o ""e:~o;:!~~o(1) ~(')QJ8
Q.
'"'"go "3<>
V'I ("I)""" '0 IV ~ :.E :J1""'t(1)'<(ll0'Cl....,,:.E c:::l£
~ • ~~. ~ ~ (') 0 5' ~
.0
~:;'o..=.~- :3 PJ o=.;~ S, (t)
~ w-:JIn»-o C (1) Vl () CJ IlJ 3 "0 n _ . ...., CJ "0 V>
~. -....J"O~o 0 ~. 3 n ;'0-(1):::J -3"0 ::r ..... ::!'. ~""""\
n ooc:"",,\O~ n ;. 0 ctl 0 I""'t Cl. U CJ "< 3·.n :::::J ~ ~
~ 0""" 0. 0 -' ~
~<>
p. :;:- ("I) n 0 C ctl 3 ..xo o~o..(")~o ("l)~
3
In CJ IV In a. -< ~ ~. CJ , PJ ~ ~ (t) V)' [ ~ (J 0.. 3
Q~CJo. ..Vl» V'I """ () ::J.....,. QJ 3" -.» cr
0.. 3 -,., < (D ::!.fD 0..~;;o3 (1)" ~ ;;'\0'< ~
~ :;. g ~ '3 :n 3 ~.D ::;. 3 V> 3 3 ~ '" :;n Vl N <
CJ C Cl.
3' W PJ 0 0'\ W 0 == ~
~ C; M' r-t ~ 5. :::J - . <:' PJ W cr """ 0 g:. ~ 0 0
IlJ """ 0 ::r (b I""'t
_ , """ ('t) In (1) e::'E 0.. ;; -;-' :- !0 (i)::::: A 0 ('0 ~~ y

()

ri
I'.)
"'
o Stand Alone ASCII Keyb'o ard Specification
::J
::J {;:{ 4 SIMULTANEOUS OUTPUTS AVAILABLE: THE ONLY ONE ON THE MARKET
.0
c 1. SERIAL TTL LEVEL
-<n 2. BUFFERED 8 BIT (TRI-STATE LATCH) PARALLEL OUTPUT WITH VALID DATA
OJ SYNC PULSE AND LEVEL
a. 3. 20 MA OPTO-ISOLATED CURRENT LOOP. POLARITY INDEPENDENT
4. EIA RS232C
{;:{ SINGLE + 5 VOLT 300 MA (NOMINAL) POWER SUPPLY
{;:{ INDUSTRY STANDARD 2 KEY ROLLOVER ENCODER
{;:{ ANSI - COMPATIBLE KEY SET; FOR SLIM-LINE "HIDEAWAY" PACKAGING
{;:{ SEGMENTED SPACE BAR ALLOWS FAST MULTIPLE-SPACING WITHOUT
. REPEAT KEY
{;:{ REPEAT KEY REPEATS AT CHARACTER RATE
{;:{ USER SELECTABLE UPPER CASE ONLY (KSR/ ASR/ 33 REPLACEMENT) OR
UPPER/LOWER CASE
III {;:{ FACTORY SET AT 110 BAUD BUT EASILY ADJUSTED BY USER TO ANY BAUD
-< RATE FROM 110 TO 9600 BAUD
-<
'" {;:{ FLEXIBLE PARITY
~ {;:{ LED INDICATOR FOR SHIFT-LOCK KEY ELIMINATES CASE UNCERTAINTY
3 Orders accepted by phone or mail. VISA' {;:{ 24 PIN DUAL - INLINE CONNECTOR
~ MASTERCHARGE {[ VISA {[ COD {[ CHECK {[ MONEY ORDER - {;:{ LOW PROFILE CASE (OPTIONAL) Mid-December Available
~ -
IE: COMPONENT SALES INC.
...
CD
Col
•"J] 77B-A BRANNAN. SAN FRANCISCO. CA 84103
[415] 861-1345
$ 97 0 ~s s;!~~d~n~~!.~a~o~~e~e~~~!! ~es tax.
, '

Gel Your FREE SubscwiplioD*


Find out all the LATEST details about the

SECOND
eS~~~.4.. ·
~~..,..~ E:Ic. ...~~
O~ -~~.
c;/ COMlN' ON STRONG ~ • A Major Conference Program
(published Faire Proceedings to be available, on-site)
• Banquets with Fascinating Speakers
• A MASS of Exhibits

5 Months Before the Second Faire,


the following 50 companies had already formally requested exhibit space:
Administrative Systems, Inc. Dymax Osborne & Associ,ates, Inc.
Anderson Jacobson, Inc. Electronics Emporium International Paratronics, Inc.
Apple Computer, Inc. Godbout Electronics People's Computer Co.
Berg Publications Heuristics, Inc. Phonics, Inc.
BITS Ibex Promedics Data Corp.
Byte Publications, Inc. Integrand Research Corp. Quay Corp.
Byte Shops of Arizona/Micro Age Interface Age RCA Corp.
California Business Machines International Data Systems, Inc. SD Sales Co.
Camelot Publishing Co. Ithaca Audio Smoke Signal Broadcasting
Cherry Electrical Products Corp. Jade Co. Solid State Music
CMC Marketing Corp. Micromation, Inc. Southwest Technical Products Corp.
Compucolor Corp. Motorola, Inc. Standard Engineering Corp.
Computer Kits, Inc. Mountain Hardware, Inc. Sybex, Inc.
Computer Warehouse Store Neutronics Tri-Tek, Inc.
Creative Computing Newman Computer Exchange, Inc. United Technical Publications
Cromemco, Inc. North Star Computers, Inc. Ximedia Corp.
Digital Group Xybek

FIRST West Coast Computer Faire


HAD • almost 13,000 people
• around 180 exhibitors
• almost 100 conference sessions
• fou r banquet speakers
all in just TWO days

SECOND West Coast Computer Faire


is THREE days long
March 3 4 5, 1978
*
Yam -{j/}m ,VO/JI/-5/Jrn
San Jose Convention Center, San Jose, California
in Ihe rnidd[" of Silicon Valln,) .

Get the FREE Silicon Gulch Gazette


for all the latest details .
• Send us your name & mailing address
• The Gaz ette -- a tantalizing tabloid touting the Faire
& offering
"hot news" and "raging rumor" regarding home & hobby computing.
COMPUTER FAIRE BOX 1579, PALO ALTO CA 94302 0 (415) 851-76640

194 BYTE December 1977 Circle 129 on inquiry card .


SPEAK! AT THE

SECOND
e S ' I ' C:::~~
~ ..,.'I'''':.~ ~~~
~O
~~
~.,.,.~ c~...
Ce:.-e:W"C3~ c!k. E:3C.~~ ~lt.l~_~ ~
C>W"
~ ~~
~. &£ ~~....~ <:::::~
-~.... .......~'"-
~e~ ~~~~
.

F • Tutorially Talk about our Tantalizing Thinkertoys ~


• Comprehensively Comment on your Complex Computer Calisthenics
• Describe Daring Digital Deeds

CHOOSE YOUR OWN TOPIC(S)


Topics at th e FIRST West Coast Computer Faire included:
t Tutorials for the Computer Novice t Residential Energy & Computers
t People & Computers t Computers & Systems for Very Small Businesses
t Human Aspects of System Design t E ntrepreneu rs
t Personal Computers for the Physically Disabled t Speech Recognition & Speech Synthesis by Home Computer
t Legal Aspects of Personal Computing t Tutorials on Software Systems Design
t Amateur Artificial Intelligence t Implementation of Software Systems & Modules
t Computer Art Systems t High-Level Languages for Home Computers
t Music & Computers t Multi-Tasking on Home Computers
t Electronic Mail t Homebrew Hardware
t Computer Networking for Everyone t Bus & Interface Standards
t Personal Computers for Education t Microprogrammable Microprocessors for Hobbyists
t Amateur Radio & Computers t Commercial Hardware
NOTE : The Con[r'ren ce Proceedin!{.\· oJ th e First Wes t. Coa st Compu t('r Fain' carri es over 320 pages of these tutorials & technical
presentations, many discussing the state-of-the-art in hom e & hobby computing. The Proceedings is immediately available from
Computer Faire (within California, $13.40 ; outside California, $12.68; foreign, please write for rates--payment must accompany
order), or from your local computer store (a dastardly di s-service to you if it's not!l.

FOR YOUR TALK TO BE PUBLISHED in the Proceedings of th e SECOND West Coast Computer Faire,
which will be avail abl e at the Faire,

abstracts a caDiera-ready papers


will be needed.
CA.LL o,
t
r WRITE:
Tell us your topic
-iIIIII."~ t Request Sp eakers' Instructions .........- .
~ Deadline for submitting title & brief abstract of y our talk(s): 1977 Dec 15 ...oIIIIIIIIIII
.,...... Deadline for submitting camera-ready, full-text paper in specified fonnat: 1978 Jan 2 .....
COMPUTER FAIRE BOX 1579, PALO AL TO 'CA 94302 0 (415) 851-7664 0

Circle 129 on inquiry card . BYTE Dece m ber 19 77 195


\ .

Two Ways to Convert Your TV Attention Homebrewers:


toa Monitor Roll Your Own Case with This Package

New Aid for Machine Language Hackers

There are two ways to convert your


TV set to a video monitor: You can use
the video signal to modulate a high fre·
quency (RF) signal, creating a tiny
transmitter which is attached to the
antenna termin als of your TV set, or
you can physically modify the set to
enter the video signal just beyond the
TV's video detector. The former method
The "Flex-i-pak," a flexible instru-
requires no mod ificatio ns to the TV but
ment housing system, is sUpplied in a
limits the bandwidth of the signal' and
basic unit frame configuration with a
hence the number of dots making up
variety of chassis and bracke ts to choose
characters across the face of the screen.
from as needed. Extrusions, brackets and
You can take your choice of these
panels contain a pattern of holes on Y,
methods with two kits fro';' Vamp Inc.
inch centers, allowing easy "erector set"
Microcomputing enthusiasts who lack Th e RFVM · 1 kit ($8 .95) includes a
construction. Card guides may be in-
an assemb ler and must program in 1.25 by 1.75 in ch (3.2 by 4.4 cm)
stalled in a variety of ways. The basic
machine langu age (without the benefit printed circuit board which is designed
case, measuring 17 inches (43.1 cm)
of a power eraser) may appreciate this to be insta lled inside your video source
by 13, 16 or 20 inches (33.0, 40.6 or
new product. The Basic Operational and attached to the TV through the
50.8 cm) with heights from 3.5 to
Programming Aid (BOPA) comes with ar,ltenna terminals, yielding a frequency
12.25 inches (8 .9 to 31. 1 cm), features
32 re movable, reversible plastic slats response of up to 4 MH z. The ACVM-1
vinyl covered top and bottom, side rail s
on which machine code can be written kit ($23.95) includ es a 2 by 3 inch (5 .1
one byte to a slat. Machine instruction~
and perimeter fra me of extruded
by 7.6 cm) baord designed to be in-
aluminum. Pric e of the Flex -i-pak in
can be inserted or rearranged simply by stalled insid e the TV set and provides a
single qu a ntities var ies from $72 to $145
moving the slats around. A set of BOPAs frequency response up to 10 MHz. A
from the Buckeye Sta mping Company,
can be carried in a 3 ring binder. The bypass switch is in c lud ed with the
555 Marion Rd, Columbus OH 43207
basic BOPA is $11.95, with a speci a l ACVM-1 to permit norm a l TV program (614) 445-8433 .- '
ink pen for $1 a nd a solvent solution viewing. Both kits a re comp lete with all
for $ 1.25 . An expanded 256 entry parts and ca n be obtained with a $ 1 Circl e 524 on inquiry card.
system is also available for $74.95, from shipping and handling charge from Vamp
Vamp Inc, POB 29315, Los Angeles CA Inc, POB 29315, Hollywood CA
90029 .- 90029.-

Circle 521 on inquiry card. Circle 523 on inquiry car d.

New Power Supplies The information printed in the


new products pages or" BYTE is
obtained from "new produGt" or
Th e new SPS-D a nd SPS-T multiple "press release" copy sent by the
output DC power suppli es are designed promoters of new products. If in
for microprocessors and me mories q.t1r judgment the neat new whiz-
floppy disks, and similar app li cat ions: bang gizmo or save the world
Available with ad justab le voltages from software package ' is of interest
± 5 VDC to ± 28 VDC a nd currents to the peFsonal computing eXlleri-
from .1 to · 12 A, the units featu re com- "tenters and {lomebrewers who'
plete isolation between outputs, c urrent read BYTE, we print the informa-
limiting, short circuit protection, and tIon in some form. . We, openly
optional overvoltage protection. Prices .s oliclt such information :·from '
range from $ 104 to $139 and weight manufactufers and sUPpli~:"s to
from 7 to 16 pounds. Additional .this marketplace. The information
is printed more or less as a first in
technical informati o n and a new cata log
are available from Standard Power Inc , first ·(Jut queue, subject oc- to
1400 S Village Way, Santa Ana CA casional priority modifications.
Circle 522 on inquiry card. 92705, (714) 558·8512. -

196 BYTE Decemher 1977


Bit Status Display DATA

Greg Tomalesky
164 Preston Rd
Parsippany NJ 07054

+5V
6

Here is an interesting modification to the 100


7 segment display circuit shown in figure 3
PIN NO .
of "LEDs Light Up Your Logic" in February 13
1976 BYTE, page 54. The original circuit
displayed 1 or 0 to indicate , the corres- 7437 B
ponding logic state. With the addition of two
more 7437 inverters and some rewiring (see B G
2
figure 1), the circuit wiJI display Hand Lin
place of 1 and O. I used a DL-704 common 220 D
7
Figure 7: This 7 segment
cathode display, but of course a common display will monitor the
anode display may also be used. state of a single bit and
Carrying this idea a little further, you output an H or L depend-
can display HI and LO in a similar manner 220 ing on the status of the
6
by using two displays. data input. Power connec-
12 (GNDl
7 segment displays can be used to dis- tions to the 7437 inverter
play many other letters such as A, C, E, F, are +5 V to pin 74 and
H, I, 1, L, 0, P, 5 and U in upper case, and numerals 0 thru 9 to form hexadecimal ground to pin 7. All re-
b, c, d, h, i and 0 in lower case. The upper displays for use with microcomputers such sistances are measured in
case letters A, C, E, F and the lower case b as the M6800 and MC6502, which have ohms and a/l resistors are
and d may be used in conjunction with the hexadecimal based structures.- 0.25 W.

4K RAM BOARD 4K PROM


Assembled and tested.
$89.95
See kit below.
-Low Power
-5 V Only
'BOARD
-I ndustry Standard Bipolar ROM
4K RAM BOARD KIT -Compatible With Our Bus
450ns Access RAMs
Fully Buffered
Low Power $79.95 KIT WITH 2K OF PROM $79.95
Static
5Vonly Additional 2 K of PROM $40.00
4;1, x 6 inch board
Buy 4 RAM Board kits at
$79.95 each and an 8 slot 2 '1 02 - $1.30 Multiples of 25 only.
Mother Board is yours Low power, 450 n.s. Access and cycle.
Includes "8 connectors and card guides. FREE. DANA 2000A Multimeter
Regularly $199.50 Our Price ' $165.00
MOTHER BOARD MAKE CHECK OR MONEY ORDER PAYABLE TO :

8 SLOT 44 PIN BUS Kathryn Atwood Enterprises


50 Pin Edge Connector P.o. Box 5203, Orange, CA 92667
Discounts available at OEM quantities. For orders less than
Mother Board $20.00 ea $25.00 total, add $1.25 for shipping. California residents
Connectors 2.50 ea add 6 % sales tax . Estimated shipping time 2 days ARO with
Card guides for above $10.00 per set. money order. For checks allows Tdays for check to clear .

Circle 7 on inquiry card, BYTE Dece mbe r 197 7 197


A Quick Way to Panel Mount LEDs

6800 System Analyzer Furniture for the Micro Age

This one-piece lens and panel mount


for T 1 % light emitting diodes, called
Cliplite, snaps securely into a y.. inch
Designed for use with the Motorola hole and requires no tools to assemble.
6800 microprocessor, this system ana- A point source LE D used with the
lyzer features single step instruction Clip lite produces a display f ive times
execution, a hardware implemented brighter than a diffused LE D without
breakpoint which shifts from full speed any loss in viewing angle. Five colors:
to single step mode when a selected A desk specifically designed to house red, green, amber , yellow and clear
address is reached, loop counting, and a personal or business microcomputer allow the Cliplite to enhance and pro-
cycle delays. Hexadecimal addresses, system is now available from Computer vide uniformity of color output from
loop counts and delays are se't up with Systems Design . The "Microdesk" (a LED to LED. The units are priced at
thumbwheel switches and displayed trademark) can be easily assembled $.10 in 10,000 quantities. A free sample
on LEOs. Priced at $995, the unit is without tools in five minutes. The desk and data sheet can be requested on a
offered by Telcon Industries Inc, 5701 is constructed of high density vinyl clad company letterhead from Visual Com-
NW 31st Av, Fort Lauderdale FL 33309, board and measures 48 by 24 by 28 inch munications Company, POB 986, EI
(305) 971-2250.- (122 by 61 by 71 cm). A sliding shelf at SegundoCA 90245, (213) 822-4727 .-
convenient typing height is provided for
Circle 525 on inquiry card.
a keyboard. Also included for equipment Circle 528 on inquiry card.
and books are two fixed shelves, one of
which is adjustable. Available as options
are additional shelves or rails for rack
mounted equipment. The Microdesk is
available for $96.50, FOB Wichita, from If It's a Long Way from Your Terminal
Hard Copy from Digital Panel Meters Computer Systems Design, 1611 E to Your Computer ...
Central, Wichita KS 67214, (316)
265-1120.-

Circl e 527 on inquiry card.

This adapter converts digital panel


meter outputs in binary coded decimal
(BCD) to Teletype inputs, for hard copy
and paper tape record,s of panel readings.
The Mod e l DPTA15 has a present
format that enables printing of up to
five digits, a sign and an additional
character. It generates spaces, carriage A new line of RS232C EIA data
returns and line feeds. The DPT-415 cables is available in lengths up to 250
is complete and runs on a 5 V power feet and longer . The cables feature low
supply . The driving circuitry for the capacitance (12 to 14 pF per foot),
20 mA Teletype connection is included twisted wires to reduce crosstalk and.
on the 6 .5 by 4.5 inch (16 .5 by 11.4 cm) shielding to protect against electrostatic
printed circuit board. The unit sells for noise . The cable sells for $18.50 for two
$275, or $95 in qu a ntities of 100, from RS232C end connectors plus $. 75 per
Digital Laboratories, 600 Pleasant St, foot, from Data Set Ca ble Company,
Watertown MA 0 2 172 , (617) 7 Danbury Rd, POB 622, Ridgefield
924-1680.- CT 06877, (203) 438-9023.-

Circl e 526 on inquiry card. Ci rele 529 on inquiry card .

198 BYTE December 1977


Circle 9 on inquiry ca rd .

All Prime Quality - New Parts Only


Lowest Prices - Satisfaction Guaranteed
EDGE CARD CONNECTORS: 25 PIN SUBMINIATURE CONNECTORS:
Bifurcated Contacts. Not tin . Gold over nickel. 50/100 Pin (.100 , Gold Pl ated Contacts.
1.25, + .156 Pin spacing). Doub le Read out .
DB25P Plug $2.90 ea 5 pcs $2.75 ea
50/100 Altair Type - Dip Solder Pins $4.25 ea 5 pes $4 .00 ea DB25S Socket $3.90 ea 5 pcs $3.75 ea
50/100 I m~ai Type - Dip Solder Pins $4.25 ea 5 pcs $4.00 ea DB51212-1 Hood (grey) $1 .00 ea 5 pcs $ .95 ea
50/ 100 Irnsai Type w ith Guides $4 .50 ea 5 pcs $4 .25 ea DB51226-1 A Hood (black) $1.00 ea 5 pcs $ .95 ea
Imsa i Guides only $ .30/pr 5 pr $ .25/pr
SAVE :
All o t her contacts available : Solder Eyelet, Wire Wrap , etc . All gold. Buy a c omplete set :
Many other types available: 10/20, 15/30, 18/36, etc . 1 Plug, 1 Socket, 1 Hood (any) $7 .00/set
When order ing : specify type of contact. 5 sets $6.50/set

2708 1 KX8 PROM 450 NS 8080A - PRIME Write for larger quantity discounts.
$18.00 ea $13 .00 ea
5 pcs or m o re $17 .00 ea 5 pcs $ 12 .00 ea Dea lers we lcome.

Minimum order $10.00: Add $ 1.00 for shipping and handling. When ordering:
Orders over $25.00: We pay the shipping: Calif residents add 6% tax. State method of shipment.'
No COD 's: For immediate shipment send money order or cashier's check. Mail or Ups.

ORDER FR O M:
Beckian Enterprises
P.o. Box 3089 Simi, Calif. 93063

ESAT-100 LINEAR VERBATIM Removabl e Magnetic Storage Medi a


Economical Stand Alone Termin al LM380N 1.39 PRICE REDUCTION! .
Assembl ed, Tested , Burned - ln ........ S239 .00 LM3 40T·5.12.15
Minidiskettes 1-9 10-25 26-100

'1'
.-
sac .99
Fo r Tele tvpe, SCMP, Joll, K,m 80 Usef~ A l ehahl~. "lex 4 .79 4 .65 4.45
peM.v!!. ~elf ·conla'ned CommunIca t ing Termlllal, completely NE560 2.95
auembled, bWrled·m. and tesled 5239.00

i .-' '. NE56 1 2.95 MDS25-01 (Soft Secto r) for: Int ellig enl Systems.

J1:.:•••1.•
11M
g>ECS 32 charac ter )( 16 hne ~ :It 2 page~ of 5 x 7 dOl ma lll ll: 1)4
charac ter ,ASC II commuIl1caling wIth a seflal, aSVI)(hronous 11
'1 NE565 1.95 Magnovox. Microkit, and Vector Graphics

·;i;'.I·.·i.~;jj
;
uni t code. TTL com pa tIble hom 300 10 9600 baud .' Keyboard NE 566 1.49 MD525-10 (10 Sector, Hardl for: Oig i-Iog , North Sta r,
Con tr olS are back and forward space. line fe ed. clear paqe . or 10
end 01 line. selecl page 1 or 2. 'ull""al ' duple x. 10calhemOfe.
curso r on/off. odd/even/no parity . Outpul to TV "'~ oni t o r IS
.'- ,'" NE567
LM1812
1.49
4.95 MDS25 -16
Po lymorph ic, Tei In c., and Wang
(16 Sector. Hard) for: Altair. Comtek,
Co mposite Video. 75 O hm s. Keyboard reql.Jl red IS paralle l Olli '
pUI 7 unit ASC II wi th negallv!! true stro bes Keyboa rd may tilP
;i ~ i LM1889 4.95 Mi cropoli s. R2E, Realistic Co ntrol s,
up to 200 Mo . fr om the ESAT 100 on·boa rd 5V power supply . and Tel eray- Resea rch In c.
Power requited IS 110VA C 017 wailS
CPU SPECIALS
COMMENTARY ' At th Is 'o'm tlng ( 10 ·1.771. the ESAT · loo IS the 8080A 10.95 Standard Size 1-9 10-25 26-J 00

i.iri
1·'1,'-.
on ly Stand Alone Terminal board reQUlrmg only black and
280 (2m Hz) in cl. Diskettes 5 .99 5 .33 4.79
white T V !Oe t and ASCII Keyboard You do not have to h ave
a $.100 8m Machine . 01 even a com puler . tv'ay bl'! used III can
Junction with a r.~od l'm and your ho me T V set to prOVide a lime
l. I"j 18m Hz Xta l 33.95 FD34-1000 (Soft Sector , IBM Std .)
28 0A (4mHz) inc l. FD32-1000 (Hard Sector , Inn er dia.l
(.................!lJ.
share type term lnaj at any Baud rate you dei,re.
NOle. commerCI;;1 lerm,fldh u\e an 80 character x 24 hne fo r 36m Hz Xtal 39 .95 FD65·1000 (Hard Sector. Outer dia .l
mal Howeve r. we hal/e chosen 32 ch aracter ( 16 hnes for tele
OPTOCOUPLERS Cassettes 1-9 10-25 26-100
VISion se t ap pl ica tions because 0 1 fhe h mll ed resolu t ion al/al lable
on mosl T V sen.
Nonetheless . fo r those 01 vou who ale the owners o f el l h er
." I :

c:.;t,i
-0- "\

4N26 00 R-300
, .~
I"ugh quahty VIdeo mom Ion. 01 the best o f Japan's T V recell/en .
we o ff er the PROMS Digital Direct 5.25 4 .99 4 .35
Scrollboard Adapler KII (deSigned to fit on ESAT · 1DO) Wi th 64 CAP. SPECIAL :
characters II. 16 hnes and Au tomat iC Scroll'ng 101 5'29 .95
8223 Spec ial 1 0 / 9.95
RAMS and OTHERS
M & A Supe/ mod A F Mod lliatof lor antenna connec tIon Wl lh Th e Hig hest Qua lity. 82S 1158 x 512 15.95
Valli T V sel Runs a ll of ESAT 100 powe r ~u pply colOl and By ·pass anyw here : EPROMS 21 L0 2·1 450n S 1.25 p,Y5 · 101 3 4.95
black& wh Ile lor 52495
VK 06 0.1/ 100 V for $0.29 21 L02 250nS 1. 50 MM 5369 1.69
2708 65 0n S 12 .95 2111AL·4 450nS 2.30 MM53 20 6. 00
Full Color TV Game Kit: 27 08 450nS 16.95 C3107B 60nS 1.99 25.13 Up . 5.95
In c l udes MM571 00 Game Chip, MM53 104 C l ock Gen ., L M 1 S89 N Co l o r C170 2A 1000nS 4. 95 PD411D ·4 13 5nS 3.99 2513 Lo . 6.95
Modu l a tor , 3.58 MHz co l o r bu r s t osci ll ator crysta l , variab l e cap fo r c rystal MM5203Q 4.95 IN4005 11 / 1.00
adj. and PC board . Very imp r essive on co lor sets. A ll data sh eets a n d

~~t~J~~~r~~rr~r~o~~~~~ Electrolabs 1511. 00


sc hemati cs inc l uded ... $25.95
Direct Reading Capacitance Meter Kit: IN4148
H e r e is a h a n dy shop i tem in co r po r a t i ng a reliable and accurate mea '
sureme nt met h od w hi c h wo rks from 01 pica -+- d to 10 mic r o + d. Includes
l arge 6" sca l e analog me t e r movement , a ll e l ectronic parts and fu ll docu ·
$179..00
$239 00 fo
forr 250nS
450n" POB 6-'21
1/
me n tation and th eo ry o f ope r ation. R equi re s 5V and +· 1 2V po w er. Makes S 19. 00 for Bare Board '

Am.,,{ ~::'TM9 ~ir


acc ur ate r eadings d i rectly and instantly! No tuning , fiddling or i n te rpola ·
t i on required . Full document ation a n d t h eo ry ... S39.95
SV Regulated Power Supply Kit : Stanford, CA 94305
Pro vi des re gul ated 5V @ apprax . 25 0 ma for benc h w or k, l breadboards a n d
sm all projects. I ncludes LM340T· 5 r egulator, r ect ifi ers, filter caps, and
415-321-5601 SA TISFACTI ON
wa ll -p l ug transformer . Full notes ... $6.95 TO ORDER: 100% GUARANTEED!
Nicad Batteries and Charger : Send c h eck or money order and inc lu de $ 1 .00 for shipping , 1.00 (op·
2 ea 2AH ' C ' size Nicads (great for memory po w er · fail CKTS, co l d wea · tiona l ) for insurance, and please in c lu de 6%% sa les tax .if you are a
the r fl as hlight s, etc . a nd c harger ... $ 13 .95 C a lif ornia sta t e r es i den t. COD ord e rs add .85 Th ank you .

Circle 48 on inquiry card. BY TE De cemher 1977 199


Give a Jewel

In Isolation, RS232 and 20 mA


Get Along This Wire Wrapping Kit is OK

At last, integrated circuit technology


has found a n imaginative use in jewelry .
The Star Jewel pendant has a red li ght
emitting diode in a mirrored multi-
faceted lucite setting. An integrated
This adapter provides both RS232 Circuit, powered by two inex pensi ve
to 20 mA current loop and 20 mA to he a ring a id batteries, blinks the LED
RS232 conversion, implemented with about three times a second. One set
optoiso lators. It can be used to inter· of batteries will run the circuit for
face a terminal of one type to a com- about 300 hours, which should be
puter of the other type for both input Hobbyists and prototype engineers enough for two to three months of
a nd output, or it can be paralleled to can get started with wire wrapping using use, depending on how vigorous your
provide secondary output on a Teletype this new kit. The k it features "a combina- night life is. Star Jewe ls are available
or RS 232 printer while still using the tion tool for wrapping, str ippin g and with red, green, blue, silver and smoke
compute r's primary terminal. The adap - unwrapping, a 50 (15.2 meters) foot roll colored gems and come complete with I
ter comes assembled and tested with of wire, two 14 pin and two 16 pin 01 P pendant chain, batteries and a velveteen
user instructions. It is built on a 3 by 3.5 wire wrap sockets, and a 4 by 4.5 inch pouch . The price of $31.25 includes
by 1 inch (7.6 by 8.9 by 2.5 cm) printed (10.2 by 11.4 cm) prototyping board postage and insurance, and the elec-
circuit board, with drilled, plated- with a 44 pin edge connector using tronics and wokmanship are guaranteed
through solder pads for all connections standard .156 (0.4 cm) inch spacing. The for one year. A cata log of hand crafted
priced at $24.50, or with barrier strips Model WK-3B kit is availab le for $ 15 .95 jewelry, ray guns, and science fiction
and screw terminals (pictured) for from your local electronics outlet or and computer art is a lso available for
$29 .50. Contact Connecticut Micro- directly from 0 K Machine a nd Tool $.25 (free with a Star Jewel order) from
computer, Pocono Rd, Brookfield CT Corporation 3455 Conner St, Bronx NY ATRA, POB 456, Minneapolis MN
06804.- 10475, (212) 994-6600.- 55440.-

Circle 530 on inquiry card. Circle 532 on in ~luiry card. Circle 533 on inquiry card.

I mprovements in Solderless
Breadboarding

New versions of A P Products'


Unicards provide five tie points rather
than fou r in each row of terminals,
making them ideal for breadboarding 24
and 40 pin LSI integrated circ uits. The
Unicards provide so lderless, plug-in tie
points in a .1 by .1 inch matrix . They
have a standard .15 6 inch center spacing
22 pin double sided edge connector and
p lu g into standard 5.25 inch card racks.
Extender cards are a lso available.
Additional features include rubber feet
for bench work and extractor handles
for easy withdrawal from card rac ks .
Unicard I, priced at $31.50, has 960 tie
points, whi le Unicard II has 1620 tie
points. The cards are available from
A P Products, 72 Corwin Dr, Box 110,
Painesville OH 44077, (216) 354-2 101.- Circle 531 on inquiry card.

200 BYTE Decemher 1977


Digital Research Corporation
16K E-PROM CARD $69.95 (KIT)
S-I 00 (I MSAI / ALTAIR) BUSS COMPATIBLE IMAGINE HAVING 16K
OF SOFfW ARE ON LINE AT ALL TIME!
KIT FEATURES:
I . Double sided PC Board with solder mask and silk screen and
Gold plated contact fingers.
2. Selectable wait states.
3. All address lines and data lines buffered!
4. All sockets included.
S. On card regulators.
KIT INCLUDES ALL PARTS AND SOCKETS! (EXCEPT 2708's)
DEALER INQUIRES INVITED
ADD $25 FOR
SPECIAL OFFER: Our 2708's (650 !'is) are $12,95 when purchased with above kit. ASSEMBLED AND TESTED

FULLY STATIC! $149.00 KIT


KIT FEATURES:
I. Double sided PC Board with solder mask and silk screen layout. USES
Gold plated contact fingers. 2IL02-1
2. All sockets included! S-I 00 (IMSAI j ALTAIR) RAM'S.
3. Fully buffered on all address and data lin es. BUSS COMPA TIBLE
4. Phantom is jumper selectable to pin 67.
S. FOUR 7805 regulators are provided on card.

PRICE WAR! Fully Assembled and Burned In - $179.00


For a limited time only: Blank PC Board With Documentation 29.95
Buy two 8K Kits for $129 ea. TAKE THAT BILL GODBOUT!
TR1602B UART
COMPUTER GRADE- CAP. $4.50
RCA HOUSE #2N3772
NPN Power Transistor. 30 AMP.
48,000 MFD 25 WVDC Mallory 8 POSITION DIP SWITCH ISO W. VCEO-60 . TO-3 . Vastly out
By Cts. Fits 16 Pin Socket. performs 2N30SS. Reg . List $3.04
$3.95 NEW! $1.95 2 FOR $1

T. I. ASCII CHARACTER GENERATOR ~£.~\ 4K STATIC RAM'S NeW!


TMS 4103 Jc. 28 PIN CER DIP. Has 2114 . The industry standard . 18 PIN DIP. Arranged as IK X 4. Equivalent to
seven bit COLUMN Output for use with FOUR 21L02's in ONE package! TWO chips give I K X 8, with data.
Matrix hard copy devices. With specs .
$3.50
2 FOR $24 450 N.S.!

NATIONAL SEMI. MAI003 CAR CLOCK


MOTOROLA 780SR Not a kit. Complete tested module.
VOLTAGE REGULATOR Works on 12 VDC, has on board time $19.95
Same as standard 7805 except 750 MA base. Sold by others at $24.95. Big .30"
OUTPUT. TO-220 . SVDC OUTPUT. Bright Green Digits . Same as used by
$ .44 each 10 FOR $3.95 Detroit in new cards. EDGE CONNECTOR - $1.50

z . 80 PROGRAMMING MANUAL 2708


lKX8
By MOSTEK, the major Z - 80 second source. The most detailed explan ation EPROMS 2708
ever on the workings of the Z - 80 CPU CHIPS. At least one full page on each Prim e new units from a major U.S. mfg.
of th e 158 Z - 80 instructions. A MUST reference manual for any user of the 650 N.S . access time. Equivalent to four
Z - 80.300 pages. Just off the press! A D.R.C. exclusive! $12.95 1702A' s in one package!
$15.75 each

TERMS: ORDERS UNDER $15 ADD $ .75. NO C.O.D. WE ACCEPT VISA, MASTER CHARGE AND AMERICAN
EXPRESS CARDS. MONEY BACK GUARANTEE ON ALL ITEMS. TEXAS RESIDENTS ADD 5 0;(, SALES TAX.
FORMERLY DRC NOT AFFI ATED WITH
Digita I Researc h Corporation ANY OTHER MAIL ORDER COMPANY.
P. O. BOX 401247· GARLAND, TEXAS 75040. (214) 271-2461 WE PAY POSTAGE!

Circle 42 on inquiry card . BYTE December 1977 201


Hobby. Colftpater Kits •••
MODEM Part no. 109 5 UART and BAUD RATE GENERATOR Part no. 101
Type 103 Converts serial to parallel and parallel to serial
Full of half duplex Low cost on board baud rate generator
Works up to 300 baud Baud rates: 110, 150,300,600, 1200, and 2400
Originate of Answer Low power drain +5 volts and -12 volts required
No coils, only low cost components TTL compatible '
TTL inpu t and output All characters contain a start bit, 5 to B data bits, 1 or 2 stop
Connect B ohm speaker and crystal mic. directly to board bits and either odd or even parity
Uses XR FSK demodulator All connections go to a 44 pin gold'plated edge connector
Requires +5 volts Board only $12.00, with parts $35.00
Board only $7 .60, with parts $27.50

6 RF MODULATOR Part no. 107


2 RS-232/TTL INTERFACE Part no. 232 Converts video to AM modulated RF, Channels 2 or 3
Converts TTL to RS·232, and converts RS-232 to TTL Power required is 12 volts AC C. T., or +5 volts DC
Two separate circuits Board only $4.50, with parts $13.50
Requires +5 and -12 volts
All connections go to a 10 pin gold plated edge connector
Board only $4.50, with parts $6.00 4K/8K STATIC RAM Part no. 300
BK Altair bus memory
Uses 2102 Static memory chips
2·4K Blocks
Blocks can be addressed to any of 16 4K sections
Vector input option
TRI state buffered
Board only $22.50, with parts $160.00

TIDMA Part no. 112


Tape Interface Direct Memory Access
Record and play programs without bootstrap loader (no prom)
Has FSK encoder/decoder for direct connections to low cost
recoder at 625 baud rate, and direct connections for inputs
and outputs to a digital recorder at any baud rate
S·100 buss compatible
Comes assembled and tested for $160.00 .

APPLE 1 MOTHER BOARD Part no. 102


10 slots -44 pin (.156) connectors spaced % inch apart
Connects to edge connector of computer
Pin 20 and 22 connects to X & Z for power and ground
Board has provisions for bY'pass capacitors
Board costs $15.00

3 TAPE INTERFACE Part no. 111


Play and record Kansas City Standard tapes D. C. POWER SUPPLY Part no. 6085
Converts a low cost tape recorder to a digital recorder Board supplies a regulated +5 volts at 3 amps., +12, -12, and-5
Works up to 1200 baud
volts at 1 amp
Digital in and out are TTL Board has filters, rectifiers, and regulators
Output of board connects to mic. input of recorder Power required is B volts AC at 3 amps., and 24 volts AC C. T.
Earphone of recorder connects to input on board
at 1.5 amps
Requires +5 volts, low power drain
Board only $12.50
No coils
Board only $7.60, with parts $27.50

TO ORDER
4 TELEVISION TYPEWRITER Part no. 106 Mention part number and description . For parts kits add "A " to
Stand alone TVT part number. Shipping paid for orders accompanied by check,
32 char/line, 16 lines, modifications for 64 char/line included money or.der, or Master Charge, BankAmericard, or VISA
Parallel ASCII (TTL) input number and signature . Shipping charges added to C.O .D. orders,
Video output Calif . res . add 6.5% for tax. Parts kits include sockets for all ICs,
1K on board memory components, and circuit board. Documentation is included with
Output for computer controlled curser all products. Dealer inquiries invited.
Auto scroll
Non destructive curser
Curser inputs: up, down, left, right, home, EOL, EOS
ELECTRONIC SYSTEMS
Scroll up, down
'Requires +5 volts at 1.5 amps, and -12 volts at 30mA
P.O. Box 212, Burlingame, CA 94010
Board only $39.00, with parts $145.00 (408) 374-5984\

202 BYTE December 1977 Circle 50 on inquiry ca rd .


APPLE II 1/0 BOARD KIT ONLY $63.00
3RD GENERATION
Plugs Into Slot of Apple II Mother Board ASCII KEYBOARD KIT
FEATURES: KIT INCLUDES:
1 8 Bit Parallel Output Port P.C. Board, I.C.'s Sockets and
(Expandable to 3 Ports) Assembly Manual.
.1 Input Port
15mA Output Current Sink PRICE:
or Source 1 Input and 1 Output Port
TTL or CMOS Compatible for $49.00
Addressable anywhere in mem-
ory output area 1 Input and 3 Output Ports FURTHER IMPROVEMENTS, MORE FEATURES
Can be used for peripheral for $64.00 • TTL Logic Circuits OPTIONS:
equipment such as printers, • Metal Enclosure (Paint-
floppy discs, cassettes, paper DEALER INQUIRIES INVITED • Power: +5V, 275mA
tapes, etc. ed IBM Blue and White
• Upper and Lower Case . ..... .... $25 .00
• Full ASCII Set (Alpha • 18 Pin Edge Con. $2.00
UNGAR SOLDERING IRONS Numeric, Symbols,
Control) • I.C. Sockets. . . $4.00
27W SOLDERING I.e. lOW • 7 ot 8 Bits Parallel Data • Serial Output (Shift
IRON KIT DE SOLDERING KIT ASSEMBLED • Optional Serial Output Register) . . . . . $2.00
Includes iron, 2 tips, Includes iron and 3 SOLDERING
roll of solder and desolder tips for dual IRON • Selectable Positive or • Upper Case Lock
iron stand in lines, cams, etc. Negative Strobe, and SWitch (for Capital
$14.97 Strobe Pulse Width Letters and Numbers)
$6.72 $24.70 ..... . $2.00
• 'N' Key Roll-Over
• Full Debounced KIT NUMBERS: Key-
board, P.e. Board, all re-
LD-130 PUSH BUTTOl • Carriage Return Key quired components and as-
3 DIGITS SWITCH .; • Repeat Function Key sembly manual.
• Shift Lock , 2 Shift Keys
AID CONVERTER Red NOTE : If you have this
• 4 User Defineable Keys 63 Key Teletype Key-
$11.95 or Green • P.C. Board Size : board you can buy the
3 for $1.00 1/ II 17-3/16" x 5" Kit without it for $44.95.

....- - _....- - -...CHRISTMAS SPECIAL


A FULLY PROGRAMMABLE LSI DMM KIT Reg. $77.77 ~O~ ~
SLIDE RULE
the MATHEMATICIAN with 100 STEPS
~')9
• RPN logic wit h " built-in " hier- • Simplified programming . You
archy lor increased speed and simply engage a"'1earn swilch
accuracy in ca lcu lating se- and perform a problem in normal
quences i n volving arithmetic , manner The 4615 records the
tr igonometr ic, logarithmic. pow- formula and lets you debug th e
er or expo n ential fun ctio ns progra m as it's writte n • The
• A thre e-leve l stack plus seper- learn-mode capacity l otal 100
ate accu mula ti ng memory lor separate steps . • SevBral differ-
QUiCk . accurate solutions to com- ent progra m s can be contained
plex ca lcu lations • Eight-digit al the sa me time . • Consta n t
LEO d isplay Wit h full -floati ng factors can be e ntered as pro-
decimal system . • Common and gram sleps. • Delete feat ure
nalu ral logarithm s and anl ilog- le i S you correct programs while
arithms . • Si ne . cosi ne. tangent you afe writing the m . • Skip key
and inverse trigonometric func - perm its skipping over enti re pro·
tions . • Instant au tomatic ca l-
cu lat io n of powe rs and roots.
g ram s to access additional pro- • AUTO RANGING • AUTO POLARITY
grams within 1OO·step capacity.
• Instant conversion s of radia ns
10 degrees or vice ve rsa. •
• Programs remain inlacl until • AUTO ZERO • 3 LARGE DIGITS (%")
new programs are written over
Squa re . square rooi. and reci-
procal ca lculalions . • Pi. cha nge
o r until yo ur 4615 is turned off. • RECHARGABLE
• Yo u have tolal 'reedom to
sign . and register exchange select keyboard e ntries as vari-
keys . • Automatic reci procals. ables or constants • Automatic MEASUREMENT RANGES : Vo l tage (AC· DC ) l MV· l00 V ; Cu r·
• Ability to auto maticall y sum warni ng signa l in display leis you
squares • Storage memory . • rent (AC-DC) 1O,.,A·1A ; RESISTANCE : HI-10M !!. Basic DC
know when yo u exceed pro-
·' Ro ll-down " clear, • MOS / LSI gramm ing ca pacity . • The 4615 accuracy, better than 0 .1 % I 1 d igi t. POWE R: 4 AA batteries
solid-sta le ci rcui try . • En ginee r- is rechargeable and comes com-
ed and manufactured by Nation- plete with nickel c admium bat-
(rec hargab le batteries opt i ona l).
al Semico nductor Corp .. a world ter ies. • NI·CAD BATTERIES: $6 • AC CHARGER: $4.95
leader In solld·state technology
• ENCLOSURE : $12.95 • TEST LEADS : $2.95
10 DAY MONEY BACK GUARANTEE • SHUNT KIT FOR 3 CURRENT RANGES : $4.75
•••••••••••••••••••••••••••••••••••••••••
and
KEYBOARD. DMM 53.50.
CALCULATOR :
ALL OTHERS - 51.00.
California residents add 6% sales tax
_4615 @ 29.95 _ __ _ __ ELECmONICS WAREHOUSE Inc.
_ AC charger @ 4.95 _ _ _ _ __ 1603 AVIATION BLVD.
_ Carrying case @ 2.95, _ _ _ _ _ __ REDONDO BEACH, CA. 90278
_ Calc. stand @ 1.95 _ _ _ _ __ ,..-TEL. (213) 376-8005
WRITE FOR FREE CATALOG
You are invited to visit our store at the above address

Circle 51 on inquiry card . BYTE December 1977 203


CALCULATORS

.,

Everyone Should Learn Programming, I n a move ca lculated to encourage .&:1,._.,..........".... •


'i
TI Calculates interest in programming and compu- \

\~
tational problem solving, Texas In stru-
ments introduced a numb er of new
general purpose and specialty calc ulators \
recently. In a press announcement, TI
noted that nearly 400,000 people

\
purchased programmable calculators
in 1976, and estimated that over 3
million peopl e a year would be buying
programm abl es by 1979. Included
among T1's new products are ca lculators
with "Solid State Software" program
libra ri es, new t utorial books on pro-
gramming, and a new teaching dev ice
for the kiddies.
At th e top of the new lin e are the TI Photo 5: Th e new TI 57 programmable
Programmab les 57, 58 a nd 59. The calculator can store up to 750 key-
Programm ab le 57 ($79.95), which strokes.
Ci rcle 559 on inquiry ca rd .
ev ide ntl y supersedes the S R-56, includes
Photo 7: TI's DataMan offers arithmetic practice a 150 keystroke program memory,
insert and delete keys for editing pro- steps or up to 60 data registers, while
problems ' and math strategy games for the the TI 59 has up to 960 program steps
youngster. It includes a "beat the clock" timer grams, and ten labels for "relocatable"
program branching. Th e 57 comes with or 100 data registers. (Wh e n all 100
feature and a "whiz-bang" display for correct memory registers are in use on the TI
answers. a new le arning guide, Making Tracks
Into Programming, which repla ces the 59, 160 progra m steps are still available.)
Circle 555 on inquiry card.
usu al owner's manu al. The TI 59 also has a magnetic card
The Programmable 58 ($ 12 4.95 ) and facility. Usin g two cards, up to 960
59 ($299 .95) feature larger program and program steps can be recorded and
data memories, and plug-in Solid State reloaded in this way.
Software read only memory modules Additional features of the TI 58
containing up to 5000 program steps and 59 are up to ten registers for
each. Th e ROM libraries range from looping, increm c nNng and decrementing,
. applied statistics and surveying to real up to ten flags which ca n be set, reset
estate, investment, aviation and marine o r tested, and up to six leve ls of sub-
navigation programs. routine calls. Progra m steps may be
I nternal memory on the 58 and 59 addressed in absolute, indirect and
can be allocated either to program steps label modes, wh ile data registers may be
or to data registers. Th e un it of allo- addressed directl y or indirectly .
cation is ten data registers or 80 program A related new product is the
steps. The TI 58 has up to 480 program PC-100A printing cradle, wh ich can be
used with a ny TI programmable cal-
culator except t he Progra mm abl e 57.
This printer has 64 alphabetic, num eric
and special characters which can be
Photo 2: The TI 58, shown mounted on the printed at the rate of 60 characte rs
PC-700A printing cradle with alphabetic printing per second. Up to 20 characters ca n be
capability. printed pe r line on 2.5 inch (6.4 c m)
Circle 556 on inquiry card . wide thermal paper. The PC- 1 OOA can
also be used to print, list or trace pro-
gram steps as an aid to debu ggi ng. It is
priced at $ 199.95 .
Another element in TI's consumer
education program is a new book,
Calculating Better Decisions. Priced
at $4.95, the book is offered in a
package with the 5 R-5 1 -11 ca lculator
for $69.95 . The book concentrates
on use of the 5 R-5 1 -11 's advanced
statistical functions in psychology
and th e social sciences and in busine ss
finance .
One strategy in Tl 's plan to place
several calculators in every h.ome is to
design specialty calculators for specific
Photo 4: The TI 59 features Solid State types of consume rs or consumer uses .
Software plug-in program library A good exa mpl e of this strategy is the
modules of up to 5000 program steps, new MBA calculator, aimed at the
Photo 3: Th e ultra compact DataClip calculator as well as a magnetic card reader and
will run for 7000 hours on one set of batteri es. internal memory for 960 program steps.
Circle 557 on inquiry card. Circle 558 on inquiry carel. Continued on page 206

204 BYTE December 1977


DIGITAL CASSETTE TAPE C-60

II
Fantastic new design uses CMOS I.C. a nd a to · COMPUTER RECORDING
tal of 39 semi-co n ductors to give a touch c on - All these tapes made in U.S.A.
trol keyboard, al! the e lectroni c parts in one PC by a top cassette tape Co.
Board . This organ is easy to bu ild, y et has f ea· Neve r Recorded-Reg. $6.80 ea.
tures lik e a full two -octave range touch key- 3 pocksl$5.00
board, va riable tremolo; two voices; built -in I. C . Can be used jn Audio
a mplifier w ith volume co ntrol . c ompl e te w ith Recording as well.
speaker and a specially designed plexi-glass
case.
-Ideal kit for beginner or gift for children S2Q.50ea. All paru completed on e PC Board
SCA wi ll turn o n rel ey. b UllO r or trigger othor
c lrr 'Jlt ' or 2 .......... 10 sec. (tKf juttable)
Idee l 'or ule al door I lerm, sound controlled tOV I
30MHZ FREQUENCY COUNTER KIT end many othe r proj ec ts
Supply vo ltage 4 .5V ~9V D.C.
Take advantage of thiS new state-af-the-art counter feat Uring the manv benefits of custom' S, .75 ea./2 fo r $3.00
lSI circuitry, This new technology approach to instrumentation yields e nh anced p e rfor·
mance, smaller physical size, drastically reduced powe r consumption (portable b attery Sub-Mini Size
operation is now practicall. d e pe ndability , easy asse mbly an d revolutionary lowe r pric ing !
Condenser Microphone
·0.5" red LED 6 digits d isplay

Only $59.50
Includes a ll parts ,
• R esol ut io n : 1 Hz at 1 sec. 10 Hz at 1 / 10 sec.
• Se n s iti vity: 10 Mv R MS to 3 0 H z
• In tern a l power sup pl y: 5.2V at 1 amp regu la t ed
• Input cor1 n ector: BN C type
$2_50 each
FET Transistor Bullt·ln

SIGMA 78REI, 12DC RELAY


400Jl COIL SPOT
PC Board and Transformer
, • Input power required: 117V AC 50/60 H z
• D iode protected for over vo ltage input $1.30 ea. or 10 for $10.00
ALL BRAND NEW UNITS
DIGITAL CLOCK
WITH DAY AND COMPUTER GRADE CAPACITORS
DATE OF THE WEEK 5,600

[Jo
Thi. clock is beautifuliV deliglled.Caieilmede 10,000 MFO 50 V
from h iGh !lullity die cau elloy. MO\lllment Is , 1,500 MFD 75V
the popullr tlip 1Ype wit h ablM;k up Ilght . (
34,800 MFa sov
39,000 MFD12V
Supply Volta ge 110V AC. lim ited quantity $15.50 ea. 100 ,00 0 MFa 6V

QUARTZ CRYSTALS
TV GGmes
AMP
All parts are p re assembled
1 MHZ
2 MHZ
4 MHZ
$ 4 .95
$5.25
$5 .25
..~,~
........, ~",
\..
on a mini PC Board 10 MHZ $5.25
3.579 MHZ $1 .25
Supply Voltage 6 - 9V D.C. Color TV Type
SPECIAL PR ICE $1.95 ea.
ELECTRONIC
2W sTIR.O AMP SWITCH KIT NATUIIU.
Al l pa r ts comp leted on a PC Boara
2 LM380 I.C ., volume, CONDENSER TYPE
ban, t reble control in cluded
Supply voltage : 9 15V D.C.
Touch 011 Touch OI l MINI-SIZED I.C.
use 7473 I.e .
AM RADIO
___
Sensitivity : 100Mv fo r fu ll output and 12V relay
Total harmonic distortion :
,
1%@ 1I<H z@ 1.5watt
Output is sho rt circui t protected ==~::::::: ~$5:.~50~"~Ch~~-1""'-::-:::---ii"~~iiiii1 S ize smaller than a box of matchesll
WI R E Receives all AM stations
ONL Y $5.75 ea. VHF MODULATO~ Batte ries and ear phone includ ed
For TV Olme orComput.r ~~ WRAPPING
W AUDIO AMP KIT Thil ~i;~,~~v~~ss;;~e~;d&o .~ TOO L
2 LM 3BO wi th Vo lu me Control
Power Supp ly 6 ...... , 8V DC Video 16~~:i51 ~~~ 7:h~~':311 1 .5 MV $29,50
FrQ.,4diulI.ble *:1 MHZ

ONLY $4_50
TI 1955

....
Alternative A Y3 ·85QO · l

~
6 Game (28 I-'In Dip )
TV Game Chip w ith Data
T en n is Squash ho ckey.
Ideal to be used as time de la y practice & 2 shoot ing.

' ~
unit for burglar a la rm, pho to Special Only $6.50
service, and other purposes.
Max. Io'adi ng 110 V, 2 AMP.
PC 80a r d for TV Game wi th Data $2.50 ea.
Swi1ch BO)l between Game & TV $ 1.25 lIa .
.
Supply vo lt age 12 -18 V D.C. I---------------I TOGGLE SWITCH
RCA STEREO AM-FM t - - - - - - - - - - - - I
tP: 0'
$11 .50 each .-l Half-ille subrn ,n . loggl e SWitc h
MUX TUNER AMP •
filteu J arnp 115V AC con tac t
1- 9 10 - 99
s 2 4J2 P SPST

~
0 .90 0 .80
COMPLETE UNIT MS 2 44 SPDT , .00 0 .90
Idea l for use as an t.'- Iarm Un it, , . MS 24') DPDT ' .20 1. '0
or hoOkup to you r car back ·up LARGE QUANTITY AVAIL
to make a reverse indicator
Light Output up to 130 dB .
Vo ltage Supp ly 6 - 12V $7 .50 5 Watt Per Channel RMS With ALL 117 VOLT INPU T
8 Track Tape Player Built In
Manufactured by RCA, maker of at 1 5 amp 530.0 0 ea.
3 Bmp $ 4 .50 ea ,
CT ilt
Quality Systems. All Solid State CT at
2 · 5 amp 5 4 .5 0 ea .
Circuitry with Beautifu ll y de tail ed CT at
2 ·5amp $ 4.50 ea .
panel. limit ed 12Vo r24 Y at 2 amp 5 3.90 ea.

·
24V CT at BOOMA 5 1 .8 0 ea .
0 .8V - 1 2V ill 4QOMA S 1.80 ea.

.. OW •• SU....LY

~
AC

e
AdapHir TVp. Transtorm.r JOV STICK
Same one as in July Radio 12V AC 0 utput 200 MA 4 lOOK VOlum e 1)01 ,n one
. $2.76oech un't. lIa .v 'es,stance p.o
Electronics. Kit includ es PC po't,onal to Ihe angle 01
Board, MM5318 and MM5841 6V Dr; Output 130MA $1.90 ••. • the u'c~ Perl'.!Ct lor elec
8.7VDC Output 130MA $1.90 00.
chip. All other e l ectronic parts
12V DC · Output l00MA $1 .90 II. enl" $5 . 50 ~~;~cc:~~~: or mooei .e
~r-Au...~...;'iiii;"9;;;;"'iii;;__.:ft...'u";I w ith traO~oLye$21 .00 PUSH.BUTTON SWITCH
BIPOLAR LED
a Ca lor:
N/Open C,ontact
Red, Whi t e , Bille,
Jumbo Size red/green change color Green , B lack. 4/S1.00
w h e n reverse polarity of voltage. N/Close a ls o
Id eal for go/nogo indicator. Avai lab le SO ¢ ea.
LARCE QTV AVA I LABLE
Two for $1.00
POWER SUPPLY KIT
Q· 30V D . C. REGULATED
I.C. TEST CLIPS F iTSt designoo for metel ' ''''', n' S'/I: , "' .:J4 ·· "J r4 ··

~
~
Uses UA723 and ZN3055 Po wer
' @'. "-
~J
Finder . Scaled from 0 • 10
r :~. TA output can be adjlisted from Same the E·Z cli ps
8S 5"IJI> IV "Oll;)y(.' , 5V 12V
but Clln be erolSed end vour
l : I O·30V ,2 AMP. Complete w ith PC ~ With 20" Lo ng Leads own $cale pu t on toP. Brand ". ' . ~ ,,) Ideal for AIHm
' :"'.' board and all electr onic parts. -~ In Black and Red Colo rs new in bOl(o
' o.Tone l neJlcatof
Only S3,80 ea. $1.50 each
o-:so POW ER S UPP LV $9.50 each $2 . 75 per pair
Transformer tor Power Supply. 2 AMP z4V )( 2 $4.50
30V OC Panel Meter $4.20
11<1. t------------M
- 'N
-'M- U...M-O
-R
-O
-.-R
-.-'-O-O-O-.C -,"-'-' -"-"-rl.-o-a-.-o-o-6,,-,,&.,.-,-,,-.---------12-/-n--~
- '-II-'O
All o rders ,!odd 10 % DOllage for out 0' state Overloas countfles "dd '511& 0110tlll o'de' 1o. pOS Ta ge

~
MA1003, 12V DC CLOCK MODULE
Built in X'TAL controlled ~~ FORMULACHINTEY
RNATIONAL INC.
~
~~ 902~0
time base , Protected against
automotive volt transients .
Automatic brightness c an ·
trol with 0 ."3" green color
~!.
12603 CRENSH AW BOULEVARD . HAWTHORNE , CALIFORN I A
Fo' mo," on'onn",,"" a'e.,. c,1f 12131619·5162
STORE HOURS 10· ' MooddY , Saturday
_ .1_1
BAHIIAMERIWIl
~~fh'~~~ iti~~sP'~~ F }.urnOff Mfug."W .

Circle 53 on inquiry card. BYTE December 197 7 205


CALCULA TORS etc

An Exotic Way to Tell Time The HP-01 displays the time of day
in either 12 or 24 hour format, with an
For the man or woman who has ind icator to show PM ti me . The user
everything, Hewlett-Packard now offers can add or subtract time, with automatic
the most exotic wristwatch ever de- date adjustment if the time change is
signed, the HP-01. Priced at a cool $650 across midnight. Time can also be con-
in stainless steel or $750 with a gold verted to and from decimal hours. The
filled case, the HP-01 is an integrated device has two alarms, one which can be
timepiece and calculator. It has 28 keys set for a specific time and one based on
(six finger operated, 22 stylus operated) elapsed time as tracked by an internal
and a light emitting diode (LED) display
with 12 different display modes or
indicators. Continued on page 208

Continued from page 204


hundreds of thousands of masters in
(& f ) '-T J '/ {1 b
business administration students and
degree holders. The MBA ($79.95),
like the TI Business Analyst, has
special keys to accomplish common ~ TC1(Aa ""srRtJM£NTS - .-

business functions such as net present ¥;:: ~, •


value, internal rate of return, trend
line analysis, mean, variance and
standard deviation, accumulated interest
and remaining loan balance, and annuity
calculations. But it also has a simplified
programming feature, allowing storage
of up to 32 program steps but no tests
and branches, as well as 12 data
memories.
Another new prod uct, the TI 1680
"Replay Calculator," is designed specifi-
cally for applications such as checkbook
reconciliation or "balancing the books"
in an accounting system. The TI 1680
($29.95) allows the user to recall up
to 20 previously entered numbers and
arithmetic operations, and to change Photo 8: The TI 7680 replay calculator,
the previous entries to see what effect which remembers the last 20 numbers
the change has on the calculated result. and operations entered, is useful for
If the typical TI calculator is too Photo 6: The new MBA calculator is checkbook balancing.
heavy or bulky for your pocket, TI still aimed at business administration
Circle 561 on inquiry card.
has something for you. The new Data- students.
Clip ($ 34.95) is about the size of a
Circle 560 on inquiry card.
6 inch (15.2 em) ruler, and no thicker visual action packed display "on the
than a pencil. I t has five functions and order of modern stadium scoreboards."
an 8 digit liquid crystal (LCD) display, DataMan can be adjusted to present
and will operate up to 1000 hours on a problems appropriate to the youngster's
set of batterie·s. achievement level. I t comes with a math
And finally, for the kiddies, there's activity book and helpful hints for
DataMan! TI evidently believes that parents.
youngsters should get started with Clearly, TI's calculators are moving
calculators at an early age (so that in the direction of increasing diversity
they'll be ready for programming by and soph istication. In fact, the TI 59 ·
age 12?). DataMan {$24.95}, patterned with the PC-100A printing cradle pro-
after the highly successful "Little bably qualifies as a personal computer,
Professor" introduced a year ago, with limited alphabetic data handling,
offers children practice with arithmetic hard copy, and mass storage. But when
problems and fun with math strategy will TI introduce a product similar to
games. Learning activities possible with the Commodore PET or the Radio Shack
the unit include the Answer Checker, TRS-80, and what impact will it have
Problem Storage, Math Tables and on the marketplace? This is anyone's
Missing Numbers, and games include guess. In the mea ntime, you can find
Wipe Out and Force Out. A special out about coday's calculators by con-
"beat the clock" timing feature adds Photo 7: This new book is available tacting Texas Instruments Inc, Inquiry
to the fun and challenge of the exer- alone or packaged with the SR-57-77 Answering Service, POB 53 (attn : the
cises and games. Correct answers are calculator. product of your choice), Lubbock TX
rewarded with "whiz-bang," a highly Circle 562 on inqUiry card. 79408.-

206 BYTE Dece mber' 977


••••••• •••••••••••••• • The 4th Annual •••••••
•••• HOLIDAY SPECIAL ••••
i


81 Econoram II" -- 4lor 8475.00 ! , Under $0.0018 per bit! Not only are
we celebrating the holiday season ... but we're an swering a challenge from
i•
:
• Billy Gage and Jim Tanner at ORe. There' 5 been a bit of friendly rivalry
• lately over who can deliver the most for the least; we have a l ways prided :
• ourselves on being ab l e to do ju st that , and "dth 32K of quality memory
• for $475.00, we think even DRC is goi ng to have to agree with us. •
• But price i s by no means the only reason to buy a Godbout memory board; •
• those who know memory appreciate the many options packed i nt o a basic mem- •
• ory board. Extras 1 ike a vector interrupt provision if you try to write •
• into protect ed memory . Configuration as two independent 4K blocks (bot-h •
• individually protectable). A selectable write strobe for either PWR or •
• ~lWRITE. An a ll static design . The ability to hand le mlA devices. Guar- •
• anteed speed under 450 ns (with on board wai t state logic for u se with 4 •
• ~1Hz. Z-80) and guaranteed CUTrent under 1 . SA ( 1250 rnA typ). All inputs and •
• outputs fully buffered; outp ut s are tTi-state for use with bi-directional •
• busses. And of course, sockets for all I es , l egen-ded board with solder •
• , mask, low power Sc hottky SUppol't Ies, assembly instructions, a 1 year . . . ar- -
- ranty on a ll part s .. . this isntt just another board, this is a board you can •

: .........•.............................................................. :
• depend on. Prices apply to boards in kit form on l y . •

: MOTHERBOARD :
: 10 Slots $90 18 Slots $124 :
•• ••
• •
: ACTiVE T ERrfliNATOR $29.~O :
• Plugs into .i ny $- 100 I'lotherboard whose hu ss lacks active terminat ion s. •
• Cleans lip noise, crossta l k, overshoot. and other bLISS problems that can •

•• scramb l e data unpredictab ly. Kit form only.
••

•• •••



Includes all edge connectors, plus active tenninations
to minimite crosstalk, noi se, overshoot, and ringing



• that may be present with unterminated bus ses. Excel- •
• l ent for s t and alone system, or add to existing •
• systems. Kit form only. •

: (AVI :
8~ 2 WATT STEREO AMP
·::• COMING W~ ~ ~ :•

500N Assembled stereo 2W amp


uses L)\~80s. With vol-
ume, tone, balance con-
troI s . Use with l2V for
~m.@l}'®@®uJ[rOI\ll'10@[P ©ro~ •
U'-'U!.J0.:
This adjustab l e packaging system for
$-100 buss microcomputers is compatible

•• ECONORAM VI

T M.
portable amp or auto
use. Dnly $10.00
with Altair 8800 and H1SAI 8080 size cards.
0tUetxSt'u'dreed' it is beautiful ... with a dark blue
viny l fi nish and I ines unmarred by

••

·12

•• K for $ 235 1•8432 MH Z Xt a I external screws or fasteners.


there is space for 21 cards total (on 0 . 75"
centers) "ith .' fully adjustab l e interior
Inside, .

••


• The t-/cath 118 computer l ooks like
He 6" size WI"th .
card mount ir.g system (card guides and hard-
ware provided for 12 cards) . The interior
is instantl y accessib l e, the rear and front

wire Iea dS $' 5.95


• a winner, . . and we'll be happy to supply panels are removable and recessed . •
• you with 12K of lIemory for $235 , which . " And the clincher: our 10/11 s lot mother- •
• happens to be what Heath charges for board fits perfectly inside this case. So ••
• their BK memory. All the same features if you want a classy home for your micro,
• as our popular 8K ECONORAM ntm kit (see l ook this over ... it is the best we've seen. •
• above), with all static design, buffer- VP2 ASSEf.1BLED MICROCOMPllTER CASE .... $134.30 •
• ing, switched protett and phantom, and •


our 2 block configuration gives the a-
bility t o place 4K on 4K boundaries.
Small S'Ystem Power Supply • •
As usual, you get a lege nded, solder
: masked board, socke ts for a ll Ies, top Finally, a quality , cost -effective supply for small sys- :
• perfonnance, and a ,,'arranty on parts . terns. Gives you a full 4 Amps a t 5 Volts, with crowbar •
Check out ou r memory if you want overvoltage protection, a long with half an Amp of +12 and

:.
your 1-/8 to get the most for the l east. half an Amp of -12 ... and an additional 10 rnA supp l y, ad-
justab l e over 5 to lOY for biasing required by some CPUs.
Al though intended to be used with computer systems , it's
$50:. •

®. ®@ID rr lID ~ ~~~~:~~~:~~~i~~:::IS)O:~M~i:E~~~~!~~~~i i


Personal to Frank Tinius: watch a l so a dandy little bench supply for digital experiments. •
• this space. it's happening I

i i!~i:/o~~:~~~ ~~~F~:L~~~ ~:~~~~~ ~:~~:




azine cover month. Ca l ifornians add tax.
COOs accepted with stree t address. for
l!!J 5) RESISTORS
PLAYS 8) SOCKETS
6) CAPACITORS 7) DIS-
9) VECTOR PRODUCTS


• llankAlI1ericard"/VISA"/flastcrcharge"orders Bill GODBOUT ELECTRONICS 10) ENCLOS UR ES I I) ALL THE OTHER •
: ($15 mi n) cal l 41 5 - 562 - 0636,24 hour s. BOX 2355. OAKLAND AIRPORT.CA 94614 THINGS WE CAN 'T fIT INTO THIS SPACE . :

••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
Circle 56 on inquiry card . BYTE December 1977 207
eng inee rs found innovative sol utions to RCA's New COSMAC Manual
Co nti nu ed f r om page 2 06 a n umber of d ifficult design problems A 28 page Instruction Manual for the
in producing this device . The HP -01 RCA C05MAC Microterminal CDP
emp loys a hybrid assemb ly of six CMOS 785027, MPM-212, describing the instal-
timer. The a larms gene rate a 2 .5 seco nd chips, d rawing a tota l of 15 P.W, one lation and app lication of a hand held
beeping tone . ten thousandth of the power required data terminal for microcomputer
A time r and stopwatch feat u re d is- by the HP-35. The watch case had to be systems using the CDPl802 micro-
plays elapsed time in ho urs, mi nutes water resistant, yet still have a keyboard processor , is now avai lable from RCA
and seco nds or in min.utes, seco nds and that perforated the front plate and an So lid State.
hundredths ' of a second . Elapsed time a larm signal that could penetr ate the The Microterminal, which is the si ze
readings can I be take n' and o ne reading back . T h is was don e by plac in g a th in and shape of a pocket calcu lator,
can be stored in memory. In co m bin- rubber d iaphragm backed by a conduc- prov ides ,a means of contro lli ng a
ation wit h the calculator functions, this tive layer u nd e r the keys. When a key COSMAC-based system and suppli es
feat u re al lows the user to perform is pressed, the rubber diaphragm pro- hexadeci m al 10 capabi li ty. It is designed
dynamic ca lculations. For exa m p le, vides the spr ingback, and the conductive to interface direct ly with the COSMAC
while the user is o n t he te lep hone, the layer mak es a direct con nection with a Evaluation Kit CDP18S020 support
HP -01 ca n be set to calc ul ate how much go ld co n tact on the surface of the CMOS hardware, but it can be designed into
the ca ll is costing, updating the d isp lay
hybrid . T his method has worked witho u t user b uil t systems to provide the same
every second.
fa ilu re in tests where the keys have been contro l, communicatio n s and deb ugging
A 200 year ca lenda r feature ca n
pressed over one m ill ion t imes. Th e functions.
disp lay the date in US or European
a larm works by exciting the upper The man u al incl u des a description of
format, and can be used to fi nd past or
piezoe lectric ceramic layer of a 2 layer the hardware and the software programs
fut u re dates given t he current date and
plate. Th e vib rations in the ceramic avai lab le in t he read on ly memory sup -
the n u mber of days. The nu mber of days
laye r resonate through the stain less p lied with the Microtermina l, and also
between two dates, the day of t h e week
stee l second layer, which acts as a includes insta llation instruct ions and
and the day of the year fo r any date can
d iaphragm . With the watch itself as a u ti lity program listings. The operating
also be determined.
so u nding board, the resu lts are aud ib le modes of the Microtermin al are
The calculator funct io ns include add,
beeps. described along with several examples of
su btract, m ul tip ly, divide, perce ntage,
How long before we scarc e ly notice operating sequences.
net amou n t, chain and repeat ca lcul-
ations. Four digits of precis ion are pro- when o ur watch beeps and says, "It's Cop ies of th is new 8Y, by 11 inch
four thirty. Don't forget to make that I nstruction Manual for the RCA
vided, with a utomat ic co nversio n to and
phone call before five."? I n the C05MAC Microterminal CDP785027 ,
from scie ntific notat ion as needed. A
meantime, the HP-01 is ava il able from MPM-212 may be obtained for $2 each
memory key prov ides access to a
Hew lett-Packard Corporation, 1501 Page (US price) from RCA Solid State
memory register, and two more memory
Mill Rd, Pa lo Alto CA 94304, (415) Division, POB 3200, Somerville NJ
reg isters are used for inter m ediate
493-1501.- 08876.-
resu lts of ca lcu lations.
In classic fashion, Hew lett-Packard Circle 563 on inquiry card . Circle 565 on inquir y card.

74LOO .25 74LSOO .40 1101 1.25


wmC';nc. WAMECO INC. 74LOl .25 74LSOl .50 1103 1.25
~e~
~~"""UII BOARDS MEM-1 BKXB fully buffered, S-100, uses 2102 type rams.
74L02
74L03
.25
.25
74LS02
74LS03
.40
.40
2101
211 1-1
4.50
3.75
PCBC .' . . ................................$30 74L04 .30 74LS04 .45 2112 4.50
Mother Board 12 slot, terminated , S-100, board only$35 74L05 .40 74LS05 .45 2602 1.60
MB-1 MK-B Computer RA\", (not S-100), 4KXB, uses 2102
CPU-1 BOBOA Processor board S·100 with B level vector 74L06 .30 74LSOB .40 4002-1 7.50
type RAMs, PCBO only . . . . .......... , , , , . , , , .. $22
interrupt PCBO . , . ........ $30 74LOB .40 74LS10 .40 4002-2 7.50
MB-3 1702A EROM Board, 4KXB, S-100, switchable ad- 74L09 .40 74LS12 .55 MM5262 1.00
d ress and wait cycles, kit less PROMS .. . .... .. $65 10% discount on 10 or more of WAMECO PCBO in any 74Ll0 .30 74LS20 .40 7489 200
MB-4 Basic 4KX8 ram, uses 2102 type rams, may be ex- combination . 74L20 .35 74LS22 .45 74200 4.95
panded to BKX8 with piggybacking, S-100 buss. PC NEWI All lC's Sockets & hardware for WAMECO CPU-I 74L26 .40 74LS27 45 7AC89 3.00
board ............ . . . ........ ....... , .... .. $30 include all prime Eowa, 8214, 8224 , 8212 . PCBO not in- 74L30 .40 74LS30 .40 82S06 2.00
eluded .. . . . . . . . . . . . . . . . . . . . ... . . .. . ...... ,. $65 74L32 .45 74LS37 .60 82S07 2.00
MB~ Basic BKXB ram uses 2102 type rams, memory pro-
tect in 256 to BK switchable S-100 buss. PCBO . .$35 AIlICs, sockets & hardware~or WAMECO MEM· l includes 74L42 1.50 74LS38 .60 82S17 2.00
prime 2102AL·4 's. PCBO no inc luded . Order PCBO sepa- 74L51 .35 74LS42 1,50 8223 2.50
MB-7 16KXB, Static RAM usespP410 Protection, fully buf-
rately ........ , ,. . . . . . . . . .. ..... .. . .. $1'35 74L54 .45 74LS51 .40 82S23 3.00
fered .
Special 2102AL-4 lK x 1 ram y, less power than 21L02 74L55 .35 74LS54 .45 82S123 3.00
PCBO .. $30.00 KIT . .$525.00
type rams, with power down, prime from NEC . Ea. 2.00; 32 74L71 .30 74LS55 .40 82S126 3.50
MB-8 270B EROM board, S-l 00, 'BKXB or 16KXB kit without 74L73 74LS73
ea. 1.80; 64 ea. 1.70; 128 ea . 1.60; 256 ea. 1.50. .55 .65 82S129 3.50
PROMS .. . .$B5 74L74 .55 74LS74 .65 82S130 3.95
MB-9 4KX8 RAM /P ROM Board uses 2112 RAMS or 9080A AMO 8080A (Prime) 20 .00 74L75 1.20 74LS76 .65 82S131 3.95
B2S129 PROM kit without RAMs or PROMs . , . , . $BO 8212174S412 Prime 400 74L78 .90 74LS151 1.55 IM5600 2.50
10-2 S-l00, B bit parallelliOport, 'hof board is for kludging. 8214 Prime 8.30 74L85 1.40 74LS174 2.20 IM5610 2.50
Kit ...... $55 PCBO .. .......... . ... . ... . . .. ... $30 8216 Prime 4.95 74L86 .75 74LS175 1.95 IM5603 300
8224 Prime 5.00 74L89 3.50 74LS192 2.85 IM5604 3.50
10-4 Two serial flO ports with full handshaking 20(60 ma
822B Prime B.90 74L90 1.50 2501B 1.25 IM5623 3.00
currenlloop . Two parallel 110 ports.
$150 B251 Prime 14.50 74L91 1.50 2502B 300 IM5624 3.50
Kit ... ,' ......
B255 Prime 14.50 74L93 1.70 250lV 1.25 MM16330 2.50
VB-1 64X 16 video board, upper lower case Greek, com- 1702A-6 AMO 402A Prime 5.00 74L95 1.70 2510A 2.00 OMB573 4.50
poSite and pari "el video wi th software, S-100. TMS-6011 UART Prime 6.95 74L9B 2.BO 2517V 1.25 OM8574 5.50
Ki t ... $150 PCBO .. $30 2513 Char Gen Upper Prime 11.00 74L123 1.50 2519B 2.80 OM8575 4.50
SP-1 Music synthesizer board , S-l 00, computer controller 2513 Char Gen Lower Prime 1100 74L 164 2.50 2532B 2.80 OM8576 4.50
wave forms, 9 octaves, IV rms 1'2% distortion, includes 1702A Intel Not Prime 4.00 74L 165 2.50 2533V 2.BO OM8577 3.50
software kit . . ... $200 74L192 1.25 OMB131 2.50 OMB57B 4.00

U({A] D[K\@~
Altai r Compatible Mother Board, 11 x l1Y2 x VB' . 74L193 1.20 NB263 3.50 2.4576 MHZ
Board only. . $45 With 15 connectors .. $105, ' MHOO26 2.95 MC14B9 1.50 XTAL 7.20
Extender Board full size. Board only . ..........$9 MC 14BB 1.50 OM8B37 1.50
With connector . .$13.50
Chock or money order only. If you are not a regular cuslomer and )Uur
Solid state music Cybercom boards are high quality glass
order is large please send either a cashier's check or a postal money
board with gold finger contacts. All boards are check for order, otherwise there will be a delay of two weeks for the check to
shorts. Kits only have solder mask, 90 day guarantee on 419 Portofino Drive clear. All items post paid in the U .S. Calif. residents add 6% tax.
Cybercom kits. San Carlos, California 94070 Money back 30 day guarantee. We cannot accept returned IC's that
Non-electrical cosmetic rejected PCBD from Cybercom. Please send for IC. Xis tor have been so ldered to. Prices subject to change without notice. $10
10-2 . $21 MB-6 .... $21 VB-lOOO .... $25 mi nimum order. $1.00 aervlce charge on orde,.. Ie .. than $1 0.
and Computer parts list.

208 BYTE December 1977 Circle 76 o n inquiry card,


DIODES/ZENERS SOCKETS/BRIDGES TRANSISTORS, LEDS, etc.
lN914 100v lOrnA .05 8'pin pcb .25 ww .45 2N2222 NPN (Plastic .10) .15
lN4005 600v lA .08 14'pin pcb .25 ww .40 2N2907 PNP .15
lN4007 1000v lA .15 16'pin pcb .25 ww .40 2N3906 PNP .10
lN4148 75v lOrnA .05 18·pin pcb .25 ww .75 2N3054 NPN .35
lN753A 6.2v z .25 22' pin pcb .45 ww 1.25 2N3055 NPN 15A 60v .50
lN758A 10v z .25 24'pin pcb .35 ww 1.10 T1P125 PNP Darlington .35
1N759A 12v z .25 28'pin pcb .35 ww 1.45 LED Green, Red, Clear .15
lN4733 5.1v z .25 4o'pin pcb .50 ww 1.25 D.L.747 7 seg 5/8" high com·anode 1.95
lN5243 13v z .25 Molex pins .01 To·3 Sockets .45 XAN72 7 seg com·anode 1.50
lN5244B 14v z .25 FND 359 Red 7 seg com·cathode 1.25
z .25 2 Amp Bridge 100·prv 1.20
1N5245B 15v
25 Amp Bridge 200·prv 1.95

CMOS - T T L -
4000 .15 7400 .15 7473 .25 74176 1.25 74H72 .55 74S133 .45
4001 .20 7401 .15 7474 .35 74180 .85 74Hl0l .75 74S140 .75
4002 .20 7402 .20 · 7475 .35 74181 2.25 74Hl03 .75 74S151 .35
4004 3.95 7403 .20 7476 .30 74182 .95 74Hl06 .95 74S153 .35
4006 1.20 7404 .15 7480 .55 74190 1.75 74S157 .80
4007 .35 7405 .25 7481 .75 74191 1.35 74LOO .35 74S158 .35
4008 .95 7406 .35 7483 .95 74192 1.65 74L02 .35 74S194 1.05
4009 .30 7407 .55 7485 .95 74193 .85 74L03 .30 74S257 (8123) .25
4010 .45 7408 .25 7486 .30 74194 1-.25 74L04 .35
4011 .20 7409 .15 7489 1.35 74195 .95 74Ll0 .35 74LSOO .35
4012 .20 7410 .10 7490 .55 74196 1.25 74L20 .35 74LSOl .35
4013 .40 7411 .25 7491 .95 74197 1.25 74L30 .45 74LS02 .35
4014 1.10 7412 .30 7492 .95 74198 2.35 74L47 1.95 74 LS04 .35
4015 .95 7413 .45 7493 .40 74221 1.00 74L51 .45 74LS05 .45
4016 .35 7414 1.10 7494 1.25 74367 .85 74L55 .65 74 LS08 .35
4017 1.10 7416 .25 7495 .60 74L72 .45 74LS09 .35
4018 1.10 7417 .40 7496 .80 75108A .35 74L73 .40 74LS10 .35
4019 .60 7420 .15 74100 1.85 75110 .35 74L74 .45 74LSll .35
4020 .85 7426 .30 74107 .35 75491 .50 74L75 .55 74LS20 .35
4021 1.35 742T .45 74121 .35 75492 .50 74L93 .55 74LS21 .25
4022 .95 7430 .15 74122 .55 74L123 .55 74LS22 .25
4023 .25 7432 .30 74123 .55 74HOO .25 74LS32 .40
4024 .75 7437 .35 74125 .45 74HOl .25 74S00 .55 74LS37 .35
4025 .35 7438 .35 74126 .35 74H04 .25 74S02 .55 74LS40 .45
4026 1.95 7440 .25 74132 1.35 74H05 .25 74S03 .30 74LS42 ".10
4027 .50 744'1 1.15 74141 1.00 74H08 .35 74S04 .35 74LS51 .50
4028 .95 7442 .45 74150 .85 74Hl0 .35 74S05 .35 74LS74 .65
4030 .35 7443 .85 74151 .75 74Hl1 .25 74S08 .35 74LS86 .65
4033 1.50 7444 .45 74153 .95 74H15 .30 74S10 .35 74LS90 .95
4034 2.45 7445 .65 74154 1.05 74H20 .30 74S11 .35 74LS93 .95
4035 1.25 7446 .95 74156 .95 74H21 .25 74S20 .35 74LS107 .85
4040 1.35 7447 .95 74157 .65 74H22 .40 74S40 .25 74LS123 1.00
4041 .69 7448 .70 74161 .85 74H30 .25 74S50 .25 74LS151 .95
4042 .95 7450 .25 74163 .95 74H40 .25 74S51 .45 74LS153 1.20
4043 .95 7451 .25 74164 .60 74H50 .25 74S64 .25 74LS157 .85
4044 .95 7453 .20 74165 1.50 74H51 .25 74S74 .40 74LSl64 1.90
4046 1.75 7454 .25 74166 1.35 74H52 .15 74S112 .90 74 LS367 .85
4049 .70 7460 .40 74175 .80 74H53J .25 74S114 1.30 74LS368 .85
4050 .50 7470 .45 74H55 . .25
4066 .95 7472 .40
4069 .40
4071 .35 LlNEARS, REGULATORS, etc.
4081 .70 8266 .35 LM320K5 (7905) 1.65 LM340T24 .95 LM723 .50
4082 .45 MCT2 .95 LM320K12 1.65 LM340K12 2.15 LM725 1.75
8038 3.95 LM320T5 1.65 LM340K15 1.25 LM739 1.50
9000 SERIES LM201 .75 LM320T12 1.65 LM340K18 1.25 LM741 (8·14) .25
9301 .85 LM301 .25 LM320T15 1.65 LM340K24 .95 LM747 1.10
9309 .35 LM308 (Mini) .75 LM339 .95 LM373 2.95 · LM1307 1.25
9322 .85 LM309H .65 7805 (340T5) .95 LM380 .95 LM1458 .95
95H03 .55 LM309K (340K·5) .85 LM340T12 1.00 LM709 (8,14PIN) .25 LM3900 .50
9601 .75 LM310 1.15 LM340T15 1.00 LM711 .45 LM75451 .65
9602 .50 LM311 D (Mini) .75 LM340T18 1.00 NE555 .50
LM318 (Mini) .65 NE556 .95
MEMORY CLOCKS NE565 .95
74S188 (8223) 3.00 NE566 1.75
1702A
MM5314
6.95
3.00
INTEGRATED CIRCUITS UNLIMITED ,
NE567 1.35

MM5316 3.50
2102·1 1.75 7889 Clairemont Mesa Boulevard, San Diego, California 92111
2102L·l 1.95 (714) 278·4394 (Calif. Res.) SPECIAL
TR 1602B/ DISCOUNTS
TMS 6011 6.95 All orders shipped prepaid No minimum Total Order Deduct
$35· $99 5%
8080AD 15.00 Open accounts invited COD orders accepted 10%
$100· $300
8T13 1.50
Discounts available at OEM Quantities California Residents add 6% Sales Tax $301 . $1000 15%
8T23 1.50
All IC's Prime/Guaranteed. All orders shipped same day received. $1000· Up 20%
8T24 2.00
21078·4 4.95 24 Hour Toll Free Phone 1·800-854·2211 MasterCharge / BankAmericard / AE Circle 64 on inquiry card,
SILICON Full ASCII Character Set in a
Byte Sized Dot Matrix

~TMS4710NL
o 9
New Clock Chip for 6800 Systems Improved Version of 2708 from Intel

While the popular 2708 1 K byte z z


EROM chip continues to drop in price,
Intel has in troduced an improved version
of the chip, the 2758, which makes read A new 1024 by 8 bit character
only memory designs still simpl er. The generator ROM can be used to simplify
new chip is completely TTL compatible video display and dot matri x printer
and requires only a 5 V power supply. It controllers. The TMS4 710 outputs
is directly upgradable to a 2 K byte 2716 dots for upper and lower case letters,
EROM or a 2316E mask programmed numbers and special characters with
ROM, both of which require only a 5 V spacing due to use of 5 by 7 characters
supply. Power dissipation is le ss than in an 8 by 8 matri x. Three state outputs
50% of the 2708, a nd a power switching and dual output enilbles are provid e d in
input can be used to redu ce dissipation the plastic or ceramic 24 pin DIP pack-
by more than 80% when the chip is not age, which is priced at $10.66 or $12.66
selected. in 100 piece quantities. Contact Texas
Even more interestin g are the device's Instruments' Inquiry Answerin g Service,
programming features. The entire EROM POB 1443 , MIS 669 (attn: TMS4710),
can be programmed in less than a Houston TX 77001, {713} 494-5115
minute, twice as fast as the 2708, but ext 2781.-
in addition a ny numb e r of bytes can be Circle 537 on inquiry ca rd .
programmed at one tim e . And a byte
Microcomputer designs based on the is programmed simply by applying a
Motorola 6800 microprocessor and
TTL level signal to a program control An 8 by 8 Multiply in 100 ns
others such as the MOS Technology
input for 50 ms. The programming
MCS6512 can be simplifi ed with this signal need not be pulsed but is simply
monolithic clock generator chip. Re- direct current. These features make
quiring only a 5 V supply and a qu art z in-system programming much easier to
crystal or RC {resistor and capacitor} design. {Who knows? Perhaps we'll see
network, the MC6875 provides buffered E ROM boards with ultraviolet lights
2 phase clock outputs, automatic clock permanently mounted for periodic era-
stretching for slow memories, dire ct su re and rep rogra m m ing.}
memory access or dynamic memory The 2758's introductory price of
refreshing. It also has request and grant $26.60 is less than hal f the 2708's
logic for 10 peripherals, and a Schmitt initial price of $65.50, and the 2758
trigger power on and reset function. and 2716 are expected to drop in price Microcomputer applications such as
Available in a 16 pin dual in line pack- per bit much more rapidly than the real time music synthesis and speech
age, the MC6875 costs $3.45 in 1000 2708. The new devices have a head processing, fast Fourier transform
piece quantities from Motorola Linear start on the production "learning curve" computations and fast floating point
Products, 2200 W Broadway, Mesa AZ first traveled by the 2708. The 2758 is processors call for enormous numbe rs
85202, {602} 962-2294.- available from I ntel Corporation, 3065 of multiplications each second . In these
Circle 534 on inquiry card. Bowers Av, Santa Clara CA 95051, applications, a new chip from Mono-
{408} 246·7501.- lithic Memories can he lp . I t performs
Circle 536 on inquiry card. an 8 by 8 bit signed or unsigned 2's
How About a 1 Bit Microprocessor? complement multiplication in 100 ns,
yielding a 16 bit signed or unsigned
result. The 40 pin bipolar LS I device
MC14500B is a 1 bit static CMOS pro-
uses a single 5 V power supply, con-
cessor which perform s logical operations
sumes only 1 Wand features three state
on data occurring on a 1 bit bidirectional
outputs for pipelined operations. The
bus and data in a 1 bit acc umulator. Five
MMI67558 is second sourced by ITT
of the · processor's 16 instructions pro-
Semiconductors and sells for $64 in
vide Boolean functions of the data bus
100 up quantities from Monolithic
and acc umulator bits, while the re-
Memories, 1165 E Arques Av, Sunnyva le
maining instruction s control data trans-
CA 94086, {408} 739-3535.-
fers and generate control signals.
Also called th e I ndustrial Control Circte 538 on inquiry card.

Unit, the MC14500B is the monolithic


embodiment of a programmable logi c
controller. With a loopin g program includes an oscillator on the chip. The
flow, the processor offers a simple way circuit, in a 16 pin ceramic or .plastic
to sequentially control e lectronic and 01 P, is available for $ 7.58 in 100 up
electromechanical devices in applications quantities from Motorola 's Integ rated
such as traffic controllers, office copiers, Circuit Division, 3501 Ed Bluestein
If eight bits just isn't right for your telephone dialing systems and micro- Blvd, Austin TX 78721, . {512} 928-
application, perhaps a 1 bit micro- program control sequencers. The pro- 2600.-
processor will do the job. The Motorola cessor will operate at up to 1 M Hz and Circle 535 on inquiry card.
\

210 BYTE December 19 77


Ci rcle 135 on inquiry ca rd.

Selectri c Termin al - USED, AS IS , but

CHRISTMAS re moved from working installation .


Nationwide se rvice available. $795.00

SPECIAL
SPECIAL ITEMS FOR ABOVE TERMINAL
ASCII controller - 200 character buffer, all
128 characters , set at 110 to 1200 Baud
(ave rage throughput is 13 cps) . ASR33
co mpatibl e RS232C interface. $225.00 .
BOTH UNITS ORDERED TOGETHER $890.00
r

~ _ (~ . '
tII
" SURPLUS BARGAIN :
_ • . • .c New , in o riginal containers. Double density

- j
-:: . ,'>-
.....
~ •
-' fl o ppy drives . Model GSI11 O.
2 for
$549.00
$1059.00

I BM format disk kit to use GSI11 0 drive with


a bove terminal controller. $249.00
Boa rd and EPROM only $99.00

Masterch arge , Visa or COD accepted .

$40.00 deposit on COD

• LIMITED QUANTITIES Call or write by Dec. 5, 1977


to reserve for shipm ent on or before Dec . 12, 1977.

IMMEDIATE DELIVERY Shar]p & Associates linco


Box 10666, Edgemont Branch Golden, Colorado 80401

I
.,•
A TOTALLY NEW CONCEPT! SAVES TIME AND MONEY! MAKES YOUR JOB EASIER! •
I A powerful new tool for every serious 8080 user - professional and novice alike.
Priceless timesaver for engineers, technicians, and programmers. Saves time and
I

••• •••
money in the lab, on the production line, or in the field.
Convenient pocket size - 3 3/8 by 7 3/4 inches - gives quick and easy access to all vital
reference data. No moresearching here and there for codes, instructions, or definitions.
It's all there - at your finger tips - everything you need to successfully use the 8080A


and - Intel's new 8085 microprocessor.
I
••
Features cross listing , for rapid assembly and disassembly, of MACHINE CODES and
MN. EMONICS • Concise description of 8080 and 8085 OPERATIONS, SIGNALS,
PINOUTS, and INSTRUCTIONS. Convenient cross conversion of OCTAL,
HEXIDECIMAL, DECIMAL, ASCII , and EBCDIC codes. Easy-to-read tables of powers ••
I
of two, eight, and sixteen ... and much more . . .
Sturdy. Handsome. Easy-to-use • Data Packed
••
•• ••
Your timesaver will give many years of professional service.
$12.95 each (plus postage & California sales tax) - 25% discount for 4 or more.
MoneyBack Guarantee: You must be fully satisfied or simply return the guide within 15 days for full and prompt refund.
I I
•• URBAN INSTRUMENTS· 4014CODYROAD·DEPARTMENTC1·

• PLEASE SEND
SHERMAN OAKS· CALIFORNIA 91403

8080 timesavers to:


• . ' .,

CHECK/M.O. ENCLOSED 0
. .",'

BANKAMERICARD 0
-_BANKAMERICARD.

MASTER CHARGE 0 I
I
I
• NAME .. ~ '. . . ... .. . ................... .... ...... .. .... . . .... ... .. . CARD NUMBER .. ... .. . ......... . .................... .. .. .. .. .... ... 1

STREET ... . . . . .... ...... . . . .... .... . .... . ... . . .. ... .... .. . . . .. .
I• CiTY. ............. . .... . . .. ... .......... . ... .. .. .... . ... ... . .. . GOOD THRU . ... .... ... .. .4 DIGITS ABOVE NAME (MA'STE'R CHARGEj I
L:T~~~~~~.~.~z~.~~'~'~'~';G;'T:E~'~~~~~ • • • ~~~~~J
Circle 124 on i nq ui ry card . BY TE Decembe r 1977 211
COMPU!TIME of·fers THE PROM SETTER
A WRITE and READ
CDMPUITIME Real Darn Clever W7400NTTLW EPROM
C1 tDD Enhancement to users of SN7~OON
SN7.aIH
.16
.IS
SN7459A
5N7'(60N
.25
.22 5N7416o\N 1.00
1702A and 2708
• Plu~s Direr.lly inl0 your ALTAIR / IMSAI Com puler
IMSAI/ ALTAI R Microprocessors SH7402N
SN1403H
.21
.16
SN1410H
SN7472N
.45
.39
SN74155N
5N74I56H
.99
.99 • In r. lud es Mnin Module Board and EXlernal EPROM
SN7404N .18 SN7473N .37 SN74157N .99 Snr.kel Unit
SH740SN .24 SNH74N .32 5H14160H 1.25
5N7408H .20 SN7475H
4
.SCi 5H74161N .99 • The EPROM Socket Unit is r.onnec led 10 Ihe Com-
S1IIO BUS COMPATIBLE 5N7407H .29 SH7476N' .32 5N74163N .99 puler Ihrnll~h a 25 Pin Connector
TIME & CALENDAR SN7.oeH
5N7((l9H
.25
.25
5N7479N
5N748QH
5.00
.50
SH741&4H
SN74165N
1.10
1.10 • PrnRr;Jmmin~ is nccomp lish ed by the Compuler
SN7<4IOH .18 SN7482N .98 5H74156N 1.25 • lusl Rp.<ld in the Pru~ram 10 be Wrillp.n on lhe
COMPU/TIME CT100 $199 Kit 5245 Assembled SH7411N .30 5N7483H .70 5N74167H 5.50 EPROM intn your Processo r and leI the Computer
COMPU only C101 $149 Kit 5189 Assembled SN7412N .33 SN7485N .89 5N74170N 2.10
SN7413N .45 SN1486N .39 SN74t72N 8.95 rio th e res t.
TIME only 1102 $165 Kit 5205 Assembled 5N74UN .70 5N146BN 3.50 5N74173N 1.50
• Us!' Sockp. t Unit 10 Read EPROM's Contents into
COMPUlTIME PC Board ani., 5 · 80 5N7416N .35 SN7489N 2.49 5N74174N 1.25
5N7417N .35 5N749ON .45 SN74175N .99 your Computer
SNH20f.1 .21 5N749'IN .75 SN74176N .90
SN1421H .33 5N7492N .49 5N74177N .go • Sof!\,\'ilre inr.luderi

TU-~
SN7422 N .49 SH7493N .49 5N1418ON .99 • No E~ I p.r nnl Po ..... er Supplies, Your Computer doc!
5N7423N .37 SN74!MN .79 5N74181N 2.49
SH7425N .29 5N7495N .79 5N74182N .95 ila!!
5N7426N .29 5N7496N .... 89 5N74184N 1.95 • Pr()~rams ilod RCilds Bolh 1702A a nd 270A EPROMS
SN7427N .37 SN7497N UXI 5N74185N 2.20
You will want to know about the TU-l Video to Televisior 5N7429N
5N7-43ON
.42
.26
5N74100H
5N14107N
1.00
.39
$11174,.
5N74187N
15.111
6.00
• Om.'blf's as an EiRhl Bit Parallel 110
Interface Kit. SH7432N .31 5N74121N' .39 SN74 188N 3.95 • Milnuill inr.lui::lecl OCIIVP.rY Less ,hnn 90 dov!'
5N7437N .27 5N74122'" .39 5N74190N 1.19
No need to buy a separate Video Monitor if you already 5N7438N .27 SN74123N .50 5N74191N 1.25 INTRODUCTRY OFFER
SN7439H .25 SN74125N .60 5N14192N .89
own a TV set. Just connect the TU-l between your system 5N7440N .15 5N74126N .60 5N74193N .89 THE PROM SETTER
5N7441N .89 5N14132N 1.09 5N7419-4N 1.25 Kit 5210 ASSEMBLED 5375
video output and the TV set antenna terminals-that's all 5N7442N
SN1443N
.59
.75
5N7U36H
5N14141H
.!ffi
1.15
5N74195N
5N74196N
.75
1.25 PROM SETTER I
there is to it - to convert your TV set to a Video Monitor, anc 5N74«N
5N7U5N
.75
.75
5N14142N
5N74143N
4.00
4.SO
SN74191N
5N74198N
.75
1.75 abo ve unit with 2716 adapter
at a much lower cost! 5N7446N .81 5N74144N 4.SO 5N74199H 1.75 Kit 5260 Assembled $425
PRICE $8.95 SH7U1N
5N7U8N
.69
.79
5N74145H
5HH147N
1.15
2.35
SH14200N
SN74279N
5.59
.90
SN7450H .26 5N14148N 2.00 5N74251N 1.79
FCS 8000A - 3\0 Digit - .8" Display
NEW125P1nV.fllonwfttlcolon&amlpmIOOItator
SH145IN
5N7453H
5N7454N
.27
.27
.20
5N1415ON
5N74151N
5N741S3N
1.00
.79
.89
5N74284N
SN74285N
5N7.(367N
6.00
6.00
.75
WIRE WRAP CENTER
• Connects .Imost on. HOBBY-WRAP TOOL-BW-630
/1::/22811
FRONT VIEW - FSC8XlO
lor on. with 3817, 3817A
or D. (3817
$S.OOUchj.
available at
• Typlal 5IOmen~tUrrent
SLlT-N-WRAP WIRE WRAP TOOL
• Slits and opens Insulation exposing
bare wire CO'1lOO
MANY OTHERS AVAIlABLE ON REOUEST
20% DIscount for 100 CombIned 7400's
.25 CMOS 74C04N . .15
• BaHery Operated (Size C)
• Weighs ONLY t t Ounces
C()4001 .25 C04030
.65 HCION .65 • Wraps 30 AWG Wire onto
SPECIAL 8mAoceptoolon,IOhrs.
• No pre'cuttlng or pre-stripping . CD4002 .25 t04035 I 1.85 14C20N .65 Standard DIP Sockets (.025 inch)
b & c a1ld 10 min. a & d
S4.95 EA. wI'IldIlote 16 mAo • Comes complete with two - tOO ft spools ""'006
CD4007
2.50
25
C04040
C[).4042
2.45
1.90
74ClON
74C42N
.65
2.15 Complete with built-in bit and sleeve
• MAXIMUM FORWARO • Forwald voltage drop
CURRENT - 25 mAo 1 5 YOlts #28 AWG wire ' ""'009
C04010
.59
.59
C04D44
C04046
I.SO
2.51
74C73N
74C74
1.50
1.15
Modlt P180 .S24.50 C[).4011
CDo4012
.25
.,
.25
C04047 2.15
.19
74COON 3.00
WIRE-WRAP KIT - WK-2-W __,-----.<
·tJi!i1ii'i Plugboards 8800V
C04049 7CC9SH 2.00
C04013
• C04016 .56
C04DSO
C04051
,79
2.95
HCI07N
74C151
1.25
2.90 · WRAP. STRIP. UNWRAP "-- .. ~~"
C04017 1.35 C04053 2.95 74CI54 4.00 • Tool for 30 AWG Wire ".
C04019 .55 C04060 3.25 74CI51 2.15 • Roll of 50 Ft. White or Blue 30 AWG Wire \
Universal Mlcrocomputerl

;~J-l~J-~~-~1
CD4D20 1.49 C04D66 1.75 HCl60 3.25
• 50 pcs. each t .. , 2". 3" & 4" lengths - , .
I Processor plugboard, use with C0<4022
C04023
1.25
.25
C04069
C04Dll
.45
.45
74CI61
74CI63
3.25
3.00 pre-5tripped wire. \ 0\
.", .. 1\ S-l00 bus complete with heat sink & <.

CD4D24 1.50 C04081 .45 74CI64 3.25


.,: ~~: t,srdware 5.3 x 10 x 1/16" CD4D25 .25 C[).451\ 2.SO 74CI73 2.60 $11.95 \ ,.. . ,.. ,--
:; ' . COo4026
C04D27
S3.95
.69
C04518
MC14566
2.50
3.00
74CI93
l4C195
2.75
2.75
:" , . $19.95 004028 1.65 l4COON .39 MC4D44 4.50
CD4£)29 2.!Xl 74C02N 55 MC14016 .56 . WIRE WRAP TOOL WSU-30
. , . ' ., . .J ' .MlIIOR .eo 1.65 WRAP • STRfP • UNWRAP -$5. 95
l{NE~5R
LM1351N.
'1I111 1I1II 11I11111111i111 I lM30IH .35 LM,..,4N 1.75
I.M3(lICN .35 lM1458C .65
lM302H .7S LM370N 1.15 lMI496N .95 WIRE WRAP WIRE - 30 AWG
CHt1NNELC!J'· -::::~:OPtion
'
"'304H
"'30511
lM307CN
1.00
95
.35
OO73N
LM377N
LM3811N
3.25
4.00
1.39
lMI556V
lM2111N
lM2901N
1.85
1.95
2.95
5OH. SI.95 1000".,$15.00
SPECIFY COLOR - White - Yellow, Red, Green - Blue· Black

~
• • Automatic time and sco"keeping
-:",J,I
., ItJ . • Banery·free AC operation
"'308H
"'308CN
1.00
1.00
LM380CN
LM38IN
1.05
1.79
LM3065N
lM3900N
,89
,55

, $159.95 . • Dual controls with 8-way action


Bum-in Pro Hocl<ey and Tennis games
• Easy hook-up on any BIW or Color TV
lM309H
LM309l<
LM310CN
1.10
.99
1.15
LM382N
NESOIK
NE510A
1.79
8.00
6.00
LM3905N
LM3909
LM5556N
.60
1.25
1.85
WIRE DISPENSER - WD-30
• 50 ft . roll 30 AWG KYNAR wire wrap wire $3.45 ea.

=")
lM311H .!Xl NE531H 3.00 MC5558V 1.00 • Cuts wire to desired length
• Factory warranty OOllN .!Xl NE5313T 6.00 LM7525N .90 • Strips t" 01 insulation SpICIly - Blue-Yellow·Wh~e-Red
::!= =."t;i!:; lM318CN 1." NE540L 6.00 lM7535N \ .25
NE~N .79
Chlnnel F - additional cartrldgel-$t7.95 ea. tM319N
lM320K·5
1.30
1.35 HE555V .39
80388
LMl5450
4.95
.49
LlaUID CRYSTAL DIGITAL
0811 - T~·TIC·T../ShOOtin{IGlliory 0815 - Spacewar (2 pIayol1) O8t8 - D"1Iltrtp (1 or 2 pIayol1) LM320K·5.2 1.35 NES60B 5.00 75451CN .39
lM320K·12 1.35 NESSIB 5.00 lS04S2CN .39
Il<iaO,,-<loodlelDoodlol 0818 - MIo~ Numbers 0820 - Maze (2 pIayol1) tMl2OK ·15 1.35 NE562B 5,00 75453CN .39 CLOCK·CALEN DAR
Q812 - Desall foxIShoo"'LGaIl.ry (",mp<l1Br ~Ic) ~822 - _ I I t2J!1ay1~1 LM320T·5 1.75 NE56SH 1.25 75454CN .39
lM320T·5.2 1.15 NE565N 1.75 75491CN .79
LM32QT·8 1.15 NES66CN 1.25 75492CN .89
LMmT·12 1.75 NE567H 1.95 7549-4CN .89
LM320T·15 1.75 NEM7V 1.50 RCAUNWI
LM32OT·18 1.75 LM70JeN .45 CAJOI3 2.15
OO20T·24 1.75 LM709H .29 CA3023 2.56
LM323K·5 ' .95 LM709H .29 CA3035 2.48
"''''N
lM339N
lM34{IK·5
1.81)
1.7.
1.95
LM710N
LMl1lN
LM723H
.79
.39
.55
CA3039
C-'3046
CA3059
1.35
1.30
3.25
LM34OK.fi 1.95 LM723H .55 CA3060 3.25
"'3'("~ 1.95 lM733N 1.00 CA3080 .65
LM340K,'2 1.95 LM739N 1.00 CA3081 2.00
lMl4OK·15 1.95 lM741CH .35 CA3082 2.00
~ IrEI LMJ.40K·18 1.95 lM741CN .35 CAJ083 1.60
LMl4OK·24 1.95 lM741·14N .39 CA30&6 .85
20 DUAL 10 PIN GOL' I .50 L.M340T·5 1.75 LM747H .79 CAJ089 3.75
30 DUAL 15 PIN GOLD .)5 lM340T·6 1.75 LM747N .79 CA3091 10.20
44 DUAL 22 PIN GOLD 1. 95 lM34OT~ 1.75 LM748H .39 CA3102 2.95
44 OUAL 22 PIN GOLD 2.50 LM34OT·12 1.75 LM748N .39 CA3123 2.15
40 PIN 4.95 lM34QT·15 1.75 LMl303N .90 00130 1.39
80 OUAL GOLD
lM340T·18 1.75 LMI304N 1. 19 00140 1.25 For Auto, Home, Office
86 DUAL 43 PIN GOLD(6800) 5.00
100 DUAL 50 PIN GOLOrHSA 1/ AL TAl R) 4.25 LM34{lT·24 1.75 lMI305N 1.40 CA3600 1.75 Small In size (2x2'hx'h)
"'35ON 1.00 LMI307N .85 RC4194 5.95
100 DUAL SO PIN GOLD I.SAI/ALTAIR) 4.95 ~351CN .65 LM131DN 2.95 RC4195 3.25 Push button for seconds release for date.
100 DUAL 50 PIN GO LO NO EARS-I'SAI 3,50 Clocks mount anywhere with either 3M double·
.~ TTl;:l~~~
OUAL 50 PIN TIN (.1" SPACING) 3 . 25 741SOO 1.95
100
74LS02
74lS03 .29
74LSOO
74lS74 49 74LS153
1.55
1.89
sided tape or VELCRO, Included.
2 MODELS AVAILABLE:
ALTAIR/lMSAI CARD GUIDES ',25( EACH 74L~ J5 74lS7S .69 74lS157 1.55 LCD·l0t, portable model runs on self-contained
74L505 J5 74 lS76 49 74LS162 2.25
741508 .29 14l5B3 1 75 74lS 1S3 2.25 batteries for better than a year,
14lSl0 .29 14lS8S 249 l4l5!S4 1.95 LCD·l02, runs on 12 Volt system and is back·
741S13 74LS86 .49 74LS I 7S 1.95

I_E:
69 lighted.
741S14 175 14LS90 1.25 74l S18 1 3.69
LCO·101 or LCD·102
74L520
74LS26
29
39
741592
74lS93
125
1.25
7US I90
7415 191
2.BS
285 our choice. $33.95oa
74LS21 .39 74LS~ 195 74L5192 2.85
Computer Products 74LS28
74lSJO
39
.29
14LS96
14LS107
189
,59
7US193
7415194
2.85
1.89
Clear desk stand for. ... .. $2.00
74LS32 39 74LSI09 59 7US195 1.89
5351 WEST 144th STREET 74lS40 .39 7US112 59 l4lS25l 1.75
74LS132 125 74lS260 .55
LAWNDALE. CALIFORNIA 90260 ~!t~~~ 29
.29 74lS136 \ 59 74LS279 .79 MA1003. 12V DC CLOCK MODULE
74LS73 74LS138 189 74lS670 395
(213) 679-3313 " CLOCK CHIPS • . ~- [' Built In X'TAL controlled
MM5309 6 Olglt. em Outputs, Reset PIN. S9.9·S
RETAIL STORE HOURS M-F 9 -7 SAT. 9-5 MM531 I
.... 5312
8 Digit, &CO Outpull, 1201 24 Houl
~ 091. Bm Outputs. I PPS Ol4pu1
4.95
U, ~ ~~~~~:tl~=r~~itC\~n8.fe~n~~
M!!!~14 6 Digit 12 01 24 HOUf, 50 or 60 HI ' .95 Automatic brightneu con-
Discounts available at OE M quantities, Add $1.25 ~M5316 4 Digit Alarm , 1 PPS Output '.95 •. • • . ~ .. trol with 0.3" green color
for shipping. California residents add 6 % sales tax . MNS318
CT7001
VIGto~Chip.ForUseW!th{MM5341·~. 95)
6 DIoil. CIIIfliW. AliITTl, 12 or 2~ Hour
' .95
,." $17. 95 ~~fhl'~~itl~~IP.~~F·~urnOff
CATALOG FREE WITH $10.00 ORDER

212 BYTE December 1977 Circle 66 on inquiry card.


MICROCOMPUTER 8K STATIC RAM BOARD
ASSEMBLED & TESTED
MICROPROCESSOR's PROM'S 808DA SUPPORT DEVICES
F-8
Z-80
Z-80A
19.95
25.00
35.00
1702A
2704
2708
5.00
15.00
20.00
8212
8214
8216
3.95
9.95
4.50
250n5. $199.95
CDP1802CD
AM2901
6502
24.95
22.95
12.95
2716
360r
5203AQ
38.00
4.50
4.00
8224
8228
8238
4.95
8.75
8.00
350n5. $189.95
6800
8008-1
19.95
8.75
5204Aa
6834
6.00
16.95
8251
8253
12.00
28.00 450n5. $169.95
8080A
TM5-9900TL
15.95
89.95
6834-1
82523B
825129B
14.95
4.00
4.25
8255
8257
8259
12.00
25.00
25.00
** WILL WORK WITH NO FRONT PANEL

***
8223B 2.70 FULL DOCUMENTATION
6800 SUPPORT FULLY BUFFERED
6810P 4.95
6820P 8.00
STATIC RAMS 1-24 25-99 100 Sloo DESIGN
ADEOUATELY BYPASSED
6828P
6834P
6850P
11 .25
16.95
9.95
21L02
21L02
21 Lll
1101A
1450)
(250)
1.50
1.95
4.25
1.49
1.40
1.80
4.10
1.29
1.25
1.50
3.95
1.10
* LOW POWER SCHOTTKY SUPPORT ICS
6852P 11.95
6860P
6862P
6880P
14.95
17.95
2.70
2101-1
2102
2102-1
2.95
1.25
1.50
2.75
1.15
1.30
2.60
1.00
1.15
KIT
I

I Z80 SUPPORT DEVICES


2111-1
2112-1
2114
4 .00
3.00
17.95
3.50
2.80
16.95
3.2 5
2.69
16.50
250ns. $169.95
3881
3882
12.95
12.95
31 LOI
3107
4200A
2.50
3.95
12.95
2.35
3.70
12.50
2.00
3.25
11 .95
350ns. $139.95
F-8 SUPPORT DEVICES
3851 14.95
4804/2114
5101C-E
74C89
17.95
11 .95
3.25
16.95
11.25
3.05
16.50
10.25
2.85
450ns. $129.95
3853 14.95 745201 4.50 4 .30 4.25
7489 2.25 2. 10 1.90
DYNAMIC RAMS
1103
2104
1.50
4.50
8599
9102BPC
1.88
1.65
1.75
1.45
1.60
1.30 IMSAIIALTAIR 5-100 COMPATIBLE

2107A 3.75 KEYBOARD CHIPS KIM

JADEZ80 KIT
2107B 4.50 AY5-2376 13.95 KIM-l 245.00
2107B-4 4.00 AY5-3600 13.95 6502 12.95
TM54050 4.50 6520 9.00
TM54060 4.50 UART'S 6522 9.25
4096 4.50 6530-002 15.95
4116 42.00 AY5-1013A 5.50
AY5-1014A 8.95 6530-003 15.95
MM5270 5.00 6530-004 15.95
MM5280 6.00 TR-1602A 5.50
TMS-6011 6530-005 15.95
MCM6605 6.00
IM-6402
6.95
10_80 -with PROVISIONS for \
1M--6403 10.80 USRT
CHARACTER S-2350 10.95 ONBOARD 2708 and POWER ON JUMP
GENERATORS FLOPPY DISC CONTROLLER WD1671B 29.95
2513 UP
2513 DOWN
2513 UP (5v)
2513 DOWNI5v)
6.75
6.75
9.95
10.95
1771B
1771B-Ol
55.95
59.95

SHIFT REGISTERS STATIC


WAVEFORM GENERATOR
8038
MC4024
4.00
2.50
$135.00 EA. (2MHZ)

$149.95 EA.
MCM6571 10.80 566 1.75
MCM6571A 10.80 25188 3.95
MCM6572 10.80 2533V
TMS3002
2.00
'_00
(4MHZ)
MCM6574 14.75
MCM6575 14.75 TMS3112 3.95
MM5058 2.00

NH0025CN
MISC. OTHER ' COMPONENTS
1.70 P-340BA 5.00 TV
BARE BOARD $35.00
NH0026CN 2.50 P-4201 4.95
N8T20 3.50 MM-5320 7.50
N8T26
74367
DM8098
2.45
.90
.90
MM-5369
DM-8130
DM8131
1.90
2.90
2.75
Game Chip
TM'S1955NL 8-1 00
IMSAI/ALTAIR COMPATIBLE

1488
1489
1.95
1.95
DM-8831
DM-8833
2.50
2.50
Now Only
D-3207A
C-3404
2.00
3.95
DM-8835
SN74L5367
SN74L5368
2.50
.90
.90
$10.9& JADE 8080A KIT
- WITH EIGHT LEVEL VECTOR INTERRUPT
PerSci DISK AND CONTROLLER
Use the PerSci Disk and Controller now with the
Info 2000 Adapter for the S-100 Bus. $110.00 KIT
INFO 2000 "SPECIAL"
(includes Model 277 Dual Drive, Model 1070
BARE BOARD $35.00
Controller, Case with power supply and fan,
and cable) $2!150
Model 277 Dual Diskette Drive $1,i30 .:r~' »::EJ

~
Model 1070 Controller $740 Computer Products
.. 5351 WEST 144th STREET
Slimline case with power supply and fan $280 .•.• LAWNDALE, CALIFORNIA 90260
(213) 679-3313
Adapter for the S-100 Bus (Kit) $120 I

RETAIL STORE HOURS M-F 9· 7 SAT. 9 -5


JADE PARALLEL/SERIAL JADE Discounts available at OEM quantities. Add $1.25
for shipping . California residents add 6% sales tax.
INTERFACE KIT VIDEO INTERFACE KIT
$124.95 KIT $89.95 KIT CATALOG FREE WITH $10.00 ORDER

Circl e 66 on inquiry card. BYTE Dece m be r 19 7 7 .;1 13


I - . ·f _
ALS I ~II
.

CPU
ROPROCESSOR COMP
$16.00 CDP1801. CPU $19.95
(!) limeband '
<.. : FREQUENCIES ONLY :.,r- ; - S080A A. T,_<oo ' ~ 0 ' Fa1lChI<l came,a a", In",,,,,,,,,,n, Q) 'Ol)1al","

Plrlli - - Frequency case/Style---rrifcib 8212 8 Bit Input/Output 4.95 MC6S00 8 Bit MPU 24.95
CY1A 1.000 MHz HC33/U S5 .95 . 8214
~~i~~~~~~:~uC:Scg~i~~: '~~~ ~~m~APl i;~Pxh8!~::~~c~A~aPt"
15.00 Digital Alarm ' Clocks
·.I II· ,
CYIA 1.000 MHz HC33tU S5.95 8216 6.00 • 24 · ~our alarm
ICY2 .0t HC33/U 51.951 Clock GeneratorlDriver 9.95 MC6B30lB 1024 x B Bit AOM

~
8224 15.00 . ooleBunon
CY3A HCt8tU 54.95 System Controll" Bus Driver ,10.95 ZBO CPU 29.95
CY7A HCt8tU 54.95
8228
RAM'S r
OO"-o so'lCl tate ,
_ targeRed le<lDrsplay
CY12A HC t8tU 54.95 CPU'S 11 01 256.1 SialiC SI.49 IS· high)
CY14A HC18U 54.95 8080' Sup~r 8008 16.00 2101 256)4 SialiC 5.95
2102 102 ~ J 1 SialiC 1 . 7~
• AM/PM Indlcalor
CY t9A HC18/U 54.95 2650 8 BIT MPU 26.50
psoas 2107/52S0 J096 1 1 DynamiC • Seconds dis play alloucn
CY22A HC18/U 54.95 CPU 29.95
2111 256.04 SialiC ~.~; C-SOO • Ivory Cne otbullon C·8211
CY30B HCt8/U SA 'S
;JS9 16lJ 2 ~9 C·500B . Ebon¥ Case • Powel tallure mdlcalor Woodgr.l n Can
2504 1024 DVnam~ $ 3.95 Sialic
BIOI 256 ~ J SialiC S16.95 • $19.95
~ JUMPER WIRE KIT !"m'.l·"S" .
.. conlains 350 wires 2518 HeJ 32 BIT 700 5.95 One year lactorywarranly

-Tii 'I'
Bl11 2551':
Hl l----=n=-meba--:--nd~~·--:-L~AM:":'P=--::C~LO~C:-:'K:----I
.
cui 10 dlllerenttenglhS 2519 Hex ~O BIT '00
2522 OUilI 132 BltSSR 2.95 SS99 10 ~ J
_ _ Each wt fll IS stripPed and 21 102191L02 101J ~ 1
2524 512 Dvnamoe 1."
:'::,,~:~~,:;~ 69~ 1'''
1J2oo 256. 1 L ..
~ _ -
ot go. I"
Wire lenglh is classlUed
2525
2527
2529
1024 DynamiC
Dual 256 BIT
Dual 512 BIT
3.00
395
'00
93421
IMM5262
UP0414(2104)4 t<
256. 1
2/{.1 , I" 11, "y H1/ROI/ID
~. by color coding. 2532 Ouao60811 395
• All wire Is solid I!nnoo22 2533 102JSlairc 5.95
_ _ --- gauge with PVC Insulation. 3341 Fllo 695 17D2A
,.--r- The wire s como packod In 7~LS670 16 I ~ Re~ 395 5203
JK1 ...- kit a convanlenl plasl1c box. B2S23
UART'S 02S123
AV-S·IOI3 30KBaud $5.95 74S1B7
CONNECTORS 2513(2140)
ROM 'S
$9.95
PRINTED CIRCUIT EDGE-CARD 2513(3021)
25 16
9,95
.156 Spacing-Tin·Double Aead·Out MM5230
Bilurcated Contacts - fits .054 to .070 P.C. Cards
15/30 PINS (Solder Eyelet) 51 .95
18/36 PINS (Solder Eyelet) - 52.49 FCM3817
AY·]·8500 · '
22/44 PINS (Solder Eyelet) 52.95 AV-S-9100
50/100 • PINS (Wire Wrap) $6.95 AY+9200
AY-S-9500
SO/100A I. tOO Spaclnof PINS (Wire Wrap) $6.95 AY-S-2376
25 PIN-D SUBMINATURE 9374

DB25P PLUG $3.25 ~=--~:::!-..;.;:;'----',....:::r..:=';';:;;;;".-----""'=:!'-~~ ~~


DB25S SOCKET $4 .95

--
Featured on February's Front Cover of Popular Electronics

II HEAT SINKS Logic Analyzer Kit

......
M.dli lOOA M,d"l0

Model100A i • .o • ..

I!il!l
::::;&1.

205-C8 660-.75A

205·CB Beryllium Copper w·black lin ish for TO-5 5 .25


$229.DD/kit JlJIJI~.JI • •
• Bn0l11 6 Dillit LED Display
• Times 10 59 minutes 59.59seronds
• Cryslal Controlled Time Base
291·.36H Aluminum lor TO·220 Transistors & AnalY20s any type 01 digital system • Three Stopwatches in One
Regulators $ .25 • Checks data rates in excess of B Times Srngle Event- Sp/il & Taylol
. Sil!4.5'· .2.IS·· • .90··(4'hounces)
6SO-.75A Black Anodized Aluminum lor TO-3 51.60 • ~~~~~e ~~~~: ~~,s~~~~, DTl, ATl. • Some applications are: • UsesJ Penlite Cells
Dude 4 Black Anodized Aluminum - piedrilled Scholtky and MOS lamilies - Troubleshooting microprocessor
~-=::;;;:::m=0;un::;ti;-ng=ho:'e~s::-lo::r::T:0-::3::-=4::-¥._X_'_Y._'_x_2"__51_._75-1. Displays 1610gic stales up 10 8 digits wide address, instruction, and data flow
I • See on es and zeros displayed on your - Examine conlents of ROMS
DIP SWITCHES SPST Slid, Actton CAT I h d . II t - Tracing operation 01 control logic
#206-4 ( 8 pin dIp) 4 switch un it $1.75 '1. • TeSI~ ~frt~ui~; u~~:r ~~~;I oO;~:ting - Ch~cking coun.ter an d shift
#206-7 (14 pin dip) 7 switch unit Sl.i6 II. conditions regl ~ter .operat lon
#206-8 (16 pin dip) B switch unit 52.25 '1 . • Easy to assemble-comes with step -by-step construction - MO~lt~rtng 1/0 seq uences .
1-:"..,..,....-::::---I-"-""-,,-••-'-hiP-"'- '.-.-ir)-------1 manual which includes 80 pages on logic analyzer operation. - VerifYing proper system ope rations
$29,95 ea. t-----PiiiiTii/l'lllffliiliiiliiin'iPii~if:"v.;r;;fnr------1
$ 9.95 ea .
~~~~~~~~~~~~~~-===~~--1
$ 6.95 ea.
$ 2.95 ea . • OverloJll Protected
100 MHz 8-Dlgit Counter
• .3" high LED Display
. 20 Hl-lOOMHz RanDl' • Four power souces. I.e .
$19.95 ea. • Balleryor AC olMlrnlion
• .6" LEO Display batteries, 110 or 22DV with • Auto Polarity
• AUlD Zeroing
• CrystaJ-conlrolied tlmebase charger 12V with auto
• Imv, IVa, 0.1 ohm lesolution • FulivAutomatic lighler adapter and extemal
• Low Power
• Ovelangeleadlng • Portable - complelely 7.2-IOV power supply • Single IC Unit .
• to meg Inpul impendcnce
1/16 VECTOR BOARD • DC Accuracy l % lYl1lcal
Rangel : DCVott age ;o:D-tOOOV/
· ;~~~~1;~'73'·
x 5.63"
MAX-lOa $134.95 $49.00
P·Panern Price
AC Voltage: O·\QO{)V
l W 1·9 10 up
Freq . Response: 50·400 HZ
4.50 6.50 1.72 1.54 DC/AC Current D-lOOmA
4.50 17.00 3.69 3.32 Resislance: 0·10 meg ohm
4.50 6.50 2.07 1.86 TheJf700 ,sa lo wCOS l d'llllaldock. but
SiJ:e: 6.4" 14.4"x1- IS a velV hll~n quality lIflit Tilt unll tea·
4.50 S.50 2.56 2.31
4.50 17.00 5.04 4.53 Model 2800 Accessorlel: lures a Simulated walnul case With lll-
menslonsolS · x2 \-:·· . ' l1U!lhzesa
8.50 17.00 9.23 8.26 $99.95 AC Adapler BC-28 6.00 MAN 72 hlghbll~hlneS$reaQ"o ul . and

1'6.95
4.50 17.00 6.BO 6.12 Rechargeable
BaHerle. BP-26 20,00 MM 53 I " ' ·
SLIT-N-WRAP WIRE WRAP TOOL Carrying ea,e lC-2B

T~~s: ~~~~;tg~::~~~~ :~~~ JOYSTICK


va~ resistance proportIonal
~~t:,an~~no:t;~ec~I~~ S~i~~
plastic components only at
the movable loint. Perfect
for electronic games and
• , ·0 Instrumentation.
• ABCDE F lOOK
5K
• Shift Key
• 2 Optional Keys INSTRUMENT/CLOCK CASE

1---.;!!!!~~==-.:$.:.:10:':"9:5~e:a::ch::..-r........"...:.!.!.lm~m~~~-'-$8-4-.-9-51:i~~~~1::'=::n mo~,d red bezaI. 4 Yt~unn.

$3.95
x 4" xCompl"
1-9/16"

ea .
• OT. ,BS
•.•"m"'''""""~ .. "U'''''''''''",,,,",, .• OT.598

i1==1~:: OT"S . OT·12S

" UI~"'''·.·''Me! *,,!!!,.aT-47B

, OT-35$ ~OT'S
I: OT -75
r~l~'~'~~"' ~~~'~~m""'" ,~-:J
~tS~~~~bl~T~~ ~:~~ ~~ollo~;:gesIOl~~ ~:~~e~1 4\~~ '~
I-,""'='=""'-:-:--"""~':"";:;,.---:--=:-:---:::---:,='§"§;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;~ ~~~sdr'~w~~raal:c:~;ef~Vm~r~~.thl~ ~~~csu~ ~~~~ - . - - --
readoullO Indlcale any ol lne tollo w,"!! stales Dy
these symbols rH I · I (LOWI · 0 tP\JLSE, · P Hie
1978 Probe can deleCI t"!lh Ire-Quency pulses 10 45 MHl

James
11 canl be used al "lOS 11!\'els 0' CUt",l dimaQe
CATAL0G Will result
NOW
ELECTRONICS AVAILABLE

214 BYTE Decemher 1977 Circle 67 on inquiry card.


5N74ooN
5N7401N
5N740'2N
5N7403N
5N7404N
SN7405N
.16
.18
.10
.20
.20
.10
7400N
5N7472N
SN747JN
5N7474N
5N7475N
SN7476tf
5N7479N
1
.39
.39
.35
TTL

.5{)
.35
5.00
..
5N14160N
5N74161N
5N74162N
5N74163N
5N74164N
5N74165N
1.25
.99
1.95
.99
.99
.99
HOBBY·WRAP TOOL·BW·630
• Battery Operated (Size C)
• Weighs ONLY t t Ou nces
• Wraps 30 AWG Wi re onto
Standard DIP Sockets (. 025 inch)
Complele with buill-in bil and sleeve
SN7406N .35 5N7480N .5{) 5N74166N 1.25
5N7407N .35 5N7482N .99 5N74167N 3.25
5N1408N .20 5N7483N .70 5N74170N 2.10
6.00'
5N1409N .25 5N7485N .69 5N74172N
WIRE·WRAP KIT - WK·2·W _-------<,

lid '.
5N7410N .20 5N7486N .39 5N74173N 1.5{)
5N7411N
5N7412N
.30
.35
5N7488N
SN7489N
3.5{)
2.49
5N74174N
5N74175N
1.25
.99 WRAP • STRIP • UNWRAP
::::.=-::. :., --,:;-,::::::.:~: :~:..;:_::.:..:.;-C".~:,,:.;: .c-,;;.:o • Too l for 30 AWG Wire
\IiiQ~~~\
_. . \
5N7413N .69 5N7490N .45 5N74176N .79
5N7414N .10 5N7491N .75 5N74177N .79
~~;;~~~~~:;~~~!;'~I· Roll 0150 FI. White or Blue 30 AWG Wire
5N7416N
5N7417N
.35
.35
5N7492N
SN749JN
.49
.49
SN74179N
5N74180N
2.49
.99 1;ii~;;;;ir.-"'iiiT--------;CiM- ~ • 50 pes. each 1", 2", 3" & 4" lengths - \ ' .
5N7420N
5N7421N
.10
.39
5N7494N
5N7495N
.79
.79
5N74181N
5N74182N
2.49
.95 I ~$.~~~~~~t;;;;E~~;';
1.95 Ii
pre-stripped wi re. \ @~
5N7422N
."
.37
5N7496N .79
3.00
5N74 184N
5N74 165N 1.95
$11.95 \..' ---"-'
5N7423N 5N7497N
5N7425N
5N7426N
.29
.29
SN7410QN
SN14101N
1.25
.39
SN741MN
5N74187N
15.00
6.00 .. _7 WIRE WRAP TOOL WSU-30
5N7427N .37 5N74109N .95 5N74188N 3.95 .". WRAP. STRIP. UNWRAP · $5.95
SN7429N
5N743ON ."
.25
5N14116N
5N74121N'
1.95
.39
SN74190N
5N74191N
1.19
US WIRE WRAP WIRE - 30 AWG
SN7432N .25 5N74122N .39 5N74192N .89
5N7431N .J5 5N74123N .5{) 5N74193N .89 25". min. $1.25 SO " . $1.95 100". $2.95 1000 " .,$1 5.00
5N7438N .35 5N74 12SN .60 SN74194N 1.25 SPECIFY COLOR .- Wh ite - Yellow - Red - Green - Blue - Black
SN7439N , .25 5N74126N
5N74132N
.60 SN74195N
SN74196N
.75
1.00
SN7440N .21 1.25
SN7441N .89 SN74136N .95 SN74197N 1.00
SN7442N .69 SN74141N 1.15 5N74 198N 1.15
SN7443N .75 SN74142N 2.95 SN74199N 1.15 G"",
SN7444N
5N7445N
.is
.75
SN74143N
5N74144N
3.25
3.00
5N74200N
5N742SIN
5.59
1.79
Orange DISCRETE LEOS
.,
Yel10w
5N7446N .89 SN7414SN 1.15 5N7~279N .90 . 200·· dl. . IIS" dl•. .200" dl •.
5N7441N .69 5N74147N 2.35 5,",74283N 2.25 XC22 51$1 XC52fi R., 51S1 XC556 Red
5N7448N .89 2.00 SN74284N 6.00 R'"
SN74148N XC22 Green XC526 4/$1 X':556 Green
SN7450N ,25 5N14150N 1.25 5N74285N 6.00 G""
XC22 Yellow 41$1 XC526 Yellow '/$1 XC556 Yellow
5N7451N .25 5N74151N .79 5N74365N .75 41$1 XC556 Orange
XC22 Orange 4iSl XC526 Clear
SN7453N .25 5N74153N .89 5N74366N .75 SSl·22 RT ,(C556 Clear
'ISI
5N7454N .25 SN74154N 1.25 SN74367N .75
SN7459A .25 5N74155N .89 SN7436aN .75
SN7460N
SN7470N
.25
.45
SN74fsoN
5N74157N
.89
.89
SN74390N
SN74393N
2.25
2.25
DISPLAY LEOS $3.49/ea .
TYPE PDL.ARlTY HT PRICE TYPE PDLARITY HT PRICE
20% Discount lor 100 Combined 7400 's MAN 1 Common Aoode-red .270 2.95 MAN 6630 CommOn Anode-orange .560 1.25
HP 5082-7400 SERIES - MULTI-DIGIT
MAN 2 5)1, 7 Oot Matrix-red .300 4.95 MAN 6640 Common GathOC!e-orange-O.O. .560 1.25 10 Dr more
Co.000 .13
CMOS MC14562 14.SO
MAN 3
MAN 4
Common Clthode ·red
Common Cuhode·red
.125
.187
.39
1.95
MAN 6650
MAN 666()
Common cathode·mange ~ 1
Common Anode-orange
.560
.560
1.25
1.25
• 1'0" hI. • Common Cathode Red 2 Digit $ .79 .69
CD4044 .89 MAN 7 Common Anode-red • 3-5 volts @ 5 mils/sacond 3 Digit .89 ,79
C04001 .23 C04566 2.25 .270 1.25 MAN 6680 Common Calhode·orange .560 1.25
C04002 .23 C04046 1.79 MCI4583 3.50 MAN 7G Common Anodo4Jreen .270 1.95 MAN 6710 Common Anode-red-O.O . .560 1.25 • 7 5egment Monolithic 4 Digit ,99 .89
C04047 2.5{) 5 Dig~ 1.19 ,99
MAN 7Y Common Anode-yeNow .270 1.95 MAN 6730 Common Anode-red-O.O. .560 1.25 • Dip Package
Co.006
C04007
CD4009
1.19
.25
.<9
C04048
C04049
C04050
.,
1.35

.49
HCOOS, 1111
"COO .39
MAN 52
MAN 71
Common Anode-green
Common Anode-red
.300
.300
1.00
1.25
MAN 6740
MAN 6150
Common cathode ·red·D. O.
Common Cathode-red ~1
.560
.560
1.25
1.25
C04010 .49 74C02 .55 MAN 72 Common ArKIde-red .'00 1.25 MAN 6760 Common Anode·red .560 1.25
C04011 .23 C04051 1.19 .75 MAN 74 Common Cithode-recj .300 1.5{) MAN 6780 Common Galhod!-red .560 1.25
C04053 1.19 "CO>
C04012 .25 74Cl0 .65 MAN 81 Common Anode-yllilow .300 1.00 Ol701 Common Anode'Rd ~ I .300 1.00
C04056 1.49 74C14 3.00 MAN 82 Common AIIOC!e-yeHow .300 1.00 Ol702 Common Gathodll-red .300 1.25
C04013 .39
CD4014 1.39 C04059 9.95 74C2{) .65 MAN 84 Common Cathode·yellow .300 1.00 Ol104 Common Galhode-red .300 1. 5{)
C04060 1.49 .65 MAN 3620 Common Anode-orange .300 1.00 Ol707 Common AnoC!e-Rd .300 1. 5{)
C04015 1.19 C04066 .79 7"30
C04016
C04017
.49
1.19
.99
C04068
C04069
.39
.45
74C42
74C73
74C74
2.15
1. 5{)
1.15
MAN 3630
MAN 3640
MAN 4610
Common Anode-orange ~ I
Common Cathode·orange
Common Anode-orar198
.300
.300
.300
1.35
1.75
1.00
DL74 1
Ol746
Ol 747
Common Anode·red
Common Anode-red ~ 1
Common Anode·red
.600
.630
.600
1.95
1.95
2.25
TYPE
I N746 ,.,
VOLTS
lN751A 5. 1
W
'OOmm
PRICE
1011.00
1011.00
C04018 C[)4010 .55 '()()n
C04019 .49 74CB9 ' .00 MAN 4640 Common CathOde-oranll8 .400 1.00 Ol749 Common Calhode-red ~ 1 .630 1.95 I N752 5.6 400m 10/1.00
CD4071 .23 MAN 4710 Common Anode·red ~I 1.00 Dl750 Common Cathode·red .600 2.49 6/1.00
Co.020 1.19
"'" .'00 l N753 6.2
3.00 4()()n
1.39 C04072 .49 74C93 2.00 MAN 4730 Common Anode-red .400 1.00 DL338 Common Cathode -red .110 .69 IN7S4 6.8 4()()n 15/1 .00
"'4021 C04076 1.39
C04022 1.19 74C95 2.00 MAN 4740 Common Cathode-red .400 1.00 FN070 Common Cathode (f N0359) .25{) .75 lN959 8.2 '00m 1211.00
.23
C04023
C04024
.23
.79 "'''''
C04082
C04098
.23
2.49
74C I07
74C151
1.25
2.90
MAN 4810
MAN 6610
Common Anode·yellow
Common Anode-orange ·O.O.
.400
.560
1.00
1.25
FND!;03
FNDS07
Common CaItlOde (FNOSOO)
Common Anode (FN0510)
.600
.500
1.29
1.29
IN9658 15
I N5232 5.6
'00m
500m
,.
1.
2011 .00
28
C04025 .23 74CI54 3.00 1N5234 6.2 500m 28
MC14409 14.95 1. 28
C04026 2.25 MCI4410 14.95 74C157 2.15 IN5235 6.8 500m
C04021 .69 74CI60 3.25 IN52367.5 500m 1. 28
MCI4419 4.95 I.
C04028 .89 ~ .75'
74C161 3.25 IN456 25 <Om 28
1.19 MCI4506 74CI63 IN458 15{) 7m 28
CD4029 ' .00
C04030 .4, MCI4507
C04508
.99
3.95 74CI64 3.25 l N465A 180 10m 1.60
C04035 .99 74CI13 2.60 l N4001 50 P\V 1 AMP 1.70
C045 10 1.39 1.5{)
'""'0
C04(}(1
1.19
US
C04511 1.29 74C193
74C195
2.75
2.75
I N..., 100 PN
IN4003 200 PIV
I AMP
1 AMP 1.80
C04515 2.95 1.5{) 3.00
CD4D42 .99 1.29 dOC95 IN4004 400 PIV 1 AMP
C04043 .e9' 6OC97 1.50
SCR AND FW BRIDGE RECTIFIERS
lM300H LM739N 1.19 C360 15A@400V SCR $1.95
.80
lM301H .35 lM340T-8 lM741C1i .35 C38" 35A@200'l SCR 1.95
LM30ICN · .35 lM340T-12 1.25 LM741CN .35 , 2N2328 1.6A@200v SCR .5{)
LM302H .75 lM340T-15 1.25 lM741-14N .39 MOA98(H 12A@ SO'l fW BRIDGE REC. 1.95
LM3D4H 1.00 lM340T-18 1.25 LM74i'H .79
lM30SH .60 lM340T-24 1.25 LM747N .79
lM307CN ,35 LM350N 1.00 LM741Ji .39
LM308H 1.00 lM351CN .65 LM74BN .39
lM308CN 1.00 78MG 1.15 lMIJ(J3N .90
lMJ09H 1.10 lM370N ...L1.5. LMI304N 1.19
LM309K 1.25 lM313 N 3.25 LMI30S N 1.40
LM310CN 1.15 lMJ77N '.00 lM1307N .85
lMJllH .00 lM380N 1.25 LM 1310N 2.95
lM3 11 N .00 lM380CN .99 lM1351N 1.65
l M3171( 6.60 LM381N 1.79 lMI414N 1.75
lM31SCN 1.60 lM382" 1.19 LM I4~CN .59
LM319tl 1.30 NE5011( 8.00 ~N .95
LM3201(·5 1.35 NE510A 6.00 LMI558V 1.75
LM320i(·5.2 1.35 NE529A 4.95 LM2111N 1.95
LM3lO!<·12 1.35 NE53IH 3.00 LM2901N 2.95
LM3201(-15 1.l5 NE536T 6.00 LM30SJ 1.50
LM320T·5 1.25 NE540L 6.00 LM3065N .69
LM320T·5.2 1.25 NE5SON 1.30 LM3909N(3401) .49
LM320T-8 1.25 NE555'1 .39 LM390SN .89 • 50 VOLT CERAMIC
LM320T-12 . 1.25 NE560B 5.00 LM391» 1.25 DISC CAPACITORS
LM320T·15 US NESSIB 5.00 l M555S N 1.85 1·9 10-49 SO·1(IO 1-9 10·49 SO·I00
LM32OT'18
lM320T·24
LM3231(-5
1.25
1.25
5.95
,,-
NE5628

NE565N
5.00
1.75
1.25
MC5558V
LM7525N
lM7534N
1.00
.90
.75
10pi
22p'
47pl
.05
.05
.05
.04
.04
.04
.03
.Ill
.OJ
. OOI~F
.0047,..f
.01,..F
.05
.05
.05
.04
.04
.04
.035
.035
.035
LM324N 1.60 NE566CN 1.75 80388 4.95 100 pi .05 .04 .03 022,..F .06 .05 .04
LM339N
LM340K·5 1.35 ." NE567H
NE567V
1.95
1.49
LM75450
75451CN
75452C N
.49
.39
.39
220 pi
470 pi
.OS
.05
04
.04
.03 .1)471'f
.035 .I,..F
.06
.12
.05
.09
.04
.075
lM3401(-6 1.35 LM703CN .45 100 VOLT MYLAR fiLM CAPACITORS
lM340K·8 1.35 lM709H .29 75453CN .39 .OOlml .12 .10 .07 .022mf .13 .11 .08
LM340K-12 U5 LM709N .29 75454CN .39 .0022 .12 .10 .07 .047ml .21 .17 .13
LM340K-15 1.:>5 LM710N .79 75491CN .79 .0047ml .12 .10 .07 .lm! .27 .23 .17
L.M340K-18 US lM711N .39 75492CN .89 .01ml .12 .10 .07 .22ml .33 .27 ,22
LM3401(·24 1.35 LM723H .55 75494CN .89 + 211% DIPPED TANTAlUMlISOlIDI CAPACfTORS
lM340T ·5 1.25 lM723N .S; RC4194 5.95 .1135'1 .28 .23 .17 1.5/35'1 .30 .26 .21
lM340T-6 1.25 LM733N 1.00 RC4195 3.25.' .15/35'1 .28 .23 .17 2.2/25'1 .31 .27 .22
.22/35'1 .28 .23 .17 3.3125V .31 .27 .22
.33135'1 .28 .23 .17 4.7125'1 .32 .28 .23
74LSOO
14LSOO! ~: 74LSOO TTL ;:~:;; 1.
1.50
.47/35'1
.68/35'1 :~: I :~~ :~~ l~i~~2~'1 :~; :;~
.25
.29
74LS03 .29 74LS75 .69 1415160 1.95
74LS76 1.0/35V .28 .23 .17 15fl5'1 .63.SO .<0
14LS04 .35 .49 74lS161 1.95
74L58J 1.15 74lS162 MIHIATUflE AWMIHUM nECTROLYTlC CAPACITORS
74LS05 .35 AlI.lllld Radlallild
74lS08 .29 74lS85 2.49 74lSI63 ::: 1-=::';';;":::':""'::':::::::::'::::":'::::::'::':':::"':'':::':::::''::::';;::'::::'':''''';'';:;::'::::''==-'''';'';;';'';';;''';';'' ';'',
.47/50V .15 .13 .10 47125'1 .15 . 13 ,10
74LSIO .29 74lS86 .49 74LSI64 1.95 $5.00 Minimum ant ... - U.S. hndl Ont, Spec Sheet' - 25" - Send 35t Slimp lor 1178 Catalog
74lS13 .69 74lS90 .89 74LSI75 1.95 &llIfoml. RnJdtntI- Add "" Til Sa", Diller Informilion AVl lil bie
1.01SOY .16
3.31SO'l .15
.14.11
.13 .10
.47{5(N
1.0/16'1
.16
.15
.14
.13
.11
.10

~ ~(lJ'2!i=I'I!'!!el!ls~
74LSI4 1.75 74LS92 .89 74LSI8 1
74LS93 .89 74l S190 4.7/25'1 .16 .14 .12 1.0/25'1 .16 .14 .11
74lS2O .29 10/25'1 .15 :13 .10 1.0/SOV .16 .14 .11
74LS26 .J9 74lS95 1.50 74LS191
74LS96 10150'1 . 16 . 14 . 12 4.7/1 6'1 .15 .13 .10
74LS27 .J9 1.89 74L5192 1978
74LS107 .59 74L5193 22/25'1 .17 .15 .. 12 4.7125V .15 .13 .10
74LS28 .J9 22/50V .24 . 21) .16 4.7/50'1 .16 .14 .11
74l5JO .29 14 L5109 .59 74LS194 CATALOG 47/25'1 .19 .17 .15 10/16V .14 .12 .09
74L532 .J9 74LS1 12 .59 7415195
74LSI23 1.25 74lS253 NOW 47/50'1 .25 .21 .19 10125'1 .15 .13 .10
: ;~ ~O~
74LS40 39
74lS42 1.25 '74LS132 1.25 74l SZ57
ELECTRONICS AVAILABLE
l00125V
l 00fSOV
.24
.35
.20
.30
.18
.28
1000v
WSW
.16
.24 .21
14 .12
.19

:~~ ~'I;
74lS47 1.25 74LS 136 .59 74LS260
74LSI38 1.25 74LS279 220125V .32 .28 .25 lOOI16V .19 .15 .14
74LS51 .29 1021 .A HOWARD AVE., SAN CARLOS . CA . 94070 220150V .45 .41 .38 lOO125V .24 .20
74LS55 74LSI39 1.25 74LS367 .18
.29 410/25'1 ' .33 .29 .27 100150'1 .35 .30 .28
74LS73 .49 74LS151 1.25 74LS368 :: PHONE ORDERS WELCOME - (415) 592-8097
74L574 .49 74lS153 1.25 74lS670 1000/16'1 .55 .SO .45 220/16'1 .23 .17
3.95 All AdvertlMd Pnca Good Thru DlClmb., 2200/16'1 .70 .62 .55 470t25V .31 . .28

Circ le 6 7 on inq uiry card . BYTE Decembe r 1977 215


integrated plasma alphanumeric display,
SYSTEMS full 46 key input and a bus structure
to allow interface to the company's
other peripheral products. Attachments
supported by the MCM unit include
MCM's Desk Top APL Computer floppy disk, printer, plotter, card reader
and a serial communications interface
that provides Rs232C connection to a
host of standard devices in the general
computing market.
The Rs232C interfac e, called the
sCI-1200, is also being announced for
$650. The unit provides programmable
protocol and line speed for serial con-
nection to a ny 4 to 8 bit serial device.
It is fully supported by software in read
only memory and provides an ability
to connect any ASCII, EBCDIC, corres-
pondence or other devices. Printers
such as Teletypes and DEC writers can
be connected via this sCI-1200, as can
an acoustic coupler for communications
with other systems, at speeds of up to
1200 bps.
MCM provides a number of software
packages for use on its system, including
math, statistics, finance, pl,otti ng , general
ledger, order entry, billing, production
planning, dynamic purchasing, manage-
me nt problem solving, and so on. A text
editor package called Text/700 is also
available. A co mputer games package
is available for $100, which includes
blackjack, hangman , ecology, and math
drills for younger users .
MCM Computers Inc has a nnounced total of 200 K bytes of randomly
The MCM 782 is being marketed
the reduction in price of its System 700, accessib le magnetic tape storage is
direct from MCM to end users at a
Model 782 APL computer to $4,950, an available. between the two cassette
price of $4,950, FOB Fort Lee NJ
offer explicitly aimed at the personal drives. This "external" memory is in
for shipments in the US, and FOB
computing user. addit ion to the built-in 8 K bytes of
Kingston Ontario for shipments in
The stand alone unit is smaller than programmable memory and 32 K bytes
Canada. All units are factory warranted
an office typewriter, weighs only 20 of read only memory. The MCM 782
for a period of 90 days. Deliveries are
pounds (9 kg), and features a f ull APL also incorporates a battery backup
presently available from stock. ' All
language interpreter interchangeable system that a utomatical ly saves the
prepaid orders or inquiries should be
with the latest implementations running user's workspace in case of power loss.
directed to MCM's headquarters in e'ither
on MCM's larger System 800 and com· Other technical features incorporated
the US or Canada. Contact MCM Com-
parable to APL.sV implementations into the machine include dynamic
puters Inc, 2125 Center Av, Fort Lee NJ
running on large scale systems such as memory allo cation of one to eight bytes
07024, (201) 944-2737, or, in Canada,
the IBM 370. The unit also contains for integer data to co nserv e memory,
MCM Computers Ltd, 6700 Finch Av
file handling and virtual memory (AVS) total system over he ad of less than 500
W, Suite 600, Rexdale, Ontario
operating systems, and provid es up ' to bytes, and extended prompting facility
for interactive English langu age co nver- CANADA M9W 5P5, (416) 675-1353.-
100 K bytes of virtual memory swapping
on one of its two built-in cassettes. A sational programs. The unit has an Ci rcle 545 on inquiry card.

A Chess "Mate" from Chafitz electronics, on top of which is a chess interest. Hackers who are also chess
board, a calcu lator-like keyboard and an fre aks will be inspired to try their skills
LE D display. The user enters moves at designing and program ming chess
using a simple coord in ate code system, playing algorithms of their own.
and the computer displays its moves For more information, contact
on the LED display. Any regulation Chafitz, 1055 First st, Rockville MD
move can be made, including castling 20850, (301) 340-0200 .-
(king or queen side) and capturing en
passant.
If the user improves to the point
where he or she can consistently beat
the Chess Cha ll enger, the unit ' can be
returned to have a more soph ist icated
Chafitz has introduced a very inter- set of a lgorithms entered by the
esting device: a $200 Chess Challenger manufacturer.
designed to play 'chess against human The device is intended primarily
competition at a fairly soph isti cated for the chess novice, of course, but
level. unless you're Bobby Fisher (who claims
The unit is microprocessor based. to have beaten the unit every time in
The_ physical package co nsi s ts of a the #1 issue of Computer Chess News-
rectangular enclosure containing the letter) you shou ld find it to be of

216 BYTE Decemher 1977


TOUCH TONE ENCODER KIT
..:~c ~l:1,_ ' ~.\i

Simplicity itself to complete. No other parts required, no crystal required. The back ..J . ~. f'>
of the touch pad has etched & drilled PC board and you solder the encoder chip to it. .,t'/ ('~ !i<f
Add your own small speaker & 9 volt battery and you are done. A touch of the pad
produces the proper tone signal from the speaker. We furnish schematic and instruc- :;; P JJ
tions.
SP-149-B $12.95

VIA TRON CASSETTE DECKS


The computer cassette deck alone $35. Set of 2 boards read/write amp & serve
control boards of this deck. $40.00

m NIGHT VIEWER $199.00


Custom made, complete with light source & viewer in one piece. Comes
with carrying strap. Ready to operate with 6 volt lantern battery. Guar-
anteed by the manufacturer. See in total darkness. Great for scientists,
viewing nocturnal animals & birds, criminal investigation . . . observe
without being observed, and a ball for just plain snoopingll!! Sorry
to say but no shipments to Calif. (lens may vary slightly from pic)
SPL-21 $199.00

WIRE WRAP WIRE


TEFZEL blue #30 Reg. price
$13.28/100 ft. Our price 100 ft $2 .00;
FACTORY REJECT CALCULATORS 500 ft $7 .50.

All more or less as shown. Some have uK" some don't. Not MULTI COLORED SPECTRA WIRE
a cheapy. Probably sold for around $25.00. We check a
dozen or so and we found they seem to work for the most rBn c:: ~ Footage 10' 50' 100'
part. Runs on snap-on 9V battery. Some 4, some 5 func- aaaeD 8 Condo #24 $2.50 9.00 15.00
tion. We include a reprint of How to fix calculators from
one of the magazines. Sold AS IS. aaaa 12 22 3.00 1.1-00 18.00
Daaa 14 22 3.50 13.00 21.00
Ship wgt. 1 Ib SP-253A $3.00 a. Cl1 24
29
#24 5.00 20.00 30.00
22 7.50 28.00 45.00
Great savings as these are about 1/4
book prices. All fresh & hew.

TOUCHTONE ENCODER CHIP CHARACTER GENERATOR CI-lIP


Compatible wi.th Bell system, no crystal required. Ide al Memory is 512x5 produces 64 five by seven ASCII
for repeaters & w/specs. $6.00 characters. New material w/data $6.00

Please add sh ipping cost on above. Minimum order $10 '


FREE CATALOG SP·tO NOW READY
P.O. Box 62, E. Lynn, Massachusetts 01904

Circle 71 on in q uir y card. BYTE Dec ember 1977 217


COSMAC Based Microcomputer Kit

SYSTEMS

A Real Word Processor Features of the machine include text


ed iting us ing a large CRT display; inser-
tion or d e let ion of te x t, a nd the ability
to move blocks of text a nyw here ;
variable spee d scrolling of entire text on
the CRT, Forward or backwa rd; al:iility
to search For all occurrences of a specific
word or group of words, and replace-
ment with alternative word or wo rds ;
sto rage and retri eva l of Fi nished text on This kit, based on the RCA COSMAC
low cost Philips audio cassettes at the 1802 processor, is designed to be as-
rate of 240 characters per seco nd ; a sembled by the user by wire wrapping
variety of printing options including on two pieces of Micro Vectorboard.
var iable line length; 1 to 5 spaces between The kit includes a 5 V, 1 A power
lines; variable character spacing; preset- supply, eight toggle switches and LEDs,
table page hea din gs ; page numbering; processor integrated circuit and clock,
and right a nd leFt margin justific ation and 256 bytes of memory. Accessories
using the Diablo' s unique character such as a cabinet a nd memory are
spacing routines: no extra blanks are planned. The kit is priced at $90. Wire
Computer Power and Light Inc, inserted in your text, nor is there any wrap sockets, wire and tool are an
12321 Ventura Blvd, Studio City CA need for hyphenation. additional $10, available from Child
91604, (213) 760-0405, has announced This interest ing application system is Odyssey Enterprises Inc, POB 137,
this "commercial quality" microcom- available from Computer Power and Alamogordo NM 88310, (505) 434-
puter based word processing system for Light, 12 32 1 Ventura Blvd, Studio 1065.-
under $6000, complete. Based on the Circle 541 on inquiry card.
City CA 91604 or 7878 Clairemont
firm's COMPAL-80 computer and Xerox Mesa Blvd, San Die go CA 92111. 4 yea r
Corporation's Diablo 1620 daisy wheel le ase 'pl a ns ' and bank f inancing are l -80 Based System' Features
printer, it is said to contain features available.- Support Boards
previously found on systems costing
$20;000 or more. Circle 539 on inquiry card.

rcs Microcomputer Trainer Pre-assembled Motorola ME K6800D2

The new l-80 based Mike 8 system


features compatibility with most of the
boards already available ' for th e 8080
based Mike 3. The full blown Model
882 version of the Mike 8 includes a
CPU board, 4 K bytes of memory, a
1 K byte monitor program in ROM, and
a "console board" with a keyboard and
LED display. Th e package also includes
an EROM programmer , a blank 2708
A complete self-study microcom- E ROM, and an ultraviolet lamp for
puter training course including,n 8080 A fully asse mbl ed version of the E ROM erasure. Th e Model 882 is
based single board computer has been MDtorola MEK6800D 2 kit, requiring mounted on a base with a sw itching
introduced by Integrated Computer only a 5 V, 1 A power supply, is avail- regulated power supply. An extensive
Systems Inc, 4445 Overland Av, Culver able from Audio Engineering, 121 manual and a book entitled Microcom-
City CA 90230, (21 3) 559-9265. The Wi sconsi n NE, Albuquerque NM 87108, puter D esign complete the pa ckage,
computer includ es 512 bytes of CMOS (505) 255·6451. Th e SY1-068 features which sells for $895. Smaller l-80 based
memory, a 1 K byte monitor in efectri- a stand for the processor board and an systems are also offered, starting at
cally erasable PROM, a keyboard and attractive case for the key bo a rd and $495. The book Microcomputer fJesign
LED display, and a prototyping area for LED display. The processor board in- is available separately for $14.95. The
audio cassette, RS-232, current loop or clud es 256 bytes of memory, a 1 K byte Mike 8 is available thro'ugh Semicon-
other interface circuits. The board is ROM monitor , cassette interface, and ductor Specialists, the industrial distribu-
accompanied by a 650 page Microcom- parallel 10. The S Y 1-068 is priced at tor based ' in Elmhurst I L, as well as the
puter Training Workbook which teaches $269. Accessories include the keyboard "MPU Shops" which Semi Specs is
the 8080 instruction set, basic program- and display case at $12.50, an extra 128 opening at many of its bra nch offices,
ming and hardware design techniques. bytes of memory at $7 .50, and a power or from the manufacturer, Martin
Th e entire package, minus a power supply kit with a 60 Hz clock at Research, 3336 Commerical Av, North-
supply, is offered for $545.- $29.95 .- brook IL 60062, (312) 498-5060.-

Circle 540 ani inquiry card. Circle 543 on inquir y careL Circle 542 on inquiry card.

218 , BYTE December 1977


W~at's NewP PERIPHERALS First of a Series of Music Boards

Video Board for 6800 Systems New Enclosures and Card Extender

A printed circuit board based on


Alfred Anderson's art icl e "Build This
Video Display Terminal," November
1976 BYTE, page 106, is ava ilab le from
F & D Associates, Box 183, New The 10-5-9 and 10-5-10 quad chro-
Plymouth OH 45654, (614) 385-2023 . matic pitch generator boards are de-
The circuit generates a 16 by 32 char- signed to be a low cost start in computer
acter display and can switch between controlled music generation. The single
two 512 byte pages of memory. The board pitch generator produces one to
board is designed to plug into the four tones simultaneously; two boards
5wTPC (55-50) bus, but could be can be used to produce eight simultane-
interfaced to other 6800 systems. Space ous tones in stereo. Each of the fou r
is provided on the board for mounting Enclosures. for Altair (5-100) bus tones are separately controlled and can
an A TV Research Pixie-Verter (R F compatible systems a re now avai labl e produce any of 96 tones which form
modulator). The board and construc- from Vector El ect ronic Co Inc, 12460 an 8 octave range. This covers the
tion hints are offered for $29 plus Gladstone Av, Sylmar CA 91342, (213) entire standard piano range, plus eight
$2 .50 shipping.- 365-9661. The enc losure dimension's, hi gher pitches. Special con nections allow
Circle 546 on inquiry card .
17.9 by 9 .0 by 17 .1 in ches (45 .5 by 22.9 later expansion with accessory boards
by 43.4 cm), aliow room for up to ' 21 to con trol various sound paramete rs.
cards, and plastic card gu id es are pro- Using the optional on board crystal
vided for 12 cards. Adjustable slots oscillator or a 2 MHz source (ex ternal
are provided for a mother board. 5lide- or pin 49 on the 5-100 bus) al l pitches
16 K of E ROM on One Board in top, bottom and sid e panels free of are within 0.1 % of tne A-440 Hz
screws and fasteners make for an attrac- standard. The 10-5,9 is 5-100 com-
tive finish. Optional accessories include patible, and the 10-5-10 is compatib le
a prepunched rear panel with ten holes with parallel output ports. Kit prices
for DB25 connectors . The VP1 for both versions range from $ 111
($128.30) uses the Alta ir config uration to $159 {depending on the number of
of side to side card orientation with simultaneous tones}, and the assembled
power suppl y in the rear, while the price is $185. The oscillator is an
VP2 ($i 34.30) has the IM5AI configura- additional $16. Available for product
tion of front to back card orientation evaluation: data sheet (free)' demonstra-
with power supply on the right side. tion record ($1), and owner 's manual
Also avai labl e from Vector is the 3690- ($3 plus $1 postage). Contact ALF
12 7.5 in'ch (19 .0 cm) card extender, Products Inc, 128 5 Taft, De nver CO
assemb led with edge connector for $25.- 80228, (303) 234-0871.-
Circle 548 on inquiry card. Ci rcle 547 on inquiry card.

This memory board is designed


to hold up to 16 of the popular 2708 4 K 1702A E ROM Board A 4 K byte 1702A-based EROM
1 K byte E ROMs, which have lately memory board for the 5wTPC 6800 a nd
dropped to a very affordable price . similar systems is available from Aptec
Unused 4 K sections of the board can Inc , POB 15296, Tulsa OK 74115. An
be disabled to avoid consuming excess accessory c lo ck stretcher board, base d
memory address space. A wait state on Jerry Henshaw's article "Stretc h
feature is provided for fast Z-80 based That 6800 Clock," De ce mber 1976
systems. The complete kit for an BYTE, page 42, is offered to accommo-
Altair (5-100) bus computer is ava il ab le date the relatively slow 1702As. A
for $85, minus the 2708 E ROMs, from complete kit minus the 1702As is
IBEX, 1010 Morse Av, Suite 5, Sunny- priced at $87.50, wh il e the print ed
vale CA 94086, (408) 739 -3770.- circuit board and connector alone are
$27.50. The c lock stretcher kit is
Circle 550 on in quiry card . Circle 549 on inquiry carel. $6.25, or $2.50 for t he board.-

220 BYTE December 1977


S.D. SALES COMPANY
8K LOW POWER RAM - $159.95
NOW-THE ULTIMATE RAM BOARD Fully assembled and tested . Not a kit .
Imsai -Altair - S· 100 Bu ss compatibl e,
uses low power static 21 L02-500ns fully
buffered on board regulated. qu ality
32K FOR $475.00
MEMORY CAPACITY
MEMORY AO OR ESSING
MEMORY WRITE Buy an S100 compatible 8K Ram Board and
INTERFACE CAPABILITY
Control , d ata and address inputs
utilizcs low p owe r Sc hottky
plated through PC board, including sold er
mask . 8 pos. dip switches for address sel ect.

FROTECTION
OK, 16K , 24K , 32K using Mos·
upgrade the same ' board to a max imum of .
32 K in steps of 8K at your opt ion by merely
d evices.
4K LOW POWER RAM KIT
tek MK4115 with 8 K bound- purchasing more ram chips from S, D. Sal es ! At POWER REOUIREMENTS Fully Buffered - on board regulated - re-
aries and protection . Utilizes a guaranteed pri ce - Loo k at the fe atures we +8VDC 400MA D C duced power consumtpion utiliz ing low
DIP switches. PC boa rd com es
have built into the board . + 18VOC 400 MA DC power 21 L02 - 1 500ns RAMS - Socket s
with sockets for 32K operation . - levoe 30MA DC provided for all IC's. Quality plated through
Ordon now being accepted on boa rd regul ation is provided . PC board. • Add $ 10. for 250ns
allow 6 to 8 weeks for d elivery. PRICES START AT $151 , FOR 8K RAM K IT On b oa rd linvi sibl e lrefresh is
Add $108.00 for each additional 8K Ram RAM operation
pro vid ed wi th n o w ait s tates o r
Availabl e the 1st qu arter of cyc le stealing required .
1978 , 16K. 32K . 48K. 64K Board fully assembed and tested for $50 , ex tra, M EMORY ACCESS TIME The Whole Works-$79.95
using Mostek 4116 with 16K IS 3 75n 5.
boundaries and protection .
8K FOR $151.00 Memo ry Cycle Time is 5 00ns.
MUSICAL HORN
On e t une suppli ed wit h each kit . Additi ona l tu nes - $6.95
each. Special tuncs available. St andard tu nes now avai lab le:
Z-80 CPU BOARD KIT - Complete Kit $139. -Di>e ie - Eyes o f T e>ess - On Wisconsin - Yankee Dood le
Da ndy - Not re Dame - Pink Pan ther - A gg ie War Song -
CHECK THE ADVANCED FEATURES OF OUR Z- BO CPU BOARD : Anc hors Away - Never on Sunday - Ye llow Rose of
Ex panded set of 158 in structions . 80BOA so f twa re capability , operation T cxas - Deep i n th e Heart o f T e>eas - Boomer Sooner -
Bridge ove r R iver Kwai
from a singl e 5VDC powe r suppl y ; always stops on an M1 st ate, true sy nc CA R & BOAT K IT HO ME K IT
generated on card (a real plu s feature!) , dynamic refre sh and NMI ava il abl e, Spec ial Design
either 2MHZ or 4MHZ operation . qu ali ty double sided plated through PC
board ; pa rts plus sockets priced fo r all IC 's. 'Ad d $10. ex tra for Z-80A chip Case $3 .50$34.95 $26.90
which allows 4MH Z operation . Z-80 chip w ith Manu al - $39.95
Jumbo LED Car Clock Kit
F EATURES ,
DIGITAL LED READOUT 6 DIGIT ALARM CLOCK KIT $16.95
A. Bowm ar Ju mbo.5 inch LEO array.
B. MOSTEK - 50250 - Super cl ock cbip.
THERMOMETER - $29.95 Fea tures: Litroni x dual 1/2 " d isp lays. Most ek
50250 supe r clock ch ip, single I.C. segment C. On boa rd precision crystal 1ime base.
D . 12 o r 24 hour Real Ti me format.
Features: Litroni x dual 1/ 2" driver, SCR digit drivers. Grea tl y simplifi ed E. Perf ec t f or cars, b oa t s, vans, et c.
displays. Uses Silicoai x LD131 constructi on. More reli abl e and easier to build. F. PC boa rd and all pa rts n ess case ) in c.
single chip CMOS A/ D con· K it in cludes all necessary pa rts (ex cept case ), A larm OPt ion - S1.50
verter. Kit includes all nec· X fmr opti onal. Elimin at e the hass le - avo id AC XF MR - 5 1.50
essary parts (except case); the 5314 ! Do not confu se the Non - A larm
AC line cord and power
suppl y included . 0 -149° F
kits sold by ou r competition! $12 95/klt Bowmar 4 Digit
AC X FM R - $ 1.50 Case $3, 50 •
LED Readout Array
5 Digit Countdown Utillty- 6 Digit General Purpose or 4 JUMBO .50" DIGITS ON ONE STICK!
WITH COLONS & AM/PM INDICATOR
Darkroom Timer Kit - $44.95
Featu r es: L arge LED 111 " displays, crysta l
ComDuter Timer
Featu res : y, "
Large
Kit - $29.95
L EO displays, Mostek 50397 counter
$3.95
~~ contro ll ed Mostek 50397 cou n te r dlsp l oly display ldriver, COunts up 10 59 minutes, 59.99 seconds with
Full W' Litronix Jumbo Dual
~J! AH ~
d r ive r , set time r at 0. 1 second precision
fr om 0.1 seco n d t o 59 m inute 59 .9 sec· cry s tal control led 1 / 100 second acc uracy. operates on 11 SV AC or
and , SA- l l SV r elay In c lud ed t o co ntro l 12V DC supply. Use il to time telep h one ca ll s, a th lc tic ave nts,
pho t ograp hi c en l arger, sun lamp, app li-
an c es, T V, o r o ther eQui p ment , opera t es
p ractice time, schoo l and laboratory dem onst rations,
expeliements . chess games, e tc. T ime computer functio n s in real
Digit LED Displays
on 1 15V AC, d isp lays can be t ur ned off
fo r tota l dark n ess applications, simple time such as run limes on programs , sub ro u ti nes and o ther DL 722 - C.C . Dl 728 - C.C.
push bullon operation, use In kllchen, computer controlled events. Requ ires two o ut pu t channels fo r
school , office o r labo r at orV . A ll nec- Dl 721 - C.A. Dl 727 -C.A.
(~ ":
start/stop and c lear con trols. All necessary parts included. Speciul
;s~.a;~ parts I nc l uded. Spec i al dos!gn case 99c $1 .29
design caseS3. 75

~ RAM'S·CPU'S·PROM'S Low Cost Cassette Interface Ki@ Microprocessor Chips


21 L02 . 500NS ... . . .. .. . ... B/ 11 .50 $14.95 ~~ / ~ 8212· I/ O port . . ... ... .. . .. . . . 3.50
21 L02 . 250NS .. .. .. . .•.. . . 8/ 15.95 Features: K.C. st andrad 2400/ 1200 Hz. 300 ~, I @ 8214 - P.I.C .. ... ..... . _ . .... 12.95
8216 - Non I nvert Bus . .. ... . . .. 4.95
2114 - 4K ... . ....... . , . .. .. . 14.95 Baud, TTL. I/ O cpmpatibl e, phase lock loop, ~ - o§
1101A - 256 .... .. .. . _.... 8/$4.00 22 pin connector. Feeds seri al data via micro· I~ ~ & 8224 - Clock Gen .. . . .. . .. : ... . 4.95
8226 - I nvert Bus . . . ... . _. . . . . . 3.95
1103 - 1K . ..... , . . . . ... . . ... .. 99 processors I/ O ports and from cassette tape - <:: ~ PIO for Z-80 ..... . ... . _ .. . . . 14.95
MK4115 - 8K ..... . ... .... ... 19.45 recorder. $14 .95
74S 200 - 256 ......... .... .... 3.95 CTC for Z-80 . . .. .. . . ....... . 14.95

*' 8'228 Sys. Controller .. ' . . ... . .... 8.20

* *' I
-1'ASDSOISC CAP 8251 Prog. comm . interface . . .. . 10.95

@
RTMENT 1000MFD 8255 Prog. perp. interface . ..... . 13.50
FILTER CAPS
Z-80 includes manual. . . .
Z-80A includes manual . .
. ... . .
.. .. . .
29.95
34.95
PC leads. At least
10 different valu es. 163J ~~I~ry Rated 35 WVDC.
Upright style with
8820 Dual Line Recr ...... . . . : . . 1.75
8830 Dual Line Dr . . .......... . 1.75
8080A CPU 8 BIT .... ... . . .. . . 11.95 Includes .001., .01 , Electrolytic 2513 Char. GEm . . . . .. . ..... •. .. 7.50
8008 CPU 8 BIT . .. . . ... . .... . . 6.95 .05 + other standard 15/$1.00 PC leads. Many pop-
u lar values. 4/$1. 8838 Quad Bus. Recvr .. . . . . .•. .. 2.00
values 60/ $1 .00 74LS138N - 1/ 8 decoder . . .. . ..... 99

1702A - 1K - 1.5us ..... 3.95 or 10/35 .


JOY STICKS!
4-100K
RESISTOR
ASSORTMENT
* FLAT PACK
5400 SERIES * 8T97-Hex Tri-State Buffer ...•.. . 1.25
1488/ 1489 RS232 .... . . ........ 1.50
TR 1602B Uart ....... . ........ 3.95
2708 - 8K Intel - 450ns ..... .. .. 14.95 POTS PC leads 20 asst. deviC~
5204 - 4K .. . .. . .... ... . .. .. .. 7.95
$3.95 each ;r~ A good mix of for $1 .00 •
82S129-1K .. ... ...... .. . ... 2.50
2708S . 8K signetics 650ns .. . . .. . 9.95 (~'J .
..~ : ;. . values. SPECIAL!
200/ $2.00 ,.-., Counter Chips
ITTOUAL * SPRAGUE OUAL
P.C. LEAD
DIODES
* POWER RESISTOR
150HM
ITT PART NO.
SAJ 110
MK503976 Digit elapsed timer. ... 8.95
MK50250 Alarm clock ...... . . . . 4.99
SENSE
DIFFERENTIAL 1N4148/ 1N914 Ideal for electronic MK50380 Alarm chip .. . . . ... . .. 2.95
AMPLIFIER 25W by M K50396 6 digit up/ down counter 12.95
75234 and 75235 AMP . TD1D1 100/$2.00 CLAROSTAT music circuits
49c each 49c each 7 stage freq .dividers. M K5002 4 digit counter . . . . . . . . . 8.95
75c Each MK5021 - Cal. chip sq . root .. . . . . 2.50
49c each

saL, S. D. SALES CO.


Call in your Visa or Mastercharge
in on our Toll Free Watts Line :
A n E m pl,. 'n d.Co

Texas Residents call Collect :


60 DA YMONEY
BACK GUARANTEE!
NO COD 's. TE X A S RE SIDENTS A DD 5% SA LE S
TA X. AOO 5% OF OROER FOR POSTA GE &
P. O. BOX 28810 - B 214/271-0022
H A NDLING . ORDER S UND ER $10 . ADD 75c
1-800-527 -3460 HANDLING . FOREIGN ORO ER S - US FUNOS
DALLAS, TEXAS 75228 Dealer Inquiries Invited! ONLYI

Choose $1. Free Merchandise From*Asterisk Items on each $15. Order!


Circle 100 on inquiry card . BYTE Decem ber 1977 221
MICRODATA REALITY : Are there any o th er
computer hobby ists using this system? If so, I 'd
li ke t o say h ello , swap notes and programs, etc.
Would als o like to know where to buy a 4 o r 8
way video t erminal interface card and other peri-
ph erals for Microdata Rea lit y (Mode l 1600 proc-
esso r). Jack Hardman , 140 Fores t Av , Glen R idge
NJ 07028 _12011 429-8880 _

.... FOR SA LE :, Di gideck tm cassette tape dr ive (uses


FOR SALE : Used 83 pin cards made by Computer FOR SA LE : Maze generation program wri tt en in st andard audio type casset t e) complete with motor
En try Systems, with man y good 7000 , 7100 and FOR TRAN . This program genera t es unlimited pa ge control, read wri t e, and parall el to ser ial co nver·
7400 series chips with slight cosmetic imperfec · mazes with only on e solution each. The computer sian electronics. Also, 100 plus page se rvice manual
tions, All boards $6,50 to $13 , depend ing on gives the so l ution, too . A source li st ing is ava il· and parts ca t alog inc luded. All diagrams are ve ry
comp lexity, or tr ade for earlv BYTEs. Ivan Reede r, able with implemen tat ion documentation f or $25. readable. These six drives appear perfect but may
414 Yeonas Dr , Vienna VA 22180. It is 735 lines long, mostly comments on usage . If have a problem or t wo. Pri ce $14 5 each pl us
you want t o see a sample run, please send $ 1 to postage. Jim B eist le , 3728 Wilkie Way, F ort
FOR SALE : IMSAI 8080 with 22 slot and f an, cove r pri nting and computer time c harges to below Wor th TX 76133 _
VB- ' video board , Morrow cassette with ex tras , address. Ev ery maze is di fferent! Philip Hun t,
two 10 Cybercom board, two 4 K programmable 83 Cedar Hills, Cambridge .OH 43725_ FOR SALE : Source listing of program to calc u "
memory boards _ All less th an one year old and late 197 7 Federal Income Ta x. Program will run
total assembl ed, va lue $1,632 . La ck of time for F OR SA LE : T ape reader device . Originally used in about 3 K. Th e program has 1040 line numbers
hobby . Will se ll for be st offer over $ 1,200 . Can 10 read three frames o f paper tape at a time and to identify th e calculated results when displayed
ship UPS . James R Pool e K4VBH, POB 26B , convert the data to 15 level parallel output . on a CRT terminal. It is also f ormatted to fill
Amer ic us GA 31709 . H oused in a 5 foot rack cabinet with a 3 / 4 door out t he f orm 1040 when the resul ts are outputted
and caste rs are: 1 each D igitronics 250 0 300 cps to a printer. Send $14.50 for copy of source list·
FOR SA LE : BYTE Vol 1 = 1 to date, excel lenl 8 leve l reader and 4566ALCR spoo ler; 20 sl ot ing and user operating instructions. C R Luf kin,
condition, best offer. Will ship securely packed 36 p in card cage; 12 Navcor logic boards, 315 Dominion Dr , Newport News VA 23602_
and i nsured . Henry Stevens, POB 417 , Al ton N H 1 exten der; 1 Navcor !. 12 V@2A, -1 00V@ 'l.. A
03809 . 16031875-5550 _ power supp ly, metered; 1 cha ss is wit h relays, etc, ·FOR SA L E : M ITS Altair 8800a computer ' wi th
original cost $9, 500 ; now $600 (yo u pick up or 1 K of memory. Works fine. $57 5 , or best offer .
FOR SALE: Assembled, one RM 8080 CPU board freight; 200 Ibs) Mike Gerow, 244 W 1st Av, K urt Barbee, 2580 SW 3rd St, Corva ll is OR 97330_
with all c hips S145; one SwTPC T V Tl debugged Roselle NJ 07203_ 1201124 1·3200 ; 12011334-7246
an d running S100 ; one TVT1 not running 550; nights. FOR SALE : SwTPC 6800 computer, 8 K pro -
two Digi tal Group 8 K memory without memory grammable memory, AC ·300 cassette interface,
chips 565 eac h , four 1 70 2s EPRO M S12 each; NEED : Inform ation on General Automation SPC CT·1024 TV terminal with cover, connecting
one 5204 EPRO M 750NS S8 ; two 825129 PROMs 12/ 12 with 16 K core . Any software would be cab les and software. All equipment assembled and
$2 .50 eac h. Send SAS E for informat ion . D avid app rec iated. Manual C Martinez, 7706 W Gregory tested, $850_ Dave Torut a, 4941 Mable , Corpus
Parrish, R t 1, Box 15 1, Lin co l nton GA 308 1 7. St, Chicago IL 60656.13121631-6623_ Christi TX 78411. 15131 854-2747.

FOR SA LE : Fr iden Fl exowriter, co m ple t e electric FOR SA LE : IBM 604 Electronic Calculator with FOR SALE : Three - IB M 2311 disk drives . Stil l
typ ewri t er with attached 8 level t ape punch and IBM 521 Reader Pun ch _ 604 has over 1,000 "eligible for IBM maintenance contract . $450 each
8 level tape reader. Provision for input from vacuum tube circuits with power supplies pro- plus shipping. Wanted : In fo rmation for interfacing
external source, and output to external punch or ducing + 150 VDC at 8 A, 100 V DC at 2 _5 A, same with 8080 system_ 80b Stek, 19 Mayfield Rd,
other data equipment , excell ent co ndit ion, only 250 VDC at .05 A, +7 5 VDC at 1.0 A, and 175 Regina, Saskatchewan CANADA. 13061 523-7184_
5195 , Nicel y styled operating desk for above, VDC at _25 A. 52 1 reads and punches 80 column
inc ludes motorized tape w inder and also tape fe ed car d s. It h as two sets of read brushes and punc h FOR SALE: Okidata CP -ll0 prin ter; loaded wi th
reel, plus cables for remote input and output, unit. Lot s of potential for 604 compone nts . 521 such options as: RS -232 interface 1110 t o 9600
539. Jim Cooper. POB 73, Paramus NJ 07652 _ wou ld make a good card 10 wit h proper interface. baud) , upper and lower case character set, tractor
Wi ll t ake $500 f or bo th . You pay transportation. feed opt ion, electronic top-of ·form option, and
FOR SA LE: lilog l-80 MCB board. Conta i ns l-80 George Kennedy, 2101 Church St, Selma A L comp lete on board self-test electronics included.
microprocessor,4 K bytes programmabl e memory, 3670 1_ 12051872-8263 . Cost over $ 1900 new , and has onl y been used
sockets for 4 K byles RO M, RS -232IT TY int er - twice; still in original factory carton. Must sacri fi ce
face, two 8 bit 10 ports, 4 chan nel counterltimer WAN TED : Poly 88 mainframes 121 kit or as- for $1600 and you pay shipping . Contact Don
and more. Assembled, tested and working. Includ es se mbled , will buy or trade. Contact Wall ace Tufen , Cheeseman , POB 5534 , San Antonio T X 78201
power supply, 1/2 k byte monitor PR OM, and all 1504 Blackt h orn Dr, Glenview I L 60025 . 13 12 1 15121 699-6880 _
manuals, 5475 . Brian Rosen, 11 27 Kentwood, 724-7828.
San Jose CA 95 129. FOR SA LE : Complete first year of BYTE , iss ues
FOR SA LE : HP -6 5 fully programmable pocket 1 thru 16. All packed and ready to ship . I pay
WAN TED : A true proportional spacing t yping ca lcu lator complete wi th all 14 accessory appli - post age . Fi rst 53q gets th em. R Pet ers, L afayette
machine leg : I BM composer) to use as a m ic ro · cation Pacs IFinance, Mathl21 , Sla1121, EE121, Ln , Norfol k MA 02056 .
computer input output device . Write J Williams, Chern En gr, Stress Analysis, Surveying Machine
24 15 Ansdel Ct, Reston VA 22091. DeSign, Medical, Aviation , and Navigation) and FOR SA LE : A complete set of circuit boards for
other accessories . T otal pri ce $350 . Joe Kwasnieski , the TVT-1 , as presented in the September 19 73
FOR SALE : One each IMS A I cassette interface. Apt 44 , 13700 37tl1 Av 5, Seattle WA 98 16 8. issue of Radio-Electronics ; 520 plus postage .
Make offer. Write J Williams, 2415 Ansdel Ct, 12061 24j-6967 evenings . Also avai lable : a 45 key keyboard (less encoded,
Reston VA 22091 515 plu s postage. Write Warren Spivack, 6625 Av
FOR SA LE : Digital Group 8 K m emory boards. M , BrookJy n NY 11 234. 12 121 763 -7237.
FOR SA LE : IBM 1401 CPU, 1402 card reader/ Uses 450 ns low power memory chips, S225 .
punch, two 7330 tape drives, and all mainten ance Con tact Roger Schoenmeyer, 7425 Tr eon PI , WANTED : Programs for HP -25 not including
man uals. Qualifies for IB M maintena nce agree· DaYlDn OH 45424 _ 15131233-2355 _ those l isted in origi nal manual. Will exchange new
m ent. Best offer over $1000. Yo u pay sh ippi ng . ones for the ones I have obtained. S Hamilton ,
Will consider trade for a Z·80 based micro- FOR SA LE : HP-9810 desklop programmable Rt 2, Bo x 1022, Bainbridge GA 3 171 7.
computer. William P Ruf, 9514 W 104th T er, calculator with HP -9862 ploner. Calculator is com·
Overland Park KS 66212_1913) 888-9213, plet e with fully expanded optional memories for SWAP: Two SCOtt aircraft oxygen units ; each u nit
both data and program, 16 co l umn al ph anume ric supplies two person s with 02 ' With t wo new
thermal printer, Mathematics ROM, magnetic card masks , hose s and connectors. A lso, a skydiver
storage, and four 10 parts. Pl otter is a high perfor- 02 un it with mask, hose and connector. Want:
Readers who have equipment, software or other mance X-V graphics plotter capable of plots up ADM-3 or comparable . CRT and keyboard,
items to buy, sell or swap sh ould send in a clearly to 11 by 17 inches. Includes optiona l plotter RS232C and compatible with standard micro·
typed notice to that effect. To be considered for control that permits automat ic sca li ng, axis computer , or, wa nt : Transistorized osci llosc ope,
publication, an advertisement should be clearly drawing, and alphanumeric plotting and labeling. minimum 10 MH z bandwidth . F L awrence, 533
noncommercial, typed double spaced on plain Private ly owned, in perfect condition; asking Riverview Rd , Swarthmore PA 1908 1
white paper, and include complete name and S3500. Joe Kwasnieskl, Apt 44, 13700 37th Av
address information. These notices are free of 5, Seattle WA 98 168. 12061 243-6967 evenings _ CONGBATU LATIONS! Thi s could be your
charge and will be prin ted one time only on a space lucky day, if you are look ing for a lin e printer.
available basis. Insertions should be limited to 100 SWA P: Scott Model 433 Digital F M Stereo Tun er, I have one complete 100 cps PRINTEC 100
words or less. Notices can be accepted from frequency synthesized using PLL , digital readout, se r ial, impact, line printer (ASC II parallel) and one
individuals or bona fide computer users clubs only. card programmed ~easi ly modified for computer nearly complete backup unit , with extras for all
We can engage in no correspondence on these and control), several scanning modes, etc, originally boards. Un it includes vertical f ormatting unit,
yo ur confirmation of placem ent is appearance in cost 5650. I want to trade for a m icroco mputer or VFU punch, ext ra VFU tape and maintenance
an issue of BYTE. .... related equipment. Prefer 6502 or 6800 based manual s. Adjustable pin feed accommodates pap'e r
Please note that i t may take three or four system, but wi ll consider anything. Make me an widths from 3 inches to 14 7 /8 inches. One unit
months for an ad to appear in the magazine,. offer I can't refuse . Schematics available for the is in working order; the o th er good for parts.
tuner. Call days 16 17 1 373-9 171 _ Ray Jorgenson, Send your best qffer to David E Fulton, POB 116 ,
RFD 3, Box 186, Pl aistow NH 03865 . Port Ewen NY 12466, orcall 19141331-1442.

222 BYTE December 19 77


This power supply kit features a high frequency torroid transformer with switching
transistors in order to save space and weight. 115V 60 cycle primarY. The outputs
with local regulators are 5V to 10A, in one amp increments, - 5V at 1A, ±12V at 1A
regulators supplied 6 340T-5 supplied.

F8 EVALUATION BOARD KIT


UNIVERSAL 4K
MEMORY BOARD KIT $74 50 TH EXPANSION CAPABILITIE
A fantastic bargain for only
Th is memory board may be used with the
F8 and with minor modifications may be used
with KIM -1)Jp.
with the following features:
• 20 ma or RS 232 interface
• 64K addressing range
$99°0
32-2102-1 static RAM 's, 16 address lines, • Program control timers • 64 Byte register
8 data lines in, 8 data lines out, all buffered. On- • 1K of on-board static • Built-in priority interrupts
board decoding for any 4 of 64 pages, standard memory • Documentation
44 pin, .156" buss. • Built in clock generator • Uses Fairbug PSU

TIC SHIFT REG $ 195


2S 1JCHA RI\ C TER GEN S 6.75
2S18HEX 32BtTSR S 350
21U21 102·1 8T RAM S 1.19
57RO 11K UYNI\MIC IlAM S 4 .75
5202A uv pnOM S 695 600 1.20 1.15 4 .00
1101 A·256 BIT RAM . S .75 2N 3820 P FET .. $ .45
2107 B . S 3 .75 2N 5457 N FET . . $ .45 SANKEN AUDio POWER AMPS
MK 4008P. . . . . $ 1.95 2N2646 . . ... . ...
5i 1010 G 10 WATTS . 5 7.95
$ .45
1702A UV PROM S 4 .95 ER 900 T R IGGER DI ODES 4/ $ 1.00 5,1020G20WATTS .. .. . . . . 515.95
!J20 t1I\K PflQM $ 1095 2N 6028 PROG . U JT S .65 5i 1050 G 5Q WATTS . . .. . 527 .95
82523 $ 1.95
~~ UART _"_._ .._._
.._._ ,.~
x 100 charge coupled device
r-..lINIA rURE MUL TI lURN T RIM POTS image sensor . . . . . . . . . SI45 .00
100. 500. lK ,2K,5K. l 0K,25K.50K,100K .
MCM6571 A 7 x 9 upper & l ower case cha r-
200K,SOCK 1 Meg.S.75each . . . . . 3 /S2 . 0~
ac ter gener ator . . . . . . . . . ,. $10.75
MU LT I 1 UHN TAIt...! PO i S S,," ,lin 10 Buur ni
3010 ~ Iv ll! J' 16 ",,518",,1 1 M" , 50,100.
VERrPAX PC BOARD
I K. 10K, SD K o hms l $ 1 50 eo,. J I$1I .00
T il,s IlO:trI.I ,s a 1/16" slllIll e sided p':'llcr epoxy
LIGHT AC TI VATED Sews
board. 4 i~ "x 6 y" " ORIL L ED and ETCHED
1018 .200 '/IA $ 1.10 wh ,ch w dl hold up 10 2 1 $1I1g lc 14 pm IC's 74LS1Z5
.16 744 5 - .65 . 6~
7400 - 74151-
TRAN SISTOR SPECIALS or 8, 16, or LSI D IP I C's w,l h b usses fo r 7401 - .16 1446 - 74 153- .65 74LSOO .26 14LS l 16 GO L M 101
741. S07 2G 1<1 LS l n _. . 80 LM 3 01 /1 48 .29
2N3585 NPN 51 TO ·66 . , S .95 f.?ow~r supply conneClOr. . $4 .00 7402 - .16 7447 - ":'1l 154- 1.00
2N3 712 NI'N S. TO 3 , . S 1.00 14155- .70
14L503 .26 74LSI36 . 30 LM307 - '0
MV 569 1 YELLOW·GREEN 7403 - . 16 1448 - 74 LS04 _ . 28 7 4 LS IJ8 . '2 LM 308 - .75
2N4'S6A PNP GE S 75 BIPOl.AR LE D . . . . .. $ .90 7404 - .20 7450 - 74 157 - .65 74LS05 - . 28 74LSIJ9 '2 LM 31 1 .75
7I>J o1 aOa PNP 5, TO J '5 100 FP 100 PHOTO T RANS. . . . . . . 5 .50 1405- .20 7412 - 14 161 - .85. 74LS08 _ . 28 74LS1S 1 - 98 LM 318 - 1.20
2N6056 flPN 5, TO 3 O.I,llI1rllon 5 1 70 RED, YELLOW, GREEN or AMB ER 7406- .25 7473 - 74 163- .80 74LS09
74LSIO
2B
_ . 26
74LSIS3 - .93 LM 3 19
- 2 . 00 LM 324 _ 105
- 95
2N508G PNP 51 TO ·9 2 . 4 15 1.00 LAR GE LED's 6 /$1.00 7407 - .25 7474 - 74164 - .95 74L S I S5
14165- 1.05 74LSI I - .26 1<1LS I S6 - .• 5 LM 339 _ I 10
7N.1 898 Ph!!' TO ·66 . . .. S 60 1 L·5 fMCT·2 ) . . . . . . . . _ $ . 75 7408 - .20 1475-
74LS I3 - . 50 74 LS 1S 7 - . 98 LM 358 _ l AO
2N404 PNP G E TO ·5 51S 1.00 MOLEX PINS . . . . .' . . . . . . 100/ $1.00 1409 - .20 7416 - 141 73- 1.35
2N3919 NPN 5, TO 3 R F 5 1.50 1000/ S8.00 .16 7480 - 74 174 _ .95
74LS I 5 - .28 74L S l 60 - 1.02 LM 370 - 1 15
7410 - 74LS20 . 2G 74 LSISI , 02 LM 37 1 - 2 .50
r~lp~A 13 NPN $, TO 92 3/S 1 00 10WATT ZENER S 3 .9, 4.1, 5.6, 8 .2. 74 11 - .20 7483 - 11 4 175 - .90 1 4('S2 1 - 26 74LS I 62 1.0 2 1.11:1 380 - 95
7N:nG7 NPN 5, TO·66 . S .70 12,18,22, 100, '50 or 200V. . ea. $ .60 74 12 - .20 7485 - 74 176- .75 14LS22 - . 26 7 41. 5 1 63 - 102 LM 381 - 1 25
2N2222 NPN 5, TO· 18 . 5/5 1.00 1 WATT ZENEAS 4 .7,5.6, la, 12, IS 74 13 - .39 74177 - .75 14 LS26 . JJ 7 4 L5 168 - 1. 10 L M 382 _ 1. 25
2N3055 NPN 5, TO 3 5 .60 18 or 22v . . . . . ea. S .25 74 14 - .85 74 180 .65 74 LS27 JJ 7 4LSI 69 - 1 10 LM 537 - 2 . 50
74 181 - 2.00 1 4LS30 - . 26 74LS I 70 - 1. 72 LM 553 -· 2. 5 0
2N3904 NI'N $, TO ·92 SIS 1.00 MC6860 MODEM CH IP $9.95 7416 - .25
- ."
2N]1)06 PNI' 5, TO ·92 . S /5 1.00 7417 - .25 74 190- 1.20 74 LSJ2 . JJ 7IIL S 173 - 1.39 L M 555 -
74LS31 - . 31 14LS 174 - 1.05 LM556 85
2N5296 NPN $. T O 220 . 5 50 14 20- . 16 74 191- 1.20 1 4L S38 . J7 74LS I 15 - 1 22 N E5 40L - 275
2N610~ PNP 51 TO ·220 . 5 .55 7425 - .25 74 192- .83 14LS40 - . 21 1 4L 5 1 90 - 1 50 560 - 2 .00
2N3638 PNP $, TO 5 . 5 /5 1.00 1426- .25 74193- .83 1 4LS42 - .88 14LS 1 9 1 - 1. 50 5G5 _ I 10
:'N65 1 1 NPN T O 9 2 S, 3 /Su;l, .00 1427 - .2 5 74194- .85 7 4LS 4 7 _ . 79 7 4L S I 92 " 5 . 566 - 1.25
7430 - .16 74 195 - .85 14LSSI .26 741.5193 - 1. 75 56' 1.30
7432 - .25 74 196- .86 7 4L S54 .26 74L S I 95 - 1. 25 '/03 - 00
C/MOS (DI O DE CL .1.1 74 3 7- .24 74279 - .87 74LS90 ' 74LS 196 ~ . 99 '0' 25
74ClO- . 22 4012-.22 4023- .15 .35 2 .30 7438 - .2' '/5 49 1- .50 74L5 73 .• 0 74LS I 97 . 99 "0 - J5
74CI93 - 1.50
4001 - .22
4013 - .4 0
4015- .95
4024 -
4025-
.20 ---:-4-5- 1 .10 -- 2.75 7440 _
7441 _
.16
.70
75492 - .50
74LS74
14 L576
.'0
AD
741.S22 1
74L S257
- ' . 25
_ 1.35
la I C Q . v -

'"
LM 1 3 10
"
65
2 . 50
SILICON SOLAR CELLS 74L S90 .89 l 4LS258 - I.J8
'5
..
4002- .2 2 4016 - .4 0 4027- 7442 ~ .52 74LS2 79 - 101 56
4006 - 1. 20
4007 - . 22
40 17- 1.05
4018- 1.00
2 %" dIameter
74LS9 2
74LS.9 3
74LS I09
-
-
.85
. 85 74LS 365
74L S 3GG
_ .66
_ .66
" 1458
CA 3046
_ .60
- . 75

I..
.4V at 500 ma 54.00 M I N I A TU RE D I P SW ITC H ES 7 4 LS I1 2 - 14 1.536 7 -- 66 3900 -
""
4009-.42 4019- .25 SOlSCC - 3 .90
a a 74lS 11 3 14L S36!1 .66
4010- .4 2 01020 - 1.05 U A19 1P 5 _ I 95
S .95 CT520G ·8 E'gh l 5PST SWllch(!s ,n a 16 . 74 LS II 4 - 74LS390 - 1.95
4022- .95 pm 01 P package.
S .50 52.20
S .60
$1.40

Ci rcl e 107 on inq ui ry ca rd . BYTE December 1977 223


To (let further information on the products advertised in BYTE, fill ou t (he reude r service curd with your
nome (md address. Then circle the appropriate numbers (or the advertisers you select (rom th e lisl. Add a 9
cen t stomp to the card, th en drop it in the mail. Not only do you goin information , but our advertisers ore
encOllroged to (lSI! the marketplace provided by 8 VTE. This helps us bring you (} bigger 8 YTE.

Inquiry No. Page No. Inquiry No. Page No. Inquiry No. Page No.

1 ALF150 47 Elco m Industries 189, 191 , 187 91 Peripheral Vision 67


2 Alpha Digital 153 48 Electrolabs 199 92 Perri·White 190
3 Anderson Jacobson 51 49 Elec Control T echn ology 159 93 Personal Computer News 182
4 Apple Computer 16, 17, 18 50 Electronic Systems 202 94 Phon e I 187
5 Artec 63 51 Electronics Warehouse Inc 203 • PolyMorphic Systems 37
134 AVATAR 189 62 C W Engel 175 95' Processor Technology 86, 87,88,89,90
7 Atwood Enterprises 197 52 Exte nsys 7 96 Quantronics 39, 47
8 Base 2 59 53 Formula International 205 97 Rotundra Cybernetics 191
9 Beckian Enterprises 199 54 Gallagher Researc h Inc 172 139 S·100 150
10 Benson & Costello 191 55 General Computer 175 98 Scelbi 95, 119, CIII
11
12
Beta Busi ness Sys 189
BITS 123, 125, 160, 167, 192
56
57
Godbout 207
DC Hayes 181
· Scientific Research 79, 115
100 SD Sales 221
* BYTE Back Issues 192 58 Heath 34, CIV 101 Seals 65
* BYTE Binders 191 59 Heuristic s 174 135 Sharp & Associates 211
• BYTE Index 192 ' 61 IMSAI 70,71 , 73 102 Silver Spur 187
14 Byte Shop of Miami 189 63 Integral Data Sys 147 103 Small Computer Sys 173
15 Byte Shop , Tustin 138 64 Integrated Circuits Unl im 209 104 Smoke Signal 52, 53
16 Byte Shop, Westminster 149 65 I nternational Data Sys 152 105 Software Exchange 180
• BYTE Subs 127 137 Ithaca Audio 173 13 Software Records 161
18 Canada Systems 1 78 99 lOR 187 140 Software Unlimited Ltd 158
19 Capital Equ ipment Brokers 176 66 Jade 212, 213 106 Solid State Music 9
138 Celetron 133 67 James 10,11 , 214,215 107 Solid State Sales 223
20 CMC Marketing 57 68 Kent·Moore 41, 77 108 Soroc 29
21 Component Sales 193 69 Logical Services 148 109 SwTPC CII
22 Computal ker 129 70 Meca 103 110 Sunny Computer Stores 191
23 Computer Corner 189 71 Mesh na 217 111 Sybex 183
24 Computer Creations 191 72 Micro Diversions 191 112 Synchro Sound 82,83
25 Computer Data Sys 105 136 Micro Ware 158 113 Szerlip 189
26 Computer Depot 191 73 Micronics 179 114 Tandy 85
27 Computer Depot Dist 187 74 Microsoft 177 115 Tarbell 178
28 Computer Enterprises 45 75 Midwestern Scien t ific In struments 121 116 Tech Mart 107
29 Computer Hobbyist 176 76 Mikos 208 117 Technical Design Labs 27
30 Computerland 20, 21 77 Mini Mi cro Mart 172 118 Technical Systems Cnsltnts 61
31 Computer Machine Service 189 78 Morrow' s Micro Stuff 219 119 T ec hnico 134, 135
32 Computer Room, San Jose 174 79 Mountain Hardwa re 146 20 TEl 57
33 Computer Systems Store 189 80 mpi 160 120 TK Electronics 189
34 Cromemco 1, 2 81 MSD 97 121 TLF 49
35 DaJen 129 17 Mullen 177 122 Typetronics 25
36 Data General 143 82 Na tio nal Multiple x 81 123 /lP Electronics 187
37 Data Search 179 83 North Star Computers 5, 15 124 Urban Instruments 211
38 Digital Group 93 84 Obj ecti ve Des ign 185 125 Vamp 191
39 Digital Research 55 85 OK Machine & Tool 75 126 Vandenberg Data 180
40 Disc 3187 * Ohio Sci en tific Researc h 30 ,31,32,33 127 Vector Graphic 39
41
42
Don Alan Ent!lrprises 187
DRC Engineering 201
86
87
Owens Associates 187
PAIA 159
· V ista Computers 144, 145
129 West Coast Computer Faire 194, 195
43 Dynabyte 111 88 Para sitic Engin eer ing 22, 23 130 Worldwide 185
44 Ed Smith's Software Works 182 89 Penin su la Marketing 151 131 WWW Enterprises 161
45 Educational Data Sys 183 90 PerCom Dat a 19, 155 132 Ximedia 117, 132
46 E & L I nstru ments 109 133 Xybek 181

-
-Reader Servi ce inquiries not solicited. Correspond directly with company.

BOMB Analysis for the


A rticle No. ARTICLE PAGE September 1977 Issue: Rank
(Multiples of a)
Schmucker·Tarr: The Computers of Star Trek 12
2 Rampil : A Floppy Disk Tutorial 24 1st: Ciarc ia, "Control the World," page 30 2.17
3 Struve : A $19 Music Interface 48 2nd : J aco by, " Walsh Functions," page 190 1.14
4 Ciarcia : Try an 8 Channel DVM Cocktail 76
5 Grappel·Hemenway : Jack and the Machine Debug 91 The standard deviation of this sample was
6 Higgins: Structured Programming with Warnier·Orr Diagrams 104 19% of the mean rating.
7 Smith : Simulation of Motion: Part 2 112 The first place winner in our BOMB tally
8 Wier: A Little Bit on Interrupts 118
rece ives a $1 00 bonus check, a nd a $5 0
9 Wenzlaff.: Using the PolyMorphics Video Interface 130
bonus is forwa rded to the second pl ace
10 Lahasky: Multiprogramming Simplified 140
11 Libes: Where to Get Bargains in Used Computer Equipment 154
win ner. Be sure to -indicate yo ur reaction s to
12 McGath: A Look at LISP 156 thi s month's issue by rat ing eac h article on
13 Gaskell: Relative Addressing for the 8080 162 the BOMB evalu ation card and forwarding
14 McGahee: Save Software: Use a UART for Serial 10 164 it to o ur office. The BOMB card is yo u r
15 Lahore: A User's Report on the Intercept Jr 186 direct line to the editors' desks. -

224 BYTE Oe cem h. r 1977


SANT:ttnd SCELBI J:
t HAVE A UNIQUE GIFT IDEA
EVERYONE ON YOUR LIST!
*-
FOR
"Seelbi ORDER NOW! SAVE! BEFORE
1978 PRICES GO UP!

FOR THE BEGINNER . ..


.~~d~~~anding
a omputerMicroComputers and
Systems. A profusel ~a~n~ofamcet~,rers ' literature.
Makes you feel
Illustrated, easy· reading "must" bOO:
explaining fundamental concepts behind neo~~~'te
around com put
as the standard for the
A
ccepted

EO:'' ' 81", ,"m koow"'g, :~f,:, ,,,,-,,,dlo, (,,( '00"'" ,",,'f~-~~,
operation of microcomputers S· I must own this 300·page no-non' you

an understand computer magazines and ~~~~:ryo o~ key microcomputer oriented


: :: : :_ _ _ _ _ _ _ _ _ _ _:......:::.:r:e:r~n:o: w_.:save! $9.95 each ppd.

pose routines for multiple·


Sc~lbi'S Software Gourmet precIsion operation . Pro-
~uldes and Cookbooks for gramming time delays for
8080' or '6800' lets you cook real time. And lots more.
up mouthwatering programs floating point arithmetic rou-
Belectable " how to " facts i~­ tines! Order your copies today.
cludlng '8080 ' or '6800' i~­ so~ appetite! Specify: '8080 '
struction sets. How to man- or 6800 '. $9.95 each ppd.
Ipulate stacks . Flow charts
Source listings . General pu'r-

SCELBAL.
GALAXY Microcomputer Higher Level
Outer Space War Games Language for
for '6800'. Captain your '8008'/' 8080'
own starship on intergallac- Systems.
tiC Journeys filled with bat- Complete , illus-
tles , refueling problems
. . . . . . . . . . . ., trated program
weaponry ,.warp factors ' , book . Routines.
?nd m,ore - all against you r Techniques.
6800 . A complete book Flow charts M I Source listings.
written in machine langu~ge . ore . ncludes 5 com-
. . for 4K memo E mands , 14 statements , 7 functions and 't
Ing Interstellar adventure ' I d r y· ver-chang -
charts , routines, more. cir~~r ~o~s sosulrce listings , flow
runs In 8Kand more . All you need t~ cus~
row! $9.95 ppd . ay . ast off tomor- ~~~I~~ : rlg~ level language for your sys-
$49 ppd. rac Ion of the cost . Order today!

The '8080' Programmer's Pocket G Id . ' ,


adeclmal Code Card. Com act
Cards are instant slide rule ~idS f~C~~~ggr~lde co~~ c~~~·
u e, . 8080 .octal Code Card andlor '80 '
for Iinstant reference to either
mnemOniCS with corres
are affected during inst~~iol~~xceoc~~f~nCOlor
d'
ind~~t:!~~~;W;dsard
mmlng debugging '8080 ' It
codedinstructions
.

chart for 128 characters . '8080' stat . QUick , logical reference formats . ASCII g d
P. (h,," ,2.9, ..' ,. m "' w"''' R"",,, ..""d". ".". 0"" .:,' ,
"'W. . .00"
cha~~~~:n~f~~:~~s ~~~e~~~~~~sr~e~:~sr~~~~t~r tL 11:11~. I:OMI>IJTIII
rices shown for North Am . .

Pricing, specifications, avJI:~!I~~I~~~Pwithout


lec~Ot40 change
weeks .
notice .
~
~ 1:0~IIJIT.~6
Post Offic B
M'lt
.~ ..
I"W""
e ox 133 PP STN
lord, CT 06460 Dept. B

Circle 98 on inquiry card.

You might also like