Category : C Source Code
Archive   : BLAST13.ZIP
Filename : DIRECT.DOC

 
Output of file : DIRECT.DOC contained in archive : BLAST13.ZIP
/*

Turbo C Direct Access Interface

by Joel Lucsy

Vroom-Diggy-Diggy Software, (c) 1991


Defined Macros:

SBOK Return value indicating success from reset_dsp.


Functions Defined For Direct Access:

int reset_dsp(void)
-Resets the DSP. Do this before calling any direct access routines.
-Returns SBOK if able to reset.


int read_data(void)
-Returns data from D-A converter.


void write_data(void)
-Writes data to the A-D converter.
-Speaker_on must be called first in order to hear the sound.


void speaker_on(void)
-Turns on the speaker.


void speaker_off(void)
-Turns off the speaker.


void asmdelay(int delay)
-A delay for timing output, more usefull than Turbo C's delay.


** Sound Blaster is a copyright of Creative Labs, Inc. **
*/


  3 Responses to “Category : C Source Code
Archive   : BLAST13.ZIP
Filename : DIRECT.DOC

  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/