ZX81 Talk-Back (Speech Synthesis)



ZX81





circuit diagram




pcb artwork and legend



ZX81 allophone equivalent



Program 1.
1 REM TEST PROGRAM
2 LET A = 197
3 LET PORT = 16417
4 PRINT "PRESS NEWLINE"
5 IF INKEY$ = " " THEN GOTO 5
6 PRINT "ALLOPHONE ""OY"" WILL BE SPOKEN"
7 PAUSE 250
6 POKE PORT,A
9 POKE PORT,0
10 CLS
11 PRINT "NUMBER 197 TO 255 WILL BE DISPLAYED
AND THE ALLOPHONE SPOKEN."
12 PAUSE 500
]3 FOR A = 197 TO 255
14 PRINT AT 10,14;A
15 POKE PORT,A
16 FOR B = 0 TO 10
17 NEXT B
18 POKE PORT,192
19 NEXT A
20 POKE PORT,192
21 PRINT AT 15,0:"PRESS NEWLINE TO REPEAT TESTS"
22 INPUT A$
23 CLS
24 GOTO 11

Program 2.
1 LEN "" AT AND SQR "" TAB USR DIM AT ** SQR TAN LET CHR$ LN NEXT""
3 LET A = 16417
5 LET B = 16514
7 REM NUMBER OF CHR$
10 FOR C = B TO (B+17)
15 POKE A,PEEK C
20 REM WORD LENGTH
25 PEEK A=0 THEN GO TO 25
30 NEXT C
35 CLS
40 PRINT " ""I AM A COMPUTER"" "
45 PRINT AT 18.0;"PRESS NEWLINE"
50 INPUT A$
60 GOTO 1

Table 1
chr$codeallophonechr$codeallophonechr$codeallophone
""192pause 10mschr$214oowfor235zer
at193pause 30msnot215aogoto236na
tab194pause 50ms**216aagosub237ll
code196pause 200msor217yeinput238ww
val197oyand218aeload239re
len198ay<=219hh1list240wh
sin199eh>=220bulet241yuh
cos200kk3<>221thpause242ch
tan201ppthen222uonext243ere
asn202jhto223uoopoke244err
acs203nnstep224ouprint245uo
atn2041hlprint225dd2plot246dh2
ln205tt2llist226ggrun247ss
exp206rr1stop227vesave248nnn
int207axslow228gurand249her
sqr208mmfast229sshif250or
sgn209tt1new230szcls251ar
abs210dh1scroll231runplot252yr
peek211iycont232ffclear253ggg
usr212eydim233kerreturn254el
str$213dd1rem234kucopy255bb

ZX81 Talkback parts list


Back To General Info   Back to Richard Davies Home Page