home *** CD-ROM | disk | FTP | other *** search
/ Complete Bookshop / CompleteWorkshop.iso / compute / mpuirq / mpuirq.doc next >
Encoding:
Text File  |  1989-05-04  |  5.6 KB  |  121 lines

  1. May 3, 1989
  2.  
  3. Having just been named the victor after a long and nasty battle with my Roland
  4. MPU-IPC interface, I thought I would share the spoils with those of you who
  5. might find yourselves in similar straits.
  6.  
  7. I have an IBM AT with a '386 motherboard, for which I purchased a factory-stock
  8. Roland MPU-IPC interface.  I then went out and purchased sequencing software
  9. and guess what?  The sequencer wouldn't work.  After some investigation, I
  10. discovered that the MPU is hard-wired to use IRQ2, which is not available on
  11. my machine because it's being used by other hardware.  Unfortunately, the guy
  12. who sold me the interface wouldn't take it back (I had it longer than 60 days),
  13. so buying an MPU clone with a switchable IRQ (like a Music Quest unit, for
  14. example) was now out of my financial reach.  And of course the sequencing
  15. program was also "hard-wired" (if that term makes sense for software?) to use
  16. IRQ2 because the MPU uses it, and software is non-returnable from the git-go.
  17. So it was that I found myself with $500.00 worth of useless computer hardware
  18. and software.  Does this story sound familiar?    I hope not, but if it does,
  19. roll up you sleeves & dig in, 'cause heres what you need to do...
  20.  
  21. HOW TO CHANGE THE IRQ ON YOUR ROLAND MPU INTERFACE CARD:
  22. I know, I know, the guy you called at Roland told you you're just plain out of
  23. luck, right?  That's what they told me, too.  That's the thanks I get for
  24. buying from the big guys, I guess.  Anyway, get your MPU card and lay it down
  25. on the table.  You should see a section that looks something like this:
  26.  
  27.  
  28.  
  29.   +-----------------+
  30.   | Roland        |
  31.   | (this chip is   |           I/O ADDRESS
  32.   | (upside-down)   |          +-----------+
  33.   +-----------------+          |o o o o o o|
  34.                   |       |
  35.                   |o o o o o o|
  36.                   |o o o o o o|
  37.                   +-----------+
  38.   +----------+
  39.   |Japan 8625| +-----+
  40.   |         | |     |           IRQ
  41.   |         | |     |          +-----------+
  42.   +----------+ |     |          |o o o o o o|
  43.            |     |          ||      |
  44.   MPU-IPC      |     |          ||      |
  45.            |     |          |o o o o o o|
  46.   ASSY NO xxx  |     |          +-----------+
  47.            +-----+           ^     ^
  48.                    |     |
  49.                    IRQ2  IRQ5
  50.  
  51.  
  52. By the way, you won't see the "IRQ2" or "IRQ5" labels on the board, they're
  53. only on this diagram.  Ok, take a look at the IRQ section.  Notice how there's
  54. a solder trace which connects the top hole to the bottom hole above IRQ2?  Take
  55. a razor blade or a hobby knife or whatever and cut through the solder trace
  56. until it will no longer carry a current (don't be afraid, the board is worthless
  57. to you at this point anyway or else you wouldn't be reading this, right?).
  58. Now that you've broken the IRQ2 connection, you need to pick the IRQ you want
  59. to use.  I'm working out of my head right now, but I'm pretty sure this what
  60. each IRQ is assigned to:
  61.  
  62. IRQ2    Cascade from IRQ's 8-15
  63. IRQ3    COM2
  64. IRQ4    COM1
  65. IRQ5    LPT3
  66. IRQ6    LPT2
  67. IRQ7    LPT1
  68.  
  69. IRQ5 is probably yor best bet, but whichever IRQ you pick, just make sure it
  70. doesn't interfere with another piece of hardware in your system.  For example,
  71. most mouse cards (Microsoft BusMouse, for example) default to IRQ5.  If you
  72. make a bad choice the first time, don't worry; you can fool around until you
  73. get it right.  Now, to make the new IRQ connection, you just need to connect
  74. the top hole to the bottom hole for whichever IRQ you decided on.  I cut a
  75. piece of the copper center wire from my Cable TV hookup and bent it into a
  76. "U" shape; it's exactly the right size and you don't have to solder it in,
  77. which means I can now change the IRQ any time I need to.  It ain't a DIP
  78. switch, but it works just fine.  If you're as much of a pack rat as I am,
  79. you've probably got something similar down in the basement.
  80.  
  81. That's it, you're done!
  82.  
  83.  
  84. HOW TO CHANGE THE IRQ ON YOUR SOFTWARE:
  85. Ok, this part's a piece of cake.  You should find a program along with this
  86. document called "MPUIRQ.EXE".  This is a memory-resident program that keeps
  87. an eye on IRQ2.  When you start up the program, you tell it the IRQ that your
  88. modified MPU card will be using.  When another program (like a sequencer or a
  89. patch librarian) hooks into IRQ2 to use the MPU card, MPUIRQ.EXE will chain
  90. IRQ2 to the IRQ that you've specified, and life will (should!) be beautiful.
  91. By the way, this should work for MPU clones that have DIP switches as well,
  92. which means that you can now use that neat ShareWare SysEx patch librarian
  93. or patch editor that only wants to use IRQ2.  Ain't software grand?  Here are
  94. some examples of how to use MPUIRQ.EXE:
  95.  
  96. mpuirq 5  - Tells all MPU software to use IRQ5
  97. mpuirq 6  - Tells all MPU software to use IRQ6
  98. mpuirq      - If MPUIRQ.EXE is already in memory, it will be removed from
  99.         memory.  If not, you'll get directions for using it.
  100.  
  101. NOTE:    If MPUIRQ cannot remove itself from memory (because another program
  102.     like SideKick has chained itself onto MPUIRQ) you'll see a message
  103.     to that effect.
  104.  
  105.  
  106. So, there you have it.    If you have any problems using MPUIRQ.EXE on your
  107. system, give me a call.  If I've got the time, I'll see if I can modify the
  108. software to do what you need it to.  Otherwise, I'll give you the source code
  109. ('C' and assembler) and you can do it yourself.  You can reach me at:
  110.  
  111. Mike Dailor
  112. 204 Ellicott St.
  113. Rochester, NY 14619
  114. (716) 235-1894
  115.  
  116. One last note: if you find this document and software helpful & have any more
  117. comments or code of a similar nature to share, PLEASE PLEASE PLEASE make them
  118. available to the public!  Add them into this .ARC file, make your own .ARC or
  119. just post a Mail Message to 'All' on your favorite BBS; we need all the help
  120. we can get out here in the MIDI jungle.  Good Luck!
  121.