VOGONS


First post, by Great Hierophant

User metadata
Rank l33t
Rank
l33t

I have a Roland MPU-401 installed in a Windows 98SE system, and I cannot seem to receive anything on the device's MIDI IN port. I am using MIDI-OX to send system exclusive messages to obtain the contents of the various memory areas via request to send system exclusive messages. This sysex command will tell the MT-32 or CM-32L to send the contents of its timbre memory to the computer :

F0 41 10 16 11 08 00 00 01 00 00 77 F7

With a Sound Blaster Live! and Gameport/MIDI cable, I am able to successfully receive all the bytes (17K) and see them in MIDI-OX's Monitor windows. It also works with a Sound Blaster 16's MIDI port, at least the CM-32L works.

My MPU-401 breakout box is in immaculate shape, as is my MIF-IPC-A interface card and the cable ties pins 13 & 25 together. The MPU-401 works perfectly with games and is installed correctly in Windows 98SE. When I send the command the MT-32 and CM-32L flash their MIDI Message light for several seconds, but not a byte appears in MIDI OX. This problem is not exclusive to MIDI OX either, as two different DOS programs (MIDI and MIDIex) also will not display any bytes from the MIDI IN port, and they require a true MPU-401! All the Input monitor will display is Active Sensing and the FE byte.

I tried delving into the MPU-401 Manual, and the only helpful bit of information I could find is command $96 and $97, Exclusive to Host (Off/On). If I read the manual correctly, the MPU-401 will not send system exclusive messages received from the MIDI IN port to the computer by defualt, so command $97 should be sent to the MPU-401's Command/Data port.

Weirdly, acting on a suggestion, if I connect the MIDI IN of my MPU-401 to my MIDI Thru of the CM-32L, I can see all the MIDI played by a song, including the system exclusive messages for the patch data transmitted before the song starts. If my MPU-401's MIDI IN port can see this data, then its probably not broken.

I'd post this at Quest Studios, but that forum's a bit "mellow" lately. Any advice would be appreciated. I hope I don't have a dead MIDI IN port on my MPU-401.

http://nerdlypleasures.blogspot.com/ - Nerdly Pleasures - My Retro Gaming, Computing & Tech Blog

Reply 2 of 10, by Great Hierophant

User metadata
Rank l33t
Rank
l33t

Yes, I have swapped cables, and no, I don't know of any other driver for the Roland MPU-401 other than the one provided by Microsoft. However, as the issue also seems to appear in DOS, I don't think its a driver issue.

http://nerdlypleasures.blogspot.com/ - Nerdly Pleasures - My Retro Gaming, Computing & Tech Blog

Reply 3 of 10, by Great Hierophant

User metadata
Rank l33t
Rank
l33t

I tried the following debug commands :
- i 331
BF
- o 331 97
- i 330
FE
-q

That should allow Exclusive to Host, but it doesn't make any difference.

http://nerdlypleasures.blogspot.com/ - Nerdly Pleasures - My Retro Gaming, Computing & Tech Blog

Reply 4 of 10, by keropi

User metadata
Rank l33t++
Rank
l33t++

well, if the same happens to DOS then it's a hardware problem I guess... maybe you can check with a multimeter the continuity of the DB25 cable and visually inspect the unit inside for any fault... can't think of anything else atm 😐

btw there are at least 2 more drivers, the patched one from GSPanel and the Cakewalk one, both are multi-clients that allow more than one program to access the mpu.

🎵 🎧 MK1869, PCMIDI MPU , OrpheusII , Action Rewind , Megacard and 🎶GoldLib soundcard website

Reply 5 of 10, by Great Hierophant

User metadata
Rank l33t
Rank
l33t
keropi wrote:

well, if the same happens to DOS then it's a hardware problem I guess... maybe you can check with a multimeter the continuity of the DB25 cable and visually inspect the unit inside for any fault... can't think of anything else atm 😐

btw there are at least 2 more drivers, the patched one from GSPanel and the Cakewalk one, both are multi-clients that allow more than one program to access the mpu.

The port is not completely dead at least.

If I connect the MIDI OUT of my SB Live! in my Windows 98 machine to the MIDI In of the MPU-401 and then connect the MIDI OUT of the MPU-401 to the MIDI IN of the MT-32, the (non-sysex) data will pass to the MT-32. This is how the LAPC-I's synthesizer source is connected to its MPU-401 interface, and how you would send data to the card from an external source.

http://nerdlypleasures.blogspot.com/ - Nerdly Pleasures - My Retro Gaming, Computing & Tech Blog

Reply 6 of 10, by bristlehog

User metadata
Rank Oldbie
Rank
Oldbie

PeterLI has several MPU-401 boxes he got for his ongoing project. Try borrowing one from him to rule out the port failure?

Here you can get fantastic wallpapers created by a friend of mine: patreon.com/Unpocodrillo

Reply 7 of 10, by Great Hierophant

User metadata
Rank l33t
Rank
l33t

I made sure in each of my systems that IRQ2 was not in use, disabling AHCI in my Windows 98 machine.

I used a DOS program called MIDI Data Filer, which can poll data as well as use the MPU interrupt. When receiving data, it did NOT work with IRQ2, as I expected, but it did work CORRECTLY with the polling mode. I tried it on both an MT-32 and FB-01, sent the dumped data back and did not see any errors on their LCD screens.

So the problem with my MPU-401 is definitely related to the IRQ, and since I have no conflicts, I suspect that either the transistor inside the MPU-401 on the IRQ line is not working that goes from the LSI QFP chip to the connector.

Otherwise it could be the '04 on the interface card, but I think that less likely since it also drives the reset line. Most likely the DTC124 transistor in the MPU-401 needs replacement.

http://nerdlypleasures.blogspot.com/ - Nerdly Pleasures - My Retro Gaming, Computing & Tech Blog

Reply 8 of 10, by Great Hierophant

User metadata
Rank l33t
Rank
l33t

With considerable help from my friend Cloudschatze, I determined that the problem was the 74LS04 on my MIF-IPC-A. I removed the chip and replaced it and now things are working. The MIDI Data Filer program works with the IRQ mode (set it to IRQ9) and the polling mode after I modified the card. NewRisingSun sent me an MPU-401 IRQ test program, and where before it stated no MPU IRQ received, it now says MPU IRQ on IRQ9.

I tried It Came from the Desert, which didn't work previously with the MT-32, and now it does. This game does rely on MPU-401 IRQs.

http://nerdlypleasures.blogspot.com/ - Nerdly Pleasures - My Retro Gaming, Computing & Tech Blog

Reply 10 of 10, by Great Hierophant

User metadata
Rank l33t
Rank
l33t

My work will not win Best Soldering of the Year. However, it just goes to show that even with a card and a package that came to me in great shape, there may still some subtle flaw that will impair the functionality without causing total failure.

I hope that PeterLI and the other guy making the MIF-IPC-A clone include IRQ functionality in their testing.

http://nerdlypleasures.blogspot.com/ - Nerdly Pleasures - My Retro Gaming, Computing & Tech Blog