cdc:nos2.source:nam5871:ns_slt
Table of Contents
NS$SLT
Table Of Contents
- [00005] PROC NS$SLT
- [00007] NS$SLT - START LOCAL TIMER.
- [00011] START LOCAL TIMER.
- [00033] PROC RTIME
Source Code
- NS$SLT.txt
- *DECK NS$SLT
- USETEXT NAT$NS
- USETEXT DEF$NS
- PROC NS$SLT; # START RESPONSE TIMER #
- # TITLE NS$SLT - START LOCAL TIMER. #
- BEGIN # NS$SLT #
- #
- ** NS$SLT - START LOCAL TIMER.
- *
- * J.C. LEE 1981
- *
- * THIS ROUTINE STARTS THE LOCAL TIMER.
- *
- * PROC NS$SLT
- *
- * ENTRY:
- * NONE.
- *
- * EXIT:
- * NONE.
- *
- * METHOD:
- * GET REAL TIME CLOCK.
- * SET LOCAL TIME IN NAT TO CURRENT TIME + RESPONSE TIME.
- *
- #
- XREF
- BEGIN
- PROC RTIME; # GET REAL TIME CLOCK #
- END
- ARRAY STAT [0:0] S(1);
- BEGIN # PARAMETER WORD FOR RTIME CALL #
- ITEM STATWORD U(00,00,60); # REAL TIME CLOCK READING #
- ITEM RSECS U(00,00,24); # SECONDS SINCE DEADSTART #
- ITEM RMSECS U(00,24,36); # MILLISECONDS SINCE DEADSTART #
- END
- CONTROL EJECT;
- RTIME(STAT); # GET REAL TIME CLOCK #
- NAT$LTIMER[0] = RSECS[0] + RTIMER; # START RESPONSE TIMER #
- RETURN;
- END # NS$SLT #
- TERM
cdc/nos2.source/nam5871/ns_slt.txt ยท Last modified: 2023/08/05 17:22 by Site Administrator