LIBRARY DISPLAY
DESCRIPTION 'VGA OS/2 PM Display Driver Library'

DATA PRELOAD IOPL       ;Required to get our DS at ring 2

SEGMENTS
    _DATA       CLASS 'DATA'     SHARED    PRELOAD    IOPL
    _PTRDATA    CLASS 'DATA'     SHARED               IOPL

    _COMPLCODE  CLASS 'DATA'     SHARED               IOPL
    _RING3CODE  CLASS 'CODE'     SHARED               IOPL CONFORMING
    _RING2CONF  CLASS 'CODE'     SHARED               IOPL CONFORMING

    _TEXT       CLASS 'CODE'     SHARED               IOPL
    _BITBLT     CLASS 'CODE'     SHARED               IOPL
    _FARTEXT    CLASS 'CODE'     SHARED               IOPL
    _INITSEG    CLASS 'CODE'     SHARED               IOPL
    _BLUEMOON   CLASS 'CODE'     SHARED               IOPL

    _BITMAP     CLASS 'CODE'     SHARED               IOPL
    _PTR        CLASS 'CODE'     SHARED               IOPL
    _VIOSEG     CLASS 'CODE'     SHARED               IOPL
    _PALSEG     CLASS 'CODE'     SHARED               IOPL

    _FIRESEG    CLASS 'CODE'     SHARED               IOPL

;   _TEXT32     CLASS 'CODE'     SHARED    PRELOAD    IOPL
;   _DATA32     CLASS 'FLATDATA' SHARED    LOADONCALL IOPL

    _INSTANCE   CLASS 'DATA'     NONSHARED            NOIOPL
    _RING3DATA  CLASS 'DATA'     SHARED               NOIOPL

EXPORTS
    OS2_PM_DRV_ENABLE   @1      RESIDENTNAME
    MoveCursor          @103    RESIDENTNAME    2
    CheckCursor         @104    RESIDENTNAME

IMPORTS
    GreBitmapLimitWarning = PMGRE.34

HEAPSIZE 0xF000
; Was 10000, had to set it to the max possible because VDHMapMemBlock call
; in VWIN locks down the data segment.

PROTMODE


EXPORTS
    SEAMLESSTERMINATE   @350    RESIDENTNAME    2
    SEAMLESSINITIALIZE  @351    RESIDENTNAME    2
