Table of Contents

TIMER Source

References

Source Listing

TIMER.COPY.txt
  1. *COPY TIMER 00001000
  2. PUSH PRINT 00001200
  3. AIF ('&SYSPARM' NE 'SUP').TIM01 00001400
  4. PRINT OFF,NOGEN 00001600
  5. .TIM01 ANOP 00001800
  6. TRQBLOK DSECT 00004000
  7. SPACE 00005000
  8. *** TRQBLOK - TOD CLOCK COMPARATOR REQUEST 00006000
  9. * 00007000
  10. * 0 +-----------------------------------------------+ 00008000
  11. * | TRQBVAL | 00009000
  12. * 8 +-----------------------+-----------------------+ 00010000
  13. * | TRQBFPNT | TRQBBPNT | 00011000
  14. * 10 +-----------------------+-----------------------+ 00012000
  15. * | TRQBTOD | 00013000
  16. * 18 +-----------------------+-----------------------+ 00014000
  17. * | TRQBUSER | TRQBIRA | 00015000
  18. * 20 +-----------------------+-----------------------+ 00016000
  19. * | TRQBQUE | 00017000
  20. * 28 +-----------------------------------------------+ 00018000
  21. * 00019000
  22. *** TRQBLOK - TOD CLOCK COMPARATOR REQUEST 00020000
  23. SPACE 00023000
  24. TRQBVAL DS 1D TOD CLOCK COMPARATOR VALUE FOR INTERRUPT 00024000
  25. TRQBFPNT DS 1F POINTER TO NEXT TRQBLOK 00025000
  26. TRQBBPNT DS 1F POINTER TO PREVIOUS TRQBLOK 00026000
  27. TRQBTOD DS 1D TOD CLOCK VALUE WHEN TRQBLOK IS QUEUED 00027000
  28. TRQBUSER DS 1F ADDRESS OF VMBLOK FOR USER 00028000
  29. TRQBIRA DS 1F INTERRUPT RETURN ADDRESS 00029000
  30. TRQBQUE DS 1D TIME LEFT IN QUEUE; TRK. VIRT. CPU TIMER 00030000
  31. SPACE 00031000
  32. TRQBSIZE EQU (*-TRQBLOK)/8 SIZE IN DOUBLE WORDS 00032000
  33. SPACE 2 00033100
  34. * GRAPHICS EXTENSION 00034100
  35. SPACE 2 00035100
  36. * 28 +-----------------------+-----------+-----+-----+ 00036100
  37. * | TRQBCRT | TRQBDEV | T*1 | T*2 | 00037100
  38. * 30 +-----------------------+-----+-----+-----+-----+ 00038100
  39. * | TRQBRSV1 | T*3 | TRQBRSV2 | 00039100
  40. * +-----------------------------+-----+-----------+ 00040100
  41. SPACE 2 00041100
  42. TRQBCRT DS 1F GRAF DEVICE RETURN IRA @VA13071 00042100
  43. TRQBDEV DS 1H GRAF DEVICE DEV ADDRESS @VA13071 00043100
  44. TRQBFLAG DS 1X T*1 GRAF DEVICE FLAGS @VA13071 00044100
  45. TRQBLINE DS 1X T*2 LINE COORDINATE FOR INPUT @VA13071 00045100
  46. * AREA 00046100
  47. TRQBRSV1 DS 5X RESERVED FOR IBM USE @VA13071 00047100
  48. TRQBFLG3 DS 1X T*3 MORE GRAF DEVICE FLAGS @VA13071 00048100
  49. TRQBRSV2 DS 2X RESERVED FOR IBM USE @VA13071 00049100
  50. SPACE 00050100
  51. CRTEXT EQU (*-TRQBCRT)/8 SIZE OF EXTENSION IN DOUBLE WORDS@VA13071 00051100
  52. CRTEXTSZ EQU *-TRQBCRT SIZE OF EXTENSION IN BYTES @VA13071 00052100
  53. SPACE 2 00053100
  54. * BITS DEFINED IN TRQBFLAG FOR GRAF DEVICE CONTROL 00054100
  55. CRTFMT EQU X'80' SCREEN FORMATTED VM/370 ONLINE @VA13071 00055100
  56. CRTDIAG EQU X'40' SCREEN WRITTEN WITH DIAGNOSE @VA13071 00056100
  57. * X'19' COMMAND CODE 00057100
  58. CRTALRM EQU X'20' SCREEN HAS ALARM MESSAGE @VA13071 00058100
  59. CRTWNG EQU X'10' SCREEN HAS MORE...WARNING @VA13071 00059100
  60. CRTCARD EQU X'08' DATA FROM CARD READER @VA13071 00060100
  61. CRTUSEWA EQU X'04' E/W ALTERNATE OR E/W IS NEEDED. @VA13071 00061100
  62. CRTAPL EQU X'02' APL READ BUFFER ALLOCATED @VA13071 00062100
  63. CRTSIO EQU X'01' USER ISSUE DIAGNOSE TO INPUT AREA@VA13071 00063100
  64. CRTAIO EQU CRTSIO TIMER INTERRUPT PENDING AFTER @VA13071 00064100
  65. * I/O COMPLETES 00065100
  66. SPACE 2 00066100
  67. * BITS DEFINED IN TRQBFLG3 FOR FURTHER DEVICE CONTROL 00067100
  68. TRQBLOGP EQU X'80' LOGOFF PENDING DUE TO PRIOR @VA13071 00068100
  69. * CHANNEL ERROR 00069100
  70. SPACE 2 00070100
  71. * REDEFINITION FOR REMOTE GRAPHICS DEVICES 00071100
  72. SPACE 00072100
  73. ORG TRQBFLAG @VA13071 00073100
  74. TRQNAME DS 1H RESOURCE IDENTIFICATION @VA13071 00074100
  75. TRQBPOLL EQU X'FF' TIMER INTERRUPT FOR GENERAL POLL @VA13071 00075100
  76. EJECT 00076100
  77. POP PRINT @VA13071 00077100
  78. SPACE 00078100