sound.c
来自「国外网站上的一些精典的C程序」· C语言 代码 · 共 32 行
C
32 行
/*** SOUND.C**** Original Copyright 1988-1991 by Bob Stout as part of** the MicroFirm Function Library (MFL)**** The user is granted a free limited license to use this source file** to create royalty-free programs, subject to the terms of the** license restrictions specified in the LICENSE.MFL file.*/#include "pchwio.h"#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);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?