;*DDK*************************************************************************/
;
; COPYRIGHT    Copyright (C) 1995 IBM Corporation
;
;    The following IBM OS/2 WARP source code is provided to you solely for
;    the purpose of assisting you in your development of OS/2 WARP device
;    drivers. You may use this code in accordance with the IBM License
;    Agreement provided in the IBM Device Driver Source Kit for OS/2. This
;    Copyright statement may not be removed.;
;*****************************************************************************/
;***********************************************************************
;*                                                                     *
;*   DO NOT EDIT THIS FILE                                             *
;*                                                                     *
;*  This file is automatically generated from the .h version.          *
;*  Any changes will be lost the next time it is remade.               *
;*                                                                     *
;*  All changes should be made in the .h version of the file.          *
;*                                                                     *
;***********************************************************************
MAXBPP	EQU	16 
MAXDIMN	EQU	64 

SOFTWARECURSOR	STRUC
sc_bm	DD	?
sc_andmask	DD	?
sc_xormask	DD	?
sc_screen	DD	?
sc_coord	DB	SIZE POINTS DUP (?)
sc_used	DB	SIZE POINTS DUP (?)
sc_defnsize	DB	SIZE POINTS DUP (?)
sc_hwsize	DB	SIZE POINTS DUP (?)
sc_hwusedsize	DB	SIZE POINTS DUP (?)
sc_XcludeRect	DB	SIZE RECTL DUP (?)
SOFTWARECURSOR	ENDS
ifdef S3

S3CLR	STRUC
s3clr_clr8	DB	?
s3clr_clr16	DB	?
s3clr_clr24	DB	?
S3CLR	ENDS
endif

CURSORDATA	STRUC
cd_pGlobalCursorCode	DD	?
cd_pGlobalCursorData	DD	?
cd_cursor_x	DD	?
cd_cursor_y	DD	?
cd_cursor_adjust	DD	?
cd_new_cursor_x	DD	?
cd_new_cursor_y	DD	?
cd_savedusedsize	DD	?
cd_cursor_status	DD	?
cd_sprite_byte_width	DD	?
cd_hotspot_x	DD	?
cd_hotspot_y	DD	?
cd_cursor_height	DD	?
cd_cursor_width	DD	?
cd_software_cursor	DB	SIZE SOFTWARECURSOR DUP (?)
cd_draw_sprite_x	DD	?
cd_draw_sprite_y	DD	?
cd_draw_sprite_flags	DD	?
cd_draw_sprite_hot_x	DD	?
cd_draw_sprite_hot_y	DD	?
cd_draw_sprite_addr	DD	?
cd_draw_sprite_width	DD	?
cd_draw_sprite_height	DD	?
ifndef S3
cd_draw_sprite_col1	DB	SIZE RGB2 DUP (?)
cd_draw_sprite_col2	DB	SIZE RGB2 DUP (?)
else
cd_draw_sprite_col1	DB	SIZE S3CLR DUP (?)
cd_draw_sprite_col2	DB	SIZE S3CLR DUP (?)
endif
cd_memory_registers	DD	?
cd_io_registers	DD	?
cd_polling_register	DD	?
cd_bank_values	DD	?
cd_adapter_id	DD	?
cd_cursor_bits	DB	MAXDIMN * MAXDIMN * 2 / 8 DUP (?)
cd_screen_hw_format	DD	?
cd_screen_hw_size	DD	?
cd_screen_address	DD	?
cd_savedcoords	DD	?
cd_cursor_hwscan	DD	?
cd_cursor_hwvram	DD	?
cd_cursor_bm	DB	MAXDIMN * MAXDIMN * MAXBPP / 8 DUP (?)
cd_cursor_screen	DB	MAXDIMN * MAXDIMN * MAXBPP / 8 DUP (?)
cd_cursor_andmask	DB	MAXDIMN * MAXDIMN / 8 DUP (?)
cd_cursor_xormask	DB	MAXDIMN * MAXDIMN / 8 DUP (?)
CURSORDATA	ENDS
CURSOR_NOTBUSY	EQU	00H 
CURSOR_BUSY	EQU	01H 
CURSOR_EXCLUDED	EQU	02H 
CURSOR_MOVED	EQU	04H 
CURSOR_VISIBLE	EQU	08H 
CURSOR_COLOUR	EQU	10H 
CURSOR_REDRAW	EQU	20H 
CURSOR_HWINUSE	EQU	40H 
CURSOR_SOFTWARE	EQU	80H 
CURSOR_XREGION	EQU	100H 
ifdef S3
CURSOR_DRVR_IN_LA	EQU	200H 
endif
SPRITE_VISIBLE	EQU	0 
SPRITE_INVISIBLE	EQU	1 
ifdef S3
S3_NDX_PORT	EQU	3D4H 
S3_RW_PORT	EQU	3D5H 
S3_LAW_CTL	EQU	58H 
S3_EX_SCTL_2	EQU	51H 
S3_CRTR_LOCK	EQU	35H 
S3_CONFIG_REG1	EQU	36H 
S3_LINEAR_ADDRESSING	EQU	10H 
S3_WITH_BROOK_DAC	EQU	01H 
S3_WITH_ATT_DAC	EQU	02H 
S3_WITH_MUSIC_DAC	EQU	04H 
endif
