chapter_libuse.html
21.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
<html>
<head>
<title>NINTENDO64 Sound Tools Programing Manual</title>
</head>
<body bgcolor="#d0d0d0" text="#000000" link="#008000" vlink="#008000">
<h1><font color="#000080">$B%i%$%V%i%j$N;H$$J}(B</font></h1>
<h2><font color="#ff0000"><a name="files">$B%D!<%k$+$i$N%U%!%$%k(B</a></font></h2>
<p>$B%_%e!<%8%7%c%s$+$i%W%m%0%i%^$KDs6!$5$l$k%U%!%$%k$O!"(B<code>soundfx<strong>.bfx</strong></code>$B!"(B<code>filename<strong>.ptr</strong></code>$B!"(B<code>filename<strong>.wbk</strong></code>$B!"(B<code>tune<strong>.bin</strong></code>$B$+$i@.$C$F$$$^$9!J$3$3$G(B<code>soundfx</code>$B$O%5%&%s%I%(%U%'%/%H$NL>A0!"(B<code>filename</code>$B$O%5%s%W%k%P%s%/$NL>A0!"(B<code>tune</code>$B$O%=%s%0$NL>A0$G$"$j!"%_%e!<%8%7%c%s$K$h$C$FL>$E$1$i$l$^$9!K!#$^$?!"(B<code>soundfx<strong>.h</strong></code>$B$H8@$&%U%!%$%k$bB8:_$7$^$9!#$[$H$s$I$N%W%m%8%'%/%H$G$O!"%_%e!<%8%7%c%s$,%7!<%1%s%5$r;H$C$F:n@.$7$?<B:]$N%=%s%0$HF1$8$@$1!"J#?t$N(B<code><strong>.bin</strong></code>$B%U%!%$%k$,B8:_$9$k$3$H$K$J$k$G$7$g$&!#(B</p>
<table border="1">
<tr>
<th>
$B%U%!%$%k$N3HD%;R(B
</th>
<th>
$BFbMF(B
</th>
</tr>
<tr>
<td valign="top">
<code><strong>.bfx</strong></code>
</td>
<td>
NINTENDO64 Sound Tools$B$N%P%$%J%j%5%&%s%I%(%U%'%/%H$G$9!#(B<br><br>
<small>$B%5%&%s%I%(%U%'%/%H%G!<%?$NMxMQ;~$O%5%&%s%I%(%U%'%/%H$O(BRAM $B>e$K$J$1$l$P$J$j$^$;$s!#$=$N%U%!%$%k$O%5%&%s%I%(%U%'%/%HMQ$N%*%U%;%C%H$N%j%9%H$r4^$s$G$*$j!"%P%s%/$,=i4|2=$5$l$k$H$-$K%]%$%s%?$H!"$=$l$>$l$N%5%&%s%I%(%U%'%/%HMQ%G%U%)%k%H%W%i%$%*%j%F%#@_Dj$N%j%9%H$KJQ49$5$l$^$9!#(B</small>
</td>
</tr>
<tr>
<td valign="top">
<code><strong>.h</strong></code>
</td>
<td>
NINTENDO64 Sound Tools$B$N%5%&%s%I%(%U%'%/%H$N%X%C%@%U%!%$%k$G$9!#(B<br><br>
<small><strong>$B$3$N%U%!%$%k$OI,$:$7$bI,MW$J$b$N$G$O$"$j$^$;$s!#(B</strong><br>
$B%5%&%s%I%(%U%'%/%H$ODL>o%(%U%'%/%HHV9f$G;XDj$7$^$9$,!"$3$N%U%!%$%k$K$O%_%e!<%8%7%c%s$,;H$C$F$$$?%(%U%'%/%HL>$H$=$NHV9f$H$rBP1~$5$;$?%^%/%m$,F~$C$F$$$^$9$N$G!"I,MW$J$i$4MxMQ$/$@$5$$!#(B</small>
</td>
</tr>
<tr>
<td valign="top">
<code><strong>.bin</strong></code>
</td>
<td>
NINTENDO64 Sound Tools$B$N%P%$%J%j%=%s%0$G$9!#(B<br><br>
<small>$B%=%s%0%G!<%?$N<B9T;~$O%=%s%0%U%!%$%k$O(BRAM$B>e$K$J$1$l$P$J$j$^$;$s!#%*%U%;%C%H%j%9%H$NF~$C$F$$$k%=%s%0%U%!%$%k$O%=%s%0=i4|2=$NCJ3,$G%]%$%s%?$KJQ49$5$l$^$9!#(B</small>
</td>
</tr>
<tr>
<td valign="top">
<code><strong>.ptr</strong></code>
</td>
<td>
NINTENDO64 Sound Tools$B$N%5%s%W%k%]%$%s%?%P%s%/$G$9!#(B<br><br>
<small>$B%]%$%s%?%P%s%/%U%!%$%k$K$h$j;2>H$5$l$?%5%s%W%k$rMxMQ$7$F$$$k%5%&%s%I%G!<%?$N<B9T;~$K$O!"$3$N%]%$%s%?%P%s%/%U%!%$%k$O(BRAM$B>e$K$J$1$l$P$J$j$^$;$s!#%]%$%s%?%P%s%/%U%!%$%k$K$O%*%U%;%C%H%j%9%H$H$=$l$N=i4|2=CJ3,$GBP1~$9$k%&%'!<%V%P%s%/%U%!%$%k$N%]%$%s%?$,@_Dj$5$l$^$9!#(B</small>
</td>
</tr>
<tr>
<td valign="top">
<code><strong>.wbk</strong></code>
</td>
<td>
NINTENDO64 Sound Tools$B$N%5%s%W%k%&%'!<%V%P%s%/$G$9!#(B<br><br>
<small>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4|2=4X?t!"(B<a name="MusInitialize.html"><code>MusInitialize()</code></a>$B$r%3!<%k$7$J$1$l$P$J$j$^$;$s!#M#0l=i4|2=$NA0$K8F$S=P$9$3$H$G8z2L$N$"$k(BAPI$B4X?t$,(B<a name="MusSetScheduler.html"><code>MusSetScheduler()</code></a>$B4X?t$G!"30It$NFCDj$N%9%1%8%e!<%i$r;H$&$?$a$K;HMQ$7$^$9!#%W%m%0%i%^$O!"%3%s%U%#%0%l!<%7%g%s9=B$BN$N%"%I%l%9$r!"=i4|2=4X?t$KEO$7$^$9!#=i4|2=4X?t$NFbMF$O!"%_%e!<%8%C%/%W%l%$%d!<$H%*!<%G%#%*%^%M!<%8%c$NN>J}$r%3%s%U%#%0%l!<%7%g%s$9$k$3$H$G$9!#(B</p>
<p>$B8=:_$N%3%s%U%#%0%l!<%7%g%s9=B$BN$r0J2<$K<($7$^$9!#(B</p>
<pre>typedef struct
{
unsigned long <a href="chapter_libuse.html#control_flag">control_flag</a>;
int <a href="chapter_libuse.html#channels">channels</a>;
OSSched <a href="chapter_libuse.html#sched">*sched</a>;
int <a href="chapter_libuse.html#thread_priority">thread_priority</a>;
unsigned char <a href="chapter_libuse.html#heap">*heap</a>;
int <a href="chapter_libuse.html#heap_length">heap_length</a>;
unsigned char <a href="chapter_libuse.html#ptr">*ptr</a>;
unsigned char <a href="chapter_libuse.html#wbk">*wbk</a>;
void <a href="chapter_libuse.html#default_fxbank">*default_fxbank</a>;
int <a href="chapter_libuse.html#fifo_length">fifo_length</a>;
int <a href="chapter_libuse.html#syn_updates">syn_updates</a>;
int <a href="chapter_libuse.html#syn_output_rate">syn_output_rate</a>;
int <a href="chapter_libuse.html#syn_rsp_cmds">syn_rsp_cmds</a>;
int <a href="chapter_libuse.html#syn_retraceCount">syn_retraceCount</a>;
int <a href="chapter_libuse.html#syn_num_dma_bufs">syn_num_dma_bufs</a>;
int <a href="chapter_libuse.html#syn_dma_buf_size">syn_dma_buf_size</a>;
OSPiHandle <a href="chapter_libuse.html#diskrom_handle">*diskrom_handle</a>;
} musConfig;</pre>
<p>$B$3$N9=B$BN$NFbMF$O%*!<%G%#%*%R!<%W$+$iI,MW$J%a%b%jNL$r7hDj$7$^$9!#9=B$BN$N3FMWAG$K$D$$$F!"0J2<$K@bL@$7$^$9!#(B</p>
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td bgcolor="#c0c080">
<big><strong><code><a name="control_flag">control_flag</a></code></strong></big>
</td>
<td bgcolor="#000000">
<font color="#ffffff">$B%i%$%V%i%j$N%3%s%H%m!<%k%U%i%0(B</font>
</td>
<tr>
</table>
<p><em><code>control_flag</code></em>$B%(%s%H%j!<$O%_%e!<%8%C%/%i%$%V%i%j$NFC@-$r%3%s%H%m!<%k$9$k$?$a$N@Z$jBX$(%U%i%0$G$9!#DL>o$N:F@8$G$O!"(BROM$BFb$KCV$+$l$?%5%s%W%k%P%s%/$r;HMQ$7$^$9!#$3$N>l9g$K$O%(%s%H%j!<$r(B0$B$K@_Dj$7$^$9!#(B</p>
<p>$B8=:_!"0J2<$NFC@-$,%^%/%m$K$h$C$FDj5A$5$l$F$$$^$9!#(B</p>
<table>
<tr>
<td valign="top">
<strong><code>MUSCONTROL_RAM</code></strong>
</td>
<td>
RAM$BFb$KCV$+$l$?%5%s%W%k$r;XDj$7$^$9!#(B
</td>
<tr>
</table>
<p>$B$3$NCM$OMW5a$5$l$?FC@-$r;HMQ$G$-$k$h$&$K$9$k$?$a$K(Bor$B$K$h$C$FAH$_9g$o$;$k$3$H$,$G$-$^$9!#(B</p>
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td bgcolor="#c0c080">
<big><strong><code><a name="channels">channels</a></code></strong></big>
</td>
<td bgcolor="#000000">
<font color="#ffffff">$B%A%c%s%M%k$N?t(B</font>
</td>
<tr>
</table>
<p><em><code>channels</code></em>$B%(%s%H%j!<$O%_%e!<%8%C%/%W%l%$%d!<$KBP$7$FM-8z$K$9$k%A%c%s%M%k$N?t$rI=$7$F$$$^$9!#%A%c%s%M%k$N?t$O!"%"%W%j%1!<%7%g%s$,F1;~$K%H%j%,$5$l$k2DG=@-$N$"$k%=%s%0$H%5%&%s%I%(%U%'%/%H$r%5%]!<%H$9$k$?$a$KI,MW$J%A%c%s%M%k?t$r7W;;$KF~$l$k$Y$-$G$9!#%A%c%s%M%k?t$,B?$/$J$k$H%W%m%0%i%^$O$h$jD9$$(BCPU$B;~4V!"(BRSP$B;~4V!"(BDMA$B;~4V!J$=$l$>$l$N%A%c%s%M%k$,0[$J$C$?%5%s%W%k$r:F@8$7$F$$$k;~$N$_!K$=$7$F!"$h$jB?$$%a%b%j$r%i%$%V%i%j$N$?$a$KI,MW$H$9$k$h$&$K$J$j$^$9!#(B</p>
<p>$B%A%c%s%M%k?t$NE57?E*$J@_Dj$O(B16$B!"(B20$B!"(B24$B$G$9!#(B</p>
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td bgcolor="#c0c080">
<big><strong><code><a name="sched">sched</a></code></strong></big>
</td>
<td bgcolor="#000000">
<font color="#ffffff">$B%9%1%8%e!<%i9=B$BN$N%"%I%l%9(B</font>
</td>
<tr>
</table>
<p><em><code>sched</code></em>$B%(%s%H%j!<$O!"(BNINTENDO64$B%i%$%V%i%j4X?t(B<code>osCreateScheduler()</code>$B$K$h$C$F=i4|2=$5$l$k%9%1%8%e!<%i9=B$BN$N%"%I%l%9!"$9$J$o$A$3$N4X?t$N:G=i$N%Q%i%a!<%?$r4^$s$G$$$^$9!#30It$N%9%1%8%e!<%i$,;HMQ$5$l$k>l9g!"$3$N(B<em><code>sched</code></em>$B$O;HMQ$7$^$;$s!#(B</p>
<p>$B2>$K%9%1%8%e!<%i$,0J2<$N$h$&$J%3!<%I$G3+;O$5$l$k$H$7$^$9!#(B</p>
<pre> osCreateScheduler(&scheduler,
scheduler_stack+(OS_SC_STACKSIZE/8),
SCHEDULER_PRIORITY, OS_VI_NTSC_LAN1, 1);</pre>
<p>$B$3$N;~!"%3%s%U%#%0%l!<%7%g%s9=B$BN$N(B<em><code>sched</code></em>$B%(%s%H%j!<$O(B<code>scheduler</code>$B9=B$BN$N%"%I%l%9$r4^$s$G$$$k$Y$-$G$9!#(B</p>
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td bgcolor="#c0c080">
<big><strong><code><a name="thead_priority">thread_priority</a></code></strong></big>
</td>
<td bgcolor="#000000">
<font color="#ffffff">$B%_%e!<%8%C%/%W%l%$%d!<%9%l%C%I$N%W%i%$%*%j%F%#(B</font>
</td>
<tr>
</table>
<p><em><code>thread_priority</code></em>$B%(%s%H%j!<$O!"%_%e!<%8%C%/%W%l%$%d!<$*$h$S%*!<%G%#%*%^%M!<%8%c$K4X$7$F!"%9%1%8%e!<%i$K4XO"$7$?!"MW5a$5$l$?%9%l%C%I$N%W%i%$%*%j%F%#$r4^$s$G$$$k$Y$-$G$9!#$3$N%W%i%$%*%j%F%#$OB>$N$9$Y$F$N%"%W%j%1!<%7%g%s%9%l%C%I$h$j$b9b$/$9$Y$-$G$"$j!"$G$-$k8B$j%9%1%8%e!<%i$N%W%i%$%*%j%F%#$K6a$/$9$k$3$H$r?d>)$7$^$9!#(B</p>
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td bgcolor="#c0c080">
<big><strong><code><a name="heap">heap</a></code></strong></big>
</td>
<td bgcolor="#000000">
<font color="#ffffff">$B%*!<%G%#%*%R!<%W$N%"%I%l%9(B</font>
</td>
<tr>
</table>
<p><em><code>heap</code></em>$B%(%s%H%j!<$O%*!<%G%#%*%R!<%W$N$?$a$KM=Ls$7$?%a%b%j$N%"%I%l%9$r<($7$^$9!#$3$N%a%b%j$O%-%c%C%7%e%"%i%$%s$5$l$F$$$k$3$H$r?d>)$7$^$9!#(B</p>
<p>$B%*!<%G%#%*%R!<%W$O!"%_%e!<%8%C%/%W%l%$%d!<$H%*!<%G%#%*%^%M!<%8%c$,I,MW$J$@$1$N%a%b%j$rMW5a$G$-$k$h$&!"==J,$KBg$-$/$J$/$F$O$J$j$^$;$s!#;DG0$J$3$H$K!"$3$NI,MWNL$rCN$k4JC1$JJ}K!$O$"$j$^$;$s(B($B$=$7$F!"(BNTSC/MPAL$B%"%W%j%1!<%7%g%s$H(BPAL$B%"%W%j%1!<%7%g%s$N4V$GL@$i$+$K:9$,$"$k$G$7$g$&(B)$B!#(B</p>
<p>$B%W%m%0%i%^$O!"%i%$%V%i%j$,=i4|2=$5$l$?$H$-!"%i%$%V%i%j$K$h$C$F;HMQ$5$l$F$$$k%R!<%W$NNL$KCm0U$7!"$=$l$K1~$8$F%R!<%W%5%$%:$rJQ2=$5$;$k$Y$-$G$9!#;HMQ$5$l$k%R!<%W%5%$%:$O(B<a href="MusInitialize.html"><code>MusInitialize()</code></a>$B4X?t$NLa$jCM$H$J$C$F$$$^$9!#%*!<%G%#%*%R!<%W%"%m%1!<%7%g%s4X?t(B<code>alHeapAlloc()</code>$B$,!"%"%i%$%s$5$l$?%a%b%j%-%c%C%7%e$rLa$jCM$H$7$^$9$,!"$3$l$O%*!<%G%#%*%R!<%W$N%Y!<%9%"%I%l%9$K4p$E$$$F!";HMQ$5$l$F$$$k%R!<%W$NNL$H$N4V$K!J(B15byte$B$^$G$N!K6O$+$J8m:9$r@8$8$&$k$H$$$&$3$H$KCm0U$9$Y$-$G$9!#F1MM$K!"(BNINTENDO64$B%i%$%V%i%j$N%G%P%C%0%P!<%8%g%s!"!V(B<code>libultra_d</code>$B!W$O6O$+$KB?$$%a%b%j$r3d$jEv$F$^$9!#$3$l$O(B<code>alHeapAlloc()</code>$B4X?t$K$h$C$F%R!<%WFb$K!"$=$N%R!<%W$,M-8z$G$"$k$+$I$&$+$r3NG'$9$k$?$a$N>pJs$r%9%H%"$9$k$?$a$G$9!#(B</p>
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td bgcolor="#c0c080">
<big><strong><code><a name="heap_length">heap_length</a></code></strong></big>
</td>
<td bgcolor="#000000">
<font color="#ffffff">$B%*!<%G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9!#F1MM$K!"(BNINTENDO64$B%i%$%V%i%j$N%G%P%C%0%P!<%8%g%s!"!V(B<code>libultra_d</code>$B!W$O6O$+$KB?$$%a%b%j$r3d$jEv$F$^$9!#$3$l$O(B<code>alHeapAlloc()</code>$B4X?t$K$h$C$F%R!<%WFb$K!"$=$N%R!<%W$,M-8z$G$"$k$+$I$&$+$r3NG'$9$k$?$a$N>pJs$r%9%H%"$9$k$?$a$G$9!#(B</p>
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td bgcolor="#c0c080">
<big><strong><code><a name="fifo_length">fifo_length</a></code></strong></big>
</td>
<td bgcolor="#000000">
<font color="#ffffff">$B%i%$%V%i%j$N(BFIFO$B%P%C%U%!$N%5%$%:(B</font>
</td>
<tr>
</table>
<p><em><code>fifo_length</code></em>$B%(%s%H%j!<$O%_%e!<%8%C%/%i%$%V%i%j(BFIFO$B%P%C%U%!$K$*$$$F$=$l$>$l$N%_%e!<%8%C%/%"%C%W%G!<%H$KMxMQ2DG=$J%3%^%s%I?t$G$9!#(BFIFO$B%P%C%U%!$O%"%W%j%1!<%7%g%s%9%l%C%I$h$j%W%l%$%d!<%9%l%C%I>e$G=hM}$5$l$k$Y$-%3%^%s%I$r<B9T$9$k$?$a$K;HMQ$5$l$^$9!#8=:_!"(Bpause/unpause$B4X?t$H%*!<%G%#%*%i%$%V%i%j$N(BFX$B%?%$%W$rJQ49$9$k4X?t$G;HMQ$5$l$^$9!#(B</p>
<p>$B8=:_!"$3$N%(%s%H%j!<$N$?$a$N:G>.@_DjCM$O(B64$B$G$9!#(BFIFO$B%P%C%U%!$KI,MW$H$5$l$k%a%b%j$O%*!<%G%#%*%R!<%W$+$i<hF@$7$^$9!#(B</p>
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td bgcolor="#c0c080">
<big><strong><code><a name="ptr">ptr</a></code></strong></big>
</td>
<td bgcolor="#000000">
<font color="#ffffff">$B%5%s%W%k%]%$%s%?%P%s%/$N%G%U%)%k%H%"%I%l%9(B</font>
</td>
<tr>
</table>
<p><em><code>ptr</code></em>$B%(%s%H%j!<$O%G%U%)%k%H$N%5%s%W%k%]%$%s%?%U%!%$%k!"$9$J$o$A!"(BRAM$B$NCf$K(B32bit$B%"%i%$%s(B($B$J$k$Y$/%-%c%C%7%e%"%i%$%s$5$l$F$$$kJ}$,$h$$(B)$B$GCV$+$l$k!"(BNINTENDO64 Sound Tools$B$N(B<code>.ptr</code>$B%U%!%$%k$N%"%I%l%9$r4^$s$G$$$k$Y$-$G$9!#=i4|2=$N2aDx$G!"$3$N%U%!%$%k$K4^$^$l$F$$$k%*%U%;%C%H$N%j%9%H$O%]%$%s%?$KJQ49$5$l$^$9!#$3$N(B<em><code>ptr</code></em>$B$^$?$O(B<code>wbk</code>$B$,(B<code>NULL</code>$B$N>l9g!"%G%U%)%k%H%5%s%W%k%P%s%/L5$7$H$7$F=i4|2=$5$l$^$9!#(B</p>
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td bgcolor="#c0c080">
<big><strong><code><a name="wbk">wbk</a></code></strong></big>
</td>
<td bgcolor="#000000">
<font color="#ffffff">$B%5%s%W%k%&%'!<%V%P%s%/$N%G%U%)%k%H%"%I%l%9(B</font>
</td>
<tr>
</table>
<p><em><code>wbk</code></em>$B%(%s%H%j!<$O%G%U%)%k%H$N%5%s%W%k%&%'!<%V%U%)!<%`%U%!%$%k!"$9$J$o$A!"(BROM$B$"$k$$$O(BRAM($B$b$7(BRAM$B%Y!<%9$N%5%s%W%k$G$"$k$H%3%s%U%#%0%l!<%7%g%s$5$l$?$J$i$P(B)$B$NCf$KCV$+$l$k!"(BNINTENDO64 Sound Tools$B$N(B<code>.wbk</code>$B%U%!%$%k$N%"%I%l%9$r4^$s$G$$$k$Y$-$G$9!#$3$l$O<B:]$N%5%s%W%k%G!<%?$G$"$j!"%5%&%s%I=PNO$,@8@.$5$l$k$H$-$K(BDMA$B%P%C%U%!$rDL$7$F(BRAM$B$K%3%T!<$5$l$k%G!<%?$G$9!J(BROM$B$KCV$+$l$k>l9g!K!#$3$N(B<em><code>wbk</code></em>$B$^$?$O(B<code>ptr</code>$B$,(B<code>NULL</code>$B$N>l9g!"%G%U%)%k%H%5%s%W%k%P%s%/L5$7$H$7$F=i4|2=$5$l$^$9!#(B</p>
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td bgcolor="#c0c080">
<big><strong><code><a name="default_fxbank">default_fxbank</a></code></strong></big>
</td>
<td bgcolor="#000000">
<font color="#ffffff">$B%5%&%s%I%(%U%'%/%H%P%s%/$N%5%$%:(B</font>
</td>
<tr>
</table>
<p><em><code>default_fxbank</code></em>$B%(%s%H%j!<$O%G%U%)%k%H$N%5%&%s%I%(%U%'%/%H%P%s%/%U%!%$%k!"$9$J$o$A(BRAM$B>e$K(B32bit$B%"%i%$%s(B($B$J$k$Y$/%-%c%C%7%e%"%i%$%s$5$l$F$$$k$[$&$,NI$$(B)$B$GCV$+$l$k!"(BNINTENDO64 Sound Tools$B$N(B<code>.bfx</code>$B%U%!%$%k$N%"%I%l%9$r4^$s$G$$$k$Y$-$G$9!#=i4|2=$N2aDx$G!"$3$N%U%!%$%k$K4^$^$l$F$$$k%*%U%;%C%H$N%j%9%H$O%]%$%s%?$KJQ49$5$l!"%5%s%W%k%P%s%/%*!<%P!<%i%$%I(B ($B0l;~E*$K%5%s%W%k%P%s%/$r@_Dj$9$kNN0h(B) $B$O%/%j%"$5$l$^$9!#$3$N%(%s%H%j$,(B<code>NULL</code>$B$N>l9g!"%G%U%)%k%H%5%&%s%I%(%U%'%/%HL5$7$H$7$F=i4|2=$5$l$^$9!#(B</p>
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td bgcolor="#c0c080">
<big><strong><code><a name="syn_updates">syn_updates</a></code></strong></big>
</td>
<td bgcolor="#000000">
<font color="#ffffff">$B%7%s%;%5%$%6%"%C%W%G!<%H$N?t(B</font>
</td>
<tr>
</table>
<p><em><code>syn_updates</code></em>$B%(%s%H%j!<$O%7%s%;%5%$%6$,2DG=$J%"%C%W%G!<%H$N?t$r4^$s$G$$$^$9!#$3$N%(%s%H%j!<$O%3%s%U%#%0%l!<%7%g%s9=B$BN$N(B<code>maxUpdates</code>$B%Q%i%a!<%?$H$7$F(B<code>alInit()</code>$B4X?t$XEO$5$l$^$9!#(B</p>
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td bgcolor="#c0c080">
<big><strong><code><a name="syn_output_rate">syn_output_rate</a></code></strong></big>
</td>
<td bgcolor="#000000">
<font color="#ffffff">$B:F@8%l!<%H(B</font>
</td>
<tr>
</table>
<p><em><code>syn_output_rate</code></em>$B%(%s%H%j!<$O%7%s%;%5%$%6$N%O!<%I%&%'%"=PNO%l!<%H$r4^$s$G$$$^$9!#$3$N%(%s%H%j!<$O%3%s%U%#%0%l!<%7%g%s9=B$BN$N(B<code>outputRate</code>$B%Q%i%a!<%?$H$7$F(B<code>alInit()</code>$B4X?t$KEO$5$l$^$9!#(B</p>
<p>$B%O!<%I%&%'%":F@8%l!<%H$O(BNINTENDO64 Sound Tools$B$rMQ$$$F:n@.$5$l$?%5%&%s%I%G!<%?$H%l!<%H$,F1$8$G$J$1$l$P$J$j$^$;$s!#(B</p>
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td bgcolor="#c0c080">
<big><strong><code><a name="syn_rsp_cmds">syn_rsp_cmds</a></code></strong></big>
</td>
<td bgcolor="#000000">
<font color="#ffffff">RSP$B%3%^%s%I$N?t(B</font>
</td>
<tr>
</table>
<p><em><code>syn_rsp_cmds</code></em>$B%(%s%H%j!<$O!"%i%$%V%i%j$,@8@.$7$?(BRSP$B%3%^%s%I$rCV$/$?$a$K3d$jEv$F$i$l$k%P%C%U%!$N%5%$%:$r4^$s$G$$$^$9!#$3$NCM$O%S%G%*%U%l!<%`$"$?$j:G>.$G$b(B2048($B$?$H$($P!"(B<code>syn_retraceCount</code>$B$,(B1$B$J$i@_Dj$O:GDc(B2048$B$G$J$1$l$P$J$j$^$;$s!#F1MM$K(B<code>syn_retraceCount</code>$B$,(B2$B$J$i:GDc(B4096$B$G$J$/$F$O$J$j$^$;$s(B)$B$G$"$k$3$H$r?d>)$7$^$9!#(B</p>
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td bgcolor="#c0c080">
<big><strong><code><a name="syn_retraceCount">syn_retraceCount</a></code></strong></big>
</td>
<td bgcolor="#000000">
<font color="#ffffff">VSYNC$B%a%C%;!<%8$"$?$j$N%U%l!<%`?t(B</font>
</td>
<tr>
</table>
<p><em><code>syn_retraceCount</code></em>$B%(%s%H%j!<$O%9%1%8%e!<%i$K$h$C$FAw$i$l$k%j%H%l!<%9%a%C%;!<%8$"$?$j$N(BV-Sync$B$N?t$r4^$s$G$$$^$9!#$3$l$O(B<code>osCreateScheduler()</code>$B4X?t(B($B$"$k$$$O30It$N%9%1%8%e!<%i$K$h$C$F=hM}$5$l$?%S%G%*%U%l!<%`$N?t$r@_Dj$7$^$9(B)$B$XM?$($i$l$k(B<code>retraceCount</code>$B$HF1$8$G$J$1$l$P$J$i$:!"(B1$B$G$"$k$3$H$r?d>)$7$^$9!#(B</p>
<p>$B$b$7$3$NCM$,(B1$B$G$J$1$l$P!"%W%m%0%i%^$O!"%3%s%U%#%0%l!<%7%g%s9=B$BN$NCf$N(BDMA$B%P%C%U%!$N?t!"(BRSP$B%3%^%s%I$N?t!"$=$7$F%"%C%W%G!<%H$N?t$,A}2C$9$k$3$H$r9MN8$7$J$1$l$P$J$j$^$;$s!#(B</p>
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td bgcolor="#c0c080">
<big><strong><code><a name="syn_num_dma_bufs">syn_num_dma_bufs</a></code></strong></big>
</td>
<td bgcolor="#000000">
<font color="#ffffff">DMA$B%P%C%U%!$N?t(B</font>
</td>
<tr>
</table>
<p><em><code>syn_num_dma_bufs</code></em>$B%(%s%H%j!<$O%*!<%G%#%*%^%M!<%8%c$KBP$7$FM-8z$J(BDMA$B%P%C%U%!$N?t$r4^$s$G$$$^$9!#%W%m%0%i%^$O%_%e!<%8%C%/%W%l%$%d!<$,%5%]!<%H$7$F$$$k%A%c%s%M%k$X%5%s%W%k%G!<%?$r6!5k$9$k$?$a$K$$$/$D$N(BDMA$B$,I,MW$G$"$k$+$r7W;;$KF~$l$F$*$/$Y$-$G$9!#(B</p>
<p>$B$3$NCM$O%A%c%s%M%k?t$r7h$7$F2<2s$i$:!"$b$72DG=$G$"$l$P$o$:$+$K>e2s$C$F$$$k$3$H$r?d>)$7$^$9!#$b$7%*!<%G%#%*%^%M!<%8%c$,(BDMA$B%P%C%U%!$r3d$jEv$F$k$3$H$,$G$-$J$$>l9g!"$=$N%P%C%U%!$,I,MW$H$J$C$?;~$K%5%&%s%I=PNO$K!V%.%c%C%W!W$,@8$8$k$3$H$K$J$j$^$9!#(B</p>
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td bgcolor="#c0c080">
<big><strong><code><a name="syn_dma_buf_size">syn_dma_buf_size</a></code></strong></big>
</td>
<td bgcolor="#000000">
<font color="#ffffff">$B3F(BDMA$B%P%C%U%!$ND9$5(B</font>
</td>
<tr>
</table>
<p><em><code>syn_dma_buf_size</code></em>$B%(%s%H%j!<$O%*!<%G%#%*%^%M!<%8%c$KBP$7$FM-8z$J3F(BDMA$B%P%C%U%!$N%5%$%:$r4^$s$G$$$^$9!#$3$l$i$N%P%C%U%!$,Bg$-$$$H$-$K$O(BDMA$B$O$"$^$jI,MW$G$O$J$/$J$j$^$9$,!"L@$i$+$KB?$/$N%a%b%j$rI,MW$H$9$k$h$&$K$J$j$^$9!#$3$NCM$O(B0x400$B$r7h$7$F2<2s$i$J$$$3$H$r?d>)$7$^$9!#(B</p>
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td bgcolor="#c0c080">
<big><strong><code><a name="diskrom_handle">diskrom_handle</a></code></strong></big>
</td>
<td bgcolor="#000000">
<font color="#ffffff">64DD$BFbB"(BROM$B$N%O!<%I%&%'%"@_Dj$K4X$9$k>pJs(B</font>
</td>
<tr>
</table>
<p><em><code>diskrom_handle</code></em>$B%(%s%H%j!<$O(B64DD$BFbB"(BROM$B$rMxMQ$9$k$?$a$KI,MW$J%O!<%I%&%'%">pJs$r4^$s$G$$$^$9!#(B64DD$BFbB"(BROM$B$rMxMQ$7$J$$>l9g$OFC$K;XDj$9$kI,MW$O$"$j$^$;$s!#(B64DD$BFbB"(BROM$B$rMxMQ$9$k>l9g$K$O!"(BosDriveRomInit()$B$NLa$jCM$rEO$7$F$/$@$5$$!#(B</p>
</body>
</html>