home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / msdos / programm / 10493 < prev    next >
Encoding:
Internet Message Format  |  1992-11-10  |  1.7 KB

  1. Path: sparky!uunet!munnari.oz.au!metro!usage!csdvax.csd.unsw.edu.au!86b0062
  2. From: 86b0062@csdvax.csd.unsw.edu.au (Sam Lander)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Max DMA rate from 386 to D/AC's
  5. Message-ID: <1992Nov11.134542.3439@csdvax.csd.unsw.edu.au>
  6. Date: 11 Nov 92 13:45:41 +1000
  7. Organization: University of New South Wales
  8. Lines: 27
  9.  
  10. I want to send data out to 4 12 bit D/ACs as fast as possible. (There is 
  11. more than that in this story, but for now, that is enough.)
  12.  
  13. At the moment, I am sending data byte by byte using I/O instructions 
  14. to a PC bus D/AC card. I have to perform 9 byte output instructions to get the 
  15. data from memory onto the card's analogue output lines. A transfer cycle 
  16. takes about 18 usec to complete. This is about 55kHz or 55kx9 = 495kbytes/sec.
  17.  
  18. My machine is a 33Mhz 386 AT bus box, without too much that looks special to
  19. my (untrained) eye. I have no idea at all about wait states etc.
  20.  
  21. I am looking at building a new D/AC card using the AT bus that will be driven 
  22. by my the 386's DMA controller chip. I am looking for data transfer rates in
  23. the order of 1Mbyte/sec or better. the CPU will be doing nothing special
  24. and so I am happy for its performance to be reduced by up to 90%. The
  25. key factor is getting the data out as fast as possible on this machine.
  26.  
  27. Could someone give me an idea of the data transfer rates I might expect from 
  28. such a setup?  Failing that, what is a good reference on this topic that 
  29. might tell me?
  30.  
  31. Sam Lander
  32.  
  33. -------------------------------------------------------------------------------
  34. Sam Lander, Department of Psychology, University of New South Wales, Australia.
  35. 86b0062@csdvax.csd.unsw.edu.au or 90b1182@csd3090.csd. ... Phone 61 2 697 3030.
  36.  
  37.