ZX81 Hardware & Software News

See all articles from Sinc-Link v3 n3
Author(s): Peter McMullin
Publication: Sinc-Link
Pub Details: Sinc-Link v3 n3 (Volume 3, Issue 3)
Date: May/June 1985
Pages: 3-6

no.2 in a SERIES

BELATED INTRO:

After reading my last article, some of you will be wondering what direction this column might take. In this and future columns, you will find information on the latest hardware additions, projects, and reliable parts sources. Plus reviews of new software, books, and other sources of support for Our Computer: the ZX81 and TS1000. Hence the new title.

Exploration of the workings of machine code will be pursued, along with some advanced BASIC applications.

I will attempt to answer letters from readers. Suggestions for future subjects will be considered. Some letters will be published, but if you expect a personal reply, you MUST include SASE.

ON WORDPROCESSING:

It is clear that with the addition of a real keyboard, a suitable printer interface, and good software, the ZX81 CAN indeed become a wordprocessing machine with impressive capabilities!!

This is important to me, since in addition to preparing this column, I write a LOT of letters. Well over half my computer time is spent processing text. To follow up on last issue’s lead: Word Sinc II.4 [(c)P.Hargrave], written for the Memotech Centronics I/F, works as is, after a limited fashion, with the Eprom Services I/F. Some customization is required to get full use of printer escapes along with desired punctuation.

Since last issue, I have nothing but good news in this area. THIS ENTIRE PAGE was produced using WORD SINC II.5.

With no small amount of help from Powell Hargrave, I have written the “II.5 enhancements” for Word Sinc. In addition to the facilities of W.S. II.4, this new version features presettable left margin, auto Form-Feed with each page, graphic logo design and custom font utilities, and a printscreen utility which copies the screen as ZX characters using printer graphics mode and the ZX ROM character generator. Embedded printer escapes are transparent to the text justify routines.

W.S. II.5 is written for the EPROM SERVICES Centronics I/F, and contains complete built-in driver software for the I/F card. Compatible printers include EPSON MX/RX80, STAR Gemini 10X, Mannesman Tally SPIRIT 80, and in fact just about any EPSON workalike.

The EPROM SERVICES I/F is very adaptable. The I/F card holds a 32 byte PROM, which patches the ROM COPY*D routine to driver code that may run above RAMTOP, or in the 8-16K area. Having the actual code in RAM makes it easy to POKE in CALLs to the new subroutines which provide graphics, custom font, and left margin features.

Although the MEMOPAK I/F uses full EPROM driver code, I will try to adapt my new routines to it in the near future. Further refinements to Word Sinc will no doubt continue.

As soon as I can get final approval from Mr. Hargrave, and complete the Program Manual, Word Sinc II.5 will be available from Integrated Data Systems, along with a separate printer utilities toolkit package.

ERRATUM: ZX PRO/FILE must be POKEd as for a TS2040 printer to work properly with the E.S. I/F, not with the MEMOPAK code as stated last issue.

MORE VIDEO UPGRADE STUFF:

John Oliger‘s ZX81 Video Upgrade has attracted a lot of attention lately. Contrary to my postulations last issue, the Interrupt Vector is still used by the video system. Thus, it can’t be used to service other hardware interrupts, at least not if you need video!

All the other good things are true, though. The kit version is now supplied with single +5V. (4516) video RAM, so no extra power supply is needed.

John Oliger has supplied me with a very simple modification for the Gladstone 64K RAM, which makes it compatible with his scheme to run machine code above $C000 (48K). This will be printed next issue if sufficient interest exists.

Mr. Oliger has several offerings for the ZX81/TS1000, including a great 64K RAM, EPROM Burner and Reader cards, a printer I/F, and Motherboards to plug everything into. All his products are available as bare PC board only, or with a complete parts kit.

The VDP, its crystal, and the required new ROM are NOT included with the Video Upgrade Kit, and must be purchased separately. Here are some good sources:

JAMECO ELECTRONICS INC.
2175 ave d’Orleans,
MONTREAL, P.Q. H1W 3S1
1-(800)-361-8080 toll free

Jameco sells the T.I. TMS9918AN VDP for $9.95 each. They also have very good prices on memory ICs. Examples are 2764 EPROMs @ $6.75, HM6116LP3 static RAMs @ $4.79. Jameco will accept telephone orders, and are pleasant to deal with. Catalogue is free.

SAYAL ELECTRONICS
3791 Victoria Park Ave. #8,
SCARBOROUGH, Ont. M1W 3K6
(416) 494-8999

Sayal has the 10.7386MHz. video crystal in stock for under $5.00. They get an A+ rating as a hobbyist parts supplier. I have found 74LS ICs and Z80 peripheral ICs at SAYAL when everyone else in town was out of stock, and the prices are often the best around. Paul Sayal tells me he has a new 40 page catalogue, free for the asking. Significant discounts are offered on quantity orders >10 pieces.

You will need to provide your own new system ROM, which must be burnt into a 2764 EPROM. Although John Oliger supplies a cassette tape (for U.S.$6.95) with all his ROM video code modifications, it is up to you to burn your own EPROM. There are other ROM debugs and enhancements which can also be made at this time: see this months SYNCBITS column, by Ian Robertson.

For those who do not wish to invest in an EPROM burner (c’mon guys- well worth it!), I may be able to provide this service for a nominal fee.

You will need to obtain the manuals on the Video Display Processor itself. These manuals are available FREE from your local Texas Instruments Sales Office. (don’t go to a T.I. Distributor: distributors will charge you for these books)

