User Tools

Site Tools


cdc:nos2.source:nam5871:nvfibrt

NVFIBRT

Table Of Contents

  • [00005] PROC NVFIBRT
  • [00006] BUILD ROLLOUT TABLE
  • [00009] BUILD ROLLOUT TABLE

Source Code

NVFIBRT.txt
  1. *DECK NVFIBRT
  2. USETEXT TEXTSS
  3. USETEXT TXTANVF
  4. USETEXT TXVCBNV
  5. PROC NVFIBRT;
  6. # TITLE - BUILD ROLLOUT TABLE #
  7. BEGIN
  8. #
  9. ** NVFIBRT - BUILD ROLLOUT TABLE
  10. *
  11. * D.K. ENDO 82/04/26
  12. *
  13. * THIS PROCEDURE BUILDS THE ROLLOUT TABLE FOR NVF.
  14. *
  15. * PROC NVFIBRT
  16. *
  17. * ENTRY 1. NONE.
  18. *
  19. * EXIT 1. NONE.
  20. *
  21. #
  22.  
  23.  
  24. DEF MAX$RT # 03 #; # MAXIMUM NUMBER OF ENTRIES IN ROLLOUT TBL#
  25.  
  26.  
  27. ITEM I; # LOOP INDUCTION VARIABLE #
  28. CONTROL EJECT;
  29. # #
  30. # NVFIBRT CODE BEGINS HERE #
  31. # #
  32. #
  33. * CLEAR THE ROLLOUT TABLE.
  34. * ENTER THE NUMBER OF ENTRIES IN THE TABLE. FOR THE NSUP WORD AND
  35. * THE VCB FET, THE ROLLOUT FLAG, AND THE CPM BLOCK, ENTER THE
  36. * COMPLETE BIT POSTION AND THE ADDRESS, INTO THE TABLE.
  37. * SET COMPLETE BIT IN CPM REQUEST BUFFER.
  38. #
  39.  
  40.  
  41. FOR I=0 STEP 1 UNTIL NRT$
  42. DO
  43. BEGIN
  44. RT$WORD[I] = 0;
  45. END
  46.  
  47.  
  48. RT$EC[0] = MAX$RT;
  49.  
  50.  
  51. RT$BPOS[1] = 0;
  52. RT$WADD[1] = LOC(NSUP);
  53.  
  54.  
  55. RT$BPOS[2] = 59;
  56. RT$WADD[2] = LOC(VCBFET);
  57.  
  58.  
  59. RT$BPOS[3] = 59;
  60. RT$WADD[3] = LOC(CPMBUF);
  61.  
  62.  
  63.  
  64.  
  65. CPB$CBIT[0] = TRUE;
  66.  
  67.  
  68. RETURN; # **** RETURN **** #
  69. END # NVFIBRT #
  70. TERM
cdc/nos2.source/nam5871/nvfibrt.txt ยท Last modified: 2023/08/05 17:22 by Site Administrator