November 1993/DMA Controller Programming in C/Listing 2
/*
vds.h - Header file for VDS function subset
Written by Robert Watson
(C) Copyright Robert Watson 1993
*/
typedef struct {
long Size;
long Offset;
int Segment;
int BufferID;
long Address;
} VDS_DDS;
int IsVDSAvailable (void);
int RequestVDSBuffer (VDS_DDS * DDS);
int ReleaseVDSBuffer (VDS_DDS * DDS);
int DisableVDSTranslation (int Channel);
int EnableVDSTranslation (int Channel);
int CopyFromDMABuffer (VDS_DDS * DDS,
long BufferOffset);
/* End of File */