Live data from Hacker News

DOOM could have had PC Speaker Music

lenowo.org

71–80 of 81 posts

Re: DOOM could have had PC Speaker Music

#71

Earlier quoted context omitted.

Doom is playable (albeit by reducing the viewport to a postage stamp) on a 386; I'd be curious how your patch works on the 386 considering how much worse the graphics performance is on it

In the Doom-era game Rise of the Triad, if you shrink the viewport all the way down to postage stamp size, it displays "Buy a 486!" underneath.

ROTT uses the Wolf3D engine and was somewhat of a collaboration (if you could call it that) between id and Apogee!

Re: DOOM could have had PC Speaker Music

#72

This is a cool technical feat, but I am almost sure that id attempted this and realized that it just was not ever going to sound very good. The PC speaker sound effects are bad enough (which is to say "as good as they can be, but still bad") and sound "cheap", and adding beep-speaker music on top of that would just result in a noisy mess - as evidenced by the video. The beep-speaker music in Commander Keen was good a…

> The PC speaker sound effects are bad enough (which is to say "as good as they can be, but still bad") and sound "cheap" They are lifted as is from Shadow Knights. > which is to say "as good as they can be, but still bad" They could be done better or even way better, it's just that wasn't an important target in any way. Especially considering the performance target of 486DX+ whicih wasn't not a cheap machine in any…

The PC speaker sounds used by Doom aren't so much lifted from Shadow Knights as they are shared between a lot of the early id Software games - the sounds in Doom were also used in Keen, Wolf3D, Shadow Knights, etc. A lot of their early Softbank games used all the same sound palette because they had to crank out new games so quickly

Re: DOOM could have had PC Speaker Music

#73
post #64
post #39

Earlier quoted context omitted.

I know. Experiencing that made me learn about PWM, and I was able to reproduce, harshly, a voice sample on my 2 MHz 8-bit home computer, by bit-banging the tape recorder port's 1-bit output.

You could play music on the C64 by sampling the tape ports 1bit input and twiddling the sound chips volume accordingly. You could of course store the samples too, to play back later, but doing realtime sampling into 64KB of RAM didn't exactly let you store much... And a 1MHz CPU didn't let you do much compression if you wanted to keep up..

You could in fact play four sample channels (with filters) plus two SID channels. However, the tech to do that was only discovered around 2008.

https://youtube.com/watch?v=ZMioAPZcays

https://youtube.com/watch?v=D2lEVw7fsMY

Re: DOOM could have had PC Speaker Music

#74
post #19

Earlier quoted context omitted.

I agree. To explain further, it's easy as an outsider to call somebody else "lazy", but the outsider doesn't know how hard Id worked to finish Doom. Game development is famous for months-long crunch time death marches with 7-day 16-hour days. It's easy to say "you've been doing crunch for 6 months, here's another task for you: add PC speaker music" but it might be the thing that drives the game dev who has to do it o…

Also all the sound stuff was outsourced! id hired Bobby Prince to make the music and licensed a playback library which seemed to have enough problems already with the supported sound cards. https://doomwiki.org/wiki/DMX So they'd have had to extract this feature from a vendor where the relationship is already breaking down, or ditch it all and start from scratch with a new vendor, or inhouse code.

On top of that, the claim in the post seems to be based on the Linux Doom architecture, which has a separate sound service that didn’t exist in the original DOS version.

This is just someone cosplaying early 1990s development with the benefit of decades of subsequent OS and software design.

Re: DOOM could have had PC Speaker Music

#75
When Windows replaced DOS in the 1990s, I hoped I'd seen the last of that fugly cursed (to paraphrase the site's motto) IBM VGA text mode font. Little did I know that retrocomputing fans seem to be very much in love with it...

Re: DOOM could have had PC Speaker Music

#77

Earlier quoted context omitted.

Doom is playable (albeit by reducing the viewport to a postage stamp) on a 386; I'd be curious how your patch works on the 386 considering how much worse the graphics performance is on it

DOOM was playable on the 486SLC2 with a modestly smaller viewport despite having just a 16-bit bus. It was the one donated IBM box in my high school's computer lab that could play it because Model 25 and 30 286's sure couldn't.

they can now though, there is a 286 port for 640k which even does cga and mda next to the initial ansi shaded text mode

Re: DOOM could have had PC Speaker Music

#78
post #34

One of my favourite DOS era inventions is Access Software's RealSound™ technology which performed audio modulation of the PC speaker to produce okay sounding audio playback, about telephone quality. The manual hilariously instructs you to hook your hifi system up to the PC speaker, see the last page: https://www.gamesdatabase.org/Media/SYSTEM/Microsoft_DOS//Ma...

Star Control II was released in 1992, a year before Doom, and it was able to play beautiful, rich 4-channel MOD music via PC speaker, on a 80386 @ 40Mhz. Scream Tracker, a music composition software, was able to pull of the same feat, 4 channels of 8-bit voices, in 1990. However cool and useful the PC speaker output was, it was the a hand-soldered "Covox" lookalike, a passive DAC built out of a resistor ladder and at…

> However cool and useful the PC speaker output was, it was the a hand-soldered "Covox" lookalike, a passive DAC built out of a resistor ladder and attached to the printer port, which you actually connected to your hi-fi amplifier.

I must have built at least a couple of dozen of these for various people.

Re: DOOM could have had PC Speaker Music

#79

id Software should have just partnered with a heavy metal band that jointly released an album of Doom music you could put in your stereo while you play the game.

When we played Quake deathmatches at work, we'd stick the game CD in the workshop stereo and play the audio tracks through that.

Re: DOOM could have had PC Speaker Music

#80
post #34

Earlier quoted context omitted.

Star Control II was released in 1992, a year before Doom, and it was able to play beautiful, rich 4-channel MOD music via PC speaker, on a 80386 @ 40Mhz. Scream Tracker, a music composition software, was able to pull of the same feat, 4 channels of 8-bit voices, in 1990. However cool and useful the PC speaker output was, it was the a hand-soldered "Covox" lookalike, a passive DAC built out of a resistor ladder and at…

> However cool and useful the PC speaker output was, it was the a hand-soldered "Covox" lookalike, a passive DAC built out of a resistor ladder and attached to the printer port, which you actually connected to your hi-fi amplifier. I must have built at least a couple of dozen of these for various people.

Good times! I made one as a kid and remember thinking there is no way in heck this thing will work. My mind was blown when it worked first time.
Post reply on HN