home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!psinntp!natural!usenet
- From: Christopher Evans <evans@natural.com>
- Subject: Re: Interrupt problems...using TMON
- Message-ID: <1992Aug11.210818.28736@natural.com>
- Sender: usenet@natural.com
- Organization: Natural Intelligence, Inc.
- X-Useragent: Nuntius v1.0
- References: <89vmfkp.crunch@netcom.com>
- Date: Tue, 11 Aug 1992 21:08:18 GMT
- Lines: 23
-
- >I am installing an ethernet read interrupt routine. I'm also running
- in
- >full 32 bit mode, and am careful to preserve the A5 Register by storing
- >it into a special field I allow for it. I first tell the driver that
- >I want to install a particular packet read routine, and specify the
- >Interrupt task "intTask" partially defined below, then pass it the
- >current application's A5 register into a field in it's paramBlock, and
- >make the Control Mgr call.
-
- The biggest problem you will have is that if you don't get out of
- the interrupt within a certain (short) period of time, you will
- lock up. Try re-enabling interrupts before breaking, then
- play with your data in TMON or whatever as long as you want.
-
-
- Network interrupts are particularly fussy about timing.
-
- <=================================Q=================================>
- Chris Evans | Internet: evans@natural.com
- Senior Macintosh Programmer | Phone: 617-876-4876
- Natural Intelligence, Inc. | FAX: 617-492-7425
- 2067 Massachusetts Avenue | AppleLink: NATURAL
- Cambridge MA 02140 | or evans@natural.com@internet#
-