User Tools

Site Tools


cdc:nos2.source:opl871:cetext

CETEXT

Table Of Contents

  • [00005] CETEXT - ENGINEERING SERVICES SUPPORT TEXT.
  • [00010] MACRO DEFINITIONS.
  • [00123] CESAB - GET SYSTEM ATTRIBUTE BLOCK.
  • [00165] TAG EQUIVALENCES.

Source Code

CETEXT.txt
  1. IDENT CETEXT
  2. STEXT
  3. *COMMENT CETEXT - ENGINEERING SUPPORT TEXT.
  4. COMMENT COPYRIGHT CONTROL DATA SYSTEMS INC. 1992.
  5. TITLE CETEXT - ENGINEERING SERVICES SUPPORT TEXT.
  6. LIST X
  7. *CALL COMSESS
  8. LIST *
  9. MACROES SPACE 4,10
  10. TITLE MACRO DEFINITIONS.
  11. *** MACRO DEFINITIONS.
  12. CECSA SPACE 4,10
  13. ENDM
  14. CEVAL SPACE 4,10
  15. *** CEVAL - CUSTOMER ENGINEERING VALIDATION.
  16. *
  17. * CEVAL ADDR,VO
  18. *
  19. * ENTRY ADDR = ADDRESS OF PARAMETER BLOCK.
  20. * VO = PARAMETER SPECIFYING USER VALIDATION ONLY.
  21. *
  22. * EXIT
  23. * ADDR IS THE ADDRESS OF A USER SUPPLIED PARAMETER BLOCK
  24. * RETURNED BY *CVL* WITH WORD 0 AND OTHER FIELDS COMPLETED.
  25. *T ADDR+0 48/ ,6/ RC,5/ ,1/C
  26. *T ADDR+1 5/ VB,6/ ,1/X,36/ ,12/ ESTO
  27. *T ADDR+2 5/ VB,4/ S,2/ ,1/X,12/ CH4,12/ CH3,12/ CH2,12/ CH1
  28. *T ADDR+3 5/ VB,4/ S,2/ ,1/X,36/ ,12/ EQPN
  29. *T ADDR+4 5/ VB,4/ S,2/ ,1/X,36/ ,12/ UN
  30. *T ADDR+5 5/ VB,4/ S,2/ ,1/X,36/ ,12/ DEVC
  31. *T ADDR+6 53/ ,7/ FC
  32. *T ADDR+7 5/ VB,6/ ,1/X,24/ ,24/ PACK SN
  33. *T ADDR+7 5/ VB,6/ ,1/X,24/ ,24/ RAE/FLE
  34. * WHERE -
  35. * RC (11-6) = RESPONSE CODE (SET BY *CVL*).
  36. * 0 = VALIDATION GRANTED.
  37. * 2 = VALIDATION GRANTED, ELEMENT MIGHT BE
  38. * SHARED WITH ANOTHER MAINFRAME.
  39. * 4 = VALIDATION DENIED, ELEMENT NOT IN EST.
  40. * 5 = VALIDATION DENIED, CRITICAL
  41. * INFORMATION MAY BE DESTROYED.
  42. * 6 = VALIDATION DENIED, ELEMENT IN USE.
  43. * 7 = VALIDATION DENIED, SHARE BYTE NOT SET.
  44. * C (0) = COMPLETE BIT (SET BY *CVL*).
  45. * VB (59-55) = VALIDATION ERROR BITS (SET BY *CVL*).
  46. * BIT 59 SET = ERROR IN WORD.
  47. * BIT 58 SET = ERROR IN BYTE 1.
  48. * BIT 57 SET = ERROR IN BYTE 2.
  49. * BIT 56 SET = ERROR IN BYTE 3.
  50. * BIT 55 SET = ERROR IN BYTE 4.
  51. * X (48) = DATA IN WORD (SUPPLIED BY CALLER - IF NOT
  52. * SET, *CVL* SUPPLIES MISSING FIELD).
  53. * X (48) = DATA IN WORD (SUPPLIED BY CALLER).
  54. * ESTO (11-0) = EST ORDINAL OF ELEMENT.
  55. * S = SHARE BITS - IF SET, REQUESTS EXCLUSIVE ACCESS.
  56. * BIT 54 = FOR ELEMENT IN BYTE 1.
  57. * BIT 53 = FOR ELEMENT IN BYTE 2.
  58. * BIT 52 = FOR ELEMENT IN BYTE 3.
  59. * BIT 51 = FOR ELEMENT IN BYTE 4.
  60. * CHX = CHANNEL NUMBERS.
  61. * EQPN (11-0) = EQUIPMENT (CONTROLLER) NUMBER.
  62. * UN (11-0) = UNIT NUMBER.
  63. * DEVM (23-12) = DEVICE MNEMONIC.
  64. * DEVC (11-0) = DEVICE CODE (SEE TABLE *TDVC*).
  65. * FC (6-0) = FUNCTION BITS.
  66. * BIT 0 = LOAD CONTROLLER MEMORY.
  67. * BIT 1 = WILL WRITE ON UNIT.
  68. * BIT 2 = WILL USE NON - PREALLOCATED AREA.
  69. * BIT 6 = ELEMENT NOT IN EST.
  70. * BIT 7 = SPECIAL REQUEST FLAG.
  71. * FOR *ECS* THIS BIT IS IGNORED IF
  72. * *NPRE* (BIT 2) IS NOT SET.
  73. * 0 = WILL ACCESS ALL OF NORMAL *ECS*
  74. * IF *DOWN* BIT SET IN EST.
  75. * 1 = WILL ACCESS MAINTENANCE MODE
  76. * HALF OF *ECS* IF MAINTENANCE
  77. * MODE BIT IN THE ASSOCIATED MST
  78. * IS SET.
  79. * PACK SN = PACK SERIAL NUMBER IN BCD CODE.
  80. * RAE/FLE = ECS REFERENCE ADDRESS AND ECS FIELD LENGTH.
  81.  
  82.  
  83. PURGMAC CEVAL
  84.  
  85. CEVAL MACRO A,V
  86. R= X1,A
  87. IFC NE,$V$$
  88. SX2 3
  89. ELSE
  90. SX2 1
  91. ENDIF
  92. RJ =XCVL=
  93. ENDM
  94. EJECT
  95. *** CEMEM - MEMORY REFERENCE ADDRESS REQUEST.
  96. *
  97. * CEMEM ADDR
  98. *
  99. * ENTRY ADDR = ADDRESS OF 2 WORD PARAMETER BLOCK.
  100. *
  101. * EXIT
  102. * ADDR IS THE ADDRESS OF THE USER SUPPLIED PARAMETER BLOCK OF
  103. * 2 WORDS THAT WILL BE COMPLETED BY *CVL* PRIOR TO
  104. * RETURNING CONTROL TO THE USER.
  105. *T ADDR+0 24/RA,24/FL,11/0,1/C
  106. *T ADDR+1 24/RAX,24/FLX,12/0
  107. * WHERE -
  108. * RA (59-36) = CENTRAL MEMORY ADDRESS FROM EXCHANGE PK.
  109. * FL (35-12) = FIELD LENGTH OF ASSIGNED CM FROM EXCH PK.
  110. * C (0) = COMPLETE BIT (SET BY *CVL*).
  111. * RAX (59-36)= ECS ADDRESS FROM EXCHANGE PACKAGE.
  112. * FLX (35-12)= ECS FIELD LENGTH FROM EXCHANGE PACKAGE.
  113.  
  114.  
  115. PURGMAC CEMEM
  116.  
  117. CEMEM MACRO A
  118. SX1 A
  119. SX2 5
  120. RJ =XCVL=
  121. ENDM
  122. CESAB SPACE 4,10
  123. ** CESAB - GET SYSTEM ATTRIBUTE BLOCK.
  124. *
  125. * CESAB ADDR,VN
  126. *
  127. * ENTRY ADDR - CM ADDRESS OF BUFFER TO HOLD THE MAINFRAME
  128. * ATTRIBUTE BLOCK.
  129. * VN = VERSION NUMBER.
  130. * 0 - RETURN OLD FORMAT (DEFAULT).
  131. * 1 - RETURN NEW FORMAT.
  132. *
  133. * EXIT ADDR CONTAINS THE FOLLOWING-
  134. *
  135. *T,ADDR 12/ ,12/ LNGTH,24/ ,6/ RC,5/ VN,1/C
  136. *T,ADDR+1 12/ PPSD,24/ CMSZ,12/ ,12/ OPTN
  137. *T,ADDR+2 60/FIRST VARIABLE ENTRY
  138. *T,ADDR+N 60/LAST VARIABLE ENTRY
  139.  
  140. * WHERE -
  141.  
  142. * LNGTH NUMBER OF CM WORDS IN THE RESPONSE.
  143. * RC RESPONSE CODE (ALWAYS 0).
  144. * VN VERSION NUMBER OF FORMAT RETURNED.
  145. * C COMPLETION BIT
  146. * PPSD PP SPEED
  147. * CMSZ CM SIZE
  148. * OPTN OPTIONS INSTALLED
  149. * VARIABLE ENTRY - SEE *CEVAL* INTERFACE SPECIFICATION.
  150. *
  151. * CALLS CVL=.
  152.  
  153.  
  154. PURGMAC CESAB
  155.  
  156. CESAB MACRO A,V
  157. R= X1,A
  158. SX2 4
  159. IFC NE,$V$$,3
  160. R= X6,V
  161. LX6 6
  162. BX2 X6+X2
  163. RJ =XCVL=
  164. ENDM
  165. TITLE TAG EQUIVALENCES.
  166. *** THE FOLLOWING TAGS ARE DEFINED IN THE SCOPE OS STYLE AND
  167. * EQUIVALENCED TO THE KRONOS STYLE TAGS DEFINED IN THE COMMON
  168. * DECK *COMSESS*.
  169. *
  170. *
  171. CE.ECS SPACE 4,15
  172. ** CE.ECSRA/CE.ECSFL TAGS FOR THE DEADSTART DIAGNOSTIC
  173. * SEQUENCER.
  174.  
  175.  
  176. CE.ECSRA EQU ECSRA
  177. CE.ECSFL EQU ECSFL
  178. IFLT CE.ECSFL,10B,1
  179. P ERR ECS FL MUST BE 1000B OR GREATER
  180. SPACE 4
  181. END
cdc/nos2.source/opl871/cetext.txt ยท Last modified: 2023/08/05 17:24 by Site Administrator