Article View: comp.sys.atari.st
Article #41072Interrupt handlers
From: Vision Newspapers
Date: Sun, 18 Feb 1990 22:42
Date: Sun, 18 Feb 1990 22:42
24 lines
1386 bytes
1386 bytes
Keywords : Interrupts Re : Writing interrupt handlers in C The problem with your interrupt routine hanging is probably because you haven't cleared the Interrupt in SeRvice (ISR) bit of the appropriate MFP register. I can't remember the correct bit and location offhand -- it's probably in 'ST Internals'. If you don't clear this bit, then the MFP still thinks that you're handling the interrupt, and will not let any other interrupts start. This will lock up the keyboard, mouse, VBL and everything else handled via interrupts. Hope this helps - Regards, Mathew Lodge *********************************************************************** * c/o Dept. Computer Science * "Baldrick, fetch me a turkey _so * * University of York * big_, you'd have thought its mother * * Heslington * had been rodgered by an Omnibus" * * York, UK * * * YO1 5DD * JANET : SOCS18@uk.ac.york.vaxa * ***********************************************************************
Technical Details
Message-ID:
<9002190811.AA24873@ucbvax.Berkeley.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!vaxb.york.ac.UK!SOCS18Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!vaxb.york.ac.UK!SOCS18 From: SOCS18@vaxb.york.ac.UK (Vision Newspapers) Newsgroups: comp.sys.atari.st Subject: Interrupt handlers Message-ID: <9002190811.AA24873@ucbvax.Berkeley.EDU> Date: 18 Feb 90 22:42:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 24