vogons - very old games on new systems Last Visit : never :: 2010-8-01 @ 01:52 am : Now
?FAQ sSearch mMemberlist uUsergroups
rRegister pProfile "Messages lLog in
View posts : unanswered
Forum Index :: VDMSound Development ::
up Win9x + VDMSound **ALPHA**
Reply with quote Win9x + VDMSound **ALPHA** :: 2002-12-16 @ 05:13 am
vladr
Old-timer
[avatar]
Joined: 2002-06-30
Posts: 889
Location: Montréal, QC, CAN
Chris has finished school (I think), so here goes. Seems to work more or less fine on Win98 in VmWare, so it should also work on a "real" Win98.

To install:

1) Very important - get VCREDIST.EXE from http://telia.dl.sourceforge.net/sourcef...redist.exe (mirror at http://umn.dl.sourceforge.net/sourcefor...redist.exe) and install it. It should ask you to reboot when it's done.

2) Get the Win9x'd VDMSound (attached to this post) and unzip it in what will end up being the VDMSound directory (e.g. C:\VDMSOUND), then run INSTALL.BAT (registration of "VDMConfig.dll" should succeed, if not repeat step 1 above, reboot and try INSTALL.BAT again).

3) Edit AUTOEXEC.BAT as indicated during INSTALL.BAT (to make the VDMSPATH environment variable point to the installation folder) and restart Windows.

To use:

1) Go to the VDMSound installation directory (e.g. "cd C:\VDMSOUND").

2) Run DOSDRV.BAT ; ignore the error about the "Tip of the day". Do report any *other* errors.

3) Change directory to where the game is and run the game/application. VDMSound settings are port 220, IRQ 7, DMA 1. All virtualized, so it doesn't matter what values your soundcard actually has physyically, *always* use the values above.

NOTE: before running DOSDRV.BAT a second time (even in a different DOS box!) you should run VXDSBOOM.EXE first to completely unload VDMSound.

Cheers,
V.

NOTE: Jez jas complied the files updated since the original release along with the Win9x Alpha into a single zip. You will find that updated version here.


Last edited by vladr on 2008-3-28 @ 05:08 pm; edited 2 times in total
VDMSound.win9x.src.alpha1.zip (344.6kB) - Downloaded 764 Time(s)

VDMSound.win9x.src.alpha2.zip (344.62kB) - Downloaded 666 Time(s)

VDMSound.win9x.bin.alpha3.zip (336.12kB) - Downloaded 976 Time(s)

Post new topicReply to topic
Offline
Reply with quote :: 2002-12-16 @ 06:40 am
Nicht Sehr Gut
l33t
[avatar]
Joined: 2002-06-30
Posts: 3630
Congratulations to Vlad and Chris. I had the honor of the being the first downloader.

Of course, I figure it's only a matter of hours before we see numerous posts:

Where's the GUI?
This is more complicated than the other one...etc...

Heh.
Post new topicReply to topic
Offline
Reply with quote :: 2002-12-16 @ 02:26 pm
vladr
Old-timer
[avatar]
Joined: 2002-06-30
Posts: 889
Location: Montréal, QC, CAN
It's alpha, for God's sake, stop bitching about the GUI! Wink
All the credit should go to Chris for this one, my input to this was minimal (the adaptations to VDMSound were trivial, the bulk of the work was the VxD).

Cheers,
V.
Post new topicReply to topic
Offline
Reply with quote :: 2002-12-16 @ 03:53 pm
Nicht Sehr Gut
l33t
[avatar]
Joined: 2002-06-30
Posts: 3630
Quote:
Originally posted by vladr [B]It's alpha, for God's sake, stop bitching about the GUI! Wink
There you go Vlad, now we have a ready cut-and-paste response. Heh.
Post new topicReply to topic
Offline
Reply with quote :: 2002-12-16 @ 06:13 pm
Z_God
Newbie
no avatar
Joined: 2002-12-16
Posts: 15
Works for me too in VMware in Linux with 98 FE. It runs really slow for me though, the sound is skipping alot, but that is probably VMware and not VDMs9x.

Has anyone tried it in 95 yet?

Edit: Just tried it in 95 in Win4lin:

After clicking on install.bat I get the following error from RegSvr32:
LoadLibrary("VDMConfig.dll") failed. GetLastError returns 0x0000001f.
When loading vxdinit I get a VDD Error:
Failed to load configuration library (VDMConfig.DLL).

Last error reported by Windows:
(translated from dutch) 0x0000001f - A device connected to the system, doesn't work.

Please make sure that VDMConfig.DLL is in the current directory or that its location is in the PATH, and that it is a valid image.

