Sound blaster and wave files
Posted: Sat Aug 20, 2011 3:26 pm
I am developing an OS in assembly that have to play musics using soundblaster, but it doesn't uses file system.
The idea is make a executable (.com) in windows that will burn the raw sound part of an selected wave file in the OS's disk image, and create an index to it, so that OS can load the sound from here and play it using soundblaster.
The question is that i didn't find any REAL explanation of how to play sounds on soundblaster using assembly language, all that i found were explanations of how the soundblaster works, but i need to now how to MAKE it work.
Other question is the wave files, the only thing i found is an article explaining it's structure, but it doesn't explain how the sound in the wave found must be played.
I found an article that have a program in assembly that plays wave file in soundblaster, in the link
http://muruganad.com/8086/8086-Assembly ... -File.html, but there are two included files that i didn't find, so it's incomplete.
I need some example or tutorial of how to play wave files using a pure assembly program.
And a little question: is the Soundblaster the most compatible sound card?
The idea is make a executable (.com) in windows that will burn the raw sound part of an selected wave file in the OS's disk image, and create an index to it, so that OS can load the sound from here and play it using soundblaster.
The question is that i didn't find any REAL explanation of how to play sounds on soundblaster using assembly language, all that i found were explanations of how the soundblaster works, but i need to now how to MAKE it work.
Other question is the wave files, the only thing i found is an article explaining it's structure, but it doesn't explain how the sound in the wave found must be played.
I found an article that have a program in assembly that plays wave file in soundblaster, in the link
http://muruganad.com/8086/8086-Assembly ... -File.html, but there are two included files that i didn't find, so it's incomplete.
I need some example or tutorial of how to play wave files using a pure assembly program.
And a little question: is the Soundblaster the most compatible sound card?