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
ref_num ds.w 1
id ds.w 1 ; ref num
path_name ds.l 1
fst_id ds.w 1
vol_id ds.w 1
vcr_id ds.w 1
level ds.w 1
newline ds.l 1
newline_length ds.w 1
@ -41,7 +41,7 @@ access ds.w 1
; fst-specific items
ino ds.w 1
inode ds v1_inode
disk_inode ds v1_inode
dirty ds.w 1
mark ds.l 1 ; current position

View File

@ -128,16 +128,18 @@ DIRSIZE equ 30
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_IFREG equ $8000 ; regular
S_IFBLK equ $6000 ; block special
S_IFDIR equ $4000 ; directory
S_IFCHR equ $2000 ; character special
S_IFIFO equ $1000 ; this is a FIFO
S_ISUID equ $0800 ; set user id on execution
S_ISGID equ $0400 ; set group id on execution
S_IRWXU equ $01c0 ; owner: rwx------
S_IRUSR equ $0100 ; owner: r--------
S_IWUSR equ $0080 ; owner: -w-------