C equiv. of Pascal "absolute" type?

David Robins dr at skivs.UUCP
Sat Mar 4 16:25:18 AEST 1989


On the IBM, at least, I have seen a Pascal example where an variable
of array type is then set : buffer_1 : array_type absolute $6000:0000.
This sets the buffer to start at the absolute address given.  This is
done to allow a DMA buffer to start on a page boundary, and allow
saving to a file.

Is there an equivalent in C, or a way to set such an absolute location?
-- 
David Robins, M.D.  (ophthalmologist / electronics engineer)
The Smith-Kettlewell Institute of Visual Science,  ***  net:  uunet!skivs!dr
2232 Webster St, San Francisco CA 94115            ***  415/561-1705 (voice) 
The opinions expressed herein do not reflect the opinion of the Institute!



More information about the Comp.lang.c mailing list