🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #9025

Bug in RBF interrupt handler example, Amiga Exec Manual pg 58

#9025
From: Karl Lehenbauer
Date: Sun, 05 Jun 1988 17:58
10 lines
935 bytes
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
Technical Details
Message-ID: <2091@sugar.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!bellcore!tness7!tness1!sugar!karl

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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