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.

32 lines
1.2 KiB

  1. page ,132
  2. ;-----------------------------Module-Header-----------------------------;
  3. ; Module Name: EGA.INC
  4. ;
  5. ; This file contains the definitions of the EGA registers used by
  6. ; the driver.
  7. ;
  8. ; Copyright (c) 1988-1993 Microsoft Corporation
  9. ;
  10. ; General Description:
  11. ;
  12. ;-----------------------------------------------------------------------;
  13. HW_POINTER_LEN equ 100h ;# of VGA addresses used by hardware
  14. SEQ_EXT_MODE equ 007h ; Extended Sequencer Mode index
  15. SEQ_HIRES_MODE equ 001h ; select true packed pixel addressing
  16. SEQ_PX equ 010h ; X start index
  17. SEQ_PY equ 011h ; Y start index
  18. SEQ_PPA equ 013h ;pointer pattern address index
  19. AVGA_PROA equ 009h ;banking control register
  20. AVGA_MODE_EXTENSIONS equ 00Bh
  21. EXT_WR_MODES equ 24h ; enable extended write modes in GRB
  22. SEQ_EXT_WRITE_CONTROL equ 0f3h
  23. PTR_HEIGHT equ 32 ;height of hardware pointer in scans
  24. PTR_WIDTH equ 4 ;width of hardware pointer in bytes
  25. PTR_WIDTH_IN_PIXELS equ 32 ;width of hardware pointer in pixels