Table of Contents

DMKUCB Source

References

Source Listing

DMKUCB.ASSEMBLE.txt
  1. UCB TITLE 'DMKUCB (CP) VM/370 - RELEASE 6' 00001000
  2. SPACE 4 00002000
  3. MACRO 00003000
  4. UCB &NAME 00004000
  5. GBLA &SW 00005000
  6. SPACE 2 00006000
  7. *********************************************************************** 00007000
  8. * * * * 00008000
  9. * * UCB * UCB NAME * 00009000
  10. * * * * 00010000
  11. *********************************************************************** 00011000
  12. SPACE 2 00012000
  13. AIF ('&SW' EQ '1').ORG IS THIS THE 1ST UCB MACRO 00013000
  14. &SW SETA 1 NO - SET SW TO ONE 00014000
  15. AGO .NORG 00015000
  16. .ORG ANOP 00016000
  17. SPACE 00017000
  18. ORG *-8 OVERLAY LAST ZERO HEADER RECORD 00018000
  19. .NORG ANOP 00019000
  20. SPACE 00020000
  21. AIF (K'&NAME GT 4).ERR1 NAME TOO LONG 00021000
  22. UCB&NAME DS 0H 00022000
  23. DC CL4'&NAME' UCB BUFFER NAME 00023000
  24. DC AL2(NEXT&NAME-UCB&NAME) DISPLACEMENT TO NEXT HDR 00024000
  25. DC AL2(DEND&NAME-DATA&NAME) LENGTH OF BUFFER DATA 00025000
  26. DC AL2(CCW&NAME-UCB&NAME) DISPLACEMENT TO CCW 00026000
  27. DC AL2(NEXT&NAME-CCW&NAME) LENGTH OF CCWS 00027000
  28. DATA&NAME EQU * 00028000
  29. AGO .END 00029000
  30. .ERR1 MNOTE 12,'***UCB NAME -&NAME- OMITTED OR TOO LONG. 4 IS MAX.' 00030000
  31. .END ANOP 00031000
  32. SPACE 3 00032000
  33. MEND 00033000
  34. EJECT 00034000
  35. MACRO 00035000
  36. UCBCCW &NAME,&PRINT 00036000
  37. LCLA &CNT,&DATA,&NUM,&A 00037000
  38. SPACE 2 00038000
  39. *********************************************************************** 00039000
  40. * * * * 00040000
  41. * * UCBCCW * UCB NAME,(PRINT1,PRINT2,PRINT3,,,,,,PRINT12) * 00041000
  42. * * * * 00042000
  43. *********************************************************************** 00043000
  44. SPACE 2 00044000
  45. AIF (K'&NAME GT 4).ERR1 NAME TOO LONG. 4 IS MAX. 00045000
  46. AIF ('&NAME' EQ '').ERR1 INVALID NAME 00046000
  47. DEND&NAME EQU * END OF BUFFER DATA 00047000
  48. CCW&NAME DS 0D 00048000
  49. ORG UCB&NAME VERIFY UCB MACRO WAS USED 00049000
  50. ORG 00050000
  51. SPACE 00051000
  52. AIF ('&PRINT' EQ '').LAST NO PRINT CCW COUNT 00052000
  53. &NUM SETA N'&PRINT NUMBER OF COUNT FIELDS 00053000
  54. AIF ('&NUM' GT '12').ERR2 MAX. CCWS IS 12 00054000
  55. .LOOP ANOP 00055000
  56. &A SETA &A+1 ADD ONE TO FIELD 00056000
  57. &DATA SETA &DATA+&CNT 00057000
  58. &CNT SETA &PRINT(&A) SET UP DATA AND COUNT FIELDS 00058000
  59. AIF ('&CNT' LT '1').ERR3 COUNT LESS THAN ONE 00059000
  60. AIF ('&CNT' GT '150').ERR3 COUNT TOO HIGH 00060000
  61. AIF ('&A' EQ '&NUM').CCW25 LAST CCW 00061000
  62. CCW 9,&DATA,CC+SILI,&CNT PRINT VERIFY CCW 00062000
  63. AGO .LOOP 00063000
  64. .CCW25 ANOP 00064000
  65. CCW 25,&DATA,CC+SILI,&CNT PRINT AND SPACE 3 00065000
  66. &DATA SETA &DATA+&CNT 00066000
  67. AIF ('&DATA' GT '432').ERR4 CHARACTER COUNT EXCEEDS 432 00067000
  68. SPACE 00068000
  69. MNOTE *,'TOTAL PRINT CHARACTER COUNT IS &DATA BYTES' 00069000
  70. SPACE 00070000
  71. .LAST ANOP 00071000
  72. SPACE 00072000
  73. NEXT&NAME DS 0H 00073000
  74. SPACE 00074000
  75. DC XL8'00' ZERO HEADER RECORD 00075000
  76. AGO .END 00076000
  77. .ERR1 ANOP 00077000
  78. SPACE 00078000
  79. MNOTE 12'***UCB NAME -&NAME- OMITTED OR TOO LONG. 4 IS MAX.' 00079000
  80. AGO .END 00080000
  81. .ERR2 ANOP 00081000
  82. SPACE 00082000
  83. MNOTE 12,'***PRINT HAS -&NUM- PARAMETERS. 12 IS MAX.' 00083000
  84. AGO .END 00084000
  85. .ERR3 ANOP 00085000
  86. SPACE 00086000
  87. MNOTE 12,'***PRINT -&CNT- NOT 1 TO 150' 00087000
  88. AGO .END 00088000
  89. .ERR4 ANOP 00089000
  90. SPACE 00090000
  91. MNOTE 12,'***TOTAL CHARACTER COUNT -&DATA- TOO LARGE.432 MAX.' 00091000
  92. AGO .END 00092000
  93. .END ANOP 00093000
  94. SPACE 3 00094000
  95. MEND 00095000
  96. EJECT 00096000
  97. *. 00097000
  98. * 00098000
  99. * 00099000
  100. * MODULE NAME - 00100000
  101. * 00101000
  102. * DMKUCB 00102000
  103. * 00103000
  104. * FUNCTION - 00104000
  105. * 00105000
  106. * 00106000
  107. * THIS MODULE CONTAINS THE UCB BUFFER LOAD IMAGES THAT 00107000
  108. * ARE USED BY THE OPERATOR COMMAND 'LOAD' TO LOAD THE 00108000
  109. * UNIVERSAL CHARACTER SET BUFFER IN THE 3811 CONTROL UNIT. 00109000
  110. * 00110000
  111. * ATTRIBUTES - 00111000
  112. * 00112000
  113. * PAGEABLE, CALLED BY DMKCSO 00113000
  114. * 00114000
  115. * 00115000
  116. * NO EXECUTABLE CODE IN THIS MODULE. 00116000
  117. * 00117000
  118. * 00118000
  119. * NOTES - 00119000
  120. * 00120000
  121. * 1. THIS MODULE MUST START ON A PAGE BOUNDARY. 00121000
  122. * 2. THIS MODULE CANNOT EXCEED A FULL PAGE IN SIZE. 00122000
  123. * 3. TWO MACRO ARE INCLUDED IN THIS MODULE TO ASSIST 00123000
  124. * IN THE CREATION OF BUFFER LOAD IMAGES. 00124000
  125. * 00125000
  126. * 00126000
  127. * 00127000
  128. EJECT 00128000
  129. * 00129000
  130. ****************************** 00130000
  131. * 00131000
  132. * UCB MACRO 00132000
  133. * 00133000
  134. ****************************** 00134000
  135. * 00135000
  136. * 00136000
  137. * THIS MACRO CREATES A 12 BYTE HEADER FOR THE BUFFER LOAD AND IS 00137000
  138. * USED BY DMKCSO. 00138000
  139. * 00139000
  140. * 00140000
  141. * +------+------+--------------------------------+ 00141000
  142. * | | UCB | UCB NAME | 00142000
  143. * +------+------+--------------------------------+ 00143000
  144. * 00144000
  145. * 00145000
  146. * 00146000
  147. * UCB NAME - 00147000
  148. * 00148000
  149. * ONE TO FOUR ALPHABETIC AND/OR NUMERIC CHARACTER NAME TO BE 00149000
  150. * ASSIGNED TO BUFFER LOAD. 00150000
  151. * 00151000
  152. * 00152000
  153. * 00153000
  154. * 00154000
  155. EJECT 00155000
  156. ****************************** 00156000
  157. * 00157000
  158. * UCBCCW MACRO 00158000
  159. * 00159000
  160. ****************************** 00160000
  161. * 00161000
  162. * 00162000
  163. * 00163000
  164. * THIS MACRO CREATES A CCW STRING TO PRINT THE BUFFER 00164000
  165. * LOAD IMAGE WHEN VER IS SPECIFIED BY THE OPERATOR IN 00165000
  166. * LOAD COMMAND. THIS MACRO MUST IMMEDIATELY 00166000
  167. * FOLLOW THE BUFFER LOAD DATA. 00167000
  168. * 00168000
  169. * 00169000
  170. * 00170000
  171. * +------+------+----------------------------------------------+ 00171000
  172. * | |UCBCCW| UCB NAME,(PRINT1,PRINT2,,,,,,PRINT12) | 00172000
  173. * +------+------+----------------------------------------------+ 00173000
  174. * 00174000
  175. * 00175000
  176. * 00176000
  177. * UCB NAME - 00177000
  178. * 00178000
  179. * SAME AS PREVIOUS UCB MACRO 00179000
  180. * 00180000
  181. * (PRINT1,PRINT2,,,,PRINT12) - 00181000
  182. * 00182000
  183. * PRINTN - ENTER NUMBER OF CHARACTERS (1 TO 150) TO BE PRINTED 00183000
  184. * BY THE RESPECTIVE CCW IN A VERIFY OPERATION. A MAX OF 12 PRINT 00184000
  185. * FIELDS CAN BE GIVEN. TOTAL PRINT CHARACTER COUNT MUST BE 00185000
  186. * EQUAL OR LESS THAN 432. IF THIS OPERAND IS OMITTED, THE 00186000
  187. * DEFAULT COUNT IS 48 PER CCW. THE DEFAULT CCW ARE 00187000
  188. * LOCATED IN DMKCSO. 00188000
  189. * 00189000
  190. * EXAMPLES - 00190000
  191. * 00191000
  192. * UCB EX01 00192000
  193. * 00193000
  194. * DC 9CL48'1234567890..........WXYZ' 00194000
  195. * 00195000
  196. * UCBCCW EX01,(48,48,48,48,48,48,48,48,48) 00196000
  197. * 00197000
  198. * 00198000
  199. * 00199000
  200. * UCB EX02 00200000
  201. * 00201000
  202. * DC 9CL48'1234567890.....WXYZ' 00202000
  203. * 00203000
  204. * UCBCCW EX02 00204000
  205. * 00205000
  206. * 00206000
  207. * 00207000
  208. *. 00208000
  209. EJECT 00209000
  210. COPY OPTIONS 00210000
  211. SPACE 00211000
  212. COPY LOCAL OPTIONS 00212000
  213. SPACE 00213000
  214. PRINT DATA 00214000
  215. EJECT 00215000
  216. DMKUCB CSECT 00216000
  217. SPACE 3 00217000
  218. DC CL8'DMKUCB' MODULE NAME 00218000
  219. SPACE 3 00219000
  220. ENTRY DMKUCBLD 00220000
  221. DMKUCBLD DS 0H 00221000
  222. SPACE 3 00222000
  223. * A11 STANDARD COMMERCIAL 48 GRAPHICS 3211 00223000
  224. UCB A11 00224000
  225. DC 9C'1<.+IHGFEDCBA*$-RQPONMLKJ%,&&ZYXWVUTS/@#098765432' 00225000
  226. DC X'000000' 433-435 00226000
  227. DC X'000000000000000000000000C01010' 436-450 @VA00975 00227000
  228. DC X'101010101010100040404240004010' 451-465 00228000
  229. DC X'101010101010101000404041000040' 466-480 00229000
  230. DC X'401010101010101010004040000000' 481-495 00230000
  231. DC X'101010101010101010100040404448' 496-510 00231000
  232. DC X'0000' 511-512 00232000
  233. SPACE 2 00233000
  234. UCBCCW A11,(48,48,48,48,48,48,48,48,48) 00234000
  235. EJECT 00235000
  236. * H11 STANDARD SCIENTIFIC 3211 00236000
  237. UCB H11 00237000
  238. SPACE 00238000
  239. DC 9C'1HGFE).+IDCBA*$-RQPONMLKJ(,&&ZYXWV8765''=09UTS/432' 00239300
  240. * @VA09737 00239600
  241. DC X'000000' 433-435 00240000
  242. DC X'000000000000000000000000C01010' 436-450 00241000
  243. DC X'101010101010100040004040004010' 451-465 @VA11585 00242200
  244. DC X'101010101010101000404040000040' 466-480 @VA11585 00242700
  245. DC X'401010101010101010004000000000' 481-495 @VA11209 00244100
  246. DC X'101010101010101010100000004040' 496-510 @VA11585 00245200
  247. DC X'0000' 511-512 00246000
  248. SPACE 00247000
  249. UCBCCW H11,(48,48,48,48,48,48,48,48,48) 00248000
  250. EJECT 00249000
  251. * G11 ASC11 00250000
  252. UCB G11 00251000
  253. SPACE 2 00252000
  254. DC X'F17DC2C4D1D360F5D25CC34DD5F06F5DE2C17C7EC55F7BD96EE5' 00253000
  255. DC X'F9F2E0E8E3ADC7F6F8BDE7C67FC84B4FE4D6F761D7F3E6D4C9D8' 00254000
  256. DC X'6BF4F17DC2C4D1D360F5D25CC34DD5F05B5DE2C1507EC57A7BD9' 00255000
  257. DC X'E9E5F9F25EE8E34EC7F6F84CE7C66CC84B6DE4D6F761D7F3E6D4' 00256000
  258. DC X'C9D86BF4' 00257000
  259. DC X'F17DC2C4D1D360F5D25CC34DD5F06F5DE2C17C7EC55F7BD96EE5' 00258000
  260. DC X'F9F2E0E8E3ADC7F6F8BDE7C67FC84B4FE4D6F761D7F3E6D4C9D8' 00259000
  261. DC X'6BF4F17DC2C4D1D360F5D25CC34DD5F05B5DE2C1507EC57A7BD9' 00260000
  262. DC X'E9E5F9F25EE8E34EC7F6F84CE7C66CC84B6DE4D6F761D7F3E6D4' 00261000
  263. DC X'C9D86BF4' 00262000
  264. DC X'F17DC2C4D1D360F5D25CC34DD5F06F5DE2C17C7EC55F7BD96EE5' 00263000
  265. DC X'F9F2E0E8E3ADC7F6F8BDE7C67FC84B4FE4D6F761D7F3E6D4C9D8' 00264000
  266. DC X'6BF4F17DC2C4D1D360F5D25CC34DD5F05B5DE2C1507EC57A7BD9' 00265000
  267. DC X'E9E5F9F25EE8E34EC7F6F84CE7C66CC84B6DE4D6F761D7F3E6D4' 00266000
  268. DC X'C9D86BF4' 00267000
  269. DC X'F17DC2C4D1D360F5D25CC34DD5F06F5DE2C17C7EC55F7BD96EE5' 00268000
  270. DC X'F9F2E0E8E3ADC7F6F8BDE7C67FC84B4FE4D6F761D7F3E6D4C9D8' 00269000
  271. DC X'6BF4F17DC2C4D1D360F5D25CC34DD5F05B5DE2C1507EC57A7BD9' 00270000
  272. DC X'E9E5F9F25EE8E34EC7F6F84CE7C66CC84B6DE4D6F761D7F3E6D4' 00271000
  273. DC X'C9D86BF4' 00272000
  274. DC X'000000' 433-435 00273000
  275. DC X'000000000000000000000000C01010' 436-450 00274000
  276. DC X'101010101010100040404040404010' 451-465 00275000
  277. DC X'101010101010101000404040404050' 466-480 00276000
  278. DC X'401010101010101010004040604040' 481-495 00277000
  279. DC X'101010101010101010104040406040' 495-510 00278000
  280. DC X'4000' 511-512 00279000
  281. SPACE 00280000
  282. UCBCCW G11,(49,48,11) 00281000
  283. EJECT 00282000
  284. * P-11 PL1 00283000
  285. UCB P11 00284000
  286. SPACE 2 00285000
  287. DC X'F17DC2C4D1D360F5D25CC34DD5C17C7EC5F06F5DE25F7BD96EE5' 00286000
  288. DC X'F9F27FF6F84CE7E8E34FC7C66CC84B6DE4D6F761D7F3E6D4C9D8' 00287000
  289. DC X'6BF4F17DC2C4D1D360F5D25CC34DD5F05B7EC57A7B5DE2C150D9' 00288000
  290. DC X'E9E5F94EC7F6F8F25EE8E34CE7C66CC84B6DE4D6F761D7F3E6D4' 00289000
  291. DC X'C9D86BF4' 00290000
  292. DC X'F17DC2C4D1D360F5D25CC34DD5C17C7EC5F06F5DE25F7BD96EE5' 00291000
  293. DC X'F9F27FF6F84CE7E8E34FC7C66CC84B6DE4D6F761D7F3E6D4C9D8' 00292000
  294. DC X'6BF4F17DC2C4D1D360F5D25CC34DD5F05B7EC57A7B5DE2C150D9' 00293000
  295. DC X'E9E5F94EC7F6F8F25EE8E34CE7C66CC84B6DE4D6F761D7F3E6D4' 00294000
  296. DC X'C9D86BF4' 00295000
  297. DC X'F17DC2C4D1D360F5D25CC34DD5C17C7EC5F06F5DE25F7BD96EE5' 00296000
  298. DC X'F9F27FF6F84CE7E8E34FC7C66CC84B6DE4D6F761D7F3E6D4C9D8' 00297000
  299. DC X'6BF4F17DC2C4D1D360F5D25CC34DD5F05B7EC57A7B5DE2C150D9' 00298000
  300. DC X'E9E5F94EC7F6F8F25EE8E34CE7C66CC84B6DE4D6F761D7F3E6D4' 00299000
  301. DC X'C9D86BF4' 00300000
  302. DC X'F17DC2C4D1D360F5D25CC34DD5C17C7EC5F06F5DE25F7BD96EE5' 00301000
  303. DC X'F9F27FF6F84CE7E8E34FC7C66CC84B6DE4D6F761D7F3E6D4C9D8' 00302000
  304. DC X'6BF4F17DC2C4D1D360F5D25CC34DD5F05B7EC57A7B5DE2C150D9' 00303000
  305. DC X'E9E5F94EC7F6F8F25EE8E34CE7C66CC84B6DE4D6F761D7F3E6D4' 00304000
  306. DC X'C9D86BF4' 00305000
  307. DC X'000000' 433-435 00306000
  308. DC X'000000000000000000000000C01010' 436-450 00307000
  309. DC X'101010101010100040404040404010' 451-465 00308000
  310. DC X'101010101010101000404040404040' 466-480 00309000
  311. DC X'401010101010101010004040404040' 481-495 00310000
  312. DC X'101010101010101010104040404040' 496-510 00311000
  313. DC X'4000' 511-512 00312000
  314. SPACE 2 00313000
  315. UCBCCW P11,(49,48,11) 00314000
  316. EJECT 00315000
  317. * T11 TEXT PRINTING 00316000
  318. UCB T11 00317000
  319. DC X'F1D8E787D98582D1C7F3C8E886C9E397944F60A4E48899F98393' 00318000
  320. DC X'6BF4C284D4E2D76DC6F74B7ED5D3A3A2D695F8C59689C3C1816E' 00319000
  321. DC X'4CF6F04A5A8FC45C9D9FA0F5B6B7B9BFBE9CA1F2F19EB0B8D9' 00320000
  322. DC X'85AEB57FF3B35FB4C9E38C7C8D608EB1B299F95E8B9BF4ADBD6C' 00321000
  323. DC X'E291A96FF74B50BCACA3BBAB7AF8C5987DAFC1E9A77BF6F0A5' 00322000
  324. DC X'5B92C45CA64E5DF54DD2E6BF61A8E5F2' 00323000
  325. DC X'F1D8E787D98582D1C7F3C8E886C9E397944F60A4E48899F98393' 00324000
  326. DC X'6BF4C284D4E2D76DC6F74B7ED5D3A3A2D695F8C59689C3C1816E' 00325000
  327. DC X'4CF6F04A5A8FC45C9D9FA0F5B6B7B9BFBE9CA1F2F19EB0B8D9' 00326000
  328. DC X'85AEB57FF3B35FB4C9E38C7C8D608EB1B299F95E8B9BF4ADBD6C' 00327000
  329. DC X'E291A96FF74B50BCACA3BBAB7AF8C5987DAFC1E9A77BF6F0A5' 00328000
  330. DC X'5B92C45CA64E5DF54DD2E6BF61A8E5F2' 00329000
  331. DC X'F1D8E787D98582D1C7F3C8E886C9E397944F60A4E48899F98393' 00330000
  332. DC X'6BF4C284D4E2D76DC6F74B7ED5D3A3A2D695F8C59689C3C1816E' 00331000
  333. DC X'4CF6F04A5A8FC45C9D9FA0F5B6B7B9BFBE9CA1F2F19EB0B8D9' 00332000
  334. DC X'85AEB57FF3B35FB4C9E38C7C8D608EB1B299F95E8B9BF4ADBD6C' 00333000
  335. DC X'E291A96FF74B50BCACA3BBAB7AF8C5987DAFC1E9A77BF6F0A5' 00334000
  336. DC X'5B92C45CA64E5DF54DD2E6BF61A8E5F2' 00335000
  337. DC X'000000' 433-435 00336000
  338. DC X'000000000000000000000000C03030' 436-450 00337000
  339. DC X'303030303030304060606060604030' 451-465 00338000
  340. DC X'303030303030303040606060606060' 466-480 00339000
  341. DC X'603030303030303030006060606060' 481-495 00340000
  342. DC X'303030303030303030304060606060' 496-512 00341000
  343. DC X'6000' 511-512 00342000
  344. EJECT 00343000
  345. UCBCCW T11,(49,48,47) 00344000
  346. EJECT 00345000
  347. COPY EQU 00346000
  348. END 00347000