home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / ibm / pc / hardware / 20515 < prev    next >
Encoding:
Internet Message Format  |  1992-07-28  |  1.4 KB

  1. Path: sparky!uunet!portal!cup.portal.com!Tim_-_Otholt
  2. From: Tim_-_Otholt@cup.portal.com
  3. Newsgroups: comp.sys.ibm.pc.hardware
  4. Subject: Re: DMA programming on generic xt/at
  5. Message-ID: <62997@cup.portal.com>
  6. Date: Tue, 28 Jul 92 13:36:56 PDT
  7. Organization: The Portal System (TM)
  8. References: <1992Jul28.144851.9569@cs.utwente.nl> <Bs40vz.Cpy@cs.dal.ca>
  9. Lines: 29
  10.  
  11. Dave writes:
  12.  
  13. >7/28/92 10:35 41/1507 hazen@cs.dal.ca (Dave Hazen)
  14. >Lines 14 to 26 of 41 (63%)
  15. >-----
  16. >2.  To avoid contention over the upper nibble register, it is necessary
  17. >to disable dma channel 0 (refresh) when using channel 1 otherwise the
  18. >refresh system will change the upper nibble register when you least expect
  19. >it. (Remember to re-enable it afterwards)
  20.  
  21. I'm not speaking from experience here, just from what I have heard.
  22.  
  23.  
  24. DMA channel 0 is used for refresh on "generic" XTs.  On ATs, refresh is handle
  25. by dedicated refresh hardware.  This means disabling refresh on XTs could mean
  26. losing memory contents and other stuff.  If you don't need to do this on a
  27. generic XT, then no problem.
  28.  
  29. Aloha,
  30.  
  31. Tim Otholt
  32. ------------------------------------------------------------------------------
  33. tim_otholt@cup.portal.com    "Wanna save just the high part of EAX?"
  34. (408) 894-4290            "Yea, but I want it in two instructions."
  35.                 "How about PUSH EAX, POP AX"
  36. Milpitas, CA                -- Conversation at my last job
  37. ------------------------------------------------------------------------------
  38.