VOGONS

Common searches


First post, by ScoutPilot19

User metadata
Rank Member
Rank
Member

Hi all ! Need a program to disable pc speaker in dos...

Reply 3 of 10, by Scali

User metadata
Rank l33t
Rank
l33t

There's no way to 'disable' it. Or well, the PC speaker is 'disabled' when you don't hear anything.
It is hardwired to one of the outputs of the PIT. As soon as it is enabled, sound is heard. So the first thing every game or other program does to generate a sound, is to enable the speaker. Then it disables it again for silence.

In theory you could 'disable' the speaker on a 386+ by using its v86 abilities to virtualize the PC speaker port, and just ignore the data.
But really, disconnecting is a much simpler and more reliable way.

http://scalibq.wordpress.com/just-keeping-it- … ro-programming/

Reply 4 of 10, by vladstamate

User metadata
Rank Oldbie
Rank
Oldbie

In non-protected mode, anyone can write to the PIT via OUT 0x42/0x43 and therefore you cannot really disable the speaker. In protected mode the OS can probably be set to ignore those writes.

I guess what I am trying to say is I do not think it is possible to disable the speaker system wide for DOS.

YouTube channel: https://www.youtube.com/channel/UC7HbC_nq8t1S9l7qGYL0mTA
Collection: http://www.digiloguemuseum.com/index.html
Emulator: https://sites.google.com/site/capex86/
Raytracer: https://sites.google.com/site/opaqueraytracer/

Reply 6 of 10, by RacoonRider

User metadata
Rank Oldbie
Rank
Oldbie

If you don't want to unplug it, you can route it through a button on your case to disconnect it from the motherboard when you don't want to hear the beeps. Turbo button would serve if you don't use it.

As far as I understand hardware, disabling speaker is as hard as making RTC clock stop ticking. It's an essential part of PC technology.

Reply 7 of 10, by Malik

User metadata
Rank l33t
Rank
l33t

Why not just disconnect the PC Speaker connector? What is the purpose for a PC Speaker "disabler" in the first place anyway? How important is it for daily operations? What is the priority?

5476332566_7480a12517_t.jpgSB Dos Drivers