VOGONS


First post, by Great Hierophant

User metadata
Rank l33t
Rank
l33t

In the past couple of months, I have twice compiled my own version of DOSBox from the vanilla source. Since I am hardly an expert, I used this guide :

http://www.dosbox.com/wiki/Building_DOSBox_wi … _C_2008_Express

I don't remember the r number of the first time, since it was back in November, but in March I used r3823.

I did everything that the instructions told me to do, yet each time I have done it, I get stuttering sound with Adlib music. The stuttering is s partially dependent on emulated machine cycles. With 5000 cycles, it sounds really severe, but with 3000 its not perfect but there is less stuttering. This seems to happen regardless of game used.

My first attempt to compile a DOSBox executable with these instructions was much earlier in 2012, and I was sufficiently ambitious to include the CGA Composite Color patch. I did not notice any issues with Adlib then.

I have attached the old binary from May and my current binary of this month. Can anyone tell me if I have done something wrong, or does that tutorial need some kind of update?

Last edited by Great Hierophant on 2013-03-29, 23:45. Edited 1 time in total.

http://nerdlypleasures.blogspot.com/ - Nerdly Pleasures - My Retro Gaming, Computing & Tech Blog

Reply 1 of 3, by bloodbat

User metadata
Rank Oldbie
Rank
Oldbie

I *tried* to run your DosBox...yet...here's what I got. Dependency Walker produces the same error, but I did see you need MSVCRT90D.dll.
Are you compiling a Debug version?

Reply 2 of 3, by VileR

User metadata
Rank l33t
Rank
l33t

What I can tell is that your build is using a lot more CPU than normal (for me it's 40% at 3000 cycles just idling at the prompt), so stuttering is probably related to that.
The executable is also quite a bit larger than the older one, so are you sure you didn't do anything different besides updating the source?

[ WEB ] - [ BLOG ] - [ TUBE ] - [ CODE ]

Reply 3 of 3, by Great Hierophant

User metadata
Rank l33t
Rank
l33t
bloodbat wrote:

I *tried* to run your DosBox...yet...here's what I got. Dependency Walker produces the same error, but I did see you need MSVCRT90D.dll.
Are you compiling a Debug version?

It turns out that I was, which is why the executable was 1MB larger than the old executable. I misinterpreted the last step of the instructions three times before I finally got it right. I have posted the non-stuttering executable I built, using the latest SVN available. Thanks for all your help!

http://nerdlypleasures.blogspot.com/ - Nerdly Pleasures - My Retro Gaming, Computing & Tech Blog