First post, by johnnycontrario
- Rank
- Newbie
I'm configuring a small form factor PC to be a DOS/Win98 box. Surely this isn't the first time you've heard that line... Anyway, it's based on a Via C3 processor with VT82C686B south bridge, and everything has gone well apart from the sound configuration. The goal is SB stereo + real OPL in DOS. There were several problems using the ISA slot, so I went with the PCI route.
I installed a YMF744L and got it working in DOS. It has great sound quality and real OPL, but it doesn't do stereo (sounds in DOOM are mono). However, the Sound Blaster compatibility in the 686B does support stereo, but the OPL emulation isn't great. So I had the idea of running both at the same time. I managed to get both working, so the next step was to connect the Line-Out of one card to the Line-In of the other, but I discovered that Line-In appears to be muted on both cards in DOS.
Does a DOS mixer utility exist for either the YMF744L or 686B southbridge? The Yamaha's ds.ini file seems to have mixer levels, but the values don't make any sense to me and I haven't found any documentation. Does anyone know what values to use in ds.ini to unmute the Line-In on the Yamaha?
EDIT: The answer was in front of my dumb face. Yamaha's SETUPDS utility has a VOLUME menu that lets you set mixer levels. Thanks to Cyclone3d for pointing this out.
If anyone is curious how I got the YMF and VIA working together (EDIT: The original post had incorrect instructions.)
To make this work, I had to get the YMF dos utilities with the SETUPDS utility modified to work on a VT82686B southbridge. I also had to download the VIA DOS drivers, but VIAFMTSR.COM is not included in the official VIA downloads. I had to download that from another post here on VOGONS, or maybe it was on the drivers page. I can upload a copy if anyone needs it.
I ran the Yamaha SETUPDS.EXE utility (the version modified to support the 686B southbridge) and enabled only the FM PORT and JOY PORT. Everything else is disabled. IRQ MODE is set to INTA# and DMA MODE is set to D-DMA, 8000. Make sure to save the settings when you exit the utility. Once this is configured, you can run the following lines, or stick them in AUTOEXEC.BAT
Assuming everything is in the same directory:
SETUPDS /S
set BLASTER=A220 I5 D1 T4
VIAUDIO.COM
loadhigh VIAFMTSR.COM
VIAFMTSR.COM /U
Notice that I didn't run DSDMA. This is the crucial step with the YMF card. If you run DSDMA, the Yamaha will not allow the VIA chip to handle SB PCM audio.
The other crucial step is VIAFMTSR /U. This TSR has to be loaded to enable VIA's SB compatibility, but this TSR also emulates the FM synth in software. If you unload it, PCM continues to work. I haven't done extensive testing, but so far it's working in DOOM, Wing Commander, Wing Commander 2, and Wing Commander Academy.