updated equates

This commit is contained in:
Kelvin Sherlock 2015-08-12 11:25:55 -04:00
parent af15da065a
commit fa03b426f1
3 changed files with 20 additions and 18 deletions

View File

@ -28,10 +28,10 @@ disk_inode ds v1_inode
fcr record 0 fcr record 0
ref_num ds.w 1 id ds.w 1 ; ref num
path_name ds.l 1 path_name ds.l 1
fst_id ds.w 1 fst_id ds.w 1
vol_id ds.w 1 vcr_id ds.w 1
level ds.w 1 level ds.w 1
newline ds.l 1 newline ds.l 1
newline_length ds.w 1 newline_length ds.w 1
@ -41,7 +41,7 @@ access ds.w 1
; fst-specific items ; fst-specific items
ino ds.w 1 ino ds.w 1
inode ds v1_inode disk_inode ds v1_inode
dirty ds.w 1 dirty ds.w 1
mark ds.l 1 ; current position mark ds.l 1 ; current position

View File

@ -238,25 +238,25 @@ dev_dib_ptr ds.l 1 ; pointer to DIB
; gs/os direct page. ; gs/os direct page.
fst_parms record $0030 fst_parms record $0030
call_number ds.w 1 ; FST call number call_number ds.w 1 ; FST call number
param_blk_ptr ds.l 1 ; pointer to user's parameter block param_blk_ptr ds.l 1 ; pointer to user's parameter block
;dev_num ; device number from parameter block ;dev_num ; device number from parameter block
dev1_num ds.w 1 ; alias name for dev_num dev1_num ds.w 1 ; alias name for dev_num
dev2_num ds.w 1 ; second device number dev2_num ds.w 1 ; second device number
path1_ptr ; ptr to 1st partial/entire pathname path1_ptr ; ptr to 1st partial/entire pathname
fcr_ptr ds.l 1 ; pointer to file control record fcr_ptr ds.l 1 ; pointer to file control record
path2_ptr ; ptr to 2nd partial/entire pathname path2_ptr ; ptr to 2nd partial/entire pathname
vcr_ptr ds.l 1 ; pointer to volume control record vcr_ptr ds.l 1 ; pointer to volume control record
path_flag ds.w 1 ; flag for path information path_flag ds.w 1 ; flag for path information
span1 ds.w 1 ; largest distance between path1 term. span1 ds.w 1 ; largest distance between path1 term.
span2 ds.w 1 ; max dist. between separators for path2 span2 ds.w 1 ; max dist. between separators for path2
endr endr

View File

@ -128,16 +128,18 @@ DIRSIZE equ 30
S_IFMT equ $f000 ; type of file S_IFMT equ $f000 ; type of file
S_IFWHT equ $e000 ; union white out.
S_IFSOCK equ $c000 ; unix domain socket
S_IFLNK equ $a000 ; symbolic link, not implemented S_IFLNK equ $a000 ; symbolic link, not implemented
S_IFREG equ $8000 ; regular S_IFREG equ $8000 ; regular
S_IFBLK equ $6000 ; block special S_IFBLK equ $6000 ; block special
S_IFDIR equ $4000 ; directory S_IFDIR equ $4000 ; directory
S_IFCHR equ $2000 ; character special S_IFCHR equ $2000 ; character special
S_IFIFO equ $1000 ; this is a FIFO S_IFIFO equ $1000 ; this is a FIFO
S_ISUID equ $0800 ; set user id on execution S_ISUID equ $0800 ; set user id on execution
S_ISGID equ $0400 ; set group id on execution S_ISGID equ $0400 ; set group id on execution
S_IRWXU equ $01c0 ; owner: rwx------ S_IRWXU equ $01c0 ; owner: rwx------
S_IRUSR equ $0100 ; owner: r-------- S_IRUSR equ $0100 ; owner: r--------
S_IWUSR equ $0080 ; owner: -w------- S_IWUSR equ $0080 ; owner: -w-------