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
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



or post a new thread, and then you should be able to upload. Thank you for your research!
