home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / m68k / 956 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  1.8 KB

  1. Path: sparky!uunet!usc!sol.ctr.columbia.edu!emory!tridom!tridom!mwr
  2. From: mwr@tridom.uucp (Mark Reardon)
  3. Newsgroups: comp.sys.m68k
  4. Subject: 68302 SCR's IPA Bit?
  5. Message-ID: <1992Jul27.144846.17750@tridom.com>
  6. Date: 27 Jul 92 14:48:46 GMT
  7. Sender: news@tridom.com
  8. Reply-To: mwr@tridom.uucp (Mark Reardon)
  9. Organization: AT&T Tridom; Marietta, Georgia
  10. Lines: 33
  11.  
  12. In reading the 68302 manual I have a question, but first a little
  13. background.  I am programming a 68302 running in slave mode to 
  14. another 68302 (master).  All six SCCs are active and I am attempting
  15. to program the master's IDMA channel from a PB11 interrupt on the
  16. slave.  The slave's interrupts are executed at level three instead
  17. of four due to some external logic between the two 68302s.  Now
  18. the question.
  19.  
  20. I want the IDMA transfer to occur as the lowest priority function
  21. on the bus except for standard 68000 CPU functions.  That is to 
  22. say, all interrupt processing and SDMA will have priority over
  23. the IDMA.  From looking at the manual, I have developed the 
  24. following thought process.  Set up the IDMA in the PB11 interrupt
  25. service routine and clear the IDMA bit of the ISR.  All other
  26. interrupts also should clear their corresponding bits in the ISR
  27. when they are done.  When the last bit of the ISR is cleared that
  28. corresponds with the bits set in the IMR, the IPA bit of the SCR
  29. will clear and allow the IDMA to execute.  
  30.  
  31. Any opinions?  Should I use the Slave's IDMA instead (it is 
  32. currently idle)?
  33.  
  34. Thanks.
  35.  
  36. -- 
  37. Mark
  38.  
  39. ---------------------------------------------------------------------
  40. | Mark Reardon           |  AT&T Tridom                             |
  41. | mwr@eng.tridom.com     |  840 Franklin Court                      |
  42. |                        |  Marietta, GA 30067                      |
  43. ---------------------------------------------------------------------
  44.  
  45.