HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Software Newsgroups > Windows Vista

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 11-13-2007, 11:49 PM
RetroMIDI
 
Posts: n/a
Default CMD.EXE MIDI port $330/$331 mapped to internal synth

Old software running under CMD.EXE uses midiports such as $330/$331 or
$310/#311 to output MIDI.

Problem is Vista has automatically mapped ONLY $330 to the internal
Synth.

How can I change this and map ports to external MIDI devices?

Reply With Quote
Sponsored Links
Fix your Windows Problems - FAST.
FREE Safe Scan Registry Check. Locate & Fix Errors in Minutes!
  #2  
Old 11-14-2007, 10:25 PM
Andrew McLaren
 
Posts: n/a
Default Re: CMD.EXE MIDI port $330/$331 mapped to internal synth

"RetroMIDI" <murray.r.3@gmail.com> wrote in message
news:1195001394.246293.17680@q5g2000prf.googlegrou ps.com...
> Old software running under CMD.EXE uses midiports such as $330/$331 or
> $310/#311 to output MIDI.
> Problem is Vista has automatically mapped ONLY $330 to the internal
> Synth.
> How can I change this and map ports to external MIDI devices?



Hi Murray

For DOS apps, I think this is controlled by NTVDM.EXE.

Starting with XP, the NTVDM emulates a Sound Blaster 2.0 sound card,
complete with emulated MPU-401 at 330. The physical PC hardware doesn't
really have a MIDI port at 330. But when you run a 16-bit DOS application,
it doesn't see the "real" physical hardware; instead the DOS app sees the
emulated hardware enabled by the NTVDM.

The configuration of the emulated sound card is controlled by the BLASTER
environmental variable, just the same as on a real MS-DOS PC with a Sound
Blaster card. On XP and Vista, the variable is defined in
C:\Windows\System32\AUTOEXEC.NT; by default it is:

SET BLASTER=A220 I5 D1 P330 T

I'm not sure exactly what you'll need to change, but I suspect that tweaking
this variable in AUTOEXEC.NT will be your best shot at changing the MIDI
locations in NTVDM.

Of course this only applies to 16-bit DOS and Windows applications. The
BLASTER variable and emulated Sound Blaster card have no effect whatever on
Win32 applications. These will plug in directly to Windows' own multimedia
facilities (such as Winmm.dll). Win32 applications would connect to a MIDI
port using the Win32 Multimedia and MCI APIs, functions such as
midiconnect().

Hope it helps,

--
Andrew McLaren
amclar (at) optusnet dot com dot au


Reply With Quote
Sponsored Links
Fix your Windows Problems - FAST.
FREE Safe Scan Registry Check. Locate & Fix Errors in Minutes!
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
MIDI MAPPER David Webber Windows Vista 1 09-14-2007 09:58 AM
Midi Volume? (SW Synth) Jamie-M Windows XP 1 07-03-2007 09:19 PM
USB hard drive won't work on a USB 2 port but will on a USB 1.1 port.Why? Gary Schnabl Windows Vista 0 05-24-2007 08:29 AM
newbie question: got a 4-port usb pci card with one internal usb port octa8on Homebuilt PC 4 05-15-2007 08:39 PM
MIDI playback redskyformiles Windows XP 3 05-07-2007 10:31 PM


All times are GMT. The time now is 04:31 PM.


Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger