Source code of Windows XP (NT5)
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.

49 lines
999 B

  1. /*++
  2. Copyright (c) 1993 Weitek Corporation
  3. Module Name:
  4. vga.h
  5. Abstract:
  6. This module contains VGA specific definitions for the Weitek P9
  7. miniport device driver.
  8. Environment:
  9. Kernel mode
  10. Revision History may be found at the end of this file.
  11. --*/
  12. //
  13. // VGA Miscellaneous Output Register
  14. //
  15. #define MISCIN 0x0c // Misc Output Read Register
  16. #define MISCOUT 0x02 // Misc Output Write Register
  17. #define MISCC 0x04 //
  18. #define MISCD 0x08
  19. #define SEQ_INDEX_PORT 0x04
  20. #define SEQ_DATA_PORT 0x05
  21. #define SEQ_MISC_CRLOCK 0x20
  22. #define SEQ_OUTCNTL_INDEX 0x12
  23. #define SEQ_MISC_INDEX 0x11
  24. #define VESAVideoSelectRegIndex 0x012
  25. #define VLPolarity 0x20
  26. #define VLEnable 0x10
  27. #define VGA_FREQ 2832 // Default VGA Video Freq in dHz
  28. //
  29. // Base address of VGA memory range and video memory size.
  30. //
  31. #define MEM_VGA_ADDR 0xA0000
  32. #define MEM_VGA_SIZE 0x20000