Login
Back to forumReply to this topicGo to last reply

Posted By

SVS
on 2006-10-17
04:36:45
 364 programming

What are the way to use SAY command, in M.L.?
I've taken a little look at the 364 ROM, but this command is not listed on the commands table, then it is not easy to find the entry point of its routine.
Has anybody more info?

Posted By

siz
on 2006-10-17
07:03:39
 Re: 364 programming

Have you seen Gaia-s summary when the first version of YAPE with V364 emulation was released? Here it is: http://yape.homeserver.hu/download/dassspk3.txt

Posted By

Gaia
on 2006-10-17
07:25:16
 Re: 364 programming

In a nutshell: assuming the simplest case that you want to use the built-in vocabulary, you have to do the following:

1) bank in the 3rd low (Speech) ROM
2) put the high order byte of your word number to the X register
3) put your word number's low order byte to the accumulator
4) call the SAYIT function ($8010)
5) poll SPSTAT ($800D) for completion (returns 1 in the AC when busy, 0 when finished)
6) bank back the BASIC ROM

There's a glitch: you must not disable interrupts (or you have to provide your own), because the speech glue hardware's IRQ lines are not yet implemented in Yape, they are "simulated" via the raster interrupt (which is also ~50 Hz, like the speech one).

Posted By

SVS
on 2006-10-18
05:28:20
 Re: 364 programming

thank you for answers.
Referring to 2) and 3) lines: does system need 2 bytes to set word-number, because the total words are 260, or is this a 16 bits address?

Posted By

Gaia
on 2006-10-18
07:45:39
 Re: 364 programming

I don't quite understand what you mean. It's not an address, it's the serial number of the word (as in SAY #nr). You must make sure that both registers contain the right values otherwise you end up with an error. A value above $0400 for example, indicates a word in a custom vocabulary.

Posted By

JamesC
on 2006-10-18
18:37:58
 Re: 364 programming

Have you seen the page on cbm264.com? http://www.cbm264.com/speech/speech.html

Included there is the first known V364 speech program, from when YAPE was still at 0.63 (and still learning to talk).

Posted By

Litwr
on 2006-10-20
07:38:39
 Re: 364 programming

What is the price of Magic Voice card for c64 20 years ago?

Posted By

JamesC
on 2006-10-20
08:20:16
 Re: 364 programming

US$50



Back to topReply to this topic


Copyright © Plus/4 World Team, 2001-2024