中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-09-16 12:08
47,812 topics / 349,917 posts / today 0 new / 48,268 members
DOS媒体世界 & 网络技术 (多媒体室) » There will be no drivers for AC97 sound cards under DOS, only players or libraries.
Printable Version  5,212 / 3
Floor1 winson4829 Posted 2009-05-12 09:26
初级用户 Posts 17 Credits 68
AC97 sound cards under DOS will not have drivers~~~ Only players or AC97 chip libraries (C/C++ library) will exist (you need to develop a playback program yourself using the library)

Many people are looking for AC97 or HD (Realtek, Intel ICH, VIA...) DOS driver programs~~ I can clearly answer that, except when the chip provides SB (Sound Blaster card) compatible mode, there will be no drivers. What exists will only be players or AC97 chip libraries

Among the above-mentioned chips supporting the AC97 standard, only VIA686B provides SB compatible mode. If your motherboard uses this chipset, congratulations, you can set it as follows according to the following settings, and almost all DOS games can have sound:

1. First, in the BIOS settings, there must be a leagcy sound setting, set to enable (there will be related options for IRQ and I/O PORT to set)

2. Find the AC97 driver of VIA686B (VIAUDIO.COM and VIAFMTSR.COM)

3. Set the following in autoexec.bat
SET BLASTER=A220 I5 D1 T2
LH VIAUDIO.COM
LH VIAFMTSR.COM <-- This line is optional


For other AC97 chips~~~ there will be no drivers, the reason is

The support of PURE DOS games absolutely only supports SB compatible or ESS AudioDrive (may or may not be), because in the DOS era, there was no AC97 standard

The SB standard Control I/O is assumed to be 0x220, all control codes will be sent to this port address. If the motherboard has no compatible SB controller to process at this address, there will be no action at all.

So playback programs like MPXPLAY under DOS. If they support AC97 or HD audio chips, they must directly control the audio chip to make sound, vSyncMAME and MPXPLAY are all like this.

This is the DOS AC97 MP3 playback program I wrote http://www.cn-dos.net/forum/viewthread.php?tid=43606&fpage=1 which also directly controls the chip to make sound

Conclusion

a. AC97/HD will definitely not have DOS drivers (except for VIA686B chipset)

b. Pure DOS games (non-MAME) will also not have support for AC97 or HD

c. Only through direct control of AC97 or HD audio chips, to write players or libraries (C/C++ library)

So~~ don't look for driver programs anymore
Floor2 stockghost Posted 2009-05-12 11:24
中级用户 Posts 105 Credits 215
Thanks to the LZ for clarifying, please provide the download address of the C/C++ library or related ones.
Floor3 ACW Posted 2009-05-12 15:08
超级用户 Posts 26 Credits 171
Below is the AC97 Controller driver for DOS, which is in TSR mode, but not in SB compatible mode, but defines a new (according to the author, very simple and easy to use) API:

http://www.georgpotthast.de/dossound/

This driver was just released last month. There is a DOSAMP program in it that can play WAV files. If the poster is interested, they can use this API to write an MP3 player.
Floor4 stockghost Posted 2009-05-13 09:19
中级用户 Posts 105 Credits 215
Thanks to the upstairs for providing!
Can only play WAV files in the foreground and background, but it can also meet some simple applications.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023