home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / D / SVGALIB / SVGALIB1.TAR / svgalib / src / mach32.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-03-29  |  1.0 KB  |  32 lines

  1. /* VGAlib version 1.2 - (c) 1993 Tommy Frandsen            */
  2. /*                                   */
  3. /* This library is free software; you can redistribute it and/or   */
  4. /* modify it without any restrictions. This library is distributed */
  5. /* in the hope that it will be useful, but without any warranty.   */
  6.  
  7. /* ATI Mach32 driver (C) 1994 Michael Weller               */
  8. /* Silly defines for convenience application communication with    */
  9. /* Mach32 Driver.                           */
  10.  
  11. #ifndef _MACH32_H
  12. #define _MACH32_H
  13.  
  14. /* Valid params for chiptype in mach32_init(int force, int chiptype, int memory);
  15.    Combine with | */
  16.  
  17. #define MACH32_FORCE_APERTURE     0x80 /* Force aperture to type given.. */
  18. #define MACH32_APERTURE         0x20 /* Aperture is available */
  19. #define MACH32_APERTURE_4M     0x40 /* Aperture has 4Megs (and is available ) */
  20.  
  21.  
  22. #define MACH32_FORCEDAC         0x10 /* Set dac to type specified below: */
  23. /* Known Dac-Types */
  24. #define MACH32_ATI68830    0
  25. #define MACH32_SC11483    1
  26. #define MACH32_ATI6871    2
  27. #define MACH32_BT476    3
  28. #define MACH32_BT481    4
  29. #define MACH32_ATI68860 5
  30.  
  31. #endif /* _MACH32_H */
  32.