"hidden" PC Speaker option in Wolfenstein 3-D

Discuss classic and favorite computer or console games here.
User avatar
K1n9_Duk3
Vorticon Elite
Posts: 785
Joined: Mon Aug 25, 2008 9:30
Location: Germany
Contact:

"hidden" PC Speaker option in Wolfenstein 3-D

Post by K1n9_Duk3 »

While I was implementing a PC speaker emulator for the Wolf4SDL port of Wolfenstein 3-D, I noticed there were routines in the original Wolf3D source code that could play digitized sounds via the PC Speaker.

Unfortunately, there is no menu option to select the PC Speaker as the device for digitized sounds, but as it turns out, you can enable the PC Speaker option by hacking the config file with a hex editor.

Long story short: It works!

I haven't been able to test it on a real DOS PC, but it works fine with the DOSBox emulator. If you want to test it yourself, edit your config file with a hex editor and set the value at offset 0x01D2 to 1. Or download a modified version of the config file here.

I wish I had known this back in the days of my old 80386...
Hail to the K1n9, baby!
http://k1n9duk3.shikadi.net
User avatar
MoffD
Vorticon Elite
Posts: 1220
Joined: Thu Jul 05, 2012 17:30
Location: /dev/null
Contact:

Post by MoffD »

Interesting find K1n9_Duk3, I'm gonna go check that out
mortimermcmirestinks wrote: Now I wish MoffD wasn't allergic to me.
Levellass wrote:You're an evil man.
Image
User avatar
Flaose
Vorticon Elder
Posts: 568
Joined: Sat Oct 27, 2007 20:30
Location: The Frozen Hell
Contact:

Post by Flaose »

That's awesome K1n9_Duk3! I booted it up on my 486 and took a quick video. Here's the (nearly) raw video footage: http://youtu.be/1BtlsjJRnFU
Last edited by Flaose on Sat Mar 16, 2013 5:05, edited 1 time in total.
Cerebral Cortex 314 - For All of your Commander Keen Needs.
Eat at Joe's
User avatar
Rorie
Tru-Blu Aussie Born & Bred
Posts: 1078
Joined: Sun Nov 04, 2007 22:27
Location: Australia

Post by Rorie »

back in the day the standard sound device in the 80386-486 was the pc speaker and by listening to the vid flaose posted reminds me of the days when the adlib/soundblaster or sound card whatever you like to call it did not come built into every pc as it does now and didn't back in the day.

when i was in my high school years i think. my now estranged father went to the computer store and bought a adlib card. the problem for him is that he does not know how to manage money soon as he gets his pension he blows it all on bikes and grog. despite of all this back in the day when i look back it was actually nice to listen to sounds not produced by the now old defunct pc speaker.

i got a lot of enjoyment out of these new sounds and made game play a lot more attractive not in the present but back in the days of dos gaming

neither me my siblings or mother have anything me to do with my father and believe me it is better this way my life has been better. i regret i had to break off contact but hey i am a adult now as my siblings are we can make decisions like this and he has to accept it if he likes it or not
If you can't change the rules, challenge them, rules are made to be broken
Up yours Fleexy!
User avatar
Levellass
S-Triazine
Posts: 5266
Joined: Tue Sep 23, 2008 6:40

Post by Levellass »

soon as he gets his pension he blows it all on bikes and grog
.

That's a sentence I never thought I would see.
What you really need, not what you think you ought to want.
Bernie
Vorticon Elite
Posts: 561
Joined: Mon Nov 05, 2012 15:00
Location: Aus

Post by Bernie »

hehe... rorie's issues kinda came outta nowhere :p

dont worry friend, we all got them.
Keening_Product
Kuliwho?
Posts: 2167
Joined: Fri Jan 20, 2012 7:02
Location: Tied up in the Oracle Chamber's basement
Contact:

Post by Keening_Product »

K1n9_Duk3, once again you have found something relatively spectacular hidden in code.

Maybe the PC speaker option was disabled because of its lack of definition in comparison to the other option? It might have just been Flaose's video (which was great by the way - thanks :) ), but the sounds seem a bit over the top. Then again, so is the game and why should it be removed just because it's less good?
Keening_Product was defeated before the game.

"Wise words. One day I may even understand what they mean." - Levellass
User avatar
guynietoren
Vorticon Elite
Posts: 886
Joined: Sat Mar 13, 2010 2:57
Location: Kansas City
Contact:

Post by guynietoren »

Rorie wrote:when i was in my high school years i think. my now estranged father went to the computer store and bought a adlib card. the problem for him is that he does not know how to manage money soon as he gets his pension he blows it all on bikes and grog. despite of all this back in the day when i look back it was actually nice to listen to sounds not produced by the now old defunct pc speaker.
I have strong memories of that day for me. The card was huge, and I remember my dad bringing it home from work telling me how expensive it was. I used to play a lot with the text to speech program that it came with.

I still miss all the cool raspy sounds the PC speaker could make.
User avatar
MoffD
Vorticon Elite
Posts: 1220
Joined: Thu Jul 05, 2012 17:30
Location: /dev/null
Contact:

Post by MoffD »

