The NEW Build Your Own Arcade Controls

Software Support => DOS/WinCab => Topic started by: sdrob04 on June 05, 2014, 01:18:59 am

Title: sound card setup in DOS
Post by: sdrob04 on June 05, 2014, 01:18:59 am
Hey all,

I'm trying to setup a dedicated pc for multi-vector use, and to that end have a generic box running DOS 6.22 and a Sound Blaster CT4810 sound card.  I've followed much of the advice from this forum, the EasyMameCab site (where I obtained the SBPCI drivers), and Al's ZVG Vector Mame cabinet video series on YouTube.  I have eliminated all startup errors from my autoexec.bat, verified that the sound card is indeed recognized and initialized, but I still don't get sound. 

What I do get (upon launching a game and selecting '1. Sound Blaster') is a page full of what appear to be memory errors, as the first line reads 'Exiting due to signal SIGFPE', followed by 'Division by Zero at eip=002e7a3d,' etc.  The last line reads 'Call frame traceback EIPs:  0x002e7a3d' (image attached).

Any ideas what this error suggests?  If I select '0. Silence', all games run fine.  Something about trying to invoke the sound card during play causes the error.  Would appreciate any thoughts as to where I should focus my efforts next...
Title: Re: sound card setup in DOS
Post by: elkameleon on August 15, 2014, 05:10:46 pm
I recently built a DOS pc for mame, I had issues getting the sound to work, but all I did was change a value in one line of the autoexec.bat file. Look for the line that looks like this:
Code: [Select]
SET BLASTER=A220 I5 D1 H6 P330 T3
That last variable, was T4, I changed it to T3 and my sound worked! That variable tells the system what type of card you are using, I believe T3 is "soundblaster 2.0 compatible".

EDIT: this is the site that helped me the most:
http://dosmame.mameworld.info/Setting_Up_DOS_Soundcards (http://dosmame.mameworld.info/Setting_Up_DOS_Soundcards)