Table of Contents

IO Source

References

Source Listing

IO.MACRO.txt
  1. MACRO 00001000
  2. IO &SECT 00002000
  3. PUSH PRINT 00002200
  4. AIF ('&SYSPARM' NE 'SUP').ACC01 00002400
  5. PRINT OFF,NOGEN 00002600
  6. .ACC01 ANOP 00002800
  7. LCLC &T 00003000
  8. AIF ('&SECT' EQ 'CSECT').CSECT 00004000
  9. &T SETC 'V' 00005000
  10. OPSECT DSECT 00006000
  11. AGO .CONT 00007000
  12. .CSECT ANOP 00008000
  13. &T SETC 'A' 00009000
  14. OPSECT DS 0D 00010000
  15. ENTRY OPSECT 00011000
  16. .CONT ANOP 00012000
  17. * 00013000
  18. * COMMANDER-IN-CHIEF OF ALL I/O OPERATION LISTS 00014000
  19. * 00015000
  20. PLIST DS 0D 00016000
  21. CMSOP DS CL8 I/O OPERATION COMMAND WORD 00017000
  22. FILENAME DS CL8 FILE NAME 00018000
  23. FILETYPE DS CL8 FILE TYPE 00019000
  24. FILEMODE DS CL2 FILE MODE 00020000
  25. FILEITEM DS H ITEM IDENTIFICATION NUMBER 00021000
  26. FILEBUFF DS F INPUT-OUTPUT BUFFER 00022000
  27. FILEBYTE DS F DATA COUNT 00023000
  28. FILEFORM DS CL2 FILE FORMAT: FIXED/VARIABLE RECORDS 00024000
  29. FILECOUT DS H RECORDS PER BLOCK 00025000
  30. FILEREAD DS F READ DATA COUNT 00026000
  31. POINTERS EQU FILEITEM 00027000
  32. AFST EQU FILEBUFF 00028000
  33. * 00029000
  34. IOAREA EQU FILEBUFF BUFFER AREA LOCATION 00030000
  35. IOLENGTH EQU FILEBYTE BUFFER LENGTH 00031000
  36. * 00032000
  37. * IMMEDIATE REGISTER SAVE ARE 00033000
  38. * 00034000
  39. * 00035000
  40. SAVER14 DC F'0' TEMP R14 SAVE 00036000
  41. SAVER15 DC F'0' TEMP R15 SAVE 00037000
  42. SAVER0 DC F'0' TEMP R0 SAVE 00038000
  43. SAVER1 DC F'0' TEMP R1 SAVE 00039000
  44. * 00040000
  45. CMSNAME DC CL8'FILE ' "DEFAULT FILENAME" 00041000
  46. * 00042000
  47. * CONSOLE PARAMETER LISTS 00043000
  48. * 00044000
  49. DS 0F 00045000
  50. * READ CONSOLE 00046000
  51. CONREAD DC CL8'WAITRD' TERMINAL READ 00047000
  52. CONRDBUF DC &T.(CMNDLINE) ADDRESS OF INPUT BUFFER 00048000
  53. CONRDCOD DC C'U' TRANSLATE CODE 00049000
  54. DC X'00' 00050000
  55. CONRDCNT DC AL2(0) DATA BYTE COUNT 00051000
  56. DC F'0' RESERVED FOR FUTURE USE 00052000
  57. * 00053000
  58. * CONSOLE WAIT LIST 00054000
  59. WAITLIST DS 0F 00055000
  60. DC CL8'CONWAIT' 00056000
  61. * 00057000
  62. * WRITE CONSOLE 00058000
  63. CONWRITE DS 0F 00059000
  64. DC CL8'TYPLIN' 00060000
  65. CONWRBUF DC A(0) LOCATION OF MESSAGE TEXT 00061000
  66. CONWRCOD DC C'B' COLOR CODE 00062000
  67. DC X'00' 00063000
  68. CONWRCNT DC AL2(0) LENGTH OF MESSAGE TEXT 00064000
  69. * 00065000
  70. * WAIT PARAMETER LIST 00066000
  71. * 00067000
  72. WAITLST DS 0F 00068000
  73. DC CL8'WAIT' 00069000
  74. WAITDEV DC CL4'CON1' 00070000
  75. DC F'0' 00071000
  76. DC F'0' 00072000
  77. * 00073000
  78. * READER PARAMETER LIST 00074000
  79. * 00075000
  80. DS 0F 00076000
  81. READLST DC CL8'CARDRD' 00077000
  82. RDBUFF DC A(0) BUFFER ADDRESS 00078000
  83. RDCCW DC H'0' CCW BYTE COUNT 00079000
  84. RDCOUNT DC H'0' BYTES ACTUALLY READ 00080000
  85. * 00081000
  86. * CARD PUNCH PARAMETER LIST 00082000
  87. * 00083000
  88. PUNCHLST DS 0F 00084000
  89. DC CL8'CARDPH' 00085000
  90. PUNBUFF DC A(0) PUNCH BUFFER ADDRESS 00086000
  91. PUNCOUNT DC A(0) PUNCH CCW COUT 00087000
  92. * 00088000
  93. * PRINTER PARAMETER LIST 00089000
  94. * 00090000
  95. PRINTLST DS 0F 00091000
  96. DC CL8'PRINTR' 00092000
  97. PRBUF DC A(0) PRINTER BUFFER ADDRESS 00093000
  98. PRCNT DC A(0) PRINT DATA COUNT 00094000
  99. * 00095000
  100. * TAPE PARAMETER LIST 00096000
  101. * 00097000
  102. TAPELIST DS 0F 00098000
  103. DC CL8'TAPEIO' 00099000
  104. TAPEOPER DC CL8' ' TAPE OPERATION COMMAND 00100000
  105. TAPEDEV DC CL4'TAP1' TAPE SYMBOLIC DEVICE 00101000
  106. TAPEMASK DC X'00' SET MODE 00102000
  107. TAPEBUFF DC AL3(0) BUFFER LOCATION 00103000
  108. TAPESIZE DC F'0' 00104000
  109. TAPECOUT DC F'0' TAPE COUNTER 00105000
  110. * 00106000
  111. * CLOSE OUT DEVICE DEPENDENT DATA SET ON UNIT RECORD EQUIPMENT 00107000
  112. * 00108000
  113. CLOSIO DS 0F 00109000
  114. DC CL8'CLOSIO' OPERATION 00110000
  115. CLOSIODV DC CL8' ' DEVICE TYPE 00111000
  116. DC 4X'FF' 00112000
  117. DC 6D'0' - UNUSED V0742 00113000
  118. * 00114000
  119. * 00115000
  120. * STORAGE FOR EXEC BOOTSTRAP: 00116000
  121. EXLEVEL DC F'0' EXEC "LEVEL" 00117000
  122. EXF1 DC F'1' (FOLLOWS EXLEVEL) 00118000
  123. EXNUM DC F'0' NUMBER DBL-WORDS FREE STORAGE 00119000
  124. EXADD DC F'0' ADDRESS OF "EXECTOR" CORE-IMAGE 00120000
  125. DC 2F'0' - UNUSED V0742 00121000
  126. * 00122000
  127. * STORAGE FOR OS MACRO SIMULATION ROUTINES 00123000
  128. FCBIO DC A(0) - ADDRESS OF LAST FCB USED DURING I/O 00124000
  129. OSIOTYPE DC X'DD' - OS ACCESS METHOD TYPE 00125000
  130. * 00126000
  131. EJECT 00127000
  132. POP PRINT 00127100
  133. MEND 00128000