Cheetah Sweet Talker doc/test?

Discussions about Sinclair ZX80 and ZX81 Hardware
system11
Posts: 32
Joined: Mon May 25, 2020 7:35 am

Re: Cheetah Sweet Talker doc/test?

Post by system11 »

Ah that explains the other pokes - I have no idea how to use mc on a zx81 but I can follow that. From basic if I add even a pause of 1 it sounds slurred, getting worse the longer the pause is. I'll have to write something where I can just enter allophones by input and it plays them. Right now I don't even have a working save method as the machine I'm using is in a Fuller case that blocks plugging the sweet talker in, and the zxpand doesn't have a through port. I found a memopack 16 that 'mostly fits' enough for it to sit in the middle. Annoyingly I have about 8 zx81s of various configurations and I can't remember which ones do and don't have composite mods installed other than this one.

It's probably time to start selling the spares and recording what each one actually has inside.
Moggy
Posts: 3493
Joined: Wed Jun 18, 2008 2:00 pm

Re: Cheetah Sweet Talker doc/test?

Post by Moggy »

The sweet talker has a pass through so just put the spand behind if there's room and now that I know you have a spand I will try and turn the WAV into a P file which should make life easier.
???????????????????????????PIINKEY$?????RND????????????????????????????????????????????????????????PI????????
system11
Posts: 32
Joined: Mon May 25, 2020 7:35 am

Re: Cheetah Sweet Talker doc/test?

Post by system11 »

This part:

"10 LET L = ( THE ADDRESS WHERE THE ALLOPHONES ARE STORED )"

How would I store allophones in an address?
system11
Posts: 32
Joined: Mon May 25, 2020 7:35 am

Re: Cheetah Sweet Talker doc/test?

Post by system11 »

Code: Select all

 10 REM ALLOPHONE ENTRY TEST
 20 POKE 16514,62
 30 POKE 16516,211
 40 POKE 16517,7
 50 POKE 16518,201
100 POKE 16515,0
110 RAND USR 16514
120 SLOW
130 INPUT J$
140 FAST
150 LET N=1
160 LET K=VAL J$(N TO N+1)
170 POKE 16515,K
180 RAND USR 16514
190 LET N=N+3
200 IF LEN J$<N THEN GOTO 100
210 GOTO 160
This made it easier to play with - just enter double digit value strings, so "50 19 13 15 15" will say Cheetah, single digit requires a leading zero, 07 for example.
User avatar
1024MAK
Posts: 5527
Joined: Mon Sep 26, 2011 10:56 am
Location: Looking forward to summer in Somerset, UK...
Contact:

Re: Cheetah Sweet Talker doc/test?

Post by 1024MAK »

LET L=LEN J$ will put the length of the string in L

When putting numbers in a string I normally prefix them with zeros so that each value is always three digits. But if spaces work for you, that’s fine.

Mark
ZX81 Variations
ZX81 Chip Pin-outs
ZX81 Video Transistor Amp

:!: Standby alert :!:
There are four lights!
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb :!:
Spring approaching...
Moggy
Posts: 3493
Joined: Wed Jun 18, 2008 2:00 pm

Re: Cheetah Sweet Talker doc/test?

Post by Moggy »

Firstly one working WAV and P file of "Chatbox" as promised.


One place would be in the first REM statement from say 16520 onwards, you obviously have to make the REM large enough to hold the allophone codes. A program to enter your allophones would , for example...

( I personally have mine burned to an EPROM and run them from an EPROM card but the below example is as simple as I can make it without getting involved with strings and works for me.)

1 REM XXXXXXXXXXXX....

10 FOR F =16520 TO 16540 ( ASSUMING 20 ALLOPHONES.)

20 INPUT I ( THE CODE FOR THE ALLOPHONE)

30 POKE F , I

40 NEXT F

20 allophones are now in the REM and to use as per the previous program I posted...

10 LET L = 16520

20 F = 1 TO 20

30 POKE 16515, PEEK L

40 RND USR 16514

50 PAUSE 3 ( YOU SAY NOT NEEDED ON YOURS, MY 2 CHEETAS DO SO DELETE IF NOT REQUIRED.)

60 LET L = L + 1

70 NEXT F
Attachments
CHATBOX.zip
(65.55 KiB) Downloaded 194 times
Last edited by Moggy on Sat Aug 10, 2024 8:58 pm, edited 1 time in total.
???????????????????????????PIINKEY$?????RND????????????????????????????????????????????????????????PI????????
system11
Posts: 32
Joined: Mon May 25, 2020 7:35 am

Re: Cheetah Sweet Talker doc/test?

Post by system11 »

ZX81 = "43 07 21 01 07 42 55 03 20 13 19 01 46 15 11"

Success! I'm still hovering over a slightly longer delay between Z and X.
Moggy
Posts: 3493
Joined: Wed Jun 18, 2008 2:00 pm

Re: Cheetah Sweet Talker doc/test?

Post by Moggy »

Try This...

ZX81=43,7,21,3,2,7,7,42,55,3,2,20,54,13,19,3,2,46,15,11,3,2
???????????????????????????PIINKEY$?????RND????????????????????????????????????????????????????????PI????????
system11
Posts: 32
Joined: Mon May 25, 2020 7:35 am

Re: Cheetah Sweet Talker doc/test?

Post by system11 »

Here's a wav of my program above without any pause, and then with PAUSE 2.
Attachments
sweet_talker_zx81_pause2.wav
(1.75 MiB) Downloaded 225 times
system11
Posts: 32
Joined: Mon May 25, 2020 7:35 am

Re: Cheetah Sweet Talker doc/test?

Post by system11 »

Thanks for all the help by the way, this does seem to be working properly. There are drill holes on the back that are clearly hand made, not sure if they're hand done by Cheetah or by whoever bought it - there was an attempt at making them in a uniform layout.
Post Reply