home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / c / 19351 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  1.4 KB

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