home *** CD-ROM | disk | FTP | other *** search
/ PC Loisirs 18 / cd.iso / sharewar / mikm202 / source / include / mdma.h next >
Encoding:
C/C++ Source or Header  |  1995-09-18  |  470 b   |  27 lines

  1. #ifndef MDMA_H
  2. #define MDMA_H
  3.  
  4. #include "mtypes.h"
  5.  
  6. #define READ_DMA                0
  7. #define WRITE_DMA               1
  8. #define INDEF_READ              2
  9. #define INDEF_WRITE             3
  10.  
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14.  
  15. void *Dma_AllocMem(UWORD size);
  16. void Dma_FreeMem(void *w);
  17. int Dma_Start(int channel,void *pc_ptr,UWORD size,int type);
  18. void Dma_Stop(int channel);
  19. UWORD Dma_Todo(int channel);
  20.  
  21. #ifdef __cplusplus
  22. }
  23. #endif
  24.  
  25.  
  26. #endif
  27.