User Tools

Site Tools


cdc:nos2.source:nam5871:dir_ns

DIR$NS

Table Of Contents

  • [00002] PROC DIR$NS
  • [00003] DIR$NS - NLF/NCF DIRECTORY FORMATS/DEFS.
  • [00007] NLF/NCF DIRECTORY FORMATS/DEFS.

Source Code

DIR$NS.txt
  1. *DECK DIR$NS
  2. PROC DIR$NS; # NLF/NCF DIRECTORY FORMATS/DEFS #
  3. # TITLE DIR$NS - NLF/NCF DIRECTORY FORMATS/DEFS. #
  4.  
  5. BEGIN # DIR$NS #
  6. #
  7. ** DIR$NS - NLF/NCF DIRECTORY FORMATS/DEFS.
  8. *
  9. * J.C. LEE 1981
  10. *
  11. * THIS SYMPL TEXT CONTAINS NLF/NCF DIRECTORY
  12. * FORMATS/DEFS.
  13. *
  14. #
  15. CONTROL STEXT;
  16. DEF DIR$IDENT # O"7000" #; # OPLD IDENTIFIER #
  17. DEF DIR$HDRL # 2 #; # DIRECTORY HEADER LENGTH #
  18. DEF DIR$ENTRYL # 2 #; # DIRECTORY ENTRY LENGTH #
  19. DEF DIR$RT$FH # O"7700" #; # FILE HEADER RECORD TYPE #
  20. DEF DIR$RT$NC # O"1603" #; # NCB RECORD TYPE #
  21. DEF DIR$RT$NX # O"1630" #; # NPU XREF TABLE RECORD TYPE #
  22. DEF DIR$RT$PH # O"2010" #; # PHYLINK TABLE RECORD TYPE #
  23. COMMON DIR$COM;
  24. BEGIN # DIR$COM #
  25. ITEM NLFDIRFWA U; # FWA OF DEFAULT NLF DIRECTORY RECORD #
  26. BASED ARRAY DIR [0:0] S(DIR$HDRL);
  27. BEGIN # OPLD DIRECTORY #
  28. ITEM DIR$HDRWD1 U(00,00,60); # HEADER WORD ONE #
  29. ITEM DIR$HDRWD2 U(01,00,60); # HEADER WORD TWO #
  30. ITEM DIR$ID U(00,00,12); # SET TO 7000 #
  31. ITEM DIR$ZERO U(00,12,12); # ZEROED #
  32. ITEM DIR$FID C(00,42,03); # FILE ID, "NCF" OR "NLF" #
  33. ITEM DIR$WC U(01,48,12); # DIRECTORY LENGTH #
  34. ITEM DIR$NLFEW1 U(00,00,60); # NLF DIRECTORY ENTRY WORD ONE #
  35. ITEM DIR$RNAME C(00,00,06); # RECORD NAME IN DISPLAY CODE #
  36. ITEM DIR$NCFEW1 U(00,00,60); # NCF DIRECTORY ENTRY WORD ONE #
  37. ITEM DIR$NCFRT U(00,00,12); # NCF RECORD TYPE #
  38. ITEM DIR$NCFNID U(00,12,08); # NPU NODE NUMBER #
  39. ITEM DIR$NCBSZ U(00,20,16); # NCB SIZE #
  40. ITEM DIR$EW2 U(01,00,60); # DIRECTORY ENTRY WORD TWO #
  41. ITEM DIR$RL U(01,00,30); # RECORD LENGTH #
  42. ITEM DIR$RSA U(01,30,30); # RELATIVE SECTOR ADDRESS #
  43. END
  44. END # DIR$COM #
  45. END # DIR$NS #
  46. TERM
cdc/nos2.source/nam5871/dir_ns.txt ยท Last modified: 2023/08/05 17:22 by Site Administrator