[comp.sys.amiga.tech] Bug in RBF interrupt handler example, Amiga Exec Manual pg 58

karl@sugar.UUCP (Karl Lehenbauer) (06/06/88)

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