JULY/AUGUST BULK RATE
U.S. POSTAGE Vol.3 No.5 PAID $3.00 U.S. Funds COLTON, OR 97017
PERMIT #51
DATED MATERIAL - TIME VALUE REQUESTED MATERIAL - PLEASE FORWARD
R
MAGAZINE
STARFLEET | 2068
Super Summer
Issue Something For Everyone!!
Feat SETS kuote OHS FOR \h ¥ A g I E 1 ¥ Sa £ E So pe 6 HED FORTS- ult TE Fab BETES 395 West Jersey Street #20 | Lgesish um EEE Elizabeth, New Jersey 07202 fis close as your AO rey veucke gq i l b ox or Pp h one:
Se fen NEW ITENSgC201) 527 - 0535
aS TAKE A LOOK! Persinemierrict tae
Te
ole hi PoC a RODE! | OL REPLACEMENT KEYBOARD * TORY Tesey teoLexrt xx: § The SCHON FULL-TRAVEL naa eks : e RANDiCks Dynamic & i avail able HOW Fo or ur Obes Statici>d Installs EASILY~ HO SOLDERING Four Just re- *x BDuat Disk Interface! ove your OL top and replace with the SCHON top!!
etains the look and size of your OL- but vith « EAL typewriter keyboord!> only $39 <
dFront Page EXTRAS
ALL Features of FRONT PRGE, the aL desktop publisher and MORE! Gilous leading of text Files Fron QUILL, the EDI- TGR, and ainost AKY other File! FP extra aUT0- PIRTICALLY NICRO-JUSTIFIES the text! filso, 3 new Kype-styles, Type styles cam be changed VBILE text is loading...text loads inte columns tool! ore Features- Call or Grite,onmky S492!
for OL's vith EXTRA RAN ORLY!
FUTURA ERVIRONMENT OH OL* ORANE!
indoving pointer utility system. Hon-destructive indous, single keg pop-up neaus, FULL MOLTI-
TASKING, Super fast RAN disk,dynasic printer buf- er, multi-mode screen dumps, and such sore! Call sor urite for more info! GRG4 is the environrent of the FUTURA...and REQUIRES WT LEGST 256k RAN.
GRAN IS OKLY $49
ALL on one compact card!!
D> BALL FOR ORLY $299. << TOTALLY SPELLBOUND!
* 20,800 vord spelling CORRECTOR FOR THE OL
* Load VITH your werd processer For INSTANT spetling correction
* Several methads avattabie For error notification— highlight, beep, etc.!
Rdd your cun vards— your GL ex—
Ponsion is the Limit! For serious
word processers— $49
LIBERATE YOUR OL!
The BEFINITIGE BASIC compiier? Compiles almost ANY SuperBASIC program vith no need For changes!
fis cosy as typing LIBERATE! it will generate MULTITASKING code— Can even turn your programs into ff RESIDENT procedures tadd commands to BASIC!> OLIBERATOR
Easy to use, NAHY more Features— call or write! Or order For only $35.03
64 COL, TERNINAL FROG, FORT YOUR 2068- HO EXTRA HABD-
WARE [ SPECTERN-6¢ is a 64 Column terminal con- s aunication program for the 2668, and
alse has XNODEN error checking file transfers!! SPECTERN con olse vork vith HARDUARE Reese cords INCLUDES IATERFACE ¢ NOS CABTRIDCE. DISK peives
to run at 1200 baud! Works at 100 boud with the see AV AILAILE: SERERRTEL YS CALL oR URITE FOR DEAL!
2050 noden. EASY to use, with full docunentation..==mmume 35k+ buffer area, 7% BASIC menu area...$34.95 pp. fore Features...call or write!
FREE MOHEY!! 198? = § \4 VARIETY SHLES CATALOG AYAILABLE- 3———“’ — DEPARTNEHT TDH-5 SERD $1 AND CET $2! Sntetersamncd25 UW. JERSEY ST. ,#20 CREQIT! FREE MOREY! Stra ™™* ELIZABETH, HJ 07202
HLIMIT: GAE (2) $2.80 CREDIT PER PERSON.
2065 DIS SYSTEN- $
i ABLER DISK IRTERFACE £ GOS CARTRIDGE- WITH EX- PRINT #4:SRUE “FILE.BBB"...BOS TALES RO RAN. .NMT ESHAPSHOT SAVE BUTTON...FULLY 2868/SPECTRON COn- PATIBLE.. «SUPPORTS 2 DRIVES, UP TO 360K/0ISK.
JULY/AUGUST Vol. 3 No. 5
MAGAZINE
FOR ALL TIMEX AND SINC!
AIR COMPUT
TIME DESIGNS MAGAZINE Co. 29722 Huit Rd.* Colton, Oregon 97017 (503) 824-2658
CompuServe ID} 71350, a2cG0 TIME DESIGNS MAGAZINE is published bi- monthly and is Copyright ©1987 by the Time Designs Magazine Company, Colton, Oregon 97017. All rights reserved.
Editor: Tim Woods
Assistant Editor: Stephanie Woods Editorlal Assistant/Production: 0.L. Woods Photography:
(untess otherwise noted): Thomas Judd
Printing by: Toad’! Litho Printing and Comp., Oregon City, Oregon 97045
SUBSCRIPTIONS: $16.95 a year for sixissues (US funds oniy). No extra charge to Canadian subscribers. All other countries please write for information on air mail rates.
CUSTOMER SERVICE: Customer satisfaction is our goal. For subscription service problems se write or call TIME DESIGNS.
CHANGE OF ADDRESS: Write or call to prevent delay of sevice,
Reproduction of this magazine in whole or in
by any means without written permission is pronibited by law
p
NOTICE: Cont
ne SMA 2., and opinions ex:
ot necessarily
ne management or its advertisers. Time Desi
will not be held liable for any damage or conse
quences resulting from Instructions, assertions of fact,
review of products or companies provided in the magazine's content"
Next Issue:
Desktop Publishing
Renew Your Subscription Today!
EDITOR’S FORUM
It's very hard to think about doing anything con- structive with your computer during the summer when so many other things confront you that are much more appealing. But never-the-less, I usually use this time of the year to work on one particular project. Something to keep the fingers limber--the brain from going stale, anything to prevent having to re-learn even the simplest procedures by the time "indoor" weather comes around again,
On this thought, I've compiled a list of some suggested summer computer projects:
1. "Key-in" (and de-bug) one of those extra long program listings that have appeared in TDM or other pub- lications.
2. Make one of Tim Stoddard's modifications to your computer, or build a kit. (Note: If you don't have ox- perience in this area, get help from someone who does.)
3. Buy your computer a present. How about a disk drive system or new 80 col. printer? Familiarize your- self with the DOS (Disk Operating System), or all of the features of the printer.
4. Tackle Syd Wyncoop's series on 280 Machine Code in TDM (the first lesson is ‘in the March/April '86 issue).
5. Explore a field of interest you are not familiar with, such as word processing, another computer language (FORTH, PASCAL, C, etc.), computer graphics, artificial intelligence, and telecommunications.
6. Write a program.
If your feeling very ambitious this Summer, you could also join a computer club, start your own Sinclair user group, revitalize the one your already a member of, start a BBS, and even organize a local Sinclair computer fair.
I would be interested to hear what you came up with this summer. If you have a tip or short program to share with others, send it in, and I'll print as many as possible in an upcoming issue.
A lot of news items have been filtering across my desk lately, and I'll try to keep you posted in the "For Your Sinclair" section. The TS world does not stand still. Many of you already know that the fine British magazine, 2X COMPUTING MONTHLY, is no longer being pub- lished. We here at TDM, feel this has created a real void for "serious" Sinclair computer users in the U.K. Plans are being carried out presently to unite what we are doing over here, with this international community and perhaps even entice the major hardware and software developers to take part.
Another problem that has erroded over the past couple of months, is the lack of a reputable repair service for our Timex Sinclair computers. I am per— sonally looking into this matter to see if it could be rectified. If you know of anyone who even repairs these machines as a hobby, please drop me a line.
Hope you enjoy the JULY/AUGUST issue. Find some shade, a hammock, a tall glass of ice tea, and give it a good read, We'll be back next issue.
Tim Woods Managing Editor TIME DESIGNS MAGAZINE
TS Machines
ecco cee
el OE OS os ee ee OO te ce be os on ie oe Sesr ate amies ‘a Ge ee Oe Se oe
When the Timex Computer Corporation here in the States closed their doors for good, a rumor was going around that thousands of 782068's had been "dumped" upon the South American consumer electronics market. But the rumor coulda't be substantiated and was soon forgotten. Later on, an “unauthorized" Spectrum clone was dis- covered in Brazil, along with a dubious software supply. The manufacturer of the Brazilian Spectrum hed even im- proved some of the bugs in the original Sinclair ROM. Versions of this improved ROM found it's way here in the
U.S., and some Spectrum Emulator boards for the S2068 featured the chip.
TOMAHAWK
A real-ting flight simulation based CUS ARMY SiHB4a Advanced
BECS UE Vielicbbier SAAS ak ta oe as
eee REUE Pies ee ae
Sod eheeste, shiataune yorete: missiles Qaser guided >> and, others.
Di ont, ont ont miss MATAWE Titan ® 1039 # 16.95
NIGHT GUNNER
& Super ARCADE style gane (and doesn't require quarters? 2068. Fully Action“Packed stir based on a We
NIGHT GUNNER Item# 1090
$ 9.95
HANDLING
$3.00 SHIPPING AND PER ORDER
KNIGHTED COMPUTERS 10 CANALVIEW MALL FULTON, NY
(315) 593-8219
Thrive In South America
The extent of the Timex Sinclair market in South America wasn't realized until just recently, and it appears that the 1S activity is in Argentina, the most educated country in Latin America (and ranks very high world-wide). Christian Pusso, Director of the largest computer publication in Argentina, called "K64", re- cently reported to TIME DESIGNS, "The market here in Argentina is strongly formed by Commodore 64, 128, MSX compatibles, ‘Timex Sinclair, Atari 800/130, Apple Mac- intosh, IBM PC's and its clones...all assumed to be a total of 500,000 home and PC users".
Laws are very strict in some of the South American countries on importing large quantities of computer goods, forcing many manufacturers (including Commodore) to license existing companies within the country to assemble the computers and then distribute them. In this case, the CZERWENY (an odd-sounding mame) Company is licensed through Timex (and more than likely, Timex of Portugal) to manufacture the Cz1000 (the TS1000) and the €Z2000 (the TS2068). Other Timex "clones" and Spectrum clones are widely available...along with stock (U.S. versions) of the Timex Sinclair line.
Many South Americans are discovering the powerful capabilities of the TS machines, and their lower cost is especially appealing. Nany computer dealers feature add- ons and software. Devices to convert the 2068 into a
KNIGHTED COMPUTERS
ANNUAL "SUMMER SiZZLER" SALE TS2068 SOFTWARE
FIGHTER PILOT
Based on the USAF F715 Eagle and is a real-time flight simulator as superior aircraft. This sipuintor offers many of the same fe es. and more found on modern Reeae flight simulators. Including 3-D coc!
vies, fully acrobatic par tormance, training and combat m:
crosswinds, turbulance, blind landing, and pilot skcili rating for the various levels of diffaculty. all done in real
time! FIGHTER PILOT Item #1089 #1195
PANASONIC 1080i Printer
€yibwizgd 9x9 dpb matrix printer that he
£9 Si wou the idea, Takes resular sheet paper, in fee = Pe Tien Seder $ 229.95
ADD £7.50 SHIPPING
13069-17390
VISA/MASTERCARD ACCEPTED
Spectrum, like emulators and twister boards are the most popular. Spectrum games and other programs are readily availabl:
The impact of this South American Timex Sinclair “connection” may be far-reaching. The need for an in- formation exchange is great, and currently there is a great interest in programming and low-cost disk drive systems.
Sinclair Clones In The Kremlin
TDM contributor, J. Kevin Paulsen, brought this to our attention: In the Match 16th issue of INSIGHT Magazine (published by The Washington Times) an article on the Soviet Union's attempt at catching up with the microcomputer technology race was featured. The in- teresting article pointed out how the Soviet's have surpassed the West in many areas except for the de~ velopment of inexpensive personal computers for the masses, The author reports that, "Zt is a system in which access even to typewriters and copying machines is carefully guarded, out of fear of dissident and other unofficial conmunications, Printers are not available on
the open market, and computer corponents are prohibit- ively priced".
But the most surprising revelation is that the Soviets have started to manufacture computer "clones".
“Smaller computers with brand names such as Agat, Iskra, and Electronika began to dribble off assembly lines, closely resembling machines from IBM, Apple Computer Inc and Sinclair Research Lt
Newest Sinclair
TDM correspondent, Bob Lussier, supplied us with information on the new SPECTRUM PLUS 3 computer which will replace the current 128K+2 model shortly. The computer makes history as the first Sinclair with a disk drive unit, and it is also a return to the old black styling we had grown accustomed to, plus several other new features makes this the ideal personal computer. It's sad though to think that Sir Clive had ne hand in this latest version of the time-tested ZX Spectrum. Instead, the for~ ward marketing strategies of Amstrad are the ariving forces behind this new micro.
Along with the built-in 3" amstrad floppy drive, there is also a built in Centronics printer port, an auxiliary disk deive port for adding a second drive, MIDI port, RGB monitor con nection, twin joystick ports, and standard cassette tape I/O ports. The DOs is a version of Amstrad's own Ams- DOS, but has been modified, and uses the old Microdrive commands exclusively. The price of the Spectrum Plus 3 is £249, and includes a disk with six games, plus a joystick. The Spectrum Plus 2 now sells for £149, For further info, you can write to: Sinclair, Brentwood House, 169 Kings Road, Brentwood, Essex CN14 4EF, U.K.
cP/M is compatible with the built-in disk operating system, but Anstrad has released no plans to offer a CP/M emulator. However, outside developers are currently
3
More Computer Fests
Announced “Mini-Fair” Comes to the Northwest
Plans abound for regional and national TS computer fests. It has been said that the future of ouc Timex Sinclair community depends on gatherings such as these. Now more users will be able to attend this next year due to a variety of locations currently being proposed.
The three user groups from the Bay Area of Northern California are currently making plans for a "Silicon Valley TS Computer Fest" to be held somewhere in the South Bay Area, and a suggested date of June 1988, The region offers itself as an excellent family vacation spot, as well as the "bargain hunter's dream"...several large electronic parts houses are nearby. For further information weite to: Norm Lehfeldt, 757 Guerrero, San Francisco, CA 94110.
Four user groups from Florida are currently working on details for the “Sunstate TS Winterfest '88" to be held in Orlando, Florida, either at the end of February or first part of March 1988...an exact date has not been set yet. The Central Florida area is the number one vacation destination in America, with Walt Disney World nearby. Along with U.S. dealers of Sinclair merchandise, the planning committee will invite companies from the U.K, as well. A 24 br. B8S has been set up to serve as an information exchange on the Winterfest. ‘The phone number is: (904) 775-0093 (7/1/N). Or write to: Mary- Lynn Johnson, 249 N. Harden Ave., Orange City, FL 32763.
Good News for TS users in the Northwest--the “Timex Sinclair Mini-Fair" will be held on Saturday, September 26th, 1987, in Seattle, Washington. Hours are 10 am to 5:30 pm, and small admission charge of $2 per person ($3 for family) will be charged at the door. Five user groups from the region will be participate, along with at least six TS dealers. The TS Mini-Fair is sponsored in part by Time Designs Magazine and RMG Enterprises. Nine guest speakers are planned for a wide variety of Sinclair topics and interests. As of this writing the exact location had not been established. For further in- formation write to: TDM, 29722 Hult Rd., Colton, OR 97017.
Other TS computer fests have been discussed for both the Midwest again, and one for the Eastcoast. Watch this space for further developments.
most of
working on such a system, In fact, software houses in Great Britain are enthused about the new Spectrum and are gearing up for production of new
the large
game software supplied on the 3" disk format. To quote ene source, “From a software point of view the 128K Plus 3 means that huge games—similar to the best of the US Commodore 64 disk-based programs will be possible. ‘The way these work is to load in sections of the game as you play--deleting those areas of the game you've already played through from memory, as you go".
NEW PRODUCTS ANNOUNCEMENT
For TS2068 and SPECTRUM
Novelfoft
brings Artificial Intelligence to the Timex/Sinclair
Introducing...
fa PERT
ZXpert lets you explore the reasoning process of human experts. With ZXpert you can create an Expert System on any topic you like!
* A useful and educational program * Includes 2068 & Spectrum versions
* Easy and fun to use * Supports Microdrives
* No programming language to learn * Two example knowledge bases
* On-line help * Superb Manual with Tutorial plus...
Once you have developed a useful knowledge base, with your permission NovelSoft will sell it and pay you a royalty!!!
Join the revolution with...ZXpert $19.95 U.S. Plus $3.00S & H
Novelsoft
& FORMAT FOR THE FUTURE
33 Skelton Street, Toronto, Ontario, Canada M8V 3W3 * TEL. (416)259-8682 * CompuServe 70416,1435,
Product/Dealer News
Larry Kenny of LARKEN ELECTRONICS told TDM about the plans for the 256K RAMdisk for the TS2068. It will use static-type RAMS complete with battery back-up. It will require users to purchase the Larken cartridge, as it contains the commands for the RAMdisk. Larry strongly urges any 2068 user who is interested in increasing their memory up to 256K to write to him, as he is com- piling an “inform when ready list", plus it will give Larry an idea of how much interest there is in this product. Also available now, are two new versions of the Larken EXTENDED BASIC/DOS CARTRIDGE, one for users of the Aerco FD-68, and another for Ramex Millenia K/SPDOS Disk System owners. Both versions feature full Spectrum compatability and NMI (non-maskable interrupt), plus improves the original DOS. For further details and prices, write to: Larken Electronics, RR#2, Navan, Ont., Canada, K4B-1H9.
WEYMIL CORPORATION (Box 5904, Bellingham, WA 98227) has released the DELTA DEVICE, a non-volatile memory system for the TS1000. A small circuit board contains 32K RAM divided into four 8K blocks which can be in- dependantly switched via a DIP switch to various lo- cations in the Sinclair memory map. Memory is backed-up by a battery. Included is the Rigter Operating System (ROS), which is a data handler/directory system manipu- lated by simple commands. Application of the Delta Device includes the ability to store several programs and recall them instantly. Price: $75.00 plus $5 (S&H).
In last issue's product/dealer news column, we reported on the excellent expanded new version of THE GUIDE TO TS TELECOMMUNICATIONS, but we incorrectly stated the price as $5...the correct price is $7.50, and worth every penny. The book is strongly recommended to
anyone wanting to learn how to use modems with their Sinclair computer. Lots of information for the advanced user too. Send for your copy: Pete Fischer, P.O. Box 2002, Tempe, AZ 85261.
Bill Jones (author of SMART TEXT) is starting a newsletter called: "TS-2068 Safe Disk Up-Date". Emphasis will be on programming, as well as the Oliger Disk Drive System. It will be published quarterly, and the annual subscription price of $12.00 includes unique dividers and punched pages to fit a 3-ring binder. For further information write to: TS-2068 Safe Disk Up-date, 1317 Stratford Ave., Panama City, FL 32404.
Silicon Mountain Computers (C-12, Mtn. Stn. Group Box, Nelson, B.C., Canada VIL 5P1) has released an ex- cellent new modem terminal program for the TS1000 called 2X-TERM*80. The software package uses genuine hi-res graphics to provide up to 80 columns of text (!) and windowing. Features include XMCDEM protocol for uploads and downloads, printer support, Upper/Lower case char- acters, Westridge or Byte-Back compatible, and much more. Price: $24.95. Write for complete details.
Robert Hartung reviewed the Spectrum program, BETA BASIC in the MAY/JUNE '87 issue of TDM. A new version (4.0) is available for Spectrum's with 126K. Price is £15.95 and is available from: Betasoft, 92 Oxford Rd., Moseley, Birmingham, B13-9SQ, U.K.
Markel Enterprises has a new address: 4712 Avenue "N", Suite 383, Brooklyn, NY 11234; and also a new BBS for Timex Sinclair users, called SINCLAIR AT NIGHT (718) 627-1293 (settings are 8/1/N).
RMG Enterprises has a Timex Sinclair BBS—-(503) 656-8072, hours fron 9 pm to 10 am (settings are 8/1/N).
Variety Sales (325 West Jersey St., #2D, Elizabeth, NJ 07202) is giving a free British Sinclair magazine (while supplies last) with each order received and the customer mentions they saw mention of Variety Sales in TDM.
Sir Clive's new battery powered laptop computer, the 288 has had some delays in delivery due to "bugs" in the software. All problems should be corrected by the time you read this. There is a limited special offer price for the 288--only £229.95. Write to: CAMBRIDGE COMPUTERS LTD., Cambridge, CB4 1BR, U.K.
Sunset Electronics (and some selected dealers) have new dust covers for your Timex Sinclair 2068, 1000, 1500, 2040 printer, and the QL. Made of quality fabric, these attractive covers prevent damaging liquid spills, and harmful dust. The logo tells everyone your proud to own a Sinclair. Write to Sunset for complete price list: 2254 Taraval St., San Francisco, CA 94116. Telephone- (415) 665-8330.
Users Group Update
Have we listed your group recently? Send us the club's name/address and get noticed!
Southeastern Michigan Computer Organization Timex Sinclair Special Interest Group
c/o Barry Carter, newsletter editor
Box 614
Warren, Michigan 48090
¢/o Tony Willing P.O. Box 199
GUTS/sV (Group Using TS of Silicon Valley) c/o Bill Miller
6675 Clifford Drive
Cupertino, California 95014
c/o John Scearce P.O. Box 88361
Clackamas County Area 1S Users ¢/o Rod Cowen
1419 1/2 7th Street
Oregon City, Oregon 97045
706 S. Mason
Kansas Area Timex/Sinclair Users Group c/o Paul Reynolds
4557 Cherry
Wichita, Kansas 67217
Vashon Island Sinclair Timex Association
Seattle Area Timex User Group
Tri-City Timex Sinclair User's Group c/o Mike Davis, President
Saginaw, Michigan 48602
TAS-BAM User's Group P.O, Box 48961 St. Petersburg, Florida 33743
Vashon, Washington 98070
Sun Lake User Group
Bill Ward, Secretary
1200 Lake Drive
Grand Island, Florida 32735
Seattle, Washington 96188
Timex Sinclair User Group-Philadelphia P.O. Box 53490 Philadelphia, Pennsylvania 19105
Westmoreland Computer Users Club ‘Timex Sinclair Special Interest Group P.O. Box 3051
Greensburg, Pennsylvania 15601
WMJ DATA SYSTEMS
**Serving the Timex/Sinclair community since 1983 **
* Free shipping on all prepaid orders!
* Shipment within 24 hours on most of our orders!
« Your personal check is gladly accepted with no delay! © C.0.D. phone orders accepted! (Shipping charges added)
TS1000
ACZ GENERAL LEDGER TS1000 $19.95 SUPERTAPE-45 PROGRAMSTS1000 18.95 TEXTWRITER 1000-32 col. TS1000 12.95 SPEECH SYNTHESIZER TS1000 16.95 STOCK PLOT TS1000 14.00
BOOKS AND ACCESSORIES KRAFT SYSTEM JOYSTICKSTS2068 $ 9.95
HACKER'S HANDBOOK ALL 9.95 BASICS AND BEYOND TS2068 7.00 C10 CASSETTES 25 for 21.00 C20 CASSETTES 25 for 23.00 TS2068 ACZ GENERAL LEDGER TS2068 $19.95 THE DEALER’S DEN TS2068 19.95 MACHINE CODE TUTOR TS2068 18.50 TOMAHAWK TS2068 16.95 NIGHT GUNNER TS2068 16.95 FIGHTER PILOT TS2068 16.95 CRITICAL MASS TS2068 15.95 SABOTEUR TS2068 15.95 BASIC TOOLKIT TS2068 13.95 MSCRIPT (specify conf.) TS2068 24.95 DIAMOND MIKE TS2068 16.95 COLONIZE THE UNIVERSE TS2068 16.95 STOCK PLOT TS2068 16.00
All QUICKSILVA Software TS2068 CALL WMJ DATA SYSTEMS—TD
4 Butterfly Drive Hauppauge, NY 11788
(516) 543-5252 (2 p.m. - 5 p.m. Best)
FREE Apple, Atari, Commodore, IBM...Catalog FREE Timex/Sinclair Catalog - Write or Give us a CALL!
6
TS Communique
By Joe Williamson
A forum for people having problens with their 1000, 1500 and 2068. If you would like to ask a question, send it to:
TS Communique e/o Time Designs Magazine Co. 29722 Hult Road Colton, OR 97017
I bought a QL and would like to know how to hook it up with my Zenith Data Systems RGB Monitor. If you can supply any help, I would be very grateful. Thank you.
Larry Anderson Davenport, IA
Dear Larry,
Fron the pin-out you sent for the Zenith monitor, the following connections should work. Be careful in soldering so that there arn’t any frayed wires or solder bridges causeing shorts between pins.
au Signal Zenith Monitor
Ground composite video composite sync vertical sync
Green
Red
Blue
if this does not lock the picture inte sync, try connecting pin 4 of the GL to pin 1 & 14 and eliminating the pin 5 connection of the QL. Also, I showed the connection of composite video so you can display either RGB or monochrose video which may help with certain video modes. ~Joe
Iam using a Timex 2068 computer, driving a brand- new Magnavox monochrome monitor (Model BM 7622), working mainly with MSCRIPT word processing software. 1 continually notice the following synptons:
1. Usually, the malfunction first appears as a flickering of the screen display. After about ten minutes, the video signal is lost and the screen shows only a normal raster (blank lit screen). Sometimes the signal is not entirely lost; very dim words and letters of the text are visible on the screen.
2. Manipulating the brightness and contrast controls of the monitor does not restore the video signal to normal, Turning the monitor power off then on again does not restore the display.
3. Turning the 2068 off then on generally restores the signal to normal, but then of course everything in memory is lost.
4. The remedy that seems to work nost of the tine 1s to pull out the plug from the 2068 nonitor jack and then plug !t in again, whereupon the video signal usually returns to normal strength.
5. The symptons described above are the same whether I am using a three-year-old 2068 or a two-month-old 2068, @ fact vhich seems to indlcate that the Magnavox monitor is at fault. However, there still could be something about the 2068 nonitor cutput circuit which is causing the problen.
6. The output from the RF jack of the 2068, which feeds an ordinary television set, remains constant and strong without any of the symptons described above.
Seynour Miller Forest Hills, NY
Dear Seynour,
Because you have the problem with both computers, It would be most reasonable to think that there is a Problem with the monitor or the monitor cable. Try jiggling the cable at both ends to see if the symptons come and go or replace the cable. To see if the problem lies In the computer, try another monitor. If there is a Problem with the computer, there are several places to
check. Video Is processed tn the SCLD and comes out pin 33 and on the RGB lines (pins 48, 47, & 46). You Would need an oscilloscope to check for activity on these pins.
The video then goes through the sync & white level control, VRI (try adjusting it to see if this clears up the problem) and feeds the base of @5. the signal comes out on the emitter and feeds the emitter of Q4 and out the collector of Q4. From here, the video feeds both the RF modulator and the video output circuit consisting of @3 and Q4 which have been known to cause problems. The video signal feeds the base of @3, out from the collector, feeds the base of @2 and out on the emitter through C5€ to the video out put jack. Determining where the video is found and then lost can tell you where the fault Is quite easily (one of the easier circuits to follow). I have seen alot of video problems traced to the SCLD (unfortunately) and Q2 & Q3.
As I stated before, your problem sounds like it is In the monitor or cable. Look there first! —Joe
I read the letter from Mel Routt in the first 7S Communique. I seem to have the exact same problem with MSCRIPT. I have an Aerco parallel printer interface connected to a Blue Chip M120/10 printer. I get the yandon printout glitches on both tape and disk versions of MSCRIPT. Tasword If and anything typed froa Aerco RP/M work fine. I am also looking for a CP/M word Processor.
For some reason the print fron my Alphacom 32 is smaller than usual. The letters vary In size during the printout. This happens on both the 2068 and the 1500 so the problem is in the printer. Is there a solution for this?
I have an Aerco FD-68 Disk interface connected to a Zenith ZVM-13i RGB monitor. I can see faint lines moving on my video. In RP/H, the letters appear to shinner This appears to be sone sort of interference. The cable from the FD-68 to the monitor {is shielded so the interference does no.come fron there. Someone told ne that it may be coming from the 2068 power supply. Is a better power supply available?
Dave Bennett Lemoyne, PA
Dear Dave,
Mel Routt wrote us back and sald that since he recelved Version §.2 of MSCRIPT, the problem has disappeared. So try trading up for the new version. The Alphacom 32 problem sounds like a damaged pin heater. Your best bet is to replace the whole unit. The Interference problem sounds like a buss loading problem or poor sync. If the problem is there with only the disk interface connected, nore than likely lt Is from poor syne being stripped from the video. Try adjusting the sync and White level adjustment inside the computer just to the top upper left of the speaker designated as VRI. If this doesn't help, you may need to check the actual syne stripping circuit on the disk interface. If you have an oscilloscope, look at the sync line. You should have clean, steady negative peaks with no tearing where the peak starts or ends. -Joe
In your Banner progran for the 2040 printer (18 1000) in SUM Magazine, May 1986, I can’t get past the line:
30 LET LEN=LEN Mo
It cones up with a syntax error. I have tried several things such ac “" etc. to no avail.
A. . Francis Yucaipa, CA
Dear Mr, Francis,
LET and the 2nd LEN are both key words and need to be entered as a single keystroke. The first LEN is a variable and {s just typed in L-E-N. ~Joe
STARFLEET 2068 is an all BASIC, low-resolution graphics, shoot 'em up space wars game for the Timex Sinclair 2068. The program listing and CK-TYPE output (to aide your typing/debugging of this program--see May/June '87 issue of TDM) is printed below. STARFLEET 2068 is also available on tape from Lemke Software (2144 White Oak, Wichita, KS 67207) for $9.95 ppd., in case you want to try this game, but don't have the time to key it in.
Sceneria: In the late 1990's, NASA finally perfected the first WARP DRIVE engine. Earth Federation, a joint US-Canada~European space agency quickly arose to control deep space exploration. Over the first several decades, 9 major STAR BASES were constructed; 1 at the edge of our solar system, and 8 others nearly equidistant from this home base. The year is now 2068 AD. After nearly 70 years of exploration, it was beginning to look like we were alone in the galaxy...until THEY appeared. They made no effort to answer our communications, gave no sign of peaceful intent~-and as far as we know, might be purely mechanical (computerized) devices. They simply came, de- stroying everything in their paths. They caught us by surprise. After 70 years of uninterrupted peace in space, Earth Federation had only 1 armed Star Ship left in space active service--the STRATA-GEM. The ship was hastily fueled, its crew briefed, and as the aliens were about to attack Star Bases 1 and 8, the STRATA-GEM was launched to meet the attackers. YOU are the CAPTAIN. Battle Stations are sounding. Good Luck!
Armament: The Strata~Gem has Electro-Magnet "shields" to repel the enemy weapons. Full strength is 10. If they go to zero, good bye!
Weapons: You have Photon Torpedos (for longer range shots) and Phasor weapons.(for closer range shots). The number of each depends on the level of difficulty.
Sensors: Sensor range is 3 parsecs, at full strength, but will vary on shield strength (ship damage).
Engines: You have WARP Speed capability (Warp 1 to 3). You have 20 units of fuel. (Note: the faster you go, the more fuel you use!!) WARP 1 moves you 1 parsec (row and/or column) per move, WARP 2 moves you 2 rows and/or
columns per move, etc. If you run out of fuel, good bye! Decking: You must DOCK to refuel, repair, restock armament, etc. The Star Base will not lower its shields
(necessary for you to dock) if there are enemy ships in the quadrant.
Surprises: Yes, there are a few. If a Base refuses to lower it's shields, try-try again. You may have just been a "Bad Captain" and need to pay penance! There are 6
levels of difficulty!
How to Play
STARFLEET 2068 has 2 screens, the navigation screen and the weapons/tactical screen. The navigation screen shows you a map of the galaxy: stars, bases, your ship, the enemy ships. The weapon/tactical screen shows you a "close-up" view around your ship, also the range of your sensors (a circle). Anything inside this circle is "fair game" for your weapons.
on the Navigation screen, "HELM AT YOUR CONTROL" will flash, telling you that it is your turn to make a move. Use the joystick to command your ship to make a move. You can change the WARP SPEED by pressing numbers 1 to 3. Press "D" to DOCK, press "W" to go to the WEAPONS screen.
3
SPACE ARCADE GAME
by STAN LEMKE
NOTE: to DOCK, you mst “fly" your ship into the STAR BASE User Defined Graphic you wish to dock with. Then on the next turn you command "D" (dock). DON'T try to fly thru
stars or other ships!.Press "0" (zero) for no move, as in station keeping. On the Weapons screen, you will see the map "close-
up". Here you will see that Docking really places you just beside a STAR BASE. "WORKING!" will flash when you first go to this screen. The program is calculating the range, distance, position of everything for this new display. When the screen is completed, you will see your ship (center of the circle) witha" " User Defined Graphic flashing on it. This is your weapons “cross-hairs" for aiming at a specific target. Use your joystick to position this on the target of your choice. When ready, press fire. At any point prior to pressing fire, you can select your weapon: press "I" for torpedo, "P" for phasec weapon. If you shoot at yourself, thie is a signal to abort the shot. Press "N" to go to the Navigation screen.
The program (isting).
ype in the program, SAVE it to tape with RUN 4040 CENTER], (you start the program with RUN [ENTER}). LOAD in the CK-TYPE program (see May/June '87 issue of TDM) and run it to help you find typing errors. Correct these as required, and re-SAVE the new copy.
This program uses 13 User Defined Graphics as 8x8 pixel Sprites. These are easily identified in the program listing as single INVERSZ VIDEO letters (A thru M). I did this by redefining each UDG as the inverse of its letter. This has no effect on the CK~TYPE, and requires no action on your part except that each time you encounter an IN~ VERSE VIDEO character, you know it is a User Defined Graphics character (and which UDG character) and you must type it in with the "GRAPHIC" cursor command.
The program also abounds with REM statements. These are quite helpful for programming/debugging purposes, but if you remove these from your “working" copy, you will increase the program speed by at least 25%!!
80 2) ed 148 Go To csae: Ren Eee 150 8 48Q REM sex Clear Messages s#%
270 REM ry
RN pai® PRINT AT @,49; "Time = "IFN 220 PRINT AT hO;TAB S43" $
18, ime =
103 °T FN RETURN
= f e1<@ THEN CLS : > per rereeerretiress run aut of fue! sation is doomed.
pis lost. eerrety $234steeieenszgseseeean’: GOTO 3840
280 FOR joi Toi: oo ET fej) ="BR: NEXT 5 ) TO 28: LET rgts PRINT AT 18,0)"
290 _IF i>=10 THEN PRINT AT 18.9
FAPUEL =") INK Gp ra) TAB 28; IKK acres
300 IF 125 AND ici THEN PRINT AT 18,0; “FUEL ="; INK 8) Fs) TAB
BS; Thk’ 9: fuet 34@ IF 4¢=5 THEN PRINT AT 19,2 MFUEL =") INK 2: rs; TAB 23; INK 9; fuet
320 FEM
230 REM sex Weapons Status ++ 340 REM
S50 PRINT HE;AT B,2;"Torpedo= ” {PLSTAB Ja; "Phaser= "jpn, TAB Oa
360 PRINT BO;AT 1,Q; "Shields = INT (Sh#10} 739; TAE 18, "Sensors RINT (8n310) 718; TAB 34;" "
RETURN 378 REM 228 REM
THEN PRINT aT bt aay Kinks; "Bi": LET jes
vogstix se
SOQ OUT 245,44: LET sti=IN Sie If stk «128 THEN LET Bs=CHRS 15
RETURN
REM ses Target Loch s#2 REM
LET dix=tx2-x s(ye-91) 28 AB: BS gluco] THEN RETUBH 560 PRINT AT
B 6; FLASH 43”
tis; FLASH Qi Tae 32
S70 FOR b=5/T: u
LET xpaxdeiNT (dienes LET gp oud SINT id tye}. IF BOINT (xpyyp) T
HEN co ra saa
883 NEXT LE: $9 SUB 18¢. RETURN 580 IF Aes’ ive AND BBS ¢ yecapl (a4 THEN a5" 508*s8a! BEFua
LET ue
sig REM 530 REM
Tio te bse” TO t4e0
75@ REN 750 REM a2 Na
tion ##e
LET wramwf
PRINT AT 2
bg>="1" AND bs SICQDE bs) -43 hace Factor = "wh OR bS="U" THEN GO OR pes D” THEN GO 850 IF_FN hi)-timd>s@a-ranke2 T HEN Go To aise
550 CHRS 45 THEN Go 2 THEN Go TO 610
308 BEN sex Your move #45 $38 SF's
20 IF stk>=4 AND erg cB) 2818) ta?
LET diersdtaieia
a;
980 IF gd2k THER PRINT AT d(a), (2); INK inko; "S”
100@ Go SUB 21. "LeT ci2i,1)
Vs LET c (21,2)
LET fuel=fue law raw
2010 LET L(Sil=FN cided) de) 1020 REM
2030 REM 222 ck Collision se 2049 REM
2050 FOR iz2@ TO 20: GO SUB 210 IF U(G1)=t(i) THEN CLS > PRINT URESGEEERSSERR TEESE ELE EE ESE EE SES = You have just run into a Star and were Uaporized! The Federation if doomed.
1080 NEXT i = TO je: LET i
3 ij} GQ) THEN Go To 1a jes
SD
oad ition
2088 NEXT j: GO TO lisa 1880 50 SUB 2629: LET je= GRk=i TD je? LET $k) 25th
1110 REM 233 Move Aliens #42
1128 REM
i280 0 SUB ipo. FOR jst. 7O Jes, PE IP is=B AND i (aid Th
eT a then PR
UB) Ec
ok Collision saz
i}s((94) THEN GO SUB 2 AT gid) 4 (B); INK ink 5 jesjest! FOR k=
2: Cet gitiisikei). NEXT k lisé fen
120 REM sxx Star Base Stats #24 2210 REM
4550 IF ii=6 aN US -24a: Fe fei: T bibi+10) 20:
BS been deste be=e2-4
STARFLEET cliBA
az THEN LET b.
43 Alien Gttack ss 33.
45; )
FN
a
SUB 218
clerank 61
tlsrank/eh LET dmg =an FNCa iio
DB) xB-x4) (ue ab, bti Bi; Today pa iba 1330" NEXT
mission time: "FN
: oeshTgseezes Bs" PAUSE @: 8
{358 TF-hitoe sup eh<S THEN LET Bhsshe.8
1360 IF hit>@ GND sh¢S THEN LET mursINy iehe.441)
137@ GO SUB 350; IF hito@ THEN P
2380 IF move THEN GO To Bsa 3899 Go TO 750
4490 REM
2410 Beh 444 Star Base Dock #45
4430 SUB_18@: LET moye=i: GO Sib 88. Pen Peis Fo S!° Fe Ta Jeti THEN GO 70,458
4440 NE: T 28,0; se OFbit"; ing is not possibte!": 8: PAUSE Sa: GO Sua 212 @: GO SUB Bie; so SUB Iga:
Tar 2¢ wer their are enemy" hips in the quadrant 240: PRUSE 90: "60" SUB 30: GO SUB 200: G0 5 TO 4:30 1480 NEXT j: IF dock=i 71 Us 200: PRINT AT 20,35" rbit is verified. "TRB 8. t is initiated. ": LET fuel, + NT (RND349): LET ShoshsINT (RNG: 20): LET snosnsInT IRNDS6): LET Ptspt+INT (ANDZI@} B T {RND310): GO SUB 24a: 80 SUB 2: GO SUS Big: PAUSE 5B: 6
Bo TO 113e 1470 TF Jocks THEN LET doc kei: Go SUB 20@: PRINT AT 20,0. Docking orbit is verified. Star Base refuses to lower
PRINT #j;AT 8,0; “shields iy is impossible.’ ": GO PAUSE 62: GO Sus aie USE Ee GO SUS 218: co Sus 19: 85 Sus 359, Bo TO i158
2493 REM zzz Ck max toad se¢ 4800 REM 9540 TF fuet>2@ THEN LET fue S580 LET mut =: 2530 IF shomsh THEN LET 3542 IF snomen THEN LET snamen 155@ IF ptompt THEN LET pt=met 1550 IF phomph THEN LET phomsn 3570 RETURN 1580 REH 4590 REM sez Weapons #2¥ 1600 AEH A812 60 SUB 200: GO_SUB 21e; FAI ° we
RT AT 20,8; "Weapon Conic A,"Prepare to select yo
LET wensi: IF phopt THEN
REM #2 Tactical Sern #54
LET Loc=FN ce dtloch: LET ya ET xeexd: LET y2-92
,26)44: LET x Netioce:
Continued Next Page.
STHAFLEET ali6
1679 LET Js=0 20 To 30:60 INT
INK ink7j4$i2 “TTAB BL!
NK ink’; EINK 8; 52
ogierng: Go 5 B; FLASH 1; "Uorking!
REM
REM ga¢ Count Aliens ###
REM
LET movest: LET irngs@: FOR
1. TO 40. GO SUB 228, CET Fa, CEPA BCU) 3 Gy e349) AT CPN BCL GN) oind ¢
TF ffi,d) 98 AND Ftisd
Fid,21207ANO F.2) Se
THEN LET irngsirng+2: LET 3 tirng
222 ye.) LE Mg (x2) meg ohee te 7 ra) 3 O: + K
%, ib
(3 ja2e)
INK anki; "SP
3898 LET timer=FN ht) 420-29 1908 RANDOMIZE USR 61244. PRINT ATEN? (g2),FN gizai; ver i)“ 1919 Go SUB’ 229; IF FN nf S°N": GO TO 2078 usr 61253 BINKEYS: If bs<3CHRS G2 THEN
gus 8050: co Sub 2850: G0 7
193@ 20 SUB Soo, IF bs 23 ANS stk=@ THEN PRINT ATEN FiyZ) DEN gixBi; OUER i; "I": PAUSE 18
BGR sths6_O8 £th=10 u2—8# (42257)
DR StRES OR stk e+e ive i7il
LET xBaxB-8= Gabe PRINT AT EN Flug) FN 3&2); OVER 437m"
4980 IF BAC CHAS 13 THEN 20 TO
IFS 2
$018 G0 cue 288: Go SUB Sse: 60
To 2180
2020 FEN
2038 REM se Setect Weapon +##
2042 REM
B0S@ IF bg="T" OR bs "BY OR bs"p" THEN LE
1" THEN LE
bere iF bs OR _b$=2"n" THEN &
SUB 19a: PRINT AT 19,0; "Enginee
Gingagrregers Hee? Brave": G0 5 ae: GO TO 758
2032 RETURN
THEN PRINT AT 23 | INVERSE 4; "Arming Photon Tore! ene
2100 IF wensé THEN PRINT AT 16. 5 INVERSE 1; "Charging Phaser ez pon"; INVERSE @; TAB 31;
2120
Bib
Biza
2143
E150
@ THEN
2160 LU
xB)+ (91
2178 Go 3
NGO SUB i9@: PRINT AT 18,2) “Wes
POMS Can Mat Lock onto tafser Tacget is qui of range.” 0S
up eat ep sus’2e0: eA
USe se: co sup Sece: To 908
gise@ If wensz THEN GO TO 2260 2190 REM 280 REM sss Photon Torpedo ### Beie REM E220 GO SUB 220: LET rx@=22RND- Ge ey tte taed Go Sup LS Pernt AT ls,4; "Torpedo bank is expende div: G0 SUB 22g: PAUSE Be: G0 5U B 220: G0 SUB Bo4a: GO TO 2522 2200 LET plapt-i: LET npis=InT ¢ tangess): IF nets (= THEN LET np 52 2240 GO suS_190: LET ptrsisnets LET dixsixa-xii spts: LET divet ye-yll nets: FOR i=i TO npts: GO SUB 220: LET px|xi+iNT (a txeit LET Pysy4dINT taQyail: PLOT INK Sipx py: BEEP .@2,50-is2: INVER SE a: PLOT Px pg: INVERSE O. PAT NT AT 9,36; INK inka; "E> NEXT i 2258 GO'To aa72
REM REM 42% Phaser Weapon #24
Bi
GO SUB 220: LET rx@=a: IF
THEN GO sue ise. PRINT AT
2.5; "Phaser bank is expended!”
GO SUB 220: PAUSE 5a: 80 SUB 220 SO SUB 2549. G0 To 2580
2300 LET pa=ph-i
BSi8 GO SUB 499: PLOT INK inKezx
Ligh, RAY INK 9; bf@-x2), (y2-4d) BEEP
BaBS"G0"SUB 22a; INVERSE 1: PLOT Xdsyi: DRAW (x2-xi), (y2-yi): IN
VERSE @ :
2380 PRINT AT 9,46) INK inka; “
2340 REM
B3s0 REM sas Hit Something? #2
2870 LET ex seN fu2) LET cx=EN, LET dmg fer Rit
TO tirng+Jsai5): 60 SUB Ege
yor dF j2ieng THEN LE £404 j-iens)
Foi>(irng+is)
wo
THEN LET i=9
Beg agphUsE Be: Go sus 2648: OT
Bao Se i cate THEN PRINT AT 18.8 RSTacget was hit Ler amg @O=RND- (range-exO4QNO) 23: 2: TF _dmg<@ THEN LET dma. ge0@ IF amg> 2498 THEN LET dmg aia
Beeo LET Ft G,3ladma: IF Ff (2,33 (19@ THEN Go TO 2512 2458 PRINT AT fis 2). Fa,
21-8: LET 2!
40 THEN LET jist. FOR j= To ling: fe g ej) coi THEN Ler aid Abeg (ji: Ler jisjiia Ba7a@ GO SUB 22: NEXT i: LET in g=icng-2 2450 REM BaGO REM 45% Hit Ster Base sae
2520 REM
250 REM see Hit a Star see
2540 REM
2850 TF i>=20 ANDi (=32 THEN PR.
NT AT FG,4), Fi, 23) INK ink7s
"; BRINT_AT 19,0/"you just shot
a Star. The solar flace® gestroye
d your “sensors! "GO SUB Bei
CIRCLE INYEASE 1; xi,yi,Bdasn: P
AUSE 69: GO SUS Bad. PALISE 5a: 1b Sn=@: G0 SUB 2940: GO To 2608
2568 REM
2578 REN sxe Hit Alien Ship #26
EM
Bese PRINT AT 19,6; "Taraet Damas
ec “SINT (Ft 3) $40) 710) © £ (i 3) 40@ THEN PRINT AT fx, INK'inkS; "g": PAUSE 12a: 80 Bada: Go’ TO as00
10
PRINT_AT_19,9) (FLASH ai Ta
2710 REN B272O REM zz Got 1a more 44% 2728 REM 27a@ FOR i=a to ae: Ler fii .32= NEXT i: LET rankerankei: CLS
IF score>=53 THEN GO TO 2858 2759 CLS: PRINT AT 2,0) "sEee532 fhragesgsiszeressszsaiass Congre tutations! You he ve SUCCESSfULty defended the Fe deration against 1@ enemy Star bips. "i775" For your great vic Ory Ovet the enemy, the Federat en Council” has promoted you
the rank of") 77 ;TRB 1d; rgt( K-2}3254¢2) TO) (ranke51); 775 ep up the good work! The next ve of ships has already been stted on the ong range nsors. pcteterrrterrertereterse tse rea 2760 PRINT AT 21,10, FREER OTH K7; FLASH 1j;"Press enter": PaAUs E98: ccs 2770 REN 2780 AEM szz Next Wave #3
REM
2O08 PRINT AT S/O) “sseaeeeeeetes Fetasseesisezszisis The Federati on Council would lite to ints fm you that your ship wit re ceive new shields at your next Star Base stop. The last inf ormation receives shows that ¢ he next wave oF invading shi PS have improved their weapon range, Bec arefruu! prererererrers seesesazitaarazaae": BRINT AT 2 3,10; PAPER 9; INK 7, FLASH 1; "F Fess Enter”: SRUSE @: CLS
2818 RESTORE 630: IF_bi>18 aR 5 2230 THEN LET 5: LET bBes. 820 FOR i=1 TO 19: READ a: LET tG NEXT i: LET bisbi-irant- Ay: LET besbattrank-1): IF basi THEN LET bi 2830 IF b2>8 THEN LET 2548 For in=a TO" (pa-1) 30) 28: NEXT i: FOR i=tbi LET (Ci+i0) 20: NEXT i Se ieank-4) 32. LET mptsstrank=1 LET mph=5+rank-4
ge8 LET storesscoresi: GD TO 84
Ba6@ REM
BS72 REM zee ALL Done! sae
2080 REN
BEB CLS : PRINT AT 2,0) "4eeeses Bagszsagssasseessgssgsess Congra
tulations! You ha ve successfliy defended the Fe deration against all of the in veders! Wag to go hot shot! 2EESSEE F35EEEEesrEEisareasteeeisTotal ft
assion time: “;FN A Gi" seconds ibasagasassgasgzazsiassssaeta+ PRUSE 9. G0 TO 3530 2306 6Q SUB 15a. PRINT AT 26,0;7 34; eo Td 1788 Baie een 2920 REN s2% Alien Weapons #25 2330 REM a B9a@ GO_SUB 199; LET hits@: LET dmg=0: FOR j=i TO icng: 80 SUB Bo: LET izgG}: IF ABS ¢ TeatS.asscank) AND ABS _t br csid.aesrank? THEN LET 1: LET amg=dmg+RNDsrank iigcank soe: LET (ocx=FN Nd %
fli ,B)ied: LET XSF ét yarn e(toex): PLOT, X3,45: DRAW INK inks) C S06); BEEP |.5)45: INVERSE 2 TeSys ORAU (xdoxa) yay
NUERSE @- PRINT AT fii 1). det sathety (OT BSso Next J Ge hat28, THEN GO. SU B isa: PRINT AT 19,2; "Damage con trol: “jhit;" hits on shield": &
2960 LET sh=sh-dmg. IF sh<=O THE NSLS: PRINT AT 10,0; "sase4433% Sageeseeseeaneaessasehs YOur shi elds have gone down Emergenc y Procedures are in effect.
bandon Ship !!! preteseeeg seagesagesssazasseaseee": BO TO
3940
2970 REM B90 REM sxx Alien Tactical sss 2950 REM
S080 TF hit2® ANC ehiS AND sn coe THEN CIRCLE INVERSE 1ixt yl, 2 sn: IF 59079 THEN LET GO SUB_S59: CIRCLE xi O10 LET ira
2020 REM 2030 FEM ss
3040 REN
3050 FOR jsica TO ieng. so sup 2
20: LET izstiv: IF toil =4OR G58) AND ¢F tijd) i)a) <8) AND fF G42 72) <=03) THEN PRINT aT G32); PAPER ink3j"
einT’ FG 3-5eNn
iN 8) gi-rant faaae
3030 IF .(it>d AND AND (Ti ,1) 028 AND oF ND (FG 3)>=8 AND F¢ EN PRINT AT For. d) Ff inksit on) LET Fix ,a 34¢7-36N_ (RNB. A320. LET FE 8+56N (RAD. S 2): PRINT ATF inks; "B": LET vores): LET x 473) 4dtB) LET
3290 REN
3119 REM sex Ships 3 & 3 #25 Bi2e REM
38 AND
ies au)
ND Cf (i, 3) >=0 aN! BN PRIN} AT Tad) AnkSp" NS LET FUG 134SGN_(RND-.5
‘
)
+
Ys PRINT AT fi
HRS; "i": Ler xr
@ledtiy: Ler xco
3140 REM
31SQ REM s2x Ships 4 & 9 a3 Sipe REM
3178 IF ((ito@ AND BND
a NO TH EN PRINT AT FUG,1), eR imkSi" "> Ler Flas ial }4(1B345GN"(RND-.5) 3 iQ B72): Ley FG 7B) at 28456N) (BND-.S) $146 $f) Ye): (PRINT AT Tila NK. inks; “Ei: <8 A v3red Ch) “2 By 7aiset) : Sy iso REM
Bie
2190 REM ssz Ships S & 10 2 3208 REM
3210 IF Lid o@ AND ¢ ARN? {£1.22 250 BND
bad >
Kb: Ler’ jinjisa
EXT Ki LET ifnasicngnt Sti: GO SUB 1st: Go TO
3280 FOR k=1 TO_js: GO sus az0
Ler ki@=n430: Ie Fi, d) =f igikiay ai} AND _fti,2)=Frgikia THEN 80 TO 3550 3290 NEXT k
3200 REN 3510 REM zzx Star Base Stats sxs 3320 REM 3858 FOR k=1 TO jb: 80 SUB 220 CEP kiQsk4e0: Te Fei ;a) sig the! 23! AND FG ,2) =F ig (ki! 2) THEN 80 TO 3373 $340 NEXT k: co To 2490
SSO GO SUB ist: PRINT AT 19,0)" Bn enemy shipogust Tie Inge s Star and was vaporized!" : PRINT AT FCi,2),f {i,2)5 INK ink7; "S" 80 SUB'2S0: PAUSE 120: IF score= 9 OR score=4s OR store =29 OR sco re=39 OR scoresd9 OR score=S2 TH
yo e710
Sara 60 St IF gikag)ysa1 8 £379 (eo o90e 260, Arad RAR iat ET Ubieio) 28; PRINT AT 20,0) “St
j* has been destroued jae? "Cer stesso
PAUSE
22: IF. (a) =0 THE SAND Blc>4@ THEN LE FREN LET Le AND bi>=9 THEN LET
coresa: LET bli, O: LET fti tind
aE ES To ing: TF 9 (k) <> i then! Per" styl? = sa
3
3450 NEXT kK: LET i Dirasyei: Go sue
3490 REM tee S TART exe REM
3510 CLEAR Sizd9: DIN tas): DIM (28 {704) DIN baa): IM b cig.) IH cigi,B): DIM csi512): Sin (2): DIN dgisiai: DIM et19,2} IH fg (BOs: DTH fF ise@,1° DIM 9is }: OIM teal: DIM pial: DIM cs 201: DIM s(2i: DIM #11321: RES
BO REM SGQ REM sex MO Routines se
REM @ DATA INT _17,91,259,35,0,64, 218,257,176, 201,47,9,64/33,84 9, 1,8,16,237.176.001: FOR i =8 4/TO 6iz6e: READ §: POKE i, J:
3570 REM sex UDG Data se
3590 DATA INT @,12,0,48,128,56,1 B,255,1,8,125 0.24 ,24,0,54, 78,42 8,25,0,4,0,124 368,48, 129,12, 42 126 ,24,0,1,0,i28,56,136,130, 335
aanige 38.05 Ssh a? 1295219,2
28% a [2,@532 Bab ,0184,24 24, e888 08 8.1 8.15 3 18,6,42,0,48,1,0,8,2,1 255,423,
Bega REM
2819 REM #23 Init. Position #43 BE20 REM
5838 DATA INT 7,7,7,7,7,28,25,25 225 ,25,80, 158,282 405,454,394 36 2,188,372
3643 RANDOMIZE
BESO REM
BS6O REM a2 Init. Usrisbles ase
3570 REM $680 LET ad LET score=O: LET inki=6: LET ink2
s4: LET inks
inke=6: LET ink7=7: LET F$(4 TO OO} ="Captain Som odare Rear Admiral _ Vice A dmiral | Admiral Fleet sd mirat BORDER 1: PAPER 2: INK
3690 CLS : LET tiai=O: LET tiar= Bo LET tiG)c0. Ler tidsce, Ler t =O: LET ti6)=0: LET t(71s45; dey Pay Sp, Ler" covets! Ver ein Br=16: LET titi) =15: LET tiie) =1
46: LET t (14) =13
Poke UDG #34
19.7 POKE
FLASH 4; PRINT AT 5,2)" Alert! Alert! Alert Star Cruisers have inv Federation’s territory, Gaptain of the Star Shi Gem. You must protect a Fedération Star Bases. our last hope!) ° 75" Bood Luckt™
VW
oVAAFLEET 2GB6
3380 FOR i=1 TO 49: READ a: LET (Gl sa: NEXT i
233 (AN Vai: fuet=28: LET mish LET msn=S: LEY sn=men: LET mpi S: LET pt=mpt: LET mph=S: LET ph emph: LET muf=2 9890 LET wrel: FOR isii TO 49: F ORJ=88 TO S@: IF cij=tti) THEN
Ler
$0. T0450) zagcd To 380) 481 TO S12: LET c#ti}="H": NE ig POR ize0 FS se
ET fi ,2)=0 i: LET’ move =:
LET bR=8: BEEP 25,90: POKE 2367 4,0: POKE 20670, POKE 2S872,8 60 TO osse
3932 CLS
5840 PRINT AT 0,0) "ssseeersseres Saeeaseraiagees sais You have Suc cessfully destroyed"; INT score; ”
enemy ships! "; ;"Thankysu fore 300d game! Press Enter to continue. SESESEESESESES sestaeetaiseseesaeToial mission time: “JFN RUj? seconds"; ; "#33
SESERISESTESEEEISEE AGES SEES ES"
PAUSE @: IF INKEYS=CHRS 13° THEN
CLS : GO To asia
9950 REM s4z get ready #44
8980 ChS_: PRINT AT 10,12; PAPER
2B) INK 7) FLASH 4) “Alert!”
3870 SOUND 7,62; 8,15)
33958 FOR To’ 3! For is25@ TO
420 STEP -S: SOUND @,i: NEXT i:
PAUSE 4: NEXT J
S990 "PRINT AT ig,7; eAPER 2) INK p"Batile stations!”
TO 3: FOR i=259 TO
SOUND @,4: NEXT i:
PAUSE 4: NEXT J
4018 SOUND 8,259.0; 10,2
4020 FOKE 29674,0: POKE 25573,2
POKE 23572,0.
4238 GO To 640
4040 SAVE “Star Fleet”
CK Type
Line Bytes
10 2 Bs Bo 45 32 as 40 33 5a 25 53 26 22 29 8a 26 32 34 190 36 Ett) a7 abe 2S 130 8a 440 23 150
160 4. 373
180 cc] i390 rg Boo 48 BIO G 220 4 B39 38 240
250 ci 260
270 13 53a 133 259 a7 $00 87 519 76 seo 2 Ferd 24 340 2 850 bo. 563 127 370 2 569 2 330 310 402 3? 410 134 420 3 433 1s 440 3 450 34 450 ai 478 2 480 ea 430 2 502 B. 510 ai 520 a poo Bi 540 2
STARFLEET aGBaé
ra a fr) 8
%
pena tater ge pes SD Sis cad agi eed SOTCoGaS
he i Cs o 8 a
i
cong ohra fo a AD HD
IO Re Tee
io a
Ne 5h i
a 4. 7
aes Se a es)
PLS An ML tei] cy
is Snap a encarea ROO e= hae r= Gach A ce Fem eo
DY emamO OF oa ga hahs POISE anes aN MY AGC ADTOND
aes
NPeE B
Py
ee
Puno oe Tat Rbegersenes Jonah sea
fof eNO RAND Ca CLOT com U ny pat fe ROE
0 C4 CT fe EH Prsted ates SANIT tote et ar Tenet
ib a
6h su Oo
Ka
Sian uke hy
Pe
ana POD Nae Na MIAMI COCA
2
BF beter) S
o one a
o
Range e eee
EME TON RD PIU h bp EO-youU BuDTU ND. ipa mn ct
20 EO Gf Ma Pe od fea eae SANDS fee COP a PEPaI ROE TSTN SESE MoO OOM Oeee Hm
a
IGGOSISISOSSOSCIITEIO
3 H & 8 A i) 3 4 3 Ei 2 3 tf
5 2
i) ied
D
a 8. o
ba on td
2 Fs 3 & 2 2 Fe 3 -
How does it work?
Here is a brief description of the major sections (and a little philosophy) behind what makes this progran work. This won?t tell you everything you'll need to knew about writing a gama program, mer everything there is to know about this program, but it will
tell you enough to make changes to this one, and even cheat {7 you want too!
Lines 10 - So: Title/Copyright notice. Be sure to include this!
Lines 60 ~ 120: These calculations are used over and over in the Program. To save memory, they are defined as functions. They are
used to calculate row/column position from x/y pixel position and
Line 130: This line reads the system ‘frames? counter and Calculates system time in seconds. [t is used ta calculate the GAME time, and also the elapsed time from your last move. If you take too much time to make a move, the aliens will take their turn. The time to make aturn is shorter as the level of difficulty goes up!
Line 140: This line re-directs the *RUN’ command to the orogran initialize routines starting at line 2510. (These are at the bottem/end of the progran because they are not used very often, the routines that are used the most are at the top/beginning of the program to help speed things up!)
Lines 150 - 220: These lines *CLEAR’ away old messages and print the Elapsed Game time.
Line 250: This sets the SOUND command for the soft’ exploding ship.
Lines 240 - 310: This section checks how much fuel you have left. It also prints the ‘fuel gage’ marker in the appropriate color, GREEN for lots of fuel, YELLOW for mid-tank, RED for low!
Lines 520 ~ 340: These lines print the Weapons Status.
Lines 370 - 440: This section converts the ALIENS, STAR BASES, STARS, and YOUR SHIP coordinates from the Screen Location array (L) to their row/colum ceerdinates. Then the Navigation screen is printed. NOTE: to check the position of a star, base, etc, against any other abject, you must compare the row and column, or x and y positions, this is 2 coordinate comparisons per object. When you start checking 10 ships for collisions with 9 bases, 11 stars, and your ship, it becomes very time consuming. Therefore, { created a single array (L), that defines a combined Row/Column location as a single value, thus reducing the comparison time ta half ite former time! The time to calculate this is easily compensated because there are a lot more camparisons than calculation loops!
Lines 470 - 510: This section reads the joystick using an IN/OUT command. This simultaneously reads both joysticks and is much faster than a STICK command that reads left only or right only.
This methad allows you to use left or right joysticks without any program speed penalty!
Lines 520 - 610s "LOCKING ONTO TARGET!’ While this message is flashing, these lines are checking to ’see’ if there are any objects between your ship and the selected target. This is done using the POINT (x,¥) command. If POINT ts 1, there is an objec! at that X,Y location, If POINT is 0, no object. The first object encountered is set as the real ‘target’.
Lines 620 - 740: This is the NAV. screen menu. Just press the letter associated with your choice: N- Nav, W — Weapons, D ~ Dock
Lines 750 — 680: "HELM AT YOUR COMMAND’. It?s your mave! Lines 890 - 1010: Move. Have enough fuel? Reposition your ship. Lines 1020 — 1090: Check if you “hit? anything when you moved.
Lines 1100 — 1140: Move the Aliens. 5 aliens move clockwise around the screen, 5 aliens move counter-clockwise.
Lines 1150 - 1280: Check if the Alien ships collided with your ship, or any of the Star Bases. The Star Bases are destroyed when the Alien Ships get close enough to ‘dock’. When a Star Base is destroyed, the next Star Base becomes their target. When Star Base 9 (home base) is destroyed, your ship becomes the final target!
eee ee a
genre eanoennotanacanamonnenmIn
an N
12
Lines 1200 - 13902 Alion attack. If you get too close to the aliens (even in Nav mode), they will attack you!
Lines 1400 ~- 1470: DOCK. Check if you are in Star Base orbit, if alien ships are too close, etc.. Segin refuel, repair, etc. if Dotked.
Lines 1480 - 1570: This section limits the fuel, armament, etc. carried for each level of difficulty.
Lines 150 - 1820: Frepsre te select your target.
Lines 1630 - 1700: This section catalogs all the stars, aliens, and bases relative to your ships’ present location.
Lines 1710 - 1850: This section counts how many stars, aliens, and bases are visible on the weapons screen, then creates the screen display.
Lines 1860 ~ 2010: This section reads the joystick commands and moves the ‘cress-hair’ UDG used to select the target. The M/C routine at 61241 makes a duplicate of the weapons screen in ‘high’ memory. The UDG cross-hair is moved to wherever you command it. The M/C routine at 41255 replaces the original screen, erasing the cross-hairs, allowing you to print it at another location quickly, giving you fast response to joystick commands.
Lines 2020 - 2110: This section allows you to select which weapon you want. It also prints your selection.
Lines 2120 - 2180: FIRE’ Is your target in range? De you have any fuel left?
Lines 2190 - 2250: Fire Fhaton Torpedo. fny left? Torpedo is displayed as a blinking ‘dot’ as is crosses the screen.
Lines 2260 - 2530: Fire Phaser. Any left? Phaser is displayed as a line.
Lines 2340 - 2610: Hit something? This section determines if you actually hit a anything, end what it was. If you hit an alien ship, its damage is computed. Alien ship damage is additive. You may score 30% on it with a first hit, 80% on a second hit.... the two hits will score a ‘kill’. Did you hit a star? a star base?
Lines 26Z0 - 2700: This subroutine determines the outcome of a collision with an alien ship. The alien is destroyed, but what is the damage to your ship???
Lines 2710 - 2850: Got 10 more aliens! Level of difficulty is increased.
Lines 2840 - 2900: Victory! Got ‘em all!
Lin
2910 - 2960: Aliens shoot at your ship. Damage?
Lines 2970 ~ 3240: when you are in the Weapons mode, the aliens try to surround you. This section of the program controls each of the alien ships, and places them at prescribed points around you with some random deviations from these locations. The exact positions also vary with the level of difficulty! Despite the complexity of each move, the wait is very short... less than a second per ship.
Lines 3250 - 5470: Check alien ship collisions: hit your ship? destroy a star base?
Lines 3520 - 4040: Program initialization section.
Line 3550: This ic the data and read/poke routine to set up the machine code programs used with the weapon screen.
Line 3590: This is the cata that defines all 13 UDG sprites.
Line 3630: This data defines the screen location (L) of the % star bases and 10 alien ships.
Lines 3700 - 3860: Thess lines FOKE in the UDG values.
Line 3910: This line creates a$. This array contains the Ravigation screen definition: screen border, star location, etc.
This string is printed, and gives the appearance of scrolling the map into place.
Line 4020: This line pokes the ’frames’ system variable with © (zero), reinitializing the game timer.
I hope you enJjey playing Ster Fleet... at least as much as I did writing it! OK, beam me up Scotty
gesa . a4 2370: a02 : isso 3243 BO 8380: 181 : 15588
3250 (8 3990: BE $258
3380 Ee 3409; 48 3938
3270; B 3410 | 38 31st
3280 | iis 34b0: 48 4073
3300 8 34g: «as 1485
3300 |B 3443: i8s : iesss
Bain: 8 3450: BO 5150
Bo20 «OB 3aee | 8 52a
3358 dis 543) 2 455
3340; 15 3480: 3 pity
3350; Bea 34990; is iBi2 73 B36a 4: 42 3500: 2 aero S
STARFLECT 20GB
a a o %
3780
2 188 a3 é zai B30 | 3 22 2566 geaa 5 15 2 431 Bad : 13 Bsa: 14744 Beso | 13 2 pe 33 18 1383 13 2 pr a3 ssi | SkeR4 3
2 431 Bee Ba Baza Ba? 2 431 84 ive: 7483 5.
Fl Sil B77 2 431 278 Bs 3820 2
2 S82 318 BSL. BS2a4 5 23s > lessee 58 F 438i 35 ia ia78 77 Fs eal 85 ig te37 27 13 ro7t 50 33 1973 83 33 i375 ii 13 1377 a
RESOURCES FOR YOUR SINCLAIR
BOOKS OFFICIAL 2068 TECHNICAL MANUAL...
CONTROL THINGS with your Timex/Sinclair by R.L. Swarts.
ZX81: Programming for Real Applications by Randle Hurley.
includes 12 Software Programs
on a Cassette Tape
Build a Microcomputer - Controlled Robot by B.C. Taylor.
The Best of TIME DESIGNS Volume 1.
Taking the Quantum Leap by Mike de Sosa.
SPECIAL PACKAGE DEAL: Both “Control Things” and ZX81" $10
TIME DESIGNS MAGAZINE BACK ISSUES $3.00 EACH Nov/Dec 85 Vol. 2
Jan/Feb 86 March/April 86 May/June 86 July/August 86 Sept/Oct 86 Nov/Dec 86 Vol. 3 Jan/Feb 87 March/April 87 May/June 87
SAVE $1.00 when you order all six Volume ‘Two issues!!
TIME DESIGNS MAGAZINE Co. 29722 Hult Rd., Colton, OR 97017 (503) 824-2658
Part II
Judging by all the mail, it appears that a good many 2068 users have been interested in alternatives to Sinclair's original font for quite some time! And that's exactly what we will be discussing this time. Stay tuned!
Now, in all those letters no one mentioned a little bug I ran across in the BASIC program of Part I. ‘That's too bad--I usually send such computer pest controllers a tape of utilities or at least a thank-you card!
The bug is a small one in line 61. This line is supposed to print an equal sign--I say supposed to. If one examines the new characters in Figure 3 in the same article he won't find an equal sign. Line 61 has "DRAW 0,2" twice. Change these to "DRAW 2,0" and the program will perform as intended. Soon we'll be looking at some slick code that will make worrying about such inherent hoohaa of BASIC a thing of the past.
So now that the bug is out of the way, most of my mail is answered and my new son's sleeping through the night, I will dive headlong into this next level of CLASSY FRONT END. We will try to progress slowly enough So as not to lose anyone. So even those less familiar with programming are invited to follow along.
In designing a Nachine Code utility one faces the inevitable quandry of too many desires and not enough space. I wrote a wish list of features and then settled from that on a “short list" of must-haves. These fell into three catagories (being BASIC compatible, being flexible and easy to use). When we finally finish the program it will include the following features:
reads coordinates/text from BASIC is callable from BASIC
allows use of 2068 symbols, able to reside anywhere in memory
A. BASIC COMPATIBLE 1.
3
4.
5. all symbols changible by the user 6
7
8
9
too B. FLEXIBLE
¢, EASY TO USE short enough to load quickly provides complete set of symbols runs much faster than BASIC
keeps track of screen coordinates
One of the most constraining to achieve as it turns cut is #4. Without fixed addresses for each kyte the program has used two unused bytes at 23728 and 23729
(5CBO and 5CBl hex) to store it's location as a ref— erence. But more on that later. Some who wrote me asked about “printer compata~
bility". As you will notice this does not appear on the "short list", Now CLASSY FRONT END is really a screen print environment, not another printer font. It is true that CLASSY is compatable with the 2040 printer—-several letters I received were in NEW 2068 MEDIUM printed on thermal paper which thrilled me (thanks, guys!).
But opening the old can of printer~compatability- worms is not what I want to do. Lest some would feel hung out to dry, take heart that CLASSY keeps track of text in its own font as well as the Sinclair font. Be-
14
cause of this, any printer should be able to print in its own font style by using standard ASCII codes. and I'm sure you can, too. Just consult your interface and printer manuals.
Foremost in the design of the machine code program is how we will store as well as display the graphic data for our new font. Our 2068 we know has a character table in ROM starting at 15616 (3D00 hex). Here the 2068's 95 symbols are stored. The PRINT routine starting at 8537 (2159 hex) looks up the codes stored in this table for each symbol it prints.
It works something like this: finds exactly where the code for
first the routine the actual symbol
begins in the table. Next it reads the first of eight bytes of code. This is always a number between 0 and 255. Remember reading someplace that all bytes contain eight bits? It is true—by using this code the 2068 figures out which bits are set or not set and then the
PRINT routine darkens in the corresponding eight pixels on the screen. By doing this with each of the succeeding of the eight bytes, the PRINT routine assembles a pixel pattern a line at a time on the screen. By this method the 2068 can store the graphic information for the 64 pixels of each symbol in only eight bytes! Clever these British...
To know just which code number represents which pixel pattern is fairly easy to figure out. The program in Listing #1 entitled "280 bit patterns” will let our 2068 do it for us. Be sure to have enough printer paper on hand as the 2040 printout is almost three feet long. (You will certainly need this if you do any alterations or customizing of the font as listed.)
Listing 1 PATERN CODE BITS SET juzanasan! a ecocogaa jaseuene_] 2 eeesecei jaueuse i] 2 eeoaog1a jaeenes 7 3 93900013 jscsee an] 4 egesoiaa Ciitrss Ss 86600101 Orr) 6 B2Gee116 Crtress 3 seecoils Corr a eoecie88 1 REM Zee Bit Paterns
40 FOR t=6595a8 To 65391: READ 0: POKE t,o: NEXT t: DATA 255, i2 8,126 ,128,128,138 ,255,0. ,255,254 254,254,254 ,254,255,6, 128,125, 126,138, 158,128,123,0
2e pil b(a): LPRIKT AT 0,5; "PA
TERN “COSE Brts SeT™ 3Q_ FOR TO 255: POKE 16984, fs LPRINT FOR 40 LET p(i)=PoiNT (-1,375) 5@ IF b(i)=@ THEN LPRINT CHRS 144}: G0 TO 72
60 LPRINT CHRS 145;
70 NEXT i: LPRINT CHRS 14: “| EF AT 8,20; BUA) | bz); bis) piss; biei;bisbiar: HEX
3a
But, you might ask, the 2068 uses eight by eight sized symbols. One of CLASSY's functions is to get away from that! Indeed some of CLASSY's symbols are only three pixels wide. However, all of CLASSY's symbols are eight pixels HIGH. By doing a little extra code man- ipulation using the instructions (covered nicely by Syd Wyncoop in his past articles), we can produce our patterns up instead pf across. This is similar to the method some side-ways printer dump utilities one sees on the market are using.
Examine the complete NEW 2068 MEDIUM font in Figure 1. Note the sequence of bytes for each symbol. The font is nearly identical with the one in Part I with only changes being to characters 126, 199, 200 and 201. The actual data for the font is to be found in Listing 2. Character 32 (a space) is missing as it is only zeros and a simple increment of the printing coordinate will take care of it.
then three
like a waste of space, but if we want to change a symbol
later and it was say 5 wide instead of the original 3,
we'd be in real trouble. What we end up with is a new, alterable character table with 98 symbols just about the
same length as Sinclair's: original ROM table. Only this
codes for the pattern and the rest zeros. This may seem time with a little more pizzaz!
up each symbol. I€ the character were only three pixels
wide it would have a 3 in the first byte,
ad ee9e san eraser
Figure 1
it
discussing
we will be
Due to the length of the actual code for CLASSY (it for the next two installments. ‘then we will probably get
comes in at just over 1.5K),
1s
The symbols are each stored, as in the 2068 itself, in eight byte chunks (refer to Figure 2). The first byte tells how wide the character is to be. What follows are the bytes (up to seven as in the case of #126) that make
into "windowing", etc. If you can't wait until next time, I would be happy to send you an advanced copy of the dissassembled listing. Just send one dollar ($1) to Paul Bingham, P.O, Box 2034, Mesa, AZ 85204, For the program on tape send $5 (for all those who sent for CLASSY from Pact I, you need only send $3 for the tape). See you next time!
Figure 2 MORY MAP OF FONT TABLE
125 CHARACTER 126 127 Ga 2 2 eo 1S Jro Ja fro |S Joo fle KS JA RAL PRIA |S [ita fo succeeding vit patterns character width
eight bytes
Listing 2
2 REM CLASSY FRONT END FONT
2002 DATA S,0,S4,94,0,0,0,0.,5,2 12,8,0,7,0,0,,8,34,255, 34/34) 255 1346.76 70,44, 210,255 7445/0 4010 GATA 7,8,13,18,162,50, 34,54 50,40, 124,214 /3¢52,01,3,2,4,5 7O,0,8, 140,60 ,126 ,128,0,0,0.,
4,8, 126,126,60,0,2,8
1826 DATA 6,0, 1014,51,4,10,0.,6, 016,26, 124,16,16,8.,3,6,144, 412 70,800. ,5,8,24,24,24,24,0,8.,3 1896,96;0,8,0,8
58,5: dode dATA Ss) 2. 5,0,468,78, 74 74,74,43,0., 650,82, 425, jase DATA 8,
wesneszurs
a ‘6 ong o- MeSOROS UU hres He woe: Her ist Sener
eB
MRS
wba oRa:
‘3.
Bhe e50 hh
Be a Ps Sys
o 8 8
aes ide oh ua.
# a 3 its it ie is i
1178 255,28.
RGB Interface For The TS2068
Tam
RGB ve Other Methods
aver since I purchased my TS2068 I have longed for a REAL ROB interface. Sure, the display is CK on my 19" Sony, but the color is "washed out" and there is that ever-present background Bash, 1 thought that. by attaching a composite monitor to the tonitor Jack would at least clean up the hach...,but no, the hae remains! Thus begat my work on THIS article,
Composite video is simply a combination or mixture of the thr basic signale common to all CRT (Cathode Ray Tube) based display devices. First, there ie the VERTICAL SYNC which is Used to ‘lock’ the picture vertically. Second, there 1c the HORIZONTAL SYHC which ‘locks’ the picture horizontally. Then there is, of course, the VIDIO IBFORMATION which supplies tha actual picture,
COMMON TVs
In the case of color dieplays there are three methods of getting these cignals to the monitor or TV, In the begining.......thera was the RF modulator. This is simply a VERY low power broadcasting station! All three basic signals are conbined to from the COMPOSITZ signal, and then ‘broadcasted’ via a cable to your favorite TV. You, in tura, select chaszel 3 or 4 and, volla! The 'Gulpman’ appears on your ecreen. The advantages to ‘his type of interface are eace of hook-up, cost, and availablity of the common color TV. The disadvantages are the BANDVIDTH of this type of interface are LOW. This is ceen as poor picture quality and ‘washed out! color, There are two reasons for this; 1) The tuner cirouitry in the TV and RF modulator in the TS2068 cannot handle the high resolution modes that our computer ie capable of. 2) Tha ‘common’ TVs! CRT DOT-PITCH ts not good enotgh for high-resolution color images. (Mare on thie later), Thoa there ig that ANZOYING ‘background hash’ !
16
Stoadard
COMPOSITE MONITOR
The second method is to send the composite signal directly to the TVs! CRT circuitry, bypassing the turer and the computers’ RF modulator. This method works quite well because we are bypassing all that circuitry. The display locke MUCK better but the color ts still ‘washed-out due to the fact that the DOT-PITCH of the TV is large. Also, the circuitry needed to combine the color/sync signals in the computer ond, and the circuitry needed to separate the color/sync signals in the motitor end, add to the distortion of the display and color. I probably would not have noticed this except that I ales have a QL with ite’ RCE monitor and there te just 20 comparing the RGB with a standard nonitor or TY. So the Monitor connection ie much better than the RF uodulator but, still, is not the best interface available,
ROB_MONTTOR
Tha third method ts, by far, the aost impressive in that the quality and control of the color eigtals are absolute. Thie 1s accomplished by sending the three color signals SEPARATELY to the monitor along with a ‘COMPOSITE SYNC signal containing the VERT and WORZ synce, The disadvantages to thie method are the multi-wire cable needed to connect the monitor and tha cost of the noniter. Viy is the RGB monitor more expensive? Kost of the cost of an RGB monitor ie tied up in the CRT RESOLUTION and circuitry to support it. & typical TV bas e DOT-PITCH ( DOT-PITCH te the distance between adjacent CRT pixels ) of about .65nm, where a good RGB moniter euch as the QL Vision monitor has a dot-pitch of .38mm, You can really see the difference!
So we have two goais here; one, to convert our mchizes to ROB and two, to got rid of that ANOYING "background hash’ !
CTION
This cireult was derived fro 9 circuit appearing in the 2068 Technical Manual, page 57 and was modified to work with the QL Vision monitor, although with the proper connector, it should vork for any RGB monitor. If you don't have this book, GET IT! This is the single nost useful book for the 2068 and is published by TIM DESIGES MACAZI¥E.
Vo need a VERY CLEAN cupply for thie cirouit to eliminate the background hash. This bach is ganerated by the computers’ SVITCHISG REGULATOR. To accomplish this we will be ‘double regulating’ the eupply to the ROB eync circuit. This circuit just extracte the SYIC signals from the 152068 COMPSITE out-put. Tue color signals already exsist in the TS206s!
¥12 VOLT REGULATOR
Using proper static precautions, resove the top keyboard case and then the internal PCB, Using figure #1, locate and remove the 7éL12A regulator. it looks like a garden-variety trexeistor, Use a solderwick or solder-cucker to resove the solder from the regulators PCB holes and then gently remove the wire leads. Hext, inetall a 76412 or 7812 regulator in ite’ place using figure #2 as a guide to oriexting the new regulator. NOTE that I'm ehowing the BACK-SIDE of this regulator UP, How cut a 12" piece of Insulated wire and solder on end to the regulator ao chown in figure #2. Leave the other end froe for new. Leaving the PCB out of the case and making sure the PCB is ingulated from coztacting any natal, connect your TV and pover up the computer. You should get a NORMAL display with the Sinclair copywrite notice. If you don't POVER OFF!!!! Thea check the orientation of the new regulatcr again and correct. If you have a voltneter you can also check the output cf this regulator to insure that it is at +12 volte. Thie point is the eam point as tho wire that was attachad to the regulator in figure #2.
Vaing the schematic in figure #3 assexble the circuit ons emall piece of perf board. Then pick an area inside the case to mount the exall perf board assembly, (I used the area just above the right hand Joystick connector.) Usa a susll piece of two-sided foam tape to moust the perf board. Fext, attach the 412 volt wire previously soldered to the new #12 volt regulator end solder it to the proper point on the perf board (Tha input of the 78105 voltage regulator). Now rux a cnall wire from the computer's composite cut shown in figure #4 to capacitor Cl on the pert board (see schemtic in figure #3). Now run a ground wire from the pert board (enitter of Q2) to x grovnd point on the computer FCB. A good place ig the ground plane just above the right joystick connector, Take the G-wire shielded cable and solder the wire you'll be using for the COMPOSITE SINC to the perf board (collector of 2). Solder the wires you'll be using for the Red, Green, Blue cignale to the computer's PCB at the pointe shown da figure #4, thon solder the vire to be veed for sonitor ground AND the SHIELD wire to the main ground point in the computer which ts iccated in the ceater of the computer PCB. It has a large wire soldered there with many other smaller wires and a cap attached to it. Lastly attach an 8 pin DIN socket to the other exd of the 6-wire cable, or if you'll be using a @ifferent onttor, the proper plug te match that monitor.
+P vous Fron
Modutator
we Biwe Red GREEN 0 @® 6° oe © 8 © COMPOSTE SYNE — ome) Ghouwn/siiad
QL Monitor Connections
Ts2008 #2 your REEVATR,
Reassenble the computer into the case and pick a place to route the wire out of the back of the computer (1 chose the center-back of the case?. Connect a TV and power supply to the TS2068 and power up. You should get the copyright notice ac normal Power off and connect the RGB monitor ( you can leave the TV connected) and power up again. You should get some sort of diepley on the RGB. Adjust the poteationeter R3 to get a stable
display... NOTE §0 BACKGROUND HASH! !!This circuit 1s designed for low-going composite sync xonitors which comprises about 90% of the RGB monitors available, If youre ie one of the 10%, drop mo a line end I'11 help you cut! All parts are obtainable at Radio Shack, including the 8 pin DIN socket. One source is a Tandy 1000 keyboard extension cable which has both a male and femle in-cable comaectors plus a 6-wire shielded cable for 314.95 as part number 26-1389. If you want only the fenale connector they only stock the PCB mountable connector and you'll have to ORDER that as part cumber AJ7950 for $1,00 (it's a replacenent socket for their Tandy 1000 computer!)
S,_WEV_BBS, OFFERS!
Thanks for the mony letters you have sent in support of xy articles! I have improved the 152016 ram pack upgrade to allow usage with the TS1500. Tanke to reader Earl Dunnington of Beynton Beach, Florida, for inspiring ne to accomodate the 1S1500. For those cf you wishing the latest tuprovenents in the upgrades for the ram pack or any other of uy articles, just cond te a SASH and I'1) return the latest info. Also Mark Fendrick, olumist for Computer Shopper, has started up a tew Sinclair BES callad SINCLAIR at WIGHT", He has generously named we as the 2X01/761000 conference leader, 60 you can find me daily cn that BES. Please call in on this board and support these great little machines! Houre are 2300 to 0600 eatly, phoue 716-627-1293, There curently are also TS2068 and QL sub-boards (conferences) with new confereaces added to the arrival of xew computers euch ee the THOR, You'll alco find any late-breaking info about ay articles on that BBS in the 2161/151000 conference. For those of you who are not hardware oriented, I am extending an offer I started with the Vancouver Sinclair User Group to upgrade either the 782016 ram pack for $25 US, or the 151000 internal 64K upgrade for $40 US, Just mail the ram pack or computer or both (as many did tn VSUG) end I'll convert and return via insured mail, It would be a good idea to check with me ahead of time to see how "swamped" I am. You can do this by nail (85-48 66th Road, Rego Park, WY, 11974), Compuserve (1D 79127,2684), or on the "Sinclair at Hight" BBS.
: x g QQ aye ) 203906 Segr FoR z Cousot. F623 Couto [te Sede VIDED RI (see Funke #1) eater de 3” ee” hana i = SYNCHE Figure #30 AguT Sinemet ae | an RED in Ti ned din o-,, Composite | a cut BLU gig volts to FIGURE m4 P.c.B. Le
17
Adding Professional Features to TASWORD TWO
By Duncan
14 you have ever used a word processor for a more expensive computer, like an Apple //e, you have noticed a few features not found on Tasword Two. I regularly use PFSiWrite on the Apple //e In my planetarium. (I apologize for having another computer in addition to my beloved TS2068. My only excuse is having to have the Apple to interface with a laser video disc player.)
Both word processors include many identical features: screens; word wrap; fast cursor movement by character, by by line, by pages and to the beginning or end of the text character and line insert and deletes block move and copy; left, center, and right line formatting; reformatting of text after insertions or deletions; optional right Justification; embedding of printer control codes within the text file; and search and replace. Whew!
Tasword Two is truly amazing, considering that it needs 88K lece memory and costs $119.83 less than PFS:Urite, but there room for improvement. There are number of features PFSiWirite has that are not included with a stock version of Tasword Two.
The modifications I have made allow Tasword Two to use tape or (Aerco FDS8) disk for loads and saves, catalog either of two disk drives, "reboot" either drive, print headers and footers, print multiple copies with all the pages properly numbered, skip perforations after a selectable number of lines, and count the number of words in a text file.
I’m greatly indebted to articles in the February/March 1986 issue of 2X Computing and the May 1905 issue of Sinclair User. Thanks to Mike deSosa for sending me the latter article.
help word, files
The ZX Computing article was, of course, written about the Spectrum version of Tasword Two. I had to modify the machine code for the word count routine before it would work correctly
on the TSZ068. This has appeared previously in Time Designs.
The Sinclair User article, by John Lambert, is the earliest source I’ve seen for selectable lines per pace, page numbering, multiple printouts, headers, footers, and custom color selection for the screen, The iisting, however, has 2 number of bugs.
The footer and pagination don’t always appear in consistent positions at the bottom of the page. The page count is off under certain conditions. The LPRINT command to print the footer is
Ignored by the TS2968 version of Tasword Two. Finally, a list of addresses to poke with new values to change the paper and ink colors of the text file, the prompt area at the bottom of the screen, and the margins is incomplete, The Information below will "correct* the listing In Sinclair User.
Any modifications to Tasword Two should be preceded by Incorporation of as many memory saving tricks as possible de Sosa is responsible for several. He used tokens and variables to represent often used GOSUB lines and frequently used numbers
for TABS and calculations. Here is a fairly complete Vist. @ = NOT PI 12 = tw 64 = sf 4g00 = #t 1 = SGN PI i= 858 = ef 4000 = gs weet Bi= th 958 = né 9eee = nt
One could also have used variables for 0
Some addi tional text in screen prompts and in the clarity is lost by these changes.
Another change I made renders Tasword Two compatible with a word processor whose default page format is a one-inch margin at the top and bottom of the page. The margin area ie usually where headers and footers are printed. In Keeping with convention, two biank lines are printed, then the header, and then three blank lines. Six lines equals one inch. Then the text file starts. The header is printed on every page in the document, but it uses up no space in the text file.
The footer is likewise separated from the last line of the text #ite on a given page by three blank lines. The footer is printed next. Then the current page number and total number of pages in the document is printed on the next line. Finally & form feed is sent to the printer. This effectively leaves one blank line after the automatic page numbering.
When I firet typed in the Sinclair User listing, the footer would not print out at all. This is why Mike sent me the article in the first place. Repositioning a USR call solved the problem.
and 1, say "z" and "o. memory wae saved by reducing the amount of menu. I don’t believe any
The original Sinclair User listing allowed for the number of lines per page to be specified along with Tasword’s Tine spacing choice. It falled to take into account the extra blank
Tines needed to keep the footer in a consistent place when Jine spacing is greater than one.
Tf a document has a one inch margin at the top and bottom, then 54 lines of text will fit on a standard page. If the line
spacing 1s one, then. everything gets printed in the right place. If the line spacing is three, then Tasword prints a tine and skips tuo lines until it gets to the 18th line (54/3=18).
It prints the 1@th line, then thinks, "I’m through printing lines on that page," falls to put in two blank lines, and prints
the footer. This puts the footer and page numbering two lines higher than it should be. An addition to line 298 tells Tasword to print "line spacing minus one" blank lines between the last line of text on the page and the footer and pagination.
Another problem occurred when the Sinclair User listing calculated how many pages it would take to print an entire document, given the user-specified lines per page and the line
1
R. Teague
spacing. If the text Just happened to fill the final page of a multi-page document, the page counter calculated one page too many. An addition to line 259 prevents “one* from being added to the page count If the total number of lines divided by the line per page Is an Integer.
The final consideration is the alteration of the screen colors. POKE the following addresses to change the text area to
your choice of paper and ink, where “C* is calculated by the formula "C= <6 * paperdtink.”
POKE 58512, 54 POKE 58521, 54
POKE 58513, C POKE 58522, C For example, to use red paper with black ink, you use the
formula "C = (8 #2) +O = 16."
A surprise may auait you after you’ve changed the text area paper and ink colors. If you try to set left and right margins, your text may disappear om your margins may be invisible if you chose certain incompatible combinations. To alter the paper and ink colors in the margins for suitable contrast and visibility, POKE the following addresses with your selection according te the aforementioned formula.
POKE Sesee, 54 POKE 58599, C
POKE 58517, 54 POKE 58518, C
Now that you’ve customized the text area and margins, you can alter the Ink and paper of the bottom two lines where line and column numbers, justification, word wrap, and insert mode
status are shown. To alter the two status lines, POKE new values Into the respective addresses. The value of “C" is calculated In the manner shown previously.
POKE 59993, C (top) POKE 64578, C (bottom?
The final touch-up is color selection for the 64-column ang 32-column mode borders. You can change the following addresses to Indicate your choice of BORDER color’. The value of "B* equals the paper color you want, Thus "B* ranges from @ to 7.
POKE 64516, B (S4-column) POKE 60641, B (32-column?
Continued on Page 20... LARKEN ELECTRONICS DISK INTERFACES
--- LARKEN 2068 / Spectrum DISK SYSTEM ---------~-
- The system consists of the LKDOS cartridge and a Double cai! rear disk interface. 800K on a Quad Drive
~ Fully 2068 / Spectrum compatible / 0S-64 compatible
- It uses all standard (Token) keyboard cassette coamands CAT MERGE ERASE FORMAT LOAD SAVE PRINT and more
- Uses NO RAM space . HAS 8K ROM and 8K RAM on board
- NMI Memory Save Feature :PUSH-BUTTON program transfer
~A KEKPSTOM compatible Joystick port is also on the IF,
- Also, 10 Extended Basic Commands for Graphics,Utilities and up to 3 scrolling Windows on the screen . An Aerco compatible printer driver is also in the Lkdos Cartridge
- The disk interface is a compact rear mounted board thai can support 1 to 4; 3” 3,5" or 5.25" SS,DS or Quad Drives
- Easy to setup . 90 day guarantee
ae ATTENTION #4x%
AERCO FD68 and RAMEX DISK USERS The LXDOS cartridge is now available for your disk IF’s . Tt will allow your disk systems to be fully Spectrum and OS-64 compatible and Larken disk compatible and have all the commands mentioned above . Also a SNAP-SHOT save button can added . RAMEX users will now be able to use all the memory . AERCO users can now have all of the above features plus the Lkdos uses the Aerco Raw as a RAM-DISK !
PRICES : (US) 2068/Spectrum Disk System $119.95 Add $5 S8H LKDOS Cartridge (Aerco,Ramex) $65.00 2X-81 Disk Controller $99.00
256K Non-Volatile Ram Disk (TBA)
cable #8.00
Drive Flo my % LARKEN ELECTRONICS BRE
JAVAN ONTARIO CANADA K4B-1H9 *
FOOTE SOFTWARE
SOFTWARE TS2068 TS1000
Badgammon (Backgammon)..
Advanced Math (Calculus)... $7.95 Calorie Counter............... $5.95 U.S.A. (Pres. & States 8 Cap: $5.95
Gambler (poker)...
$9.95 CHR$ (char. & graphics generator) $12.95
Hangman & TIC-TAC-TOE...
5.95
Brother M1109 Dot Matrix Printer, compact, low noise, 100 CPS, both Parallel and Serial inter~ faces, multiple typestyles with near letter quality print mode and 4k memory buffer. comes with tractor feed unit......... $249.95
QL or Zebra FDD cable for above: $17.00
The Best of SUM
Some sample articles include: Building Your Own Spectrum Emulator, Repairing Your TS-1000, Word Processing Reviews for the 2068, UDGs on the TS- 1000, Extensive Review of the Zebra Disk System, Adding a Keyboard to the 2068, and Enhancing the A & J Microdrive. 112 pages
Price: $11.95
The FOOTE PRINT PRINTER INTERFACE @ for Centronics parallel printers ¢ works in both 2068 and Spectrum mode © compatible with OS-64 & Spectrum emulators © EPROM socket and on/off switch on board ¢ works with both Tasman and Aercodriver software © plugs into cartridge dock—door completely closes with cable running back under computer © frees up rear edge connector allowing other peripherals to be used; less chance of a crash © print driver software for LPRINT, LLIST, and COPY included for 2068 and Spectrum modes FootePrint Interface w/software & cable .$45°° FootePrint with OS-64 option included ..$65°° Bare board & instructions only Cable only for use with bare board
Zero Insertion Force Socket option add $10 THE BEST OF
[Sin [Yo
tft SINCLAIR/TIMEX USERS MAGAZINE
and hardware projects
The Best of SUM, Part Il
Articles include Building an EPROM Program- mer, Sprites on the 2068, Adding RGB to 2068, QL Word Processing, What's Available for TS- 1000. and muchmore. 60 pages
Price: $7.95
FOOTE %&, SOFTWARE P.O. Box 14655 — Gainesville, FL 32604 904/462-1086 (6 pm - 9 pm EDT)
All prices are pre-paid and include shipping charges. Florida residents must add 5% state sales tax.
The final modifications I’ve made to my copy of Tasword peRO FET ieVAL “en: HOVE “boot. b Involve the use of my Aerco FOSS Disk system. The save and load 79S HOVE “tasword. bin" 52610, 12 routines allow both tape and disk to be used. The difference is . in the use of an tH to prefix disk ¢ite names or to catalog the 33g oLs.; SAT”, disk before loading or merging a text file. At Tasword’s “STOP* menu, you can also use appropriate Keys to catalog drive A <=), catalog drive B (>=), or reboot (<>).
I# you’d like to save yourself some typing, 1/11 supply a tape or disk of my modifications to the BASIC pertien of Tasword s for $6.08 postpaid. 1/1} also include the machine code routine Which provides a count of the number of words in the text file when you go to the main menu, Contact me at 3328 Bluemont Drive, ¢ Memohls. Tennessee (38134).
3 ° ghee: PRUSE NOT Pr: 60 TO VAL 2 =FN P(VAL "62226"); CL 2005 PRINT AT VAL "8" NOT PI: "Na me text file-Prefix «For gisk Cet ist: LET j@=NGT PI: GO Sus
A ebEN, 282% BND ag (SCN PI) THEN PRIN 3 tw NOT
a
Here are some notes on the program lines: “" THEN LET lensa-c: Go To var « 8 ey tere THEN cus 25 my choice of STOP menu paper and ink colors st pagenan ao sue 28 eT SL TE 2 #(38N_ pns "THEN LET : USR 52612 is for the word count routine (UAL PB" 70) 2 LET be 99st establishes "ce" Key to catalog arive A PasveL _agcson Pz: LET i shige tesagzee ehh Here 120: establishes ">=" key to catalog drive B PSBRINT AT i $85 : establishes "(>" key to reboot selected drive Ww: SRUE a§$CODE bya 200 t_lines/page POKEd into unused address 33220 4 “ 225 + "len" = total characters to print a “3 Ri sites 250 1 "pit = total characters to print on each page o pa ase jiMtpede total iages.to pelnt Cie len/pt ta eet 6 ee Eg Sab Ho an integer, then tl" is added to "tpe> Fo FAP een SS oTe ese 265 ot "aS" Is temporarily the document’s header OS EEN 882 0 THEN) GO" 36° ORL 278: 2 line feeds; the headers 3 line feeds Ze RINT "Start tape": v 298 1 proper # blank lines print if line spacing >1 NT 292: "aS" is temporarily the document’s footer Pr 294: S line feedss then the footers £8 296 : then the pagination; then a form feed a4 ine pame.es the te 298: USR 59824 moved here to allow "LPRINTs" above AL rane oress: 297: "#" Is pages; "n” is number of copies Perseabe 2 TAT tw VAL "2n) u 7@2 ©: _ save BASIC <"boot" name for disk auto boot? CET X=URL "Se@oao": Go SUB Nn & Rte Lodd the”; AT 785 i save machine code (extra code for word count? , at Bae Sega tee ae 1000 ff: tape/disk text file save routines meee tense eres 5 2 @aNOT PI: LET isUAL “4 2000 #1 tape/disk text file load/merge routines i ‘ 5 sreipetincaiue @ea3 ©: GOSUB to center the header and footer t Metsu the tase 9eee : GOSUB frequently used by print aptions § LET acUSR VAL "64350" f * 2", URL 9 ei fc uy CET SETS, e, 2030 LEY bzeN’e (URL Geen yaaa BQ” SSCODE fayb) , (CRN p (UA 86 SUB 2) #tstwres fsa)! Go Tot 96 FOR 25" sPE EK YaL N Ty NEX * 990 FOR g=SGN PITO (UAL "eo"=L ‘Bos RANSONIZE UsR val “sgege, EN 38) /UAL™P Se: “CpRinT NEX PoENRey gong THEN Scoro geners 35 GERENT, 28,0R) Le 299 NEXT f: NEXT n: GO TO SGN'P ga8o aE ARS LEN CET 3s: 25 PAPER URL “S": INK NOT PT r
SO SUB ft: PRINT AT VAL "& SUNOT PI; "Edit fite C')USR UAL 5é610";"’words3"; TAB th; "Y"
28 PRINT ‘"Save file" jTAB th; PRINT ‘"Load file"; TAB thi” BYTE POWER ic a highly cophiaticated
PRINT ‘Merge file"; TAS th; conpulerized ‘ine on cassette for epee PRINT ‘"Peint file"; TAB thi Ye TES I ALGAE SEL: ra
PRINT ‘"Save Tasword F068"; VAI gau hove to type in tong, ETT AND BIRt
Pexey Mot fous prograns. . UST Bo BAIT “vGraphics sprinter "iT : i BYTE POWER de the ultinate nagazine with aver 130 progrens er PRSECUATRB iN) Brey . mast of thon in fest nachine language. ogee ah ae Spore Sei cece al Sori sae mn agen" are’ sone es 0: ua PI: LET _b=CODE ag published in BYTE POWER Kagazine. BY briige you Tita THEN LET Babtthe quality progranring at a very snall Veneta THEN CAT "a ++-LESS THAN 9 CENTS A PROGRAK, hased on a year subscription. foo Ir b=UAL 120" THEN CAT "b 1 Iooue (Current or Back leouse). das°te B=VAL THEN CAT "b 6 Isaues (Sterting with Current or arg Back ieaus)... ot, bas", 12 Iecuss (Starting vith Current or any Sock iseue). 218° Er‘ bevaL THEN Rreo°tr THEN site Fee has al@%et high quaitts iin) 125 IF THEN LET pa ae See ee am eh eee a ies ‘or poctrun. rite for nara infarnation fay tall THEN SED about issues and their contents. THEN Ler THEN LET ALSO AVAILABLE FROM BYTE POWER... pe Megs eae DIMONSTMATION / CATALOG Tape... .-s.eeseeeeee seers B00 OT PI THEN PRINT, AT i sth; FLASH SON BT, CHRg (b-th-SGN BYTE POWER*S FIRST CLASS FONTS............-..812.00 Postage Paid
PIS; : 60 TG UAL sea" #48 Conpiletion of all FONTS usod in BYTE POWER Magazine 180°60 TO VAL “80 Moers plus a whole fot narafit. see
a ae NY BYTE POWER" FIRST CLASS PROGRAYS CPROGR&® TAPE 1).....917.00 PP at 9 prograns for the ZH61 CI/3 1000-1500) on i tape sae
U.S. FUNDS ONLY
Send Check or Money Order ta...
BYTE PONER 1748 Keadowiew Averue. Pickering, Ontario, Cenads L1V 368 AYTE POMER'S FIRST CLASS FONTS
TIME DESIGNS
News from Zebra Systems
Zebra Systems has excite- ment buzzing in the air! We've added new staff, new mailist capabilities and, our very own desktop pub- lishing group to keep our customers up to date on Timex Sinclair product changes, new product in- troductions, industry hap- penings, and more!
The recently released Summer Issue of the Zebra Systems catalog is our very first desktop publishing achievement, and we are very proud. It is attached here for your shopping con- venience, and we know you are going to like the prod- ucts and the prices.
We Need Your Help
To Send You Free Catalogs! During the first week of Ju- ly, Zebra Systems mailed out 8,000 free catalogs to our recent customers, those of you who requested catalogs, and T/S Clubs. We are well aware that our mailist has not previously been kept up to date with all your current mailing address informa- tion. For this reason, we are asking all Timex Sin- clair Users who wish to re- main on our mailing list and continue to receive our free Timex Sinclair Prod- ucts Catalogs to return the coupon on this page or, the back cover of the Summer Catalog just mailed to you.
=== Zebra Systems, Inc.
a 06 Jamaica Ave., Woodhaven NY 11421 (718) 296-2385
Don't delay. We have al- ready begun work on our Fall 1987 Catalog. Attention Timex-
Sinclair Club Members We will gladly send you as many catalogs as you wish for your club meetings or for inclusion in your club mailings. Or, if you prefer, send us your club member- ship list, and we will mail catalogs directly to each member. In addition, our customers often ask us if we know of an active TS Club in their part of the country that they can par- ticipate in. If you have any doubts that we know about your club's existence, please write to us.
FDD User
Newsletters Mailed
Zebra Systems recently mailed the first in a series of informative newsletters to all of the registered Ze- bra FDD Users. (If you own a Zebra FDD and did not get your copy, be sure to con- tact us immediately.) The newsletter received tremen- dous applause from those active FDD supporters.
MTERM
Price Drop! As a correction to our Sum- mer Catalog we want to an- nounce that the prices on both MTERM/T and MTERM II have been dras- tically reduced. These are the prices we intended to have on catalog page 9:
21
JULY/AUGUST 1987
MTERM/T is $8.95, and MTERM/II is $14.95.
Our Thanks We would like to thank Frank Davis, Paul Holm- gren, and all of the other people who worked so hard to heip make the 1987 MidWest Timex Sinclair Computer Festival such a great success.
it: Spares.
iv Yes, I want to be ony ithe Zebra Mailist. I
pState__ 1Computer: '__7X81/TS1000 ' 7g1500
j—TS2068
1--QL
1__TS2040 or Alphacom 32. 180-Col.
Printer Interface___
Printer:
1Do you ever call BBS's?___ Computer Club Member-
5 aon Larken Disk-Operating System
DAVID so_LyY
When I was looking for a disk operating system, the first thing I wahted was a system that would work on ALL of the ROM configurations available for the 1S2068. At that time, I was running MSCRIPT, TASWORD II with a Spectrum Emulator, and ZTERM modem software with the Zebra OS-64 cartridge. Secondly, I was looking for a system which would leave me the largest amount of RAM possible because I was working mostly with large data- base and word processor type programs. Finally, I needed a system that would be simple to use and also within my limited budget. I searched in vain until the answer appeared almost in my own back yard [Ed.- Mr. Solly currently lives in Ottawa, Ontario, Canada].
The new Larken DOS dveloped by Larry Kenny of Larken Electronics, was like having my every wish come true. The disk operating system (DOS) fits neatly onto a cartridge which loads into the Timex Command Cartridge port. For a little bit extra, a second socket, fitted with a switch, can be added to the cartridge, to hold an additional chip that the user may own, such as a Spectrum Emulator, or a Zebra 0S-64.
The rear circuit card is a compact double-density disk drive interface which also has a Kempston joystick port and a Non-Maskable Interrupt (NMI) push button. Because the DOS is “burned into its own EPROM, all the RAM of the computer is available to the user. The DOS is completely accessable whether you are using the standard Timex Sinclair ROM, the Spectrum Emulator ROM, or the Zebra OS-64 software ROM. Programs which are de- signed to run on both the 782068 and Spectrum, need not be saved in two different formats to be re-loaded into each RON configuration. A formated double-sided, double- density 80-track disk drive is capable of saving up to 800K of programs.
Converting programs to run on the Larken DOS, once the hardware is installed and the DOS is called into operation by RANDOMIZE USR 100: OPEN# 4, "da", is
essentially a snap. The Larken DOS uses the same Sinclair tokens (which are found on the 2068 keyboard), as the tape-driven systems. After learning a few simple instructions and four mnemonic extensions, I was ready to handle most programs. The necessary .adjustments needed to convert tape drive commands to Larken DOS commands can be quickly illustrated by the following chart of equivalents.
Tape Drive Command Larken DOS Conmand
PRINT #4: SAVE “Name. Bi PRINT #4: SAVE "Name, INo equi valent3
LINE 10 CODE
LINE 10
CODE s,1 FRINT #4: SAVE“ CODE s,1 SCREENS PRINT #4: SAVE SCREENS DATA AQ PRINT #4: SAVE DATA AQ)
* DATA ASL) PRINT #4: SAVE " " DATA ASC
PRINT #41 LOAD "
LINE 10 PRINT #4: LOAD ” LINE 10
CODE PRINT #4: LOAD coe
" CODE s PRINT #4: LOAD CODE s CODE a1 PRINT #4: LOAD " CODE s,1
" SCREENS PRINT #4: LOAD " SCREENS DATA AQ PRINT #4: LOAD " DATA AQ
"DATA AEC PRINT #4 LOAD "DATA
aso
THE NEW LARKEN DISK-OPERATING SYSTEM: consists of two the Timex Sinclair 2068 cartridge port which contains that plugs into the rear expansion slot, which is the
fas’a feed-through connector for attaching other
also
22
A "name" in LKDOS can be any combination of letters, numbers and graphics, up to six characters plus the appropriate extension. The "name" may also be in an alpha-numeric string so long as it follows the proper format and its total length is not longer than nine characters. If the "name" is to be stored in a DIM'ed alpha-numeric array, which I do not recommend although it can be done, then the array can not be any longer than nine characters of which the final three characters must be the proper extension.
The Larken DOS also has commands and error reports which are specific to its own operating system plus a number of .extended BASIC commands. Here are two examples of Larken commands:
PRINT #4: CAT "", This is a very useful command that not only allows the user to see what has been stored on the disk but also, thanks to the use of unique extensions, what kind of files have been stored, the length in blocks of each file, and the total number of free blocks available. In the TS2068 ROM and the Zebra OS-64 mode, the user . can also specifiy which type of file he wishes to be listed by entering, for example, CAT "".B", when searching for just BASIC programs. Specific program names can also be searched in this manner
PRINT #4: OPEN# 3,"1p"
This command will allow you to LPRINT and LLIST to a full size printer that uses Aerco-type printer in- terface.
The extended BASIC commands available on Larken Dos allow the user to create geometric shapes with the DRAW and CIRCLE commands and then to fill them with any of 10 different patterns. Also available are a double POKE command (also known in some BASIC's as DOKE), window creating commands, and a command which will read and LPRINT an ASCII text file directly from disk.
Finally, the Larken DOS has a number of new error reports to make operations easier for the user. These reports are: - Protect Error - File Not Found - Disk Full - Wrong File Type - Invalid Command ~ Cat Data Error - CRC Error (number)
Larry Kenny told me that he plans to add sequential file capabilities and other disk support software to his Larken system.
The cost of the new Larken system for the TS2068 (which does not include the actual drives or disk drive power supply), is $119.95 (U.S.). Optional extra socket for add-on ROMs is $6.00. The system may be ordered directly from the manufacturer: Larken Electronics, RR #2 Navan, Ontario, Canada K4B-1H9, tel. (613) 835- 2680; or several dealers have them in stock, including RMG Enterprises, Weymil Corp., and Variety Sales.
xEccAo
parts a) a cartridge board that fits into the DOS software, and b) a circuit card actual disk drive interface.
Nimex peripherals.
The Discipie Disk-Operating System
TONY BROOKS
The Disciple Interface is primarily a disk in- terface, but it also offers several other features which probably make it the best value in disk interfaces for the Sinclair Spectrum currently available. The Disciple is intended for use on a 48K Spectrum. To use it on a TS2068, it requires the addition of a “twister" board and a Spectrum ROM or Emulator. I have found that the Disciple works with every combination of Spectrum RON, ROMSWITCH, Emulator, and twistor board I have tried. I even had success with the TK9OX ROM from the Brazilian clone of the Spectrum. In this respect, the Disciple is much more tolerant than the Sinclair Microdrives.
The Disciple will support any of the popular size drives from 3 inches to 5.25 inches, in single, double or quad density. Up to two drives can be supported and they may have different specs. Thus drives of different sizes and densities can be used at the same time.
The DOS is supplied on a cassette tape. When I first received my Disciple, DOS version 2b was supplied
but turned out to be a very poor quality recording
which took much effort to LOAD. This experience was shared by users who received this DOS version. I wrote to Rockfort Products about this tape, and promptly re- ceived a new tape with DOS version 2c on it, This new tape loaded just fine, and the new DOS version also solved one other problem, namely, the earlier DOS was prone to resetting the computer from time to time...the new version 2c DOS does not have this problem.
The advantage of having the DOS system on tape is that you can easily configure it to meet your own re- quirements. I think this is an improvement over those disk systems which have their DOS on EPROM, that is not so easy to change. Upon loading the system tape, you are asked a series of questions to configure the DOS to your disk set up and also to configure the built-in printer interface and network port. When this is done, you are asked if you wish toe format a disc and save the con- figured DOS to that disk. Thereafter, the Disciple may be started up by inserting the system disk in drive 1 and hitting the RUN key on the 2068. Loading of the DOS and programs is very fast--a maximum of 3.5 seconds for a full 48K program. Thus fron switching on the computer, loading the DOS and then a program takes less than 10 seconds. The DOS is resident in the Disciples memory and so takes up none of the memory (RAM) of the 152068 or Spectrum.
I put a copy of the DOS on every disk since it only takes up 3K of disk space. The amount of space on a disk can be up to 720K after formatting. This is enough for fourteen 48K programs on a double-sided 80 track disk if one allows some space for the DOS. One program can have the title “autoload" and this will automatically load after the DOS. I put a one line autoload program to CATalog the contents of a disk on each disk I use.
I amusing the Disciple with a single-sided 40 track 5.25 inch drive left over from an unfortunate ex~ perience with the Kempston Disk Interface. I have turned most of my disks into "flippies" by cutting an extra notch in them so I can use both sides on a single sided drive. This means I have had the DOS on both sides of the disk but I can get a minimum of six 48K programs per disk.
The DOS uses two kinds of syntax. One is an exact. clone of the Sinclair Microdrive syntax, the other is a "simplified" syntax. Both syntaxes may be mixed freely. The simplified Disciple syntax usually consists of placing "al" or "a2" between the instruction and the
filename. Thus loading a achieved by using the command LOAD dl formatting a disk with the command FORMAT dl. can also be loaded by typing LOAD pn—~where n file number given when you CATalog a disk. This CATalog function gives details of file type, and for code files
file can be "filename", and Programs
is the
Disciple disc
their size and location. The microdrive syntax is very useful when transfercing microdrive based software to disk since usually these prograns will run from disk without any alteration. I was able to transfer micro- drive versions of TASWORD II and THE LAST WORD to disk and use them immediately without any change.
No disk system is of much use if you cannot trans~ fer your software to disk fairly easily. The Disciple has one of those NMI "magic buttons" that are so popular on many mass storage interfaces. The Disciple magic button works as well as any, taking just a few seconds to save a program from ANY point. Such files takes up a full 48K of disk space regardless of file length. Since the Disciple takes up no 2068 memory it is also easy to transfer software by breaking it down into its component parts, but unless you feel a need to conserve disk space or like to analyize software, it is even easier to use the NMI button. 5.25 disks are so cheap that I don't feel much need to conserve disk space.
The Disciple printer port is a very tolerant beast. The microdrive versions of TASWORD II and THE LAST WORD I referred to above, both printed just fine, even though the former word processor was set up for a TASMAN B printer interface, and the latter program for a Euro- electronics ZXLPRINT III interface. It is also possible to dump a screen to a printer by simultaneously pressing CAPS SHIFT and the Disciple "magic button".
‘The Disciple has two standard Atari type Joystick ports. The right hand port is said to be compatible with Sinclair or Kempston protocol--the left hand port is only Sinclair compatible. However, I have had problems getting the joysticks to operate properly using the Sinclair protocol. The right port has worked fine for me in Kempston mode.
T have not tried using the network facility very much. However, I have been able to send software from a 2068 fitted with Sinclair microdrives to the Disciple network port, and vice versa. I have also successfully sent programs from the Disciple to a QL.
Does the Disciple have any drawbacks? So far only one thing has disappointed me. I have been unable to operate the Disciple with any peripheral attached. This is not too serious since the Disciple has effectively replaced my separate joystick adaptor, printer inter-
face, Interface 1, and Multiface 1,, However, I would dike to have been able to use Multiface 1 and a light
pen interface with the Disciple. ‘he Disciple does have an inhibit button which disables it and then one can use other peripherals, however this does prevent one from accessing software from disc which vather defeats the purpose of the disciple.
Overall the Disciple must be considered a good value with the cost at around $120.00 at current ex- change rates. I ordered mine direct from Rockfort Pro- ducts at 61 Church Road, London Nw4 4pP, United Kingdom.
€MX Mouse
MIKE FELERSKT
From the time I first got my hands on the Zebra Graphics Tablet, I have been investigating the use of a mouse for my TS2068. Granted, the Zebra Track ball for the 2068 is quite impressive, but my search for a Mouse continued. After a little British research I found that the best choices for Spectrum mice are the Kempston and the AMX.
My choice was the AMX Nouse by Advanced Memory Systems mainly because it was available here in the states from Curry Computer, who highly recomended it. The Mouse Interface plugs into any Spectrum expansion port, such as the Rainbow Interface, and it operates in the Spectrum mode.
‘The back of the Mouse adapter con- tains two sockets, one for the mouse itself, and the other is for a Centronics parallel printer cable (the Tasman cable works just fine.)
The software loads in several parts. The first
part asks whether or not you wish to save to microdrive. If you answer no then the software skips over loading the second part and goes on to load the third part which is the AMX ART program. As soon as the program has loaded, you are presented with boreded work area sur- rounded by Icons on the right and pul down menu headers above. In the center of the screen is a hand Icon which moves with the movement of the mouse. This pointer is used to select any of the Icons or the menu headers by just pointing to the desired function and pressing the leftmost button on the mouse.
Nova
The AMX ART program operates the same way as Mac Draw or Mac Paint on the MacIntosh. You can draw cir cles, boxes, and lines. You may draw using a pencil or
@ spray can with any number of patterns and shades. Imput/Output includes the TS2040 printer, the Interface 1 serial printer port or the AMX printer port with the proper cable. Using the 1S2040 printer you are only
able to print the immediate screen area, but with a full size printer you are able to select the area you wish to print which includes a larger area than the screen.
In addition to the AYX ART program, there is also the AMX Colour Palette program which allows you to add color to your drawings. ‘The CP program is disappointing only in that it only allows you to add color in large blocks. On the other side of the tape are the AMX control and Icon Designer programs which allow you to create your own mouse software. These T will discuss in the next article.
Over all I have been very impressed with the AMX Mouse. It provides an excellent mouse/Icon enviroment at a reasonable cost ($100 or less.) The only thing lacking in the system is a more detailed owners manual. In future articles I plan to discuss writing software for the mouse, and other software available for the AMX Mouse from othee companies.
19000
Syd Wyncoop
Nova 1062 claims to provide the humble TS1909 with the ability to perform multi-tasking, In case you are unaware, the usual method to achieve multi-tasking is to use one of the newer
CPU's, The reason is that they have the additional registers and have been specifically designed for multi-tasking. Obviously then, this is no small claim for the Z6@ CPU or the TS19Q9.
‘The tape comes with three versions of the program on it. The first version contains the machine code in an uneditable line 9, to allow you to add your program lines. This version also contains an impressive demonstration routine. It would have been a nice touch to have provided the @ REM line by itself. As the program is delivered, you must delete all the unwanted lines.
Mach of the how to use this program information must be from the demo, as the two page documentation is Ainfornative.
gleaned not very
Version 2 is an auto-relocatable version, you supply the address and it moves itself. Version 3 will load end move itself above Ramtop. All three versions require 502 bytes overhead with the loader.
The program boasts a real-time clock however, it is a 99 hour clock and I would not find it of much use. The clock readout is in the 99:99:99:99 format and appears in the upper left corner
of the screen, The clock requires its own string variable for communication with the user program.
There is also a trace function which shows the Basic line being executed in the upper right corner of the screen. I like the
idea but found it to be of little value as presented
Nova 1023 claims up to 40@% speed increases over the normal TS Basic. The time savings are obtained by manipulation of the display file size and I could not verify then.
The last feature is an auto-repeat on the keyboard. This I liked and found to de the most useful. It really speeds up keyboard entry
All of these functions ere controlled by poking various values into the program (to set program variables) before calling Nova 1900. Nova is then called with a variety of RAND USR calls, depending on the function desired, Nova 1000 will require a new programming discipline. Briefly, you need to set variables to pass parameters to Nova, then make the RAND USR call with perhaps another parameter behind it. 1 think most beginning programmers will be baffled by Nova 1002. The reason is that the program listing will not be very clear, due to the many and varied USR calls needed to make Nova 1028 function.
Nova 1204 appears to be pseudo-multi-tasking. time to experiment enough yet so I happening. and a MC p. does ther limited.
I have cannot be sure
not had what is It appears that Nova is capable of running a Basic
ram concurrently, but not two Basic programs. Nova re provide a multi-tasking environment, albeit
My copy came from Weymil Corp. via RMG Enterprises. advertised price T saw was $20.92 and the ad was as
as the docunentation. However, better documentation, clear examples, and Nova 18@0 could be a winner
The last informative some good
24
Beginning 260 Machine Code
LESSON BY SYD vVYNcOoOOF
It has been pointed out to me, by an astute reader, thet I neglected to tell you to run your MC routines in SLOW,’ if you are using the T5100. Otherwise, you cannot see the display of any of ny examples. Sorry about that.
This tine we will discuss the I/O instructions. For those of you that are wondering what I/O means, it is Input and Output. When I was new to computerdom, I thought I/O referred to my financial status
To what are we Inputing and Outputing? The computer, but it is actually our old friend, OPU. The 1/0 instructions allow the GPU to receive or send information through the concept of PORTS and they accomplish this depending upon how the manufacturer made the hardware surrounding the CFU. For example, in our computers port FEh is used for the keyboard. There are others used by Sinclair for the 2040 printer, cassette, and on the 2068, for the bank switching and video mode changes, These are "hard-wired’ in the computer and sapported by the operating system, therefore we cannot change them
What is a PORT? Very simply, 4t is the doorway though which
information flows to and from the CPJ and outside devices, There are 258 ports available tous on the 288 (there are really 65,596, but ve will not consider thea here). The ports are of course numbered 0-255, as they must de referred to in a single
byte. Think of cach port as a door to a etoreroom. Each door has a number on it, mich like @ motel would. Each storeroom can hold one byte of data at 2 time. The CFU can put data in or take data out, by referring to each port (door).
The I/O instructions are In and Out, respectively and there are two forms of the instructions, s detailed in the syntax chart. We are looking at some instructions that are almost english and fairly easily understood.
‘The forns In A,(n) and Out (n),A use the port specified by
n and reads (In) data into A or writes (Gut) data from A. This is very similar to the Basic In and Out commands, except that the data is stored in the accumulator. None of the flags are
affected by these instructions. For example:
In A, (FPR) reads port FF and places one byte of data into the accumulator Out A,(FFh) writes one byte of data from the
accumulator to the device which ig addressed by port FFA
The forms In r,(C) and Out (C),r allow the flexibility of roading or writing data wich aay register, Caution, remember that Cucontalas the port adress, The Ost (6),x instruction does not aftect any flags, while the ip 21(G) affects ail the flazs. except Carry, according to dava which was read in.
oer etter C must be loaded with the port address, to use, ae in theme examples:
prior
La C, FFA reads port #Fh and places data In B,(C) in the B register
Ld C, FER writes data from the B register
Out B,(C) to the device addressed by port FFh
You will note the I/O instructions assume you are communi- cating with some device (printer, monitor, disk, etc.) which ts Paddressed’ by a port number. The port number is selected by the hardware manufacturer, just as Sinclair did in our computers. You can perform I/O operations on all ports however, the reculta are unpredictable without a device attached. This is due to lack of pull-up resistors on the data lines. Obviously, there will not be any communication if there is no device attached or an Ancorrect port number is used.
Since we have to contend with devices that are much slower than the CPU, we also have to consider timing. I will not gev into this subject very deep, as this type of programming becomes very hardware dependent.
‘The timing problen is obviously one of slowing down the 1/0 operations, in an effort to match the device. Let's consider the simple cage of reading a switch. We might wish to read the switch once per second, to eliminate multiple switch closures (a good exemple is in debouncing the keyboard switches).
We can porferm this type of delay by looping for a termined time period. A simple delay routine that can be without destroying any registers is:
prede- used,
Delay Push BC jsave these registers Ld Box jxx = # of ms to delay Diyt bd Cyyy fy = 1 ms delay count Diy2 Dec C Hoop for 1 ms Sr NZ, Dly2 DUNZ,"Dly1 jleop for # of ns Pop BC fretrieve registers Ret. tend delay
The value xx is the number of milliseconds to deley and yy ic the number of loops needed for a delay of one millisecond. 1
will not take you through the steps of counting the delay as I wish only to demonstrate the technique, When you are ready to use this routine, you will not need my help with the values xx and yy.
Another method of delay can be used with ‘smart’ devices, such as a printer. This method uses two separate loops, instead of the nested loops we just looked at. Our example assumes the
printer (actually, it's interface) is wired for port 7Fh and it
Sends a Zero byte when ready to accept data.
2s
NINE
Ready? Ld C,7Fh iget rort address In A, (0) get ready status from printer Jr Ni,Ready? jloop unless zero byte received Print Ld A,data jget data byte to print Out (C),A ad data to printer Ret yend delay This method has the advantage of not sending any data, unless the device is ready, therefore no data is lest. Can you imagine how this article would look, if some characters were
Jest Were ie another solution to this timing problem, which have not explained. These perform block I/O operations and will I/O instruction: first try, Instead, take the approach we have followed here and write small routines that do a specific job. They can be easily as SQR, COS, etc.
Write your MC in modules (subroutines) that can be easily There are many good books on the subject. However, before you
QOEER Es TNE ENS EP SadStmad co calling program?
This is deplorable, but the biggest reason for documenting you
Software
Riverside
Three New 2068 Programs BLAM I - Over 70,000 tytes. ist Sections Keyboard Instructions.....2 games de- signed to teach Touch-Typing finger- ing. 2nd Sections Blam I, Protect the threatened letter by hitting the pro- por key in tine to destroy bomb with laser-bean. Learning to type is fun!
BLAM IJ - Advanced Touch-Typing. Over 200 letter-sets. Four bomb-drop speeds. Type chosen set in time to destroy bomb! Keyboard/hands illustration can ve called to show fingering for each set. All action in Machine-Language. WPM check. Practicing can be fun!
PATTERNS - Control classic pattern forma tion program. Up to 32 elements, 16 colors, 24 graphic designs, A billion yattern possibilities! Other features nake use of patterns easier in craft-
vorks, $18 each (Mainers add 5%).
‘S**F1_ Box B-20, ORRINGTON, MAINE, O74 see
A)Purpose -if the above questions we:
re answered,
In A, (n)
they should be included here Print Ascii Character 1 Out A, (n) 2)Registers -which ones are used? which cnes are DEAE UOO OEE, In r,(C) ! Out (C),r destroyed and which are preserved? 3 Ini ! Outi hae shound they contain upon entry Lippiea: Acdectmal digit Indy 1 Otir thd ex jOutputs: digit in A is prin ! 3)Inputs -what data does routine aced upon entry? iRoutines Called! Rom Print ea Lane 4)Outputs -what data is returned to calling routine? +Routines Called By: Bn2Dec tnds) 1 Otde D)Koutines Cailled By “what routines use this one Divide ‘aa a subroutine? iPurpose: call rom print 6)Routines Called -what routines does this one call? pre Sreservaig che Tegistera’ T)Conmented Source -an absolute necessiti i This is not the only information that should” be in your Peioty, (Aish Hi jsave all registers documentation, but it is enough to make that routine useful to waeh oC you next tine around. Without this information, you ‘will not Add A,30h 52268 only develope a useful library of routines and will continually need imake en ascii character to reiavent the wheel. If you foliow these suggestions, you will Deis inn anfae find MC programming easy (well, almost) and if not, you will make an axcii character soon give up in frustration. Ret 10h 0 print digit in A Now, how about a short routine? Let's convert binary beac restore registers numbers to decimal digits for printing. Fop BL The easiest way to accomplish this is by repetitively sub- PrDone Ret. jdigit has been printed tracting powers of ten from our binary number and counting the i number of times the subtraction is possible, better known End division, For the more advanced, try doing thie. by using © Shift and rotate “instructions, I am using the subtraction
technique, as the code is much easier to follow.
jet-up Demonstration eoeeverserroneresets
jInputs: none
fOutputs: print decimal number Routines Called: BnzDec Routines Called By: none
}Purpose: set-up hl for our conversion routine
é Org 753¢n
Set-up Ld HL,40a@h ihlsnumber to convert Gall Bn2Dec go convert it
Done Ret. jconverted and printed
ithis 2 our return to jbasic
jour routine really begins here
jconvert Binary to Decimal DRAG AOR ICO GEO O DOO
HL:Binary Number decimal nunber is printed
Hinpute:
iRoutines Called By: Set-up
fPurpose: convert binary number to decimal E ascii characters for printing Bn2dec La BC,DEFOh ;-16,000 Call Divide jgo get 1074 digit Ld BC,FCLeh ;-1, 008 Call Divide jgo'get 1079 digit Ld BC, FFSCh }-100 Call Divide jgo get 1072 digit Ld BC,FFF6h j-10 Call Divide jgo got 1071 digit Ld A.D a= 10°C digit Exit Jp Print igo print 10°@ digit
There are several things to note. First, since each routine
is a separate module that could be called from anywhere, there are a few unneccessary instructions. For instance, the Jp Print La not needed at the DvDone label, as the Divide ‘routine could
simply ‘fall through’ to Print. I'used Jp to demonstrate the use of another routine's Ret instruction, in place of a Call Print and the subsequent Ret that would have been needed to end the Divide routine. Assume for a moment that Print does not follow immediately behind Divide. Tey to follow the progran through and
see that the Divide routine uses the Ret instruction from the Print routine to retam to, the main routine, Br2Dec.
Toused the Rat 1h rom print rovtine for compatibil- sey on Both “the “iedsand 2068. ‘Use ot the rom routines often destroys the registers, therefore they were saved. Even 3C, which we sould have discarded,
The source is written along the quidelines given above. You should note that the conments do not echo the instructioas,
except whan it sexvas to clarsty. look like:
I have seen many listings that
La HL, 4080 RL= 40h Obviously not very informative or useful.
Several lessons ago, I made the rather obnoxious claim that all arithnetic could be performed with addition. This routine
will perhaps clarify that statement. We needed to divide. We chose to subtract, to achieve this. He chose to add a negative number, in lieu of subtraction. We divided!
‘As a friend of mine says, “Th-Th-Th-That’s all folks!",
that is, until next issue.
s
au
T ALEX * * TS2068 SOFTWARE
“DIAMOND MIKE” “GREAT GAMES AND GRAPHICS SHOW”
HDayide by 107% Each originally sold for $24.95, but get daputs? HLCBthexy Nenbed both for just $9.95--while supplies last. BC=10*x, HHoueines Ghlfea” Print” *° "INTEGER BASIC COMPILER ipensonee<ieiae: Ciaacr member ‘by. dove: "SEO ASSEMBLER” ; fy repetitive subtraction Both for $9.95 (while supplies last? Biyide Xor A jelear our counter Includes 19 pages of documentation DyLoop Add HL, BC sperform subtraction Ine A yeount st Bho its” Sothernice advuse the JRC SOFTWARE Dec A icountorg for the extra 200 N. Main St. Drone Op Print igo print it Scottsburg, IN 47170 7 S12) 752-6071 T & Cc Pee 1 CES SS Ee LTB ee TE Fe Re ay oe IW Fa Bd Ww a “poe. Ss Fas ES ee a ileal i or felis ci AE ee For cs free catalog or
Praducts for
thee OT a mess
Computers.
Programming Concepts
by Albert F
Our example program, ZX TIC TAC TOE (the listing appeared in May/June '87 on pages 21 & 22), has the LOAD
name "PY", When storing a program ona cassette, it is better to give it a name, especially when the tape contains other different programs. The procedure is, of
course, to use a REM statement with the name of the pro- gram within a pair of quotations (see the chapter in the User Manual regarding LOAD/SAVE).
2X TIC TAC TOE is self-running and this is possible because of line number 5. This line permits the program to begin execution inmediately after it is loaded. It also eliminates the danger of the user accidentally erasing any data contained in the variable store by entering RUN. Any program written with a SAVE command, after it is loaded, will begin to execute from the first line after this command.
Lines 7 through 12 are in charge of initializing the character array C$(9). This arcay is initialized before the beginning of each game with the numbers 1
through 9. These values are what first appear in each square of the game board and permit a player to make a move during a game. The way the loop is structured is interesting from a programming viewpoint. This way of initializing a character array is faster ans consumes less memory, than say, using LE? and listing each dividual array element in consecutive order.
In lines 16 through 18 the number array N(9) is in- itialized with zeroes before each new game. This array appears in the driver by the name of COUNTR. This array is used by this routine to store how many times during a game a particular move is made. This is important be- cause it prohibits any one square in the game board fron being used more than once during an actual game.
Line 34 initializes the number variable CTR, which is used to keep track of the total number of moves made during a game. When CPR equals nine, it cues the driver called DRW. This routine does what its name says: given
in-
9 consecutive moves. and no winner, the game must end in a draw. Line 35 is really interesting. This line lets the
character variable F$, be used further down the program by pre-assigning it at the beginning of each game. F$ in this program acts as a "flag"--it tells the computer that a game has finished in either a win or a draw. Lines 112 through 120 compose what is actually the main program within my overall program. It has 5 sub- routines and two drivers (a clearer example of this will be shown later when we list the program "declarations"). After the last driver at line 119, terminates execution (ives, when a game being played ends either in a win
or a draw), then line 120 permits the start of a new game by letting the program re-execute again from line 7, This way of structuring a program, which involves in- tegrated mlti-functional routines, is convenient in that it first allows a programmer to outline the main
areas of his/her program, then the rest of the time can be devoted to writing each specific section of the over- all work. (I credit this suggestion to Dr. William T. Kraynek, Associate Professor, Mathematical Sciences De—
partment, Florida International University, Tamiami Campus, Miami, Florida.) From lines 1001 to 1019, two things happen. Sub-
routine MSG prints a message on the screen for three seconds urging the player to beat the computer. After clearing the screen another set of instructions appear for 12 seconds informing the user how to stop and re- start the game, The length of time that each message
Rodrigue
appears can be reduced by pressing any key, space key, while each message is being displayed. messages are displayed once per each new game.
Lines 2001 through 2012 is the subroutine BRD. This section prints on the screen, once per game, the playing board. The vertical and horizontal lines of the board are made of the ‘characters "I" and "—" respectively. The routine is made of two FOR/NEXT loops and a "counter" by the name of C. The variable c what informs the computer that three sets of vertical lines and two sets of horizontal lines have been printed and that it may proceed with its next instructions.
Lines 3001 through 3015 is the subroutine PSTN. This name, is actually an abbreviation for the word "position". This routine is continually called upon to display the actual moves that are either made or remain to be made before and during a game. The row coordinates from top to bottom are 2, 7 and ll; the column coordi- nates from left to right are 2,7 and 13. This routine prints the content of each element in the array C$(9) at pre-determined locations on the game board in row form, beginning with the highest and ending with the lowest OW.
except the
These
is
Lines 4003 through 4010 is the subroutine INSTRCS, which stands for "instructions". Once per game, this section displays on the screen the name of the game, the year it was copyrighted, its author's name, who get to play with either of the characters (in inverse video) "O" and and who gets the first move. The player who is assigned "o", is the one who always gets to make the first move. Once a game begins, the instructions at the
bottom of the screen (which report who moves with what and who makes the first move) are erased. Lines 5000 through 5017 compose the subroutine
RDAPRV. The basic functions of this routine are to read in the move made by a player during a game, then to de- termine if the move is included within the only accept- able kind of moves that should be made during a game. Only the numbers 1 through 9 are acceptable moves. This routine is what is called a "search" routine. It seeks to match what is entered with what can only be an acceptable move. If the move is acceptable, the game proceeds with the rest of the instructions in the pro- gram. If the move entered is unacceptable, then three things happen: an error message is displayed for two seconds, it self-erases and the player is allowed an- other move. Whether or not a move that is made is acceptable...what is entered by a player is always dis played on the screen to let him/her know exactly what was entered.
The first driver in the program appears in lines 6000 through 6018, Its name is COUNTR. Its function is to NOT allow a player to make the same move, he/she or
the computer makes, more than once. It too acts like a search routine by determining which acceptable move was entered, then it stores in the number array N(9) the number of times that move was made. If a move in a game is made twice or more, and error message is displayed for two seconds, self-erases and allows another move by calling subroutine RDAPRV. If the move that was made has not been made before, the progran then continues.
We'll wrap up our explanation of the example pro- gram next issue.
ALSO AVAILABLE FOR THE T/S 2068
POWERFUL AND INEXPENSIVE BUSINESS SOFTWARE FOR ZX81, T/S1000 and T/S1500 COMPUTERS
ZX-TEXT
ZX_TEXT
cgpyaront cc! A CBERF TPL RSeR SSeS
“ANSUER BY ENTERING ® NUMBER”
‘A word processor is to a computer user what a typewriter is to a typist, except that the former has more advantages than the latter. ZX-Text can operate in 16-64K RAM providing from 1300 to 6500 words per document. it features 6 different options: write, read, edit, print, save and clear taxt. Text is written on a per-line basis with quick speed and with horizontal back-space and delete capabilities being availabie. You can aiso access the editor directly from write mode and vice-versa Text can be proof-read on a per-line basis allowing for enough time to determine it any editing is needed. The text editor allows a line of text to be deleted, inserted, replaced and listed for editing. You may also change a word or expression within a line, stop or start text while it is scroliing up the screen, begin reading text from the first line of the file, re- enter write mode {rom the editor, return to the main-menu or create a window so that you can read-edit two files simultaneously. The print option takes text displayed in 30-column format on the screen and outputs to either the ZX/TS printer. (With Mematech’s Centronics Parallel Interface 80-column and iower/ higher - case output is possible) Files may be saved on tape cassette with the use of ‘one single command, oF by the same token they can be erased from memory / storage so that the full capacity of the program can be used for other purposes such as composing letters. reports, articles, memos, standard forms, instructions, ads, graphs, telephone directory, lists of customers, members, friends..ete. Also copies of files are always less expensive ang easier to run than using a photocopier. Other advantages are savings in time, paper, ink, correcting mistakes and adding afterthoughts more efficiently than doing them through either handwriting or using a typewriter.
$16.95
ZX-CALC
ens rsa. RODRIgUEZ 28)
peered PGantandanas
An electronic spreadsheet calculator is the fundamental basic tool for summarising, reporting and analyzing in matnx form any accounting, mathematical or scientific manipulation of num- bers. ZX-Calc operates in 32-64K RAM andatiords & maximum of 3360 characters / spreadsheet. The entire matrix consists o! 15 columns (letters A-O) and 30 rows (numbers 1-30) with @characters/ cell. Unlikeother popular ESCs, Zx-Calcuses in calculations andwithin celts all 14 math functions on the 2X-81 /TS1000 It offers a unique “SUM function that totals one or more rows /columns simultaneously. Parenthesis can be used within equations. There is no fixed jimit on how many equations may be entered. Formulas may be stored in all 420 cells of the spreadshest. The display affords 15 rows/colums. Loadingof data into more than one cellcan occur across/down ‘one or more row/column simultaneously. With vertical windowing you can arrange a set of col- umns in any order, or practice using fixed-variable- alignment display formats, The menu offers 8 options: enter / erase, move, calculate, print, save and clear the spreadsheet. Enter /erase allows the entering, deletion or data alignment within a cell through the use of a mobile cursor. With the move option you may move around the entire steadsheet to access any row, column or cell
‘The calculate option allows you to enter labels, values or formulas into a cell or write and enter ‘equations that willact upon the data already within the soreadsheet You can also enter bargraphs into 2cellinthis option. Absolute /relativereplica- tion, down/acrossa column row, is alsoaliowed bby this option. Also this option allows the auto- matic calculation of the entire spreadsheet with ‘one single command. Printallows youto outputto either the 2X/TS printerthe entire spreadsheet by column-sets and row-pages through use of the COPY command The entire spreacsheetmay be saved on cassette tape or you may clearall data from it or erase the program trom RAM entirely
The most salientadvantage provided by an ESC over specitically vertical appications sohwareis that an ESC provides areusable framework with which you can compose any specific financial model rather than just belimitedto only one stati- cally fixed format for storing, displaying and manipulating numerical date.
$16.95
$3.00 SHIPPING AND HANDLING /PROGRAM
ZX-CALENDAR
437704
aon, mR. EURN REED, CAREER Le PYRE! 30 A.M.
AU 2-2 HOUR UB eae squzep0 57. no. Pas Sez EB Se!
SHE .ENSAB* cour 85
BILENGUAL # BLOS. ©
Time management is an important aspect of any serious business and personal agenda. Planning how to spend our time leaves us better prepared before and while we are spending it and we remain better organized ater we finish spending it. ZX-Calendar operates in 16-64K RAM affording 25 appointments in 16K, 100 in 32K or 180 in 48K and 64K. Each appointment record holds a maximum of 220 characters. The main menu includes enter, search/check/sort, change, save, clear and print any and all appointments made on a specific date or with any party. Output to either the 2X/TS printer is permissible. This program will permit you to remember to do something or to be somewhere important by cataloging your answers to six questions that you must account {or in order not to waste time when it is scarce: when, with whom, at what time, for how long, where and what are you going te discuss and conclude when you get together with someone else? The program lets you permanently originate, record, classify, search, sort, calculate, modity, summarize, obtain a written report and store your answers to the preceding questions so that you will not forget what you decide to do with your time. This program identifies your time according to when you are going to spend it and with whom you are going to share it. Through these forms of labeling appointments you are able to verify or modity how your time is budgeted without wasting ink, paper or more time trying to remember what you said to yourself or what someone else said 10 you or where you placed certain written messages that you now can’t find. With this program you will know where you can find ‘exactly what you need to know about where you ‘wan! to and have to be, or where youhave been, detore you get and after yougot there, Thus, ZX- Calendar wil let you plan your time so that you will never have to worry about wnat is ahead or what ‘came before, for you will always know, by using it, to never be caught astray by any time-frame.
$16.95
A.F.R. SOFTWARE - 1605 Pennsylvania Avenue, No. 204 - Miami Beach, Florida 33139
DEALER INQUIRIES WELCOME
L-1 © 1984
(305) 531-6464
FLORIDIANS ADD SALES TAX
an
a
THE TS i500
C2Z2KXO1/7TS 100038
USER MAMUAL
YOUR RAM MEMORY!
EARL V DUNNINGTON
In order to become more than a novice programmer, it is essential that you understand completely the structure of your Random Access Memory (RAM) and how it functions. This is also a prerequisite for future articles in this series. Much of the material presented in my articles is written to correct, what in my opinion are misconceptions spread or perpetuated by others. I urge you to try the routines presented as proof of the material. I use a TS1500 and this is the reason the 2X81/7S1000 are parenthesized in the heading. This is also another reason to try out the routines on your own computer.
The structure of a computers memory is known as its Memory Map. The BASIC system of the memory map of your computer extends from the fixed address 16384 up to the variable address of RAMTOP. This BASIC system is divided into various areas for filing different types of in- formation a diagram of these areas with their names can be found at the top of page 154 of the 7S1500 and page 128 of the TS1000 User Manuals. It is important to un- derstand that this diagram is drawn as if all of the areas are in use at the same time, which is never the case.
Referring to this diagram, the Lower RAM memory extends from address 16384 upwards in addresses to the top of the Calculator stack. The Upper RAM memory ex~ tends downwards from the actual address of RAMTOP to the bottom of the Machine stack. Each area in the Upper and Lower memory, other than the System variables area, expands when in use and contracts when not in use, The Display file when in the expanded mode is also a special case. When any of the areas in the lower RAM expand, they push all of the areas above it upward in memory and the Spare area becomes smaller. This is like an accor- dian file-when information is withdrawn the areas in the Lower RAM memory contract downwards pulling the areas above it down in memory. This is like a vertical file cabinet, the height of which is the available RAM, with an accordian file folder that works up and down, with the lower end glued to the bottom of the cabinet.
The two areas in the Upper RAM memory act in re- verse, pushing down into the spare area when in use and contracting back up when not in use. This is like a two division accordian file, the top of which can be fixed at any position below the top of the vertical file cabinet with the bottom free to move. This allows us to open up a third area for filing data or machine code routines. So we now have a vertical file cabinet with
can an external keyboard be wired up to a TS1500 in a similar manner as for a TS1000?
Don Berry Orlando, Florida
Tim Stoddard replies: To compare keyboard connections, position both the TSi000 and the TS1500 with their non- component sides up and the expansion connector away from you. The Larger connector is on the Left on both of the computers and is wined the same except for reversing wines 5 £ 6 (counting Left to right) on the TS1500. The
A QUESTION FOR
ho
i]
two accordian file folders. When the space between the two is less than 36 addresses, we get an "Out of Memory" error remark.
The names in capital letters below the arrow heads, or arrows as the case may be in your diagram are the names of what are known as the System variables. These consist of two bytes containing the address of the boundaries of the BASIC system areas. They are filed along with many others at fixed addresses in the Systems variables area. A list of the System variables and their addresses starts on page 160 of the TS1500 or page 134 of the TS1000 User Manuals. The BASIC commands to POKE or to PEEK the addresses are given at the top of the page.
Figure No.l of this article is a diagram of the RAM portion of the memory map inmediately after the computer has been turned on and the cursor appears on the screen ov after NEW has been entered and the cursor appears. Compare it with the diagram in your manual. I immed- iately see some mental hands raised! Where is the Program area? Until a program line is typed and entered the Program area does not exist. Where is the Line being typed + work space? It also does not exist until one or more characters are typed into the computer. Where is the USR routines area? It also is non-existant unless actual RAMTOP is lowered in the case of the Zx81/TS1000 with or without the RAM pack or the TS1500 without the RAM pack. Why do you show the Display file as having 26 bytes or 793 bytes when the second paragraph on page 129 of the TS1000 and the fourth paragraph on page 156 of the TS1500 manuals say "When the total amount of memory (according to the system variable RAMTOP) is less than 3.25K, a clear screen—-as set up at the start or by CLS, consists of just 25 ENTERs."? In the minimum Display file mode, anytime a character is placed into the file it expands. During initialization a cursor character is placed by the ROM routine into the Display file, ex- panding it by one byte to 26. In the expanded Display file mode (the address in the System variable RAMTOP is 19712 or greater) the size of the file is 25 ENTERs + 32 times 24 space characters for a total of 793 bytes. As characters are entered into the file they just replace the spaces, having no effect on the size of the file. Under certain conditions such as during a SCROLL, the normal size of the Display file will change.
For those having a ZX81/TS1000 with a RAM pack attached, let's fool the computer into thinking you have less than 3.25 RAM. Turn on the computer. Type in and
Continued Next Page.
TIM STODDARD
smaller connector 14 wined backwards in the 1500 com~ paned to the TS1000. Following is a chart which compares the two computers. Hope this information helps.
MEMORY MAP OF RAM INMEOIATELY AFTER POWER UP
+———————_ LOWER RAM MEMORY ——__—___>|
keurrer Ram memory |
System variables
Variables | Calculator steck
Spare bytes depend
125 bytes
one byte (66h)
one byte
upon address of RAMTOP
FIGURE NO. 14
ENTER the following direct commands:
POKE 16389,72
cLS
Readers with a TS1500 should do likewise. just turn on the computer.
To prove that Figure No.l is correct, if we PEEK the address contained in the System variable E LINE and subtract 16384, then the result will be the ‘amount of bytes from 16384 to E LINE. To do this type in and ENTER the direct command:
PRINT PEEK 16404+256*PEEK 16405-16384
The result should be 151. If you add up the bytes shown on Figure No.1 between address 16384 and E LINE using the minimum Display file figure, it is 152 bytes. The reason for this is that when you pressed ENTER both the direct command and the cursor character were erased from the Display file prior to the execution of the command. Why did the printing of the value returned and the error remark net upset the value? Because they were printed after the execution of the PEEK and subtract portion of the command.
Let's all fool the computer into thinking we have 3.25K of RAM. Type in and ENTER the following direct command:
POKE 16389, 77
CLS
Repeat PEEKing the System variable and subtracting 16384 by typing in and ENTERing the same command used above. This time you should get 919 which agrees with Figure No.1 using the higher value for the Display file.
All others
If we type anything into the computer it will open up and be echoed in the Line being typed + work space area. Because of this we will enter the PEEK commands into a program line. This will not disturb the original displacement between E LINE and STKEND as after the Line being typed + work space area no longer exist and the Calculator stack has shrunk back to one byte. Type in and ENTER the following program line:
10 PRINT (PEEK 16412+256*PEEK 16413)-(PEEK 16404+256* PEEK 16405)-1
We have to add one because STKEND points to the last byte of the Calculator stack, not to the first byte of the Spare area. Now type RUN and press ENTER. The result should be one byte as shown on Figure No.1.
Turn off your computer and power up so as to have a fresh start. If we take the address contained in the System variable ERR_SP and subtract it from the address contained in the System variable RAMTOP, it will check out the total number of bytes shown for the Upper RAM in Figure No.l. Type in and ENTER the following direct command:
PRINT(PEEK 16388+256*PEEK 16389)~(PEEK 16386+256*PEEK 16387) The result displayed should be a four.
It is important to understand that any additional
memory above the actual address of RAMTOP is not con-
sidered part of the BASIC system. This also holds for
any additional memory in the 8K area between the ROM and
the start of the System variables area at address 16384. (TO BE CONTINUED IN THE NEXT ISSUE)
T/S 1000/ZX81 PROGRAMMING
SRAM HI X¥RES
PART If By Fred Nachbaur In this installment, we‘ll start taking a closer
look at the BLACKJACK listing of Vol. 3, No. 4, to get an idea of what makes it all work. But before we get down to brass tacks, a few other comments are in order.
Ts2068 USERS
Are you impressed with the 2068s capabilities, but Just a little confused about how to go about using it to the fullest? Well, don’t feel too bad; it’s actually a pretty complex machine. Even the way its display file is mapped can be pretty confusing. SRAM HI*RES, on the other hand, is simplicity itsel#. Its display file is arranged very simply as 176 (or 192) lines of 32 bytes each, going from left to right and top to bottom.
Sowhy not dig up that old “doorstopper' and experiment with SRAM HI*RES for a while! Its ease of use and abundance of nifty commands will give you lots to experiment with, and (more importantly) learn from. Once you’ve mastered SRAM HI#*RES, you’!! be in a much better position to tackle the intricacies of the 2068. So here’s an “invite" to you 20éGers to join Come on in, the water’s fine!
in the fun.
WRX1LS HI-RES AND INTERNAL 64K
At this point, let’s give credit where credit is due. As you may know, SRAM HI*RES Extended BASIC is a collection of new commands that make use of a high-res. core routine developed by Mr. Wilf Rigter. This routine is an invention anywhere as significant as the original "cheap video" system employed in the 2X@1. Without this core routine, all the neat possibilities that SRAM HI#RES has to offer would be completely useless. With no
other hardware requirement than a static RAM in the 8~ 16K region, this routine is what gives your humble Z2X/TS & whole new look, not to mention new worlds of
possibility.
The hardware aspect brings me to another point. You may have noticed that the BLACKJACK listing in the last installment was directly followed by Tim Stoddard’s 64K BUILT-IN RAM. I checked over the schematic, and guess what? Tim’s circuit will work fine with WRX1é and SRAM HI*RES with NO CHANGES! This is because the chips’ OE* Soutput enable) is pulled low if EITHER the RD* line
goes low, OR the REFSH* line goes low. Note that Tim Feports compatibility with "THRUST"; guess what THRUST is based on? You guessed it... WRX16.
So, dig up a TS1900 somewhere (I’ve seen them sell for as little as $15), add about that much more in RAM chips, invest a couple hours of easy hardware hacking,
and add SRAM HI*RES. You now have a with high-res capability, at a total What a deal!
full 64K computer cost of under $60.
A GUESTION GF SYNTAX
What is meant by "syntax?" No, it’s not a payment to your government for vices like tebacco and beer. The dictionary defines it as “The arrangement and nter- relationship of words in phrases and sentences.* The computer definition could be worded very similarly; "The arrangement and interrelationship of commands and parameters in program statements." For example, there is 2 definite way of plotting a pixel to the screen in Sinclair BASIC. You have to say, "PLOT x,y". You can’t say ‘x PLOT y* or “PLOT x AND y". If you don’t use the correct syntax, the computer won’t Know what you’re talking about; much as if you told someone, "Dog man bites.” (Does dog bite man, man bite dog, or does dogman generally bite?)
People who write extended language packages (as extended BASIC) for ROM-based computers have a bit of a problem. How do you add new commands to an immutable chunk of silicon? Obviously, we can’t (easily? change or expand the ROM itself. Fortunately, there are always other ways of doing things- passing your parameters (like x and y in example) using POKE, and executing the command hh RAND USR. Sure, it works, It works quite weil. The problems are that this can be confusing (unless you use dedicated variables), and more importantly it’s very extravagant with memory. To take an extreme example, let’s say you have to pass four parameters (as for a DRAW command). You might have to say something like,
You are probably used to the
PLOT
1000 1010 1020 1030
POKE 20001,X1 POKE 20002,X2 POKE 20003,Y1 POKE 20004,¥2
1040 RAND USR 22000 If you’ll do a byte-count of these lines, you‘ll find that to draw a single line on the screen from
SX1,Y1) te (xz, Y2?
doesn’t take Tong to fill In comparison, let’s
handle the same command:
takes a total of 96 bytes!! It up 16K at that rate! Jook at how SRAM HI®RES would
1000 IF USR HR THEN LPRINT DRAW;Xi,X2,¥1,Y2
Verify that this statement takes only 27 bytes. We
can therefore do over 2-1/2 times as much drawing in a given memory space! If we condense the word DRAW to D then we save three more bytes, without affecting the operation of the command. Another point has to do with expressions. In clair BASIC, we can say exotic things like, "PLOT
BRASN (X/2),Y#3/4LN (C/D))". Some extended BASIC systems require you to first assign the value of the expression to a single-letter variabie, or POKE the expression into some machine-code variable first. Not SRAM HI#RES! To
change the above command to SRAM HI*RES syntax requires only that we precede it with “IF USR HR THEN..." That’s all it takes!
Consider the statement "IF USR HR THEN..." as nothing more than a prefix that tells your computer that
it is supposed to do something in high-res. Don’t worry about “what not USR HR?" etc. This syntax construct is nothing more than a bridge, or a door, into SRAM
HI®RES. There are other subtleties regarding high-res syntax, such as the significance of semicolons and commas in PRINT statements, which we’ll get to in the
course of this series. For now, simply get with all those IF USR HR THEN... prefixe:
comfortable remember that
ALL they mean is that we’re doing something that we can’t do in normal BASIC. Similarly, the prefix IF USR HR THEN LPRINT is
simply our way of adding new commands with the greatest possible fiexibility in using expressions. We call these the ‘Group 2* commands, as opposed to the "Group | commands like IF USR HR THEN CLS, IF USR HR THEN PLOT x,y and so on. Obviously, there are no Sinclair BASIC analogs to commands like SPRITE MOVE, DRAW, DEFINE UDG, etc.
i)
THE AMAZING UDG
What is it that REALLY sets high-res BLACKJACK apart from previous Blackjack games for the Z2x81/TSi000?
Is it the game itsel#? No. In fact, the core for this gane was originally written on the first 2K TRS-80 pocket computer! It performed flawlessiy, if with a few
less features. No, the appeal of hres BLACKJACK is in the pictures of the actual cards themselves, right there on your TU screen. It is the GRAPHICS that turns a
good but rather ho-hum game into something that wil make your friends ooh and aah over your “monster doorstopper".
The key to these pictures is a thing called a
"UDG", for "User-Defined Graphics." Though it sounds rather ominous and forbidding, it’s really very simple. A UDG 1s nothing more than a screen character that YOU define. Unlike the 128 fixed characters in your ROM, the 128 UDGs can be defined and changed at will. Every character, UDG or ROM-based, consists of eight rows of eight dots, for a total of 64 dots. Each of these dots are either set ("ink") or reset ("paper"). The possibilities are stagcering. I once computed that if
you printed all the possible UDG’s on TS2040 paper, 32 UDG’s per line, the length of 2040 paper you’d need would equal the circumference of the orbit of Pluto.
The EASIEST way for a user to define UDGs is by
using direct binary, as does th “O" represents a reset pixel,
pixel, The only problem with this is that it is tremendously — memory-inefficient. For each = UDG definition, we would need 44 bytes, plus the ‘syntax
2068. "1
In other words, represents a set
overhead" (punctuation between groups, etc.) Well, so jet’s use decimal numbers to give the vaiue for each of the eight rows. After all, everyone has ten fingers, right? Unfortunately, i0 is not an tegral power of 25
this makes decimal FAR more confusing, than other bases like octal or hexade
in the mal.
Tong
run,
ASE aS TS Tot PATTERN
HIGH NYBBLE
11411311 255
PE os:0000: 97 ia eo1ori10 46
00010000 26
ooo10011 19
ooooizit 15
fjocoioi01 2
00010101
pec.12@ 64 «8682 16 BH 5
HEX. 60 40 20 10 08 04 oz 1
WEIGHTS
HEHE HH HEE EEE EEEHEEEH HEH Ht t Figure 1 The most = memory-efficient approach, while maintaining ease of decoding is (you guessed it hexadecimal. Time for a philosophical digression. I cringe every time I see an article by some neophyte,
arguing something to the effect of, "if God had wanted us to use hexadecimal, He would have given us sixteen fingers," or “if my computer understood hex, I could enter hex numbers as program lines.” I cringe not so much because the author is missing the whole point, rather out of embarrassment because I once felt the same way. However, the deeper you delve into the workings of your computer, the more you are forced to realize that
it really IS a "base 2* device (i.e. nothing but ON or OFF). It is very frequently REALLY handy and NECESSARY to be able to quickly convert between a number and its
binary equivalent, or vice versa. It is much, much easier to do such conversions using hexadecimal. If you really need the decimal equivalent, look it up in a
table or have your computer figure it out using one of the many conversion routines that have been published. A case in point is defining UDG’s.
Take a look at Fig. 1. The UDG character depicted there is an actual UDG used in the BLACKJACK program. If you compare it to the screen dumps publiched in the last installment, you’}l see that this is the upper-left corner of the image of the KING card (the left side of the crown at the top of the card). Each row of pixels is “disassembled" in binary, then in decimal, then In hexadecimal. Note that, in the top row, all pixels are set (darkened). Note that each bit (pixel) in this row represents a power of two. The rightmost bit is 2*0=1, the next to the left is 2*1=2, the next is 2*2= and so on. So, to figure out the value in decimal, we have to add 142+4+8416+32+64+128 and finally come up with 255. There MUST be an easier way.
Rest assured. There is an easier way. Simply split your image down the middle, as shown by the dotted line in the diagram. So now, each row of eight bits (= 1 byte)? is broken into two rows of four bits (= 1 nybble). Now consider the following table of binary-hex equivalents:
0000=0 O001=1 0010=2 0011=3 0100=4 O101=5 O110=4 O111=7 1000=8 1001=9 1010=A 1011=B 1100=C 1101=D 1110=E 1111=F
Commit this table to memory. Burn it into your mental EPROM. Practise it until you’re SURE that 1011 means “B". An easy way to cheat (comparable to counting on your fingers? is to remember that the “weights' (going from left to right) is 8, 4, 2, 1. So "1011" is 8, plus (no fours), plus 2 (9, AD , plus 1 (8). Another way to cheat is to keep the above table handy.
OK, now here’s the punch line. To convert a binary number to hex, simply break it into nybbles as described above, then ‘convert each nybble to its equivalent single-digit hex number. The resulting two-digit hex number gives the hex equivalent! For instance, the third line in the diagram is binary 00101110. Breaking this into nybbles we get 0010 (2) and 1110 (E> = 2E. It will take very little practise to get the hang of this; it won’t be long at all before you can figure out the hex equivalent of any 8-bit binary number by simple inspection. To figure this same number out in decimal we would have had to add 32+6+4+2. Don’t know about you, but I’m tempted to reach for a calculator when I see something \ike that.
How does this apply, in practise, to SRAM HI#RES and the BLACKJACK program? Take a look at line 9001. Uhat we're telling the computer here isi
IF USR HR THEN ++ Center SRAM HI#RES)
LPRINT Uj .+.+- [Define UDG]
“8, eee. [starting at space = CHR® 01 *00,00,00... etc." Chex numbers for each row]
Note that the first eight entries, corresponding to the Sinclair "space" character, are all zero. In other words, our UDG CHR® 0 is a space just like the "normal* character cet. This is where the similarity ends.
Note that, as listed, the “separator” after the eighth hex pair is the graphic symbol on "i". This was simply for my convenience in entering and debugging; in fact, the separators can be anything your heart desires. SRAM HI#RES completely ignores them. The point to remember is, that you can make your UDG definitions as Jong as you like. The LPRINT UDG; Cor LPRINT U3? command Keeps processing hex numbers, assigning them in sequential order, as long as they are supplied. So, Tine 900i defines ‘the UDGs corresponding to all the characters from CHRS 0 (space) through CHR® 9 (graphic on D). Line 9002 starts defining at CHR® 19 (graphic on §) and continues to CHR$ 19 (*<*). And so on, until al 128 possible UDG characters have been defined.
Before we end off, what do we mean by UDG’s ‘corresponding to’ the standard Sinclair characters? Very simple. When using the UDG PRINT mode (selected by IF USR HR THEN PRINT}}33) then anything containing these characters will print as the corresponding UDG instead.
For instance, if we said IF USR HR THEN PRINT) ;;;CHRS 1 then the computer would print the UDG shown in the diagram of Figure 1.
32
VYVAXPORWARE
From SILICON MOUNTAIN
New that our SCRAM board ie av. Ve Fists, we felt a need for new entries. We're presently taking orders for the following *new* products which definitely will maybe appear one day.
nd Off the Svaporuare?
NERO—-WORD
= The word-procestor for the conpleat idiot. Revolutionary input routing obsoletes the mouse, Joystick, light pen, trackoall, and even the Keyboard! You don’t even have to know the QUERTY keyboard! Alphabet and control icons continuously scroll across the MOP (Master Control Panel Window, when the cesired character is in the CSF (Cursor Selection Field), press the button on our DBI (Doorbell Button Interface) fanly $235.702,
DEBASED
= The file manager of the future! Uses the same input routine as Amazing new sort routines simply print cut your y cut them up, and sort by hand (free tutorial included?
use our Laser Wand (only 4495.67) to read the sorted #i
MAIL—PURGE
= Interactively links NERO-WORO and DEBASED. Comes with a pair of aciscere and 4 glue etick for ineerting your datafiles into text files. Gur “patented KAMIKAZE routine eliminates the need for a DELETE function; when the program figures that you've had your files long enough, it aseunes that youre tired of them and Automatically purges them without saving. Even wipes out the Program and gives you an op-art crash-screen!
BUGS—-PUNNY
You are supplied with 16K of pure hine=codes
Tenge 1s toa
in Know what the final program do natant coffee, a box of double-stut Or of ExtrasStrength Excedrin, We/ll ew us a working copy of the solution!
with a packet of yand a pocket bottle PAY YOU 810 14 you send
SILICON MOUNTAIN COMPUTERS: C-12, Mtn. Stn. Group Box NeTeon, BC UIL SP) caNADe
REMEMBER: In SRAM HI#RES, you can generally use the same syntax constructs as you are used to in Sinclair BASIC. 80, any of the following statements would be
perfectly valid, and would do the same thing:
LET AS=CHRS & IF USR HR THEN PRINT; 33 50%
IF USR HR THEN PRINT3355° *
IF USR HR THEN PRINT
CHR$ (2*SINCPI/6))
NEXT TIME... More on UDG’s ... SPRITES ... SRAM-HI RES PHILOSOPHY
F-SAVE MAGIC ... MORE
at ABACUS /SSFREADSHEET "Tires"
by PART xr . 5 Sa Mike de Sosa
One good indicator that QL Abacus CQL SPREADSHEET in the States) is a quality on input is set to "NO,” the command Xecute program is the fact that, despite the proli- is used to recalculate spreadsheet values. feration of other software for the QL, there CALCULATION order row or column only is no other QL spreadsheet. It is a First- pertains to the sequential order in which Class professional computer program. The calculations are carried out, which will not Following is intended to go beyond the aL usually affect the outcome, GAPS between Abacus documentation in the Sinclair OL User lines on printer is a very useful but often Guide in helping you to optimize your use of overlooked command: this excellent program. Echo is used to copy the data, Formula,
or text of a single cell to another cell or
TROUBLESOME COMMANDS AND FUNCTIONS a whole cange of cells. Formulas are
adjusted.
Amend is intended to change the Formula Files offers a submenu of Five File’ in the current Ccursor} cell end other cells handling options, You may import or export sharing that Formula. (The Formula--or date data from/to other OL software programs and or text--is brought down onto the input line other QL Abacus programs. Import/Export where it may be modified and reentered.) It operations are not complex, but they are a is more efficient to change data or text in little involved. Consult the @L Abacus and acell by just reentering it. Inforaation sections of the QL User Guide,
Copy is used to copy the contents of the HELP facility of QL Abacus, and Chapter one or a range of cells to another place on 12 of my book, if you have it, regarding the spreadsheet. Specify the cell or range such operations. of cells to be moved, then the cell or upper Grid is a key command used to modify left cell of the new range of cells. the spreadsheet grid in three ways: to Formulas included will be adjusted for their delete one or more rows or columns, new locations. adjusting shared formulas; to insert one or
Design is used to set various more new rows or columns, adjusting shared Parameters of the spreadsheet: the first formulas but losing data and formulas in value shown after ch parameter is the rows at bottom or columns at right which are default value or option. If AUTO-CALCULATE pushed off of the spreadsheet; and to modify
DON’T
MI ! The Ultimate Resource pou
For Your Sinclair QL!
OODOUUDODO OOo JOO
C) TAKING THE QUANTUM LEAP: Subscribe Today
The Last Word on the Sinclair QL ba oa b Seis tees TIME DESIGNS MAGAZINE CO. 29722 Hult Rd., Colton, OR 97017
eleetemetomtoeeteet eet teetenteloleeleetoete: |
The only QL book to cover the lastest advances in hardware and software. Chock full of useful programs and examples. Fully illustrated, 280 pages. No QL owner should be without it!
$26.00
EXCLUSIVELY AVAILABLE FROM: Name.
TIME DESIGNS Address _ 29722 Hult Rd. "
Colton, Oregon 97017 City
U.S.A. State ___ (503) 824-2658 (24 hour order line)
CNew subscription Renewal
the width of one or more columns
The Justify and Units commands work similarly: the former is used te modify the default position of text or numbers in cells and the latter to specify how numbers are displayed within cells. In both cases, the range of cells is specified and whether or not the command applies to already Filled cells (selects CELLS) or empty cells within that range (select DEFAULT).
Nerge is used to combine data in tuo or more identically formatted spreadsheets; the merged date may be added to or subtracted from data in filled cells. Formulas are lost. Since you may import and export data between GL Abacus programs, this may prove a more efficient or desirable way to do this.
Order is used to sort rows in ascending order based on values in a specified column. The ordering sequence is empty cells, numeric cells, and text cells Cin alphabetic order). In most cases, formulas are lost.
Note the various options available when using the frint command sequence.
Window is used to split the spreadsheet horizontally or vertically into two movable segments so as to better display cell contents.
Xecute is used to recalculate all for- mulas in a spreadsheet only if AUTO- CALCULATE on input is not operative. It is also used to restart a spreadsheet program containing ask) or askt©) Functions--in any event.
An Abacus Function converts one or more arguments into a returned value or performs some other function; Abacus Functions must be Followed by brackets, whether or not it requires arguments.
AskrXtext) and askt(text), @ prompt, request the input text string, respectively.
Ave(range) returns the average of the numeric cells within the specified range.
Count(range) returns the number of Filled data and text cells within the speci- fed range.
Max(range), mirkrange), and sumrange) return the largest, smallest, and sum of all
"text” being of a number or
numbers in the specified range of cells, respectively.
Date(n), daysttext), — month(n), and time() may be used in many imaginative waus
in spreadsheets and spreadsheet programs, If(numeric expression, true, false) re-
column segment containing the returned preset (output) values, and velue is the entering argument. tering and output values must be numeric, the former in ascending value. The example in the Abacus HELP facility is adequate if further explanation is needed. NPUCrange, percent, period)
returns the
Net Present Value of cash deposits (the amount of money which must be invested now to produce a specified cash Flow at some
futuredate, assuming @ given interest rate). Tnree arguments are required: range is a row or column segment containing cash deposits made at equal intervals of time, the period; percent is the assumed interest rate. Once
again, the example in the User Guide is
adequate for a Fuller explanation. THE BOTTOH LINE
QL Abacus is a powerful manipulator of both text and numeric data which will prove highly useful to you in almost any pursuit. You may Find it easier to lay cut spread- sheets in the following sequence: headings and labels, first; formulas; data; and, finally, editing the format.
Tl Setting the GL clock is important to GL Abacus (and other programs). Amend your QL Abacus “boot” program to include the Following:
5 AT 6,52 INPUT “Set clock: YYYY,MN,DD,HH, HK, SS"\ A m\ dl piri s 6 SDATE y,",d,hyms
NEH GL PRODUCT: SPECIAL EDITION EDITOR
Digital Precision’s The Editor, a text editor program, wes subtitled--somewhat prematurely many felt--as "CHUCK QUILL OUT!” It was not a WYSIWYG C"what you see is what you get") editor and had no printer driver. DP’s improved text editor, Special Edition fditor, For use on expanded GL’s, is still not a WYSTWYG--why I don’t know--but it is a most comprehensive text editor, much more flexible than QL Quill, and for those who are sufficiently capable and wish to take the trouble of learning a rather complex
system, this may be your cup of tea. Special Edition Editor should be especially useful to those who must
turns the "true” argument if the numeric frequently publish sizable documents such as expression evaluates to other than zero or Time Designs Magazine. This is especially the “false” argument lf the numeric true considering that it is designed to be expression evaluates to zero. Text and compatible with DP’s new Desktop
numeric true/false arguments may be mixed. IRR range, period) calculates the in- ternal rate of return--the equivalent inter— est rate--for the numeric data in the speci- fied range (either a row or column segment). This data represents a cash Flow for each of several payoffs separated by period” months--period is the number of months, that is, a number. The example in the User Guide is adequate, if you need more explanation. Lookupl range, of fset,value) refers to an established reference table in the spread- sheet, returning a preset value corres- ponding to the argument value. The function
requires threes arguments: range is the row or column segment containing the entering argument, offset is the number of rows or columns separating the range and the row or
34
Publisher--said to be good less so on text.
Special Edition Editor is far too complex ta describe properly in a short article. It nou has a most comprehensive printer driver, Suffice it to say that most of the shortcomings in The Editor have been eliminated, that it has dozens of additional Features, and that it will do just about anything that you have in mind. For expanded GL’s onlu! About $50 from Sharp’s.
But I still wouldn’t chuck Quill out.
on graphics but
For all of Quill’s Faults, WYSIWYG is the only way to Fly.
NEXT TIME: QL Easel/Business Graphics "Tips,” plus more new QL products information.
SIZZLIN*’ SUMMER SPECIALS
HERE IS JUST A SAMPLE OF THE GREAT SUMMER BUYS WE HAVE TO OFFER! {ALL SALE ITEMS LIMITED TO STOCK ON HAND? ER ER EEA EEEEEEER EEL EE EE AEE EASIEST AAAS AE ASAE SEARS S EEE
AACE £ SM
RMGH422 FORTY-NINER (HI-REZ GAME) REG.:% 9.95 SALE $ 5.69 RMGH421 ZXTRICATOR {HI-REZ GAME) REG.:% 9.95 SALE ® 5.96 RMGH4S9 ROCKETMAN (HI-REZ GAME) REG.:% 9.95 SALE & 5.96 RMGHISS T/S 1916 16K RAMPAK (NEW) REG.:$13.95 SALE @ 7.56 RMGHS83 TSig6@ IDEA BOOK (NEW) REG.:% 4.95 SALE # 1.50
= Sea es oer:
IK ee
RMGH342 26868 KEYTOPS (PEEL & STICK)
RMGHG13 NOVELSOFT-ZxPERT
RMGH243 NOVELSOFT-TIMACHINE COMPILER
RMGHSS6 ARROW-MUSIC DESIGN 269a REG.:%19.95 SALE $14.95 RMGHS68 ARROW-SCREENDESIGN REG.:%14.95 SALE #11.95 RMGHS19 2668 ROM MANUSCRIPT BOOK REG. 2:16.95
RMGHS22 INTRO TO 29468 MACHINE LANGUAGE REG. :$16.95
RMGH2Z8S GL ASSEMBLER PGM REG. 2934.95 RMGHSS9 QL TRIVIA @LUE REG.:$19.95 RMGHS64 WD UTILITY PACKAGE REG.:$19.95 RMGH345 WD PROJECTOR PGM REG.: 14.95 RMGR2S6 QL DECISION MAKER PACKAGE REG. :$34.95 $25.99 RMGN269 PC-IMPORT REG.:3$39.95 $27.59 RMGHZS1 GL MONITOR REG. ?$24.95 $19.95 RMGH391 QL SERIES BOOK MC PROGRAMMING REG.:% 9.95 % 8.08 RNGHS?S @SPELL REG.3$29.95 S19.95 RMGH419 POINT BLANK-KARATE REG. :%24.95 S17 .48 RMGHZ89 EMPTY MDV WALLET (HOLDS 4) REG.:% 1.5¢ # 1.98
FEE III EEE IE
IF YOU WOULD LIKE A COPY OF GUR COMPLETE TS CATALOG, PLEASE SEND %3.0@ TO THE ADDRESS BELOW:
RMG ENTERPRISES
1419 1/2 7TH STREET OREGON CITY, OR 97845 383/655-7484
PLEASE: ADD S2/ITEM SH. TO MAX OF $46 TOTAL. FOR ORDERS OUTSIDE THE CONTINENTAL US-ADD 5% FOR ADDED SHIPPING. FOR CREDIT CARD ORDERS-ADD SURCHARGE OF 5% OF TOTAL ORDER. BE SURE TO INCLUDE CARD # AND EXPIRATION DATE. PLEASE INCLUDE TELEPHONE # WITH ORDER.
QL Support
Have you heard the latest in Great a 2 trad is cethinking thei @ : a a ee os
rface (up to two drives), RAM@is!
executives have been keeping ar on how the asec ; Qh
been commen knowlede @ 32-bit machin
ot
rovements
top progran, qraded for use with additional new version which iacorporates features, yk punch in one circuit card th msion slot. When installed,
Qool @
M. VINCENT LYON
Some of you who have ¢ encountered heatin problems with your QL before, might dis August 15, or the hottest day of the year, will suddenly blank out. Actually, it is nly". There are usvaliy sal] vacn screen or the colo!
radios, a \ although ¢ functicnal
R, the furnace and other goodies urge protector was burned, and no ar k drives were unter
ow the ventilation system on the righ below
don't mind losin these symptoms, i Gata, and turn the QL off for an ho If you take some of the precaut t, there is a good chance that worry about the heat problem. disk driv
running itional
#20 Bond ¢
perature 18 top of the c i flow.
If you have done the first two thi and still encounter heat problems, there is a good possibility the problem can still be solved for a ning the QL case. Run down to Radio " brushless 9VDC fan ( 43), Tt
, problems. Even if you do net: currently have a he:
remember that any heat, over time, is the
killer of all electronics. Static zaps 2 few,
kills all chips sooner or lat
can expand its life.
Rat than start.
er. Keeping your
ng with the
first, I to attempt w @ smallest fix first. If tha on to more elaborate repairs. the OL. The to do is, if your OL
nto a quality protector, PLUG IT when doing so, sure that the power from the surge protector to the OL is not peting, nor is close to itor, or any source of static. As an additional benefit, sh power comeany decide to mess up your power, as they did mine, your QL should be protected. (My power company sent surges through my house that blew ov 15 of my appliances including the refrigerater, intercomms,
moi
While we are forcing the air ina reverse pattern to the normal convection designed with the QL, the flow is sufficient to really cool the QL, and possibly you as well. Remember that if you aim the fan at the front of the QL, you may be forcing dust into the microdrive ports, which could create more problems than over- heating.
I put one of these fans on line and put it through a few tests. With the computer on, but idle, the in- ternal temperature in the microdrive port was 104 de~ grees. After the fan had been running for five minutes, the temperature had dropped to 68 degrees. T then wrote a program to format a microdrive 15 times, and measured the temperature during the format (drives running create heat). On the 15th format, the internal temperature was still 73 degrees.
I have been advised that RMG Enterprises of Oregon City, OR is in the design phase of a cooling fan system designed specifically for the QL, and should run from the QL's internal power. So, in the future, there may be a system more efficient than this simple one. In the meantime, this seems to be all that is available.
So far, we have found some simple ways to keep a QOOL QL without resorting to opening the case and fiddling around with the insides. If all these have failed, and ONLY IF ALL THESE HAVE FAILED, then we are forced to open up the QL and begin to tackle the problem other ways.
The QL uses a one amp 7805 voltage regulator (you will see it attached to the heat sink behind the micro- drives). Since the voltage regularo is heat protected (if it overheats, it shuts down), this, while maybe not the cause of the problem, is certainly the heart of the problen.
The important thing to remember is that simple metal to metal contact is just not an efficient heat transfer system. Metal must be somehow "bonded" to the heatsink if heat is to transfer properly. at assembly, many QLs suffered the same fates. The heatsink compound used was of a type that dries and ages with heat, and in adequate amounts of the compound were used. As a con- sequence, the unfortunate voltage regulator is unable to transfer its heat to the heatsink.
Fortunately, for us, the fix is simple. Remove the heatsink from the voltage regulator. Scrape off any old heatsink compound, and clean both surfaces as much as posssible. Put a generous coat of any silicone based (it doesn't dry or crack) heatsink compound on the voltage regulator where it contacts the heatsink and reconnect the two. This increase of thermal transfer will permit the heat to flow to the fins of the heatsink, where your fan can efficiently carry the heat away.
Now, even if you're running 640K and three disk @rives, you should have no heating problem. But, if you continue to encounter problems, there is an additional hardware fix published previously in QUANTUM LEVELS (Vol 1, No 2) by Tom Woods. I don't recommend that you attempt this fix unless all else has failed. It involves installing an additional 7805 voltage regulator, a capacitor and a diode to attempt solve the problem. The single case that I know of that tried this method was unsuccessul, probably because the simpler fixes, like a power surge protector were not attempted first.
If you wish further information on the final hard- ware fix, I suggest you contact Tom Woods at Quantum Levels, PO Box 64, Jefferson, NH 03583.
Common sense however, demands that I state, if you have done all outlined procedure, short of the hardware fix, and you continue to have heat problem, you would be well advised to contact A+ Computer Response and get a replacement Q Lb. If the fan and heatsink compound don't work, you may have serious problem. Historically, At has not been really prompt in replacing defective QL's (eight weeks is about standard), but right now, we users seem stuck with that situation.
It may be possible that your QL dealer can provide a temoorary "back-up" QL for your use while yours is at At for evaluation.
As a final thought, (seems like I'm talking to my kid, now) I must stress the importance of cleanlinesss. Dust blocked vents cannot do their job properly. It may appear insignificant, but dust does inhibit air flow essential to cooling. It also has great insulating properties.
Here's hoping your QL is as QOOL as mine (knock on wood).
Sharp’s, Inc. Rt. 10, Box 459 Mechanicsville, VA 23111 (804) 746-1664 or 730-9697
COMPARE OUR PRICES!
QL Computer $189.00 512k RAM-Miracle $148.95 Trump Card $299.95 CST Disk I/F $ 99.95 Dual Quad-Density Disk Drives $259.95 Modapter Plus $ 49.95 Centronics I/F $ 32.95 Task Master $ 35.95 Front Page-Desk Top Publishing $ 29.95 CP/Mulator $ 54.95 Desktop Publisher by D.P. $ 99.95
VISA & MASTERCARD ACCEPTED WITH 3% SURCHARGE. ALL PRICES INCLUDE SHIPPING WRITE FOR OUR NEW 6th EDITION CATALOG.
Adventure Writing System $ 32.95 Tank Busters $ 24.95 Dragon Hold $ 24.95 Super Charge $ 69.95 Q-Liberator $ 64.95 Advanced User Guide $ 27.95 Microdrive Cartridges (setof4) $ 8.95 Microdrive Cartridges w/o tab $ 6.95 Schon Keyboard (set:of-4) $ 89.95 Spellbound (The Best Spelling Checker) $ 45.95
Get yourself organized with
ElectriQL Desk
° full year appointment/scheduler
e¢ 400 name address book w/phone numbers © view or print any file
* network with other QLs
® track your budget
¢ compatible with ICE
e easily transferred to disk
e and MORE!
ElectriQL Desk is the only true desktop organizer for the QL. Let your computer get your life organized. A Peech ii Production available from:
Markel Enterprises ALL THIS FOR ONLY 4712 Avenue “N” $ 95 Suite 383 24 .
Brooklyn, NY 11234
or or your favorite QL dealer. If he doesn’t have it, ask why!
Tame Desiqns Tests by
Mike de Sosa
This article inaugurates a new series in TDM: the most comprehensive report of the testing of new hardware and software for the Sinclair QL yet done in the states.
Each item reviewed will be awarded from one to five stars, depending on its degree oF usefulness and excellence, and "turkeus” --those which I judge to be an affront to the consumer--may be given a blivet (0),
THE NEH TASKHASTER *# # * #* #
Sector Software’s “latest” version of their five-star multitasking softui + TASKMASTER, is profoundly different from
earlier versions. As many as eight QL soft- ware programs may be multitasked at the same
time: the preset list of QL software pro- grans to be executed is QUILL, ABACUS, EASEL, ARCHIVE, ABACUS, and ABACUS. Only cne
program of each type is actually loaded, but each program executed has its own reserved data/manipulation area in RAN. You may
own set of OL (Psion) software and dedicate an approp- A Full set of loads from disk in
cheose your or other programs riate portion of RAM to each, programs and utilities about 20 seconds!
One major improvement in the new version, end one which should be emulated by other vendors, is that the original master program disk or cartridge need not be used to boot TASKMASTER--a great leap Forward!
Four new Functions have been added to the TASKMASTER Calculator module (powers of numbers, percentages, etc.) and the final result may be sent to a OL software program.
TASKMASTER has added a NotePad utility which is called by keying ALT FY Cwhich also calls the COMMAND FILES moduled. You may Load, Edit Cuwrite), Save, Send (to a soft- ware program), Zap, or Print a note.
Perhaps the most far-reaching addition to TASKMASTER is its Command module which permits command Files consisting of up to 2000 keypresses to be “learned,” saved, and later accessed. When accessed, the kay- presses will be duplicated.
Two new SuperBASIC keywords, SCRON and SCROFF, and a user definable print buffer.
Be sure to order version 2.35 with serial number greater than 4000! About $36.
SPELLBOUND * # #* #
SPELLBOUND is Sector Software’s new spelling checker--and more! SPELLBOUND, designed for use with GL Quill or Digital Precision’s EDITOR and SPECIAL EDITOR on an
expanded GL, has Five levels of operation Tanging as the documentation states From the "totally unobtrusive to absolutely insistent.” (A star was withheld because SPELLBOUND cannot be used to check a completed document, but I am told a patch will soon be published in Sinclair OL World
which will permit this.) SPELLBOUND utilizes
a 30,000 word dictionary to check your manuscript as gach letter is tuped. (This dces not in any way interfere with your typing.) Additional words may be added up to the memory limits of your machine, and a
list of correctly spelled words displayed on which the correctly spelled word may be indicated and sent to your document.
fn audible and visual signal is given when a mispelled word is typed. About S45.
TOUCH TYPIST * # * ®
David Batty’s (Sector Software) compre- hensive typing tutor is the best instruc- tional typing software for the QL. TOUCH TYPIST has a 1200 word vocabulary, ea 200 lesson Format, an excellent tutorial, and an on-screen keyboard. Lessons are easily customized to Fit any style of teaching. It even has a graph utility which reflects your Cer each member of your class's) highest speed obtained on each of the lessons.
I didn’t give TOUCH TYPIST five stars because it requires the original program cartridge to be inserted in Microdrive 1, which presents problems when booting From a disk backup--no program that utilizes such copy protection will ever get five sters from me. A truly excellent version of one of the most important instructional software programs. A bargain at about $20.
Freddy Vaccha at Digital Precision has come cut with a whole new and revised family of QL software: such things as TURBO (Ca SuperBASIC compiler even more powerful than DP’s SUPERCHARGE); DESKTOP PUBLISHER, per- haps the Rolls-Royce of such software for the GL; and revised versions of EYE-Q, THE EDITOR, and SPECIAL EDITOR Cfor the expanded QL). I have tested the latest EYE-Q and SPECIAL EDITOR (dozens of new features, including a smart printer driver); both are
TOUCH TYPIST
FOR THE SINCLAIR Q.L.
TYPING TUTOR |___ Sector Software
389
the
CLASSIFIED
FREE ADS FOR SUBSCRIBERS
FOR SALE: TS2068 and Aerco printer interface; Flight Simulator & many other cassettes...$100. 1TS1000, modem, printer, terminal I/F for HAM Rtty, CW, Wepax...for $100. Call: Donn KAOSHOH (314) 832-8617 or write: 5814 Minnesota, St. Louis, MO 631111.
FOR SALE: TIMEX 1000 Software. Flight Simulator, The Gambler, Supermaze, Cube Game, Checkbook Manager. Must have 16X RAN. Best Offer. Tim Kessler, 29 Wine St., Uniontown, PA 15401,
FOR SALE: TS2068 Computer with
3 different manuals, 2040 Printex, Westridge Modem with 2 programs, and Panasonic Tape Recorder. Have 8 programs. 2068 also has Spectrun ROMSWITCH and RGB Cable. All in like new condition. R.L. Sutton, PO Box 280, Bronson, FL 32621 ($200 for all).
MONEY MACHINE $12, Diamond Mike $15. 2068 Software on Aerco disk or tape. New/used hard/soft-ware for 1000 2068. 22-cent stamp for catalog. Chia~Chi Chao, 73 Sullivan Dr., Moraga, CA 94556.
WANTED: Three DAMCO RAINBOW IN- TERFACES (Spectrum Emulators) for TS2068. Leslie E. Kulberg, Rt 2, Fayetteville, TN 37334, telephone (615) 433-1050,
FOR SALE: ALPHACOM 32 Printer,
w/ interface & power supply $30. Textwriter 64, Artworx Vi.1, Zeus Assembler, Ckt. Bd. Scramble (all for 2068) $40 for all, or trade for full Aerco W/P. W. Flower, 1604 Vincennes St. #22, North- ridge, CA 91325.
THE WILD WEST ADVENTURE for 16K 2X81 or TS1000/1500. Machine code and BASIC, Cassette with full printed instructions: $10.00.
Larry Dietrich, P.O, Box 13, Blanca, co 81123.
WANTED-MICROPROLOG, complete as noted in the JAN/FEB 1987 TIME DESIGNS. Send postpaid price to R. Steensen, 1010-H2 Green Pine, West Palm Beach, FL 33409.
Do you have some equipment or a program that you would like to sell? Looking for something hard to find? Place an ad in THE CLASSIFIEDS! Subscribers can place one free personal ad in each issue. Ad size is 32 Col. wide (like 2040 paper) and maximum of six lines. For additional lines - $3 each. NON-SUBSCRIBERS and DEALERS: $4 a line. DEADLINE FOR ALL CLASSIFIED ADS: Two weeks before publication date. Mail your ad to:
TIME DESIGNS MAGAZINE, The Classifieds Dept., 29722 Hult Rd., Colton, Oregon 97017,
DESKTOP PUBLISHER for 2068. Two Versions: Vers 1 works on all dot natrix printers. Vers 2 works on Olivetti 2300 printer. $19.95 & $24.95 (+ 1.25 postage). Send SASE for samples. Charles Stelding 1415 S. Baxter, Tyler, TX 75701.
WANTED: TS-2050 Modem manual. Nick Oshana, 187 Morningside Dr. East, Bristol, CT 06010.
2068 PLOTTING w/Commodore 1520 4-color HI-RES printer/plotter! The I/F hard/software is available from John McMichael, 1710 Palmer Drive, Laramie, WY 82070. Send SASE for complete info & sample plot.
FOR SALE: TS1000 in metal cabinet with keyboard, Westridge modem, Aerco C.P. interface, Memotech 64K RAM. Send for complete hardware
and Software list to: Richard Beier, 1 Darwin Dr., N. Merrick, NY
11566.
WANTED: Low Price TS1000 computer, 2040 printer power supply, and
modem hardware &