home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.c:19351 comp.lang.c++:18788 comp.lang.misc:4093
- Newsgroups: comp.lang.c,comp.lang.c++,comp.lang.misc
- Path: sparky!uunet!sangam!cmie!rs
- From: rs@cmie.ernet.in (Rajappa Iyer)
- Subject: Re: How to turn PC speaker off?
- Message-ID: <C0Gz8y.H0@cmie.ernet.in>
- Organization: Centre for Monitoring Indian Economy, Bombay
- X-Newsreader: Tin 1.1 PL4
- References: <1993Jan5.231923.391@jwminhh.hanse.de>
- Date: Thu, 7 Jan 1993 05:58:09 GMT
- Lines: 22
-
- wieck@jwminhh.hanse.de (Jan Wieck) writes:
- : cschang@hamlet.umd.edu (C. S. Chang) writes:
- : : Is there any way to turn the PC speaker off so that there will be no
- : : beeps if a certain function call failed. I do not have access to this
- : : particular function call which beeps at failure. So I am looking for
- : : a way to prevent the PC from generating some beeping noise.
- :
- : Oh, you wanted a solution for PC-DOS? Well, also possible, cut the
- : wire (this is no joke - it's the only way under PC-DOS).
-
- Well, yes, this is the only way to do it for programs which control
- the sound chip directly and / or write to the speaker port. But if you
- are interested in cutting out plain vanilla beeps from plain vanilla
- apps (which are likely to be using a dos / bios call to write ASCII 7 for
- beep) then you *can* intercept the bios video interrupt and disable the
- beep.
-
- e-mail me if you are interested in the source to do this.
-
- --
- Rajappa Iyer rs@cmie.ernet.in (Preferred)
- riyer@shakti.ncst.ernet.in
-