China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-25 16:57
中国DOS联盟论坛 » DOS媒体世界 & 网络技术 (多媒体室) » Great progress has been made in the compilation of the general AC97 driver, but it needs the help of experts familiar with the driver to make a little more effort View 2,021 Replies 12
Original Poster Posted 2004-09-05 00:00 ·  中国 内蒙古 呼和浩特 移动
中级用户
Credits 258
Posts 49
Joined 2004-08-29 00:00
21-year member
UID 30951
Gender Male
Status Offline
My machine is realtek ac97, which is actually Intel ICH4 AC97. The universal driver is successfully compiled, and when running, it displays:
Select the audio device:
0. Eternal Silence
1. Sound Blaster
2. Chipset integrated AC97 (no init, for Win9x DosBox. AT YOUR OWN RISK!)
3. Chipset integrated AC97 (for Pure DOS)
4. Ultrasound Max
5. Ultrasound
6. Windows Sound System
7. Ensoniq Soundscape
8. ESS Audiodrive
9. Sound Blaster Pro (for WDM SBPro device, -novsync & RDTSC required)
I select 3, and then it displays:
Intel_ICH: Intel ICH4 integrated AC97 audio found.
Intel_ICH: PCI BASE0 at I/O 0e000
Intel_ICH: PCI BASE1 at I/O 0e400
This fully shows that: the driver program can detect the sound card. The problem is: this driver was originally designed for mame. When starting mame, the driver is started, and when closing mame, the driver is closed. So the execution process of this driver is: first detect the sound card, then load the driver, and then exit. That is to say, when this program ends, the driver is not loaded. However, DOS is a single-task system, and I can't listen to MP3 while this thing is running. So I need to ask experts how to modify the source code to make the driver resident in memory.
I don't know how to upload files. Those interested can leave an email. Here are the source code, the compiled driver, and the compilation environment
Floor 2 Posted 2004-09-05 00:00 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
Click the top left to post a topic, there are uploaded ones, to make the driver stay in memory, use DEVICE= in CONFIG.SYS

However, I have a Diamond motherboard, INTEL 815EP, the integrated sound card is INTEL ICH2/ICH2-M AC97
Floor 3 Posted 2004-09-05 00:00 ·  美国
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
You can see the upload button when you click "Reply" (not "Quick Reply" or post a new thread, and then you should be able to upload. Thank you for your research!
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 4 Posted 2004-09-05 00:00 ·  中国 台湾 远传电信
元老会员
★★★★★
Credits 8,312
Posts 3,551
Joined 2003-03-22 00:00
23-year member
UID 1225
Gender Male
Status Offline
Well, please upload the source code... Let me take a look...
MSN:tiqit2@hotmail.com
Floor 5 Posted 2004-09-06 00:00 ·  中国 湖北 武汉 教育网
中级用户
Credits 258
Posts 49
Joined 2004-08-29 00:00
21-year member
UID 30951
Gender Male
Status Offline
Hello everyone, ask a simple question, after browsing the file, should I click "Upload" or "Post Topic"? What does "File type is incorrect 1500K " mean?
Floor 6 Posted 2004-09-06 00:00 ·  中国 湖北 武汉 教育网
中级用户
Credits 258
Posts 49
Joined 2004-08-29 00:00
21-year member
UID 30951
Gender Male
Status Offline
Just now I wrote over a thousand words, forgot to log in, and everything was in vain. I really don't have the courage to rewrite it. Let's talk about the important points. If you have questions, ask me: Enter http://vsynchmame.mameworld.net, there is enable_via686_sbpro.zip in the top left corner. The wss.c inside has been modified to drive all AC97. The six files at the bottom combined are the author's original compilation environment djgpp.
Floor 7 Posted 2004-09-07 00:00 ·  美国
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
"File type is incorrect" means that certain extensions (such as.EXE) cannot be used for uploading. Please compress the file with ZIP or RAR and then upload it. This will not only reduce the file size but also make downloading easier. Also: Of course, AC97 can be driven after modification, but it's mainly about how to modify it. Not long ago, the forum had a function to automatically copy posts to the clipboard, but it was canceled at the request of some netizens (because of some side effects). So please pay attention to the posting status before posting, or back up the post content yourself with Ctrl+A and Ctrl+C. This way, there will be no problem of losing the post content if there is an error in posting.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 8 Posted 2004-09-07 00:00 ·  中国 湖北 武汉 教育网
中级用户
Credits 258
Posts 49
Joined 2004-08-29 00:00
21-year member
UID 30951
Gender Male
Status Offline
Everyone, have you all gone to download it? Come here to communicate. Everyone, pay attention to that main function. There is a for via686 at the bottom. If (w_sound_device_init(26, 48000) == FALSE), change 24 to 26, and it can drive Intel series AC97 (including Realtek, ICH4, etc.). If you don't know which type of AC97 it is, just change 24 to 3. Everyone, experiment more and study more. I'm really quite tired alone. I often encounter problems and can't find communication.
Floor 9 Posted 2004-09-07 00:00 ·  美国
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
The version of vsmame that I had downloaded a long time ago, but due to time constraints, I didn't study it much. Still, I'll upload your modified version for everyone to take a look at and try. I've already detailed the uploading method above.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 10 Posted 2006-05-23 17:44 ·  中国 广东 湛江 电信
新手上路
Credits 4
Posts 2
Joined 2006-05-23 15:12
20-year member
UID 55862
Gender Male
Status Offline
Floor 11 Posted 2006-05-24 10:07 ·  中国 广东 汕头 电信
初级用户
Credits 60
Posts 20
Joined 2006-05-22 15:20
20-year member
UID 55793
Gender Male
From 神秘的小岛
Status Offline
I want to know where I can download the general AC97 driver you mentioned! If possible, my email is djliu0465@tom.com, can you send an attachment to me?
Floor 12 Posted 2006-05-24 10:08 ·  中国 广东 汕头 电信
初级用户
Credits 60
Posts 20
Joined 2006-05-22 15:20
20-year member
UID 55793
Gender Male
From 神秘的小岛
Status Offline
Can you explain what MAME means?
Floor 13 Posted 2006-08-15 11:01 ·  中国 吉林 四平 联通
高级用户
★★★
Credits 859
Posts 413
Joined 2006-08-14 21:55
19-year member
UID 60532
Status Offline
Forum Jump: