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-08-01 07:52
中国DOS联盟论坛 » DOS媒体世界 & 网络技术 (多媒体室) » There will be no drivers for AC97 sound cards under DOS, only players or libraries. DigestI View 4,998 Replies 3
Original Poster Posted 2009-05-12 09:26 ·  中国 台湾 高雄市 中华电信
初级用户
Credits 68
Posts 17
Joined 2008-03-02 14:38
18-year member
UID 111866
Gender Male
Status Offline
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
Floor 2 Posted 2009-05-12 11:24 ·  中国 海南 海口 电信
中级用户
★★
Credits 215
Posts 105
Joined 2007-06-02 22:33
19-year member
UID 90083
Gender Male
Status Offline
Thanks to the LZ for clarifying, please provide the download address of the C/C++ library or related ones.
Floor 3 Posted 2009-05-12 15:08 ·  加拿大 Primus
超级用户
Credits 171
Posts 26
Joined 2002-10-14 00:00
23-year member
UID 12
Status Offline
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.
Floor 4 Posted 2009-05-13 09:19 ·  中国 海南 海口 电信
中级用户
★★
Credits 215
Posts 105
Joined 2007-06-02 22:33
19-year member
UID 90083
Gender Male
Status Offline
Thanks to the upstairs for providing!
Can only play WAV files in the foreground and background, but it can also meet some simple applications.
Forum Jump: