7 Replies Latest reply on Dec 11, 2008 10:36 PM by tahomavlz

    VMWare 6 - Windows 3.11 and DOS with midi sound?

    vmsconnell Novice

      Hello folks, this topic seems to have been almost hashed to death so I thought would would throw in my experience.  Adding sound to a DOS/Windows 3.11 emulation is fairly straight forward.

       

      #1. First download the SB16 driver from one of the following sites (additional tips may be found as well):

      http://www.scampers.org/steve/vmware/index.htm#sound

      http://vmware0.tripod.com/index.htm;

       

      #2. Add this unzipped driver to an .iso file (and have it mount with your emulation);

       

      #3. Edit your .vmx file with the following changes:

       

      sound.present = "TRUE"

      Sound.VirtualDev = "sb16"

      sound.fileName = "SigmaTel Audio"    <-- NOTE THIS IS SPECIFICALLY FOR

      sound.autodetect = "FALSE"               <-- MY FUJITSU LIFEBOOK. YOU MAY

      sound.baseAddr = "0x220"                       USE AUTODETECT.

      sound.dma16 = "7"

      sound.dma8 ="1"

      sound.irq = "5"

      sound.mpu401baseAddr = "0x330"

      sound.Opl3BaseAddr = "0x388"

       

      #4. Boot to DOS, go to the CD-ROM (ISO image) - of course, I am assuming you are using device=aoatapi.sys (file found in above link) for your cdrom driver;

       

      #5. Go to the Sound Blaster folder and run the DOS install. Use the default settings. If you did everything correctly, you should not encounter a "Wrong Base I/O" error message. This installer will modify your autoexec.bat and the Windows 3.11 win.ini and system.ini files. After a successful installation and reboot, both DOS and Windows applications will have sound.

       

      The only problem I have is that I do not have MIDI sound.  Is MIDI even supported by VMWARE 6 emulation?

       

      Any comments or suggestions about getting MIDI to work?

       

      Thanks,

      SDC

       

      P.S. I only did this because I wanted to run an old Windows 3.11 game that came with a book by Scott Flansburg called "The Human Calculator."  Unfortunately, despite my efforts, I cannot make this (poorly written) game work in VMWARE DOS or DOSBOX.

        • 1. Re: VMWare 6 - Windows 3.11 and DOS with midi sound?
          Belfry Lurker

          Same problem here.  XP Host with VMWare Server 1.0.3, MS-DOS 7.1 guest, Megamid 1.66 to test midi sound.  I can play wav's and mp3's but no midi.  From my .vmx:

           

          sound.present = "TRUE"

          sound.startConnected = "TRUE"

          sound.virtualDev = "sb16"

          sound.fileName = "-1"

          sound.autodetect = "TRUE"

          sound.synth.operational = "TRUE"

           

          autoexec.bat:

          set blaster=a220 i5 d1 h7 p330 t6

           

          Just interested to see if I could get DOS midi functions out of VMWare. Anyone with success on this?

          • 2. Re: VMWare 6 - Windows 3.11 and DOS with midi sound?
            Yuske Lurker

            I added those "sound." configs you said on my .vmx but SB16's install won't recognize... any idea?

             

            my sound config is like this right now:

            sound.present = "TRUE"

            sound.fileName = "-1"

            sound.autodetect = "TRUE"

            sound.baseAddr = "0x220"

            sound.dma16 = "7"

            sound.dma8 = "1"

            sound.irq = "5"

            sound.mpu401baseAddr = "0x330"

            sound.Opl3BaseAddr = "0x388"

             

            (edit)

            I just checked those links you posted. I downloaded those same packages, only through torrent instead of http... and I'm going to test now something I've read there: I need to put the sound.virtualDev = "sb16" config in there...

             

            (2nd edit)

            nope... my sound config is like this now, but SB16 install still shows "Wrong base i/o address or audio card is not detected at 220H." error message...

             

            sound.present = "TRUE"

            sound.virtualDev = "es1371"

            sound.fileName = "-1"

            sound.autodetect = "TRUE"

            sound.baseAddr = "0x220"

            sound.dma16 = "7"

            sound.dma8 = "1"

            sound.irq = "5"

            sound.mpu401baseAddr = "0x330"

            sound.Opl3BaseAddr = "0x388"

             

            (3rd edit)

            I feel so stupid... I just noticed that it saved with a different virtualDev setting. I changed it to sb16 and it worked =) finishing install!

             

            Message was edited by:

                    Yuske

            • 3. Re: VMWare 6 - Windows 3.11 and DOS with midi sound?
              Jacko55 Lurker

              SDC,

               

              Thanks for your detailed instructions to enable sound in Win3.11.

              However they don't work for me.

              The problem seems to be the statement

              Sound.VirtualDev = "sb16"

              which causes both Player 2 and WS 6 to crash completely.

              Were you using version 2 and 6 in your tests?

               

              I note too that WfW won't work in the latest releases (installs OK but no mouse pointer) - perhaps the same is true of SB emulation.

               

              Thanks.

              • 4. Re: VMWare 6 - Windows 3.11 and DOS with midi sound?
                Master

                The problem seems to be the statement

                Sound.VirtualDev = "sb16"

                which causes both Player 2 and WS 6 to crash

                completely.

                Were you using version 2 and 6 in your tests?

                 

                What's your host OS?  What's the crash message, and can you post logs?  Does your host have a multichannel sound card?

                • 5. Re: VMWare 6 - Windows 3.11 and DOS with midi sound?
                  Jacko55 Lurker

                  "What's your host OS?"

                  XP SP2 fully patched.

                  "What's the crash message, and can you post logs?"

                   

                  1. First message from VMWare

                   

                  VMware Player unrecoverable error: (vmx)

                  Exception 0xc0000005 (access violation) has occurred.

                  A log file is available in "L:\My Virtual Machines\Windows 3.1\vmware.log".  A core file is available in "C:\Documents and Settings\John\Application Data\VMware\vmware-vmx-3584.dmp".  Please request support and include the contents of the log file and core file. 

                  To collect files to submit to VMware support, run "vm-support.vbs".

                  We will respond on the basis of your support entitlement.

                   

                  2. Then the Microsoft message:

                   

                  VMware Workstation VMX has encountered a problem and needs to close.  We are sorry for the inconvenience.

                   

                  Please tell Microsoft about this problem.

                   

                  AppName: vmware-vmx.exe      AppVer: 6.0.0.45731      ModName: vmware-vmx.exe

                  ModVer: 6.0.0.45731      Offset: 00189efc

                   

                  3. Then a final VMWare offering

                   

                  Error while powering on: Cannot find a valid peer process to connect to

                   

                  No log file is produced.

                   

                  "Does your host have a multichannel sound card?"

                  Yes, SIGMATEL STAC 9227 onboard (DELL 9200 PC).

                   

                  I didn't want  to submit files since I'm only on evaluation versions ... but if you can find the problem that would be terrific.

                   

                  Full vmx file

                   

                  config.version = "8"

                  virtualHW.version = "6"

                  scsi0.present = "TRUE"

                  memsize = "16"

                  ide0:0.present = "TRUE"

                  ide0:0.fileName = "Windows 3.1-000002.vmdk"

                  ide1:0.present = "TRUE"

                  ide1:0.fileName = "auto detect"

                  ide1:0.deviceType = "cdrom-raw"

                  floppy0.autodetect = "TRUE"

                  ethernet0.present = "TRUE"

                  ethernet0.wakeOnPcktRcv = "FALSE"

                  sound.present = "TRUE"

                  sound.virtualDev = "sb16" 

                  sound.fileName = "-1"

                  sound.autodetect = "TRUE"

                  sound.baseAddr = "0x220"

                  sound.dma16 = "7"

                  sound.dma8 ="1"

                  sound.irq = "5"

                  sound.mpu401baseAddr = "0x330"

                  sound.Opl3BaseAddr = "0x388"

                  svga.autodetect = "TRUE"

                  pciBridge0.present = "TRUE"

                  mks.keyboardFilter = "allow"

                  displayName = "Windows 3.1"

                  guestOS = "win31"

                  nvram = "Windows 3.1.nvram"

                  deploymentPlatform = "windows"

                  virtualHW.productCompatibility = "hosted"

                  tools.upgrade.policy = "useGlobal"

                   

                  ide1:0.autodetect = "TRUE"

                  floppy0.fileName = "A:"

                  sound.deviceNr = "-1"

                  sound.device = "/dev/dsp"

                  isolation.tools.hgfs.disable = "TRUE"

                   

                  ethernet0.addressType = "generated"

                  uuid.location = "56 4d 20 0e d6 52 29 96-fa d9 18 27 bd 1f a1 d7"

                  uuid.bios = "56 4d 20 0e d6 52 29 96-fa d9 18 27 bd 1f a1 d7"

                  ide0:0.redo = ""

                  pciBridge0.pciSlotNumber = "17"

                  scsi0.pciSlotNumber = "16"

                  ethernet0.pciSlotNumber = "32"

                  sound.pciSlotNumber = "33"

                  ethernet0.generatedAddress = "00:0c:29:1f:a1:d7"

                  ethernet0.generatedAddressOffset = "0"

                   

                  extendedConfigFile = "Windows 3.1.vmxf"

                   

                  tools.remindInstall = "TRUE"

                   

                  checkpoint.vmState.readOnly = "FALSE"

                  checkpoint.vmState = ""

                  • 6. Re: VMWare 6 - Windows 3.11 and DOS with midi sound?
                    Jacko55 Lurker

                    Checking my Application Event Log I see repeated groups of 6 error messages from vmauthd when XP starts up (I switch partitions regularly).

                     

                    The first five are all the same:

                    Call to listen failed with error 10013.

                    and the last is:

                    Failed to create event for listen socket: Overlapped I/O operation is in progress (997).

                     

                    It looks like these began after I installed Player 2 about 10 days ago ... yep, thats right - a few minutes after the date of C:/Program Files/Vmware/Vmware Player - presumably the mandatory restart after driver install.

                     

                    JFJ

                    • 7. Re: VMWare 6 - Windows 3.11 and DOS with midi sound?
                      tahomavlz Lurker

                      I have the same crash with sound.virtualDev = "sb16" 

                      Also, tried es1371 driver but it don't load..

                      Is it possible at all to setup DOS sound in VMWare?

                      I'm now using MS Virtual PC but it is slow and buggy VirtualBox is even slower..