First post, by jwt27
- Rank
- Oldbie
I've been trying to figure out why The Horde won't use the WSS interface on my sound card (YMF719). The SB support is flawed since it plays every new sound on a random stereo channel which is annoying. It also seems limited to four simultaneous sound channels, and since the music is 4-channel MOD already, playing any sound effects will cut out music notes. I wonder if this is different when using 16-bit mixing.
Normally the game detects a sound card on startup (and as we all know, autodetecting and assuming anything about hardware configuration in DOS is generally a Bad Thing to do), there doesn't seem to be any way to force any specific setup. By debugging I've found that the game understands one command line argument: /S:<card>, where <card> is either SILENT, SBLASTER, GRAVIS, MICRO or PAS (possibly more). You can also specify environment variable SET BOBSOUND=<card>. You won't find this information in the game manual, or anywhere else!
When trying to detect WSS this game does some really weird things. Like writing an IRQ/DMA configuration to 530h (which is read-only) and setting the Mode Change Enable bit without actually specifying a new mode, then setting a new mode without the MCE bit enabled. It also doesn't seem to check if all these port writes actually do anything, and after resetting the sound card 4 times, it gives up and uses SB instead.
Has anyone here ever seen WSS support working in The Horde? I don't think it could possibly work, but then I don't have any documentation about WSS and all these weird things it does might actually work on other sound cards.
Not sure if anyone even cares about this. I should probably just be playing the game and worry about other things. Oh well.