Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > CMD.EXE MIDI port $330/$331 mapped to internal synth

Reply
Thread Tools Display Modes

CMD.EXE MIDI port $330/$331 mapped to internal synth

 
 
RetroMIDI
Guest
Posts: n/a

 
      11-13-2007
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
 
 
 
 
Andrew McLaren
Guest
Posts: n/a

 
      11-14-2007
"RetroMIDI" <> wrote in message
news: 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
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does Microsoft have an alternate port to port 25 for sending email MDB Windows Vista Mail 1 02-02-2008 06:22 AM
How to connect External Synthesizer with 2 pin DIN plugs for MIDI-IN & MIDI-OUT P. Jayant Windows Vista Hardware 1 01-14-2008 10:44 AM
MIDI synth dev Windows Vista General Discussion 2 02-27-2007 05:25 PM
MIDI synth dev Windows Vista Installation 0 10-23-2006 02:43 AM
Anyone got speech recognition and synth working with RC1? John Lorenzen Windows Vista Hardware 5 10-10-2006 01:16 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59