flat assembler
Message board for the users of flat assembler.

Index > MenuetOS > PCI AC97 sounddriver for Intel motherboard ICH4

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
ASHLEY4



Joined: 28 Apr 2004
Posts: 376
Location: UK
ASHLEY4 21 Oct 2004, 16:33
So you want to use it for commercial usage in embedded systems ? Cool .
I think the GBA make a good starting point, like this:
http://www.ziegler.desaign.de/GBA/gba.htm

\\\\||////
(@@)
ASHLEY4.
Post 21 Oct 2004, 16:33
View user's profile Send private message Reply with quote
Cryptus



Joined: 19 Oct 2004
Posts: 8
Location: Germany
Cryptus 21 Oct 2004, 17:38
Hi ASHLEY4,

under linux, kernel 2.4.x, my soundcard does work flawlessly with the ALSA driver "snd-intel8x0",
in case you dont have it, I attach the source.

Also I have a quite detailed pdf-File from Intel, 105 pages / 700 kB, titled "Audio Codec '97", Rev. 2.2, September 2000 - would this be helpful or do you have it already?


Description: sources ac97_codec.c and intel8x0.c
Download
Filename: source.zip
Filesize: 25.72 KB
Downloaded: 575 Time(s)

Post 21 Oct 2004, 17:38
View user's profile Send private message Reply with quote
ASHLEY4



Joined: 28 Apr 2004
Posts: 376
Location: UK
ASHLEY4 21 Oct 2004, 23:56
Thanks, It will take me about a week for me to make the code for you to try it, but at first glance it looks the same as for intels.
In the mean time try these other peoples code to see if they work, let me know if they do.
http://www.programmersheaven.com/zone10/cat592/23237.htm

PS: i have the pdf, intel make the best manuals.

\\\\||////
(@@)
ASHLEY4.


Last edited by ASHLEY4 on 19 Dec 2004, 02:38; edited 1 time in total
Post 21 Oct 2004, 23:56
View user's profile Send private message Reply with quote
Cryptus



Joined: 19 Oct 2004
Posts: 8
Location: Germany
Cryptus 22 Oct 2004, 17:35
WOW - SUCCESS !!!!!!!

Hi ASHLEY4,

thanks very much for those codes, I just played an audio CD in DOS on my Notebook with AC97 Audio Codec Smile

ichinit worked out of the box and initialized my ICH3 chipset with "Cirrus Logic CS4299 rev D" codec.
The 23237 player didn't work out of the box, but I changed two source files to make it detect ICH3
(as suggested in the readme file) and recompiled - success!

Together with ichinit (loaded before) (not, if called alone without prior initialization by ichinit!)
the player does play 16bit stereo wav samples (as far as I see, only 44100Hz wav files...)

So I guess you don't have to do the work Smile

Just one last question:
Do you, or any of the other readers, know any other wav- (or maybe even midi-) player software for DOS using the AC97 codec
besides this 23237 player (as I can only play 16bit stereo 44100Hz wav files at the moment) ?

Frank
Post 22 Oct 2004, 17:35
View user's profile Send private message Reply with quote
ASHLEY4



Joined: 28 Apr 2004
Posts: 376
Location: UK
ASHLEY4 22 Oct 2004, 20:03
Hi Cryptus, glad you got it working, the same person that made ichinit, also makes this (MOD/S3M/XM) player with ac97 driver, if thats any help ?.

Not tyred it myself, also when i have time i would be greatfull if you could test my next ver of my ac97 driver to get it to work with your card, i am a bit busy making a floppy driver for my OS.

\\\\||////
(@@)
ASHLEY4.


Last edited by ASHLEY4 on 19 Dec 2004, 02:37; edited 1 time in total
Post 22 Oct 2004, 20:03
View user's profile Send private message Reply with quote
Cryptus



Joined: 19 Oct 2004
Posts: 8
Location: Germany
Cryptus 22 Oct 2004, 21:15
Thanks again ASHLEY4,

going to test the player tomorrow Wink

If you need me for your testing reasons, and I'm not that present in the forum,
don't hesitate to mail me: cryptus[AT]cryptus.de

Frank
Post 22 Oct 2004, 21:15
View user's profile Send private message Reply with quote
ASHLEY4



