Topic: Beginners Guide to DMA?
Author: ci1bfp@sunc.sheffield.ac.uk (B Pickford)
Date: 6 Apr 1994 14:25:50 GMT Raw View
Hi Any & All,
I recently received a request to write some code which required DMA,
however, try as I might I can't find a programmers reference for it.
So if you have a biginners guide or can point to a suitable ftp site
I would be very grateful.
Many Thanks,
TTFN Fraz
Author: diamond@tkt.dec.com (Norman Diamond )
Date: 7 Apr 1994 01:11:32 GMT Raw View
In article <2nugpe$mtr@hippo.shef.ac.uk> ci1bfp@sunc.sheffield.ac.uk (B Pickford) writes:
>I recently received a request to write some code which required DMA,
>however, try as I might I can't find a programmers reference for it.
Section 3.3.3.2 in the ANSI Classic edition of the standard, so that would
be section 6.3.3.2 in the ISO edition. Declare a pointer of an appropriate
type, assign to the pointer so that it points to the memory you want to
access, and use the unary * operator to access the memory.
Library routines strcpy() and memcpy() might also be convenient. They're
in the index to the standard.
--
<< If this were the company's opinion, I would not be allowed to post it. >>
A program in conformance will not tend to stay in conformance, because even if
it doesn't change, the standard will. Force = program size * destruction.
Every technical corrigendum is met by an equally troublesome new defect report.