Article View: comp.sys.atari.st
Article #36530Mfpint()
From: George Borges
Date: Mon, 13 Feb 1989 18:53
Date: Mon, 13 Feb 1989 18:53
28 lines
1260 bytes
1260 bytes
----------------------------Original message----------------------------
Thanks to those two folks who replied to me. However, I *still*
cannot get Mfpint() to work properly. Perhaps I am somewhat dense.
Here's what I'm trying to do:
....
Jenabint( 14 ); /* enable ring indicator interrupt on MFP chip */
Mfpint( 14, interrupt ); /* set vector to point to my function */
... print stuff on screen in endless loop....
interrupt()
{
setrte(); /* in MWC 2.0 .. return from exception rather than rts */
Cconws("RING!!!");
}
.....
And that's basically it. I disable the interrupt after it occurs.
The interrupt routine *does* execute but my program bombs (usually 2 or 3
of them).
Can a knowledgeable soul help a fellow cretin in need? A fragment of working
C code would be most appreciated. Thanx
George Borges <ACPS5589@RYERSON.BITNET>
Technical Details
Message-ID:
<8902140121.AA03228@ucbvax.Berkeley.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!RYERSON.BITNET!ACPS5589Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!RYERSON.BITNET!ACPS5589 From: ACPS5589@RYERSON.BITNET (George Borges) Newsgroups: comp.sys.atari.st Subject: Mfpint() Message-ID: <8902140121.AA03228@ucbvax.Berkeley.EDU> Date: 13 Feb 89 18:53:35 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 28