User Tools

Site Tools


cdc:nos2.source:nam5871:updncnb

UPDNCNB

Table Of Contents

  • [00006] PRGM UPDNCNB
  • [00046] PROC XTRACE

Source Code

UPDNCNB.txt
  1. *DECK UPDNCNB
  2. USETEXT NIPDEF
  3. USETEXT NCNB
  4. USETEXT SUPMSG
  5. USETEXT PARAMS
  6. PRGM UPDNCNB; # UPDATE NCNB WITH TERMINAL CHAR CHANGES #
  7. STARTIMS;
  8. #
  9. *1DC UPDNCNB
  10. *
  11. * 1. PROC NAME AUTHOR DATE
  12. * UPDNCNB C. BITTNER 82/09/01
  13. *
  14. * 2. FUNCTIONAL DESCRIPTION
  15. * UPDATE ACNB WITH TERMINAL CHARACTERISTIC CHANGES
  16. *
  17. * 3. METHOD USED
  18. * BASE SM (CHC/TE)
  19. * UPDATE NCNB
  20. *
  21. * 4. ENTRY PARAMETERS
  22. * PARAMS1 - NCNB ADDRESS
  23. * PARAMS2 - FWA OF CHC/TE
  24. *
  25. * 5. EXIT PARAMETERS
  26. * NONE
  27. *
  28. * 6. COMDECKS CALLED AND SYMPL TEXTS USED
  29. * NIPDEF NCNB SUPMSG
  30. * PARAMS OSSIZE
  31. *
  32. * 7. ROUTINES CALLED
  33. * XTRACE - TRACE PROCEDURE CALL
  34. *
  35. * 8. DAYFILE MESSAGES AND OTHER IMPORTANT INFORMATION
  36. * THIS SECONDARY OVERLAY IS CALLED BY NCSTTP.
  37. * W A R N I N G - THIS PROGRAM CANNOT EXCEED THE SECONDARY
  38. *CALL OSSIZE
  39.  #
  40. STOPIMS;
  41. #
  42.   EXTERNAL VARIABLES
  43. #
  44. XREF
  45. BEGIN
  46. PROC XTRACE; # TRACE PROCEDURE CALL #
  47. LABEL RJMAIN; # RETURN ADDRESS IN OVLCALL #
  48. END
  49.  
  50.  
  51. #
  52.  PARAMS1 - NCNB ADDRESS
  53.  PARAMS2 - SM BUFFER ADDRESS- CHC/TE
  54. #
  55.  
  56. #**********************************************************************#
  57.  
  58. BEGIN
  59.  
  60. CONTROL IFEQ DEBUG,1;
  61. XTRACE("UNCNB");
  62. CONTROL FI;
  63.  
  64. P<SMNIP> = PARAMS2 + BLKHSIZE + ABHSIZE; # FWA OF CHC/TE #
  65. P<NCNB> = PARAMS1; # BASE NCNB #
  66. NCNBTC[0] = CHCTC[0]; # UPDATE NEW TERMINAL CLASS #
  67. NCNBPW[0] = CHCPW[0]; # UPDATE NEW PAGE WIDTH #
  68. NCNBPL[0] = CHCPL[0]; # UPDATE NEW PAGE LENGTH #
  69. GOTO RJMAIN; # RETURN TO CALLING PROGRAM #
  70. END
  71. TERM
cdc/nos2.source/nam5871/updncnb.txt ยท Last modified: 2023/08/05 17:23 by Site Administrator