Files
Digital-Research-Source-Code/MPM OPERATING SYSTEMS/MPM-86/MPM-86 2.0 SOURCES/02/FCB.DEF
Sepp J Morris 31738079c4 Upload
Digital Research
2020-11-06 18:50:37 +01:00

29 lines
896 B
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.

;*****************************************************
;*
;* 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