EM73982
4-BIT MICROCONTROLLER
OPERATION PROCEDURE
(1) Write the speech wave file name to a document file (*.SET)
ex : Document filename : TEST.SET
TRY.WAV
GOOD.WAV
HURRY.WAV
:
:
(2) Run the speech convertind program address by SC982.exe, to get the speech section address table.
ex : Run C:\SC982 TEST.SET ↵
:
:
Generated following files :
TEST.ADR
TEST.COD
TEST.SEG
(3) Write the TEST1.ADR in your program
ex : TEST.ASM
:
TRY
EQU 0040 H/40H ; Speech ROM Address get from TEST.ADR
GOOD EQU 0D00H/40H ;
HURRY EQU 19C0H/40H ;
:
:
LDIA # TRY
; PLAY TRY.WAV
OUT
P6
LDIA
# TRY/10H
; Send the speech address by writing P6 three times
OUT
P6
LDIA # TRY/100H
OUT
P6
LDIA # 0011B
; set 8K sample rate and enable speech
OUT
P5
* This specification are subject to be changed without notice.
11.30.2001 25