
Note
•
Since all the algorithms are implemented using a relocatable style,
applications should be designed by following the same style as mentioned
in the HT-IDE User’s Guide. This relocatable style programming is based
on the section concept. Trying to specify the absolute address without
following this style might result in a RAM conflict and cause run-time
errors.
•
The file "voice.inc" which is generated by the VROM editor is placed in
the same directory with the project file. The assember source code and
project file should be placed together so that the include file can be
included correctly.
•
Once the VROM editor has been re-invoked and another compression
algorithm chosen for some sound tracks, always remember to rebuild the
project again. This is because the include file "voice.inc" may have been
changed.
If everything has been prepared as mentioned above, the playing sound can
be controlled in the program. Here, one macro and three flags are provided,
the speech macro, the standby flag, the pause flag and the stop flag. The
following gives a more detailed explanations.
•
The AdpcmQuickMode symbol
The quick mode on for either 4-bit ADPCM or 3-bit ADPCM can be turned
on by defining the symbol "AdpcmQuickMode" in your program. This
symbol shall be defined before the "voice.inc" is included. Programs
running in this mode will consume a little more program ROM space, but
the sampling rate could be much higher than in the normal mode. For
example:
#define AdpcmQuickMode
#include
voice.inc
......
Note
The quick mode is only available for ADPCM.
Chapter 13
µ
C VROM Editor (HT-VDS827)
151
Summary of Contents for HT-IDE
Page 11: ...P a r t I Integrated Development Environment Part I Integrated Development Environment 1 ...
Page 12: ...HT IDE User s Guide 2 ...
Page 20: ...Fig 1 6 Fig 1 7 HT IDE User s Guide 10 ...
Page 24: ...HT IDE User s Guide 14 ...
Page 70: ...HT IDE User s Guide 60 ...
Page 76: ...HT IDE User s Guide 66 ...
Page 92: ...HT IDE User s Guide 82 ...
Page 93: ...P a r t I I Development Language and Tools Part II Development Language and Tools 83 ...
Page 94: ...HT IDE User s Guide 84 ...
Page 148: ...HT IDE User s Guide 138 ...
Page 150: ...Fig 12 1 Fig 12 2 HT IDE User s Guide 140 ...
Page 154: ...HT IDE User s Guide 144 ...
Page 192: ...HT IDE User s Guide 182 ...
Page 194: ...HT IDE User s Guide 184 ...
Page 218: ...HT IDE User s Guide 208 ...
Page 235: ...P a r t V Appendix Part V Appendix 225 ...
Page 236: ...HT IDE User s Guide 226 ...
Page 250: ...HT IDE User s Guide 240 ...