X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;ds=sidebyside;f=mim%2Fdevelopment%2Fmim%2Fvax%2Fmimlib%2Fvaxdefs.mud;fp=mim%2Fdevelopment%2Fmim%2Fvax%2Fmimlib%2Fvaxdefs.mud;h=2816464e442325273aed288c05fecd0c22f19e08;hb=d73ace3f3292e320b461b8fcd2e9f5dc5d9684d7;hp=0000000000000000000000000000000000000000;hpb=d530283ea60fb0ddcc28e9c5bd072456afe06e07;p=pdp10-muddle.git diff --git a/mim/development/mim/vax/mimlib/vaxdefs.mud b/mim/development/mim/vax/mimlib/vaxdefs.mud new file mode 100644 index 0000000..2816464 --- /dev/null +++ b/mim/development/mim/vax/mimlib/vaxdefs.mud @@ -0,0 +1,154 @@ + + + + + +; "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" + ; "regular" + ; "MPX char special" + ; "MPX block special" + +; "Rest of mode field goes by chmod bits" + +; "Device types. Code is file-mode, or'ed with major device number." + FIX>> + FIX>> + FIX>> + FIX>> "???" + FIX>> + FIX>> + FIX>> + FIX>> + FIX>> + FIX>> + FIX>> + FIX>> + FIX>> + FIX>> + FIX>> + FIX>> + FIX>> + FIX>> + FIX>> + FIX>> + FIX>> + +; "STATUS BITS" + + + + + + +; "BYTE SIZE GOES IN LH" + + + + + + + + + + + + + +