;*****************************************************
;*
;*	File Control Block Format
;*
;*****************************************************

fcb_dr		equ	byte ptr 0
fcb_name	equ	byte ptr fcb_dr + byte
fcb_type	equ	byte ptr fcb_name + fnamsiz

fcb_rofile	equ	byte ptr fcb_type	; high bits of
fcb_invis	equ	byte ptr fcb_rofile + byte ; these
fcb_reserved	equ	byte ptr fcb_invis + byte  ; fields

fcb_extnum	equ	byte ptr fcb_type + ftypsiz
fcb_ubytes	equ	byte ptr fcb_extnum + byte
fcb_modnum	equ	byte ptr fcb_ubytes + byte
fcb_reccnt	equ	byte ptr fcb_modnum + byte
fcb_dskmap	equ	byte ptr fcb_reccnt + byte

fpwdsiz		equ	8 * byte

fcb_passwd	equ	byte ptr fcb_dskmap
fcb_pptr	equ	word ptr fcb_passwd + fpwdsiz
fcb_plen	equ	byte ptr fcb_pptr + word

fcb_nxtrec	equ	byte ptr fcblen
fcb_ranrec	equ	word ptr fcb_nxtrec + byte
