Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
2.4 KiB

  1. /******************************Module*Header*******************************\
  2. *
  3. * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  4. * !! !!
  5. * !! WARNING: NOT DDK SAMPLE CODE !!
  6. * !! !!
  7. * !! This source code is provided for completeness only and should not be !!
  8. * !! used as sample code for display driver development. Only those sources !!
  9. * !! marked as sample code for a given driver component should be used for !!
  10. * !! development purposes. !!
  11. * !! !!
  12. * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  13. *
  14. * Module Name: rgb526.h
  15. *
  16. * Content: This module contains the definitions for the IBM RGB526 RAMDAC.
  17. * The 526 is a superset of the 525 so only define things which have
  18. * changed.
  19. *
  20. * Copyright (c) 1994-1999 3Dlabs Inc. Ltd. All rights reserved.
  21. * Copyright (c) 1995-2003 Microsoft Corporation. All rights reserved.
  22. \*****************************************************************************/
  23. // RGB526_REVISION_LEVEL
  24. #define RGB526_PRODUCT_REV_LEVEL 0xc0
  25. #define RGB526DB_PRODUCT_REV_LEVEL 0x80
  26. // RGB526_ID
  27. #define RGB526_PRODUCT_ID 0x02
  28. //
  29. // Key Support
  30. //
  31. #define RGB526_KEY_VALUE 0x68
  32. #define RGB526_KEY_MASK 0x6c
  33. #define RGB526_KEY_CONTROL 0x78
  34. // RGB526_32BPP_CTRL in addition to those on the RGB525
  35. #define B32_DCOL_B8_INDIRECT 0x00 // overlay goes thru palette
  36. #define B32_DCOL_B8_DIRECT 0x40 // overlay bypasses palette
  37. #define RGB526_SYSTEM_CLOCK_CTRL 0x0008
  38. #define RGB526_SYSCLK_REFDIVCOUNT 0x0015
  39. #define RGB526_SYSCLK_VCODIVIDER 0x0016
  40. #define RGB526_SYSCLK_N 0x0015
  41. #define RGB526_SYSCLK_M 0x0016
  42. #define RGB526_SYSCLK_P 0x0017
  43. #define RGB526_SYSCLK_C 0x0018
  44. #define RGB526_M0 0x0020
  45. #define RGB526_N0 0x0021
  46. #define RGB526_P0 0x0022
  47. #define RGB526_C0 0x0023