Beep Sound Efffects...

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Lprogster
Member
Member
Posts: 174
Joined: Tue Nov 14, 2006 11:59 am

Post by Lprogster »

Cool to see you back, Dex. Should help with the pro to noob ratio. :wink:
User avatar
JAAman
Member
Member
Posts: 879
Joined: Wed Oct 27, 2004 11:00 pm
Location: WA

Post by JAAman »

1 good resource for information on many standardisd and semi-standardized things, is intels hardware site (they reorganized the website since i made my bookmarks, so mine dont work, so no links to it)

including full documentation on AC97
So far I have only found the "OS Dever Cottontail" page which has an archived copy of "Audio Codec '97 Revision 2.3" by Intel.
or you can find the current version on the intel website (sorry again, no links, since all mine stopped working)

i recommend searching the intel site (try starting at developer.intel.com) as a bonus, intel site will contain complete information for implementing it on their specific implementations
User avatar
inflater
Member
Member
Posts: 1309
Joined: Thu Sep 28, 2006 10:32 am
Location: Slovakia
Contact:

Post by inflater »

Lprogster wrote:Does Qemu emulate a sound card? If so, would and AC97 driver work with that?
The Win32 0.9.0 binary emulates FM synthesis (adlib), Ensoniq Soundscape and SB16. You willn't find AC97 in there (unless somebody has done his own version with ac97, but thats uncommon).

inflater
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English :P)
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Post by Dex »

See here: http://www-inst.eecs.berkeley.edu/~cs15 ... 97_r23.pdf
Also if your vendor is Intel your OK, but VIA seem to be the problem.
First you need to test for Vendor + device ID
So write a PCI device/vendor find function, once you have found that you have the right device, you can use the offset from the returned address of your "device/vendor find function" to get info and by setting bits you can do differant things.
The above pdf will give you what these offset are and what happans when you change bits.
This will help you a lot, done by a follow "Team DexOS" member jeff leyda
http://www.programmersheaven.com/downlo ... nload.aspx
Its a Dos wav player, that come with full asm source code, and abuilt in ac97 driver.

Also try search for a pdf for you particular device.
Post Reply