User Tools

Site Tools


cdc:nos2.source:nam5871:sstrcm

SSTRCM

Table Of Contents

  • [00004] SSTRCM - REQUEST CENTRAL MEMORY.
  • [00007] REQUEST CENTRAL MEMORY.

Source Code

SSTRCM.txt
  1. *DECK SSTRCM
  2. IDENT SSTRCM
  3. ENTRY SSTRCM
  4. TITLE SSTRCM - REQUEST CENTRAL MEMORY.
  5. *COMMENT REQUEST CENTRAL MEMORY.
  6. SSTRCM SPACE 4,10
  7. *** SSTRCM - REQUEST CENTRAL MEMORY.
  8. *
  9. * S. H. FISCHER. 82/05/10.
  10. SPACE 4,10
  11. *** SSTRCM WILL ADJUST OR RETURN THE PROGRAMS CENTRAL MEMORY
  12. * FIELD LENGTH. THE REQUEST FOR ADDITIONAL CM
  13. * CAN BE WITH OR WITHOUT RECALL SO AN INCREASE IN CM
  14. * CAN BE MADE AND THE PROGRAM CONTINUE WITH OTHER WORK
  15. * UNTIL THE MEMORY IS AVAILABLE.
  16. SPACE 4,10
  17. *** SYMPL CALLING SEQUENCE.
  18. *
  19. * SSTRCM( M, RECALL, STAT );
  20. *
  21. * M = AMOUNT OF CENTRAL MEMORY TO REQUEST.
  22. * RECALL = RECALL STATUS, IF ZERO
  23. * *STAT* MUST BE CHECKED FOR COMPLETION.
  24. * STAT = ADDRESS TO USE IN MAKING MEMORY REQUEST.
  25. * NEW CENTRAL MEMORY FIELD LENGTH IS IN STAT LEFT SHIFT
  26. * BY 30 BITS WHEN THE COMPLETE BIT IS SET.
  27. * NOTE THIS ROUTINE STORES INTO STAT,
  28. * IT CANNOT BE SET UP BY THE CALLER.
  29. SSTRCM SPACE 4,10
  30. SSTRCM EQ *+1S17D
  31. EXIT. EQU *
  32. SA2 A1+1 X2 = ADDRESS OF RECALL FLAG
  33. SA1 X1 X1 = VALUE OF M
  34. MX4 30
  35. SA3 A2+1 X3 = ADDRESS OF STAT WORD
  36. SX6 X1
  37. LX6 30 SETUP REQUEST/STATUS WORD
  38. SA2 X2 X2 = RECALL FLAG
  39. BX6 X4*X6
  40. SA6 X3
  41. NZ X2,RCM1 IF RECALL REQUESTED
  42.  
  43. MEMORY CM,A6 REQUEST MEMORY
  44. JP EXIT.
  45.  
  46. RCM1 MEMORY CM,A6,R REQUEST MEMORY
  47. JP EXIT. RETURN
  48.  
  49. END
cdc/nos2.source/nam5871/sstrcm.txt ยท Last modified: 2023/08/05 17:23 by Site Administrator