CATS NEUSLETTER
CAPITAL AREA TIMEX SINCLAIR USERS GROUP PO Box 467
Fairfax Station, VA 22039
WOLUME E NUMBER 3
IB THIS 15 SUE
Election Results=................ 3 Membership LDnrnger............... 3 CYA) Workshope as cese Ni sarasa warna saa EI Packet Radia on the TS1000...... H AL Oigitieer..... DEENEN
HiRes Graphics on the TSLOGO....6 2068 Program Motes.......-. SSC g RR Stare E PERTE EERE EA E aw ER 10 Ease! Formulas..... eh utes. aces! Se e i
tit
A $1.00 per copy
STOR,
sens
Please support your computer DI C.A.T.S. !
JULY, 1988
All the questions you had about interfacing, but were afraid to ask (till the last meeting)
COPTRIBUTORS —
Bill Barnhart Vernon Smith Ted Osheroff Ruth Fegley George Rey Hank Dickson
Harvey Taylor
Wilf Rigter Fred Nachbaur
Warren Taylor
PRESIDEN TIAL
It is sort of strange writing on the front cover of the newsletter, but I assume I’ll get used to it. This month my message will be fairly sort for two reasons. First, I've been travelling and the deadline sort of snuck up on me and, second, I want to meet with the Executive Board and read the results of the Survey.
The President’s chair has, in the past, been occupied by the real “gurus” in our group. As I’ve said many times, I’m not one of them but I will attempt to solve your problems by pointing you in the right direction if I don’t know the answer.
RAMBLINGS
In the next year, many be asked to volunteer your talents for various group activities and, most of all, for the planning and execution of our computerfest next Spring. I hope you will give me the support that you’ ve given the previous presidents. Remember, this is your group and you will get out of it only what you put in.
of you will
I’m really looking forward to
serving you this year.
Bill
FEON THE EDITOR
Well, by the time you read this, the big 4th of July holiday will be over and we will have to work two months before Labor Day rolls around. I know many of you will be taking vacation this summer but please remember, “Your Editor is always on the job!” Unlike many newsletters, we do not suspend operations or print double issues during the summer. For this reason, I need your articles. As you can see, many of our usual writers are “still on vacation” but, thank goodness, others have stepped in to fill the breach.
New writers--and for that matter, the old ones, as well--should review the “Newsletter Submissions” box on this page. In order to keep up the high production standards and to help me cut down on the time it
takes to prepare each issue, I need you help. If you are going to submit “hard copy”, you should do
the following:
1. Make sure the dark qs possible. Use q new or nearly new ribbon, since the output from 9 pin printers in the draft mode is very difficult to reproduce unless it is dark. I sometimes try to enhance light printing by running it through the Xerox, but this is not always successful. If it looks
copy is as
light to you, it probably is unacceptable for paste up. 2. Please limit the column
Width to 3 1/2”. If you are using 10 CPI (Pica), this is 35 characters; 12 CPI (Elite) column is 42 characters wide.
When you mail copy. please insure that the folds do not crease the text. Use cardboard inside the envelope for stiffness and protection. and, for 8 1⁄2” X 11” sheets, why not consider an envelope that size or a mailing tube?
If you have a QL, you can cut all this hassle by just sending me a -doc file on disk or microdrive,
wrapped in foil to protect it.
I hope you
enjoy this issue. TS
1000/1500 users should take note of
Wilf Rigter and Fred Nachbqaur s article on hi-res graphics and Hank Dickson's packet radio summary,
There are 2068/Spectrum programs and reviews. Harvey Taylor's “Playing With Electricity” article on digitizers is “must” reading for QL Owners, Finally, look at the Membership Corner in the Potpourri section. This will be a new monthly feature to keep your membership listing up to date.
Well, got to get this issue to bed. See you at the meeting.
Z; ¿< JULY MEETING AGENDA
1:00 Hardware Workshop 22:00 CYA Workshop 2:00 to 2:30 General
Meeting 230) to 32:30 Hardware Interfacing 3300 to 4:30 Open discussion 430 Adjoum
Submissions for the newslet— ter can be in herd cop wi th columns 3 izg inches wide or, preferably, magnetic me- dia. For the H, microdrive
cartridge, S5 174" DS5SZ/DD or
fuad density disks, or 3 1/2"
disks. For the op, TS1000, or COBB, cassettes oniy, with titles on the boz.
Send material to: Editor, CATS Newsletter Boz 4571 Fairfax Station, UA 22039
CATS 2 JUNE
POTPOURRI
News Around the Beltway
LONG GRUELING ELECTION OVER
hlad! NEWLY = d i: ay
md Geer
Membership Corner
Current Membership Rosters (as of 5/24/88) were distributed at the
June meeting. Send a large SASE
for your copy. Each month we’ll
list changes/additions so you can keep your copy up to date.
The first change is a new address & *phone numbers
Stephan Greene
£605 Stone Mountain Ct. Herndon, VA 22070 703/430-9495
Although this Roster contains 94 names, four are due to renew by the end of June. We still attract new members, but our record for renewals is not good. We need YOUR help in contacting those who have left our ranks. Let Bill Barnhart know of your offer of service!
CYA WORKSHOP
A good “critical mass” of interested members met at the June meeting. The aim of the workshop is to put our computers to work on financial matters of interest to us; I Proposed a primary objective to -- Identify near-term and secular economic trends by monitoring and analysing selected economic indicators. The indicators are: Interest Rates (AAA Bonds and Federal Funds), Inflation (Producer Prices), Money Supply (M2 x Velocity), and GNP. The means and interpretation of these indicators to be as per the reference “Getting in on the Ground Floor” by Stephen Leeb, 1986. For July I hope we can agree on how to format, go about, and computerize sufficient data using Abacus and/or Easel and splitting up the tasks between us.
Time permitting, we can discuss two other potential objectives -- (1) To develop investing strategies of low risk with growth, while following secular guides and trends; (2) To develop guides for the selection and screening of investment grade securities, etc.
Once we get going, I expect the workshop will provide us hands-on experience in exchanging, modifying, and processing our data via the QL Abacus and Easel programs. And, portraying the info in compatible and comparable formats. See you all July 9, from 12-2 PN.
ECITOR’S MOTE: This is an new seminar, in keeping with the groups desire to diversify its workshop offerings. For those of you unable to attend the ses- sions, we will attempt to keep you abreast of the proceedings.
IF YOU WAVE SUGGESTIONS FOR OTHER MORKSHOPS, BE SURE TO FILL OUT THE SURVEY FORM XH THE EREK.
CATS 3 JULY
CATS VIEWS PACKET RADIO ON ` T/S 1000
BOB DIGGS (KV3Q) from North Eastern Maryland gave the June CATS meeting a first-time look at the intriguing field of data communications on the T/S 1000, using packet radio.
Hearing of CATS’ continuing, unfulfilled passion for packet radio, Bob brought and set up a bundle of marvelous gear in the hardware meeting room that Saturday morning.
He connected a T/S 1000, an RS-232 inter- face, a Comm-Link I converter, a Terminal A connector (instead of a modem), anda handi-talkie radio transmiter/receiver.
The Comm-Link I, a black box about the size of a CD player, takes impulses from the RS-234 interface installed in the port behind the T/S 1000 and changes them into transmittable signals using ASCII code. The handi-talkie then puts the data on the air.
Before noon, Bob struck up a random conversation with an amateur radio user in Hyattsville who knew about CATS and some of its members. As time wore on, however, atmospheric conditions closed in and cut off the action for that day.
Bob’s setup works with the ZX-81, T/S 1000 and 1500. The QL can also be utilized, but it’s more difficult than the 1000, he says.
For the future, Bob would like to do the demonstration with a stronger transmit- ter. CATS would like to provide hima large-screen projector so the group could see an interactive log being created during a packet radio session.
Keep watching (and listing to) this space! ! Please complete the survey on page i0.
Bring it with you to the mecting or mail it to the CATS post box.
Letters to the Editor
Item for CATS Meeti on Unanswered Questions:
My question is this. . .
T have: A QL.
A Brother CE-50 daisy-wheel typewriter with a 9-pin computer port.
An interface (black box) made by Brother which accepts the 9-pin DIN plug used by the typewriter and has RS-232 parallel and serial plugs. I
Given this, how do I make them all work together?
(P.S.: I can bring this monumental array of stuff to the July meeting for actual verification.)
C.H.D.
Dear Hank Dickson? ,
hg” l| pass this along to “Dr.
Quintero” and maybe he can
include this in the “Ask Mannie”
show at the duly meeting. The Editor
If there ore ony more hordware questions, let us know. He will pass them along to ħornie.
(EN The C.A.T.S. tape library is available to all Full {18>
members. Prices, per cassette, are $3.00 by mail or $1.00 at the meeting.
Mail order requests, and submissions for publication, should be sent to the i tape librarians: Feu. John Fi ley 120 f. Fairlawn Or. Carrol iton, GA 30111
Checks or money orders shouid be made out to C.A.T.S.
Me will continue to “compensate” contributors with
one free cassette from the library.
CATS Q JULY
PLAYING NITH ELECTRICITY
by Harvey Taylor
In May/June/87 Byte magazine, Steve
Ciarcia described a video digitizer project. After a good deal of hesi- tation, I decided to go with this
system on my QL. The deciding factor in my mind was that I could use this system with any computer with a ser- ial port. The digitizer itself is well described in those articles so I will only discuss the software I have written to drive the board.
Getting the Circuit Cellar Inc. di- gitizer to use with the QL meant that I had to write a software driv- er to control the board & display the information received. To begin at the beginning, this turns out to be another case where one runs afoul of the cheap SERial ports on the QL. Specifically, the board transmits data at the North American norm of 8 data bits, no parity, 1 stop bit.
The problem which arises is that qt high speed (read 9600 baud), the QL wants at least 1 1⁄2 stop bits. This means that until I am able to modify the initialization sequence of the CCI board to use 2 stop bits, I must transfer data from the CCI board to the QL at a mere 2400 baud. A video field is digitized to 62464 bytes. At 2400 baud, it takes about 4 or 5 minutes to transmit the whole field. It only seems like forever.
The CCI board digitizes to 6 bits [0 -63], while the QL displays at most 3 bits [0-7]. One of the first re- quirements then, was to define a method of Mapping the 0-63 CCI range into the QL 0-7 range. I wrote a function which takes either preset values (Linear, Square & Exponen- tial) or User defined: values and uses them as Limits to define the Mapping process. The colours which are used can be simply 0-7 or set up any way one wishes.
Once you have the information in the computer, it is useful to be able to
analyze it. One of the primary meth- ods which is used in the Image Pro-
cessing world is with q special graph called a Histogram. This is a Plotting of Pixel values [ 0-63 in
this case ] versus number of pixels. A quick look at this graph will tell you where the values of your screen are bunched.
The fun starts when once you have the information in the computer you can begin to modify it. There are a variety of mathematical filters described in the literature. (See the bibiography below.) Among these are Low & High Pass, Laplace edge enhancement and median value fil- ters. One might also wish to spread the Histogram out so that the full range of shades is used. This might look like a similar operation to choosing q narrow mapping, however once you have modified the data you can apply the other filters to the data ina way which only changing the mapping does not allow.
In all of these processes it is all too easy to generate garbage. One must try different techniques to see comes out. If the Black/White set- tings on the CCI board are set too Closely together, it is difficult to do much of anything with the narrow range of values produced.
The File SpStLogo.pic contains the raw data of the Space Station Logo, q spacesuited figure in the Leonardo universal man pose. This is a 244 X 256 array of data points 0-63. There
is q bit of garbage in the bottom couple lines.
Bibliography:
Steve Ciarcia - Byte Magazine, May/June/87
Image Processing - Byte Magazine Theme, March/87
Gregory Baxes - Digital Image Processing, Prentice-Hall, 1984 William Green - Digital Image Pro-
cessing, Van Nostrand Reinhold, 1983
CATS 5 JULY
WRx16 REVISITED!
Fron ch-Rppent, Uoncouver SUG, April, 1988
W. Rigter with F. Nachbaur
Since our publication of Wilf Rigter’s WRx1é high- res discovery (SWN Vol. 4, #2), several enterprising folks have been hard at work, developing new refinements in high-res and other "cheap video". Mr. Rigter worked up a new version of the “core,” overcoming some previous hardware limitations. Gregory C. Harder, W. C. McGrath, and undoubtedly many others have made other discoveries. I worked up a couple "Interesting, maybe even useful” routines presented in this article.
But whoa! our esteemed Editor (and probably most ` other folks) thinks that this is going to be yet another of Fred’s incomprehensible but presumed sensible high-tech ravings. Not at all. This is a
“play by doing” thing that let s you do neat things with those little TS1000’s or TS1500’s.
There WILL be theory sections, for your information later on, once you feel the urge to go beyond basic experimentation. The possibilities are many and varied, but there are some inevitable limitations. The theory sections will help you learn to more fully control your machine’s virco.
For now, though, skip these se- "ions and just enter, enjoy: and play with the demos.
HISTORY
To make a long story short, high resolution has always been possible on the 2X81/TS1000. It has also, somehow, always seemed out of reach, ignored, or both. Until WRx16.
In 1986, Wilf Rigter demonstrated a system of high resolution display to the Vancouver Sinclair User Group, one of the most if not THE most active 1X31 hardware group in existence. The ZX computer had just a little tack-on board, and it produced high- res screens. No internal mods were needed.
It later resulted in the commercial high-res version
of SINC-ARTIST (Callisto Software) dubbed THRUST by its distributor, Weymil Corp. Because of the large number of "Hunter" board owners, the program found its way to many users, and became a classic "must- have" for this machine. It represents the entry- level of high-quality graphics development, giving you an Artist program with many features of programs for larger machines.
The rest is “history.” When we ran it over a year ago, we had no idea that this would stir as much of
a resurgence of interest in the 2X81. One short 79- byte program and a small memory board, and it makes this computer once again a viable tool in a world of IBMs, Ataris and others. The saga continues...
DESCRIPTION
WRxié is a system of high-resolution (256x192) display using simple multi-purpose hardware; a suitable non-volatile 3K static RAM, such as the one we ran in SWN 4:1. What's more, programming for it is comparatively simple. An Extended BASIC is available, and several applications have sprung up using this system. There are even programmers working with this in the U.K. It should be interesing to see what they come up with.
Here and now, there are yet more vistas in display exploration for the Z7XS1-family. Some will allow the creation of a windowing 128-line Editor routine, which allows instant horizontal scrolling of the 64- column window. New possibilities for modemming exist, involving the use of a 1200-baud modem for the machine. All at very low cost.
On that subject, the VSUG newsletter, 2X-Appeal, reports in the Feb-Mar ‘88 issue that TS1500’s with TS2040 printer are available for as low as $30 from Electronic Surplus Inc. in Cleveland. This, plus a small static memory board, is a small investment for a high-res-capable learning system. You can even do “real work" with it, as communicate to BBSs and infe services. In the future, you will be able todo far more.
HARDWARE
What do we mean by “suitable static memory?" This is the only thing that might be construed as a "catch." Fortunately, you have several options.
1: Modified Hunter board. See the Theory section for the mod. It just involves soldering two small, cheap parts, and cutting one trace of the board. This popular device was sold into the thousands years back, and is still a r-pular commodity to haggle over with other users.
2: Built-in NVM. See SWN 4:1, for a circuit worked up by Wilf for Gerd Breunung, who developed it into a truly professional construction article. This just plugs into the 2K RAM socket on the board, with seven small wires
to connect to the circuit board. No trace-cuts are nectsary, if you are concerned about that but aren't afraid to do a little “kitting.”
NOTE: If you haven’t already built and debugged this little project, here’s some more motivation for you. We're working up a way of easily aduing another 32K of static memory. By adding another chip, this same tiny board can now be a real powerhouse!
3: Tim Stoddard’s 64K RAM. This was published in . Time Designs Magazine and (in abbreviated form)
in Computer Shopper. This is a neat modification
to your ZX81/TS1000 that fills the full 64K with static memory. It requires several trace cuts and jumpers, SO may not be up everyone’s alley. TDM also ran Tim“ s article on interfacing the Larken DOS to the high-res system, which should be applicable to any RAM arrangement.
An important note: All developments to uste assume static RAM in the entire 6-16K region. If you wish to use other things that use this memory, you will need a way to disable either conflicting device.
4: Commercial alternatives. I sell an update of the Hunter board, using 1-3K I.C. instead of 4-2K chips. Being more cost-effective, I can sell it for less than the price at which the Hunter board sold. However, I ask that you allow me at least several weeks for delivery, since parts availability seems to be a chromc problem.
CATS 6 JULY
A better bargain for many users will be Wilf Rigter’s own 32K NVRAMH. He also worked up a very good RAMDOS for it, allowing you to Keep an entire collection of short programs (or a couple long ones) for instant availability when you power up. It is easily re-mappable, using a series of DIP switches, to result in virtually unlimited options with other hardware. You can even enable RAM in the ROM region, and modify the operating system to your heart’s content. Note, the character sets cannot be modified.
MOVING ALONG
So you have the basic pictus e. Why is this worth doing? Have someone aty luca) group demo this for you. You might just be amazed. There’s already a lot of great software commercially available or in public domain. There are entire collections of
Continued on page 1
B abed en postes)
au jO s}uajuo3 ann au jO pwaə)sut (400) SdON Pai s186 NAD ayy 'altuwuwaq “AL ay} 0} A[[etJas paj uay} st səaut[ Cep ayy uo )[nsaj peut} ayy
C*HS433N SpšeA01 əgou122 tasHS aay D *39 WOJ} apotp ppe E ui deb ay} a5ptJq ‘+39 0} #GH WOJ} a324} au 13 tasuelsur soy *pueoq Ja}uny au UO) ')3ə[əs drun S,RVHS ay} 6urr[osquo3
uaym sOH PUP #HS33H (NV 0} dary am Aum SI SUL *SHVH
dtweudp JO} paptaosd [ewAJalUI YSaujau ay} Butunp At}IasIE Loan +O Szua}UOI ayy peas O) asempuey ayy sasne) eym St su “pateidsip utaq (mog Play ST çG] }1q ‘art 'Asowaw mof UD Ssasppe ayy ay Jajzutod è se si31163J y pur [ Qas ((snolA3.3) ayy SASN }I *[04}U9I JaA0 Saye} YIN ayy “(ou sabo. WIA FEXZ YO OOSTSL) un gry AUR SIV jO (JƏxZ Teuthtyo) y6ty SIV y} SuN320 ut UCt}INJysuH ƏDZ3 IN UR Uaym "att Zetdemp Awwnp ay}
40 OY2a AyOwaw-Yybty ay} a} sdurt wesboud ay} Sau Bupunoa Gurdaayasnoy o ased Bure} Jays “pazseys st doot Aeqdsip urew au ‘ydnsvajur ue Gutatazay UQ *SyJOM wa}sis BulUURIS-auTT ay} moy mataas 5,}31 ‘AYM pue}s:apun o *Asowaw yÔty ut ystxa Daa JAA ayy 40 53}4q Om} Leet Əy} ATUO 4A[əst3aJd asoy
*“Jauyta vaotg NZE
-91 au 40 OYA ou PUR ‘HYY OU 'YURTG Am aq gim uor6as jpg ët ayy ‘anoqe pauotpuaw suoppeunbrjugs AZE əy} JO Jaya YYIM 'yaaamoy -ucrSau NZg-9I ayy ut att} kerdstp Awuinp (en 3, ay} ury} Jour 53}4q 89LZE (Deag /do3 e aje[d ATTPStS Aud ued am NPS UTM ‘saysesa aunou ayy rg
S?) WVU [P3 UT 30 Hen ,oupa, UT Jəu)ta quasaJd you St SIU} I "att Aerdstp Auunp au RO oy3a Avowaw ~46ty ayy UO Sajas yr asnesaq st sty, ‘paposap
AUN} ST YOLA Nt9-8y ayy HF YOM Lou Tt IA Sien
AYOBHL
"949 payuasaud U01SJƏA out YiIm p age, Surserday "E UE ape au) MOTTO} Sty} 01 Mau 3J, Nok iI
("UaSs aud
St HYH 31915 Ng AVeSSazau ay} FaptA0Jd '4pezuap nut "yz Burpntaun *uorpeunGtzu0s <sowaw Aue ALLER ItA UPM HYOM [ITM BT PRY ST BUda}+IP ayy 'aJjO;aq SP Yom P[Nays 11 ‘Owap ayy unu ‘sing jo ase)
UT ade} 0} uotsuaa mau ay}, Sures “UY °pPalsur t usr] pue Z Lou asn tz2aka2d nod jj *ar3t; ue Teur6tyo ayy ut ƏUT[ Hau I ap Bumm uaym se Im 821=S3LA8 !'bh1S91=1HVlS asn z qe po Sanren a4} J31uə 0} (0006 CŁO) sapeor au) asn pat; tjawrs Yanw St geg) oi fowap j UOTSJaA ay} pasa}ua nok At
SNILNOY ASN ZHL 5NIN3LN3
Dap pue sarpa ay} SP yans ‘ayemsos Burpstxa Ə39[d3J audpsasaty UPI MI “asczaq $ areds awes Su Ozur 10 31 ayew o) BuTYyIUdd_azAt ayrı e prp Han (Uj) I 'autinojd IPUT6rJG ay} ueg sazkq aJou mas $ 3091 ʻua} ty Ain Aq pəut;aJ ane mau au
*a[D3ryJ9 peurStue d uyta uaat +
"St Stu) Ayh purpsuapun OF (S1S2355251p) Bunsc poe ksoayrlaay 31 23:38
|
s ‘pappe St vd Je[tuts JO AIF xəull Diepueis L Ar YOM (in U108 “auo[e yed XZE VäaiOouaN out pue ‘cred Os [euJa|xa Lou tal
Əuo[@ OOSISL au "Bra !suonPutlquo| asempsey Ut01JƏ3 YIM II 1? M40 Lou Saop | UOT\aA ds
*sajauy dn aae) yubru nok EIER ayz Aue ydnssod prm yt auts *Ass|u paĝ uw STUL “H2019 391 do} ayy ut pardos aq wa}s& sas-ybty au 49 UGDA e }ry} asnsua 0} IJLM}jOS utsaunspau TeTIads aye} 0} PPU am 1?9U ST UOT}ITU}Sau Lang aq L
\ *Z21[sU03 \uauedde au 40 ayTds ut pom [ITM ‘aay ino Eaupitag aq Lug JEU SHYY auGs UIAA JIAIMOH "LE 1noqe 4YINW OP },UPI am !uOTSJaA MAU BY} UO S}STXP TIS VOD ITuySay SIUL 'uor(63J N9I-3 ayy ut arges aq ATqesazaud p[nous HVH ItweUdp ayy Pey} SI 1SJUF IUL “Syed dra 1SOU UO tSU0(131J1S3: OM} UZIM "Stan OST 3] °0001S1/12XZ B UO WIPGHYY 291 (enen ayy qt Ilt Sg Ziy ut PaYSTTgnd am LPY} 3409 9 | KYM IL
TSUBA 9b Xam
¿saun Burky
ut yyGnouy yuRseard e eu 1 UST MON "Nän }X3U YOM THES TMA vaindwo2d snod 21 yapuom O} ary 1,uop MOK ARIAN posd peuossad snok ajueuuə Ana URD pey} aztaap € oput AsuOW pur aut) 1saJalut 310Aap O} P4O4}? UPJ NOJ "UO AAT] THIS UPI autypew anok "mm sao Q12S JO yin xəwt, snod H uaaa Og (ITLPWAYIS 08XZ BLP HOOT ‘arqrssod SU pe aaatjaq ¿uop MOA $N isdtua goen? ON Suruteluo3 ‘pueog ajduts E oun ,sx7-sacng, yons Burprimnq 40 skem UO umom asam ‘aqeuteday aq sdemre Alen As aq [TIM auTydew snok Hawt} styy [Te HAPN att Sty} Butaes uaaq aa,p 'ITP jO ysag
"Jutta 40 1502 ayy O OTI P }e ‘ULOG yO sabezueape awos sautquo) }I *do}-ysap ay} pue dol-de[ ay} uaamjzaq kemptw tco} maen pue ut}sasazut ue yr Bupeu ‘samod mor }e atqesado apew aq uP? }p'uornjosas Aerdsip ut Sazueape asempuey mau sastwosd yl Butun teg
-ueq yocg asn-0}-4sea jo sad4}o}osd Butysom uaas Apeaute sey ƏAPA styg ‘ya}ndwa2d suoneatunwwo Teuossad }ua}aədwo3 yak aatsuadxaut AyaA P ut )[nSaJ yak Aew ey} puawdojanap jO ƏAPA. E jO luoOjJ;-3JOf ayy uo aq uay, pim nog quəutjadxə o} presje aq y,uoq "218 *([qiuassestp HOY snok pue uoq3as AyOayy ay} 33AO Butuod aa pr, nok Buoy a0ia0 pur ‘saz aq
US yt PUBPSsapUN o) uge NEA agew O} SI feoh ayy
‘suns au} Ut put) TLMOA zey} sowap 6ursn 'saatpeusazpe Butjsavajur adno) e arnsuouap oeig [LI
<Ja}; SWalqoud yuarsud 0}
SUD Sty} asn pinoys swesboud May ‘Suot eutquia? auempsey jO aburs sazeas6 e uyta = atqesn
H Sayew yt auts fasemyyos gin Sutlstxə oi
9} OQ OL ONIHL (002 * St SIUL °Z:p NMS Ut paystqnd auRnnos peut6to ayy 10 suotyeltur[ (TTE ([[en1JtA) T#J3ƏAƏS SaWOIAAO Stuy "JOI 9|XxHW Mau L VuasajJd aM !səluas otgtssod P jO afITPVe Let Stu ut
N1938 NN4 JHL 131
tasea (UOTPN[OSay alqtssod
pue) paads sO} səut[Iqtssod yursytubts asow sej uaaa Gburpebrysanut ave am Dutt SIUP PY "ZE NMS ut apow MO, se DNS ‘<poyaw ATUO-aseM}}0S UaAa BUR ƏJəul 'apaw Jəuyta asn up noÁ pue 4YD}JIMS P JO) Synq asow əldn03 P ppy '`SJP[[Op maj P Aug $0 1502 & YP [[V “ARITIQu}edwos a/gnaitäs (Un UIA “((əƏpOu MOTS ut) əgO)aq Se 159? SP a3t⁄41 1S0uU[P B6utuunj (00SISL 4(I[qeJaəjaJd) əUtu3Pu P aq Dia pnsas SLL ‘paads eut tautypew au) ysutehe adw6 Bburureway sel əy} IHI} [Lam yUaWTTe}SUL INN e ut
*AyDr[diuts
BumInsajJ ayy 10 asn>jaq abeyurape ur (ten
St Oe Su 'yayndword ,snorjas, e UT JOTOD JO} GAJN E ney 1,uop ‘aw att ‘oym aydoad soy *soptuow poo6 Ajqeuoseay Aue up Aprays-yI0y pue veal?
ST Vu 'ya}}aq YInw Aerdstp ayy yo Ate ayy *JO[03 ay} WOYYIM daxa ‘apow Aerdstp pewsou ut !g902S.L ayy se poob se Lengt st uoTyNOSas JUL ot +O JOL}
L fq UOISTA unok saaoudut 9[ XYM “Yt UL ap Pa3tunuuuu023
astmsayyo A0 ‘vo Buto5 s, eym aas zouues nok `
yt Jayndwod e asn ,U2%) NOA (*SapItue ut „aurypew Su), O) Jayau Ua}¥O Dunn ‘au ott ə[doad yo Asem 3q 0} ALŲ ATIVAN DO) "Din Lige e aq urd pey} gsne3aq ,J3əynduo3,, Aes 1,uptp p *suor)e3tunuiu)03 ‘Sap
*adtaap suon estunwwoa aAtsUadxəut Trews è ut ,Sunnduoj, peas, +O pfyom ayy oyut days (ie MOA "aigerearg sam 3td Gunsasazut
CATS 7 JULY
Continued pron page 1
instruction being "fetched." It therefore Gelays for 4 tstates, exactly the time it takes to display 8 horizontal dots. (Have you ever wondered why the
clock crystal’s frequency is twice the CPU clock frequency?)
This process continues until all 32 horizontal bytes have been displayed. At this point, the code of the instruction being fetched will have bit é high. (Commands like HALT, used in the normal display system; RET, used in quasi hi-res routines, and JP as in WRx16 V1 all have this in common.) This is a Signal to the ULA that display is complete, and it
returns control to the CPU. The CPU then executes the command. j
The problem with JP is that during the data-fetch part of the cycle, when the address to which to jump is being obtained, the CPU will still think it is running in high memory (PC has bit 15 high). I£ the RAM is fully decoded, (i.e. no rech or duplicate of the low-memory copy) it will only find garbage there, and jump to some uncharted never-never-land.
Version 2 fixes this by using JP (IO to return the line-scanning operation to the main program, instead of a JP to a fix address. This way, there is no data fetch after the instruction fetch, and the high- memory echo is no longer requird. (Note also that JP (X meets the requirement of having bit é of the opcode set.) ;
.
To compensate for the differerce in timing that results from using this approach, some of the "delay" commands had to be changed. This moves some of the entry points, and is why we are presenting the new routine in its entirety. The timing is about the only thing that could mess you up in experimenting. It is very critical, and has to reach certain Key points at exactly the right T-state. So
if you change anything, you have to be careful that the timing of your new code matches that of the old. You do this by trimming the dummy timing commands. These are marked in the listing as DELY, and timing loops are marked TILO. Get out your Zaks handbook or other 280 reference, and keep track of T-states.
Finding suitable timing values with a minimum of required space, while mot interfering with your program, can be quite an interesting challenge. Beware of some, like RRD, which appear to be great, compact time-consumers, but may not do what you expect (RRD and RLD operate on (HL) as well as A).
_normal and inverse modes respectively).
ine AMAgiNY bi-r LUT
We all Know, of course, that the daffy-nition of EI- PLOT is "the purchasing of a devious plan.” Or any number of other bizarre things, which I'll leave you to decipher.
Ah, but let’s get back to the real worid. This article gives a demo of a way to do high-resolution grey-scale graphics. That's right! Though I may be
“Stretching the definition, wel actually see the
2X84/TS1000 display a high-res scale of three shaces - black, white and grey. A quote I just invented runs, “Three shades doth verily a grey-scale make th."
We'll once again use bizarre methods to put that remarkable ZX hardware/software combination to work, deviously planning to make it do things even that IT never thought possibie. Best of all, you won't have
to purchase 3 thing (assuming that you're with us so far on this high-res stuffi.
For the sake of the demo, let’s go back in time. Way back... do you remember SWN Vol. 1, Kids? This / contained a lot of (sometimes embarrassing) “eary Fred Nachbaur,” including a "GreyPlot demo" (ail also used in my CE-AMP program (now in shareware). Well, what could be better than to repeat that easly demo, using this modification of WRX16?
WHAT IT DOES
BIPLOT works much like "QUICK" mode (SWN 5}2) does, in the sense that it uses the built-in FRAMES counter (FRMS in Hot-Z-ese) to display different things in alternate fields of the TV display. [nlike QUICK, though, we have a continuous displ, even though the speed is no faster than normal SOW moce. (The good news is, we can use FAST mode 5 do all our plotting, then get into compute-and-dis lay mode to view ard play with the result.)
The way we do it, is to toggle between twopitferent high-res display files. Anything plotted beth display files shows up as black (or white ininverse mode). Anything plotted in ordy one disphy file will only be displayed every other timg Asa result, these points wili look "grey." Any thing else is in the background color (white or bläk, in
In the demo, two sets of axes are drawn, in each
display file. However; different horizontal axes are . printed just for demo purposes. Two different functions are mee into each of the display files; their product is printed in both.
After the display has been created, you can view either hi-res display file, or both. You can also
reverse the video at\any time. |
THE DEMO
This demo displays several of WRX16’s unique features:
{: Bit-mapped viceo file. This makes our plotting, etc. extremely compact (the whole mini- operating system takes less than 256 bytes). It’s memory-mapped, allowing us write to it from BASIC, using POKE.
2: Any or all vertical columns can be reversed. To reverse a column, change the corresponding element of the dummy display file to 128 (decimal). Our "reverse" (RVRS) routine simply toggles all 32 locations (columns) between 0 and 128 whenever it is called.
3: WRx18 is extremely adaptable. We can change the number of hi-res and low-res lines at wili. We can dc different things in different fieids of the TV display. We can even do "QUICK" mode! (Topic fer a future installment, if the interest is there.)
4: Since a full hi-res bit map of a 256#192 screen takes 6K, and we only have 8K available, we have to cut down the size of the hi-res portion to 2/3 of its full size. This gives. two 4K blocks that can be used for two display files. With the high-res display files in high memcry (as with Tim Stoddard’s setup or with Delta), these could possibly be brought back to full size. However, this version demonstrates yet another neat trait of WRx16: you can display any combination of hi-res/low-res rows on one screen.
ENTERING THE PROGRAM
THE EASY WAY
One way to do this one is from the ground up. However, if you have followed the demos so far, you can save some time. Load the demo program of 4:2,
Tm be concluded next neath
CATS 8 JULY
CLASSIFIED ADS WE Si luer Reed ENZ typewi ter daisy wheel printer $160 {Has standard parallel port and uses Will drivers Price includes 2 extra print wheels and E ribbons
1CE+Mouse witb Dastazias and Artine
Originally £100, now $15
The best mouse-icon system
OL keyboard wewhrames Hi (ER chips HY D
Prices are PLUS shipping Hernon Smith ©7103} 9 18-1835
| | | |
WANTED
Uncle John Wants Youl
HERE*S THE CHANCE TO OD SOMETHING FOR THE GROUP
John Riley, our Tape Librarian, is trying to assemble a tape of Astronomy programs. He needs vOlunteerts? to key in some of the programs. Contact him direc- tly or through the CATS P.O. box.
FOR SALE CUMANA DISK INTERFACE like new
has toolkit interface up to 4 drives
cox s complete
NA S105 Richard Roseen (703) 979-2758 eaa Säi J z
C.A.T.S. will run one free 17H Page “commercial” ad per one year Ful! ¢$18? membership. Non- commercial ads may be submitted at any time. Publication dates for both types will be deter- mined by the newsletter editor.
Weiug Rates
Full page $25; 1/2 page $15; 174 page £10; 2" = o 17/2" $]
FASEL FORMULAS
Some say the eighth wonder of the world is the power of compound interest. Its formula is S=P(1+i)= and represents what a sum (S) will result to if an amount (P) is invested at an interest (i) compounded over n years or periods. You_can see what $1 (P) will grow to on Easel by entering the formula: Sum=1*(1.06)"(cell) which gives the compound amount factor of $1 at six Percent (.06) over the number of years (n) that you have. cells (columns) on your Easel screen. Try it fora series of interest rates and make a composite printout of the figures (curves) and you will have q handy monogram chart for future reference and use.
Also, you can do likewise to get a Ppresent-worth factor for a $1 future sum, at six percent from the financial formula P=S/(1.06)~(cell). This shows the present vaule of $1 in the future (n years) assuming a six Percent/year time value of money.
Fron 2k-Rppeol, Woncouver SUB, Ben, 1988
_.S PRINT TAB 9; "NICOMACHUS" 10 LET AS="UHEN DIUIDED BY 20 LET B$=" ITS REMAINDER I “30 PRINT “THINK OF A NUMBER
Ou 1 TO 100."
40 PRINT AS;3;58; 50 INPUT 60 PRINT
.70 PRINT
80 INPUT 90 PRINT
100 PRINT
110 INPUT
120 PRINT age
13@ PRINT “LET ME THINK A MOMEN
240 LET VY=70#h+22454+154C_ 150 IF y<106 THEN GOTO 180 160 LET Y=Y-195 170 GOTO 150 SA 180 PRINT “YOUR NUMBER WAS , RIGHT? (Y £N) " 190 INPUT og is 210 IF CODE &$=62 THEN PRINT “H OW ABOUT THAT." rae 220 IF CODE 0$=51 THEN PRINT “I THINK YOU MISCALCULATEDC. £ 230 PRINT “WANT TO TRY ANOTHER? CZN)" 240 INPUT D$ 245 CLS | 250 IF CODE Ds=62 THEN RUN _ 260 IF CODE D$=51 THEN PRINT KAY. THANK YOU, GOODBYE.
bi
Vu rn m Ei
$; 7; B$;
COG TOD TT Ti
CATS ii MAY
"III BU} 440 uge)
Fil }e3i}ewo ne aJe SLL zis
104 sno} Lou e Buipuas you sqníijJ
-g'n ay} ssou2e Soo sasn HE
A azeu soudde y}im s.38a4}4}8j|SMau 40
"E epp "Dr 48u OIA STBH-LHS Safe san ei E SU EJU! Eu Sid EDL? IFIP 35209 3529 "oO apou Ter 420 0OOIJ TBOL-225 {505} SEE on
SEAT-BL6 {EOL} uosad 12617
“fH 08> LIT IWR uoua "2 0} p3 awl} UIEPSEQ "M'd DT "445:0 Pep -Saupaf s= ISO uo gg sawi j 31123 gog JSLIES 13 HJE Sab. en 72 sagua SyJOMjoN Pai 533 urai Je. JEE 11 SCH 1 JP 41 INTE =. ias "JERR sad ATs J04 =jrE|ErnE si fay abuoaq qL i == id Saif) Pup Ajuo wpijdiuasqns vayjyajsmau H UOS+4I1Q HUEH Late an 45T série Feb dno Sale! j 2230 II IE] 448p | Sady Di 5500023, safajinisud J 8 apnya " —Ui pUe Feuiupw PT uoy DOP ave f peog SAIL 3. Fab sad Gre 4503 stir. i=mcru=sj 2 ° =.181rtrluiria Jo}Jo/SMoy] 40 fj iUe} Jeju igaj ayy ui pazsaJał}u; aJe Jo asn Fumo oym
S504} 40 SySasazui ay} Buinuas o}
IAT eed Ende, et Diren dnooB 32 140ud-4uo04-you E S!
ay} JE Frlumpu ysaeae 40 Aepumes Des By} UO fd DE:R Di WH IT WOJ} play aue SBHuijzaaun DILL dnosg Sei!
sgU Jepug zou mv yeydey oy]
CATS Mews! ett 7 ug ` FIRST CLASS MAIL Fairtas Station, VA 22039 r=
Capital Beltuag
z — Fa, j
— —
8 Keier f Phuay abrarg Bug 450 Rug 410 d
The next meeting of CATS will be held on:
Saturday, July 3, 1988 11:00 AR Harduare Workshop OH PA Genera! Reet ing
At: few Carrollton Public Library DI Biverdale Poad (Huy 410}, few Carrollton, Al
IF YOU ABE NOT A WO OF CATS, THIS 15 THE OMY ISSUE YOU WILL HIHI DUES: $18 per year, per fanily