Annotation of ntddk/src/video/displays/vga256/i386/strucs.inc, revision 1.1

1.1     ! root        1: ;---------------------------Module-Header------------------------------;
        !             2: ; Module Name: stucts.inc
        !             3: ;
        !             4: ; Defines common structures.
        !             5: ;
        !             6: ; Copyright (c) 1992 Microsoft Corporation
        !             7: ;-----------------------------------------------------------------------;
        !             8: ;-----------------------------------------------------------------------;
        !             9: ; POINTB is used for points with a range of -128..+127.
        !            10: ;-----------------------------------------------------------------------;
        !            11: 
        !            12: POINTB          STRUC
        !            13: ptb_x           DB      0
        !            14: ptb_y           DB      0
        !            15: POINTB          ENDS
        !            16: 
        !            17: ;-----------------------------------------------------------------------;
        !            18: ; POINTL is used for points with a range of +/- 2G.
        !            19: ;-----------------------------------------------------------------------;
        !            20: 
        !            21: POINTL          STRUC
        !            22: ptl_x           DD      0
        !            23: ptl_y           DD      0
        !            24: POINTL          ENDS
        !            25: 
        !            26: 
        !            27: ;-----------------------------------------------------------------------;
        !            28: ; SIZEB is used for extents with a range of -128..+127.
        !            29: ;-----------------------------------------------------------------------;
        !            30: 
        !            31: SIZEB           STRUC
        !            32: sizb_cx         DB      0
        !            33: sizb_cy         DB      0
        !            34: SIZEB           ENDS
        !            35: 
        !            36: 
        !            37: ;-----------------------------------------------------------------------;
        !            38: ; SIZEL is used for extents with a range of +/- 2G
        !            39: ;-----------------------------------------------------------------------;
        !            40: 
        !            41: SIZEL           STRUC
        !            42: sizl_cx         DD      0
        !            43: sizl_cy         DD      0
        !            44: SIZEL           ENDS
        !            45: 
        !            46: ;-----------------------------------------------------------------------;
        !            47: ; Definition of a rectangle
        !            48: ;-----------------------------------------------------------------------;
        !            49: 
        !            50: 
        !            51: RECTL               struc           ; /* rcl */
        !            52: xLeft               dd      ?
        !            53: yTop                dd      ?
        !            54: xRight              dd      ?
        !            55: yBottom             dd      ?
        !            56: RECTL               ends
        !            57: 
        !            58: 
        !            59: ;-----------------------------------------------------------------------;
        !            60: ; Definitions for dsurf_iFormat
        !            61: ;-----------------------------------------------------------------------;
        !            62: 
        !            63: BMF_DEVICE          equ     0
        !            64: BMF_1BPP            equ     1
        !            65: BMF_4BPP            equ     2
        !            66: BMF_8BPP            equ     3
        !            67: BMF_16BPP           equ     4
        !            68: BMF_24BPP           equ     5
        !            69: BMF_32BPP           equ     6
        !            70: BMF_4RLE            equ     8
        !            71: BMF_8RLE            equ     9
        !            72: BMF_PHYSDEVICE      equ     0FFh
        !            73: 
        !            74: 
        !            75: ;-----------------------------------------------------------------------;
        !            76: ; Definitions for text output
        !            77: ;-----------------------------------------------------------------------;
        !            78: 
        !            79: 
        !            80: GLYPHPOS    struc           ; /* gp */
        !            81: gp_hg       dd      ?       ; hglyph (unused by vga)
        !            82: gp_pgdf     dd      ?       ; glyphdef
        !            83: gp_x        dd      ?       ; glyph x position
        !            84: gp_y        dd      ?       ; glyph y position
        !            85: GLYPHPOS    ends
        !            86: 
        !            87: 
        !            88: GLYPHDEF struc              ; /* gdf */
        !            89: gdf_pgb     dd      ?       ; points to GLYPHBITS
        !            90: GLYPHDEF ends
        !            91: 
        !            92: 
        !            93: GLYPHBITS struc             ; /* gb */
        !            94: gb_x        dd      ?       ; glyph x offset
        !            95: gb_y        dd      ?       ; glyph y offset
        !            96: gb_cx       dd      ?       ; glyph width in pels
        !            97: gb_cy       dd      ?       ; glyph height in pels
        !            98: gb_aj       db      ?       ; glyph bit mask
        !            99: GLYPHBITS ends
        !           100: 
        !           101: ;-----------------------------------------------------------------------;
        !           102: ; Information block for RLE blts
        !           103: ;-----------------------------------------------------------------------;
        !           104: 
        !           105: RLEINFO struc
        !           106: RLE_pjTrg        dd  ?
        !           107: RLE_pjSrcBits    dd  ?
        !           108: RLE_pjSrcBitsMax dd  ?
        !           109: RLE_prctlClip    dd  ?
        !           110: RLE_pulTranslate dd  ?
        !           111: RLE_xBegin       dd  ?
        !           112: RLE_lNextScan    dd  ?
        !           113: RLE_lNextPlane   dd  ?
        !           114: RLE_prctlTrg     dd  ?
        !           115: RLE_dwFormat     dd  ?
        !           116: Rle_pdsurfTrg    dd  ?
        !           117: RLEINFO ends

unix.superglobalmegacorp.com

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