BYTE — February 1980
From the originals
13 scansMachine-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
Well, impossible problems lead to new solutions when frustrations get high enough. One solution would of course be a new terminal that had tl1e necessary cursor control keys (the up/ down / left/right arrows) but used a different direct addressing se quence. On the day I solved the problem , I was talking with Cameron Jones about getting the UCSD Pascal System version for my New England Digital Synclavier music synthesizer. (Cameron Jones, Syndey Alonzo, and Jon Appleton are the co-inventors of the Synclavier.) As the Synclavier and its ABLE/ 60 computer comes delivered, its native language is XPL. So implementing a UCSD Pascal system becomes a problem of imple menting the core interpreter in XPL. As I was talking on the phone with Cameron , I final ly realized what was wrong. The cursor addressing character of my terminal is an ASCII DLE character which is also known as control-? when emitted from a keyboard. And the UCSD System will always eat control-P characters, sim:e this is the spaces compression escape character of ". TEXT' files! Cameron pointed out that the specification of the UCSD Pascal UNJTWRITE routine is that it will do spaces decompression. So I had to have a character that looks like a control-P to the terminal but not like a control-P to UCSD Pascal. This character is of course a character with the integer value 144. Its value is obtained by turning on tl1e high-order bit in an 8-bit character by adding 128 te the control-? character code's value of 16. While the Pascal program 's character data value are 8 bits, the terminal only looks at tl1e low-order 7 bits. Thus, if the low-order looks like a control-P, turning on the high-order bit will keep Pasca.l from thinking it really is a DLE wl1ile allowing the terminal to think it is. Everything else immediately simplified and fell in place. Listing 1 sl10ws the final version of the GOTOXY procedure, which now emits an 8-bit pseudo- control-? character that gets interpreted by the terminal as a 7-bit control-P character. Of course, by getting frustrated by this problem, I explored the use. of assembly language features of the UCSD System . I learned how to link successfully to assembly language programs, use the macroassembler that comes with the system, and unwind parameters from the Pascal stack in assembly language programs. I will probably never again use an assembly language program with a Pascal program. But if 1 need to for some reason of speed, I now know it is possible. This short note and this month's editorial were the first texts I edited using the new version of GOTOXY; the results are quite an improvement - I am no longer limited by rather artificial delays required by last month's cursor addressing kludge. listing 1: <HU ... .t > PROCRM GOXY I C t.h• fi.n• l v•rtioo or t.h• GOTOX'I' ,.rocedUre, uud wtt.h A.,P-h P••e•l > ( and I.ht Co•~ut.el'I PtriPht~•Jw Corporet. ton COPS ... 10 Ltr•1n•l • The> ( ASCII ( 1 biL > ••oue,-.cet ) ( <c t.r 1 P'> <Y+J~ <Xt32> l ( c•us 1H dir-ect. c;ur•or •ddrttt ln•• l PROCE"DUOC FCOTDXY< )(.,.a-:clt. •V.. Hitl IHTECE.Rl• ( co~s 10 - COl OXY l CONBl 'cont.ro l ....P • 14' (hish order btl onr b\lt. no etf~L 16fl..28H v•R :it• w : INTEGER; •b'tll.I' : PACKED ARRAYCO. ,Q] OF CHARJ BECH~ c ••• how do i.11 un d a •contr ol p• "h•n t.ht Pnc:al UNtTMR:ll'S: wt lJ ) ( 1obbh· i t btcau11 H t.hfnkt ~hi\ U. U. .,.llCH co~,.reaJt:on eh•r-- ) C ac:it.erf \Jell' r111:011nh• U1•l Lht hr•lnill onl'lll ,.avl at.Len - ) ( Uon t..o 1 low ordor bl Lt. . Thu1 if wt und • ~ cont.r-ol P wHh l [ Lhll hi.Bh order bit. Dnf lh•n UNllWRHE W l11 'HV "ahil t.hat. h, not. ) [ • conlro l pi. a nd t.h• hr•inal W\ 11 s .. Y ••h• t.hal i• • cont.rol P• 1 ~b!llUCO::J : .. CHR< cont.rol - P H UNlTYRlTE( 1,abwU • lHl U n : • >:- a x i ~ + J2; 'ii : • '111-•Xh + 32; tF K ; tlL ll-IEtl x t • llU (111 • '19 • 32) rr w: ..: 32 Tl-SEN >! ! • 3lJ I.f w > S:i THEN v : ... 5SI C:SS "' 2J + l~J fF w ' 32 THEN "" : ., :125 abv t.l![OJ :11: CHAC vH l»UT~RlT£ < 1••b'411Le •l••1 U i11b11hCOl :a CHR:<)( H UN11\l'Rlf£( ltlh 'W \.O•l •tl > [H[l l!loLoMw )I BEC l N ~ f DU""'f' "IHtf * ) END , <'UU- 1 } On Eclipses, Next Month's Editorial entitled "Microcompu ters in Africa: A Travelogue of and the West Coast Computer Faire. The 1980 Eclipse." As you read this February 1980 issue of BYTE, I will Norm and I will be presenting this talk as part of the be embarking on a journey to make the technological technical program . It will feature slides made during fm1tasy of last July 's editorial ("Computers and the trip showing the setup and equipmen t (as well as scenery) and- weather permitting- slides of th.e Eclipses," page 8) real. In the March 1980 editorial, I plan to describe some of the details of tlw computer eclipse itself. . .. CH system which w ill contro l my Nikon F2A camera in Articles Policy automatic photography of the 1980 solar eclipse from BYTE is co 11tin1Jally seeking q1Jality manuscripts wri tten by indi Kenya in Africa . v idzwls who are applying personal computer systems, designi11g I am scheduled to leave for Kenya on February 6, such sys tem s, or w ho have kno w ledge w '1iclr will prove useful to 1980, joining a sma ll expedition of solar physics our readers . For a m o re formal description of procedures and req uirem ents , pote11tial authors sl1 ould send a la rge (9 by 12 inclr , experimenters organized by Norm Whyte of Monte 30.5 by 22.8 cm), self-addressed envelope, wit/1 28 cents US postage Rio, California. Norm is performing experiments in affixed, lo BYTE Author's Guide, 70 Main St , Peterborough NH volving a custom designed camera under direct com 03458. puter control of an Apple JI. Articles wl1ich are accepted are purchased with a rate of up to $50 The only uncertainty is what the weather will be like per magazine page, based 0 11 teclrnical quality and suitability for BYTE's readership . Eaclz month . the authors of the two leading at our observation site on the morning of February 16, articles in tire reader poll (BYTE's Ongoing M onitor Box or 1980. Whatever the weather, readers w ho are going to "BOMB ") are presented witlr bonus checks of $100 and $50. Un so the West Coast Computer Faire in San Francisco in licited materials should be accom panied by full name and address, March 1980 will be able to see the results in a talk as well as retu rn postage. 10 February 1960 © BYTE Pub lica lions Inc Ci rc le 4 on inquiry card .____..
Reading notes: Listing 1 code is heavily garbled by OCR and cannot be reliably read. Two-column text order is interleaved in places, including the Eclipses and Articles Policy section. Several words are OCR-corrupted, such as 'tl1e' and 'Syndey'.
- Printed product names
- Synclavier · ABLE/60 · UCSD Pascal System · Nikon F2A · BYTE
- Printed prices
- $50 · $100
- Printed dates
- February 1980 · March 1980 · July
- Languages
- English