;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Copyright (c) 2001-2002 TIMEX Corporation.
; 
; This document is the property of, and contains information proprietary to
; TIMEX Corporation.  It is to be returned upon request.  Reproduction by any
; means, disclosure, or use of its contents for other than the expressed
; purpose for which it is loaned, without the written consent of TIMEX
; Corporation, is strictly prohibited.
;
; File Name      : kstp.h
;
; Purpose        : Stopwatch Resource Header File
;
; Change History : 06/08/2000 RVD - Created file
;
; M851 Development:
;
;				   01/14/2002 RBR - Reused for M851
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
		  
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; STOPWATCH RESOURCE DEFINITIONS
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

KSTPERRORCODE				EQU		0ffH	   	; returned code if there is an error in a resource
												; function call

KSTPRUNOUTHUNDREDS			EQU		99H			; Stopwatch runout value for hundreds of seconds

KSTPRUNOUTSECONDS			EQU		59H			; Stopwatch runout value for seconds

KSTPRUNOUTMINUTES			EQU		59H			; Stopwatch runout value for minutes

KSTPRUNOUTHOURS				EQU		99H			; Stopwatch runout value for hours

KSTPFLAGSCLEAR				EQU 	00H			; All flags clear value for initialization	

KSTPCANCELPOPUPEVENTMASK    EQU     000H        ; mask to cancel popup and event generation

KSTPGENERATEPOPUPMASK       EQU     bKGeneratePopup ; mask to setup popup generation

KSTPGENERATEEVENTMASK       EQU     bKGenerateEvent ; mask to setup event generation

KSTPPOPUPEVENTMASKOFF		EQU		~(bKGeneratePopup | bKGenerateEvent)	
												; mask of popup and event bits



KRESSTPReferenceCountBuffer	 equ  KRESBuffer