User Tools

Site Tools


cdc:nos2.source:nam5871:com_ns

COM$NS

Table Of Contents

  • [00002] PROC COM$NS
  • [00003] COM$NS - GLOBAL COMMON BLOCK.
  • [00007] SYMPL TEXT FOR NS GLOBAL COMMON BLOCK.

Source Code

COM$NS.txt
  1. *DECK COM$NS
  2. PROC COM$NS; # GLOBAL COMMON BLOCK AREA #
  3. # TITLE COM$NS - GLOBAL COMMON BLOCK. #
  4.  
  5. BEGIN # COM$NS #
  6. #
  7. ** COM$NS - SYMPL TEXT FOR NS GLOBAL COMMON BLOCK.
  8. *
  9. * J.C. LEE 1981
  10. *
  11. * THIS SYMPL TEXT CONTAINS MAINLY A COMMON BLOCK OF
  12. * SYMBOL AND ARRAY DEFINITIONS USED THROUGHOUT THE
  13. * NS PROGRAM.
  14. *
  15. #
  16. CONTROL STEXT;
  17. COMMON COM$COM;
  18. BEGIN # COM$COM #
  19. ITEM NIN C(3); # NETWORK INOCATION NUMBER IN DISPLAY DEC #
  20. ITEM NDF$CT I; # FILE CATEGORY OF NPU DUMP FILE #
  21. ITEM NSM U; # NETWORK STARTUP MODE #
  22. ITEM MC U; # DEBUG LOG FILE MESSAGE COUNT #
  23. ITEM RT U; # RELEASE TRACE FILE OPTION #
  24. ITEM DN U; # NPU DUMP FILE INDEX #
  25. ITEM GRADSHUT B; # GRADUAL SHUTDOWN FLAG #
  26. ITEM FORCESHUT B; # FORCE SHUTDOWN FLAG #
  27. ITEM MAX$PW I; # LEFT K-DISPLAY PAGE LENGTH #
  28. ITEM MAX$RPW I; # RIGHT K-DISPLAY PAGE LENGTH #
  29. ITEM NSNETON B; # SET IF NS NETTED ON #
  30. ITEM NSINITDONE B; # SET IF INITIALIZATION COMPLETED #
  31. ITEM HISTSBN U; # HISTORY BUFFER TSB NUMBER #
  32. ITEM MODE$DEBUG B; # SET IF DEBUG MODE ACTIVATED #
  33. ITEM NATTSBN U; # NAT TSB NUMBER #
  34. ITEM NCTTSBN U; # NODE CONNECTION TABLE TSB NUMBER #
  35. ITEM NLFINDTSBN U; # NLF INDEX RECORD TSB NUMBER #
  36. ITEM NMTIME U; # TIME TO REVERT TO NM MODE #
  37. ITEM NPTTSBN U; # NPU TABLE TSB NUMBER #
  38. ITEM CURTIME U; # CURRENT TIME IN SECONDS #
  39. ARRAY DISPLAYCW [0:0] S(1);
  40. BEGIN # K-DISPLAY CONTROL WORD #
  41. ITEM DCW$WORD U(00,00,60); # WHOLE WORD #
  42. ITEM DCW$F$SKD B(00,00,01); # SET IF K-DISPLAY DATA TO SEND #
  43. ITEM DCW$F$IA B(00,01,01); # SET IF INPUT IS ALLOWED #
  44. ITEM DCW$F$PWM B(00,02,01); # SET IF PAGE WAIT MODE IS ON #
  45. ITEM DCW$F$IG B(00,03,01); # SET IF NAM IGNORES ALERT #
  46. ITEM DCW$F$ASS B(00,04,02); # SET IF K-DISPLAY ASSIGNED #
  47. ITEM DCW$F$HIS B(00,04,01); # SET IF HISTORY DISPLAY IS ON #
  48. ITEM DCW$F$STS B(00,05,01); # SET IF STATUS DISPLAY IS ON #
  49. ITEM DCW$F$PAGE B(00,06,01); # SET IF MORE DATA .. IS SENT #
  50. ITEM DCW$KDBTSB U(00,12,12); # K-DISPLAY BUFFER TSB NUMBER #
  51. ITEM DCW$PWBTSB U(00,24,12); # PAGE-WAIT BUFFER TSB NUMBER #
  52. ITEM DCW$LC U(00,42,18); # K-DISPLAY CURRENT LINE COUNT #
  53. END
  54. ARRAY NSUPWORD [0:0] S(1);
  55. BEGIN
  56. ITEM NSU$WORD U(00,00,60); # WHOLE WORD #
  57. ITEM NSU$C B(00,00,01); # COMPLETE BIT #
  58. ITEM NSU$N B(00,02,01); # NAM AVAILABLE BIT #
  59. ITEM NSU$I B(00,03,01); # INPUT AVAIALBLE BIT #
  60. ITEM NSU$S B(00,04,01); # SUPERVISORY MESSAGE AVAIL BIT #
  61. ITEM NSU$MC U(00,30,30); # DEBUG LOG FILE MESSAGE COUNT #
  62. END
  63. ARRAY LOADTSBWRD [0:0] S(1);
  64. BEGIN # LOAD TSB WORD #
  65. ITEM LTW$WORD U(00,00,60); # WHOLE WORD #
  66. ITEM LTW$ACOUNT U(00,00,18); # LOAD TSB ACTIVITY COUNT #
  67. ITEM LTW$ZERO1 U(00,18,30); # NOT USED #
  68. ITEM LTW$LTSBN U(00,48,12); # LOAD TSB NUMBER #
  69. END
  70. ARRAY NSVERSION [0:0] S(2);
  71. BEGIN
  72. ITEM NSVER C(00,00,15); # NS VERSION STRING #
  73. ITEM PRNAME C(00,00,07); # PROGRAM NAME #
  74. ITEM PRVER C(00,42,03); # PROGRAM VERSION NUMBER #
  75. ITEM PRLEV C(01,00,05); # PROGRAM MODIFICATION LEVEL #
  76. END
  77. ARRAY NSZDMBID [0:0] S(1);
  78. BEGIN # IDENTIFIER FOR NS DUMP RECORDS ON ZZZZDMB FILE #
  79. ITEM ZDMBID U(00,42,18); # DUMP RECORD ID #
  80. ITEM ZDMBID$NIN U(00,42,09); # 3 OCTAL DIGITS NIN #
  81. ITEM ZDMBID$PID U(00,51,06); # 2 OCTAL DIGITS PROCESSOR ID #
  82. ITEM ZDMBID$DN U(00,57,03); # DUMP NUMBER #
  83. END
  84. ITEM NRF1$LFN C(10); # ZERO-FILLED LFN FOR NRF1 #
  85. ITEM NRF2$LFN C(10); # ZERO-FILLED LFN FOR NRF2 #
  86. END # COM$COM #
  87. END # COM$NS #
  88. TERM
cdc/nos2.source/nam5871/com_ns.txt ยท Last modified: 2023/08/05 17:21 by Site Administrator