The Win4lin sound drivers suck though, they might be causing the problem.

I also found out I had set the wrong vdmspath in 98 at first. Somehow it seems to work 50% of the time without that path set correctly.


Last edited by Z_God on 2002-12-16 @ 07:43 pm; edited 1 time in total
Post new topicReply to topic
Offline
Reply with quote :: 2002-12-16 @ 09:46 pm
vladr
Old-timer
[avatar]
Joined: 2002-06-30
Posts: 889
Location: Montréal, QC, CAN
For Win95: you need the latest DLL's from vcredist.exe. If you did install them then get DEPENDS from http://ntvdm.cjb.net/files/redist/ and open the DLL in DEPENDS to see what the issue may be.

Cheers,
V.
Post new topicReply to topic
Offline
Reply with quote :: 2002-12-16 @ 11:17 pm
Snover
WHAT WHAT IN THE BUTT?!
[avatar]
Joined: 2002-06-30
Posts: 5199
Location: You are likely to be eaten by a grue.
Hey, Vlad, where's the GUI? Happy (I'm gonna drive this one into the ground. UNIFICATION!)

_________________
Colin Snover
Zetafleet Web Development

Believe it or not, we have posting guidelines always.
Post new topicReply to topic
Offline
Reply with quote :: 2002-12-18 @ 04:48 am
Nicht Sehr Gut
l33t
[avatar]
Joined: 2002-06-30
Posts: 3630
Quote:
Originally posted by Snover [B]UNIFICATION!)
For the NT version I presume. Th Win9x version is just barely there. But yes, the NT version needs to be "unified", too many people downloading a piece here and there and wondering why it won't work.

The Gui needs to be standard, we're starting to see more and more Win9x "orphans" showing up who need it.
Post new topicReply to topic
Offline
Reply with quote :: 2002-12-18 @ 01:53 pm
Marauder
Newbie
no avatar
Joined: 2002-11-13
Posts: 18
It works! I've been using SB Live before and it has pretty bad 8Mb E-MU Wavesynth. Now I loaded a 32Mb soundfont and fired up System Shock and I'm getting better music than ever. Vlad and Chris are my heroes Happy

But it's Alpha allright, it has crashed my machine(total freeze) four times, never while playing but after exiting from the game or after closing the dos window.
Post new topicReply to topic
Hidden
Reply with quote :: 2002-12-18 @ 06:27 pm
jez
Member
[avatar]
Joined: 2002-09-24
Posts: 151
Vlad & Chris...

Great work Happy I've had mixed results though... although MadTV1 does have *some* sound, it doesn't have other parts of the sound, and the sound tends to hang. I'm wondering if it's relying on a SET BLASTER line in autoexec.bat. What exactly is this version of VDMsound emulating? SB? MIDI? Adlib? Could you give us the other ports, like the MIDI port, which it uses?

Also, are these ports fixed because it's an alpha, and they're just the defaults, or will they always have to be these values, because it's a limitation of the VxD?

Thanx.

_________________
== Jez ==
Post new topicReply to topic
Offline
Reply with quote :: 2002-12-18 @ 07:28 pm
jez
Member
[avatar]
Joined: 2002-09-24
Posts: 151
Apparently it was relying on the SET BLASTER variable Happy Put 'SET BLASTER=A220 I7 D1 H5 P330' in autoexec.bat and the sound works perfectly, _and the mouse works_!!!!! Great! Had to guess at what the low and high DMA, and the MIDI port was though. If that's being emulated at all yet?

_________________
== Jez ==
Post new topicReply to topic
Offline
Reply with quote :: 2002-12-18 @ 07:30 pm
jez
Member
[avatar]
Joined: 2002-09-24
Posts: 151
Sorry for multiple posts...

Emulation of sound for MadTV1 was perfect. However, with Detroit (by Sierra), it locked up very quickly if I told it to use the Sound Blaster with 220/7/1. Telling to use Adlib was more successful, although it locked up after about 5 minutes. A few teething troubles? Happy

_________________
== Jez ==
Post new topicReply to topic
Offline
Reply with quote :: 2002-12-18 @ 09:25 pm
Nicht Sehr Gut
l33t
[avatar]
Joined: 2002-06-30
Posts: 3630
Quote:
Originally posted by jez [B]A few teething troubles?
Well as an Alpha, you should expect that, but have you confirmed that it will run consistently without VDMSound?
Post new topicReply to topic
Offline
Reply with quote :: 2002-12-18 @ 09:36 pm
jez
Member
[avatar]
Joined: 2002-09-24
Posts: 151
<I>have you confirmed that it will run consistently without VDMSound?</I>

