home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / programm / 14122 < prev    next >
Encoding:
Text File  |  1992-08-17  |  1.5 KB  |  36 lines

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