LIBRARY BVHCGA
PROTMODE
DESCRIPTION 'CGA Video Device Handler'

CODE LOADONCALL
DATA LOADONCALL

SEGMENTS
   R2SEG  CLASS 'CODE' PURE IOPL             ; Hardware I/O at ring 2
   R2CSEG CLASS 'CODE' PURE CONFORMING       ; Ring 3 or ring 2

EXPORTS
    DEVENABLE             ; BVS-DDI initialization entry point
;   SETMAPMASK          2 ; USHORT ReadMap, USHORT MaskValue
    ACCESSCURSORPOS     5 ; USHORT Columns, USHORT Color, USHORT Direction, USHORT far *PositionPacket
    ACCESSCURSORTYPE    4 ; USHORT Color, USHORT Direction, USHORT far *TypePacket
    ACCESSBLINK         4 ; USHORT Color, USHORT Direction, USHORT far *Blink
    ACCESSOVERSCAN      4 ; USHORT Color, USHORT Direction, USHORT far *Overscan
    ACCESSVIDEOENABLE   4 ; USHORT Color, USHORT Direction, USHORT far *VideoEnable
    ACCESSHARDWARE      7 ; REGADDRESS far *, USHORT WordByte, USHORT Color, USHORT Direction, REGDATA far *RegPacket
    ACCESSREGISTER      5 ; REGADDRESS far * Port, USHORT Direction, UCHAR far *RegValue
    CHARFONTEND         1 ; UCHAR Color

IMPORTS
;   OS2CHAR.BVHINSTANCE                                                 ;@T52
    BVHINSTANCE = OS2CHAR.148                                           ;@T52
