Re: video reset kills beep in DOS box

From: Gary Smith (bitbucket_at_example.com)
Date: 04/13/04


Date: Mon, 12 Apr 2004 21:02:42 -0700

In microsoft.public.win2000.general nutso fasst <no.replies@no.where.net> wrote:
> My workstation runs Win2K. I wrote a DOS program that beeps the PC speaker
> by sending a BEL character (7) to the console. When I first open a DOS
> prompt and run the program, the speaker beeps. But if I run any programs
> that set the video mode--such as the DOS edit program, debug or an old
> game--the speaker no longer beeps. It doesn't matter if I beep the speaker
> with Int 21h function 2 or with Int 10h function 0Eh, the fact is that
> running most any old executable will kill sound from the speaker. To get the
> speaker sound back I have to open another DOS box.

Testing with the debug script you provided, I do not see the beep disabled
after running debug or edit.com. However, my system is not using the PC
speaker to generate the tone when I execute the program. It's using
Windows' default beep sound, which would be a .wav file. The sound
generated from the PC speaker in response to echoing a Ctrl-G character is
quite different. Nothing I do seems to disable that sound either. I
don't know whether this helps or just complicates the issue.

-- 
Gary L. Smith                gls432@yahoo.com
Columbus, Ohio


Relevant Pages

  • Re: video reset kills beep in DOS box
    ... > by sending a BEL character to the console. ... When I first open a DOS ... > prompt and run the program, the speaker beeps. ... > running most any old executable will kill sound from the speaker. ...
    (microsoft.public.win2000.general)
  • Re: OT - PC makes odd beeping sound
    ... Well given you've poked your nose in, and given the topic is computers ... that not all beeps are BIOS error codes. ... In the absence of a sound card, or if another app is monopolising the sound card ... There is no volume control on the beep. ...
    (uk.media.tv.misc)
  • Re: OT - PC makes odd beeping sound
    ... Well given you've poked your nose in, and given the topic is computers ... that not all beeps are BIOS error codes. ... In the absence of a sound card, or if another app is monopolising the sound card ... As soon as an app was run at the same time as Outlook which monopolised ...
    (uk.media.tv.misc)
  • Re: mscdex
    ... Since this is a DOS newsgroup, I'm going to assume that you're ... load the driver provided by the ... > Is there a sound module too that has to be loaded before your ... You simply load the sound card driver, ...
    (comp.os.msdos.programmer)
  • Aside from me, who else here uses FreeDos for retrogaming?
    ... can be booted up without involving Windows, ... Ok, for the sound to work in DOS games, is it true that you need a ... Sound Card that have compatible DOS drivers? ...
    (comp.os.msdos.misc)