User Tools

Site Tools


cdc:nos2.source:nam5871:ltsb_ns

LTSB$NS

Table Of Contents

  • [00002] PROC LTSB$NS
  • [00004] LTSB$NS - LOAD TSB TEXT.
  • [00008] LOAD TSB TEXT.

Source Code

LTSB$NS.txt
  1. *DECK LTSB$NS
  2. PROC LTSB$NS;
  3.  
  4. # TITLE LTSB$NS - LOAD TSB TEXT. #
  5.  
  6. BEGIN # LTSB$NS #
  7. #
  8. ** LTSB$NS - LOAD TSB TEXT.
  9. *
  10. * J.C. LEE 1981
  11. *
  12. * THIS SYMPL TEXT CONTAINS THE DEFS AND COMMON BLOCK
  13. * TO BE USED BY THE LOAD TSB PROCESSOR.
  14. *
  15. #
  16.  
  17. CONTROL STEXT;
  18.  
  19. DEF LTSB$IDENT # 9 #; # LOAD TSB IDENTIFIER #
  20. DEF L$LTSBHDR # 1 #; # LTSB HEADER SIZE #
  21. DEF L$LFET # 7 #; # NPU LOAD FILE FET LENGTH #
  22. DEF L$LBUF # O"1001" #; # CIO BUFFER LENGTH #
  23. DEF L$LTSB # L$LTSBHDR + L$LFET + L$LBUF #; # LOAD TSB SIZE #
  24. DEF READWOK # 0 #; # READW TRANSFER COMPLETE STATUS#
  25.  
  26. COMMON LTSB$COM;
  27. BEGIN # LTSB$COM #
  28.  
  29. BASED ARRAY LTSB$HDR [0:0] S(L$LTSBHDR);
  30. BEGIN
  31. ITEM LTSB$HDRWD U(00,00,60); # LTSB HEADER WORD #
  32. ITEM LTSB$ID U(00,00,06); # LTSB IDENTIFIER #
  33. ITEM LTSB$BS U(00,06,12); # LTSB SIZE #
  34. END
  35.  
  36. BASED ARRAY LTSB$FET [0:0] S(L$LFET);
  37. BEGIN # FET FOR RANDOM ACCESS NLF/NCF #
  38. ITEM LFET$LFN C(00,00,07); # LOGICAL FILE NAME #
  39. ITEM LFET$CODE U(00,50,10); # REQUEST/RETURN CODE #
  40. ITEM LFET$FM B(00,58,01); # FILE MODE BIT. SET IF BINARY #
  41. ITEM LFET$COMP B(00,59,01); # COMPLETION BIT #
  42. ITEM LFET$DT U(01,00,12); # DEVICE TYPE #
  43. ITEM LFET$RAN B(01,12,01); # RANDOM ACCESS BIT #
  44. ITEM LFET$UP B(01,14,01); # USER PROCESSING BIT #
  45. ITEM LFET$EP B(01,15,01); # ERROR PROCESSING BIT #
  46. ITEM LFET$LEN U(01,36,06); # FET LENGTH - 5 #
  47. ITEM LFET$FIRST I(01,42,18); # FIRST PTR #
  48. ITEM LFET$IN I(02,42,18); # IN PTR #
  49. ITEM LFET$OUT I(03,42,18); # OUT PTR #
  50. ITEM LFET$LIMIT I(04,42,18); # LIMIT PTR #
  51. ITEM LFET$CRI U(06,00,30); # CURRENT RANDOM INDEX #
  52. ITEM LFET$RWR B(06,30,01); # RANDOM REWRITE REQUEST #
  53. ITEM LFET$RR U(06,31,29); # RANDOM INDEX FOR I/O REQUEST #
  54. END
  55.  
  56. BASED ARRAY LTSB$BUF [1:L$LBUF] S(1);
  57. BEGIN # CIO BUFFER FOR NCF/NLF #
  58. ITEM LTSB$BUFWD U(00,00,60); # CIO BUFFER WORD #
  59. END
  60.  
  61. END # LTSB$COM #
  62.  
  63. END # LTSB$NS #
  64. TERM
cdc/nos2.source/nam5871/ltsb_ns.txt ยท Last modified: 2023/08/05 17:22 by Site Administrator