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