guynietoren wrote:
Rorie wrote:when i was in my high school years i think. my now estranged father went to the computer store and bought a adlib card. the problem for him is that he does not know how to manage money soon as he gets his pension he blows it all on bikes and grog. despite of all this back in the day when i look back it was actually nice to listen to sounds not produced by the now old defunct pc speaker.
I have strong memories of that day for me. The card was huge, and I remember my dad bringing it home from work telling me how expensive it was. I used to play a lot with the text to speech program that it came with.

I still miss all the cool raspy sounds the PC speaker could make.
That's why I made a Python script that bells out the time like Big Ben through the PC speakers
mortimermcmirestinks wrote: Now I wish MoffD wasn't allergic to me.
Levellass wrote:You're an evil man.
Image
User avatar
Rorie
Tru-Blu Aussie Born & Bred
Posts: 1078
Joined: Sun Nov 04, 2007 22:27
Location: Australia

Post by Rorie »

Levellass wrote:
soon as he gets his pension he blows it all on bikes and grog
.

That's a sentence I never thought I would see.
Levellass what i said about my father spending his entire disability pension every 2 weeks on liquor and bikes and crap is actually true. he is mentally ill and also does not take his medication when advised to. but as i said he is estranged from me. i do not talk or even have him in my life at all now. may i say that he was a terrible father to his children and me my siblings are awfully glad that he is no longer part of us. it is better this way and needs to stay like that
If you can't change the rules, challenge them, rules are made to be broken
Up yours Fleexy!
User avatar
Rorie
Tru-Blu Aussie Born & Bred
Posts: 1078
Joined: Sun Nov 04, 2007 22:27
Location: Australia

Post by Rorie »

Bernie wrote: dont worry friend, we all got them.
if i have issues with one member of my family how about you bern?. you can drop me an pm or email if you want to let it out. i will listen to you mate.
If you can't change the rules, challenge them, rules are made to be broken
Up yours Fleexy!
User avatar
Rorie
Tru-Blu Aussie Born & Bred
Posts: 1078
Joined: Sun Nov 04, 2007 22:27
Location: Australia

Post by Rorie »

Rorie wrote:
Levellass wrote:
soon as he gets his pension he blows it all on bikes and grog
.

That's a sentence I never thought I would see.
Levellass what i said about my father spending his entire disability pension every 2 weeks on liquor and bikes and crap is actually true. he is mentally ill and also does not take his medication when advised to. but as i said he is estranged from me. i do not talk or even have him in my life at all now. may i say that he was a terrible father to his children and me my siblings are awfully glad that he is no longer part of us. it is better this way and needs to stay like that
my dad might blow all his money but he is also lazy and expects the hard working australian to fund his lifestyle of do nothing and laziness.

he is illiterate and has blown his entire life away of ever having a chance to work he was born in 1950 so his chances of finding work now are over/

his entire life he has claimed an back injury as a disability and an excuse not to work.

i will safely say that i have not embarked on the same path. i am getting older but i am not as old as his is i am 29 turning 30 in october this year.

i am working but am still stuck on a state benefit as i do not earn enough to be cut off from the dsp.

i am also contributing to my superannuation that my employer has setup it is only about a grand at the time of typing this.

but hopefully when i turn 60 or if i even live that long. hopefully it will be enough to receive a part pension
If you can't change the rules, challenge them, rules are made to be broken
Up yours Fleexy!
User avatar
Levellass
S-Triazine
Posts: 5266
Joined: Tue Sep 23, 2008 6:40

Post by Levellass »

By the time you're 60 people of your age will be stored in digital rest homes to save taxpayer money.

I however will be dead after our country is nuked by China when they mistake it for Tazmania.
What you really need, not what you think you ought to want.
User avatar
_mr_m_
Vortimaestro
Posts: 431
Joined: Mon May 11, 2009 23:14
Location: Quetzalacatenango

Post by _mr_m_ »

I hope this is the only derp moment I have today:

In editing my config file, I forgot to think logically and disable music and adlib sounds.

Turns out the PC speaker digitized sound doesnt work with music and adlib sounds...Which makes complete sense.

I like the PC speaker digitized sounds better -- Especially the sound for the machine gun; it's got that raw sound to it. I'll have to set up my old 486 and test this on real hardware.
Levellass wrote:By the time you're 60 people of your age will be stored in digital rest homes to save taxpayer money.

I however will be dead after our country is nuked by China when they mistake it for Tazmania.
By the time I'm 60, the US will be annexed by China. I've bought a Chinese keyboard so I can start learning how to type.
"I just drew this stupid little fish." -- Tom Hall
User avatar
MoffD
Vorticon Elite
Posts: 1220
Joined: Thu Jul 05, 2012 17:30
Location: /dev/null
Contact:

Post by MoffD »

_mr_m_ wrote:By the time I'm 60, the US will be annexed by China. I've bought a Chinese leopard so I can start learning how to type.
_mr_m_ wrote: the US will be annexed by China. I've bought a Chinese leopard so I can start learning how to type.
_mr_m_ wrote: I've bought a Chinese leopard so I can start learning how to type.
:D
mortimermcmirestinks wrote: Now I wish MoffD wasn't allergic to me.
Levellass wrote:You're an evil man.
Image
Post Reply