home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / msdos / programm / 7998 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  1.3 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!udel!rochester!cantaloupe.srv.cs.cmu.edu!ralf
  2. From: ralf+@cs.cmu.edu (Ralf Brown)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Re: 8237A DMA Chip on the PC
  5. Keywords: 8237A DMA Chip on the PC
  6. Message-ID: <1992Jul22.015106.230532@cs.cmu.edu>
  7. Date: 22 Jul 92 01:51:06 GMT
  8. References: <tfiske.711742881@qualcom>
  9. Organization: School of Computer Science, Carnegie Mellon
  10. Lines: 19
  11. Nntp-Posting-Host: b.gp.cs.cmu.edu
  12.  
  13. In article <tfiske.711742881@qualcom> tfiske@qualcom.qualcomm.com (T.J. Fiske) writes:
  14. }The 8237A DMA chip on the PC:
  15. }on the AT and higher models, there are 8 dma channels.
  16. }I need to program channel 5, since I need to do 16 bit
  17. }dma transfers.  Anyways, to progam the target address
  18. }correctly, it needs a "page" address at port 0x8b.
  19. }What is this page address, and how can I do an address
  20.  
  21. The high eight bits of the 24-bit linear address, which you compute as
  22.     ((long)segment)<<4 + offset
  23.  
  24. (of course, this computation applies only in real mode)
  25.  
  26.  
  27. -- 
  28. Internet: RALF+@CS.CMU.EDU   |The University would disclaim this if it knew...
  29. FIDO: Ralf Brown 1:129/26.1  |"Wisdom is the quality that keeps you from
  30. BIT: RALF%CS.CMU.EDU@CARNEGIE| getting into situations where you need it."
  31. AT&Tnet: (412)268-3053 school|        -- Doug Larson
  32.