Atarimania

Atari ST - 1986

Speak

Speak — screenshot 1
Genre
Music / Sound
Year
1986
Language
Compiled C
Publisher
[no publisher]
Controls
Keyboard
Distributor
Players
Developer
[n/a]
Resolution
Low / Medium / High
Licensed from
-
Programmer(s)
Bate, Steve
Country
United Kingdom
Graphic Artist(s)
Software
English
Game design
Box/Instructions
English
Musician(s)
License
PD / Freeware / Shareware
Sound FX
Serial
Cover Artist(s)
ST Type
ST, STe / 0.5MB
MIDI
Version
Dump
Download
Number of Disks
1 / Double Sided
Dump format
MSA
Protection

INSTRUCTIONS

SPEAK.TOS  -- Speak text from the standard input

    This program uses STSPEECH.TOS to speak text from the standard
    input. Using file indirection, text files may also be spoken even
    though the results may be somewhat unpredictable.

    THIS PROGRAM IS FOR NON-PROFIT USE ONLY!!!!!!!!! 

    This program uses two entry points into STSPEECH that allow
    speech generation under program control. The process works
    as follows...

	Load  "STSPEECH.TOS" into memory using the Mode 3 option
        of the Pexec Gemdos call. If successful, this call will
        return the address of the base page of the loaded program.
        Add 0x100 to this to get the first byte of the executable
        code. (Note: STSPEECH.TOS must be in the same directory as
	SPEAK.TOS)

	In order to disable the prompting of STSPEECH, two RTS
	instructions are placed so that two subroutines are
	created. The first starts at 0x32 bytes after the program
	address and converts text in STSPEECH's internal buffer
	to phonemes. The second at 0x88 bytes after the program
	address generates speech from the phonomes.

        Read text into the input buffer that STSPEECH uses. This
	buffer is in the format that Cconrs() uses. So the first
        byte of the buffer must be the length of the buffer (in
	this case, 0xfe). The second byte must be the length of
	input line.

	Call the subroutines for phoneme and speech generation.

        
        Note: The code may look a little convoluted due to the
	necessity of saving pointers that Megamax depends on and
	are destroyed by STSPEECH.	

        Written by:

		Steve Bate, November 1986
		ARPA: smb.mdc@office-1.arpa
	        AURA BBS: (314) 928-0598  (ST BBS, 20 Meg of downloads)