Here’s a neat RTTY program that copies RTTY for you. The author interfaced his ZX-81 directly to his home made TU. (I’m assuming TTL signals.) He connected his TU to pin 20 of IC1 in the ZX-81. It is for a 16K machine. Here’s details:
This short RTTY receive program overcomes some of the shortcomings like timing problems and limited display found in some other programs. The program is somewhat difficult to load so follow directions closely. First, key in only the first 3 REM statements in the program listed at the end of the article. Then key in the following short program:
100 FOR N=16526 TO 16561
110 INPUT M
120 POKE N,M
130 PRINT N;"=";PEEK(M)
140 NEXT N
Next, RUN this routine, keying in the following machine code:
14 0 6 5 219 0 203 127 32 250 22 25 30 234 29 32 253 21 32 248 219 0 203 39 203 17 22 20 5 32 237 33 0 0 105 201
After running this, delete lines 100-140. Then re-do line 3: (see note below first)
3 REM #T#O#HNM#LRGIPCVEZDBSYFXAWJ#UQK##5#9
#@,.#)4+80:;3""$?#6./-2""#71(#
Note: @ is equal to the pound sign, + is the &, “” is the quote image (shifted Q), and is used for both ” and the ‘, and the period following the 6 is used as !.
After the machine code and translate table are entered and checked, the remainder of the program should be entered. After entering, store on tape, BEFORE running. Then RUN, and after about 2600 characters are received, the print out will start. The actual number of characters stored and printed is less than 2600 because a ‘blank’ (bits 00000) are stored but not printed. To display before 2600 characters have passed, press BREAK followed by GOTO 200. Because of the SCROLL statements, a RUN command may be sluggish, To adjust the speed to get error free copy, POKE a value plus or minus 234 into location 16539. If that doesn’t work try POKE 16553,19. This will change the timing loops in the machine code, which is based on that written by W9HLQ.
1 REM "RTTY"
2 REM ........ 36 DOTS FOR ML ROUTINE
3 REM
4 FAST
5 DIM A(2600)
6 LET Z = 0
9 LET J = 0
90 FOR N = 1 TO 2600
100 LET Z = USR 16526
110 IF Z = 0 THEN NEXT N
120 IF Z = 4 THEN LET J = 0
130 IF Z = 27 THEN GOTO 160
140 IF Z = 31 THEN GOTO 180
150 LET A(N) = (Z+J)
160 IF Z = 27 THEN LET J = 32
170 NEXT N
180 LET J = 0
190 NEXT N
200 SLOW
210 LET B = 0
220 SCROLL
230 FOR N = 1 TO 2600
240 IF A(N) = 0 OR A(N) = 32 THEN GOTO 240
250 PRINT CHR$ (PEEK (16568 + A(N)));
260 LET B = B + 1
270 IF B = 31 THEN SCROLL
280 IF B = 31 THEN LET B = 0
290 NEXT N