Phone T.I., 280 Centre St.E., Richmond Hill, L4C 1B1, (416) 884-9181, and ask for microprocessor literature support. Request Publication# MP010A: The 9900 Series Video Display Processors Data Manual, and Pub.# SPPU004: the Video Display Processors Programmer’s Guide. An absolute wealth of information is contained in these manuals!

It is exciting to note that if sufficient interest in the Video Upgrade is generated and some enterprising programmers catch on, a new wave of high-speed, enhanced video software could spring up to take full advantage of the new VDP capabilities. I will be in contact with user groups across the continent in an attempt to locate, or initiate a VDP SIG.

For details on ordering your Video Upgrade kit and other hardware, write to:

The John Oliger Co.
11601 Whidbey Dr.,
Cumberland, IN 46229
U.S.A

When writing to John, or any other ZX/TS supplier, always include a SASE. If writing to the U.S. or U.K., send SAE and Postal Reply Coupons- get ’em at the Post Office. This is generally appreciated and greatly increases your chance of receiving a reply.

CENTRONICS PRINTER BUFFER

FINALLY: a great “dedicated” application for one of those extra ZX81s you have hidden in a closet!

One of the major drags in wordprocessing (or spreadsheeting or file output) is having your computer “tied up” during long printouts. The solution is a “printer buffer” or “print spooler” which usually consists of a microprocessor, some RAM, and operating software which allows printer data to be sent to the extra RAM all at once. Then, the data can be sent along at printer speed, while the “host” computer is free to work on the next task at hand. In upcoming issues, I will present a construction project consisting of a dual-Centronics configured port, and EPROM reader. Software will be developed to allow input, storage, and output of ASCII data via Centronics communication.

The goal is a “smart” 16K or 64K print spooler or “sideways RAM” which can be used with ANY Computer-Printer or Data Acquisition system using standard Centronics protocols. Stay Tuned!

NOTEWORTHY SUPPLIERS:

BUDGET ROBOTICS & COMPUTING
BOX 18616, Tucson, AZ 85731 U.S.A.

…have acquired marketing rights for the Compater Continuum Buffered Bus Expansion Board, as well as the ZODEX RX81 parallel I/O card. The Bus Board is U.S.$40.00 for bareboard and manual, $62. for a partial kit, $80. for the complete kit. The bareboard seems like the best deal. Watch for more details on this interesting company.

TORONTO SOFTWARE WORLD
P.O. BOX 84, Agincourt
Ont. M1S 3B4

…are handling the Hi Res programs for ZX81/TS1000 from Software Farm in U.K. This includes 3 reportedly excellent games which will be reviewed here shortly.

SIRIUS WARE
6 Turningmill Rd.
Lexington, MA 02173 U.S.A.

…is operated by Dave Wood. Dave has written a wordprocessing program called WORD* for ZX81. In the process of documenting his program, he wound up writing a book entitled Machine Language Programming On The TS1000. Both the book and the program have received excellent reviews elsewhere. I hope to have copies to review soon.

HOT BASIC no.1

Have you ever wished the INKEY$ function could be used to check for a combination of two keys depressed at once?

Take heart, there is a nice way around this problem. The SYSTEM VARIABLE called LAST_K, located at 16421-16422, returns a unique numeric value between 0 and 65535 for any key pressed, and also for just about any multi-key combination! Therefore, in a program, you can use PEEK 16421+256* PEEK 16422 instead of INKEY$. A practical example might be using this to get a “diagonal” result by pressing two cursor keys at once.

This short listing will let you find values for different combinations of keys, and see how the principle works.

10 PRINT AT 5,0;"PRESS A KEY COMBINATION."
20 PRINT AT 9,5;"CURRENT LAST-K VALUE"
30 LET K= PEEK 16421+256* PEEK 16422
40 PRINT AT 10,10;" "; AT 10,10; K
50 GOTO 30

Note: In LINE 40, 5 spaces between the quotes. You can record the values you get for use in your own programs. Note that the “current” value is shown ONLY while you have the key(s) depressed.

HOT BASIC no.2

Here is another example of How It Pays To Know Your System Variables.

The infamous 0 REM machine code line can cause problems if it has had the two “NEWLINE” codes POKEd in to make the machine code disappear from the listing. You may find that while you can LIST a different line number, if you ENTER a new line, or do some EDITing, that 0 REM keeps popping up again and again. Very distracting, isn’t it?

We can fix the problem by POKing the SYSTEM VARIABLE called S_TOP, at 16419. It holds the value of the top line number in automatic listings. To do it, first determine the line number of the first “normal” BASIC line after the machine code. For our example, let’s say this is line 5. Follow these steps:

LIST 9999     & ENTER
POKE 16419,5 & ENTER
LIST 5 & ENTER

Voila! So long as you don’t get careless and enter “LIST” without a line number, the display listing will behave normally.

This technique can be useful in regular BASIC programming, too. Can you see how?

ARE YOU ONE OF THESE PEOPLE?

If you don’t feel that you’re “getting enough” out of the User Club, look for yourself in this little story by a famous author called ANON.

This Story is about 4 people named Everybody, Somebody, Anybody, and Nobody.

There was an important job to be done and Everybody was sure that Somebody would do it. Anybody could have, but Nobody did. Somebody got angry because it was Everybody’s job. Everybody knew Anybody could do it, but Nobody realized that Everybody wouldn’t do it. IT ENDED UP that Everybody blamed Somebody when Nobody did what Anybody could have done.

That’s my 12K worth for this issue! Until next time, have fun with your computer.

Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.