home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.c:19403 comp.lang.c++:18828 comp.lang.misc:4095
- Newsgroups: comp.lang.c,comp.lang.c++,comp.lang.misc
- Path: sparky!uunet!mcsun!Germany.EU.net!news.Hamburg.Germany.EU.net!jwminhh!wieck
- From: wieck@jwminhh.hanse.de (Jan Wieck)
- Subject: Re: How to turn PC speaker off?
- Message-ID: <1993Jan8.004849.1660@jwminhh.hanse.de>
- Organization: Private Site under Mach386
- X-Newsreader: Tin 1.1 PL4
- References: <C0Gz8y.H0@cmie.ernet.in>
- Date: Fri, 8 Jan 1993 00:48:49 GMT
- Lines: 34
-
- rs@cmie.ernet.in (Rajappa Iyer) writes:
- : 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.
-
- Normally (all the user's in our office) someone want's to turn off
- the speaker to play games. Most games have a turn-speaker-off-feature
- (and some a boss-is-coming-hotkey) today. But ALL games directly
- write to the speaker port.
-
- Just interested - let us know for what reason do you need this feature,
- Mr./Mrs. Chang?
-
-
- Until later, Jan
-
- --
- # Any language keeps its own misunderstandings; #
- # why shouldn't programming languages do? #
- # #
- # wieck@jwminhh.hanse.de (Jan Wieck) #
-