User Tools

Site Tools


ibm:vm370-lib:copy:moncom.copy_src

MONCOM Source

References

Source Listing

MONCOM.COPY.txt
  1. *COPY MONCOM 00001000
  2. PUSH PRINT @VA08768 00001200
  3. AIF ('&SYSPARM' NE 'SUP').MONC01 @VA08768 00001300
  4. PRINT OFF,NOGEN @VA08768 00001400
  5. .MONC01 ANOP 00001500
  6. MONCOMM DSECT 00002000
  7. * 00003000
  8. *** MONCOMM - VM MONITOR COMMUNICATIONS AREA 00004000
  9. * 00005000
  10. * +-------------------+-------------------+ 00006000
  11. * | MONARDB | MONAIOB | 00007000
  12. * +-------------------+-------------------+ 00008000
  13. * | MONATRB | MONTIRA | 00009000
  14. * +-------------------+-------------------+ 00010000
  15. * | MONIIRA | MONC8TP | 00011000
  16. * +---------+---------+---------+----+----+ 00012000
  17. * | MONINVL | MONTOTB | MONTOTD |M*1 |M*2 | 00013000
  18. * +----+----+---------+---------+----+----+ 00014000
  19. * |M*3 |M*4 | MONSPARE | 00015000
  20. * +----+----+-----------------------------+ 00016000
  21. * 00017000
  22. *** MONCOMM - VM MONITOR COMMUNICATIONS AREA 00018000
  23. * 00019000
  24. SPACE 1 00020000
  25. MONARDB DS 1F ADDRESS OF MONITOR TAPE REAL DEVICE BLK 00021000
  26. MONAIOB DS 1F ADDRESS OF MONITOR TAPE I/O BLOCK 00022000
  27. MONATRB DS 1F ADDRESS OF MONITOR TIMER REQUEST BLOCK 00023000
  28. MONTIRA DS 1F TIMER INTERRUPT RETURN ADDRESS 00024000
  29. MONIIRA DS 1F TAPE INTERRUPT RETURN ADDRESS 00025000
  30. MONC8TP DS 1F CONTROL REG 8 TEMP. STORAGE 00026000
  31. MONINVL DS 1H INTERVAL BETWEEN TIMER INTERRUPTS 00027000
  32. MONTOTB DS 1H TOTAL BYTES FOR IOB & CCW'S 00028000
  33. MONTOTD DS 1H TOTAL DOUBLE WORDS FOR IOB & CCW'S 00029000
  34. MONFLAG1 DS 1C M*1 - MONITOR FLAG 00030000
  35. MONFLAG2 DS 1C M*2 - MONITOR FLAG 00031000
  36. MONFLAG3 DS 1C M*3 - MONITOR FLAG 00032000
  37. MONFLAG4 DS 1C M*4 - SPARE 00033000
  38. MONSPARE DS 3H SPARE 00034000
  39. SPACE 1 00035000
  40. MONSIZE EQU (*-MONCOMM)/8 SIZE OF DSECT IN DOUBLE WORDS 00036000
  41. SPACE 1 00037000
  42. * USAGE OF MONFLAG1 00038000
  43. OFF EQU X'00' MONITORING INACTIVE 00039000
  44. ON EQU X'FF' MONITORING ACTIVE 00040000
  45. SPACE 1 00041000
  46. * BITS DEFINED IN MONFLAG2 00042000
  47. WRAP EQU X'80' NO TAPES, IN CORE WRAP AROUND 00043000
  48. TAPE EQU X'40' TAPE(S) IN USE 00044000
  49. VOLSW EQU X'20' AUTOMATIC VOLUME SWITCHING REQUIRED 00045000
  50. SUSPEND EQU X'10' BUSY TAPE, MONITORING TEMP. SUSPENDED 00046000
  51. STOP EQU X'08' MONITORING HALTED, LAST I/O REQUESTED 00047000
  52. BUSYT EQU X'02' TAPE WRITE IN PROGRESS 00048000
  53. ERROR EQU X'01' FATAL ERROR, BUT TRYING WTM & RUN 00049000
  54. SPACE 1 00050000
  55. * BITS DEFINED IN MONFLAG3 00051000
  56. DEFSTOP EQU X'10' DEFERRED STOP BEING HANDLED 00052000
  57. MONTRB EQU X'08' TIMER QUEUE BLOCK ACTIVE FOR MONITOR 00053000
  58. MONTIINT EQU X'04' MONITOR TIMER INTERRUPT HANDLER CALLING 00054000
  59. SPACE 00055000
  60. * MISCELLANEOUS BITS USED IN MONITOR CODE 00056000
  61. WTM EQU X'1F' WRITE TAPE MARK COMMAND CODE 00057000
  62. RUN EQU X'0F' REWIND UNLOAD COMMAND CODE 00058000
  63. BSR EQU X'27' BACKSPACE RECORD COMMAND CODE 00059000
  64. WRITE EQU X'01' WRITE TAPE COMMAND CODE 00060000
  65. LHDR EQU X'04' LENGTH OF PAGE BUFFER HEADER 00061000
  66. SPACE 1 00062000
  67. MONTINT EQU 30 DEFAULT 30 SEC. TIMER INTERRUPT INTERVAL 00063000
  68. Q1DROP EQU X'40' USER JUST DROPPED FROM Q1..Q2 IF BIT OFF 00064000
  69. SPACE 1 00065000
  70. * EQUATES FOR 2 BYTES OF MONITOR CLASS ENABLE MASK...3RD. AND 4TH 00066000
  71. * BYTES OF CONTROL REG 8 OR CPCREG8 FIELD IN PSA 00067000
  72. * BYTE 3 00068000
  73. DEBUGCL EQU X'80' DEBUG SVCS, INTERRUPTS,FREE/FRET CALLS 00069000
  74. RESPCL EQU X'40' RESPONSE CLASS 00070000
  75. PERFCL EQU X'20' PERFORMANCE CLASS 00071000
  76. TIMECL EQU X'10' EXECUTION TIMING CLASS 00072000
  77. USERCL EQU X'08' USER RESOURCE USAGE CLASS 00073000
  78. SPACE 1 00074000
  79. SPACE 1 00075000
  80. MONCCW DSECT 00076000
  81. * 00077000
  82. *** MONCCW - VM MONITOR CHANNEL PROGRAM DSECT 00078000
  83. * 00079000
  84. * +----+--------------+---------+---------+ 00080000
  85. * |C*1 | CCWBUFAD | CCWFLAGS| CCWCOUNT| 00081000
  86. * +----+--------------+---------+---------+ 00082000
  87. * | CCWWMRUN | 00083000
  88. * | | 00084000
  89. * +---------------------------------------+ 00085000
  90. * 00086000
  91. *** MONCCW - VM MONITOR CHANNEL PROGRAM DSECT 00087000
  92. * 00088000
  93. SPACE 1 00089000
  94. CCWCODE DS 1C C*1 - COMMAND CODE 00090000
  95. CCWBUFAD DS 3C DATA ADDRESS 00091000
  96. CCWFLAGS DS 1H CC DC SILI ETC. 00092000
  97. CCWCOUNT DS 1H NO. OF BYTES OF DATA IN BUFFER 00093000
  98. CCWWMRUN DS 2D CCWS FOR WTM & RUN 00094000
  99. SPACE 1 00095000
  100. MCCWSIZE EQU (*-MONCCW)/8 SIZE IN DOUBLE WORDS 00096000
  101. EJECT 00096100
  102. POP PRINT @VA08768 00096200
ibm/vm370-lib/copy/moncom.copy_src.txt ยท Last modified: 2023/08/06 13:36 by Site Administrator