home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os9 / 1205 < prev    next >
Encoding:
Internet Message Format  |  1992-09-07  |  1.0 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!att-out!rutgers!concert!rock!taco!garfield.catt.ncsu.edu!kdarling
  2. From: kdarling@garfield.catt.ncsu.edu (Kevin Darling)
  3. Newsgroups: comp.os.os9
  4. Subject: Re: HELP with OS-9 ISRs
  5. Message-ID: <kdarling.715632766@garfield.catt.ncsu.edu>
  6. Date: 4 Sep 92 18:52:46 GMT
  7. References: <87861@netnews.upenn.edu>
  8. Sender: news@ncsu.edu (USENET News System)
  9. Organization: North Carolina State University
  10. Lines: 12
  11.  
  12. Mark Elliott writes:
  13. > Does any one know how an Interrupt Service Routine can obtain the value
  14. > of the vector interrupt which invoked it? I wish to load the same ISR
  15. > in the IRQ polling table at several different vector values. The ISR
  16. > needs to take only slightly different actions depending on the vector
  17. > interrupt which caused it to run.
  18.  
  19. You could use slightly different ISR pointers for each IRQ vector...
  20. then each ISR entry point would load a register with flag bits or number
  21. (telling which vector it was), and jump to your main IRQ routine.
  22.  
  23. best - kevin <kdarling@catt.ncsu.edu> <76703.4227@compuserve.com>
  24.