AC97 playback program under DOS for .WAV/.MP3, supports Intel ICH? And VIA 868/8233 and some SIS and AMD AC97 chips.
http://upload.cn-dos.net/img/919.zip
The AC97 control of this program is referenced from the WSS.C program, and the MP3 decoder is modified from the almp3 library in the allegro library (www.allegro.cc)
This is what I accepted the commission for, for a game platform exclusive to a certain TV Game company (using Intel 852). The final thing to develop is an AC97 Sound library using djgpp with the allegro library. This playback program is just to verify the function.
When this program is played on an Intel ICH motherboard, it can correctly set the samples rate (44.1K), but on VIA 868/8233, the samples rate cannot be adjusted and can only be played at 48000, which will make the music play faster.
Some people will ask why not write an SB-compatible driver. My answer is impossible. If your motherboard does not provide an SB-compatible mode, it is absolutely impossible to write an SB-compatible driver.
The reason is that the standard Control I/O of SB is assumed to be 0x220, and 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. Also, IRQ/DMA and TSR are all easy to achieve, but.... still no negotiation... If the motherboard does not provide an SB-compatible mode
http://upload.cn-dos.net/img/919.zip
The AC97 control of this program is referenced from the WSS.C program, and the MP3 decoder is modified from the almp3 library in the allegro library (www.allegro.cc)
This is what I accepted the commission for, for a game platform exclusive to a certain TV Game company (using Intel 852). The final thing to develop is an AC97 Sound library using djgpp with the allegro library. This playback program is just to verify the function.
When this program is played on an Intel ICH motherboard, it can correctly set the samples rate (44.1K), but on VIA 868/8233, the samples rate cannot be adjusted and can only be played at 48000, which will make the music play faster.
Some people will ask why not write an SB-compatible driver. My answer is impossible. If your motherboard does not provide an SB-compatible mode, it is absolutely impossible to write an SB-compatible driver.
The reason is that the standard Control I/O of SB is assumed to be 0x220, and 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. Also, IRQ/DMA and TSR are all easy to achieve, but.... still no negotiation... If the motherboard does not provide an SB-compatible mode
Recent Ratings for This Post
( 1 in total)
Click for details
| Rater | Score | Time |
|---|---|---|
| DOSforever | +8 | 2008-10-12 16:20 |
