→
Step 4
Download the voice ROM data by selecting Tools menu, Download Voice
command. The voice ROM data is now downloaded into the HT-ICE.
→
Step 5
Create/Modify the source files for the application. Here a source file must
be provided. The following is an example ...
; t.asm
; 1
;
; 2
#include voice.inc
; 3 include the file ’voice.inc’
code .section at 0 ’code’
; 4
org
0
; 5
jmp
begin
; 6
org
8
; 7
jmp
AdpcmISR
; 8 specify the ISR for sampling rate
begin:
; 9
speech 0, 12H, 1
; 10
set
[22H]
; 11 turn on the volume
jmp
$
; 12
end ;
13
This program is used to play the first track which is edited by the VROM
Editor.
→
Step 6
Add the source files to the project
Add the above example, T.ASM, into this new project.
•
Select the Project menu, Edit command
•
Double click the file ’t.asm’ created on the previous step.
→
Step 7
Change the HT-IDE working mode.
The HT-IDE shall be working in emulation mode.
•
Select the Options menu, Debug command
•
Click the Emulation radio button in the Mode box
→
Step 8
Build the project
•
Select the Project menu, Rebuild All command
If everything is OK, the current line cursor will stop on the first line to be
executed.
Chapter 13
µ
C VROM Editor (HT-VDS827)
147
Содержание 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 ...