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

  1. Xref: sparky comp.lang.c:19403 comp.lang.c++:18828 comp.lang.misc:4095
  2. Newsgroups: comp.lang.c,comp.lang.c++,comp.lang.misc
  3. Path: sparky!uunet!mcsun!Germany.EU.net!news.Hamburg.Germany.EU.net!jwminhh!wieck
  4. From: wieck@jwminhh.hanse.de (Jan Wieck)
  5. Subject: Re: How to turn PC speaker off?
  6. Message-ID: <1993Jan8.004849.1660@jwminhh.hanse.de>
  7. Organization: Private Site under Mach386
  8. X-Newsreader: Tin 1.1 PL4
  9. References: <C0Gz8y.H0@cmie.ernet.in>
  10. Date: Fri, 8 Jan 1993 00:48:49 GMT
  11. Lines: 34
  12.  
  13. rs@cmie.ernet.in (Rajappa Iyer) writes:
  14. : wieck@jwminhh.hanse.de (Jan Wieck) writes:
  15. : : cschang@hamlet.umd.edu (C. S. Chang) writes:
  16. : : : Is there any way to turn the PC speaker off so that there will be no
  17. : : : beeps if a certain function call failed.  I do not have access to this
  18. : : : particular function call which beeps at failure.  So I am looking for
  19. : : : a way to prevent the PC from generating some beeping noise.
  20. : : 
  21. : : Oh, you wanted a solution for PC-DOS? Well, also possible, cut the
  22. : : wire (this is no joke - it's the only way under PC-DOS).
  23. : Well, yes, this is the only way to do it for programs which control
  24. : the sound chip directly and / or write to the speaker port. But if you
  25. : are interested in cutting out plain vanilla beeps from plain vanilla
  26. : apps (which are likely to be using a dos / bios call to write ASCII 7 for
  27. : beep) then you *can* intercept the bios video interrupt and disable the
  28. : beep.
  29.  
  30. Normally (all the user's in our office) someone want's to turn off
  31. the speaker to play games. Most games have a turn-speaker-off-feature
  32. (and some a boss-is-coming-hotkey) today. But ALL games directly
  33. write to the speaker port.
  34.  
  35. Just interested - let us know for what reason do you need this feature,
  36. Mr./Mrs. Chang?
  37.  
  38.  
  39. Until later, Jan
  40.  
  41. -- 
  42. # Any language keeps its own misunderstandings; #
  43. # why shouldn't programming languages do?       #
  44. #                                               #
  45. #            wieck@jwminhh.hanse.de (Jan Wieck) #
  46.