Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Sound Blaster Pro Test IRQ autodetect-how it wrks,IRQ sharing (Developers)

posted by RayeR Homepage, CZ, 10.01.2024, 05:28
(edited by RayeR on 11.01.2024, 15:00)

> Get "PC Underground in PDF format" from
> https://www.phatcode.net/articles.php?id=225 and read pages 323 and 324.
> There is described how to detect SB base port and IRQ, but not DMA.

Thanks, I never did DOS sound programming but I got the idea. I also downloaded the book CD archive where are full pascal sources for sb lib and sample player. It's better to start debug something with sources. I just tried it run and they didn't work.

VOCDEMO.EXE - with autodetection it hangs, I can hear a pop at the start, when forced commandline options it ended with Pass no. 1, Runtime Error 005. It displayed that SB and mixer detected so I guess IRQ problem.

MOD386.EXE - misdetected IRQ to 10 instead of 7. When forced to 7 it ended with Runtime Error 103. It displayed that SB and mixer detected so I guess IRQ problem.

SFXPRO.EXE - started playing but no sound, doesn't support manual setup.

I tried some other demos from BONUS directory with 50% success rate. Even one demo that has sound setup and I properly set the resources didn't work - failed with SB detection.

UPDATE: I found some bugs in VOCPLAY library so it seems not be good sample to use...

---
DOS gives me freedom to unlimited HW access.

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 127 users online (0 registered, 127 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum