home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 9.ddi / usr / include / sys / vdc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-08  |  1.1 KB  |  45 lines

  1. /*    Copyright (c) 1990 UNIX System Laboratories, Inc.    */
  2. /*    Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T    */
  3. /*      All Rights Reserved      */
  4.  
  5. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF         */
  6. /*    UNIX System Laboratories, Inc.                         */
  7. /*    The copyright notice above does not evidence any       */
  8. /*    actual or intended publication of such source code.    */
  9.  
  10. #ident    "@(#)/usr/include/sys/vdc.h.sl 1.1 4.0 12/08/90 42466 AT&T-USL"
  11.  
  12. #ifndef    _SYS_VDC_H
  13. #define    _SYS_VDC_H
  14.  
  15. struct vdc_info {
  16.     int    v_type;
  17.     unchar    v_switch,
  18.         v_mode2sel;
  19.     struct    kd_vdctype
  20.         v_info;
  21. };
  22.  
  23. #define VTYPE(x)    (Vdc.v_type & (x))    /* Type of VDC card (if any) */
  24. #define VSWITCH(x)    (Vdc.v_switch & (x))    /* VDC switch settings */
  25.  
  26. #define V400    1
  27. #define V750    2
  28. #define V600    4
  29. #define CAS2    8     /* indicates a Cascade 2 w/ on-board VGA */
  30. #ifdef    EVC
  31. #define VEVC    0x10    /* Olivetti EVC-1 is installed */
  32. #endif    /*EVC*/
  33. #ifdef EVGA
  34. #define VEVGA   0x20    /* Extended VGA type board */
  35. #endif    /*EVGA*/
  36.  
  37. #define V750_IDADDR    0xc0009
  38. #define V600_IDADDR    0xc0035
  39. #define CAS2_IDADDR    0xe0010
  40.  
  41. #define ATTCGAMODE    0x01
  42. #define ATTDISPLAY    0x02
  43.  
  44. #endif /* SYS_VDC_H */
  45.