Path: utzoo!utgpu!water!watmath!clyde!bellcore!tness7!tness1!sugar!karl
From: karl@sugar.UUCP (Karl Lehenbauer)
Newsgroups: comp.sys.amiga.tech
Subject: Bug in RBF interrupt handler example, Amiga Exec Manual pg 58
Message-ID: <2091@sugar.UUCP>
Date: 5 Jun 88 17:58:50 GMT
Organization: Sugar Land UNIX - Houston, TX
Lines: 10

There is a bug in the Receive Buffer Full interrupt handler shown on page
58 and 59 in the RKM Exec manual.  In the example, RBF interrupts are enabled,
then the new handler is istalled via SetIntVector.  If there is a receive
character in the UART and no other RBF interrupt routine exists (for example, 
serial.device hasn't been opened since startup), the system will guru when
the RBF interrupt is enabled.  If you move the interrupt enable statement to be 
after the SetIntVector, the problem will be fixed.

-- 
..!{bellcore!tness1,uunet!nuchat}!sugar!karl, Unix BBS (713) 438-5018