Dear Editor

Author(s): Andrew Banta; Richard Boltuck; Chuck Goldwater; Ray Kingsley; Herman Geschwind; Jack Ryan; Dave Taber; Dick Wagner; W. Brandao
Publication: Syntax
Pub Details: Syntax/Syntax ZX80 v4 n6 (Volume 4, Issue 6)
Date: June 1983
Pages: 12-13

We found that Hewlett Packard 82954A black print thermal paper works well in the TS2040 printer. Although 2 mm narrower than Sinclair’s, HP’s paper feeds well and produces sharp text. Print heads show no wear after limited use. Stores carrying HP85 computers also stock HP paper. It comes in 400-ft. rolls which we respool to fit Sinclair’s printer. We wind the paper onto 4 1/4″ lengths of 3/4″ dowel and mark the last 12- 18″ to let us know the end is near.

Andrew Banta, Orangevale, CA


Please explain exactly what Syntactic Sum is. For long programs, the machine code Syntactic Sum does not yield the same answer as Lloyd Painter‘s BASIC program in the SYNTAX circular. Painter’s program gives a much larger number and takes much more time to calculate. Why is this?

Richard Boltuck, Hammond, IN

Syntactic Sum provides a number related to keystrokes to check for changes in programs. It helps when saving and loading long programs, because you can lose some bytes in the transfer from page to machine.

Lloyd’s BASIC version can give a different result from the MC version, which adds values until it hits 65536, and then rolls over to start with 1 again. The BASIC version does not need to roll over because the ZX/TS holds numbers larger than 65536 in BASIC. When the MC and BASIC versions don’t agree, subtract 65536 repeatedly from the BASIC version until you get below 65536. The two numbers should now agree.–AZ


Thank you for helping me identify the transistor in my Sinclair RAM pack. Cross reference and replacement manuals do not list the transistor, marked ZTX750.

I used an SK3262 RCA PNP 7W audio frequency driver transistor. You must change the 2.2K Ohm base resistor. I used 4.7K Ohms. The replacement comes in a TO5 package and fits nicely inside the RAM pack. Sylvania ECG129 or General Electric GE244 should work as well.

Chuck Goldwater, Sandy, UT


Sinware announces you can now relocate the big version of HOT Z. This works nicely with John Oliger‘s mod that opens up the 32-48K block (SQ, Winter 82). We also discovered the TS2040 printer interferes with the high memory version when used with some memories. As far as I could tell with one of my systems, the 32-40K block was messing up. Plugging the printer in behind a fully decoded EPROM board cured my problem.

Ray Kingsley, Sinware, Santa Fe, NM

We also cannot get the system up with both a 64K RAM and TS2040 plugged in. When the display file prints a character, it calls an address 32K higher than the ROM addresses (in the region 32-40K). Memories greater than 16K must decode this region. It seems the TS2040 also uses this area, causing the display file to crash.–KO


After almost 20 months of heavy use, my ZX81 developed frustrating hardware problems such as strange graphics with subsequent crash on RUNning, perfectly good tapes not LOADing, crashes while SAVEing, and unsteady TV pictures. I discovered a cheap, simple cure: Q-tips and Archer cleaner/degreaser (from Radio Shack). Spray a small amount of cleaner into the can cap and liberally soak both ends of the Q-tip. Scrub both sides of the ZX81 edge connector without disassembling. Spray the female side of the 16K RAM pack and scrub TV cable connectors and game adapter.

This procedure takes less than 10 minutes and results in no more crashes, a steady picture, and an end to SAVE/LOAD problems.

Herman Geschwind, Greensboro, NC

R.H. Miller reminds us of another maintenance tip: Apply Cramolin Red and Blue to contacts on your computer expansion ports and memory connectors to avoid crashes.–LV


Paul Crecca (Dear Editor, May 83) and your other readers should know that QSAVE programs work with self-running programs. A non-QSAVEd program may contain:

9000 SAVE "P"
9010 GOTO start line

With QSAVE, the routine becomes:

9000 FAST
9010 PRINT USR 32383 (16K)
9010 PRINT USR 8505 (64K)
9020 GOTO startline

GOTO 9000 SAVEs the program, and RUNs it after LOADing. Change the start line to CLS to clear the number QSAVE prints.

Jack Ryan, El Dorado, AR


Many programs don’t take advantage of this memory-saving tip: Always substitute N*N for N**2. Because Sinclair’s math routines keep you from raising a negative number to a power, you must use (ABS N)**2 in most cases, which runs 3 bytes longer and uses several more steps than N*N. For odd exponents, such as N**3, you get an error when N<0. To get around it, use (SGN N)*(ABS N)**3. Again, the substitute N*N*N does the job faster. This will not work for N**M, where M equals an undefined exponent that becomes defined only when the program runs, or when M differs with each execution. Variable and non-integral exponentiation do not lend themselves to substitution.

David Taber, Menlo Park, CA


I had a similar experience to Sidney Parker‘s (Dear Editor, May 83) with Byte-Back‘s M-16 RAM kit. Some tips to add to his procedure: The best place to cut the trace is near pin 9 of IC U3 (74S74 flip-flop) where it’s clear of other traces, and an easy place to patch if the change fails. IC U3 is the top IC with the connector at the bottom. Viewed from the foil side, it’s the left IC. Make the connection between pin 9 and 10 on IC U14 (74LS10 gate). On the foil side, just solder a jumper across the two pin tips, being careful not to contact the trace. The pins are numbered #1-7 and #8-14, starting at the bottom left if the notch is on the left, looking at the IC top.

Beware of Sidney’s second fix. I made the connector pin high as suggested and plugged the module in with perfect results using VU-CALC. But the computer would not work with the TS2040. Removing the pin 21A connection solved the problem.

D.F. Wagner, Canby, OR


I changed a bad Sinclair power pack with a homemade 9.2 VDC, 1 Amp regulated and bypassed the VHF modulator, branching the TV set in composite video. It now works better, but I have a gray stain over 2/3 of the screen. How can I fix this? Also, please comment about improving load reliability, and the correct input level for MIC plugs.

W. Brandao, Rio de Janeiro, Brazil

Amplify the video or clamp video white level to remove the gray stain. Improve load reliability by changing the orientation of the TV to the recorder (try 90 degrees) as well as experimenting with distance between the TV and recorder. Placing the TV close to the recorder creates a problem of induced noise. Use short, medium-quality audio tapes. The correct input level for MIC plugs is 5mV peak to peak.–KO