Page 1 of 1

DOS TTDPatch (r2366) no sound DOSBox

Posted: 28 Mar 2013 13:24
by WWTBAM
I am getting no sound in DOSBox using the mentioned nightly. I do get sound without the patch. I don't remember there being any switches for turning music off. Should I forward this to the DOSBox people?

Re: DOS TTDPatch (r2366) no sound DOSBox

Posted: 29 Mar 2013 08:38
by OzTrans
roboboy wrote:I am getting no sound in DOSBox using the mentioned nightly. I do get sound without the patch. I don't remember there being any switches for turning music off. Should I forward this to the DOSBox people?
Thre are many sound settings in DOSBox (see dosbox.conf). You just need to experiment a bit.

I believe, I asked before, but why don't you just use TTDPatch for Windows and do away with DOSBox ?

Re: DOS TTDPatch (r2366) no sound DOSBox

Posted: 29 Mar 2013 17:05
by WWTBAM
What I am asking about is the fact that TTD without the patch has music but with the patch it doesn't, I haven't changed any sound config settings anywhere in between launching with and without the patch.

Because I like playing with it and it is more portable. When I play TTDP on my laptop I do normaly use the windows version.

Re: DOS TTDPatch (r2366) no sound DOSBox

Posted: 23 Aug 2013 06:27
by eis_os
Notice: if you enable win2k for the dos version certain interrupt handler are disabled so NTVDM on 32Bit NT machines can start TTD Dos. This may influence sound (disabling) and mouse behaviour.

http://projects.tt-forums.net/projects/ ... sions/2039

Re: DOS TTDPatch (r2366) no sound DOSBox

Posted: 23 Aug 2013 06:59
by WWTBAM
Aha. Thanks for that eis_os. I will add it to a FAQ somewhere :)

Re: DOS TTDPatch (r2366) no sound DOSBox

Posted: 23 Aug 2013 09:26
by WWTBAM
Would it be wise based on research to disable win2k in the DOS version if the DOS version reported by the "get version" interrupt returns 8? 8 is what XP+ return but is also the version returned by ME so maybe some research into reported minor versions would be in order.

Re: DOS TTDPatch (r2366) no sound DOSBox

Posted: 23 Aug 2013 19:04
by orudge
NTVDM emulates DOS version 5, I thought. 95 is 7.0, 98 is 7.1, Me is 8.0, from memory.

Re: DOS TTDPatch (r2366) no sound DOSBox

Posted: 25 Aug 2013 10:55
by eis_os
Well, you can disable the patch, it was a good way to do a short dos version test to see if TTD Dos actually run (not really helpful on 64bit OS anyway)

Re: DOS TTDPatch (r2366) no sound DOSBox

Posted: 26 Aug 2013 11:28
by WWTBAM
eis_os wrote:Well, you can disable the patch, it was a good way to do a short dos version test to see if TTD Dos actually run (not really helpful on 64bit OS anyway)
I personally for the challenge while I am learning x86 ASM would like to work out a good way of auto disabling the patch under DOS or a DOS based Windows Version.
orudge wrote:NTVDM emulates DOS version 5, I thought. 95 is 7.0, 98 is 7.1, Me is 8.0, from memory.
I will have to check that for XP as NT 3.1 to 2000 I have read definitely report/emulate version 5. The DOS boot files that XP puts on a bootable floppy however are version 8. I know there are two interrupts for detecting if Windows is running from DOS, one for 3.x and earlier and one for 95 (to presumably ME) I plan to combine that check with the DOS version check.

Re: DOS TTDPatch (r2366) no sound DOSBox

Posted: 06 Sep 2013 09:01
by orudge
roboboy wrote:I will have to check that for XP as NT 3.1 to 2000 I have read definitely report/emulate version 5. The DOS boot files that XP puts on a bootable floppy however are version 8. I know there are two interrupts for detecting if Windows is running from DOS, one for 3.x and earlier and one for 95 (to presumably ME) I plan to combine that check with the DOS version check.
The DOS that Windows uses for boot disks is different to the DOS emulated by NTVDM.

Been a while since I used a 32-bit version of Windows anyway!

Re: DOS TTDPatch (r2366) no sound DOSBox

Posted: 06 Sep 2013 09:13
by WWTBAM
Long time since I used 32 bit on my main machine as well. I wasn't sure about that, so that clears that up. Shouldn't be too difficult to knock up a quick program (in asm or quick basic) to check the values and print them.