User Tools

Site Tools


cdc:nos2.source:nam5871:hpdbgst

HPDBGST

Table Of Contents

  • [00007] PRGM HPDBGST

Source Code

HPDBGST.txt
  1. *DECK HPDBGST
  2. USETEXT NIPDEF
  3. USETEXT PARAMP
  4. USETEXT MSGIDX
  5. USETEXT PIT
  6. USETEXT PT
  7. PRGM HPDBGST;
  8. STARTIMS;
  9. #
  10. *1DC HPDBGST
  11. *
  12. * 1. PROC NAME AUTHOR DATE
  13. * HPDBGST L. T. NGUYEN 82/06/15
  14. *
  15. * 2. FUNCTIONAL DESCRIPTION
  16. * PROCESS DBG/ST FROM APPLICATION
  17. *
  18. * 3. METHOD USED
  19. * LOOP THROUGH THE PIT TO INFORM ALL PIP TO HALT.
  20. *
  21. * 4. ENTRY PARAMETERS
  22. * NONE
  23. *
  24. * 5. EXIT PARAMETERS
  25. * NONE
  26. *
  27. * 6. COMDECKS CALLED AND SYMPL TEXTS USED
  28. * NIPDEF MSGIDX PIT
  29. * PT OPSIZE
  30. *
  31. * 7. ROUTINES AND OVERLAYS CALLED
  32. * ABORT - ABORT NIP
  33. * OMSG - DAYFILE MESSAGE
  34. * XTRACE - TRACE PROCEDURE CALL
  35. *
  36. * 8. DAYFILE MESSAGES AND OTHER IMPORTANT INFORMATION
  37. * "NIP RECEIVED DBG/ST"
  38. * W A R N I N G - THIS PROGRAM CANNOT EXCEED THE PRIMARY
  39. *CALL OPSIZE
  40. *
  41.  #
  42. STOPIMS;
  43. #
  44.   EXTERNAL REFS
  45.   #
  46. XREF LABEL RJMAIN ;
  47. XREF PROC XTRACE ; # XTRACE RECORD #
  48. XREF PROC ABORT ;
  49.  
  50. #
  51.   LOCAL PARAMS
  52.   #
  53. ITEM TEMP ;
  54. ITEM INDEX ;
  55.  
  56. BASED ARRAY PITNBTW S(1); # TEMPLATE FOR NBT ENTRY WD IN PIT #
  57. BEGIN
  58. ITEM PITNBTWH B(00,00,01); # HALT NPU FLAG #
  59. ITEM PITNBTWE U(00,30,06); # NBT TABLE ENTRY INDEX #
  60. ITEM PITNBTWA I(00,42,18); # NBT ENTRY ADDRESS #
  61. END
  62.  
  63. #**********************************************************************#
  64. CONTROL EJECT;
  65.  
  66. BEGIN # PHDBGST #
  67. XTRACE("DBGST") ;
  68.  
  69. #
  70.   LOOP THROUGH PIT LIST INFORMING TO ALL PIPS TO HALT THE NPU
  71. #
  72. FOR TEMP = 1 STEP 1 UNTIL MAXPIP
  73. DO # GO THRU ALL PIT ENTRIES #
  74. BEGIN
  75. IF PITPUF[TEMP] # IF PIT ENTRY IS USED #
  76. THEN
  77. BEGIN
  78. P<PITNBTW> = LOC(PITNBTE1[TEMP]);
  79. FOR INDEX = 0 STEP 1 UNTIL MAXNPU-1
  80. DO # LOOP THRU ALL FRONT-END NPU-S #
  81. BEGIN
  82. IF PITNBTWA[INDEX] NQ 0
  83. THEN
  84. PITNBTWH[INDEX] = TRUE; # SET HALT NPU FLAG #
  85. END
  86. END
  87. END
  88.  
  89. ABORT(DFMSG22,0); # ABORT NIP #
  90.  
  91. GOTO RJMAIN ;
  92.  
  93. END # HPDBGST #
  94. TERM
cdc/nos2.source/nam5871/hpdbgst.txt ยท Last modified: 2023/08/05 17:22 by Site Administrator