
;*****************************************************
;*
;*	User Data Area - The User Data Area is an
;*	extension of the process descriptor but it
;*	travels with the user.	It contains info
;*	that is needed only while in context.
;*
;*	While in the operating system, The Extra
;*	Segment register points to the beginning
;*	of the User Data Area.
;*
;*****************************************************

;u_dparam	equ	es:word ptr .000h ; arg to dispatch

;	this area overlays part of BDOS

u_dma_ofst	equ	es:word ptr .002h ; BDOS dma offset
u_dma_seg	equ	es:word ptr .004h ; BDOS dma segment
u_func		equ	es:byte ptr .006h ; actual function number
;u_searchl	equ	es:byte ptr .007h ; BDOS search length
;u_searcha	equ	es:word ptr .008h ; BDOS search FCB offset
;u_searchabase	equ	es:word ptr .00Ah ; BDOS search user's segment
;u_dcnt		equ	es:word ptr .00Ch ; BDOS directory count
;u_dblk		equ	es:word ptr .00Eh ; BDOS directory block #
u_error_mode	equ	es:byte ptr .010h ; BDOS error mode
u_mult_cnt	equ	es:byte ptr .011h ; BDOS multi-sector count
;u_df_password	equ	es:byte ptr .012h ; BDOS default password
u_pd_cnt	equ	es:byte ptr .01Ah ; BDOS process count
uda_ovl_len	equ	19h

;	end of overlay area

;u_in_int	equ	es:byte ptr .01Bh
;u_sp		equ	es:word ptr .01Ch ; save register area
;u_ss		equ	es:word ptr .01Eh
;u_ax		equ	es:word ptr .020h
;u_bx		equ	es:word ptr .022h
;u_cx		equ	es:word ptr .024h
;u_dx		equ	es:word ptr .026h
;u_di		equ	es:word ptr .028h
;u_si		equ	es:word ptr .02Ah
;u_bp		equ	es:word ptr .02Ch
u_wrkseg	equ	es:word ptr .02Eh ; curr seg addr of buf
u_retseg	equ	es:word ptr .030h ; usr ES return
;u_ds_sav	equ	es:word ptr .032h ;\
;u_stack_sp	equ	es:word ptr .034h ; usr stack segment
;u_stack_ss	equ	es:word ptr .036h ; usr stack pointer
;u_ivectors	equ	es:word ptr .038h ; save int 0-4
;u_es_sav	equ	es:word ptr .04Ch ; > Used during interrupts
;u_flag_sav	equ	es:word ptr .04Eh ;/
;u_initcs	equ	es:word ptr .050h
;u_initds	equ	es:word ptr .052h
;u_inites	equ	es:word ptr .054h
;u_initss	equ	es:word ptr .056h
;u_mpm_ip	equ	es:word ptr .058h ; MPM vec save
;u_mpm_cs	equ	es:word ptr .05Ah
;u_debug_ip	equ	es:word ptr .05Ch ; RTS,Debug Vector Save
;u_debug_cs	equ	es:word ptr .05Eh
;u_insys	equ	es:byte ptr .060h ; # times through user_entry
;u_stat_sav	equ	es:byte ptr .061h
u_conccb	equ	es:word ptr .062h
;u_lstccb	equ	es:word ptr .064h
;u_delim	equ	es:byte ptr .066h
u_ioexerr	equ	es:byte ptr .067h ;extended IOS error for PCMODE
