From b4ed0f993ec718e129295a8b42e3997932c21be7 Mon Sep 17 00:00:00 2001 From: Chyanne Haugen Date: Mon, 5 Oct 2020 12:58:30 -0700 Subject: [PATCH 1/8] Poof read and fixed minor typos --- Luminary099/RESTARTS_ROUTINE.agc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Luminary099/RESTARTS_ROUTINE.agc b/Luminary099/RESTARTS_ROUTINE.agc index d5e344814..a2b791aef 100644 --- a/Luminary099/RESTARTS_ROUTINE.agc +++ b/Luminary099/RESTARTS_ROUTINE.agc @@ -49,7 +49,7 @@ RESTARTS CA MPAC +5 # GET GROUP NUMBER -1 GETPART2 CCS TEMPPHS # IS IT AN X.1 RESTART CCS A - TCF ITSATBL # NO, IT'S A TABLE RESTART + TCF ITSATBL # NO, ITS A TABLE RESTART CA PRIO14 # IT IS AN X.1 RESTART, THEREFORE START TC FINDVAC # THE DISPLAY RESTART JOB @@ -67,17 +67,17 @@ ITSAVAR MASK OCT1400 # IS IT TYPE B ? DCA PHSNAME1 DXCH GOLOC - CA TEMPPHS # SEE IF THIS IS A JOB, TASK, OR A LONGCALL + CA TEMPPHS # SEE IF THIS IS A JOB, TASK, OR A LONGCAL MASK OCT7 AD MINUS2 CCS A - TCF ITSLNGCL # IT'S A LONGCALL + TCF ITSLNGCL # ITS A LONGCALL -RTRNCADR TC SWRETURN # CAN'T GET HERE. +RTRNCADR TC SWRETURN # CANT GET HERE # Page 1304 TCF ITSAWAIT - TCF ITSAJOB # IT'S A JOB + TCF ITSAJOB # ITS A JOB ITSAWAIT CA WTLTCADR # SET UP WAITLIST CALL TS GOLOC -1 @@ -152,12 +152,12 @@ ITSLIKEB CA RTRNCADR # TYPE B, SO STORE RETURN IN ITSAJOB NDX TEMP2G # NOW ADD THE PRIORITY AND LET'S GO CA PHSPRDT1 -CHKNOVAC TS GOLOC -1 # SAVE PRIO UNTIL WE SEE IF IT'S +CHKNOVAC TS GOLOC -1 # SAVE PRIO UNTIL WE SEE IF ITS EXTEND # A FINDVAC OR A NOVAC BZMF ITSNOVAC CAF FVACCADR # POSITIVE, SET UP FINDVAC CALL. - XCH GOLOC -1 # PICK UP PRIO + XCH GOLOC -1 # PICK UP PRIO, TC GOLOC -1 # AND GO ITSNOVAC CAF NOVACADR # NEGATIVE, @@ -192,7 +192,7 @@ CONTBL2 EXTEND # FIND OUT WHAT'S IN THE TABLE TCF ITSAJOB2 INCR A # MUST BE EITHER A WAITLIST OR LONGCALL - TS GOLOC # LET'S STORE THE CORRECT CADR + TS GOLOC # LET-S STORE THE CORRECT CADR CA WTLTCADR # SET UP OUR EXIT TO WAITLIST TS GOLOC -1 @@ -252,7 +252,7 @@ ITSLGCL2 DXCH LONGTIME TCF IMEDIATE -3 CCS LONGTIME +1 TCF LONGCLCL - NOOP # CAN'T GET HERE ************ + NOOP # CAN'T GET HERE ********* TCF IMEDIATE -3 TCF IMEDIATE @@ -303,7 +303,7 @@ PHSPART2 CA THREE # SET THE POINTER FOR THE SECOND HALF OF ADS POINTER # THE TABLE CA RTRNCADR # THIS WILL BE OUR LAST TIME THROUGH THE - TS GOLOC +2 # EVEN TABLE, SO AFTER IT GET THE NEXT + TS GOLOC +2 # EVEN TABLE , SO AFTER IT GET THE NEXT # GROUP TCF CONTBL2 # SO LET'S GET THE SECOND ENTRY IN THE TBL From aeaf66d208b7213a201c3e1a131fd4b195397fe8 Mon Sep 17 00:00:00 2001 From: Chyanne Haugen Date: Fri, 9 Oct 2020 09:37:13 -0700 Subject: [PATCH 2/8] Poof read --- Luminary099/KEYRUPT_UPRUPT.agc | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/Luminary099/KEYRUPT_UPRUPT.agc b/Luminary099/KEYRUPT_UPRUPT.agc index c971b5bd4..cce31bb63 100644 --- a/Luminary099/KEYRUPT_UPRUPT.agc +++ b/Luminary099/KEYRUPT_UPRUPT.agc @@ -51,7 +51,7 @@ ACCEPTUP CAF CHRPRIO # (NOTE: RUPTREG4 = KEYTEMP1) CA RUPTREG4 INDEX LOCCTR - TS MPAC # LEAVE 5 BIT KEY CODE IN MPAC FOR CHARIN + TS MPAC # LEAVE 5 BIT KEY CDE IN MPAC FOR CHARIN TC RESUME # Page 1339 @@ -83,9 +83,9 @@ UPRPT1 CAF LOW5 # TEST FOR TRIPLE CHAR REDUNDANCY COM TC UPTEST -UPCK CS ELRCODE # CODE IS GOOD. IF CODE = `ERROR RESET', +UPCK CS ELRCODE # CODE IS GOOD. IF CODE = 'ERROR RESET', AD KEYTEMP1 # CLEAR UPLOCKFL (SET BIT4 OF FLAGWRD7 = 0) - EXTEND # IF CODE DOES NOT = `ERROR RESET', ACCEPT + EXTEND # IF CODE DOES NOT = 'ERROR RESET', ACCEPT BZF CLUPLOCK # CODE ONLY IF UPLOCKFL IS CLEAR (=0). CAF UPLOCBIT # TEST UPLOCKFL FOR 0 OR 1 @@ -94,7 +94,7 @@ UPCK CS ELRCODE # CODE IS GOOD. IF CODE = `ERROR RESET', TC RESUME # UPLOCKFL = 1 TC ACCEPTUP # UPLOCKFL = 0 -CLUPLOCK CS UPLOCBIT # CLEAR UPLOCKFL (I.E., SET BIT 4 OF +CLUPLOCK CS UPLOCBIT # CLEAR UPLOCKFL (I.E., SET BIT 4 OF ) MASK FLAGWRD7 # FLAGWRD7 = 0) TS FLAGWRD7 TC ACCEPTUP @@ -102,7 +102,7 @@ CLUPLOCK CS UPLOCBIT # CLEAR UPLOCKFL (I.E., SET BIT 4 OF # CODE IS BAD TMFAIL2 CS FLAGWRD7 # LOCK OUT FURTHER UPLINK ACTIVITY MASK UPLOCBIT # (BY SETTING UPLOCKFL = 1) UNTIL - ADS FLAGWRD7 # `ERROR RESET' IS SENT VIA UPLINK. + ADS FLAGWRD7 # 'ERROR RESET' IS SENT VIA UPLINK. TC RESUME UPTEST AD KEYTEMP1 # Page 1340 @@ -114,19 +114,18 @@ HI10 OCT 77740 ELRCODE OCT 22 -# `UPLINK ACTIVITY LIGHT' IS TURNED OFF BY ..... +# 'UPLINK ACTIVITY LIGHT' IS TURNED OFF BY ..... # 1. VBRELDSP # 2. ERROR RESET -# 3. UPDATE PROGRAM (P27) ENTERED BY V70,V71,V72, AND V73. +# 3. UPDATE PROGRAM (P27) ENTERED BY V70,V71,V72,AND V73. # _ -# THE RECEPTION OF A BAD CODE (I.E., CCC FAILURE) LOCKS OUT FURTHER UPLINK ACTIVITY BY SETTING BIT4 OF FLAGWRD7 = 1. +# THE RECEPTION OF A BAD CODE(I.E CCC FAILURE) LOCKS OUT FURTHER UPLINK ACTIVITY BY SETTING BIT4 OF FLAGWRD7 = 1. # THIS INDICATION WILL BE TRANSFERRED TO THE GROUND BY THE DOWNLINK WHICH DOWNLINKS ALL FLAGWORDS. -# WHEN UPLINK ACTIVITY IS LOCKED OUT, IT CAN BE ALLOWED WHEN THE GROUND UPLINKS AND `ERROR RESET' CODE. -# (IT IS RECOMMENDED THAT THE `ERROR LIGHT RESET' CODE IS PRECEEDED BY 16 BITS THE FIRST OF WHICH IS 1 FOLLOWED +# WHEN UPLINK ACTIVITY IS LOCKED OUT , IT CAN BE ALLOWED WHEN THE GROUND UPLINKS AND 'ERROR RESET' CODE. +# (IT IS RECOMMENDED THAT THE 'ERROR LIGHT RESET' CODE IS PRECEEDED BY 16 BITS THE FIRST OF WHICH IS 1 FOLLOWED # BY 15 ZEROS. THIS WILL ELIMINATE EXTRANEOUS BITS FROM INLINK WHICH MAY HAVE BEEN LEFT OVER FROM THE ORIGINAL # FAILURE). -# -# UPLINK ACTIVITY IS ALSO ALLOWED (UNLOCKED) DURING FRESH START WHEN FRESH START SETS BIT4 OF FLAGWRD7 = 0. +# UPLINK ACTIVITY IS ALSO ALLOWED(UNLOCKED) DURING FRESH START WHEN FRESH START SETS BIT4 OF FLAGWRD7 = 0. CS XDSPBIT From 13e072e8d9a699694f20fdde56461e3bcf88092d Mon Sep 17 00:00:00 2001 From: Chyanne Haugen Date: Fri, 9 Oct 2020 09:57:19 -0700 Subject: [PATCH 3/8] updating in other branch --- Luminary099/KEYRUPT_UPRUPT.agc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Luminary099/KEYRUPT_UPRUPT.agc b/Luminary099/KEYRUPT_UPRUPT.agc index c971b5bd4..5f1fa503b 100644 --- a/Luminary099/KEYRUPT_UPRUPT.agc +++ b/Luminary099/KEYRUPT_UPRUPT.agc @@ -128,5 +128,4 @@ ELRCODE OCT 22 # # UPLINK ACTIVITY IS ALSO ALLOWED (UNLOCKED) DURING FRESH START WHEN FRESH START SETS BIT4 OF FLAGWRD7 = 0. - CS XDSPBIT - + CS XDSPBIT \ No newline at end of file From d1683c45746cb1921066fdd680694c214ecd0247 Mon Sep 17 00:00:00 2001 From: Chyanne Haugen Date: Fri, 9 Oct 2020 09:58:49 -0700 Subject: [PATCH 4/8] updating in other branch --- Luminary099/KEYRUPT_UPRUPT.agc | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/Luminary099/KEYRUPT_UPRUPT.agc b/Luminary099/KEYRUPT_UPRUPT.agc index 49204b2fe..5f1fa503b 100644 --- a/Luminary099/KEYRUPT_UPRUPT.agc +++ b/Luminary099/KEYRUPT_UPRUPT.agc @@ -51,7 +51,7 @@ ACCEPTUP CAF CHRPRIO # (NOTE: RUPTREG4 = KEYTEMP1) CA RUPTREG4 INDEX LOCCTR - TS MPAC # LEAVE 5 BIT KEY CDE IN MPAC FOR CHARIN + TS MPAC # LEAVE 5 BIT KEY CODE IN MPAC FOR CHARIN TC RESUME # Page 1339 @@ -83,9 +83,9 @@ UPRPT1 CAF LOW5 # TEST FOR TRIPLE CHAR REDUNDANCY COM TC UPTEST -UPCK CS ELRCODE # CODE IS GOOD. IF CODE = 'ERROR RESET', +UPCK CS ELRCODE # CODE IS GOOD. IF CODE = `ERROR RESET', AD KEYTEMP1 # CLEAR UPLOCKFL (SET BIT4 OF FLAGWRD7 = 0) - EXTEND # IF CODE DOES NOT = 'ERROR RESET', ACCEPT + EXTEND # IF CODE DOES NOT = `ERROR RESET', ACCEPT BZF CLUPLOCK # CODE ONLY IF UPLOCKFL IS CLEAR (=0). CAF UPLOCBIT # TEST UPLOCKFL FOR 0 OR 1 @@ -94,7 +94,7 @@ UPCK CS ELRCODE # CODE IS GOOD. IF CODE = 'ERROR RESET', TC RESUME # UPLOCKFL = 1 TC ACCEPTUP # UPLOCKFL = 0 -CLUPLOCK CS UPLOCBIT # CLEAR UPLOCKFL (I.E., SET BIT 4 OF ) +CLUPLOCK CS UPLOCBIT # CLEAR UPLOCKFL (I.E., SET BIT 4 OF MASK FLAGWRD7 # FLAGWRD7 = 0) TS FLAGWRD7 TC ACCEPTUP @@ -102,7 +102,7 @@ CLUPLOCK CS UPLOCBIT # CLEAR UPLOCKFL (I.E., SET BIT 4 OF ) # CODE IS BAD TMFAIL2 CS FLAGWRD7 # LOCK OUT FURTHER UPLINK ACTIVITY MASK UPLOCBIT # (BY SETTING UPLOCKFL = 1) UNTIL - ADS FLAGWRD7 # 'ERROR RESET' IS SENT VIA UPLINK. + ADS FLAGWRD7 # `ERROR RESET' IS SENT VIA UPLINK. TC RESUME UPTEST AD KEYTEMP1 # Page 1340 @@ -114,17 +114,18 @@ HI10 OCT 77740 ELRCODE OCT 22 -# 'UPLINK ACTIVITY LIGHT' IS TURNED OFF BY ..... +# `UPLINK ACTIVITY LIGHT' IS TURNED OFF BY ..... # 1. VBRELDSP # 2. ERROR RESET -# 3. UPDATE PROGRAM (P27) ENTERED BY V70,V71,V72,AND V73. +# 3. UPDATE PROGRAM (P27) ENTERED BY V70,V71,V72, AND V73. # _ -# THE RECEPTION OF A BAD CODE(I.E CCC FAILURE) LOCKS OUT FURTHER UPLINK ACTIVITY BY SETTING BIT4 OF FLAGWRD7 = 1. +# THE RECEPTION OF A BAD CODE (I.E., CCC FAILURE) LOCKS OUT FURTHER UPLINK ACTIVITY BY SETTING BIT4 OF FLAGWRD7 = 1. # THIS INDICATION WILL BE TRANSFERRED TO THE GROUND BY THE DOWNLINK WHICH DOWNLINKS ALL FLAGWORDS. -# WHEN UPLINK ACTIVITY IS LOCKED OUT , IT CAN BE ALLOWED WHEN THE GROUND UPLINKS AND 'ERROR RESET' CODE. -# (IT IS RECOMMENDED THAT THE 'ERROR LIGHT RESET' CODE IS PRECEEDED BY 16 BITS THE FIRST OF WHICH IS 1 FOLLOWED +# WHEN UPLINK ACTIVITY IS LOCKED OUT, IT CAN BE ALLOWED WHEN THE GROUND UPLINKS AND `ERROR RESET' CODE. +# (IT IS RECOMMENDED THAT THE `ERROR LIGHT RESET' CODE IS PRECEEDED BY 16 BITS THE FIRST OF WHICH IS 1 FOLLOWED # BY 15 ZEROS. THIS WILL ELIMINATE EXTRANEOUS BITS FROM INLINK WHICH MAY HAVE BEEN LEFT OVER FROM THE ORIGINAL # FAILURE). -# UPLINK ACTIVITY IS ALSO ALLOWED(UNLOCKED) DURING FRESH START WHEN FRESH START SETS BIT4 OF FLAGWRD7 = 0. +# +# UPLINK ACTIVITY IS ALSO ALLOWED (UNLOCKED) DURING FRESH START WHEN FRESH START SETS BIT4 OF FLAGWRD7 = 0. CS XDSPBIT \ No newline at end of file From 35b8b188f34092368ab32aa18749315e9587a8b9 Mon Sep 17 00:00:00 2001 From: Chyanne Haugen Date: Fri, 9 Oct 2020 10:02:05 -0700 Subject: [PATCH 5/8] updating in other branch --- Luminary099/KEYRUPT_UPRUPT.agc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Luminary099/KEYRUPT_UPRUPT.agc b/Luminary099/KEYRUPT_UPRUPT.agc index 5f1fa503b..c971b5bd4 100644 --- a/Luminary099/KEYRUPT_UPRUPT.agc +++ b/Luminary099/KEYRUPT_UPRUPT.agc @@ -128,4 +128,5 @@ ELRCODE OCT 22 # # UPLINK ACTIVITY IS ALSO ALLOWED (UNLOCKED) DURING FRESH START WHEN FRESH START SETS BIT4 OF FLAGWRD7 = 0. - CS XDSPBIT \ No newline at end of file + CS XDSPBIT + From 309ad063a9309aa5762cdb3ce8462525c3c77833 Mon Sep 17 00:00:00 2001 From: James Harris Date: Tue, 13 Oct 2020 20:11:10 +0100 Subject: [PATCH 6/8] Review changes --- Luminary099/RESTARTS_ROUTINE.agc | 36 +++++++++++++++----------------- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/Luminary099/RESTARTS_ROUTINE.agc b/Luminary099/RESTARTS_ROUTINE.agc index a2b791aef..57de85fd4 100644 --- a/Luminary099/RESTARTS_ROUTINE.agc +++ b/Luminary099/RESTARTS_ROUTINE.agc @@ -45,7 +45,7 @@ RESTARTS CA MPAC +5 # GET GROUP NUMBER -1 CA TEMPPHS MASK OCT1400 CCS A # IS IT A VARIABLE OR TABLE RESTART - TCF ITSAVAR # IT'S A VARIABLE RESTART + TCF ITSAVAR # IT:S A VARIABLE RESTART GETPART2 CCS TEMPPHS # IS IT AN X.1 RESTART CCS A @@ -60,9 +60,9 @@ GETPART2 CCS TEMPPHS # IS IT AN X.1 RESTART ITSAVAR MASK OCT1400 # IS IT TYPE B ? CCS A - TCF ITSLIKEB # YES, IT IS TYPE B + TCF ITSLIKEB # YES,IT IS TYPE B - EXTEND # STORES THE JOB (OR TASK) 2CADR FOR EXIT + EXTEND # STORE THE JOB (OR TASK) 2CADR FOR EXIT NDX TEMP2G DCA PHSNAME1 DXCH GOLOC @@ -135,7 +135,7 @@ FINDTIME COM # MAKE NEGITIVE SINCE IT WILL BE SUBTRACTD TCF +1 IMEDIATE AD ONE TC GOLOC -1 -ITSLIKEB CA RTRNCADR # TYPE B, SO STORE RETURN IN +ITSLIKEB CA RTRNCADR # TYPE B, SO STORE RETURN IN TS TEMPSWCH # TEMPSWCH IN CASE OF AN EVEN PHASE CA PRT2CADR # SET UP EXIT TO GET TABLE PART OF THIS @@ -146,11 +146,11 @@ ITSLIKEB CA RTRNCADR # TYPE B, SO STORE RETURN IN TS TEMPPHS EXTEND - NDX TEMP2G # OBTAIN THE JOB'S 2CADR + NDX TEMP2G # OBTAIN THE JOB:S 2CADR DCA PHSNAME1 DXCH GOLOC -ITSAJOB NDX TEMP2G # NOW ADD THE PRIORITY AND LET'S GO +ITSAJOB NDX TEMP2G # NOW ADD THE PRIORITY AND LET:S GO CA PHSPRDT1 CHKNOVAC TS GOLOC -1 # SAVE PRIO UNTIL WE SEE IF ITS EXTEND # A FINDVAC OR A NOVAC @@ -167,7 +167,7 @@ ITSNOVAC CAF NOVACADR # NEGATIVE, ITSATBL TS CYR # FIND OUT IF THE PHASE IS ODD OR EVEN CCS CYR - TCF +1 # IT'S EVEN + TCF +1 # IT:S EVEN TCF ITSEVEN CA RTRNCADR # IN CASE THIS IS THE SECOND PART OF A @@ -181,13 +181,13 @@ ITSATBL TS CYR # FIND OUT IF THE PHASE IS ODD OR EVEN AD SIZETAB +1 TS POINTER -CONTBL2 EXTEND # FIND OUT WHAT'S IN THE TABLE +CONTBL2 EXTEND # FIND OUT WHAT:S IN THE TABLE NDX POINTER DCA CADRTAB # GET THE 2CADR LXCH GOLOC +1 # STORE THE BB INFORMATION - CCS A # IS IT A JOB OR IS IT TIMED + CCS A # IS IT A JOB OR IS IT TIMED INCR A # POSITIVE. MUST BE A JOB TCF ITSAJOB2 @@ -201,7 +201,7 @@ CONTBL2 EXTEND # FIND OUT WHAT'S IN THE TABLE MASK BIT10 # THIS SHOULD BE ONE IF WE HAVE -BB CCS A # FOR THAT MATTER SO SHOULD BE BITS 9,8,7, # 6,5, AND LAST BUT NOT LEAST (PERHAPS NOT - # IN IMPORTANCE ANYWAY. BIT 4 + # IN IMPORTANCE ANYWAY. BIT 4 TCF ITSWTLST # IT IS A WAITLIST CALL NDX POINTER # OBTAIN THE ORIGINAL DELTA T @@ -228,9 +228,9 @@ ITSLGCL1 LXCH GOLOC +1 # OBTAIN THE CORRECT E BANK LXCH BB # RESTORE THE TASKS E AND F BANKS LXCH GOLOC +1 # AND PRESERVE OUR L # Page 1307 - TCF ITSLGCL2 # NOT LET'S PROCESS THIS LONGCALL + TCF ITSLGCL2 # NOT LET:S PROCESS THIS LONGCALL -# ***** YOU MAY RETURN TO SWITCHED FIXED ***** +# ***** YOU MAY RETURN TO SWITCHED FIXED ***** BANK 01 SETLOC RESTART @@ -252,7 +252,7 @@ ITSLGCL2 DXCH LONGTIME TCF IMEDIATE -3 CCS LONGTIME +1 TCF LONGCLCL - NOOP # CAN'T GET HERE ********* + NOOP # CAN:T GET HERE ********* TCF IMEDIATE -3 TCF IMEDIATE @@ -282,17 +282,17 @@ ITSWTLST CS GOLOC +1 # CORRECT THE BBCON INFORMATION # Page 1308 ITSAJOB2 XCH GOLOC # STORE THE CADR - NDX POINTER # ADD THE PRIORITY AND LET'S GO + NDX POINTER # ADD THE PRIORITY AND LET:S GO CA PRDTTAB TCF CHKNOVAC -ITSEVEN CA TEMPSWCH # SET FOR EITHER THE SECOND PART OF THE +ITSEVEN CA TEMPSWCH # SET UP FOR EITHER THE SECOND PART OF THE TS GOLOC +2 # TABLE, OR A RETURN FOR THE NEXT GROUP NDX TEMP2G # SET UP POINTER FOR OUR LOCATION WITHIN CA SIZETAB # THE TABLE - AD TEMPPHS # THIS MAY LOOK BAD BUT LET'S SEE YOU DO + AD TEMPPHS # THIS MAY LOOK BAD BUT LET:S SEE YOU DO AD TEMPPHS # BETTER IN TIME OR NUMBERR OF LOCATIONS AD TEMPPHS TS POINTER @@ -305,7 +305,7 @@ PHSPART2 CA THREE # SET THE POINTER FOR THE SECOND HALF OF CA RTRNCADR # THIS WILL BE OUR LAST TIME THROUGH THE TS GOLOC +2 # EVEN TABLE , SO AFTER IT GET THE NEXT # GROUP - TCF CONTBL2 # SO LET'S GET THE SECOND ENTRY IN THE TBL + TCF CONTBL2 # SO LET:S GET THE SECOND ENTRY IN THE TBL TEMPPHS EQUALS MPAC TEMP2G EQUALS MPAC +1 @@ -321,5 +321,3 @@ LGCLCADR GENADR LONGCALL FVACCADR GENADR FINDVAC WTLTCADR GENADR WAITLIST NOVACADR GENADR NOVAC - - From 35f3495c34d9d578632fb05577184f3481adb6b4 Mon Sep 17 00:00:00 2001 From: Chyanne Haugen Date: Thu, 28 Oct 2021 18:16:06 -0700 Subject: [PATCH 7/8] pages 0680-0691 --- Luminary099/P34-35_P74-75.agc | 54 +++++++++++++++++------------------ 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/Luminary099/P34-35_P74-75.agc b/Luminary099/P34-35_P74-75.agc index cb8a0dcf9..06e45302e 100644 --- a/Luminary099/P34-35_P74-75.agc +++ b/Luminary099/P34-35_P74-75.agc @@ -961,7 +961,7 @@ GET45 EXIT CADR GOFLASH TC KILCLOCK # TERMINATE TC N45PROC # PROCEED - TC CLUPDATE # RECYCLE -- RETURN FOR INITIAL COMPUTATION + TC CLUPDATE # RECYCLE - RETURN FOR INITIAL COMPUTATION KILCLOCK CA Z TS DISPDEX # Page 681 @@ -969,7 +969,7 @@ KILCLOCK CA Z N45PROC CS FLAGWRD2 MASK BIT6 EXTEND - BZF KILCLOCK # FINALFLG IS SET -- FLASH V37 -- AWAIT NEW PGM + BZF KILCLOCK # FINALFLG IS SET-FLASH V37-AWAIT NEW PGM TC PHASCHNG OCT 04024 TC UPFLAG # SET @@ -1055,13 +1055,13 @@ EPSFOUR 2DEC .0416666666 # Page 685 # ***** INITVEL ***** -# MOD NO -1 LOG SECTION -- P34-P35, P74-P75 -# MOD BY WHITE, P. DATE: 21 NOV 67 +# MOD NO -1 LOG SECTION - P34-P35, P74-P75 +# MOD BY WHITE.P DATE 21NOV67 # -# FUNCTIONAL +# FUNCTIONAL DESCRIPTION # # THIS SUBROUTINE COMPUTES THE REQUIRED INITIAL VELOCITY VECTOR FOR -# A TRAJECTORY OF SPECIFIC TRANSFER TIME BETWEEN SPECIFIED INITIAL +# A TRAJECTORY OF SPECIFIED TRANSFER TIME BETWEEN SPECIFIED INITIAL # AND TARGET POSITIONS. THE TRAJECTORY MAY BE EITHER CONIC OR # PRECISION DEPENDING ON AN INPUT PARAMETER (NAMELY, NUMBER OF # OFFSETS). IN ADDITION, IN THE PRECISION TRAJECTORY CASE, THE @@ -1088,7 +1088,7 @@ EPSFOUR 2DEC .0416666666 # # L CALL # L+1 INITVEL -# L+2 (RETURN -- ALWAYS) +# L+2 (RETURN - ALWAYS) # # INPUT # @@ -1100,7 +1100,7 @@ EPSFOUR 2DEC .0416666666 # (6) 0D NUMBER OF ITERATIONS OF LAMBERT/INTEGRVS # (7) 2D ANGLE TO 180 DEGREES WHEN ROTATION STARTS # (8) RTX1 -2 FOR EARTH, -10D FOR LUNAR -# (9) RTX2 COORDINATE SYSTEM ORIGIN -- 0 FOR EARTH, 2 FOR LUNAR +# (9) RTX2 COORDINATE SYSTEM ORIGIN - 0 FOR EARTH, 2 FOR LUNAR # PUSHLOC SET AT 4D # # Page 686 @@ -1148,8 +1148,8 @@ HAVEGUES VLOAD STQ INITVEL1 SSP DLOAD # SET ITCTR TO -1,LOAD MPAC WITH E4 (PL 2D) ITCTR - 0 -1 - COSINE SR1 # CALCULATE COSINE (E4) (+2) + 0 -1 + COSINE SR1 # CALCULATE COSINE (E4) (+2) STODL COZY4 # SET COZY4 TO COSINE (E4) (PL 0D) LXA,2 SXA,2 MPAC @@ -1170,7 +1170,7 @@ INITVEL1 SSP DLOAD # SET ITCTR TO -1,LOAD MPAC WITH E4 (PL 2D) VINIT # MPAC EQ UNIT(RI) X VI (+8) STOVL UN RTARG1 - UNIT DOT # TEMP*RT.URI (+2) (PL 0D) + UNIT DOT # TEMP*URT.URI (+2) (PL 0D) DAD CLEAR COZY4 NORMSW @@ -1179,7 +1179,7 @@ INITVEL2 BPL SET INITVEL3 # UN CALCULATED IN LAMBERT NORMSW -# ROTATE RC INTO YC PLANE -- SET UNIT NORMAL TO YC +# ROTATE RC INTO YC PLANE - SET UNIT NORMAL TO YC VLOAD PUSH # (PL 6D) R2VEC # RC TO 6D (+29) @@ -1216,14 +1216,14 @@ INITVEL3 DLOAD PDVL # (PL 2D) INCR,1 SLOAD 10D X1 - BHIZ VLOAD # (PL 14D) + BHIZ VLOAD # (PL14D) +2 - VCOMP PUSH # (PL 20D) - VLOAD # (PL 14D) - VXV DOT # (PL 2D) - BPL DLOAD # (PL 0D) + VCOMP PUSH # (PL20D) + VLOAD # (PL14D) + VXV DOT # (PL 2D) + BPL DLOAD # (PL 0D) INITVEL4 - DCOMP PUSH # (PL 2D) + DCOMP PUSH # (PL 2D) INITVEL4 LXA,2 SXA,2 0D GEOMSGN @@ -1354,9 +1354,9 @@ INITVELX LXA,1 DLOAD* # ***** MIDGIM ***** # MOD NO. 0, BY WILLMAN, SUBROUTINE RENDGUID, LOG P34-P35, P74-P75 -# REVISION 03, 17 FEB 67 +# REVISION 03, 17 FEB 67 # -# IF THE ACTIVE VEHICLE IS DOING THE COMPUTATION, MIDGIM COMPUTES +# IF THE ACTIVE VEHICLE IS DOING THE COMPUTATION, MIDGIM COMPUTES # THE POSITIVE MIDDLE GIMBAL ANGLE OF THE ACTIVE VEHICLE TO THE INPUT # DELTA VELOCITY VECTOR (0D IN PUSH LIST), OTHERWISE # MIDGIM CONVERTS THE INPUT DELTA VELOCITY VECTOR FROM INERTIAL COORDIN- @@ -1364,34 +1364,34 @@ INITVELX LXA,1 DLOAD* # # ** INPUTS ** # -# NAME MEANING UNITS/SCALING/MODE +# NAME MEANING UNITS/SCALING/MODE # -# AVFLAG INT FLAG -- 0 IS CSM ACTIVE, 1 IS LEM ACTIVE BIT +# AVFLAG INT FLAG - 0 IS CSM ACTIVE, 1 IS LEM ACTIVE BIT # RINIT ACTIVE VEHICLE RADIUS VECTOR METERS/CSEC (+7) VT # VINIT ACTIVE VEHICLE VELOCITY VECTOR METERS/CSEC (+7) VT # 0D(PL) ACTIVE VEHICLE DELTA VELOCITY VECTOR METERS/CSEC (+7) VT # # ** OUTPUTS ** # -# NAME MEANING UNITS/SCALING/MODE +# NAME MEANING UNITS/SCALING/MODE # # +MGA + MIDDLE GIMBAL ANGLE REVOLUTIONS (+0) DP # DELVLVC DELTA VELOCITY VECTOR IN LV COORD. METERS/CSEC (+7) VT -# MGLVFLAG INT FLAG: 0 IS +MGA COMPUTED, 1 IS DELVLVC COMP. BIT +# MGLVFLAG INT FLAG - 0 IS +MGA COMPUTED, 1 IS DELVLVC COMP. - BIT # # ** CALLING SEQUENCE ** # # L CALL # L+1 MIDGIM -# L+2 (RETURN -- ALWAYS) +# L+2 (RETURN - ALWAYS) # # ** NO SUBROUTINES CALLED ** # -# ** DEBRIS -- ERASABLE TEMPORARY USAGE ** +# ** DEBRIS - ERASABLE TEMPORARY USAGE ** # # A,Q,L, PUSH LIST, MPAC. # -# ** ALARMS -- NONE ** +# ** ALARMS - NONE ** # Page 692 # MIDDLE GIMBAL ANGLE COMPUTATION. From e346724c13d4d3a2d30c445648fc109a6b0e2270 Mon Sep 17 00:00:00 2001 From: Chyanne Haugen Date: Thu, 28 Oct 2021 18:57:22 -0700 Subject: [PATCH 8/8] pages 0692-0702 --- Luminary099/P34-35_P74-75.agc | 80 ++++++++++++++++++----------------- 1 file changed, 41 insertions(+), 39 deletions(-) diff --git a/Luminary099/P34-35_P74-75.agc b/Luminary099/P34-35_P74-75.agc index 06e45302e..dc5a4f0e1 100644 --- a/Luminary099/P34-35_P74-75.agc +++ b/Luminary099/P34-35_P74-75.agc @@ -1403,7 +1403,7 @@ INITVELX LXA,1 DLOAD* HALFREV 2DEC 1 B-1 -GET+MGA VLOAD UNIT # (PL 0D) V (+7) TO MPAC UNITIZE UV (+1) +GET+MGA VLOAD UNIT # (PL 0D) V (+7) TO MPAC, UNITIZE UV (+1) UNIT DOT SL1 # DOT UV WITH Y(STABLE MEMBER) AND RESCALE REFSMMAT +6 # FROM +2 TO +1 FOR ASIN ROUTINE @@ -1415,7 +1415,7 @@ GET+MGA VLOAD UNIT # (PL 0D) V (+7) TO MPAC UNITIZE UV (+1) SETMGA STORE +MGA CLR RVQ # CLEAR MGLVFLAG TO INDICATE +MGA CALC MGLVFLAG # AND EXIT -GET.LVC VLOAD UNIT # (PL 6D) R (+29) IN MPAC UNITIZE UR +GET.LVC VLOAD UNIT # (PL 6D) R (+29) IN MPAC, UNITIZE UR RINIT VCOMP # U(-R) STORE 18D # U(-R) TO 18D @@ -1468,14 +1468,14 @@ RTRNMU STORE RTMU # Page 694 # ***** PERIAPO ***** # -# MOD NO -1 LOG SECTION -- P34-P35, P74-P75 -# MOD BY WHITE, P. DATE 18 JAN 68 +# MOD NO -1 LOG SECTION - P34-P35, P74-P75 +# MOD BY WHITE.P DATE 18JAN68 # # FUNCTIONAL DESCRIPTION # # THIS SUBROUTINE COMPUTES THE TWO BODY APOCENTER AND PERICENTER # ALTITUDES GIVEN THE POSITION AND VELOCITY VECTORS FOR A POINT ON -# TRAJECTORY AND THE PRIMARY BODY. +# THE TRAJECTORY AND THE PRIMARY BODY. # # SETRAD IS CALLED TO DETERMINE THE RADIUS OF THE PRIMARY BODY. # @@ -1486,31 +1486,31 @@ RTRNMU STORE RTMU # # L CALL # L+1 PERIAPO -# L+2 (RETURN -- ALWAYS) +# L+2 (RETURN - ALWAYS) # # INPUT # # (1) RVEC POSITION VECTOR IN METERS -# SCALE FACTOR -- EARTH +29, MOON +27 +# SCALE FACTOR - EARTH +29, MOON +27 # (2) VVEC VELOCITY VECTOR IN METERS/CENTISECOND -# SCALE FACTOR -- EARTH +7, MOON +5 +# SCALE FACTOR - EARTH +7, MOON +5 # (3) X1 PRIMARY BODY INDICATOR # EARTH -1, MOON -10 # # OUTPUT # # (1) 2D APOCENTER RADIUS IN METERS -# SCALE FACTOR -- EARTH +29, MOON +27 +# SCALE FACTOR - EARTH +29, MOON +27 # (2) 4D APOCENTER ALTITUDE IN METERS -# SCALE FACTOR -- EARTH +29, MOON +27 +# SCALE FACTOR - EARTH +29, MOON +27 # (3) 6D PERICENTER RADIUS IN METERS -# SCALE FACTOR -- EARTH +29, MOON +27 +# SCALE FACTOR - EARTH +29, MOON +27 # (4) 8D PERICENTER ALTITUDE IN METERS -# SCALE FACTOR -- EARTH +29, MOON +27 +# SCALE FACTOR - EARTH +29, MOON +27 # (5) ECC ECCENTRICITY OF CONIC TRAJECTORY -# SCALE FACTOR -- +3 +# SCALE FACTOR - +3 # (6) XXXALT RADIUS OF THE PRIMARY BODY IN METERS -# SCALE FACTOR -- EARTH +29, MOON +27 +# SCALE FACTOR - EARTH +29, MOON +27 # (7) PUSHLOC EQUALS 10D # # SUBROUTINES USED @@ -1524,7 +1524,7 @@ RTRNMU STORE RTMU COUNT* $$/PERAP -RPAD 2DEC 6373338 B-29 # STANDARD RADIUS OF PAD 37-B. +RPAD 2DEC 6373338 B-29 # STANDARD RADIUS OF PAD 37-B. # = 20 909 901.57 FT PERIAPO1 LXA,2 VSR* @@ -1620,44 +1620,45 @@ SHIFTR1 LXA,2 SL* # FUNCTIONAL DESCRIPTION # # TO DISPLAY AT ASTRONAUT REQUEST LGC CALCULATED RENDEZVOUS -# OUT-OF-PLANE PARAMETERS (Y, YDOT, PSI). (REQUESTED BY DSKY). +# OUT-OF-PLANE PARAMETERS (Y , YDOT , PSI). (REQUESTED BY DSKY). # # CALLING SEQUENCE # -# ASTRONAUT REQUEST THROUGH DSKY V 90 E +# ASTRONAUT REQUEST THROUGH DSKY V 90 E # # SUBROUTINES CALLED # -# EXDSPRET -# GOMARKF -# CSMPREC -# LEMPREC -# SGNAGREE -# LOADTIME +# EXDSPRET +# GOMARKF +# CSMPREC +# LEMPREC +# SGNAGREE +# LOADTIME # # NORMAL EXIT MODES # -# ASTRONAUT REQUEST THROUGH DSKY TO TERMINATE PROGRAM V 34 E +# ASTRONAUT REQUEST THROUGH DSKY TO TERMINATE PROGRAM V 34 E # # ALARM OR ABORT EXIT MODES # -# NONE +# NONE # # OUTPUT # -# DECIMAL DISPLAY OF TIME, Y, YDOT AND PSI +# DECIMAL DISPLAY OF TIME , Y , YDOT AND PSI # -# DISPLAYED VALUES Y, YDOT, AND PSI, ARE STORED IN ERASABLE -# REGISTERS RANGE, RRATE, AND RTHETA RESPECTIVELY. +# DISPLAYED VALUES Y , YDOT , AND PSI , ARE STORED IN ERASABLE +# REGISTERS RANGE , RRATE AND RTHETA RESPECTIVELY. # # ERASABLE INITIALIZATION REQUIRED # -# CSM AND LEM STATE VECTORS +# CSM AND LEM STATE VECTORS # # DEBRIS # -# CENTRALS A,Q,L -# OTHER: THOSE USED BY THE ABOVE LISTED SUBROUTINES +# CENTRALS A,Q,L +# +# OTHER THOSE USED BY THE ABOVE LISTED SUBROUTINES BANK 20 SETLOC R36LM @@ -1690,8 +1691,9 @@ R36INT STCALL TDEC1 RATT # _ STORE RPASS36 # R UNIT PDVL # P + # _ VXV UNIT - STADR # _ + STADR STODL UNP36 # U TAT STCALL TDEC1 @@ -1712,9 +1714,9 @@ R36INT STCALL TDEC1 DOT SL1 UNP36 # . _ _ STOVL RRATE # Y = U . V - 06D # A + 06D # _ A _ # Page 702 - # _ _ + UNIT PUSH # U = UNIT ( R ) 18D VXV VXV # RA A 00D # _ _ _ _ @@ -1731,7 +1733,7 @@ R36INT STCALL TDEC1 PUSH DOT # LOS PROJECTED INTO HORIZONTAL 12D 00D # PLANE SL1 ARCCOS # _ _ - STOVL RTHETA # PSI = ARCCOS(U . U ) + STOVL RTHETA # PSI = ARCCOS(U .U ) VXV DOT # A L 00D BPL DLOAD @@ -1745,15 +1747,15 @@ R36TAG2 DLOAD RTB SGNAGREE STORE DSPTEMX EXIT - CAF V06N90N # DISPLAY Y, YDOT, AND PSI. + CAF V06N90N # DISPLAY Y , YDOT , AND PSI. TC BANKCALL CADR GOMARKF TCF ENDEXT # TERMINATE - TCF ENDEXT # PROCEED, END OF PROGRAM - TCF R36 +3 # REDISPLAY OUTPUT + TCF ENDEXT # PROCEED , END OF PROGRAM + TCF R36 +3 # REDISPLAY OUTPUT LREGCHK XCH L EXTEND - BZF ENTTIM2 # L-REG ZERO, SET TIME = PRESENT TIME + BZF ENTTIM2 # L-REG ZERO ,SET TIME = PRESENT TIME XCH L # L-REG NON ZERO, TIME = ASTRO INPUT TIME TCF ASTROTIM ENTTIM2 TC INTPRET