Annotation of ntddk/src/video/displays/vga/i386/strucs.inc, revision 1.1.1.1

1.1       root        1: ;---------------------------Module-Header------------------------------;
                      2: ; Module Name: stucts.inc
                      3: ;
                      4: ; Copyright (c) 1992 Microsoft Corporation
                      5: ;-----------------------------------------------------------------------;
                      6: ;-----------------------------------------------------------------------;
                      7: ; POINTB is used for points with a range of -128..+127.
                      8: ;-----------------------------------------------------------------------;
                      9: 
                     10: POINTB          STRUC
                     11: ptb_x           DB      0
                     12: ptb_y           DB      0
                     13: POINTB          ENDS
                     14: 
                     15: ;-----------------------------------------------------------------------;
                     16: ; POINTL is used for points with a range of +/- 2G.
                     17: ;-----------------------------------------------------------------------;
                     18: 
                     19: POINTL          STRUC
                     20: ptl_x           DD      0
                     21: ptl_y           DD      0
                     22: POINTL          ENDS
                     23: 
                     24: 
                     25: ;-----------------------------------------------------------------------;
                     26: ; SIZEB is used for extents with a range of -128..+127.
                     27: ;-----------------------------------------------------------------------;
                     28: 
                     29: SIZEB           STRUC
                     30: sizb_cx         DB      0
                     31: sizb_cy         DB      0
                     32: SIZEB           ENDS
                     33: 
                     34: 
                     35: ;-----------------------------------------------------------------------;
                     36: ; SIZEL is used for extents with a range of +/- 2G
                     37: ;-----------------------------------------------------------------------;
                     38: 
                     39: SIZEL           STRUC
                     40: sizl_cx         DD      0
                     41: sizl_cy         DD      0
                     42: SIZEL           ENDS
                     43: 
                     44: ;-----------------------------------------------------------------------;
                     45: ; Definition of a rectangle
                     46: ;-----------------------------------------------------------------------;
                     47: 
                     48: 
                     49: RECTL               struc           ; /* rcl */
                     50: xLeft               dd      ?
                     51: yTop                dd      ?
                     52: xRight              dd      ?
                     53: yBottom             dd      ?
                     54: RECTL               ends
                     55: 
                     56: 
                     57: ;-----------------------------------------------------------------------;
                     58: ; Definition of a device surface
                     59: ;-----------------------------------------------------------------------;
                     60: 
                     61: 
                     62: DEVSURF             struc           ; /* dsurf */
                     63: dsurf_ident         dd      ?
                     64: dsurf_flSurf        dd      ?
                     65: dsurf_iColor        db      ?
                     66: dsurf_iFormat       db      ?
                     67:                     db      ?
                     68:                     db      ?
                     69: dsurf_ppdev         dd      ?
                     70: dsurf_sizlSurf      db      (size SIZEL) dup (?)
                     71: dsurf_lNextScan     dd      ?
                     72: dsurf_lNextPlane    dd      ?
                     73: dsurf_pvScan0       dd      ?
                     74: dsurf_pvStart       dd      ?
                     75: dsurf_pvConv        dd      ?
                     76: 
                     77: dsurf_pBankSelectInfo   dd      ?
                     78: dsurf_ulBank2RWSkip     dd      ?
                     79: dsurf_pfnBankSwitchCode dd      ?
                     80: dsurf_vbtBankingType    dd      ?
                     81: dsurf_ulBitmapSize      dd      ?
                     82: dsurf_ulPtrBankScan     dd      ?
                     83: dsurf_rcl1WindowClip    db      (size RECTL) dup (?)
                     84: dsurf_rcl2WindowClip    db      (2*(size RECTL)) dup (?)
                     85: dsurf_ulWindowBank      dd      ?,?
                     86: dsurf_pbiBankInfo       dd      ?
                     87: dsurf_ulBankInfoLength  dd      ?
                     88: dsurf_pbiBankInfo2RW    dd      ?
                     89: dsurf_ulBankInfo2RWLength dd    ?
                     90: dsurf_pfnBankControl    dd      ?
                     91: dsurf_pfnBankControl2Window dd  ?
                     92: dsurf_pvBitmapStart     dd      ?
                     93: dsurf_pvBitmapStart2Window dd   ?,?
                     94: dsurf_pvBankBufferPlane0   dd   ?
                     95: dsurf_pvBankBufferPlane1   dd   ?
                     96: dsurf_pvBankBufferPlane2   dd   ?
                     97: dsurf_pvBankBufferPlane3   dd   ?
                     98: 
                     99: dsurf_ajBits        dd      ?
                    100: DEVSURF             ends
                    101: 
                    102: dsurf_rcl2WindowClipS   equ     (dsurf_rcl2WindowClip)
                    103: dsurf_rcl2WindowClipD   equ     (dsurf_rcl2WindowClip + (size RECTL))
                    104: dsurf_pvBitmapStart2WindowS equ (dsurf_pvBitmapStart2Window)
                    105: dsurf_pvBitmapStart2WindowD equ (dsurf_pvBitmapStart2Window + dword)
                    106: 
                    107: 
                    108: ;-----------------------------------------------------------------------;
                    109: ; Definitions for dsurf_iFormat
                    110: ;-----------------------------------------------------------------------;
                    111: 
                    112: BMF_DEVICE          equ     0
                    113: BMF_1BPP            equ     1
                    114: BMF_4BPP            equ     2
                    115: BMF_8BPP            equ     3
                    116: BMF_16BPP           equ     4
                    117: BMF_24BPP           equ     5
                    118: BMF_32BPP           equ     6
                    119: BMF_4RLE            equ     8
                    120: BMF_8RLE            equ     9
                    121: BMF_PHYSDEVICE      equ     0FFh
                    122: 
                    123: 
                    124: ;-----------------------------------------------------------------------;
                    125: ; Definitions for text output
                    126: ;-----------------------------------------------------------------------;
                    127: 
                    128: 
                    129: GLYPHPOS    struc           ; /* gp */
                    130: gp_hg       dd      ?       ; hglyph (unused by vga)
                    131: gp_pgdf     dd      ?       ; glyphdef
                    132: gp_x        dd      ?       ; glyph x position
                    133: gp_y        dd      ?       ; glyph y position
                    134: GLYPHPOS    ends
                    135: 
                    136: 
                    137: GLYPHDEF struc              ; /* gdf */
                    138: gdf_pgb     dd      ?       ; points to GLYPHBITS
                    139: GLYPHDEF ends
                    140: 
                    141: 
                    142: GLYPHBITS struc             ; /* gb */
                    143: gb_x        dd      ?       ; glyph x offset
                    144: gb_y        dd      ?       ; glyph y offset
                    145: gb_cx       dd      ?       ; glyph width in pels
                    146: gb_cy       dd      ?       ; glyph height in pels
                    147: gb_aj       db      ?       ; glyph bit mask
                    148: GLYPHBITS ends
                    149: 
                    150: ;-----------------------------------------------------------------------;
                    151: ; Information block for RLE blts
                    152: ;-----------------------------------------------------------------------;
                    153: 
                    154: RLEINFO struc
                    155: RLE_pjTrg        dd  ?
                    156: RLE_pjSrcBits    dd  ?
                    157: RLE_pjSrcBitsMax dd  ?
                    158: RLE_prctlClip    dd  ?
                    159: RLE_pulTranslate dd  ?
                    160: RLE_xBegin       dd  ?
                    161: RLE_lNextScan    dd  ?
                    162: RLE_lNextPlane   dd  ?
                    163: RLE_prctlTrg     dd  ?
                    164: RLE_dwFormat     dd  ?
                    165: Rle_pdsurfTrg    dd  ?
                    166: RLEINFO ends
                    167: 
                    168: ;**************************************************************************\
                    169: ; Physical device description block
                    170: ;**************************************************************************/
                    171: 
                    172: ;---mirrors driver.h---;
                    173: 
                    174: PDEV struc
                    175: PDEV_fl dd ?
                    176: PDEV_ident dd ?
                    177: PDEV_hDriver dd ?
                    178: PDEV_hpdevEng dd ?
                    179: PDEV_hsurfEng dd ?
                    180: PDEV_pdsurf dd ?
                    181: PDEV_sizlSurf db (size SIZEL) dup (?)
                    182: PDEV_is386 dd ?
                    183: ;---only needs to mirror driver.h to here---;
                    184: PDEV ends
                    185: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.