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
Содержание HT-IDE
Страница 11: ...P a r t I Integrated Development Environment Part I Integrated Development Environment 1 ...
Страница 12: ...HT IDE User s Guide 2 ...
Страница 20: ...Fig 1 6 Fig 1 7 HT IDE User s Guide 10 ...
Страница 24: ...HT IDE User s Guide 14 ...
Страница 70: ...HT IDE User s Guide 60 ...
Страница 76: ...HT IDE User s Guide 66 ...
Страница 92: ...HT IDE User s Guide 82 ...
Страница 93: ...P a r t I I Development Language and Tools Part II Development Language and Tools 83 ...
Страница 94: ...HT IDE User s Guide 84 ...
Страница 148: ...HT IDE User s Guide 138 ...
Страница 150: ...Fig 12 1 Fig 12 2 HT IDE User s Guide 140 ...
Страница 154: ...HT IDE User s Guide 144 ...
Страница 192: ...HT IDE User s Guide 182 ...
Страница 194: ...HT IDE User s Guide 184 ...
Страница 218: ...HT IDE User s Guide 208 ...
Страница 235: ...P a r t V Appendix Part V Appendix 225 ...
Страница 236: ...HT IDE User s Guide 226 ...
Страница 250: ...HT IDE User s Guide 240 ...