Can anyone tell me why it would create continuous INT2 interrupts?
My crystal ball's in for repairs, so you'll need to post all your code....;o}
Code:
AlarmHdlr:
Goto Alarm ' Call Alarm handler subroutine in INCLUDE file
@ INT_RETURN
With your interrupt handler jumping to AlarmHdlr, what happens in your Alarm routine
to send it back to the proper place to return from the interrupt, to land on your
@ INT_RETURN?
@ INT_RETURN clears the interrupt flag bit (& handles GIE), which keeps it from
returning to your int handler.
Your GOTO Alarm is probably leaving the interrupt flag bits set, and it simply returns assuming
the interrupt is still pending.
Bookmarks