VOGONS


First post, by ScoutPilot19

User metadata
Rank Member
Rank
Member

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

Reply 1 of 10, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

disconnecting might be easier.

Water flows down the stream
How to ask questions the smart way!

Reply 2 of 10, by ScoutPilot19

User metadata
Rank Member
Rank
Member
Qbix wrote:

disconnecting might be easier.

- I dont't think so) MAybe it's better to connect a electric regulator ... )

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 5 of 10, by ScoutPilot19

User metadata
Rank Member
Rank
Member

Maybe so... I think somewhere on retro-software sites I saw such a program about 3-4 years ago, but now couln't find it again...

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

Reply 8 of 10, by Joey_sw

User metadata
Rank Oldbie
Rank
Oldbie

or adding switch so you can turn it on/off easily.

-fffuuu

Reply 10 of 10, by Tertz

User metadata
Rank Oldbie
Rank
Oldbie

Some ISA sound cards have PC speaker connector. Mixer of such cards allow setting volume of speaker to 0, besides acoustics volume control.

DOSBox CPU Benchmark
Yamaha YMF7x4 Guide