[comp.sys.mac.programmer] Interrupt Handler Question

jskuskin@eleazar.dartmouth.edu (Jeffrey Kuskin) (05/18/89)

A quick question about interrupt handlers:

   Upon entry to the handler, should the interrupt mask (in the status
register) be set to the level of the interrupt you are handling, or should
the mask be left unchanged?

   I will be using the handler on an SE with Unifinder, if that matters.

   Please reply via email.  Thanks.


   -- Jeff Kuskin, Dartmouth College


E-Mail:  jskuskin@eleazar.dartmouth.edu

ts@cup.portal.com (Tim W Smith) (05/25/89)

The mask will have already been set to the appropriate value.
Unless your hardware is strange ( like, for instance, it is
sharing an interrupt level with other hardware, and that other
hardware does not expect interrupts to be shared ), you should
never have to touch the mask.

					Tim Smith