home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 22568 < prev    next >
Encoding:
Text File  |  1993-01-03  |  980 b   |  32 lines

  1. Nntp-Posting-Host: maud.ifi.uio.no
  2. Newsgroups: comp.os.linux
  3. Path: sparky!uunet!mcsun!sunic!aun.uninett.no!nuug!ifi.uio.no!runefr
  4. From: runefr@ifi.uio.no (Rune Fr|ysa)
  5. Subject: Accessing IRQ/IO instructions under Linux.
  6. Message-ID: <1993Jan3.210918.25893@ifi.uio.no>
  7. Sender: runefr@ifi.uio.no (Rune Fr|ysa)
  8. Organization: Dept. of Informatics, University of Oslo, Norway
  9. Date: Sun, 3 Jan 1993 21:09:18 GMT
  10. Lines: 19
  11. Originator: runefr@maud.ifi.uio.no
  12.  
  13.  
  14. Hello.
  15.  
  16. Since Linux is (fortunately) running under protected mode, I have
  17. some difficulties determining how to use my MPU-401 MIDI interface.
  18. Under DOS, i would redirect IRQ 3 (or 9, or .. have forgot the 
  19. number) to an interrupt routine of my own.
  20. Well, I can get my program work without this IRQ help, but I also
  21. need access to port 330h and 331h. In DOS, a simple IO instuction
  22. would be sufficient, but in Linux, I guess that I have to tell the
  23. kernel to do this. 
  24.  
  25. BTW: The program is in GCC.
  26.  
  27. Thanks for any help.
  28.  
  29. -Rune
  30.  
  31.  
  32.