Category : C Source Code
Archive   : C_WNDW.ZIP
Filename : WARBLE1.C

 
Output of file : WARBLE1.C contained in archive : C_WNDW.ZIP
/* (c) Marietta Systems, Inc. 1987
* All rights reserved
*
* demonstration program for functions warble and idleloop
*/
#include "mtest.h"
void main(){
int a, x = 1;
char text[30];
clr_scrn("Warble test");
/*
* set an descending range of tones
*/
for (a = 100 ; a <= 4000 ; a += 100) {
warble(a);
sprintf(text,"The tone is %d",a);
display(text, x++, x, high);
idleloop(9); /* about half a second */
}
disp_msg("Press any key to switch off the speaker",1);
read_kb();
warble(0);
goodbye(0);
}


  3 Responses to “Category : C Source Code
Archive   : C_WNDW.ZIP
Filename : WARBLE1.C

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/