home *** CD-ROM | disk | FTP | other *** search
/ The 7th Guest [PC] / T7G_DISK2.BIN / vesa / candt / vesa452.inc < prev    next >
Text File  |  1991-04-11  |  2KB  |  50 lines

  1.  
  2.  
  3. ;----------------------------------------------------------------------
  4. ; Module Name    :VESA452.inc
  5. ; Program Name    :VESA452.com
  6. ; Description    :contains constants and structutres for VESA Modes for 452
  7. ; Date        :May 31, 1989
  8. ; Version    :1.0
  9. ; Programmer    :Rakesh K. Jain
  10. ; (C) Chips and Technologies, Inc. 1989
  11. ;----------------------------------------------------------------------
  12.  
  13.  
  14.  
  15. CHIPS_ID    equ    0A5H            ; Chips & Tech VGA Id
  16. EGA_BASE    equ    0300H            ; EGA registers base
  17. EXTR_ADDR    equ    0d6H            ; Low byte of extended reg addr
  18. PAGE_REG_A    equ    10H            ; Index to page register A
  19.  
  20. CHIPSVGA_452    equ    10H            ; Upper nibble of XR00
  21. PL_GRANUL    equ    4            ; 4KB Granularity in planar modes
  22. PP_GRANUL    equ    16            ; 16KB Granularity in packed pixel modes
  23. NORMAL_SIZE    equ    32            ; 32KB Window size (GR06 = 01)
  24. EXT_SIZE    equ    64            ; 64KB Extended size (GR06 = 00)
  25. WINA_ADDR    equ    0a000h            ; Win A start address
  26. WINB_NADDR    equ    0a800h            ; Win B normal start address
  27. WINB_EADDR    equ    0b000h            ; Win B extended start address
  28. WIN_TADDR    equ    0b800h            ; Text mode window start address
  29. WIN_TSIZE    equ    32            ; 32KB Text window size 
  30.  
  31. NORMAL_WIN    equ    <NORMAL_SIZE,WINA_ADDR,WINB_NADDR>
  32. EXTENDED_WIN    equ    <EXT_SIZE,WINA_ADDR,WINB_EADDR>
  33.  
  34. PLANAR_WIN    equ    <WIN_ATTR,0,PL_GRANUL,EXTENDED_WIN,0>
  35. PACK_WIN    equ    <WIN_ATTR,0,PP_GRANUL,EXTENDED_WIN,0>
  36. TEXT_WIN    equ    <WA_WINREAD+WA_WINWRITE,0,WIN_TSIZE,WIN_TSIZE,WIN_TADDR,0,0>
  37.  
  38. Mode60 equ <TEXT_MODE,TEXT_WIN,132*2,1056,400,8,16,1,4,1,MM_TEXTMODE,0>
  39. Mode61 equ <TEXT_MODE,TEXT_WIN,132*2,1056,400,8,8,1,4,1,MM_TEXTMODE,0>
  40. Mode6E equ <GRAPHICS_MODE,PLANAR_WIN,090, 720,540,8,16,4,4,1,MM_4PLANAR,0>
  41. Mode6F equ <GRAPHICS_MODE,PLANAR_WIN,096, 768,576,8,16,4,4,1,MM_4PLANAR,0>
  42. Mode70 equ <GRAPHICS_MODE,PLANAR_WIN,100, 800,600,8,16,4,4,1,MM_4PLANAR,0>
  43. Mode71 equ <GRAPHICS_MODE,PLANAR_WIN,120, 960,720,8,16,4,4,1,MM_4PLANAR,0>
  44. Mode72 equ <GRAPHICS_MODE,PLANAR_WIN,128,1024,768,8,16,4,4,1,MM_4PLANAR,0>
  45. Mode78 equ <GRAPHICS_MODE,PACK_WIN,640,640,400,8,16,1,8,1,MM_PACKEDPIX,0>
  46. Mode79 equ <GRAPHICS_MODE,PACK_WIN,640,640,480,8,16,1,8,1,MM_PACKEDPIX,0>
  47. Mode7A equ <GRAPHICS_MODE,PACK_WIN,720,720,540,8,16,1,8,1,MM_PACKEDPIX,0>
  48. ;Mode7B equ <GRAPHICS_MODE,PACK_WIN,768,768,576,8,16,1,8,1,MM_PACKEDPIX,0>
  49. ;Mode7C equ <GRAPHICS_MODE,PACK_WIN,800,800,600,8,16,1,8,1,MM_PACKEDPIX,0>
  50.