[comp.sys.ibm.pc.hardware] DMA references

fmgst@unix.cis.pitt.edu (Filip Gieszczykiewicz) (03/14/91)

	Greetings. I am looking for books/references on how to design
	and interface a custom system to an IBM and use DMA. I can't
	use the parallel or serial ports because I need to transfer
	6M/s and they just can't handle that much. So, anyone know
	of any good books or references? 

	I will archive and post a summary. Please give me a few days to
	organize before sending "me too!" letters.

	Take care.

	P.S. Reference to code (listings) on DMA would also be
	appreciated.
-- 
_______________________________________________________________________________
"The Force will be with you, always." It _is_ with me and has been for 11 years
Filip Gieszczykiewicz  "... a Jedi does it with a mind trick... " ;-)
FMGST@PITTVMS  or  fmgst@unix.cis.pitt.edu "My ideas. ALL MINE!!"

dhiman@motcid.UUCP (Ravinder Dhiman) (03/15/91)

fmgst@unix.cis.pitt.edu (Filip Gieszczykiewicz) writes:


>	Greetings. I am looking for books/references on how to design
>	and interface a custom system to an IBM and use DMA. I can't
[... Text deleted...]

>	P.S. Reference to code (listings) on DMA would also be
>	appreciated.
[...]

The material I found useful for my senior design project was the following
set of book:

	1.) Handbook of Software and Hardware Design for IBM PCs
	(I'm doing this from memory; that is almost exactly the
	right title) by Jeffery P. Royer (I'm sure about this);
	published by Prentice Hall.  It is a small green paperback
	book; some neat information, some of the hardware stuff was
	pretty basic -- the author used basic logic circuits for address
	decoding instead of more integrated chips.  Recommended.

	2.) Interfacing Sensors to the (IBM ?) PC.  Sorry, don't
	remember the authors.  I think this one is also Prentice Hall.
	See if you can find this book through youre library system; this
	book is hardcover and expensive.

	3.) Probably the best source of information is Intel's own
	set of books -- The programmer's reference (?), hardware 
	reference, etc.  I wish I could recall the name of the Intel book 
	we used, but It had several (very useful) pages on the 8237 DMA 
	chip used in PCs.
	One of your Engineering College labs (hardware, senior design,...)
	should have these books.  If not, try contacting a local Intel
	rep and/or distributor.  Your advisor may also be able to aquire
	the books you need.

Hope this helps.

---
Ravinder Dhiman
Motorola, Inc. Cellular Infrastructure Group
1501  W. Shure Drive		M/S IL27-2232
Alington Heights, IL 60004

Standard Disclaimers apply.

cliffhanger@cup.portal.com (Cliff C Heyer) (03/19/91)

Needed: DMA Hardware I/O Port Command Documentation.

I've written an MS-D0S program that uses a data disk (a disk with
no file structure on it that is written with bytes direct to the
AT task registers). I want to add DMA so the software can be doing
other things rather than polling I/0 ports to transfer words.

I need documentation about how to use the DMA controller. I have a list 
of the ports from the Phoenix BIOS book, but it has no info on the commands.
I suppose I could disassemble my BIOS (which I have ended up doing 
in the past after failing to find documentation).

This documentation should have the ports and the commands to put in the
ports to make it work, as well as the interrupts used by the DMA chip
to communicate DMA completion.

I did a computer search on it and came up with a Dr Dobbs article Jan
1990. I don't know if this is worth heading to the library.

Please mail, I'll post.
Thanx, Cliff.