Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Digital CD Audio in DOS games via modified VSBHDA and SHSUCD (Announce)

posted by Zyzzle, 29.04.2026, 01:30

>
> But if you indeed meant using a dual buffer approach for the CD image path,
> I guess that would involve doing file (i.e. image file) reads from shsucdhd
> while the game is running, and then putting that in XMS on the fly. I will
> keep this in mind..
>
This is what I meant. Doing reads from shsuchd on the fly while game is running, as opposed to loading the entire image into memory at once and allocating the full 768 mb of XMS

> My concern is that when I run my current version of shsucdhd + shsucdx +
> vsbhda in an 86box VM (allotted 2 gb RAM), even then it runs slowly, which
> may be a problem. Certainly the dual buffer approach would be a bit heavier
> on the CPU since it's using less memory. What do you think?
There may be some slight additional CPU usage, but the read rate is constant: 176 kb per sec as 16 bit / 44.1 Khz PCM audio. The memory allocated, whether it's 2-4 MB XMS or 768 XMS will not change the constant read rate of the .wav track. But, you'll just be reading several "chunks" of the audio via a revolving "endless tape" XMS buffer instead of reading it all at once. I think the extra CPU load wouldn't be more than about 5% extra, at the most, even on a slower system.

 

Complete thread:

Back to the forum
Board view  Mix view
23449 Postings in 2213 Threads, 407 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum