User Tools

Site Tools


cdc:nos2.source:nam5871:sssesp

SSSESP

Table Of Contents

  • [00003] PROC SSSESP (ACTIVE)
  • [00004] SSSESP - EXECUTE STATUS PROGRAM.
  • [00008] EXECUTE STATUS PROGRAM.
  • [00039] PROC SSSCRR

Source Code

SSSESP.txt
  1. *DECK SSSESP
  2. USETEXT TEXTSS
  3. PROC SSSESP (ACTIVE);
  4. # TITLE SSSESP - EXECUTE STATUS PROGRAM. #
  5.  
  6. BEGIN # SSSESP #
  7. #
  8. ** SSSESP - EXECUTE STATUS PROGRAM.
  9. *
  10. * S. H. FISCHER. 81/08/31.
  11. *
  12. * THIS ROUTINE CHECKS EACH *SWLE* FOR FIRED (NEED TO EXECUTE)
  13. * CONDITION, IF ONE HAS FIRED THEN IT IS EXECUTED. ONLY ONE *SWLE*
  14. * WILL BE EXECUTED FOR EACH CALL.
  15. *
  16. * ENTRY NONE.
  17. *
  18. * EXIT ACTIVE = TRUE IF ONE *SWLE* WAS EXECUTED.
  19. *
  20. *
  21. * METHOD FOR EACH *SWLE* COMPARE CURRENT CONTENTS WITH INITIAL
  22. * CONTENTS FOR THE PAIR OF ADDRESSED ASSOCIATED WITH
  23. * EACH ENTRY. IF THEY DIFFER THE ROUTINE ADDRESS
  24. * IN THE ENTRY MUST BE CALLED. UPON RETURN NEW
  25. * VALUES HAVE BEEN INSERTED INTO THE ENTRY BY THE
  26. * CALLED ROUTINE.
  27. *
  28. *
  29. #
  30.  
  31.  
  32.  
  33.  
  34. #
  35. **** PROC SSSESP XREF LIST.
  36. #
  37. XREF
  38. BEGIN
  39. PROC SSSCRR; # CALL REQUESTED ROUTINE #
  40. END
  41. #
  42. ****
  43. #
  44.  
  45.  
  46.  
  47.  
  48. ITEM ACTIVE B;
  49. ITEM I ;
  50.  
  51. BASED ARRAY TESTW[00:00] S(1);
  52. ITEM TESTW$WORD U(00,00,60);
  53.  
  54.  
  55.  
  56.  
  57. ACTIVE = FALSE;
  58.  
  59. FOR I = 0 STEP 1
  60. UNTIL SWTA - 1
  61. DO
  62. BEGIN
  63. P<TESTW> = SWT$ADDR1[I];
  64. IF TESTW$WORD[0] NQ SWT$INIT1[I]
  65. THEN
  66. BEGIN
  67. ACTIVE = TRUE;
  68. SSSCRR (SWT[I]);
  69. RETURN;
  70. END
  71. IF SWT$ADDR2[I] NQ 0
  72. THEN
  73. BEGIN
  74. P<TESTW> = SWT$ADDR2[I];
  75. IF TESTW$WORD[0] NQ SWT$INIT2[I]
  76. THEN
  77. BEGIN
  78. ACTIVE = TRUE;
  79. SSSCRR (SWT[I]);
  80. RETURN;
  81. END
  82. END
  83. END
  84.  
  85.  
  86.  
  87.  
  88.  
  89. END # SSSESP #
  90. TERM
cdc/nos2.source/nam5871/sssesp.txt ยท Last modified: 2023/08/05 17:23 by Site Administrator