Page 1 of 1

sound question

Posted: Mon Oct 28, 2013 3:32 pm
by macgub
sound question.
Hi all.
I have a question. How ac97snd generates sound? Througt mpu port? I think rather not, (it offers only 1 byte data width ). I saw sources, but I can't find this. So if not throght mpu port, so how? Other words witch system function suport audio codec. Internal speaker :D :?:
Thanks for answer.

Re: sound question

Posted: Mon Oct 28, 2013 4:20 pm
by hidnplayr
There is a sound system called 'infinity.obj'.
This service works with the driver 'sound.obj' (Well, the current sound.obj is not a real driver, instead it's a service which detect available pci sound cards, and loads the actual driver)

Image

Re: sound question

Posted: Tue Oct 29, 2013 11:50 am
by macgub
So for if I want write a sound app I must use driver, not system function (interrupt).
Thanks a lot.

Re: sound question

Posted: Tue Oct 29, 2013 12:07 pm
by hidnplayr
You'll need to use system functions 68, 16 and 68, 17 to load and work with infinity.obj

Re: sound question

Posted: Tue Oct 29, 2013 11:08 pm
by Asper
New game landing can be used as an example of asm application that outputs sound.

Re: sound question

Posted: Tue Nov 05, 2013 10:35 am
by macgub
Thanks all for help.