Source Code
These source-code files are part of a reconstructed copy of Comanche 45/2 (AKA Manche45 revision 2),
the final, flown mission release of the Apollo 10 Command Module (CM) Apollo Guidance
Computer (AGC) software. Comanche 45/2 was preceded by Comanche 44 and Comanche 45. The
reconstruction is believed to be exactly accurate, but in the absence of an actual Apollo-era
listing of Comanche 45/2, some explanation of the reconstruction process is needed
to insure confidence in that accuracy.
The starting point was the source code of Comanche 45 (itself previously accurately reconstructed). Comanche 45 source code was then modified by incorporating changes known from contemporary documentation to have been made between revisions 45 and 45/2. The now-reconstructed Comanche 45/2 source code was verified by assembling it and checking that the assembled code had the expected known-correct memory-bank checksums. Note that page numbers in the reconstructed code tend to match those in the Comanche 55, the most-similar revision of Comanche for which we have access to an actual non-reconstructed hardcopy; the source code would likely have different page numbers in a contemporary Comanche 45 listing. Annotations that were not present in the contemporary source code have been added to the reconstructed code to justify each change relative to Comanche 44. Here's a guide to the Apollo documentation referenced in those annotations:
|
027700,000002: ## Copyright: Public domain.
027701,000003: ## Filename: P30,P37.agc
027702,000004: ## Purpose: A section of Manche45 revision 2.
027703,000005: ## It is part of the reconstructed source code for the
027704,000006: ## final, flown release of the flight software for the Command
027705,000007: ## Module's (CM) Apollo Guidance Computer (AGC) for Apollo 10.
027706,000008: ## The code has been recreated from a copy of Comanche 055. It
027707,000009: ## has been adapted such that the resulting bugger words
027708,000010: ## exactly match those specified for Manche 45/2 in NASA drawing
027709,000011: ## 2021153D, which gives relatively high confidence that the
027710,000012: ## reconstruction is correct.
027711,000013: ## Assembler: yaYUL
027712,000014: ## Contact: Ron Burkey <info@sandroid.org>.
027713,000015: ## Website: www.ibiblio.org/apollo/index.html
027714,000016: ## Mod history: 2020-12-24 MAS Created from Comanche 45.
027715,000017:
Page 635 |
027717,000019: 32,2017 BANK 32
027718,000020:
027719,000021: 35,2000 SETLOC P30S1
027720,000022: 35,2000 BANK
027721,000023:
027722,000024: 35,3270 E7,1625 EBANK= +MGA
027723,000025:
027724,000026: 35,3270 COUNT 35/P34
027725,000027:
027726,000028: 35,3270 77420 DISPMGA STQ EXIT # USED IN P30
027727,000029:
027728,000030: 35,3271 02370 RGEXIT
027729,000031: 35,3272 03310 TC COMPTGO
027730,000032:
027731,000033: 35,3273 34621 DISP45 CAF V16N45
027732,000034: 35,3274 04662 TC BANKCALL
027733,000035: 35,3275 21057 CADR GOFLASHR
027734,000036: 35,3276 04106 TC GOTOPOOH
027735,000037: 35,3277 03304 TC END45
027736,000038: 35,3300 03273 TC DISP45
027737,000039: 35,3301 05412 P30PHSI TC PHASCHNG
027738,000040: 35,3302 00014 OCT 14
027739,000041: 35,3303 05217 TCR ENDOFJOB
027740,000042: 35,3304 06006 END45 TC INTPRET
027741,000043: 35,3305 52014 CLEAR GOTO
027742,000044: 35,3306 03664 TIMRFLAG
027743,000045: 35,3307 02370 RGEXIT
027744,000046:
027745,000047: 35,3310 00006 COMPTGO EXTEND # USED TO COMPUTE TTOGO
027746,000048: 35,3311 23066 QXCH PHSPRDT6 # ** GROUP 6 TEMPORARY USED ,, BEWARE **
027747,000049:
027748,000050: 35,3312 05546 TC UPFLAG # SET TIMRFLAG
027749,000051: 35,3313 00155 ADRES TIMRFLAG # BIT 11 FLAG 7
027750,000052: 35,3314 35021 CAF ZERO
027751,000053: 35,3315 55145 TS NVWORD1
027752,000054: 35,3316 00004 INHINT
027753,000055: 35,3317 35017 CAF ONE
027754,000056: 35,3320 05245 TC WAITLIST
027755,000057: 35,3321 E7,1412 EBANK= TIG
027756,000058: 35,3321 03260 50067 2CADR CLOKTASK
027757,000059:
027758,000060: 35,3323 05372 TC 2PHSCHNG
027759,000061: 35,3324 40036 OCT 40036 # 6.3SPOT FOR CLOKTASK
027760,000062: 35,3325 05024 OCT 05024 # GROUP 4 CONTINUES HERE
027761,000063: 35,3326 13000 OCT 13000
027762,000064:
027763,000065: 35,3327 01066 TC PHSPRDT6
Page 636 |
027765,000067: # PROGRAM DESCRIPTION P30 DATE 3-6-67
027766,000068: # MOD. I BY S. ZELDIN- TO ADD P31 AND ADAPT P30 FOR P31 USE. 22DEC67
027767,000069:
027768,000070: # FUNCTIONAL DESCRIPTION
027769,000071: # +30 (EXTERNAL DELTA-V TARGETTING PROGRAM)
027770,000072: # ACCEPTS ASTRONAUT INPUTS OF TIG,DELV(LV) AND COMPUTES, FOR DISPLAY,
027771,000073: # APOGEE, PERIGEE, DELV(MAG), MGA ASSOCIATED WITH DESIRED MANEUVER
027772,000074: # P31 (GENERAL LAMBERT AIMPOINT GUIDANCE)
027773,000075: # A GROUND RULE FOR P31 IS THE ANGLE BETWEEN THE TARGET VECTOR AND
027774,000076: # POSITION VECTOR AT TIG IS NOT 165-195 DEGREES APART
027775,000077: # BASED ON STORED INPUT OF OFFSET TARGET(B+29) AND DELTA T TRANS, AND
027776,000078: # ASTRONAUT ENTRY OF TIG, P31 COMPUTES REQUIRED VELOCITY FOR MANEUVER
027777,000079: # AND, FOR DISPLAY, APOGEE, PERIGEE, DELV(7AG), +MGA ASSOCIATED WITH
027778,000080: # DESIRED MANEUVER
027779,000081:
027780,000082: # THE FOLLOWING SUBROUTINES ARE USED IN P30 AND P31
027781,000083: # S30.1 (P30 ONLY)
027782,000084: # S31.1 (P31 ONLY)
027783,000085: # P30/P31 - DISPLAYS TIG
027784,000086: # CNTUP30 - DISPLAYS DELV(LV)
027785,000087: # PARAM30 - DISPLAYS APOGEE, PERIGEE, DELV(MAG), MGA, TIME FROM TIG,
027786,000088: # MARKS SINCE LAST THRUSTING MANEUVER
027787,000089:
027788,000090: # CALLING SEQUENCE VIA JOB FROM V37
027789,000091:
027790,000092: # EXIT VIA V37 CALL OR GOTOPOOH
027791,000093:
027792,000094: # OUTPUT FOR POWERED FLIGHT
027793,000095: # VTIG X
027794,000096: # RTIG X SEE S30.1
027795,000097: # DELVSIN X
027796,000098: # VGDISP
027797,000099: # RTARG X
027798,000100: # TPASS4 X SEE S31.1
027799,000101: # X
027800,000102:
027801,000103: 35,3330 COUNT 35/P30
027802,000104:
027803,000105: 35,3330 03362 P30 TC P30/P31
027804,000106: 35,3331 03401 TC CNTNUP30
027805,000107: 35,3332 05560 TC DOWNFLAG # RESET UPDATFLG
027806,000108: 35,3333 00027 ADRES UPDATFLG # BIT 7 FLAG 1
027807,000109: 35,3334 06006 TC INTPRET
027808,000110: 35,3335 77624 CALL
027809,000111: 35,3336 63475 S30.1
027810,000112: 35,3337 77776 EXIT
027811,000113: 35,3340 03411 TC PARAM30
027812,000114: 35,3341 05546 TC UPFLAG
Page 637 |
027814,000116: 35,3342 00045 ADRES XDELVFLG # SET XDELVFLG BIT 8 FLAG 2
027815,000117: 35,3343 14106 TCF GOTOPOOH
027816,000118:
027817,000119: 35,3344 03362 P31 TC P30/P31
027818,000120: 35,3345 05560 TC DOWNFLAG
027819,000121: 35,3346 00027 ADRES UPDATFLG # RESET UPDATFLG BIT 7 FLAG 1
027820,000122: 35,3347 05560 TC DOWNFLAG
027821,000123: 35,3350 00156 ADRES NORMSW # RESET NORMSW BIT 10 FLAG 7
027822,000124: 35,3351 06006 TC INTPRET
027823,000125: 35,3352 77624 CALL
027824,000126: 35,3353 63547 S31.1
027825,000127: 35,3354 77776 EXIT
027826,000128: 35,3355 03401 TC CNTNUP30
027827,000129: 35,3356 03411 TC PARAM30
027828,000130: 35,3357 05560 TC DOWNFLAG
027829,000131: 35,3360 00045 ADRES XDELVFLG # BIT 8 FLAG 2
027830,000132: 35,3361 14106 TCF GOTOPOOH
027831,000133:
027832,000134: 35,3362 56002 P30/P31 XCH Q
027833,000135: 35,3363 55664 TS P30/31RT
027834,000136: 35,3364 05546 TC UPFLAG
027835,000137: 35,3365 00027 ADRES UPDATFLG # SET UPDATFLG BIT 7 FLAG 1
027836,000138: 35,3366 05546 TC UPFLAG
027837,000139: 35,3367 00031 ADRES TRACKFLG # SET TRACKFLG BIT 5 FLAG 1
027838,000140: 35,3370 33446 CAF V06N33 # T OF IGN
027839,000141: 35,3371 04662 TC BANKCALL
027840,000142: 35,3372 21057 CADR GOFLASHR
027841,000143: 35,3373 14106 TCF GOTOPOOH
027842,000144: 35,3374 01664 TC P30/31RT
027843,000145: 35,3375 13366 TCF P30/P31 +4
027844,000146: 35,3376 05412 TC PHASCHNG
027845,000147: 35,3377 00014 OCT 00014
027846,000148: 35,3400 05217 TC ENDOFJOB
027847,000149:
027848,000150: 35,3401 56002 CNTNUP30 XCH Q
027849,000151: 35,3402 55127 TS P30/RET
027850,000152: 35,3403 34620 CAF V06N81
027851,000153: 35,3404 04662 TC BANKCALL
027852,000154: 35,3405 20720 CADR GOFLASH
027853,000155: 35,3406 14106 TCF GOTOPOOH
027854,000156: 35,3407 01127 TC P30/RET
027855,000157: 35,3410 13403 TCF CNTNUP30 +2
027856,000158: 35,3411 56002 PARAM30 XCH Q
027857,000159: 35,3412 55664 TS P30/31RT
027858,000160: 35,3413 33447 CAF V06N42
027859,000161: 35,3414 04662 TC BANKCALL
027860,000162: 35,3415 20720 CADR GOFLASH
027861,000163: 35,3416 04106 TC GOTOPOOH # ON TERMINATION GOTOPOOH
027862,000164: 35,3417 13421 TCF REFTEST # ON PROCEED GO DO REFTEST
Page 638 |
027864,000166: 35,3420 13413 TCF PARAM30 +2
027865,000167: 35,3421 35003 REFTEST CAF BIT13
027866,000168: 35,3422 70077 MASK STATE +3 # REFSMFLAG
027867,000169: 35,3423 00006 EXTEND
027868,000170: 35,3424 13434 BZF NOTSET # REFSMFLAG =0, THEN BRANCH TO NOTSET
027869,000171: 35,3425 06006 TC INTPRET
027870,000172: 35,3426 41575 VLOAD PUSH
027871,000173: 35,3427 03646 DELVSIN
027872,000174: 35,3430 77624 CALL
027873,000175: 35,3431 10654 GET+MGA
027874,000176: 35,3432 77650 GOTO
027875,000177: 35,3433 73440 FLASHMGA
027876,000178: 35,3434 00006 NOTSET EXTEND
027877,000179: 35,3435 43445 DCS MARSDP
027878,000180: 35,3436 53626 DXCH +MGA # +MGA, +MGA+1 CONTAINS (-00001)
027879,000181: 35,3437 06006 TC INTPRET
027880,000182: 35,3440 77624 FLASHMGA CALL
027881,000183: 35,3441 73270 DISPMGA
027882,000184: 35,3442 77776 EXIT
027883,000185: 35,3443 01664 TC P30/31RT
027884,000186: 35,3444 00000 MARSDP OCT 00000 # (00000) (16440) = (+00001)
027885,000187: 35,3445 35100 OCT 35100
027886,000188: # ( .01 ) DEGREES IN THE LOW ORDER REGISTE
027887,000189:
027888,000190: 35,3446 01441 V06N33 VN 0633
027889,000191: 35,3447 01452 V06N42 VN 0642
027890,000192: 35,3450 04043 V16N35 VN 1635
027891,000193: 35,3451 01455 V06N45 VN 0645
027892,000194:
Page 639 |
027894,000196: # PROGRAM DESCRIPTION S30.1 DATE 9NOV66
027895,000197: # MOD NO 1 LOG SECTION P30,P37
027896,000198: # MOD BY RAMA AIYAWAR **
027897,000199: # MOD.2 BY S.ZELDIN - TO CORRECT MOD.1 FOR COLOSSUS 29DEC67
027898,000200:
027899,000201: # FUNCTIONAL DESCRIPTION
027900,000202: # BASED ON STORED TARGET PARAMETERS (R OF IGNITION (RTIG), V OF
027901,000203: # IGNITION (VTIG), TIME OF IGNITION (TIG), DELV(LV), COMPUTE PERIGEE ALTITUDE
027902,000204: # A+OGEE ALTITUDE AND DELTA-V REQUIRED IN REF. COORDS. (DELVSIN)
027903,000205:
027904,000206: # CALLING SEQUENCE
027905,000207: # L CALL
027906,000208: # L+1 S30.1
027907,000209:
027908,000210: # NORMAL EXIT MODE
027909,000211: # AT L+2 OR CALLING SEQUENCE (GOTO L+2)
027910,000212:
027911,000213: # SUBROUTINES CALLED
027912,000214: # THISPREC
027913,000215: # PERIAPO
027914,000216:
027915,000217: # ALARM OR ABORT EXIT MODES
027916,000218: # NONE
027917,000219:
027918,000220: # ERASABLE INITIALIZATION REQUIRED
027919,000221: # TIG TIME OF IGNITION DP B28CS
027920,000222: # DELVSLV SPECIFIED DELTA-V IN LOCAL VERT.
027921,000223: # COORDS. OF ACTIVE VEHICLE AT
027922,000224: # TIME OF IGNITION VCT. B+7 M/CS
027923,000225:
027924,000226: # OUTPUT
027925,000227: # RTIG POSITION AT TIG VCT. B+29 M
027926,000228: # VTIG VELOCITY AT TIG VCT. B+7 M
027927,000229: # HAPO APOGEE ALT. DP B+29 M
027928,000230: # HPER PERIGEE ALT. DP B+29 M
027929,000231: # DELVSIN DELVSLV IN REF COORDS VCT. B+7 M/CS
027930,000232: # VGDISP MAG. OF DELVSIN DP B+7 M/CS
027931,000233:
027932,000234: # DEBRIS QTEMP TEMP.ERASABLE
027933,000235: # QPRET, MPAC
027934,000236: # PUSHLIST
027935,000237:
027936,000238: 31,2000 SETLOC P30S1A
027937,000239: 31,2000 BANK
027938,000240:
027939,000241: 31,3475 COUNT 35/S30S
027940,000242:
027941,000243: 31,3475 71220 S30.1 STQ DLOAD
027942,000244: 31,3476 03657 QTEMP
027943,000245: 31,3477 03413 TIG # TIME IGNITION SCALED AT 2(+28)CS
027944,000246: 31,3500 34041 STCALL TDEC1
027945,000247: 31,3501 27071 THISPREC # ENCKE ROUTINE FOR
027946,000248:
027947,000249: 31,3502 67175 VLOAD SXA,2
027948,000250: 31,3503 00007 VATT
027949,000251: 31,3504 03746 RTX2
027950,000252: 31,3505 27640 STOVL VTIG
Page 640 |
027952,000254: 31,3506 00001 RATT
027953,000255: 31,3507 03632 STORE RTIG
027954,000256: 31,3510 03540 STORE RACT3
027955,000257: 31,3511 53435 VXV UNIT
027956,000258: 31,3512 03640 VTIG
027957,000259: 31,3513 36617 STCALL UNRM
027958,000260: 31,3514 72667 LOMAT
027959,000261: 31,3515 61375 VLOAD VXM
027960,000262: 31,3516 03405 DELVSLV
027961,000263: 31,3517 00001 0
027962,000264: 31,3520 66172 VSL1 SXA,1
027963,000265: 31,3521 03745 RTX1
027964,000266: 31,3522 03646 STORE DELVSIN
027965,000267: 31,3523 77646 ABVAL
027966,000268: 31,3524 27773 STOVL VGDISP # MAG DELV
027967,000269: 31,3525 03632 RTIG
027968,000270: 31,3526 53315 PDVL VAD
027969,000271: 31,3527 03646 DELVSIN
027970,000272: 31,3530 03640 VTIG
027971,000273: 31,3531 77624 CALL
027972,000274: 31,3532 45153 PERIAPO1
027973,000275: 31,3533 77624 CALL
027974,000276: 31,3534 45263 SHIFTR1
027975,000277: 31,3535 77624 CALL
027976,000278: 31,3536 46754 MAXCHK
027977,000279: 31,3537 16366 STODL HPER # PERIGEE ALT B+29
027978,000280: 31,3540 00005 4D
027979,000281: 31,3541 77624 CALL
027980,000282: 31,3542 45263 SHIFTR1
027981,000283: 31,3543 77624 CALL
027982,000284: 31,3544 46754 MAXCHK
027983,000285: 31,3545 36364 STCALL HAPO # APOGEE ALT B+29
027984,000286: 31,3546 03657 QTEMP
027985,000287:
Page 641 |
027987,000289: # S31.1 PROGRAM DESCRIPTION 28DEC67
027988,000290: # MOD.1 BY S.ZELDIN
027989,000291:
027990,000292: # S31.1 COMPUTES DELV IN REF AND LV COORDS,MAG OF DELV,INTERCEPT TIME,
027991,000293: # APOGEE AND PERIGEE ALT FOR REQUIRED MANEUVER
027992,000294:
027993,000295: # CALLING SEQUENCE
027994,000296: # L CALL
027995,000297: # L+1 S31.1
027996,000298:
027997,000299: # NORMAL EXIT MODE
027998,000300: # AT L +2 OF CALLING SEQUENCE (GOTO L+2)
027999,000301:
028000,000302: # SUBROUTINES CALLED
028001,000303: # AGAIN
028002,000304: # PERIAPO1
028003,000305: # SHIFTR1
028004,000306: # MIDGIM
028005,000307:
028006,000308: # NO ALARM OR ABORT MODES
028007,000309:
028008,000310: # INPUT
028009,000311: # DELLT4 DP +28
028010,000312: # TIG DP +28
028011,000313: # RTARG VCT +29
028012,000314:
028013,000315: # OUTPUT
028014,000316: # DELVLVC VCT +7
028015,000317: # VGDISP DP +7
028016,000318: # HAPO DP +29
028017,000319: # HPER DP +29
028018,000320: # TPASS4 DP +28
028019,000321:
028020,000322: # DEBRIS - QTEMP
028021,000323:
028022,000324: 31,3547 71220 S31.1 STQ DLOAD
028023,000325: 31,3550 03657 QTEMP
028024,000326: 31,3551 03413 TIG
028025,000327: 31,3552 34041 STCALL TDEC1
028026,000328: 31,3553 61651 AGAIN # RETURNS RTX2,RTX1,RATT,VATT,VIPRIME
028027,000329: 31,3554 63375 VLOAD PDVL # DELUEET3
028028,000330: 31,3555 03632 RTIG
028029,000331: 31,3556 03612 VIPRIME
028030,000332: 31,3557 77624 CALL
028031,000333: 31,3560 45153 PERIAPO1
028032,000334: 31,3561 77624 CALL
028033,000335: 31,3562 45263 SHIFTR1
028034,000336: 31,3563 77624 CALL
028035,000337: 31,3564 46754 MAXCHK
028036,000338: 31,3565 16366 STODL HPER # B29
028037,000339: 31,3566 00005 4D
028038,000340: 31,3567 77624 CALL
028039,000341: 31,3570 45263 SHIFTR1
028040,000342: 31,3571 77624 CALL
028041,000343: 31,3572 46754 MAXCHK
028042,000344: 31,3573 26364 STOVL HAPO # B29
Page 642 |
028044,000346: 31,3574 03646 DELVEET3
028045,000347: 31,3575 00001 STORE 0
028046,000348: 31,3576 45014 SET CALL
028047,000349: 31,3577 01072 AVFLAG
028048,000350: 31,3600 10647 MIDGIM # GET DELVLVC B7 FOR DISPLAY
028049,000351: 31,3601 77646 ABVAL
028050,000352: 31,3602 17773 STODL VGDISP # B+7 FOR DISPLAY
028051,000353: 31,3603 03423 DELLT4
028052,000354: 31,3604 77615 DAD
028053,000355: 31,3605 03413 TIG
028054,000356: 31,3606 37656 STCALL TPASS4 # FOR S40.1
028055,000357: 31,3607 03657 QTEMP
028056,000358:
Page 643 |
028058,000360: # SUBROUTINE NAME: DELRSPL (CONTINUATION OF V 82 IN CSM IF P11 ACTI
028059,000361: # TRANSFERRED COMPLETELY FROM SUNDISK, P30S REV 33. 9 SEPT 67.
028060,000362: # MOD NO: 0 MOD BY: ZELDIN DATE:
028061,000363: # MOD NO: 1 MOD BY: RR BAIRNSFATHER DATE: 11 APR 67
028062,000364: # MOD NO: 2 MOD BY: RR BAIRNSFATHER DATE: 12 MAY 67 ADD UR.RT CALC WHEN BELOW 300K FT
028063,000365: # MOD NO: 2.1 MOD BY: RR BAIRNSFATHER DATE: 5 JULY 67 FIX ERROR IN MOD. 2.
028064,000366: # MOD NO: 3 MOD BY: RR BAIRNSFATHER DATE: 12 JUL 67 CHANGE SIGN OF DISPLAYED ERROR.
028065,000367: # MOD 4 MOD BY S.ZELDIN DATE 3 APRIL 68 CHANGE EQUATIONS FOR L/D=.18 WHICH REPLA
028066,000368:
028067,000369: # FUNCTION: CALCULATE (FOR DISPLAY ON CALL) AN APPROXIMATE MEASURE OF IN-PLANE SPLASH DOWN
028068,000370: # ERROR. IF THE FREE-FALL TRANSFER ANGLE TO 300K FT ABOVE PAD RADIUS IS POSITIVE:
028069,000371: # SPLASH ERROR= -RANGE TO TARGET + FREE-FALL TRANSFER ANGLE + ESTIMATED ENTRY ANGLE.
028070,000372: # THE TARGET LOCATION AT ESTIMATED TIME OF IMPACT IS USED. IF THE FREE-FALL TRANSFER
028071,000373: # ANGLE IS NEGATIVE: SPLASH ERROR= -RANGE TO TARGET
028072,000374: # THE PRESENT TARGET LOCATION IS USED.
028073,000375:
028074,000376: # CALLING SEQUENCE CALLED AFTER SR30.1 IF IN CSM AND IF P11 OPERATING (UNDER CONTROL OF V82)
028075,000377:
028076,000378: # SUBROUTINES CALLED: VGAMCALC, TFF/TRIG, LALOTORV.
028077,000379:
028078,000380: # EXIT RETURN DIRECTLY TO V 82 PROG. AT SPLRET
028079,000381:
028080,000382: # ERASABLE INITIALIZATION LEFT BY SR30.1 AND V82GON1
028081,000383:
028082,000384: # OUTPUT: RSP-RREC RANGE IN REVOLUTIONS DSKY DISPLAY IN N. MI.
028083,000385:
028084,000386: # DEBRIS: QPRET, PDL0 ... PDL7, PDL10
028085,000387:
028086,000388: # THETA(1)
028087,000389:
028088,000390: 32,2017 BANK 32
028089,000391: 32,2000 SETLOC DELRSPL1
028090,000392: 32,2000 BANK
028091,000393: 32,2017 COUNT* $$/P30 # PROGRAMS: P30 EXTERNAL DELTA V
028092,000394:
028093,000395: 32,2017 00011 DELRSPL STORE 8D
028094,000396: 32,2020 45244 BPL DSU
028095,000397: 32,2021 64067 CANTDO # GONE PAST 300K FT ALT
028096,000398: 32,2022 16326 1BITDP
028097,000399: 32,2023 45000 BOV CALL
028098,000400: 32,2024 64067 CANTDO # POSMAX INDICATES NO 300K FT SOLUTION.
028099,000401: 32,2025 55051 VGAMCALC # +GAMMA(REV) IN PMAC,V300 MAG(B-7)=PDL 0
028100,000402: 32,2026 45006 PUSH CALL
028101,000403: 32,2027 56631 TFF/TRIG
028102,000404: 32,2030 77624 CALL
028103,000405: 32,2031 64075 AUGEKUGL
028104,000406: 32,2032 65525 PDDL ACOS # T ENTRY PDL 6
028105,000407: 32,2033 00017 CDELF/2
028106,000408: 32,2034 77615 DAD
028107,000409: 32,2035 00005 4
028108,000410: 32,2036 26350 GETARG STOVL THETA(1)
028109,000411: 32,2037 03401 LAT(SPL)
028110,000412: 32,2040 15104 STODL LAT
028111,000413: 32,2041 15335 HI6ZEROS
028112,000414: 32,2042 15110 STODL ALT # ALT=0 = LAT +4
028113,000415: 32,2043 01205 PIPTIME
Page 644 |
028115,000417: 32,2044 71214 BON DLOAD
028116,000418: 32,2045 03711 V37FLAG
028117,000419: 32,2046 64050 +2
028118,000420: 32,2047 02325 TSTART82
028119,000421: 32,2050 43225 DSU DAD
028120,000422: 32,2051 00011 8D
028121,000423: 32,2052 45014 CLEAR CALL
028122,000424: 32,2053 00662 ERADFLAG
028123,000425: 32,2054 26441 LALOTORV # R RECOV. IN ALPHAV AND MPAC
028124,000426:
028125,000427: 32,2055 63256 UNIT PDVL
028126,000428: 32,2056 02327 RONE
028127,000429: 32,2057 50256 UNIT DOT
028128,000430: 32,2060 65552 SL1 ARCCOS
028129,000431: 32,2061 77621 BDSU # ERROR = THETA EST - THETA TARG
028130,000432: # NEGATIVE NUMBER SIGNIFIES THAT WILL FALL SHORT.
028131,000433: # POSITIVE NUMBER SIGNIFIES THAT WILL OVERSHOOT.
028132,000434: 32,2062 02350 THETA(1)
028133,000435: 32,2063 36356 DELRDONE STCALL RSP-RREC # DOWNRANGE RECOVERY RANGE ERROR /360
028134,000436: 32,2064 27455 INTWAKE0
028135,000437: 32,2065 77624 CALL
028136,000438: 32,2066 46653 SPLRET
028137,000439: 32,2067 65345 CANTDO DLOAD PDDL # INITIALIZE ERASE TO DOT TARGET AND UR
028138,000440: # FOR RANGE ANGLE.
028139,000441: 32,2070 15333 HIDPHALF # TO PDL 0 FOR DEN INDDV.
028140,000442: 32,2071 15335 HI6ZEROS
028141,000443: 32,2072 77606 PUSH # ZERO TO PDL 2 FOR PHI ENTRY
028142,000444: 32,2073 34011 STCALL 8D
028143,000445: 32,2074 64036 GETARG # GO SET RSP-RREC =0
028144,000446:
028145,000447: 32,2075 77775 AUGEKUGL VLOAD
028146,000448: 32,2076 24256 X1CON -2
028147,000449: 32,2077 14045 STODL X1 -2
028148,000450: 32,2100 00001 0
028149,000451: 32,2101 50025 DSU BMN
028150,000452: 32,2102 24250 V(21K)
028151,000453: 32,2103 64130 LOOPSET
028152,000454: 32,2104 65060 XSU,1 XCHX,2
028153,000455: 32,2105 00050 S1
028154,000456: 32,2106 00046 X1
028155,000457: 32,2107 45324 XCHX,2 DSU
028156,000458: 32,2110 00050 S1
028157,000459: 32,2111 24236 V(3K)
028158,000460: 32,2112 65040 BMN XCHX,2
028159,000461: 32,2113 64130 LOOPSET
028160,000462: 32,2114 00050 S1
028161,000463: 32,2115 50025 DSU BMN
028162,000464: 32,2116 24246 V(4K)
028163,000465: 32,2117 64130 LOOPSET
028164,000466: 32,2120 65124 XCHX,2 XCHX,2
Page 645 |
028166,000468: 32,2121 00050 S1
028167,000469: 32,2122 00046 X1
028168,000470: 32,2123 50025 DSU BMN
028169,000471: 32,2124 24232 V(400)
028170,000472: 32,2125 64130 LOOPSET
028171,000473: 32,2126 77730 SXA,1
028172,000474: 32,2127 00050 S1
028173,000475: 32,2130 52110 LOOPSET INCR,1 GOTO
028174,000476: 32,2131 00001 DEC 1 B-14
028175,000477: 32,2132 64135 K1K2LOOP
028176,000478: 32,2133 77730 K2CALC SXA,1
028177,000479: 32,2134 00050 S1
028178,000480: 32,2135 44745 K1K2LOOP DLOAD DSU*
028179,000481: 32,2136 00001 0
028180,000482: 32,2137 24245 V(32K) +1,1
028181,000483: 32,2140 42603 DMP* DAD*
028182,000484: 32,2141 24231 YK1K2 +1,1
028183,000485: 32,2142 24215 CK1K2 +1,1
028184,000486: 32,2143 60125 PDDL TIX,1
028185,000487: 32,2144 00003 2
028186,000488: 32,2145 64133 K2CALC
028187,000489: 32,2146 55225 DSU BDDV
028188,000490: 32,2147 40006 PUSH BOV
028189,000491: 32,2150 64173 MAXPHI
028190,000492: 32,2151 45240 BMN DSU
028191,000493: 32,2152 64173 MAXPHI
028192,000494: 32,2153 24200 MAXPHIC
028193,000495: 32,2154 77644 BPL
028194,000496: 32,2155 64173 MAXPHI
028195,000497: 32,2156 45345 PHICALC DLOAD DSU # PHI ENTRY PDL 4D
028196,000498: 32,2157 00001 0
028197,000499: 32,2160 24256 V(26K)
028198,000500: 32,2161 71244 BPL DLOAD
028199,000501: 32,2162 64170 TGR26
028200,000502: 32,2163 24252 TLESS26
028201,000503: 32,2164 77671 DDV
028202,000504: 32,2165 00001 0
028203,000505: 32,2166 43405 TENT DMP RVQ
028204,000506: 32,2167 00005 4D
028205,000507: 32,2170 52145 TGR26 DLOAD GOTO
028206,000508: 32,2171 24254 TGR26CON
028207,000509: 32,2172 64166 TENT
028208,000510:
028209,000511: 32,2173 65345 MAXPHI DLOAD PDDL
028210,000512: 32,2174 24200 MAXPHIC
028211,000513: 32,2175 77650 GOTO
028212,000514: 32,2176 64156 PHICALC
028213,000515: 32,2177 02755 01307 MAXPHIC 2DEC .09259298 # 2000 NM FOR MAXIMUM PHI ENTRY
028214,000516:
Page 646 |
028216,000518:
028217,000519: 32,2201 COUNT* $$/P30
028218,000520:
028219,000521: # BELOW
028220,000522: # <<<< TABLE IS INDEXED. KEEP IN ORDER >>>
028221,000523:
028222,000524: 32,2201 00013 22652 2DEC 7.07304526 E-4 # 5500
028223,000525: 32,2203 00005 01642 2DEC 3.08641975 E-4 # 2400
028224,000526: 32,2205 00005 01642 2DEC 3.08641975 E-4 # 2400
028225,000527: 32,2207 77556 53522 2DEC -8.8888888 E-3 # -3.2
028226,000528: 32,2211 00055 20266 2DEC 2.7777777 E-3 # 1
028227,000529: 32,2213 00155 07202 CK1K2 2DEC 6.6666666 E-3 # 2.4
028228,000530: 32,2215 00000 00000 2DEC 0 B-28 # 0
028229,000531: 32,2217 77730 71525 2DEC* -1.86909989 E-5 B7* # -.443
028230,000532: 32,2221 00000 00000 2DEC 0 B-28
028231,000533: 32,2223 04445 10102 2DEC* 1.11639691 E-3 B7* # .001225
028232,000534: 32,2225 03726 31201 2DEC* 9.56911636 E-4 B7* # .00105
028233,000535: 32,2227 01040 26313 YK1K2 2DEC* 2.59733157 E-4 B7* # .000285
028234,000536: 32,2231 00234 01660 V(400) 2DEC 1.2192 B-7
028235,000537: 32,2233 25254 01014 V(28K) 2DEC 85.344 B-7
028236,000538: 32,2235 02222 15646 V(3K) 2DEC 9.144 B-7
028237,000539: 32,2237 22223 16457 V(24K) 2DEC 73.152 B-7
028238,000540: 32,2241 25254 01014 2DEC 85.344 B-7
028239,000541: 32,2243 30304 23351 V(32K) 2DEC 97.536 B-7
028240,000542: 32,2245 03030 22335 V(4K) 2DEC 12.192 B-7
028241,000543: 32,2247 20000 00000 V(21K) 2DEC 64.000 B-7
028242,000544: 32,2251 00033 05763 TLESS26 2DEC* 5.70146688 E7 B-35* # 8660PHI/V
028243,000545: 32,2253 00053 36200 TGR26CON 2DEC 7.2 E5 B-28 # PHI/3
028244,000546: 32,2255 23637 27636 V(26K) 2DEC 79.248 B-7 # 26000
028245,000547:
Page 647 |
028247,000549:
028248,000550: 32,2257 00012 X1CON DEC 10 B-14
028249,000551: 32,2260 00010 DEC 8 B-14
028250,000552: 32,2261 00006 DEC 6 B-14
028251,000553: # <<<< TABLE IS INDEXED. KEEP IN ORDER >>>
028252,000554: # ABOVE
Page 648 |
028254,000556: # ..... AVFLAGA/P .....
028255,000557:
028256,000558: # SUBROUTINES USED
028257,000559:
028258,000560: # UPFLAG
028259,000561: # DOWNFLAG
028260,000562:
028261,000563: 4000 SETLOC P30SUBS
028262,000564: 4000 BANK
028263,000565: 4627 E4,1770 EBANK= SUBEXIT
028264,000566: 4627 00006 AVFLAGA EXTEND # AVFLAG = CSM
028265,000567: 4630 23770 QXCH SUBEXIT
028266,000568: 4631 05560 TC DOWNFLAG
028267,000569: 4632 00050 ADRES AVFLAG # BIT 5 FLAG 2
028268,000570: 4633 35060 CAF EBANK7
028269,000571: 4634 54003 TS EBANK
028270,000572: 4635 E7,1424 EBANK= ECSTEER
028271,000573: 4635 35003 CAF BIT13
028272,000574: 4636 55424 TS ECSTEER # SET ECSTEER = 1
028273,000575: 4637 35005 CAF EBANK4
028274,000576: 4640 54003 TS EBANK
028275,000577: 4641 E4,1770 EBANK= SUBEXIT
028276,000578: 4641 01770 TC SUBEXIT
028277,000579: 4642 00006 AVFLAGP EXTEND # AVFLAG = LEM
028278,000580: 4643 23770 QXCH SUBEXIT
028279,000581: 4644 05546 TC UPFLAG
028280,000582: 4645 00050 ADRES AVFLAG # BIT 5 FLAG 2
028281,000583: 4646 01770 TC SUBEXIT
028282,000584: 4647 00006 P20FLGON EXTEND
028283,000585: 4650 23770 QXCH SUBEXIT
028284,000586: 4651 05546 TC UPFLAG
028285,000587: 4652 00031 ADRES TRACKFLG
028286,000588: 4653 05546 TC UPFLAG
028287,000589: 4654 00027 ADRES UPDATFLG
028288,000590: 4655 01770 TC SUBEXIT # DP B4
028289,000591:
028290,000592:
End of include-file P30,P37.agc. Parent file is MAIN.agc