|
mrdeadman
中级用户
  
积分 258
发帖 49
注册 2004-8-29
状态 离线
|
『楼 主』:
通用ac97驱动的编译取得重大进展,但需要熟悉驱动的高手稍加
使用 LLM 解释/回答一下
我的机器是realtek ac97,其实也就是intel ich4 ac97. 通用型驱动编译成功,运行时显示
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)
我选3,结果显示
Intel_ICH: Intel ICH4 integrated AC97 audio found.
Intel_ICH: PCI BASE0 at I/O 0e000
Intel_ICH: PCI BASE1 at I/O 0e400
这充分说明:驱动程序是能够发现声卡的,问题在于:这个驱动原本是为mame设计的,启动mame的时候启动驱动,关闭mame是驱动跟着关闭,所以这个驱动的执行过程是:先检测声卡,再加载驱动,然后退出。也就是说,当这个程序运行结束时,并没有加载驱动。然而dos又是单任务系统,我不可能开着这个东西的时候去听mp3。所以要请教一下高手,如何修改这个源程序才能让驱动常驻内存。
我不知怎样上传文件,有意者留下邮箱,这里有源程序,编译后的驱动以及编译环境
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
|
|
2004-9-5 00:00 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
点击左上发表话题,有上传的, 让驱动驻留内存,用在CONFIG.SYS中DEVICE=
不过,我是钻石主板,INTEL 815EP,集成声卡是INTEL ICH2/ICH2-M AC97
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
|
|
2004-9-5 00:00 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
點“回復”(不是“快速回復”)或發新帖時是可以看到上傳按鈕的,這時就應該可以上傳了。謝謝您的研究!
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和雨露,谢谢!)
 |
|
2004-9-5 00:00 |
|
|
Dark-Destroy
元老会员
        
积分 8312
发帖 3551
注册 2003-3-22
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
嗯,請您上傳一下源程序吧...我看看...
Well, please upload the source code... Let me take a look...
|

MSN:tiqit2@hotmail.com
 |
|
2004-9-5 00:00 |
|
|
mrdeadman
中级用户
  
积分 258
发帖 49
注册 2004-8-29
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
大家好,问个菜问题,浏览文件后,点"上传"还是"发表话题"啊
文件类型不正确 1500K 又是什么意思
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?
|
|
2004-9-6 00:00 |
|
|
mrdeadman
中级用户
  
积分 258
发帖 49
注册 2004-8-29
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
刚才写了一千多字,忘了登陆,一切付诸东流,实在提不起勇气重写,选重要的说吧,有问题问我:进http://vsynchmame.mameworld.net,左上角有enable_via686_sbpro.zip,那里边的wss.c经修改后能驱动所有ac97,最下边的六个文件合并起来是作者原版编译环境djgpp。
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.
|
|
2004-9-6 00:00 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
“文件类型不正确”是说不能用某些扩展名(如.EXE)来上传,请将文件用ZIP或RAR压缩一下再上传就应该可以了,这样不仅可以上传的文件体积变小了而且下载也更容易些。另:经过修改后当然时可以驱动AC97的,不过主要是如何修改的问题。不久前论坛是有自动将帖子复制到剪帖板的功能,不过应一些网友的要求取消了(因为有某些副作用),所以发帖前请注意此时的发帖状态,或者自己用Ctrl+A和Ctrl+C将帖子内容备份一下,这样就不会有发帖出错后帖子内容丢失的问题了。
"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和雨露,谢谢!)
 |
|
2004-9-7 00:00 |
|
|
mrdeadman
中级用户
  
积分 258
发帖 49
注册 2004-8-29
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
大家有没有去下载啊,来这里交流一下吧.大家注意一下那个main函数,最下面有个for via686的,if( w_sound_device_init(26, 48000) == FALSE)将24改成26就可以驱动intel系列的ac97(包括realtek , ich4等等),如果你不知道ac97 到底是哪一种,干脆把24改成3, 大家多实验,多研究啊. 我一个人真的弄的挺累.经常遇到问题也找不到交流的
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.
|
|
2004-9-7 00:00 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
vsmame的那个以前早就下过了,不过由于时间关系没多进行研究。还是将你的修改版传上来让大家看看并试试吧,我上面已经详细介绍了上传方法了。
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和雨露,谢谢!)
 |
|
2004-9-7 00:00 |
|
|
bigginer
新手上路

积分 4
发帖 2
注册 2006-5-23
状态 离线
|
|
2006-5-23 17:44 |
|
|
djliu
初级用户
 
积分 60
发帖 20
注册 2006-5-22 来自 神秘的小岛
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
我想知道你们所说的这个通用ac97驱动在那里可以下载!
如果可以的话我的邮箱是 djliu0465@tom.com请发一份附件给我好吗·!
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?
|
|
2006-5-24 10:07 |
|
|
djliu
初级用户
 
积分 60
发帖 20
注册 2006-5-22 来自 神秘的小岛
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
可以不可以说明一下这个MAME是什么意思吗?
Can you explain what MAME means?
|
|
2006-5-24 10:08 |
|
|
anqing
高级用户
   
积分 859
发帖 413
注册 2006-8-14
状态 离线
|
|
2006-8-15 11:01 |
|