blob: 4d70bf6ed117dd434e7d2a130306069358ac1ec9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/*$M 16384,0,0*/
/* to demonstrate the SBVoice Unit */
/* Copyright 1991 Amit K. Mathur, Windsor, Ontario */
/*#include "SBVoice.h"*/
int main(int argc, const char* argv[])
{
pio_initialize(argc, argv);
if (paramcount>0) {
loadvoice(paramstr(1),0,0);
sb_output(seg(soundfile),ofs(soundfile)+26);
do {
output << "Demo of the SBVoice Unit, Copyright 1991 by Amit K. Mathur --- ";
} while (!(statusword==0));
} else
output << "Usage: DEMO [d:\\path\\]filename.voc" << NL;
return EXIT_SUCCESS;
}
|