home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / coders / mesa-1.2.8 / include / mondello / clgd5472.h < prev    next >
C/C++ Source or Header  |  1996-05-27  |  627b  |  30 lines

  1. /*
  2.   file: clgd5472.h
  3. */
  4.  
  5. #ifndef clgd5472_H
  6. #define clgd5472_H
  7.  
  8. #include <sys/types.h>
  9. #include "type.h"
  10.  
  11. typedef struct {
  12.  int dummy;
  13. } clgd5472State, *clgd5472StatePtr;
  14.  
  15. clgd5472State *clgd5472CreateState();
  16. void clgd5472DeleteState(clgd5472State *state);
  17. void clgd5472SaveState(clgd5472State *state);
  18. void clgd5472RestoreState(clgd5472State *state);
  19.  
  20. void clgd5472InitLUT();
  21. void clgd5472WriteIndex(uint index, uint red, uint green, uint blue);
  22.  
  23. void setBuffer(int buffer);  /* for double buffering, 0=first, 1=second */
  24.  
  25. #define clgd5472ShowCsr() outDacW(0x36,0x01);
  26. #define clgd5472HideCsr() outDacW(0x36,0x00);
  27.  
  28. #endif
  29.  
  30.