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
Cryptus



Joined: 19 Oct 2004
Posts: 8
Location: Germany
Cryptus
Hi Ashley4,

thanks for your answer.

I did test your test program both under plain M$DOS and FreeDOS as stated before, but I couldn't test it directly by booting from floppy with your bootloader, because my notebook has a bay to swap floppy / cdrom drive, so I can only use either one...

To be precise, the CD started spinning (LED on) after the second pressing of "P" - and there was no sound whatever, no pop, no speakers reaction. "S"( Stop) does stop spinning, and Open does work too.
Post 20 Oct 2004, 18:48
View user's profile Send private message Reply with quote
ASHLEY4



Joined: 28 Apr 2004
Posts: 376
Location: UK
ASHLEY4
Its the driver that does not work with your vendor, the ac97 codec is the same, but the way into it is different for different vendors.
I have had a look for info on your vendor, but can not find any thing.
If you can find info on your vendors ac97, let me know and i will have a go at making it work.
Even a linux driver in C, will do, but must be the full code not just the ac97.c, which is the same for all the drivers and i have that.

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



Joined: 04 Sep 2004
Posts: 1171
Location: Overflow
Matrix
HELLO ASHLEY4

have you got a working code to interface a PCI bus?
i'm making a PCI card and i'm currently on searching one.
Post 21 Oct 2004, 09:07
View user's profile Send private message Visit poster's website Reply with quote
ASHLEY4



Joined: 28 Apr 2004
Posts: 376
Location: UK
ASHLEY4


Description:
Download
Filename: pci.asm
Filesize: 17.85 KB
Downloaded: 319 Time(s)

Post 21 Oct 2004, 15:06
View user's profile Send private message Reply with quote
Matrix



Joined: 04 Sep 2004
Posts: 1171
Location: Overflow
Matrix
Smile
Thank you ASHLEY4
i'll read all

ps.: i really hate that copyright about PCI,
why can't everyone have a copy free?
Post 21 Oct 2004, 15:13
View user's profile Send private message Visit poster's website Reply with quote
ASHLEY4



Joined: 28 Apr 2004
Posts: 376
Location: UK
ASHLEY4
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
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: 418 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
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
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
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
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
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
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
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
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
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
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
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: 112
profkid13
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
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-2020, Tomasz Grysztar.

Powered by rwasa.