home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / include / inline / potgo.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-12  |  545 b   |  25 lines

  1. #ifndef _INLINE_POTGO_H
  2. #define _INLINE_POTGO_H
  3.  
  4. #ifndef __INLINE_MACROS_H
  5. #include <inline/macros.h>
  6. #endif
  7.  
  8. #ifndef POTGO_BASE_NAME
  9. #define POTGO_BASE_NAME PotgoBase
  10. #endif
  11.  
  12. #define AllocPotBits(bits) \
  13.     LP1(0x6, UWORD, AllocPotBits, unsigned long, bits, d0, \
  14.     , POTGO_BASE_NAME)
  15.  
  16. #define FreePotBits(bits) \
  17.     LP1NR(0xc, FreePotBits, unsigned long, bits, d0, \
  18.     , POTGO_BASE_NAME)
  19.  
  20. #define WritePotgo(word, mask) \
  21.     LP2NR(0x12, WritePotgo, unsigned long, word, d0, unsigned long, mask, d1, \
  22.     , POTGO_BASE_NAME)
  23.  
  24. #endif /* _INLINE_POTGO_H */
  25.