Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

8088 MPH: We Break All Your Emulators (Miscellaneous)

posted by RayeR Homepage, CZ, 29.06.2015, 18:54

Supporting Covox needs different sound programming approach than real soundcard. 1st to say that I never programmed SB or any other sound system myself so my knowledges about it are limited. But in simple - if you have soundcard, it usually use some DMA for playback so you just fill the buffer in RAM and let it play. Once buffer is played by 1/2 you got an interrupt that is catched by your ISR and that refills the played half of buffer while SB plays from 2/2. So you don't need to take care of every single sample to be played at exactly right time. If you play via covox, you need to setup timer on high speed matching the sample frequency and then timer ISR will push every single sample to LPT from buffer. so the programmer needs to take care of programming SB and covox code separately that means more work. And probably covox is not used much nowdays so nobody cares...

---
DOS gives me freedom to unlimited HW access.

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 237 users online (0 registered, 237 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum