Sound card autodetection for the DOS version...

General area for talk about ZSNES. The best place to ask for related questions as well as troubleshooting.

Moderator: ZSNES Mods

Post Reply
Medox
Rookie
Posts: 10
Joined: Tue Jun 10, 2008 3:04 pm
Location: Jamaica

Sound card autodetection for the DOS version...

Post by Medox »

Hello all,

Maybe a crazy/stupid idea but would it be possible to make the dos version of zsnes to autodetect the (compatible) sound card/driver like mpxplay does?

It would be a great add-on that autodetects the old sound cards without all that set blaster stuff or the right drivers for the card and if the sound card isn't supported it would just disable the sound...
[url=http://www.youtube.com/watch?v=h4ip5R3rWlw][img]http://i79.photobucket.com/albums/j142/Medox2006/DMUB.png[/img][/url]
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

Sorry, we're not supporting the DOS version anymore. Anyone feeling like it can take up the challenge, though. Source's available, as usual.
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Medox
Rookie
Posts: 10
Joined: Tue Jun 10, 2008 3:04 pm
Location: Jamaica

Post by Medox »

grinvader wrote:Sorry, we're not supporting the DOS version anymore. Anyone feeling like it can take up the challenge, though. Source's available, as usual.
Yes, I know... I already tried to contact mpxplay's developer but no response... :| so I've came here to get some answers.

So would it be possible? I think so... but I'm not really an expert in doing things like this... if somebody already had this idea or wants to make this last feature for the dos version, it would be great :)

Isn't there any app for dos that autodetects the old soundcards? I've already searched everything up but nothing... only mpxplay and it's source but it's complicated... :? Suce an app would be great for every dos app... (oldschool, I know :))
[url=http://www.youtube.com/watch?v=h4ip5R3rWlw][img]http://i79.photobucket.com/albums/j142/Medox2006/DMUB.png[/img][/url]
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

First of all, anything involving DOS sound is something that the user should know something about. It isn't really the developer that has to figure this stuff out.

The best you can do is force 8-bit sound if you have a sound card that is properly set up in DOS. There's no other way around this.

In your poor example, the app has built in special hardware detection, which won't account for every hardware in existance. That's not universal like DirectSound is for audio output in Windows.
Last edited by Deathlike2 on Thu Sep 04, 2008 9:17 pm, edited 1 time in total.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
Gil_Hamilton
Buzzkill Gil
Posts: 4295
Joined: Wed Jan 12, 2005 7:14 pm

Post by Gil_Hamilton »

DOS sound card detection was always pretty hit and miss.

Everything that included an autodetect feature back in the day ALSO included an "If this crashes your system, then..." warning and an option to key your data in manually, because... well, it crashed a lot of systems and often got things wrong when it didn't crash them.
Medox
Rookie
Posts: 10
Joined: Tue Jun 10, 2008 3:04 pm
Location: Jamaica

Post by Medox »

ok, I just wanted to be sure that it's really a hit and miss... (like I saw for quite some time)

Thanks for the responses.
[url=http://www.youtube.com/watch?v=h4ip5R3rWlw][img]http://i79.photobucket.com/albums/j142/Medox2006/DMUB.png[/img][/url]
Post Reply