Files
Sepp J Morris 31738079c4 Upload
Digital Research
2020-11-06 18:50:37 +01:00

109 lines
1.9 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

;*****************************************************
;*
;* 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.
;*
;*****************************************************
eseg
org 0
RW 1
;u_dparam rw 1 ; arg to dispatch
; this area overlays part of BDOS
u_dma_ofst rw 1 ; BDOS dma offset
u_dma_seg rw 1 ; BDOS dma segment
u_func rb 1 ; actual function number
RB 1
;u_searchl rb 1 ; BDOS search length
RW 1
;u_searcha rw 1 ; BDOS search FCB offset
RW 1
;u_searchabase rw 1 ; BDOS search user's segment
RW 1
;u_dcnt rw 1 ; BDOS directory count
RW 1
;u_dblk rw 1 ; BDOS directory block #
u_error_mode rb 1 ; BDOS error mode
u_mult_cnt rb 1 ; BDOS multi-sector count
RB 8
;u_df_password rb 8 ; BDOS default password
u_pd_cnt rb 1 ; BDOS process count
uda_ovl_len equ (offset $)-(offset u_dma_ofst)
; end of overlay area
RB 1
;u_in_int rb 1
RW 1
;u_sp rw 1 ; save register area
RW 1
;u_ss rw 1
RW 1
;u_ax rw 1
RW 1
;u_bx rw 1
RW 1
;u_cx rw 1
RW 1
;u_dx rw 1
RW 1
;u_di rw 1
RW 1
;u_si rw 1
RW 1
;u_bp rw 1
u_wrkseg rw 1 ; curr seg addr of buf
u_retseg rw 1 ; usr ES return
RW 1
;u_ds_sav rw 1 ;\
RW 1
;u_stack_sp rw 1 ; usr stack segment
RW 1
;u_stack_ss rw 1 ; usr stack pointer
RW 10
;u_ivectors rw 10 ; save int 0-4
RW 1
;u_es_sav rw 1 ; > Used during interrupts
RW 1
;u_flag_sav rw 1 ;/
RW 1
;u_initcs rw 1
RW 1
;u_initds rw 1
RW 1
;u_inites rw 1
RW 1
;u_initss rw 1
RW 1
;u_mpm_ip rw 1 ; MPM vec save
RW 1
;u_mpm_cs rw 1
RW 1
;u_debug_ip rw 1 ; RTS,Debug Vector Save
RW 1
;u_debug_cs rw 1
RB 1
;u_insys rb 1 ; # times through user_entry
RB 1
;u_stat_sav rb 1
u_conccb rw 1
RW 1
;u_lstccb rw 1