blob: b48379d364d464a8f838fd49416fad111b42813f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#include "ptoc.h"
/*$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;
}
|