Joined: 28 Apr 2004
Posts: 376
Location: UK
ASHLEY4 22 Oct 2004, 21:20
Will do Frank Smile.

\\\\||////
(@@)
ASHLEY4.
Post 22 Oct 2004, 21:20
View user's profile Send private message Reply with quote
Cryptus



Joined: 19 Oct 2004
Posts: 8
Location: Germany
Cryptus 23 Oct 2004, 11:59
just tested jp.exe (judas player) - not at all satisfying, as:

under plain M$-DOS it plays (only) mod/s3m/xm-Files with (roughly) about 5-10times of the normal speed (kind of "Donald-Duck-sound"...) regardless of any added options,
and under FreeDOS or DR-DOS it gives a hardware init failure...
(while the 23237-player does work in all tested DOS, but with the limitation of 16bit stereo 44100Hz wav files ...)

So any hints about working players for AC97 codec are still welcome...
Post 23 Oct 2004, 11:59
View user's profile Send private message Reply with quote
ASHLEY4



Joined: 28 Apr 2004
Posts: 376
Location: UK
ASHLEY4 23 Oct 2004, 13:39
You could try here: http://www.micosyen.com/
this is the best dos player i have used, it defaults to SB16, so you need to email the person who made it to see if is interested in adding the ac97 driver.

PS: Y do you want to make things work in dos, are you a dos fan Wink .
Also this would be a great projet.

\\\\||////
(@@)
ASHLEY4.
Post 23 Oct 2004, 13:39
View user's profile Send private message Reply with quote
Cryptus



Joined: 19 Oct 2004
Posts: 8
Location: Germany
Cryptus 23 Oct 2004, 23:51
hmmm, seems to be an mp3-only player? I am more interested in wav/midi, maybe mod too.

As you asked: Actually I am Linux user (in daily life), but interested in DOS too, as I am building multi-bootable CDs with all kinds of OS on, starting from CP/M and DOSPLUS via old and newer PC-/DR-/M$-/Rx-/PTS-/Free-DOS to Linux, but there is also MenuetOS on my latest CDROM Wink
An OS is interesting for my project if its not too big, and bootable from CD Wink

As I have different soundcards in all my PC's, of course I want this bootable CD to be able to play under all OS.... for 'normal' daily mp3 listening I use linux, of course.
Post 23 Oct 2004, 23:51
View user's profile Send private message Reply with quote
ASHLEY4



Joined: 28 Apr 2004
Posts: 376
Location: UK
ASHLEY4 24 Oct 2004, 01:49
The OS I am making is like a 32bit pmode DOS, thats Y its called " Dos Extreme" , it can boot from a floppy or CD.

\\\\||////
(@@)
ASHLEY4.


Last edited by ASHLEY4 on 24 Oct 2004, 14:59; edited 1 time in total
Post 24 Oct 2004, 01:49
View user's profile Send private message Reply with quote
Cryptus



Joined: 19 Oct 2004
Posts: 8
Location: Germany
Cryptus 24 Oct 2004, 14:10
sounds interesting, when you are ready, pls let me try it Wink
Post 24 Oct 2004, 14:10
View user's profile Send private message Reply with quote
ASHLEY4



Joined: 28 Apr 2004
Posts: 376
Location: UK
ASHLEY4 24 Oct 2004, 14:53
Soon as i have finished the pmode floppy driver and done the command line, it will be ready for release, and i will let you know Smile.

PS: it was a bit late last night, i should of put "Dos Extreme" "DEX" for short.

\\\\||////
(@@)
ASHLEY4.
Post 24 Oct 2004, 14:53
View user's profile Send private message Reply with quote
profkid13



Joined: 21 Aug 2003
Posts: 111
profkid13 24 Oct 2004, 14:58
hmm, i'll try to create the driver when i dont have to go to school :p
and i'm gonna test your's on my sisters laptop in a moment :p
Post 24 Oct 2004, 14:58
View user's profile Send private message Reply with quote
ASHLEY4



Joined: 28 Apr 2004
Posts: 376
Location: UK
ASHLEY4 24 Oct 2004, 18:17
I hope you asked her first Wink.

\\\\||////
(@@)
ASHLEY4.
Post 24 Oct 2004, 18:17
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.