From: Rune Fr|ysa (runefr@ifi.uio.no)
Date: 01/03/93


From: runefr@ifi.uio.no (Rune Fr|ysa)
Subject: Accessing IRQ/IO instructions under Linux.
Date: Sun, 3 Jan 1993 21:09:18 GMT


Hello.

Since Linux is (fortunately) running under protected mode, I have
some difficulties determining how to use my MPU-401 MIDI interface.
Under DOS, i would redirect IRQ 3 (or 9, or .. have forgot the
number) to an interrupt routine of my own.
Well, I can get my program work without this IRQ help, but I also
need access to port 330h and 331h. In DOS, a simple IO instuction
would be sufficient, but in Linux, I guess that I have to tell the
kernel to do this.

BTW: The program is in GCC.

Thanks for any help.

-Rune