Table of Contents

TREXT Source

References

Source Listing

TREXT.COPY.txt
  1. *COPY TREXT 00001000
  2. PUSH PRINT 00001200
  3. AIF ('&SYSPARM' NE 'SUP').TRE01 00001400
  4. PRINT OFF,NOGEN 00001600
  5. .TRE01 ANOP 00001800
  6. TREXT DSECT 00002000
  7. SPACE 00003000
  8. *** TREXT - VIRTUAL MACHINE TRACING EXTENSION 00004000
  9. * 00005000
  10. * 0 +-----------------------+-----------------------+ 00006000
  11. * | TREXIN1 | TREXIN2 | 00007000
  12. * 8 +-----------+-----------+-----+-----+-----------+ 00008000
  13. * | TREXSVC1 | TREXSVC2 | T*1 | T*2 | TREXLOCK | 00009000
  14. * 10 +-----------+-----------+-----+-----+-----------+ 00010000
  15. * | TREXPERA | TREXPERC | TREXLCNT | 00011000
  16. * 18 +-----------------------+-----------+-----------+ 00012000
  17. * | TREXANSI | TREXCR9 | 00013000
  18. * 20 +-----------------------+-----------------------+ 00014000
  19. * | TREXCR10 | TREXCR11 | 00015000
  20. * 28 +-----------------------+-----------------------+ 00016000
  21. * | | 00017000
  22. * = TREXBUFF = 00018000
  23. * | | 00019000
  24. * 78 +-----------------------------------------------+ 00020000
  25. * 00021000
  26. *** TREXT - VIRTUAL MACHINE TRACING EXTENSION 00022000
  27. SPACE 00023000
  28. TREXIN1 DS 1F FIRST ADDRESS - REPLACED INSTRUCTION 00024000
  29. TREXIN2 DS 1F SECOND ADDRESS - REPLACED INSTRUCTION 00025000
  30. TREXSVC1 DS 1H DISPLACED HALFWORD - INSTR. ONE 00026000
  31. TREXSVC2 DS 1H DISPLACED HALFWORD - INSTR. TWO 00027000
  32. TREXFLAG DS 1X T*1 TRACING CONTROL FLAGS 00033000
  33. TREXOUT DS 1X T*2 TRACE OUTPUT CONTROL FLAGS 00034000
  34. TREXLOCK DS 1H INDICATES TRACING RIGHT NOW WHEN SET 00035000
  35. TREXPERA DS 1F (1) PER EVENT ADDRESS ON INTERRUPT 00036000
  36. TREXPERC DS 1H (2) PER CODE BITS FROM HARDWARE EVENT 00037000
  37. TREXLCNT DS 1H PRINTED OUTPUT LINE COUNT 00038000
  38. TREXANSI DS 1A ADDR OF NEXT (OR LAST) SEQUENTIAL INSTR 00039000
  39. TREXCR9 DS 0F (1) SHADOW CONTROL REGS FOR PER TRACE: 00040000
  40. TREXPER DS XL2 PER CONTROL FIELD 00041000
  41. TREXPREG DS 1H PER REGISTER MASK FIELD 00042000
  42. TREXCR10 DS 1F (2) ADDRESS RANGE START VALUE 00043000
  43. TREXCR11 DS 1F (3) ADDRESS RANGE ENDING VALUE 00044000
  44. TREXBUFF DS 10D CONSOLE/PRINTER OUTPUT BUFFER (80 BYTES) 00045000
  45. SPACE 00045500
  46. TREXSIZE EQU (*-TREXT)/8 00046000
  47. SPACE 00047000
  48. ORG TREXIN1 RE-DEFINITION FOR PER TRACING 00048000
  49. TREXPSW DS 1D OLD PSW FOR PENDING SVC INTERRUPT 00049000
  50. TREXINTL DS 1H INTRUCTION LENGTH CODE 00050000
  51. TREXINTC DS 1H INTERRUPT CODE FOR PENDING INTERRUPT 00051000
  52. SPACE 00052000
  53. ORG TREXPERA RE-DEFINITION FOR "TRACE" USE 00057000
  54. TREXNSI DS 6X ACTUAL NEXT (OR LAST) SEQUENTIAL INSTR 00058000
  55. SPACE 00059000
  56. ORG TREXCR9 RE-DEFINITION FOR "TRACE" USE 00060000
  57. TREXCTL DS 0H HALFWORD HOLDING TRACING CONTROL BITS: 00061000
  58. TREXCTL1 DS 1X FIRST BYTE = SAME AS VMTRCTL IN VMBLOK 00062000
  59. TREXCTL2 DS 1X SECOND BYTE = REMAINING CONTROL BITS 00063000
  60. TREXPRNT DS 1H PRINTER FLAGBITS CORRESPONDING TO TREXCTL 00064000
  61. TREXTERM DS 1H TERMINAL FLAGBITS CORR. TO TREXCTL 00065000
  62. TREXRUNF DS 1H RUN/NORUN FLAGBITS CORR. TO TREXCTL 00066000
  63. TREXPNTR DS 1F PNTR TO 1ST STACKED TRACE REQUEST, IF ANY 00067000
  64. SPACE 00068000
  65. * BITS DEFINED IN TREXFLAG: 00069100
  66. TREXRUN EQU X'80' DO NOT ENTER CFWAIT BETWEEN EVENTS 00069200
  67. TREXVAT EQU X'40' CALL DMKVATRN TO PUT BACK VIRTUAL DATA 00069300
  68. TREXNDSP EQU X'20' DSP SHOULD NOT CALL TRCIT 00069350
  69. SPACE 00069400
  70. * BITS DEFINED IN TREXOUT: 00069500
  71. TREXPRT EQU X'80' OUTPUT TO THE VIRTUAL SPOOL PRINTER 00069600
  72. TREXCON EQU X'40' OUTPUT TO VIRTUAL MACHINE CONSOLE 00069700
  73. SPACE 00069800
  74. * BITS DEFINED IN TREXCTL2: 00069900
  75. TREXCCW EQU X'80' TRACE VIRTUAL AND REAL CCWS 00070000
  76. TREXCSW EQU X'40' TRACE VIRTUAL AND REAL CSWS 00071000
  77. TREXBRAN EQU X'20' TRACE SUCCESSFUL BRANCHES 00072000
  78. TREXINST EQU X'10' TRACE ALL INSTRUCTIONS 00073000
  79. EJECT 00074000
  80. POP PRINT 00075000
  81. SPACE 00076000