home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / ibm / pc / hardware / 20350 < prev    next >
Encoding:
Text File  |  1992-07-26  |  1.8 KB  |  42 lines

  1. Newsgroups: comp.sys.ibm.pc.hardware
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!destroyer!ubc-cs!utcsri!torn!csd.unb.ca!morgan.ucs.mun.ca!nstn.ns.ca!cs.dal.ca!hazen
  3. From: hazen@cs.dal.ca (Dave Hazen)
  4. Subject: Help wanted with DMA programming.
  5. Message-ID: <Bs0yDI.FMx@cs.dal.ca>
  6. Sender: usenet@cs.dal.ca (USENET News)
  7. Nntp-Posting-Host: cs.dal.ca
  8. Organization: Math, Stats & CS, Dalhousie University, Halifax, NS, Canada
  9. Date: Mon, 27 Jul 1992 01:48:53 GMT
  10. Lines: 30
  11.  
  12.  
  13. I am writing an interface program for a high speed digitizer to run on
  14. a Mesa 6c23 system.  The target system is a 16 MHz single board system
  15. which drives an 8 bit passive backplane.  The board has a chips & tech
  16. 82c230 system controller chip which emulates the 8237, etc from the 
  17. original PC.  The digitizer wants to transfer to memory using DMA channel
  18. 1 and needless to say I am having some trouble setting it up due to a
  19. dearth of information on the details of setting up the transfers.
  20.  
  21. One thing that I have sorted out from an IBM PC-XT technical manual is that
  22. the register for the high nibble of the DMA address (IO 0x80-0x83) is
  23. accessed in a strange way (at least from my interpretation of the schematics)
  24. channel 0 and 1 will have the high nibble loaded from 0x83 
  25. channel 2 will have the high nibble loaded from 0x82
  26. channel 3 will have the high nibble loaded from 0x81
  27.  
  28. Have I got it right?
  29. If so, how do I avoid a contention problem with chan 0 refresh cycles?
  30.  
  31. Any code fragments on programming DMA channel 1 will be greatly appreciated
  32. by return mail
  33.  
  34. Thanks 
  35.  
  36. dave
  37. -- 
  38. Dave Hazen                        BitNet: hazen@open.dal.ca
  39. Dept. of Oceanography             Telemail: dalhousie.ocean
  40. Dalhousie University              Voice: (902) 494-3396
  41. Halifax, NS CANADA B3H 4J1        FAX:  (902) 494-3877
  42.