home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
PROGRAMM
/
SNIP0492.ZIP
/
SOUND.C
< prev
next >
Wrap
C/C++ Source or Header
|
1991-09-14
|
598b
|
31 lines
/*
** SOUND.C
**
** Original Copyright 1988-1991 by Bob Stout as part of
** the MicroFirm Function Library (MFL)
**
** This subset version is functionally identical to the
** version originally published by the author in Tech Specialist
** magazine and is hereby donated to the public domain.
*/
#include "sound.h"
void soundon(void)
{
short value;
value = inp(SCNTRL);
value |= SOUNDON;
outp(SCNTRL, value);
}
void soundoff(void)
{
short value;
value = inp(SCNTRL);
value &= SOUNDOFF;
outp(SCNTRL, value);
}