← BYTE — May 1976

BYTE — May 1976

From the originals

13 scans

Machine-transcribed text and image descriptions. Check the linked original for uncertain words or fine print.

These are transcribed pages from the documents, not the full publications. Open the original for the remaining pages.

PDF page 12

2 0 mA CURRENT LOOP TO K IM - I RS- 232 CONNE CTO R 1.3K 2 DATA -- DATA 3 Figure 7: One way to in- terface KIM- 7 with an RS-232 compatible ter- minal is illustrated in this diagram. Opto isolators are used to accomplish the coupling. The RS-232 pins 7, 2 and 3 will be su ffici- ent for terminals which do not in volve handshaking,. on some terminals, pins 5, 6, 8 and 20 o f the stand- ard RS-232 plug may have to be tied together to bypass handshaking sig- nals. RS- 2 3 2 CON VERSI ON APP LI CA TION CON NE CTOR 4N 33 2 S 4 T 2 K +5 A 4N33 R '---;..::. 2 ____ -+--0 u calcul ates the data rate (anything fro m '110 to 1200 baud is accep table) and auto- mati ca ll y adju sts a ll furth er conve rsat ion to th at rate. No addit io nal timin g stand ards or switches are requi red fo r the in terface. The rea l bea uty of the terminal inte rface is in the softwa re, not the hardware. On request, MOS Tec hn ology supp lies a co m- plete li st in g of KIM . All the execut ive ROM software subro ut ines are doc umented and ava il abl e to the use r refe renci ng thi s we ll - comme nted li sting. Thu s, to prin t the co n- tents of t he accumu lator in hex on the termin al requires a simpl e one-instructi on subrout in e call. Th ose rea ders who have had to in ve nt t heir own ter min al interface soft- ware will have a dee p apprec iation for thi s capabi lity. Simil ar subrouti nes are provi ded for reading charac ters fro m th e terminal or key pad, print ing o ne o r a strin g of ASC II characte rs, or wr it ing digits in the LED displ ay. To ro un d out t he terminal interface , soft ware is provided in ROM to read a nd pun ch pa per ta pe if yo ur termin al is so equ ipped. Aga in, ca re has bee n take n to prov ide checksu ms on th e pun ched tape which is auto matica ll y ve rified when th e data is reloaded. Th is kind of atte ntion to deta il reflects the high ca li be r of the MOS Tec hn ology offerin g. On e reaso n for thi s is the fact that MOS Technology se ll s a size- abl e portion of the KIM units to indu stria l use rs. Thi s poli cy of bu ild ing to industria l rather t han consume r standard s is also ev ident in the qu ality of the PC board, th e 10 PC artwork, and th e fa ct t hat the board is coa ted with a so lder mas k, a plasti c coat ing which protects the prin ted wiring. To fur ther e mphas ize their fa ith in KIM, MOS Tec hnology gives yo u a 90 day warranty on the ent ire KIM system, not just the co m- ponents. Mail- in re pair se rvice is ava ilabl e even after the warranty ex pires. Interval Timer Anoth er fea ture of KIM wh ich is finding its way into more and more microp rocessors is th e inclusion of a prog ram controll ed interva l t imer. Th e KIM boa rd actuall y conta ins two program mabl e t imers, bu t o ne is dedicated to co ntro l the keypad and cassette inte rface. Any coun t fro m 1 to 256 can be loaded into the tim er by w rit ing to the tim er's memory loca ti on. Th e use r can contro l th e scale of the t imer by pro- gramming it to coun t eve ry clock pul se o r to coun t eve ry 8th, 64th, o r 256th clock pulse. Thi s presca li ng of the coun te r is do ne by decoding the last tw o address b its fo r the timer. Thu s, th e t ime scale is co ntro lled by whi ch memory location is loaded wit h the count. You migh t consider usi ng a simil ar scheme wh enever you have to write mo re than eight bits to co ntrol an externa l device : Ju st use the least signif ica nt add ress bi ts as data. Whe n the tim er has coun ted dow n to zero, a software in terrupt is ge nerated, noti- fy ing the program th at " time has run out." As soo n as the in terrup t is issued, t he tim er cont inues to coun t past ze ro (in to negative num be rs) at th e clock ra te. If the p rogram is servicing other inte rrup ts, it can read the co un te r reg ister to dete rmin e how long ago (in machin e cyc les ) th e time r interrup t occ urred. Memory Expansion If you are interested in ex panding the KIM memory beyo nd the '1 K prov ided, yo u' ll be glad to know that all the decoding for the f irst 4 K is prov ided righ t o n th e KIM boa rd . All you need to provi de is 4 K mo re of RAM ch ip s and so me bu ffers. There arc two conn ectors o n the KIM boa rd ; one called t he expa nsio n connec to r is fo r addin g memory and bus o riented dev ices. Th e second connector, ca ll ed the ap plicat io n conn ecto r, interfaces directly to the o uts ide wor ld . Th e ex pansion conn ector has all the address, data, and memory contro l signals. The app lica tio n co nn ecto r term inates the li nes for th e audio casse tte, th e te rminal sen d and receive signals, and the 15 1 0 lines. Conn ections are also provided so that the keypad can be removed from the KIM board and moun ted elsew here, a useful feat ure if

Reading notes: Source text has OCR-style spacing and character damage (e.g., 'fro m', 'co ntrol', 'ex panding') and fragments of a diagram; some words are uncertain. Reading order is mixed between the RS-232 figure caption, circuit labels, and body text.

Printed product names
KIM · MOS Technology
Languages
English