X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;ds=sidebyside;f=mim%2Fmim%2Fmimlib%2Fmacdefs.mud;fp=mim%2Fmim%2Fmimlib%2Fmacdefs.mud;h=a8b81efafd1748143729cd8f0c27b275fccf4384;hb=d73ace3f3292e320b461b8fcd2e9f5dc5d9684d7;hp=0000000000000000000000000000000000000000;hpb=d530283ea60fb0ddcc28e9c5bd072456afe06e07;p=pdp10-muddle.git diff --git a/mim/mim/mimlib/macdefs.mud b/mim/mim/mimlib/macdefs.mud new file mode 100644 index 0000000..a8b81ef --- /dev/null +++ b/mim/mim/mimlib/macdefs.mud @@ -0,0 +1,199 @@ + + + + + +; "ARGS TO INTERNAL TIMER CALLS" + + + + + + + + + + +; "SPECIAL FILE DESCRIPTORS" + + + + + +; "OPEN MODES" + ; "Read, no write" + ; "Write, no read (never used)" + ; "Read/write" + ; "Never block on open" + ; "Append on each write" + + ; "Create if file doesn't exist" + ; "Truncate size to 0" + ; "Error if create and file exists" + + +; "FILE MODES" + + + + + + + + + + + + + + + + + + + + + + +; "LSH BY THIS AMOUNT TO GET TO OWNER FIELD" + + + + +; "MODES FOR ACCESS" + + + + + + + + + + +; "If STAT into a string, offsets of critical things" + + + + + + + ; "2 bytes" + + ; "2 bytes" + + + + + + + + + + ; "4 bytes long" + + ; "4 bytes" + + + + + + + + ; "Length of needed string" + +; "Interpretation of mode field" + ; "Andb with this to get file mode" + ; "Directory" + ; "Character special" + ; "block special" + ; "fifo (pipe)" + ; "regular" + ; "Symbolic link" + +; "Rest of mode field goes by chmod bits" + +; "Code is computed from device type, major device, and device ID (only + for special files)" + FIX>> + FIX>> + FIX>> "???" + FIX>> + FIX>> + FIX>> + + + FIX>> +> FIX>> + FIX>> + FIX>> + FIX>> + FIX>> + +; "STATUS BITS" + + + + + + +; "BYTE SIZE GOES IN LH" + + + + + + +; "Offsets into DIRECT structure, as used by getdirentries call" + + + + + + + + + + + + FORM>>>> + ) + ( + ) + (T + >)> + +
24> + > 16> + > 8> + >>) + ("VAX" + + > 8> + > 16> + > 24>>)>) + (<==? .SIZE 2> + 8> + >>) + ("VAX" + + > 8>>)>) + (T + FIX>)>> + + > + ) + (T + .MAIN)>> \ No newline at end of file