I have, and not only that, but it runs consistently from WindowsXP's VDMsound.

_________________
== Jez ==
Post new topicReply to topic
Offline
Reply with quote :: 2002-12-18 @ 09:38 pm
DosFreak
Freaky Ram Thing
[avatar]
Joined: 2002-06-30
Posts: 7362
Location: Your Head
Haven't had time to look at the Alpha but does this ver have a logging function?

_________________
Game Acronym List
DosBox CVS Builds
DosBox Wish List
DosBox FAQ
PC Game Compatibility List
DOSBox Video Tutorial
Quote:
I am the Milkman. My milk is delicious
Post new topicReply to topic
Online
Reply with quote :: 2002-12-19 @ 05:08 am
Nicht Sehr Gut
l33t
[avatar]
Joined: 2002-06-30
Posts: 3630
*sigh*

This is with an AS40GT Motherboard with a Philips "Acoustic Edge" Soundcard (PSC706)

VXDSLOAD caused an invalid page fault in
module <unknown> at 0000:00000009.
Registers:
EAX=00000000 CS=01f7 EIP=00000009 EFLGS=00010206
EBX=836b3000 SS=01ff ESP=0063fe2e EBP=0063ff78
ECX=05000000 DS=01ff ESI=81b7dc68 FS=4947
EDX=00000000 ES=01ff EDI=00000000 GS=0000
Bytes at CS:EIP:
00 40 06 65 04 70 00 65 04 70 00 54 ff 00 f0 28
Stack dump:
000001ff 004010fc 00000000 b5600040 0000bff8 dc680000 000081b7 78560053 6f6c7364 45006461 00004558 00000000 00000000 00000000 00000000 00000000

Bombs out right after vxds1.exe is run and the message is typed out.
Post new topicReply to topic
Offline
Reply with quote *** UPDATE *** :: 2002-12-19 @ 01:10 pm
vladr
Old-timer
[avatar]
Joined: 2002-06-30
Posts: 889
Location: Montréal, QC, CAN
Have you set VDMSPath properly?

In any case, Chris says:
Quote:

I found a problem where the win32 thread ended up waiting on a semaphore that did not exist. I also found a problem where I was not returning the right thing on exit and caused the vxd to remain loaded. Attached is an updated version of vxdsound.vxd and vxdsound.asm. With this version it seems vxdsound can be loaded successfully 100% of the time (at least on my computer).


See attachment for new version of the vxd.

V.
vxds0002.zip (7.36kB) - Downloaded 3154 Time(s)

Post new topicReply to topic
Offline
Reply with quote :: 2002-12-19 @ 01:12 pm
vladr
Old-timer
[avatar]
Joined: 2002-06-30
Posts: 889
Location: Montréal, QC, CAN
jez wrote:

Apparently it was relying on the SET BLASTER variable Happy Put 'SET BLASTER=A220 I7 D1 H5 P330' in autoexec.bat and the sound works perfectly, _and the mouse works_!!!!! Great! Had to guess at what the low and high DMA, and the MIDI port was though. If that's being emulated at all yet?


The functionality is the same as XP. Actually all emulation DLL's are the same (except that I had to rebuild them as ANSI as opposed to UNICODE for Win9x). The only "different DLL" is VDDLoader.

V.
Post new topicReply to topic
Offline
Reply with quote :: 2002-12-19 @ 01:49 pm
Pege
Newbie
no avatar
Joined: 2002-12-19
Posts: 3
Guys, I could kiss you! Finally I can get my Xcom Apoc's sounds working with my SB Audigy Very Happy

Very nice job!

BTW my first post here, w00t!

_________________
If you're arguing with a stupid guy, make sure he isn't doing the same.
Post new topicReply to topic
Offline
Reply with quote :: 2002-12-19 @ 02:03 pm
Pege
Newbie
no avatar
Joined: 2002-12-19
Posts: 3
Sry for double post, but this forum doesn't allow me to edit my posts...

Does it mess with my original sound card setup if I put "'SET BLASTER=A220 I7 D1 H5 P330" in my Autoexec.bat? And does it allow other games to access my original sound card setup if I don't have the DOSDRV.bat running?

_________________
If you're arguing with a stupid guy, make sure he isn't doing the same.
Post new topicReply to topic
Offline
page 1 of 10
Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
All times are GMT
Moderate
Quick Reply & Options
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Powered by phpBB © 2001-2003 phpBB Group.
vogons and vogons site design and content herein is under a creative commons license 2002-2003 zetafleet.dom.
This site hosts no abandonware. There is no material that is knowingly illegal here.
zetafleet.dom will not be held responsible for users' posts.
This disclaimer is brought to you thanks to the BSA.