From 8a2803fac160ab8913b057a0cb137a5812a24942 Mon Sep 17 00:00:00 2001 From: Mark Moxon Date: Wed, 5 Oct 2022 15:09:12 +0100 Subject: [PATCH] Added compile.txt to repository as it's a useful reference --- .gitignore | 7 +- 3-assembled-output/compile.txt | 13946 +++++++++++++++++++++++++++++++ 2 files changed, 13948 insertions(+), 5 deletions(-) create mode 100644 3-assembled-output/compile.txt diff --git a/.gitignore b/.gitignore index 74a28d4..6b0f4d8 100644 --- a/.gitignore +++ b/.gitignore @@ -18,10 +18,7 @@ $RECYCLE.BIN/ # Windows shortcuts *.lnk -# ========================= -# Operating System Files -# ========================= +# IDE files .vscode/tasks.json -compile.txt -aviator-beebasm.code-workspace +*.code-workspace run.bat diff --git a/3-assembled-output/compile.txt b/3-assembled-output/compile.txt new file mode 100644 index 0000000..a103b6a --- /dev/null +++ b/3-assembled-output/compile.txt @@ -0,0 +1,13946 @@ +.P + 0070 +.Q + 0071 +.R + 0072 +.S + 0073 +.T + 0074 +.U + 0075 +.V + 0076 +.W + 0077 +.G + 0078 +.H + 0079 +.I + 007A +.J + 007B +.K + 007C +.L + 007D +.M + 007E +.N + 007F +.PP + 0080 +.QQ + 0081 +.RR + 0082 +.SS + 0083 +.TT + 0084 +.UU + 0085 +.VV + 0086 +.WW + 0087 +.GG + 0088 +.HH + 0089 +.linesToShowEnd + 008A +.lineId + 008B +.lineCounter + 008C +.linesToShowPointer + 008D +.linesToHidePointer + 008E +.linesToHideEnd + 008F +.lineBufferU + 0100 +.mx1Lo + 0160 +.my1Lo + 0161 +.mz1Lo + 0162 +.mx2Lo + 0163 +.my2Lo + 0164 +.mz2Lo + 0165 +.mx1Hi + 0170 +.my1Hi + 0171 +.mz1Hi + 0172 +.mx2Hi + 0173 +.my2Hi + 0174 +.mz2Hi + 0175 +.pointStatus + 0400 +.objectStatus + 04D8 +.linesToShow + 0500 +.relatedPoints + 05C8 +.linesToHide + 0600 +.zPointLo + 0700 +.zLinearLo + 07FC +.zGravityLo + 07FD +.zTempPoint1Lo + 07FE +.zTempPoint2Lo + 07FF +.xPointLo + 0900 +.xLinearLo + 09FC +.xGravityLo + 09FD +.xTempPoint1Lo + 09FE +.xTempPoint2Lo + 09FF +.yPointLo + 0A00 +.yLinearLo + 0AFC +.yGravityLo + 0AFD +.yTempPoint1Lo + 0AFE +.yTempPoint2Lo + 0AFF +.yPointHi + 0B00 +.yLinearHi + 0BFC +.yGravityHi + 0BFD +.yTempPoint1Hi + 0BFE +.yTempPoint2Hi + 0BFF +.xTurnHi + 0C00 +.yTurnHi + 0C01 +.zTurnHi + 0C02 +.xVelocityPLo + 0C03 +.yVelocityPLo + 0C04 +.zVelocityPLo + 0C05 +.xTemp3Lo + 0C06 +.yTemp3Lo + 0C07 +.zTemp3Lo + 0C08 +.xPlaneBot + 0C09 +.yPlaneBot + 0C0A +.zPlaneBot + 0C0B +.elevatorPosition + 0C0C +.rudderPosition + 0C0D +.aileronPosition + 0C0E +.thrustLo + 0C0F +.xTurnTop + 0C10 +.yTurnTop + 0C11 +.zTurnTop + 0C12 +.xVelocityPHi + 0C13 +.yVelocityPHi + 0C14 +.zVelocityPHi + 0C15 +.xTemp3Hi + 0C16 +.yTemp3Hi + 0C17 +.zTemp3Hi + 0C18 +.xTurnLo + 0C19 +.yTurnLo + 0C1A +.zTurnLo + 0C1B + 0C1C +.thrustHi + 0C1F +.xMomentsScLo + 0C20 +.yMomentsScLo + 0C21 +.zMomentsScLo + 0C22 +.xLiftDragScLo + 0C23 +.yLiftDragScLo + 0C24 +.zLiftDragScLo + 0C25 +.zSlipMomentScLo + 0C26 +.yFlapsLiftScLo + 0C27 + 0C28 +.xControlsScLo + 0C2A +.yControlsScLo + 0C2B +.zControlsScLo + 0C2C +.axisKeyUsage + 0C2D +.dxTurnLo + 0C30 +.dyTurnLo + 0C31 +.dzTurnLo + 0C32 + 0C33 +.xMomentsLo + 0C40 +.yMomentsLo + 0C41 +.zMomentsLo + 0C42 +.xLiftDragLo + 0C43 +.yLiftDragLo + 0C44 +.zLiftDragLo + 0C45 +.zSlipMomentLo + 0C46 +.yFlapsLiftLo + 0C47 + 0C48 +.xControlsLo + 0C4A +.yControlsLo + 0C4B +.zControlsLo + 0C4C + 0C4D +.xMomentsHi + 0C50 +.yMomentsHi + 0C51 +.zMomentsHi + 0C52 +.xLiftDragHi + 0C53 +.yLiftDragHi + 0C54 +.zLiftDragHi + 0C55 +.zSlipMomentHi + 0C56 +.yFlapsLiftHi + 0C57 + 0C58 +.xControlsHi + 0C5A +.yControlsHi + 0C5B +.zControlsHi + 0C5C + 0C5D +.xMomentsScHi + 0C60 +.yMomentsScHi + 0C61 +.zMomentsScHi + 0C62 +.xLiftDragScHi + 0C63 +.yLiftDragScHi + 0C64 +.zLiftDragScHi + 0C65 +.zSlipMomentScHi + 0C66 +.yFlapsLiftScHi + 0C67 + 0C68 +.xControlsScHi + 0C6A +.yControlsScHi + 0C6B +.zControlsScHi + 0C6C +.xPlaneTop + 0C6D +.yPlaneTop + 0C6E +.zPlaneTop + 0C6F +.xMomentsScTop + 0C70 +.yMomentsScTop + 0C71 +.zMomentsScTop + 0C72 +.xLiftDragScTop + 0C73 +.yLiftDragScTop + 0C74 +.zLiftDragScTop + 0C75 +.zSlipMomentScTop + 0C76 +.yFlapsLiftScTop + 0C77 + 0C78 +.xControlsScTop + 0C7A +.yControlsScTop + 0C7B +.zControlsScTop + 0C7C + 0C7D +.dxTurnHi + 0C80 +.dyTurnHi + 0C81 +.dzTurnHi + 0C82 +.dxVelocityLo + 0C83 +.dyVelocityLo + 0C84 +.dzVelocityLo + 0C85 +.dxRotationLo + 0C86 +.dyRotationLo + 0C87 +.dzRotationLo + 0C88 +.xVelocityHi + 0C89 +.yVelocityHi + 0C8A +.zVelocityHi + 0C8B +.xVelocityLo + 0C8C +.yVelocityLo + 0C8D +.zVelocityLo + 0C8E + 0C8F +.dxTurnTop + 0C90 +.dyTurnTop + 0C91 +.dzTurnTop + 0C92 +.dxVelocityHi + 0C93 +.dyVelocityHi + 0C94 +.dzVelocityHi + 0C95 +.dxRotationHi + 0C96 +.dyRotationHi + 0C97 +.dzRotationHi + 0C98 +.xVelocityTop + 0C99 +.yVelocityTop + 0C9A +.zVelocityTop + 0C9B +.slipRate + 0C9C + 0C9D +.keyLoggerLo + 0CA0 + 0CA6 +.xTemp2Lo + 0CA8 +.yTemp2Lo + 0CA9 +.zTemp2Lo + 0CAA + 0CAB +.keyLoggerHi + 0CB0 + 0CB6 +.xTemp2Hi + 0CB8 +.yTemp2Hi + 0CB9 +.zTemp2Hi + 0CBA +.xTemp2Top + 0CBB +.yTemp2Top + 0CBC +.zTemp2Top + 0CBD +.gunSights + 0CBE +.isObject + 0CBF +.pointId + 0CC0 +.maxCoord + 0CC1 +.colourLogic + 0CC2 +.colourCycle + 0CC3 +.matrixAxis + 0CC4 +.onGround + 0CC5 +.previousListEnd + 0CC6 +.startStatus + 0CC7 +.pointCount + 0CC8 +.pressingT + 0CC9 +.showRunwayDashes + 0CCA +.matrixNumber + 0CCB +.objectId + 0CCC +.pressingTab + 0CCD +.showLine + 0CCE +.objectAnchorPoint + 0CCF +.lineBuffer1Count + 0CD0 +.lineBuffer2Count + 0CD1 +.pressingUFBS + 0CD2 +.pointsToAward + 0CD7 +.scoreDisplayTimer + 0CD8 +.gunSoundCounter + 0CD9 +.xDashesVectorLo + 0CDA +.yDashesVectorLo + 0CDB +.zDashesVectorLo + 0CDC +.xDashesVectorHi + 0CDD +.yDashesVectorHi + 0CDE +.zDashesVectorHi + 0CDF +.xTemp1Lo + 0CE0 +.yTemp1Lo + 0CE1 +.zTemp1Lo + 0CE2 +.xTemp1Hi + 0CE3 +.yTemp1Hi + 0CE4 +.zTemp1Hi + 0CE5 +.alien + 0CE6 +.objCount + 0CE6 +.themeStatus + 0CE7 +.landingStatus + 0CE8 +.engineStatus + 0CE9 +.xRotationLo + 0CEA +.yRotationLo + 0CEB +.zRotationLo + 0CEC +.xPlaneLo + 0CED +.yPlaneLo + 0CEE +.zPlaneLo + 0CEF +.yLandingGear + 0CF0 +.firingStatus + 0CF1 +.ucStatus + 0CF2 +.flapsStatus + 0CF3 + 0CF4 +.brakesStatus + 0CF5 + 0CF6 +.propellorStatus + 0CF7 +.alienSpeed + 0CF8 +.reached512ft + 0CF9 +.xRotationHi + 0CFA +.yRotationHi + 0CFB +.zRotationHi + 0CFC +.xPlaneHi + 0CFD +.yPlaneHi + 0CFE +.zPlaneHi + 0CFF +.SetupScreen + 0B00 A9 16 LDA #&16 + 0B02 20 EE FF JSR &FFEE + 0B05 A9 05 LDA #&05 + 0B07 20 EE FF JSR &FFEE + 0B0A A0 00 LDY #&00 +.sscr1 + 0B0C B9 54 0B LDA &0B54,Y + 0B0F 20 EE FF JSR &FFEE + 0B12 C8 INY + 0B13 C0 0A CPY #&0A + 0B15 D0 F5 BNE &0B0C + 0B17 A9 1F LDA #&1F + 0B19 20 EE FF JSR &FFEE + 0B1C A9 04 LDA #&04 + 0B1E 20 EE FF JSR &FFEE + 0B21 A9 0A LDA #&0A + 0B23 20 EE FF JSR &FFEE + 0B26 A0 00 LDY #&00 +.sscr2 + 0B28 B9 5E 0B LDA &0B5E,Y + 0B2B 20 EE FF JSR &FFEE + 0B2E C8 INY + 0B2F C0 0B CPY #&0B + 0B31 D0 F5 BNE &0B28 + 0B33 A2 46 LDX #&46 + 0B35 A0 0B LDY #&0B + 0B37 20 F7 FF JSR &FFF7 + 0B3A A9 81 LDA #&81 + 0B3C A2 FF LDX #&FF + 0B3E A0 00 LDY #&00 + 0B40 20 F4 FF JSR &FFF4 + 0B43 4C 6A 0B JMP &0B6A +.loadDashboard + 0B46 4C 2E 44 ... + 0B53 0D +.disableCursor + 0B54 17 + 0B55 00 + 0B56 0A + 0B57 17 + 0B58 00 + 0B59 00 + 0B5A 00 + 0B5B 00 + 0B5C 00 + 0B5D 00 +.pleaseWaitText + 0B5E 50 6C 65 ... + 0B69 0D +.DrawCanopy + 0B6A A9 8C LDA #&8C + 0B6C 20 F4 FF JSR &FFF4 + 0B6F A0 00 LDY #&00 +.dcan1 + 0B71 B9 00 04 LDA &0400,Y + 0B74 99 00 0D STA &0D00,Y + 0B77 B9 00 05 LDA &0500,Y + 0B7A 99 00 0E STA &0E00,Y + 0B7D B9 00 06 LDA &0600,Y + 0B80 99 00 0F STA &0F00,Y + 0B83 B9 00 07 LDA &0700,Y + 0B86 99 00 10 STA &1000,Y + 0B89 88 DEY + 0B8A D0 E5 BNE &0B71 + 0B8C EA NOP + 0B8D EA NOP + 0B8E EA NOP + 0B8F EA NOP + 0B90 A9 58 LDA #&58 + 0B92 85 71 STA &71 + 0B94 A9 00 LDA #&00 + 0B96 85 70 STA &70 + 0B98 A9 02 LDA #&02 + 0B9A 85 72 STA &72 + 0B9C A0 00 LDY #&00 + 0B9E 20 85 0C JSR &0C85 + 0BA1 A9 58 LDA #&58 + 0BA3 85 71 STA &71 + 0BA5 A9 FF LDA #&FF + 0BA7 85 70 STA &70 + 0BA9 A9 02 LDA #&02 + 0BAB 85 72 STA &72 + 0BAD A0 40 LDY #&40 + 0BAF 20 85 0C JSR &0C85 + 0BB2 A9 5A LDA #&5A + 0BB4 85 71 STA &71 + 0BB6 A9 7F LDA #&7F + 0BB8 85 70 STA &70 + 0BBA A9 12 LDA #&12 + 0BBC 85 72 STA &72 + 0BBE A0 08 LDY #&08 + 0BC0 20 85 0C JSR &0C85 + 0BC3 A9 5B LDA #&5B + 0BC5 85 71 STA &71 + 0BC7 A9 B7 LDA #&B7 + 0BC9 85 70 STA &70 + 0BCB A9 12 LDA #&12 + 0BCD 85 72 STA &72 + 0BCF A0 08 LDY #&08 + 0BD1 20 85 0C JSR &0C85 + 0BD4 A2 03 LDX #&03 + 0BD6 A0 60 LDY #&60 + 0BD8 20 2A 0C JSR &0C2A + 0BDB A2 03 LDX #&03 + 0BDD A0 EF LDY #&EF + 0BDF 20 2E 0C JSR &0C2E + 0BE2 A2 9C LDX #&9C + 0BE4 A0 60 LDY #&60 + 0BE6 20 2A 0C JSR &0C2A + 0BE9 A2 9C LDX #&9C + 0BEB A0 EF LDY #&EF + 0BED 20 2E 0C JSR &0C2E + 0BF0 A2 08 LDX #&08 + 0BF2 A0 F8 LDY #&F8 + 0BF4 20 2A 0C JSR &0C2A + 0BF7 A2 97 LDX #&97 + 0BF9 A0 F8 LDY #&F8 + 0BFB 20 2E 0C JSR &0C2E + 0BFE A0 79 LDY #&79 +.dcan2 + 0C00 A2 00 LDX #&00 + 0C02 20 64 0C JSR &0C64 + 0C05 A2 9E LDX #&9E + 0C07 20 64 0C JSR &0C64 + 0C0A 98 TYA + 0C0B 18 CLC + 0C0C 69 30 ADC #&30 + 0C0E A8 TAY + 0C0F C0 09 CPY #&09 + 0C11 D0 ED BNE &0C00 + 0C13 A0 FF LDY #&FF + 0C15 A2 13 LDX #&13 +.dcan3 + 0C17 20 64 0C JSR &0C64 + 0C1A 8A TXA + 0C1B 18 CLC + 0C1C 69 18 ADC #&18 + 0C1E AA TAX + 0C1F E0 A3 CPX #&A3 + 0C21 D0 F4 BNE &0C17 + 0C23 4C 98 26 JMP &2698 +.VduPoint + 0C26 A9 45 LDA #&45 + 0C28 D0 06 BNE &0C30 +.VduMove + 0C2A A9 04 LDA #&04 + 0C2C D0 02 BNE &0C30 +.VduDraw + 0C2E A9 05 LDA #&05 +.VduPlot + 0C30 48 PHA + 0C31 A9 19 LDA #&19 + 0C33 20 EE FF JSR &FFEE + 0C36 68 PLA + 0C37 20 EE FF JSR &FFEE + 0C3A A9 00 LDA #&00 + 0C3C 85 70 STA &70 + 0C3E 8A TXA + 0C3F 0A ASL A + 0C40 26 70 ROL &70 + 0C42 0A ASL A + 0C43 26 70 ROL &70 + 0C45 0A ASL A + 0C46 26 70 ROL &70 + 0C48 20 EE FF JSR &FFEE + 0C4B A5 70 LDA &70 + 0C4D 20 EE FF JSR &FFEE + 0C50 A9 00 LDA #&00 + 0C52 85 70 STA &70 + 0C54 98 TYA + 0C55 0A ASL A + 0C56 26 70 ROL &70 + 0C58 0A ASL A + 0C59 26 70 ROL &70 + 0C5B 20 EE FF JSR &FFEE + 0C5E A5 70 LDA &70 + 0C60 20 EE FF JSR &FFEE + 0C63 60 RTS +.DrawRivet + 0C64 20 26 0C JSR &0C26 + 0C67 88 DEY + 0C68 20 26 0C JSR &0C26 + 0C6B 88 DEY + 0C6C 20 26 0C JSR &0C26 + 0C6F 88 DEY + 0C70 20 26 0C JSR &0C26 + 0C73 E8 INX + 0C74 20 26 0C JSR &0C26 + 0C77 C8 INY + 0C78 20 26 0C JSR &0C26 + 0C7B C8 INY + 0C7C 20 26 0C JSR &0C26 + 0C7F C8 INY + 0C80 20 26 0C JSR &0C26 + 0C83 CA DEX + 0C84 60 RTS +.ClearRows + 0C85 84 73 STY &73 +.crow1 + 0C87 A9 00 LDA #&00 + 0C89 A4 73 LDY &73 +.crow2 + 0C8B 91 70 STA (&70),Y + 0C8D 88 DEY + 0C8E D0 FB BNE &0C8B + 0C90 A5 70 LDA &70 + 0C92 18 CLC + 0C93 69 40 ADC #&40 + 0C95 85 70 STA &70 + 0C97 A5 71 LDA &71 + 0C99 69 01 ADC #&01 + 0C9B 85 71 STA &71 + 0C9D C6 72 DEC &72 + 0C9F D0 E6 BNE &0C87 + 0CA1 60 RTS + 0CA2 + 0CC0 FF + 0CC1 FF + 0CC2 FF + 0CC3 FF + 0CC4 FF + 0CC5 FF + 0CC6 FF + 0CC7 FF + 0CC8 FF + 0CC9 FF + 0CCA FF + 0CCB FF + 0CCC FF + 0CCD FF + 0CCE FF + 0CCF FF + 0CD0 FF + 0CD1 FF + 0CD2 FF + 0CD3 FF + 0CD4 FF + 0CD5 FF + 0CD6 FF + 0CD7 FF + 0CD8 FF + 0CD9 FF + 0CDA FF + 0CDB FF + 0CDC FF + 0CDD FF + 0CDE FF + 0CDF FF + 0CE0 + 0D00 40 +.ProjectPoint + 0D01 A6 88 LDX &88 + 0D03 A9 00 LDA #&00 + 0D05 85 7F STA &7F + 0D07 A9 10 LDA #&10 + 0D09 85 72 STA &72 + 0D0B BD 00 04 LDA &0400,X + 0D0E A8 TAY + 0D0F 29 01 AND #&01 + 0D11 F0 01 BEQ &0D14 + 0D13 60 RTS +.proj1 + 0D14 98 TYA + 0D15 09 01 ORA #&01 + 0D17 9D 00 04 STA &0400,X + 0D1A BD 00 49 LDA &4900,X + 0D1D 30 18 BMI &0D37 + 0D1F 85 71 STA &71 + 0D21 F0 08 BEQ &0D2B + 0D23 BD 00 07 LDA &0700,X + 0D26 85 70 STA &70 + 0D28 4C 46 0D JMP &0D46 +.proj2 + 0D2B BD 00 07 LDA &0700,X + 0D2E D0 02 BNE &0D32 + 0D30 A9 01 LDA #&01 +.proj3 + 0D32 85 70 STA &70 + 0D34 4C 46 0D JMP &0D46 +.proj4 + 0D37 A9 00 LDA #&00 + 0D39 38 SEC + 0D3A FD 00 07 SBC &0700,X + 0D3D 85 70 STA &70 + 0D3F A9 00 LDA #&00 + 0D41 FD 00 49 SBC &4900,X + 0D44 85 71 STA &71 +.proj5 + 0D46 BD 00 4A LDA &4A00,X + 0D49 30 0A BMI &0D55 + 0D4B 85 81 STA &81 + 0D4D BD 00 09 LDA &0900,X + 0D50 85 80 STA &80 + 0D52 4C 6A 0D JMP &0D6A +.proj6 + 0D55 A9 00 LDA #&00 + 0D57 38 SEC + 0D58 FD 00 09 SBC &0900,X + 0D5B 85 80 STA &80 + 0D5D A9 00 LDA #&00 + 0D5F FD 00 4A SBC &4A00,X + 0D62 85 81 STA &81 + 0D64 A5 7F LDA &7F + 0D66 09 08 ORA #&08 + 0D68 85 7F STA &7F +.proj7 + 0D6A BD 00 0B LDA &0B00,X + 0D6D 30 0D BMI &0D7C + 0D6F 85 83 STA &83 + 0D71 BD 00 0A LDA &0A00,X + 0D74 0A ASL A + 0D75 26 83 ROL &83 + 0D77 85 82 STA &82 + 0D79 4C 94 0D JMP &0D94 +.proj8 + 0D7C A9 00 LDA #&00 + 0D7E 38 SEC + 0D7F FD 00 0A SBC &0A00,X + 0D82 85 82 STA &82 + 0D84 A9 00 LDA #&00 + 0D86 FD 00 0B SBC &0B00,X + 0D89 06 82 ASL &82 + 0D8B 2A ROL A + 0D8C 85 83 STA &83 + 0D8E A5 7F LDA &7F + 0D90 09 04 ORA #&04 + 0D92 85 7F STA &7F +.proj9 + 0D94 A5 81 LDA &81 + 0D96 C5 71 CMP &71 + 0D98 90 0E BCC &0DA8 + 0D9A D0 06 BNE &0DA2 + 0D9C A5 80 LDA &80 + 0D9E C5 70 CMP &70 + 0DA0 90 06 BCC &0DA8 +.proj10 + 0DA2 A9 20 LDA #&20 + 0DA4 05 7F ORA &7F + 0DA6 85 7F STA &7F +.proj11 + 0DA8 A5 83 LDA &83 + 0DAA C5 71 CMP &71 + 0DAC 90 0E BCC &0DBC + 0DAE D0 06 BNE &0DB6 + 0DB0 A5 82 LDA &82 + 0DB2 C5 70 CMP &70 + 0DB4 90 06 BCC &0DBC +.proj12 + 0DB6 A5 7F LDA &7F + 0DB8 09 10 ORA #&10 + 0DBA 85 7F STA &7F +.proj13 + 0DBC A4 70 LDY &70 + 0DBE A6 71 LDX &71 + 0DC0 20 48 0F JSR &0F48 + 0DC3 AA TAX + 0DC4 BD 00 39 LDA &3900,X + 0DC7 85 84 STA &84 + 0DC9 BD 00 47 LDA &4700,X + 0DCC 29 F8 AND #&F8 + 0DCE 85 73 STA &73 + 0DD0 84 7C STY &7C + 0DD2 A5 87 LDA &87 + 0DD4 85 85 STA &85 + 0DD6 A4 80 LDY &80 + 0DD8 A6 81 LDX &81 + 0DDA 20 69 0E JSR &0E69 + 0DDD A5 71 LDA &71 + 0DDF 85 81 STA &81 + 0DE1 A5 70 LDA &70 + 0DE3 85 80 STA &80 + 0DE5 A5 87 LDA &87 + 0DE7 85 86 STA &86 + 0DE9 A4 82 LDY &82 + 0DEB A6 83 LDX &83 + 0DED 20 69 0E JSR &0E69 + 0DF0 20 A7 0F JSR &0FA7 + 0DF3 A6 88 LDX &88 + 0DF5 BD 00 49 LDA &4900,X + 0DF8 30 08 BMI &0E02 + 0DFA BD 00 4A LDA &4A00,X + 0DFD 10 1A BPL &0E19 + 0DFF 4C 07 0E JMP &0E07 +.proj14 + 0E02 BD 00 4A LDA &4A00,X + 0E05 30 12 BMI &0E19 +.proj15 + 0E07 A9 50 LDA #&50 + 0E09 38 SEC + 0E0A E5 81 SBC &81 + 0E0C 9D 00 09 STA &0900,X + 0E0F A9 00 LDA #&00 + 0E11 E5 83 SBC &83 + 0E13 9D 00 4A STA &4A00,X + 0E16 4C 28 0E JMP &0E28 +.proj16 + 0E19 A9 50 LDA #&50 + 0E1B 18 CLC + 0E1C 65 81 ADC &81 + 0E1E 9D 00 09 STA &0900,X + 0E21 A9 00 LDA #&00 + 0E23 65 83 ADC &83 + 0E25 9D 00 4A STA &4A00,X +.proj17 + 0E28 A6 88 LDX &88 + 0E2A BD 00 49 LDA &4900,X + 0E2D 30 08 BMI &0E37 + 0E2F BD 00 0B LDA &0B00,X + 0E32 10 1A BPL &0E4E + 0E34 4C 3C 0E JMP &0E3C +.proj18 + 0E37 BD 00 0B LDA &0B00,X + 0E3A 30 12 BMI &0E4E +.proj19 + 0E3C A9 60 LDA #&60 + 0E3E 38 SEC + 0E3F E5 71 SBC &71 + 0E41 9D 00 0A STA &0A00,X + 0E44 A9 00 LDA #&00 + 0E46 E5 82 SBC &82 + 0E48 9D 00 0B STA &0B00,X + 0E4B 4C 5D 0E JMP &0E5D +.proj20 + 0E4E A9 60 LDA #&60 + 0E50 18 CLC + 0E51 65 71 ADC &71 + 0E53 9D 00 0A STA &0A00,X + 0E56 A9 00 LDA #&00 + 0E58 65 82 ADC &82 + 0E5A 9D 00 0B STA &0B00,X +.proj21 + 0E5D BD 00 04 LDA &0400,X + 0E60 05 7F ORA &7F + 0E62 9D 00 04 STA &0400,X + 0E65 60 RTS + 0E66 20 48 0F JSR &0F48 +.DivideScaled + 0E69 20 48 0F JSR &0F48 + 0E6C 85 7B STA &7B + 0E6E 84 7A STY &7A + 0E70 A6 84 LDX &84 + 0E72 A4 7B LDY &7B + 0E74 BD 00 45 LDA &4500,X + 0E77 19 00 37 ORA &3700,Y + 0E7A 85 74 STA &74 + 0E7C 29 F0 AND #&F0 + 0E7E 19 00 43 ORA &4300,Y + 0E81 85 75 STA &75 + 0E83 29 0F AND #&0F + 0E85 1D 00 38 ORA &3800,X + 0E88 85 76 STA &76 + 0E8A 29 F0 AND #&F0 + 0E8C 19 00 37 ORA &3700,Y + 0E8F A8 TAY + 0E90 A6 73 LDX &73 + 0E92 29 0F AND #&0F + 0E94 1D 00 45 ORA &4500,X + 0E97 AA TAX + 0E98 BD 00 3A LDA &3A00,X + 0E9B 18 CLC + 0E9C A6 76 LDX &76 + 0E9E 7D 00 3A ADC &3A00,X + 0EA1 85 70 STA &70 + 0EA3 A6 74 LDX &74 + 0EA5 BD 00 3A LDA &3A00,X + 0EA8 69 01 ADC #&01 + 0EAA 85 71 STA &71 + 0EAC A6 75 LDX &75 + 0EAE BD 00 3A LDA &3A00,X + 0EB1 79 00 3A ADC &3A00,Y + 0EB4 AA TAX + 0EB5 A0 00 LDY #&00 + 0EB7 90 02 BCC &0EBB + 0EB9 A0 10 LDY #&10 +.divs1 + 0EBB BD 00 38 LDA &3800,X + 0EBE 65 70 ADC &70 + 0EC0 90 01 BCC &0EC3 + 0EC2 C8 INY +.divs2 + 0EC3 65 7B ADC &7B + 0EC5 90 01 BCC &0EC8 + 0EC7 C8 INY +.divs3 + 0EC8 65 73 ADC &73 + 0ECA 85 70 STA &70 + 0ECC 98 TYA + 0ECD 7D 00 37 ADC &3700,X + 0ED0 65 71 ADC &71 + 0ED2 90 07 BCC &0EDB + 0ED4 18 CLC + 0ED5 65 84 ADC &84 + 0ED7 38 SEC + 0ED8 4C DD 0E JMP &0EDD +.divs4 + 0EDB 65 84 ADC &84 +.divs5 + 0EDD 6A ROR A + 0EDE 66 70 ROR &70 + 0EE0 85 71 STA &71 + 0EE2 A5 7A LDA &7A + 0EE4 F0 30 BEQ &0F16 + 0EE6 29 F0 AND #&F0 + 0EE8 A6 84 LDX &84 + 0EEA 1D 00 37 ORA &3700,X + 0EED A8 TAY + 0EEE 29 F0 AND #&F0 + 0EF0 1D 00 43 ORA &4300,X + 0EF3 AA TAX + 0EF4 BD 00 3A LDA &3A00,X + 0EF7 AA TAX + 0EF8 18 CLC + 0EF9 BD 00 38 LDA &3800,X + 0EFC 65 7A ADC &7A + 0EFE B9 00 3A LDA &3A00,Y + 0F01 7D 00 37 ADC &3700,X + 0F04 6A ROR A + 0F05 18 CLC + 0F06 65 70 ADC &70 + 0F08 85 70 STA &70 + 0F0A 90 0A BCC &0F16 + 0F0C E6 71 INC &71 + 0F0E D0 06 BNE &0F16 + 0F10 A9 FF LDA #&FF + 0F12 85 71 STA &71 + 0F14 85 70 STA &70 +.divs6 + 0F16 A5 7C LDA &7C + 0F18 29 C0 AND #&C0 + 0F1A F0 2B BEQ &0F47 + 0F1C 85 7C STA &7C + 0F1E 18 CLC + 0F1F A5 84 LDA &84 + 0F21 69 01 ADC #&01 + 0F23 6A ROR A + 0F24 85 77 STA &77 + 0F26 4A LSR A + 0F27 24 7C BIT &7C + 0F29 70 04 BVS &0F2F + 0F2B A9 00 LDA #&00 + 0F2D 24 7C BIT &7C +.divs7 + 0F2F 10 03 BPL &0F34 + 0F31 18 CLC + 0F32 65 77 ADC &77 +.divs8 + 0F34 A8 TAY + 0F35 A6 71 LDX &71 + 0F37 20 21 18 JSR &1821 + 0F3A 85 78 STA &78 + 0F3C A5 70 LDA &70 + 0F3E 38 SEC + 0F3F E5 78 SBC &78 + 0F41 85 70 STA &70 + 0F43 B0 02 BCS &0F47 + 0F45 C6 71 DEC &71 +.divs9 + 0F47 60 RTS +.ScaleUp + 0F48 F0 2D BEQ &0F77 + 0F4A BD 00 47 LDA &4700,X + 0F4D 29 07 AND #&07 + 0F4F 18 CLC + 0F50 69 08 ADC #&08 + 0F52 85 87 STA &87 + 0F54 C9 0D CMP #&0D + 0F56 8A TXA + 0F57 84 74 STY &74 + 0F59 90 0B BCC &0F66 +.scup1 + 0F5B 06 74 ASL &74 + 0F5D 2A ROL A + 0F5E 90 FB BCC &0F5B + 0F60 A4 74 LDY &74 + 0F62 60 RTS +.scup2 + 0F63 06 74 ASL &74 + 0F65 2A ROL A +.scup3 + 0F66 24 72 BIT &72 + 0F68 F0 F9 BEQ &0F63 + 0F6A A8 TAY + 0F6B A6 74 LDX &74 + 0F6D BD 00 37 LDA &3700,X + 0F70 19 00 38 ORA &3800,Y + 0F73 BC 00 38 LDY &3800,X + 0F76 60 RTS +.scup4 + 0F77 C0 00 CPY #&00 + 0F79 F0 1C BEQ &0F97 + 0F7B B9 00 47 LDA &4700,Y + 0F7E 29 07 AND #&07 + 0F80 85 87 STA &87 + 0F82 C9 04 CMP #&04 + 0F84 98 TYA + 0F85 A0 00 LDY #&00 + 0F87 90 05 BCC &0F8E +.scup5 + 0F89 0A ASL A + 0F8A 90 FD BCC &0F89 + 0F8C 60 RTS +.scup6 + 0F8D 0A ASL A +.scup7 + 0F8E 24 72 BIT &72 + 0F90 F0 FB BEQ &0F8D + 0F92 AA TAX + 0F93 BD 00 38 LDA &3800,X + 0F96 60 RTS +.scup8 + 0F97 BA TSX + 0F98 E8 INX + 0F99 E8 INX + 0F9A 9A TXS + 0F9B A9 00 LDA #&00 + 0F9D 85 71 STA &71 + 0F9F 85 70 STA &70 + 0FA1 A6 85 LDX &85 + 0FA3 CA DEX + 0FA4 86 87 STX &87 + 0FA6 60 RTS +.ScaleDown + 0FA7 A9 00 LDA #&00 + 0FA9 85 82 STA &82 + 0FAB 85 83 STA &83 + 0FAD A9 07 LDA #&07 + 0FAF 85 74 STA &74 + 0FB1 A5 86 LDA &86 + 0FB3 38 SEC + 0FB4 E5 85 SBC &85 + 0FB6 AA TAX + 0FB7 E8 INX + 0FB8 A5 87 LDA &87 + 0FBA 38 SEC + 0FBB E5 85 SBC &85 + 0FBD A8 TAY + 0FBE C8 INY + 0FBF C0 07 CPY #&07 + 0FC1 90 03 BCC &0FC6 + 0FC3 4C CA 0F JMP &0FCA +.down1 + 0FC6 E0 07 CPX #&07 + 0FC8 90 1A BCC &0FE4 +.down2 + 0FCA A5 86 LDA &86 + 0FCC 38 SEC + 0FCD E5 87 SBC &87 + 0FCF F0 09 BEQ &0FDA + 0FD1 10 0B BPL &0FDE + 0FD3 A5 71 LDA &71 + 0FD5 30 0D BMI &0FE4 + 0FD7 4C E2 0F JMP &0FE2 +.down3 + 0FDA A5 71 LDA &71 + 0FDC 30 06 BMI &0FE4 +.down4 + 0FDE A5 81 LDA &81 + 0FE0 30 02 BMI &0FE4 +.down5 + 0FE2 E6 74 INC &74 +.down6 + 0FE4 98 TYA + 0FE5 30 09 BMI &0FF0 + 0FE7 4C EC 0F JMP &0FEC +.down7 + 0FEA CA DEX + 0FEB 88 DEY +.down8 + 0FEC C4 74 CPY &74 + 0FEE B0 FA BCS &0FEA +.down9 + 0FF0 8A TXA + 0FF1 30 09 BMI &0FFC + 0FF3 4C F8 0F JMP &0FF8 +.down10 + 0FF6 CA DEX + 0FF7 88 DEY +.down11 + 0FF8 E4 74 CPX &74 + 0FFA B0 FA BCS &0FF6 +.down12 + 0FFC 8A TXA + 0FFD 30 18 BMI &1017 + 0FFF D0 05 BNE &1006 + 1001 06 80 ASL &80 + 1003 4C 25 10 JMP &1025 +.down13 + 1006 A5 81 LDA &81 +.down14 + 1008 06 80 ASL &80 + 100A 2A ROL A + 100B 26 83 ROL &83 + 100D CA DEX + 100E D0 F8 BNE &1008 + 1010 85 81 STA &81 + 1012 06 80 ASL &80 + 1014 4C 25 10 JMP &1025 +.down15 + 1017 49 FF EOR #&FF + 1019 18 CLC + 101A 69 01 ADC #&01 + 101C AA TAX + 101D A5 81 LDA &81 +.down16 + 101F 4A LSR A + 1020 CA DEX + 1021 D0 FC BNE &101F + 1023 85 81 STA &81 +.down17 + 1025 90 14 BCC &103B + 1027 E6 81 INC &81 + 1029 D0 10 BNE &103B + 102B E6 83 INC &83 + 102D A5 83 LDA &83 + 102F C9 40 CMP #&40 + 1031 90 08 BCC &103B + 1033 A9 3F LDA #&3F + 1035 85 83 STA &83 + 1037 A9 FF LDA #&FF + 1039 85 81 STA &81 +.down18 + 103B 98 TYA + 103C 30 18 BMI &1056 + 103E D0 05 BNE &1045 + 1040 06 70 ASL &70 + 1042 4C 64 10 JMP &1064 +.down19 + 1045 A5 71 LDA &71 +.down20 + 1047 06 70 ASL &70 + 1049 2A ROL A + 104A 26 82 ROL &82 + 104C 88 DEY + 104D D0 F8 BNE &1047 + 104F 85 71 STA &71 + 1051 06 70 ASL &70 + 1053 4C 64 10 JMP &1064 +.down21 + 1056 49 FF EOR #&FF + 1058 18 CLC + 1059 69 01 ADC #&01 + 105B A8 TAY + 105C A5 71 LDA &71 +.down22 + 105E 4A LSR A + 105F 88 DEY + 1060 D0 FC BNE &105E + 1062 85 71 STA &71 +.down23 + 1064 90 14 BCC &107A + 1066 E6 71 INC &71 + 1068 D0 10 BNE &107A + 106A E6 82 INC &82 + 106C A5 82 LDA &82 + 106E C9 40 CMP #&40 + 1070 90 08 BCC &107A + 1072 A9 3F LDA #&3F + 1074 85 82 STA &82 + 1076 A9 FF LDA #&FF + 1078 85 71 STA &71 +.down24 + 107A 60 RTS +.DrawClippedHorizon + 107B A9 02 LDA #&02 + 107D D0 02 BNE &1081 +.DrawClippedLine + 107F A9 00 LDA #&00 +.draw1 + 1081 85 76 STA &76 + 1083 A9 00 LDA #&00 + 1085 85 84 STA &84 + 1087 85 85 STA &85 + 1089 A6 7D LDX &7D + 108B A4 7E LDY &7E + 108D BD 00 09 LDA &0900,X + 1090 85 72 STA &72 + 1092 BD 00 4A LDA &4A00,X + 1095 85 82 STA &82 + 1097 BD 00 0A LDA &0A00,X + 109A 85 73 STA &73 + 109C BD 00 0B LDA &0B00,X + 109F 85 83 STA &83 + 10A1 B9 00 09 LDA &0900,Y + 10A4 85 77 STA &77 + 10A6 38 SEC + 10A7 E5 72 SBC &72 + 10A9 85 74 STA &74 + 10AB B9 00 4A LDA &4A00,Y + 10AE 85 81 STA &81 + 10B0 E5 82 SBC &82 + 10B2 85 7A STA &7A + 10B4 10 13 BPL &10C9 + 10B6 A9 80 LDA #&80 + 10B8 05 76 ORA &76 + 10BA 85 76 STA &76 + 10BC A9 00 LDA #&00 + 10BE 38 SEC + 10BF E5 74 SBC &74 + 10C1 85 74 STA &74 + 10C3 A9 00 LDA #&00 + 10C5 E5 7A SBC &7A + 10C7 85 7A STA &7A +.draw2 + 10C9 B9 00 0A LDA &0A00,Y + 10CC 85 78 STA &78 + 10CE 38 SEC + 10CF E5 73 SBC &73 + 10D1 85 75 STA &75 + 10D3 B9 00 0B LDA &0B00,Y + 10D6 85 79 STA &79 + 10D8 E5 83 SBC &83 + 10DA 85 7B STA &7B + 10DC 10 13 BPL &10F1 + 10DE A9 40 LDA #&40 + 10E0 05 76 ORA &76 + 10E2 85 76 STA &76 + 10E4 A9 00 LDA #&00 + 10E6 38 SEC + 10E7 E5 75 SBC &75 + 10E9 85 75 STA &75 + 10EB A9 00 LDA #&00 + 10ED E5 7B SBC &7B + 10EF 85 7B STA &7B +.draw3 + 10F1 A9 00 LDA #&00 + 10F3 A6 73 LDX &73 + 10F5 A4 83 LDY &83 + 10F7 F0 08 BEQ &1101 + 10F9 08 PHP + 10FA A2 00 LDX #&00 + 10FC 28 PLP + 10FD 18 CLC + 10FE 30 02 BMI &1102 + 1100 CA DEX +.draw4 + 1101 38 SEC +.draw5 + 1102 6A ROR A + 1103 E0 98 CPX #&98 + 1105 6A ROR A + 1106 49 40 EOR #&40 + 1108 A6 72 LDX &72 + 110A A4 82 LDY &82 + 110C F0 07 BEQ &1115 + 110E 08 PHP + 110F A2 00 LDX #&00 + 1111 28 PLP + 1112 30 01 BMI &1115 + 1114 CA DEX +.draw6 + 1115 E0 04 CPX #&04 + 1117 6A ROR A + 1118 E0 9C CPX #&9C + 111A 6A ROR A + 111B 49 40 EOR #&40 + 111D 85 84 STA &84 + 111F A9 00 LDA #&00 + 1121 A6 78 LDX &78 + 1123 A4 79 LDY &79 + 1125 F0 08 BEQ &112F + 1127 08 PHP + 1128 A2 00 LDX #&00 + 112A 28 PLP + 112B 18 CLC + 112C 30 02 BMI &1130 + 112E CA DEX +.draw7 + 112F 38 SEC +.draw8 + 1130 6A ROR A + 1131 E0 98 CPX #&98 + 1133 6A ROR A + 1134 49 40 EOR #&40 + 1136 A6 77 LDX &77 + 1138 A4 81 LDY &81 + 113A F0 07 BEQ &1143 + 113C 08 PHP + 113D A2 00 LDX #&00 + 113F 28 PLP + 1140 30 01 BMI &1143 + 1142 CA DEX +.draw9 + 1143 E0 04 CPX #&04 + 1145 6A ROR A + 1146 E0 9C CPX #&9C + 1148 6A ROR A + 1149 49 40 EOR #&40 + 114B 85 85 STA &85 + 114D A6 7D LDX &7D + 114F A4 7E LDY &7E + 1151 B9 00 49 LDA &4900,Y + 1154 10 0C BPL &1162 + 1156 A5 76 LDA &76 + 1158 49 C0 EOR #&C0 + 115A 85 76 STA &76 + 115C A5 84 LDA &84 + 115E F0 38 BEQ &1198 + 1160 D0 18 BNE &117A +.draw10 + 1162 BD 00 49 LDA &4900,X + 1165 10 09 BPL &1170 + 1167 20 78 17 JSR &1778 + 116A A5 84 LDA &84 + 116C F0 2A BEQ &1198 + 116E D0 0A BNE &117A +.draw11 + 1170 A5 84 LDA &84 + 1172 D0 12 BNE &1186 + 1174 A5 85 LDA &85 + 1176 D0 20 BNE &1198 + 1178 F0 53 BEQ &11CD +.draw12 + 117A 20 98 15 JSR &1598 + 117D 4C 98 11 JMP &1198 +.draw13 + 1180 20 54 15 JSR &1554 + 1183 4C 98 11 JMP &1198 +.draw14 + 1186 A5 85 LDA &85 + 1188 D0 F6 BNE &1180 + 118A A5 76 LDA &76 + 118C 49 C0 EOR #&C0 + 118E 85 76 STA &76 + 1190 A5 77 LDA &77 + 1192 85 72 STA &72 + 1194 A5 78 LDA &78 + 1196 85 73 STA &73 +.draw15 + 1198 A9 04 LDA #&04 + 119A 24 76 BIT &76 + 119C 30 02 BMI &11A0 + 119E A9 9B LDA #&9B +.draw16 + 11A0 85 77 STA &77 + 11A2 A9 00 LDA #&00 + 11A4 70 02 BVS &11A8 + 11A6 A9 97 LDA #&97 +.draw17 + 11A8 85 78 STA &78 + 11AA 4C B5 11 JMP &11B5 +.draw18 + 11AD 46 7A LSR &7A + 11AF 66 74 ROR &74 + 11B1 46 7B LSR &7B + 11B3 66 75 ROR &75 +.draw19 + 11B5 A5 7A LDA &7A + 11B7 05 7B ORA &7B + 11B9 D0 F2 BNE &11AD + 11BB A9 FF LDA #&FF + 11BD C5 74 CMP &74 + 11BF D0 04 BNE &11C5 + 11C1 46 74 LSR &74 + 11C3 46 75 LSR &75 +.draw20 + 11C5 C5 75 CMP &75 + 11C7 D0 04 BNE &11CD + 11C9 46 74 LSR &74 + 11CB 46 75 LSR &75 +.draw21 + 11CD E6 74 INC &74 + 11CF E6 75 INC &75 + 11D1 AD C3 0C LDA &0CC3 + 11D4 30 0F BMI &11E5 + 11D6 AE D1 0C LDX &0CD1 + 11D9 E0 5F CPX #&5F + 11DB D0 01 BNE &11DE + 11DD 60 RTS +.draw22 + 11DE E8 INX + 11DF 8E D1 0C STX &0CD1 + 11E2 4C F1 11 JMP &11F1 +.draw23 + 11E5 AE D0 0C LDX &0CD0 + 11E8 E0 2F CPX #&2F + 11EA D0 01 BNE &11ED + 11EC 60 RTS +.draw24 + 11ED E8 INX + 11EE 8E D0 0C STX &0CD0 +.draw25 + 11F1 A5 72 LDA &72 + 11F3 9D 00 3C STA &3C00,X + 11F6 A5 77 LDA &77 + 11F8 9D 60 3C STA &3C60,X + 11FB A5 73 LDA &73 + 11FD 9D C0 3C STA &3CC0,X + 1200 A5 78 LDA &78 + 1202 9D 20 3D STA &3D20,X + 1205 A5 74 LDA &74 + 1207 9D 80 3D STA &3D80,X + 120A A5 75 LDA &75 + 120C 9D 00 01 STA &0100,X + 120F A5 76 LDA &76 + 1211 9D A0 48 STA &48A0,X +.DrawCanopyLine + 1214 A5 72 LDA &72 + 1216 4A LSR A + 1217 4A LSR A + 1218 AA TAX + 1219 A5 73 LDA &73 + 121B 4A LSR A + 121C 4A LSR A + 121D 4A LSR A + 121E A8 TAY + 121F 18 CLC + 1220 BD 00 4F LDA &4F00,X + 1223 79 00 48 ADC &4800,Y + 1226 85 70 STA &70 + 1228 BD 28 4F LDA &4F28,X + 122B 79 20 48 ADC &4820,Y + 122E 85 71 STA &71 + 1230 A5 75 LDA &75 + 1232 C5 74 CMP &74 + 1234 90 03 BCC &1239 + 1236 4C 8C 13 JMP &138C +.dlin1 + 1239 24 76 BIT &76 + 123B 30 15 BMI &1252 + 123D A9 05 LDA #&05 + 123F 8D 1B 13 STA &131B + 1242 A9 09 LDA #&09 + 1244 8D 20 13 STA &1320 +.dlin2 + 1247 A9 60 LDA #&60 + 1249 8D 64 13 STA &1364 + 124C A9 27 LDA #&27 + 124E 85 7A STA &7A + 1250 D0 13 BNE &1265 +.dlin3 + 1252 A9 24 LDA #&24 + 1254 8D 1B 13 STA &131B + 1257 A9 28 LDA #&28 + 1259 8D 20 13 STA &1320 +.dlin4 + 125C A9 6A LDA #&6A + 125E 8D 64 13 STA &1364 + 1261 A9 00 LDA #&00 + 1263 85 7A STA &7A +.dlin5 + 1265 24 76 BIT &76 + 1267 70 1E BVS &1287 + 1269 A9 98 LDA #&98 + 126B 8D 6A 13 STA &136A + 126E A9 88 LDA #&88 + 1270 8D 6B 13 STA &136B + 1273 A9 C8 LDA #&C8 + 1275 8D 74 13 STA &1374 + 1278 A9 FE LDA #&FE + 127A 8D 7A 13 STA &137A + 127D A9 9E LDA #&9E + 127F 38 SEC + 1280 E5 78 SBC &78 + 1282 85 7B STA &7B + 1284 4C A2 12 JMP &12A2 +.dlin6 + 1287 A9 C8 LDA #&C8 + 1289 8D 6A 13 STA &136A + 128C A9 98 LDA #&98 + 128E 8D 6B 13 STA &136B + 1291 A9 38 LDA #&38 + 1293 8D 74 13 STA &1374 + 1296 A9 01 LDA #&01 + 1298 8D 7A 13 STA &137A + 129B A9 A0 LDA #&A0 + 129D 38 SEC + 129E E5 78 SBC &78 + 12A0 85 7B STA &7B +.dlin7 + 12A2 A9 9F LDA #&9F + 12A4 38 SEC + 12A5 E5 73 SBC &73 + 12A7 A8 TAY + 12A8 A9 FF LDA #&FF + 12AA 38 SEC + 12AB E5 74 SBC &74 + 12AD 85 82 STA &82 + 12AF 18 CLC + 12B0 69 01 ADC #&01 + 12B2 85 83 STA &83 + 12B4 A5 76 LDA &76 + 12B6 29 03 AND #&03 + 12B8 F0 0A BEQ &12C4 + 12BA A5 75 LDA &75 + 12BC C9 02 CMP #&02 + 12BE 90 04 BCC &12C4 + 12C0 A9 FF LDA #&FF + 12C2 85 83 STA &83 +.dlin8 + 12C4 A5 72 LDA &72 + 12C6 29 03 AND #&03 + 12C8 AA TAX + 12C9 A5 72 LDA &72 + 12CB 4A LSR A + 12CC 4A LSR A + 12CD 85 81 STA &81 + 12CF A5 83 LDA &83 + 12D1 24 76 BIT &76 + 12D3 30 10 BMI &12E5 + 12D5 E0 01 CPX #&01 + 12D7 90 1F BCC &12F8 + 12D9 D0 03 BNE &12DE + 12DB 18 CLC + 12DC 90 23 BCC &1301 +.dlin9 + 12DE E0 03 CPX #&03 + 12E0 90 29 BCC &130B + 12E2 18 CLC + 12E3 90 30 BCC &1315 +.dlin10 + 12E5 E0 01 CPX #&01 + 12E7 90 2C BCC &1315 + 12E9 D0 03 BNE &12EE + 12EB 18 CLC + 12EC 90 1D BCC &130B +.dlin11 + 12EE E0 03 CPX #&03 + 12F0 90 0F BCC &1301 + 12F2 18 CLC + 12F3 90 03 BCC &12F8 +.dlin12 + 12F5 18 CLC + 12F6 A5 83 LDA &83 +.dlin13 + 12F8 A2 00 LDX #&00 + 12FA 65 75 ADC &75 + 12FC 90 05 BCC &1303 + 12FE 20 5F 13 JSR &135F +.dlin14 + 1301 A2 03 LDX #&03 +.dlin15 + 1303 E8 INX + 1304 65 75 ADC &75 + 1306 90 05 BCC &130D + 1308 20 5F 13 JSR &135F +.dlin16 + 130B A2 06 LDX #&06 +.dlin17 + 130D E8 INX + 130E 65 75 ADC &75 + 1310 90 05 BCC &1317 + 1312 20 5F 13 JSR &135F +.dlin18 + 1315 A2 08 LDX #&08 +.dlin19 + 1317 E8 INX + 1318 65 75 ADC &75 +.dlin20 + 131A 90 05 BCC &1321 + 131C 20 5F 13 JSR &135F +.dlin21 + 131F D0 09 BNE &132A +.dlin22 + 1321 85 83 STA &83 +.dlin23 + 1323 BD 60 2E LDA &2E60,X +.dlin24 + 1326 11 70 ORA (&70),Y + 1328 91 70 STA (&70),Y +.dlin25 + 132A A5 70 LDA &70 + 132C 18 CLC + 132D 69 08 ADC #&08 + 132F 85 70 STA &70 + 1331 90 02 BCC &1335 + 1333 E6 71 INC &71 +.dlin26 + 1335 E6 81 INC &81 + 1337 A5 81 LDA &81 + 1339 C5 7A CMP &7A + 133B D0 B8 BNE &12F5 + 133D 4C 82 14 JMP &1482 +.dlin27 + 1340 85 83 STA &83 +.dlin28 + 1342 BD 6A 2E LDA &2E6A,X +.dlin29 + 1345 11 70 ORA (&70),Y + 1347 91 70 STA (&70),Y +.dlin30 + 1349 A5 70 LDA &70 + 134B 38 SEC + 134C E9 08 SBC #&08 + 134E 85 70 STA &70 + 1350 B0 02 BCS &1354 + 1352 C6 71 DEC &71 +.dlin31 + 1354 C6 81 DEC &81 + 1356 A5 81 LDA &81 + 1358 C5 7A CMP &7A + 135A D0 99 BNE &12F5 + 135C 4C 82 14 JMP &1482 +.dlin32 + 135F 65 82 ADC &82 + 1361 85 83 STA &83 +.dlin33 + 1363 BD 60 2E LDA &2E60,X +.dlin34 + 1366 11 70 ORA (&70),Y + 1368 91 70 STA (&70),Y +.dlin35 + 136A C8 INY +.dlin36 + 136B 98 TYA + 136C 29 07 AND #&07 + 136E D0 0D BNE &137D + 1370 A5 70 LDA &70 + 1372 18 CLC +.dlin37 + 1373 69 38 ADC #&38 + 1375 85 70 STA &70 + 1377 A5 71 LDA &71 +.dlin38 + 1379 69 01 ADC #&01 + 137B 85 71 STA &71 +.dlin39 + 137D A5 83 LDA &83 + 137F C4 7B CPY &7B + 1381 18 CLC + 1382 F0 01 BEQ &1385 + 1384 60 RTS +.dlin40 + 1385 BA TSX + 1386 E8 INX + 1387 E8 INX + 1388 9A TXS + 1389 4C 82 14 JMP &1482 +.dlin41 + 138C 24 76 BIT &76 + 138E 70 1A BVS &13AA + 1390 A9 98 LDA #&98 + 1392 8D 25 14 STA &1425 + 1395 A9 88 LDA #&88 + 1397 8D 26 14 STA &1426 + 139A A9 C8 LDA #&C8 + 139C 8D 2F 14 STA &142F + 139F A9 FE LDA #&FE + 13A1 8D 35 14 STA &1435 + 13A4 A9 07 LDA #&07 + 13A6 85 7B STA &7B + 13A8 D0 18 BNE &13C2 +.dlin42 + 13AA A9 C8 LDA #&C8 + 13AC 8D 25 14 STA &1425 + 13AF A9 98 LDA #&98 + 13B1 8D 26 14 STA &1426 + 13B4 A9 38 LDA #&38 + 13B6 8D 2F 14 STA &142F + 13B9 A9 01 LDA #&01 + 13BB 8D 35 14 STA &1435 + 13BE A9 A0 LDA #&A0 + 13C0 85 7B STA &7B +.dlin43 + 13C2 24 76 BIT &76 + 13C4 30 0F BMI &13D5 + 13C6 A9 1D LDA #&1D + 13C8 8D 22 14 STA &1422 + 13CB A5 77 LDA &77 + 13CD 18 CLC + 13CE 69 01 ADC #&01 + 13D0 85 7A STA &7A + 13D2 4C E1 13 JMP &13E1 +.dlin44 + 13D5 A9 3F LDA #&3F + 13D7 8D 22 14 STA &1422 + 13DA A5 77 LDA &77 + 13DC 38 SEC + 13DD E9 01 SBC #&01 + 13DF 85 7A STA &7A +.dlin45 + 13E1 A9 9F LDA #&9F + 13E3 38 SEC + 13E4 E5 73 SBC &73 + 13E6 A8 TAY + 13E7 A9 FF LDA #&FF + 13E9 38 SEC + 13EA E5 75 SBC &75 + 13EC 85 82 STA &82 + 13EE 18 CLC + 13EF 69 01 ADC #&01 + 13F1 85 83 STA &83 + 13F3 A5 76 LDA &76 + 13F5 29 03 AND #&03 + 13F7 F0 0A BEQ &1403 + 13F9 A5 74 LDA &74 + 13FB C9 02 CMP #&02 + 13FD 90 04 BCC &1403 + 13FF A9 FF LDA #&FF + 1401 85 83 STA &83 +.dlin46 + 1403 A5 72 LDA &72 + 1405 29 03 AND #&03 + 1407 AA TAX +.dlin47 + 1408 A9 08 LDA #&08 + 140A E0 00 CPX #&00 + 140C F0 04 BEQ &1412 +.dlin48 + 140E 4A LSR A + 140F CA DEX + 1410 D0 FC BNE &140E +.dlin49 + 1412 85 79 STA &79 + 1414 18 CLC + 1415 A6 72 LDX &72 +.dlin50 + 1417 A5 79 LDA &79 +.dlin51 + 1419 11 70 ORA (&70),Y + 141B 91 70 STA (&70),Y + 141D A5 83 LDA &83 + 141F 65 74 ADC &74 +.dlin52 + 1421 B0 1D BCS &1440 + 1423 85 83 STA &83 +.dlin53 + 1425 98 TYA +.dlin54 + 1426 88 DEY + 1427 29 07 AND #&07 + 1429 D0 EC BNE &1417 + 142B A5 70 LDA &70 + 142D 18 CLC +.dlin55 + 142E 69 C8 ADC #&C8 + 1430 85 70 STA &70 + 1432 A5 71 LDA &71 +.dlin56 + 1434 69 FE ADC #&FE + 1436 85 71 STA &71 + 1438 C4 7B CPY &7B + 143A 18 CLC + 143B D0 DA BNE &1417 + 143D 4C 82 14 JMP &1482 +.dlin57 + 1440 65 82 ADC &82 + 1442 85 83 STA &83 + 1444 E8 INX + 1445 A5 79 LDA &79 + 1447 4A LSR A +.dlin58 + 1448 C9 00 CMP #&00 + 144A D0 0D BNE &1459 + 144C A5 70 LDA &70 + 144E 18 CLC + 144F 69 08 ADC #&08 + 1451 85 70 STA &70 +.dlin59 + 1453 A9 08 LDA #&08 + 1455 90 02 BCC &1459 + 1457 E6 71 INC &71 +.dlin60 + 1459 85 79 STA &79 + 145B E4 7A CPX &7A + 145D 18 CLC + 145E D0 C5 BNE &1425 + 1460 F0 20 BEQ &1482 +.dlin61 + 1462 65 82 ADC &82 + 1464 85 83 STA &83 + 1466 CA DEX + 1467 A5 79 LDA &79 + 1469 0A ASL A +.dlin62 + 146A C9 10 CMP #&10 + 146C D0 0D BNE &147B + 146E A5 70 LDA &70 + 1470 38 SEC + 1471 E9 08 SBC #&08 + 1473 85 70 STA &70 +.dlin63 + 1475 A9 01 LDA #&01 + 1477 B0 02 BCS &147B + 1479 C6 71 DEC &71 +.dlin64 + 147B 85 79 STA &79 + 147D E4 7A CPX &7A + 147F 18 CLC + 1480 D0 A3 BNE &1425 +.dlin65 + 1482 A5 76 LDA &76 + 1484 4A LSR A + 1485 B0 01 BCS &1488 + 1487 60 RTS +.dlin66 + 1488 0A ASL A + 1489 49 C0 EOR #&C0 + 148B 85 76 STA &76 + 148D AD E0 0C LDA &0CE0 + 1490 85 72 STA &72 + 1492 AD E1 0C LDA &0CE1 + 1495 85 73 STA &73 + 1497 A9 04 LDA #&04 + 1499 24 76 BIT &76 + 149B 30 02 BMI &149F + 149D A9 9B LDA #&9B +.dlin67 + 149F 85 77 STA &77 + 14A1 A9 00 LDA #&00 + 14A3 70 02 BVS &14A7 + 14A5 A9 97 LDA #&97 +.dlin68 + 14A7 85 78 STA &78 + 14A9 4C 14 12 JMP &1214 +.ModifyDrawRoutine + 14AC AD C2 0C LDA &0CC2 + 14AF D0 31 BNE &14E2 + 14B1 A9 31 LDA #&31 + 14B3 8D 26 13 STA &1326 + 14B6 8D 45 13 STA &1345 + 14B9 8D 66 13 STA &1366 + 14BC 8D 19 14 STA &1419 + 14BF AD C3 0C LDA &0CC3 + 14C2 30 04 BMI &14C8 + 14C4 A9 88 LDA #&88 + 14C6 D0 02 BNE &14CA +.modd1 + 14C8 A9 92 LDA #&92 +.modd2 + 14CA 8D 48 12 STA &1248 + 14CD 8D 24 13 STA &1324 + 14D0 8D 5D 12 STA &125D + 14D3 8D 43 13 STA &1343 + 14D6 AD C3 0C LDA &0CC3 + 14D9 8D 18 14 STA &1418 + 14DC A9 A9 LDA #&A9 + 14DE 8D 17 14 STA &1417 + 14E1 60 RTS +.modd3 + 14E2 A9 11 LDA #&11 + 14E4 8D 26 13 STA &1326 + 14E7 8D 45 13 STA &1345 + 14EA 8D 66 13 STA &1366 + 14ED 8D 19 14 STA &1419 + 14F0 AD C2 0C LDA &0CC2 + 14F3 30 2B BMI &1520 + 14F5 A9 74 LDA #&74 + 14F7 8D 48 12 STA &1248 + 14FA 8D 24 13 STA &1324 + 14FD A9 7E LDA #&7E + 14FF 8D 5D 12 STA &125D + 1502 8D 43 13 STA &1343 + 1505 A9 80 LDA #&80 + 1507 8D 09 14 STA &1409 + 150A A9 08 LDA #&08 + 150C 8D 49 14 STA &1449 + 150F A9 80 LDA #&80 + 1511 8D 54 14 STA &1454 + 1514 A9 00 LDA #&00 + 1516 8D 6B 14 STA &146B + 1519 A9 10 LDA #&10 + 151B 8D 76 14 STA &1476 + 151E D0 29 BNE &1549 +.modd4 + 1520 A9 60 LDA #&60 + 1522 8D 48 12 STA &1248 + 1525 8D 24 13 STA &1324 + 1528 A9 6A LDA #&6A + 152A 8D 5D 12 STA &125D + 152D 8D 43 13 STA &1343 + 1530 A9 08 LDA #&08 + 1532 8D 09 14 STA &1409 + 1535 A9 00 LDA #&00 + 1537 8D 49 14 STA &1449 + 153A A9 08 LDA #&08 + 153C 8D 54 14 STA &1454 + 153F A9 10 LDA #&10 + 1541 8D 6B 14 STA &146B + 1544 A9 01 LDA #&01 + 1546 8D 76 14 STA &1476 +.modd5 + 1549 A9 A5 LDA #&A5 + 154B 8D 17 14 STA &1417 + 154E A9 79 LDA #&79 + 1550 8D 18 14 STA &1418 + 1553 60 RTS +.ClipBestEndOfLine + 1554 A5 84 LDA &84 + 1556 25 85 AND &85 + 1558 D0 39 BNE &1593 + 155A A5 83 LDA &83 + 155C 10 02 BPL &1560 + 155E 49 FF EOR #&FF +.clen1 + 1560 8D C1 0C STA &0CC1 + 1563 A5 82 LDA &82 + 1565 10 02 BPL &1569 + 1567 49 FF EOR #&FF +.clen2 + 1569 CD C1 0C CMP &0CC1 + 156C 90 03 BCC &1571 + 156E 8D C1 0C STA &0CC1 +.clen3 + 1571 A5 81 LDA &81 + 1573 10 02 BPL &1577 + 1575 49 FF EOR #&FF +.clen4 + 1577 CD C1 0C CMP &0CC1 + 157A B0 1C BCS &1598 + 157C A5 79 LDA &79 + 157E 10 02 BPL &1582 + 1580 49 FF EOR #&FF +.clen5 + 1582 CD C1 0C CMP &0CC1 + 1585 B0 11 BCS &1598 + 1587 20 78 17 JSR &1778 + 158A A5 76 LDA &76 + 158C 49 C0 EOR #&C0 + 158E 85 76 STA &76 + 1590 4C 98 15 JMP &1598 +.AbortLine + 1593 BA TSX + 1594 E8 INX + 1595 E8 INX + 1596 9A TXS + 1597 60 RTS +.ClipStartOfLine + 1598 A5 73 LDA &73 + 159A 18 CLC + 159B 69 04 ADC #&04 + 159D 85 73 STA &73 + 159F 90 02 BCC &15A3 + 15A1 E6 83 INC &83 +.clip1 + 15A3 A5 84 LDA &84 + 15A5 24 76 BIT &76 + 15A7 10 06 BPL &15AF + 15A9 29 40 AND #&40 + 15AB D0 E6 BNE &1593 + 15AD F0 06 BEQ &15B5 +.clip2 + 15AF 29 80 AND #&80 + 15B1 D0 E0 BNE &1593 + 15B3 F0 00 BEQ &15B5 +.clip3 + 15B5 A5 84 LDA &84 + 15B7 50 06 BVC &15BF + 15B9 29 10 AND #&10 + 15BB D0 D6 BNE &1593 + 15BD F0 04 BEQ &15C3 +.clip4 + 15BF 29 20 AND #&20 + 15C1 D0 D0 BNE &1593 +.clip5 + 15C3 A5 76 LDA &76 + 15C5 0A ASL A + 15C6 45 76 EOR &76 + 15C8 30 21 BMI &15EB + 15CA A9 00 LDA #&00 + 15CC 85 87 STA &87 + 15CE A5 72 LDA &72 + 15D0 18 CLC + 15D1 65 73 ADC &73 + 15D3 85 84 STA &84 + 15D5 A5 82 LDA &82 + 15D7 65 83 ADC &83 + 15D9 85 85 STA &85 + 15DB A5 84 LDA &84 + 15DD 38 SEC + 15DE E9 9F SBC #&9F + 15E0 85 84 STA &84 + 15E2 A5 85 LDA &85 + 15E4 E9 00 SBC #&00 + 15E6 85 85 STA &85 + 15E8 4C FC 15 JMP &15FC +.clip6 + 15EB A9 80 LDA #&80 + 15ED 85 87 STA &87 + 15EF A5 73 LDA &73 + 15F1 38 SEC + 15F2 E5 72 SBC &72 + 15F4 85 84 STA &84 + 15F6 A5 83 LDA &83 + 15F8 E5 82 SBC &82 + 15FA 85 85 STA &85 +.clip7 + 15FC 10 0D BPL &160B + 15FE A9 00 LDA #&00 + 1600 38 SEC + 1601 E5 84 SBC &84 + 1603 85 84 STA &84 + 1605 A9 00 LDA #&00 + 1607 E5 85 SBC &85 + 1609 85 85 STA &85 +.clip8 + 160B A5 74 LDA &74 + 160D 18 CLC + 160E 65 75 ADC &75 + 1610 85 70 STA &70 + 1612 A5 7A LDA &7A + 1614 65 7B ADC &7B + 1616 85 71 STA &71 + 1618 A5 70 LDA &70 + 161A 18 CLC + 161B 69 02 ADC #&02 + 161D 85 70 STA &70 + 161F 90 02 BCC &1623 + 1621 E6 71 INC &71 +.clip9 + 1623 A9 00 LDA #&00 + 1625 85 7C STA &7C + 1627 A5 7A LDA &7A + 1629 C5 7B CMP &7B + 162B 90 1C BCC &1649 + 162D D0 06 BNE &1635 + 162F A5 74 LDA &74 + 1631 C5 75 CMP &75 + 1633 90 14 BCC &1649 +.clip10 + 1635 A5 76 LDA &76 + 1637 85 89 STA &89 + 1639 A5 74 LDA &74 + 163B 18 CLC + 163C 69 01 ADC #&01 + 163E 85 7F STA &7F + 1640 A5 7A LDA &7A + 1642 69 00 ADC #&00 + 1644 85 80 STA &80 + 1646 4C 69 16 JMP &1669 +.clip11 + 1649 A5 76 LDA &76 + 164B 0A ASL A + 164C 85 89 STA &89 + 164E A5 75 LDA &75 + 1650 18 CLC + 1651 69 01 ADC #&01 + 1653 85 7F STA &7F + 1655 A5 7B LDA &7B + 1657 69 00 ADC #&00 + 1659 85 80 STA &80 + 165B A5 87 LDA &87 + 165D 09 40 ORA #&40 + 165F 85 87 STA &87 + 1661 A5 73 LDA &73 + 1663 85 72 STA &72 + 1665 A5 83 LDA &83 + 1667 85 82 STA &82 +.clip12 + 1669 A9 80 LDA #&80 + 166B 85 77 STA &77 + 166D A9 00 LDA #&00 + 166F 85 86 STA &86 + 1671 85 7C STA &7C + 1673 85 79 STA &79 + 1675 85 81 STA &81 + 1677 85 78 STA &78 + 1679 F0 08 BEQ &1683 +.clip13 + 167B 06 70 ASL &70 + 167D 26 71 ROL &71 + 167F 06 7F ASL &7F + 1681 26 80 ROL &80 +.clip14 + 1683 A5 71 LDA &71 + 1685 C5 85 CMP &85 + 1687 90 F2 BCC &167B + 1689 D0 06 BNE &1691 + 168B A5 70 LDA &70 + 168D C5 84 CMP &84 + 168F 90 EA BCC &167B +.clip15 + 1691 46 71 LSR &71 + 1693 66 70 ROR &70 + 1695 66 7C ROR &7C + 1697 46 80 LSR &80 + 1699 66 7F ROR &7F + 169B 66 86 ROR &86 +.clip16 + 169D A5 71 LDA &71 + 169F C5 85 CMP &85 + 16A1 90 1C BCC &16BF + 16A3 D0 EC BNE &1691 + 16A5 A5 70 LDA &70 + 16A7 C5 84 CMP &84 + 16A9 90 14 BCC &16BF + 16AB D0 E4 BNE &1691 + 16AD A5 7C LDA &7C + 16AF C5 79 CMP &79 + 16B1 90 0C BCC &16BF + 16B3 F0 0A BEQ &16BF + 16B5 A5 71 LDA &71 + 16B7 05 70 ORA &70 + 16B9 05 7C ORA &7C + 16BB D0 D4 BNE &1691 + 16BD F0 32 BEQ &16F1 +.clip17 + 16BF A5 77 LDA &77 + 16C1 18 CLC + 16C2 65 86 ADC &86 + 16C4 85 77 STA &77 + 16C6 A5 78 LDA &78 + 16C8 65 7F ADC &7F + 16CA 85 78 STA &78 + 16CC A5 81 LDA &81 + 16CE 65 80 ADC &80 + 16D0 85 81 STA &81 + 16D2 A5 79 LDA &79 + 16D4 38 SEC + 16D5 E5 7C SBC &7C + 16D7 85 79 STA &79 + 16D9 A5 84 LDA &84 + 16DB E5 70 SBC &70 + 16DD 85 84 STA &84 + 16DF A5 85 LDA &85 + 16E1 E5 71 SBC &71 + 16E3 85 85 STA &85 + 16E5 D0 B6 BNE &169D + 16E7 A5 84 LDA &84 + 16E9 D0 B2 BNE &169D + 16EB A5 79 LDA &79 + 16ED C9 02 CMP #&02 + 16EF B0 AC BCS &169D +.clip18 + 16F1 A5 78 LDA &78 + 16F3 26 77 ROL &77 + 16F5 69 00 ADC #&00 + 16F7 85 78 STA &78 + 16F9 90 02 BCC &16FD + 16FB E6 81 INC &81 +.clip19 + 16FD A5 89 LDA &89 + 16FF 30 14 BMI &1715 + 1701 A5 72 LDA &72 + 1703 18 CLC + 1704 65 78 ADC &78 + 1706 85 72 STA &72 + 1708 85 73 STA &73 + 170A A5 82 LDA &82 + 170C 65 81 ADC &81 + 170E 85 82 STA &82 + 1710 85 83 STA &83 + 1712 4C 26 17 JMP &1726 +.clip20 + 1715 A5 72 LDA &72 + 1717 38 SEC + 1718 E5 78 SBC &78 + 171A 85 72 STA &72 + 171C 85 73 STA &73 + 171E A5 82 LDA &82 + 1720 E5 81 SBC &81 + 1722 85 82 STA &82 + 1724 85 83 STA &83 +.clip21 + 1726 24 87 BIT &87 + 1728 30 1F BMI &1749 + 172A 70 10 BVS &173C + 172C A9 9F LDA #&9F + 172E 38 SEC + 172F E5 72 SBC &72 + 1731 85 73 STA &73 + 1733 A9 00 LDA #&00 + 1735 E5 82 SBC &82 + 1737 85 83 STA &83 + 1739 4C 49 17 JMP &1749 +.clip22 + 173C A9 9F LDA #&9F + 173E 38 SEC + 173F E5 73 SBC &73 + 1741 85 72 STA &72 + 1743 A9 00 LDA #&00 + 1745 E5 83 SBC &83 + 1747 85 82 STA &82 +.clip23 + 1749 A5 82 LDA &82 + 174B D0 28 BNE &1775 + 174D A5 72 LDA &72 + 174F C9 9C CMP #&9C + 1751 B0 22 BCS &1775 + 1753 C9 04 CMP #&04 + 1755 90 1E BCC &1775 + 1757 A5 73 LDA &73 + 1759 38 SEC + 175A E9 04 SBC #&04 + 175C 85 73 STA &73 + 175E 90 15 BCC &1775 + 1760 C9 98 CMP #&98 + 1762 B0 11 BCS &1775 + 1764 A9 01 LDA #&01 + 1766 05 76 ORA &76 + 1768 85 76 STA &76 + 176A A5 72 LDA &72 + 176C 8D E0 0C STA &0CE0 + 176F A5 73 LDA &73 + 1771 8D E1 0C STA &0CE1 + 1774 60 RTS +.clip24 + 1775 4C 93 15 JMP &1593 +.SwapLinePoints + 1778 A5 77 LDA &77 + 177A 85 72 STA &72 + 177C A5 81 LDA &81 + 177E 85 82 STA &82 + 1780 A5 78 LDA &78 + 1782 85 73 STA &73 + 1784 A5 79 LDA &79 + 1786 85 83 STA &83 + 1788 A5 85 LDA &85 + 178A 85 84 STA &84 + 178C 60 RTS +.EraseCanopyLines + 178D A9 00 LDA #&00 + 178F 8D C2 0C STA &0CC2 + 1792 20 AC 14 JSR &14AC +.ecal1 + 1795 AD C3 0C LDA &0CC3 + 1798 10 0E BPL &17A8 + 179A AE D1 0C LDX &0CD1 + 179D E0 2F CPX #&2F + 179F D0 01 BNE &17A2 + 17A1 60 RTS +.ecal2 + 17A2 CE D1 0C DEC &0CD1 + 17A5 4C B3 17 JMP &17B3 +.ecal3 + 17A8 AE D0 0C LDX &0CD0 + 17AB E0 FF CPX #&FF + 17AD D0 01 BNE &17B0 + 17AF 60 RTS +.ecal4 + 17B0 CE D0 0C DEC &0CD0 +.ecal5 + 17B3 BD 00 3C LDA &3C00,X + 17B6 85 72 STA &72 + 17B8 8D E0 0C STA &0CE0 + 17BB BD 60 3C LDA &3C60,X + 17BE 85 77 STA &77 + 17C0 BD C0 3C LDA &3CC0,X + 17C3 85 73 STA &73 + 17C5 8D E1 0C STA &0CE1 + 17C8 BD 20 3D LDA &3D20,X + 17CB 85 78 STA &78 + 17CD BD 80 3D LDA &3D80,X + 17D0 85 74 STA &74 + 17D2 BD 00 01 LDA &0100,X + 17D5 85 75 STA &75 + 17D7 BD A0 48 LDA &48A0,X + 17DA 85 76 STA &76 + 17DC 20 14 12 JSR &1214 + 17DF 4C 95 17 JMP &1795 + 17E2 17 +.Multiply16x16Mix + 17E3 A5 7B LDA &7B + 17E5 10 13 BPL &17FA + 17E7 A9 00 LDA #&00 + 17E9 38 SEC + 17EA E5 7A SBC &7A + 17EC 85 7A STA &7A + 17EE A9 00 LDA #&00 + 17F0 E5 7B SBC &7B + 17F2 85 7B STA &7B + 17F4 A5 7C LDA &7C + 17F6 49 80 EOR #&80 + 17F8 85 7C STA &7C +.mmix1 + 17FA A5 72 LDA &72 + 17FC 29 01 AND #&01 + 17FE F0 06 BEQ &1806 + 1800 A5 7C LDA &7C + 1802 49 80 EOR #&80 + 1804 85 7C STA &7C +.mmix2 + 1806 20 3A 1D JSR &1D3A + 1809 85 78 STA &78 + 180B 90 02 BCC &180F + 180D E6 79 INC &79 +.mmix3 + 180F A5 7C LDA &7C + 1811 10 0D BPL &1820 + 1813 38 SEC + 1814 A9 00 LDA #&00 + 1816 E5 78 SBC &78 + 1818 85 78 STA &78 + 181A A9 00 LDA #&00 + 181C E5 79 SBC &79 + 181E 85 79 STA &79 +.mmix4 + 1820 60 RTS +.Multiply8x8 + 1821 BD 00 43 LDA &4300,X + 1824 19 00 45 ORA &4500,Y + 1827 85 74 STA &74 + 1829 29 F0 AND #&F0 + 182B 1D 00 37 ORA &3700,X + 182E 85 75 STA &75 + 1830 29 0F AND #&0F + 1832 19 00 38 ORA &3800,Y + 1835 A8 TAY + 1836 29 F0 AND #&F0 + 1838 1D 00 43 ORA &4300,X + 183B AA TAX + 183C BD 00 3A LDA &3A00,X + 183F 85 76 STA &76 + 1841 A6 74 LDX &74 + 1843 BD 00 3A LDA &3A00,X + 1846 18 CLC + 1847 79 00 3A ADC &3A00,Y + 184A 6A ROR A + 184B 6A ROR A + 184C 6A ROR A + 184D 6A ROR A + 184E 85 74 STA &74 + 1850 6A ROR A + 1851 29 F0 AND #&F0 + 1853 18 CLC + 1854 65 76 ADC &76 + 1856 85 76 STA &76 + 1858 A5 74 LDA &74 + 185A 29 1F AND #&1F + 185C A6 75 LDX &75 + 185E 7D 00 3A ADC &3A00,X + 1861 60 RTS +.ProjectAxisAngle + 1862 B9 FA 0C LDA &0CFA,Y + 1865 85 78 STA &78 + 1867 85 7C STA &7C + 1869 B9 EA 0C LDA &0CEA,Y + 186C 0A ASL A + 186D 26 78 ROL &78 + 186F 0A ASL A + 1870 26 78 ROL &78 + 1872 85 77 STA &77 + 1874 A6 78 LDX &78 + 1876 20 02 19 JSR &1902 + 1879 85 71 STA &71 + 187B 84 70 STY &70 + 187D A5 78 LDA &78 + 187F 49 FF EOR #&FF + 1881 AA TAX + 1882 A5 77 LDA &77 + 1884 49 FF EOR #&FF + 1886 85 77 STA &77 + 1888 20 02 19 JSR &1902 + 188B 85 73 STA &73 + 188D 84 72 STY &72 + 188F AC C4 0C LDY &0CC4 + 1892 24 7C BIT &7C + 1894 70 37 BVS &18CD + 1896 30 1B BMI &18B3 + 1898 A5 71 LDA &71 + 189A 99 73 01 STA &0173,Y + 189D A5 70 LDA &70 + 189F 29 FE AND #&FE + 18A1 99 63 01 STA &0163,Y + 18A4 A5 73 LDA &73 + 18A6 99 70 01 STA &0170,Y + 18A9 A5 72 LDA &72 + 18AB 29 FE AND #&FE + 18AD 99 60 01 STA &0160,Y + 18B0 4C 01 19 JMP &1901 +.axis1 + 18B3 A5 71 LDA &71 + 18B5 99 73 01 STA &0173,Y + 18B8 A5 70 LDA &70 + 18BA 09 01 ORA #&01 + 18BC 99 63 01 STA &0163,Y + 18BF A5 73 LDA &73 + 18C1 99 70 01 STA &0170,Y + 18C4 A5 72 LDA &72 + 18C6 09 01 ORA #&01 + 18C8 99 60 01 STA &0160,Y + 18CB D0 34 BNE &1901 +.axis2 + 18CD 30 1A BMI &18E9 + 18CF A5 73 LDA &73 + 18D1 99 73 01 STA &0173,Y + 18D4 A5 72 LDA &72 + 18D6 29 FE AND #&FE + 18D8 99 63 01 STA &0163,Y + 18DB A5 71 LDA &71 + 18DD 99 70 01 STA &0170,Y + 18E0 A5 70 LDA &70 + 18E2 09 01 ORA #&01 + 18E4 99 60 01 STA &0160,Y + 18E7 D0 18 BNE &1901 +.axis3 + 18E9 A5 73 LDA &73 + 18EB 99 73 01 STA &0173,Y + 18EE A5 72 LDA &72 + 18F0 09 01 ORA #&01 + 18F2 99 63 01 STA &0163,Y + 18F5 A5 71 LDA &71 + 18F7 99 70 01 STA &0170,Y + 18FA A5 70 LDA &70 + 18FC 29 FE AND #&FE + 18FE 99 60 01 STA &0160,Y +.axis4 + 1901 60 RTS +.Sine16Bit + 1902 86 79 STX &79 + 1904 38 SEC + 1905 BD 01 40 LDA &4001,X + 1908 FD 00 40 SBC &4000,X + 190B 85 7A STA &7A + 190D BD 02 41 LDA &4102,X + 1910 FD 01 41 SBC &4101,X + 1913 4A LSR A + 1914 66 7A ROR &7A + 1916 A6 7A LDX &7A + 1918 A4 77 LDY &77 + 191A 20 21 18 JSR &1821 + 191D A6 79 LDX &79 + 191F 06 76 ASL &76 + 1921 2A ROL A + 1922 08 PHP + 1923 18 CLC + 1924 7D 00 40 ADC &4000,X + 1927 A8 TAY + 1928 A9 00 LDA #&00 + 192A 7D 01 41 ADC &4101,X + 192D 28 PLP + 192E 69 00 ADC #&00 + 1930 60 RTS +.Multiply4x16 + 1931 A6 73 LDX &73 + 1933 A4 76 LDY &76 + 1935 B9 00 38 LDA &3800,Y + 1938 1D 00 37 ORA &3700,X + 193B A8 TAY + 193C 29 F0 AND #&F0 + 193E 1D 00 43 ORA &4300,X + 1941 85 75 STA &75 + 1943 A6 72 LDX &72 + 1945 29 F0 AND #&F0 + 1947 1D 00 37 ORA &3700,X + 194A AA TAX + 194B BD 00 3A LDA &3A00,X + 194E AA TAX + 194F 86 74 STX &74 + 1951 B9 00 3A LDA &3A00,Y + 1954 A8 TAY + 1955 BD 00 37 LDA &3700,X + 1958 19 00 38 ORA &3800,Y + 195B 18 CLC + 195C A6 75 LDX &75 + 195E 7D 00 3A ADC &3A00,X + 1961 85 77 STA &77 + 1963 B9 00 37 LDA &3700,Y + 1966 69 00 ADC #&00 + 1968 85 78 STA &78 + 196A 24 7C BIT &7C + 196C 10 20 BPL &198E + 196E A6 72 LDX &72 + 1970 A5 76 LDA &76 + 1972 29 0F AND #&0F + 1974 1D 00 38 ORA &3800,X + 1977 A8 TAY + 1978 A6 74 LDX &74 + 197A BD 00 38 LDA &3800,X + 197D 18 CLC + 197E 79 00 3A ADC &3A00,Y + 1981 90 06 BCC &1989 + 1983 E6 77 INC &77 + 1985 D0 02 BNE &1989 + 1987 E6 78 INC &78 +.mulp1 + 1989 0A ASL A + 198A 26 77 ROL &77 + 198C 26 78 ROL &78 +.mulp2 + 198E A5 76 LDA &76 + 1990 10 0D BPL &199F + 1992 A9 00 LDA #&00 + 1994 38 SEC + 1995 E5 77 SBC &77 + 1997 85 77 STA &77 + 1999 A9 00 LDA #&00 + 199B E5 78 SBC &78 + 199D 85 78 STA &78 +.mulp3 + 199F 60 RTS +.SetObjPointCoords + 19A0 A6 88 LDX &88 + 19A2 BC 00 34 LDY &3400,X + 19A5 84 80 STY &80 + 19A7 BC D8 34 LDY &34D8,X + 19AA 84 81 STY &81 + 19AC BC B0 35 LDY &35B0,X + 19AF 84 82 STY &82 + 19B1 B9 00 37 LDA &3700,Y + 19B4 85 85 STA &85 + 19B6 C9 09 CMP #&09 + 19B8 66 7C ROR &7C + 19BA A2 05 LDX #&05 + 19BC A9 00 LDA #&00 +.objp1 + 19BE 9D E0 0C STA &0CE0,X + 19C1 CA DEX + 19C2 10 FA BPL &19BE + 19C4 AD CB 0C LDA &0CCB + 19C7 18 CLC + 19C8 69 08 ADC #&08 + 19CA 85 70 STA &70 + 19CC A9 02 LDA #&02 + 19CE 85 86 STA &86 +.objp2 + 19D0 A2 02 LDX #&02 +.objp3 + 19D2 A4 70 LDY &70 + 19D4 B5 80 LDA &80,X + 19D6 85 7A STA &7A + 19D8 29 0F AND #&0F + 19DA 85 76 STA &76 + 19DC F0 2E BEQ &1A0C + 19DE B9 60 42 LDA &4260,Y + 19E1 85 73 STA &73 + 19E3 B9 20 42 LDA &4220,Y + 19E6 85 72 STA &72 + 19E8 29 01 AND #&01 + 19EA F0 06 BEQ &19F2 + 19EC A5 76 LDA &76 + 19EE 49 80 EOR #&80 + 19F0 85 76 STA &76 +.objp4 + 19F2 86 71 STX &71 + 19F4 20 31 19 JSR &1931 + 19F7 A6 71 LDX &71 + 19F9 A4 86 LDY &86 + 19FB A5 77 LDA &77 + 19FD 18 CLC + 19FE 79 E0 0C ADC &0CE0,Y + 1A01 99 E0 0C STA &0CE0,Y + 1A04 A5 78 LDA &78 + 1A06 79 E3 0C ADC &0CE3,Y + 1A09 99 E3 0C STA &0CE3,Y +.objp5 + 1A0C A5 70 LDA &70 + 1A0E CD CB 0C CMP &0CCB + 1A11 F0 0A BEQ &1A1D + 1A13 C6 70 DEC &70 + 1A15 CA DEX + 1A16 10 BA BPL &19D2 + 1A18 C6 86 DEC &86 + 1A1A 4C D0 19 JMP &19D0 +.objp6 + 1A1D A2 02 LDX #&02 +.objp7 + 1A1F A4 85 LDY &85 + 1A21 F0 29 BEQ &1A4C + 1A23 C0 08 CPY #&08 + 1A25 B0 20 BCS &1A47 + 1A27 BD E0 0C LDA &0CE0,X + 1A2A 85 70 STA &70 + 1A2C A9 00 LDA #&00 + 1A2E 85 72 STA &72 + 1A30 BD E3 0C LDA &0CE3,X + 1A33 10 02 BPL &1A37 + 1A35 C6 72 DEC &72 +.objp8 + 1A37 06 70 ASL &70 + 1A39 2A ROL A + 1A3A 26 72 ROL &72 + 1A3C 88 DEY + 1A3D D0 F8 BNE &1A37 + 1A3F 9D E0 0C STA &0CE0,X + 1A42 A5 72 LDA &72 + 1A44 9D E3 0C STA &0CE3,X +.objp9 + 1A47 CA DEX + 1A48 10 D5 BPL &1A1F + 1A4A 30 16 BMI &1A62 +.objp10 + 1A4C A9 00 LDA #&00 + 1A4E 85 72 STA &72 + 1A50 BD E3 0C LDA &0CE3,X + 1A53 10 02 BPL &1A57 + 1A55 C6 72 DEC &72 +.objp11 + 1A57 9D E0 0C STA &0CE0,X + 1A5A A5 72 LDA &72 + 1A5C 9D E3 0C STA &0CE3,X + 1A5F 4C 47 1A JMP &1A47 +.objp12 + 1A62 A6 88 LDX &88 + 1A64 AC CF 0C LDY &0CCF +.AddTempToPoint + 1A67 AD E0 0C LDA &0CE0 + 1A6A 18 CLC + 1A6B 79 00 09 ADC &0900,Y + 1A6E 9D 00 09 STA &0900,X + 1A71 AD E3 0C LDA &0CE3 + 1A74 79 00 4A ADC &4A00,Y + 1A77 9D 00 4A STA &4A00,X + 1A7A 08 PHP + 1A7B 18 CLC + 1A7C AD E1 0C LDA &0CE1 + 1A7F 79 00 0A ADC &0A00,Y + 1A82 9D 00 0A STA &0A00,X + 1A85 AD E4 0C LDA &0CE4 + 1A88 79 00 0B ADC &0B00,Y + 1A8B 9D 00 0B STA &0B00,X + 1A8E 08 PHP + 1A8F 18 CLC + 1A90 AD E2 0C LDA &0CE2 + 1A93 79 00 07 ADC &0700,Y + 1A96 9D 00 07 STA &0700,X + 1A99 AD E5 0C LDA &0CE5 + 1A9C 79 00 49 ADC &4900,Y + 1A9F 9D 00 49 STA &4900,X + 1AA2 4C 8C 4B JMP &4B8C + 1AA5 EA NOP +.Add16x16Bit0 + 1AA6 A5 78 LDA &78 + 1AA8 29 01 AND #&01 + 1AAA 85 7C STA &7C + 1AAC 45 7A EOR &7A + 1AAE 29 01 AND #&01 + 1AB0 D0 1E BNE &1AD0 + 1AB2 A5 78 LDA &78 + 1AB4 18 CLC + 1AB5 65 7A ADC &7A + 1AB7 29 FE AND #&FE + 1AB9 05 7C ORA &7C + 1ABB 85 72 STA &72 + 1ABD A5 79 LDA &79 + 1ABF 65 7B ADC &7B + 1AC1 85 73 STA &73 + 1AC3 90 0A BCC &1ACF + 1AC5 A9 FF LDA #&FF + 1AC7 85 73 STA &73 + 1AC9 A9 FE LDA #&FE + 1ACB 05 7C ORA &7C + 1ACD 85 72 STA &72 +.abit1 + 1ACF 60 RTS +.abit2 + 1AD0 A5 78 LDA &78 + 1AD2 38 SEC + 1AD3 E5 7A SBC &7A + 1AD5 85 72 STA &72 + 1AD7 A5 79 LDA &79 + 1AD9 E5 7B SBC &7B + 1ADB 85 73 STA &73 + 1ADD 90 09 BCC &1AE8 + 1ADF A5 72 LDA &72 + 1AE1 29 FE AND #&FE + 1AE3 05 7C ORA &7C + 1AE5 85 72 STA &72 + 1AE7 60 RTS +.abit3 + 1AE8 A9 00 LDA #&00 + 1AEA 38 SEC + 1AEB E5 72 SBC &72 + 1AED 29 FE AND #&FE + 1AEF 05 7C ORA &7C + 1AF1 49 01 EOR #&01 + 1AF3 85 72 STA &72 + 1AF5 A9 00 LDA #&00 + 1AF7 E5 73 SBC &73 + 1AF9 85 73 STA &73 + 1AFB 60 RTS +.SetMatrices + 1AFC AE C4 0C LDX &0CC4 + 1AFF BD 60 01 LDA &0160,X + 1B02 49 01 EOR #&01 + 1B04 85 7A STA &7A + 1B06 BD 70 01 LDA &0170,X + 1B09 85 7B STA &7B + 1B0B A2 05 LDX #&05 + 1B0D A0 01 LDY #&01 + 1B0F 20 F0 1C JSR &1CF0 + 1B12 A2 01 LDX #&01 + 1B14 A0 03 LDY #&03 + 1B16 20 13 1D JSR &1D13 + 1B19 A2 03 LDX #&03 + 1B1B A0 02 LDY #&02 + 1B1D 20 13 1D JSR &1D13 + 1B20 A2 04 LDX #&04 + 1B22 A0 00 LDY #&00 + 1B24 20 13 1D JSR &1D13 + 1B27 A2 00 LDX #&00 + 1B29 A0 06 LDY #&06 + 1B2B 20 F0 1C JSR &1CF0 + 1B2E A2 01 LDX #&01 + 1B30 A0 08 LDY #&08 + 1B32 20 13 1D JSR &1D13 + 1B35 A2 02 LDX #&02 + 1B37 A0 04 LDY #&04 + 1B39 20 13 1D JSR &1D13 + 1B3C A2 03 LDX #&03 + 1B3E A0 05 LDY #&05 + 1B40 20 03 1D JSR &1D03 + 1B43 AE C4 0C LDX &0CC4 + 1B46 AC CB 0C LDY &0CCB + 1B49 BD 62 01 LDA &0162,X + 1B4C 99 32 42 STA &4232,Y + 1B4F 99 36 42 STA &4236,Y + 1B52 99 3B 42 STA &423B,Y + 1B55 BD 72 01 LDA &0172,X + 1B58 99 72 42 STA &4272,Y + 1B5B 99 76 42 STA &4276,Y + 1B5E 99 7B 42 STA &427B,Y + 1B61 BD 65 01 LDA &0165,X + 1B64 99 35 42 STA &4235,Y + 1B67 99 3E 42 STA &423E,Y + 1B6A 49 01 EOR #&01 + 1B6C 99 33 42 STA &4233,Y + 1B6F BD 75 01 LDA &0175,X + 1B72 99 73 42 STA &4273,Y + 1B75 99 75 42 STA &4275,Y + 1B78 99 7E 42 STA &427E,Y + 1B7B BD 60 01 LDA &0160,X + 1B7E 99 43 42 STA &4243,Y + 1B81 BD 70 01 LDA &0170,X + 1B84 99 83 42 STA &4283,Y + 1B87 BD 63 01 LDA &0163,X + 1B8A 99 42 42 STA &4242,Y + 1B8D BD 73 01 LDA &0173,X + 1B90 99 82 42 STA &4282,Y + 1B93 A0 05 LDY #&05 +.smat1 + 1B95 C0 03 CPY #&03 + 1B97 F0 0C BEQ &1BA5 + 1B99 B9 20 42 LDA &4220,Y + 1B9C 99 3B 42 STA &423B,Y + 1B9F B9 60 42 LDA &4260,Y + 1BA2 99 7B 42 STA &427B,Y +.smat2 + 1BA5 88 DEY + 1BA6 D0 ED BNE &1B95 + 1BA8 A5 78 LDA &78 + 1BAA 85 7A STA &7A + 1BAC A5 79 LDA &79 + 1BAE 85 7B STA &7B + 1BB0 AE C4 0C LDX &0CC4 + 1BB3 BD 64 01 LDA &0164,X + 1BB6 85 72 STA &72 + 1BB8 BD 74 01 LDA &0174,X + 1BBB 85 73 STA &73 + 1BBD 20 77 1D JSR &1D77 + 1BC0 AC CB 0C LDY &0CCB + 1BC3 B9 23 42 LDA &4223,Y + 1BC6 85 7A STA &7A + 1BC8 B9 63 42 LDA &4263,Y + 1BCB 85 7B STA &7B + 1BCD 20 A6 1A JSR &1AA6 + 1BD0 A5 72 LDA &72 + 1BD2 99 23 42 STA &4223,Y + 1BD5 A5 73 LDA &73 + 1BD7 99 63 42 STA &4263,Y + 1BDA B9 25 42 LDA &4225,Y + 1BDD 85 7A STA &7A + 1BDF B9 65 42 LDA &4265,Y + 1BE2 85 7B STA &7B + 1BE4 AE C4 0C LDX &0CC4 + 1BE7 BD 61 01 LDA &0161,X + 1BEA 85 72 STA &72 + 1BEC BD 71 01 LDA &0171,X + 1BEF 85 73 STA &73 + 1BF1 20 77 1D JSR &1D77 + 1BF4 AC CB 0C LDY &0CCB + 1BF7 B9 20 42 LDA &4220,Y + 1BFA 49 01 EOR #&01 + 1BFC 85 7A STA &7A + 1BFE B9 60 42 LDA &4260,Y + 1C01 85 7B STA &7B + 1C03 20 A6 1A JSR &1AA6 + 1C06 A5 72 LDA &72 + 1C08 99 25 42 STA &4225,Y + 1C0B A5 73 LDA &73 + 1C0D 99 65 42 STA &4265,Y + 1C10 AE C4 0C LDX &0CC4 + 1C13 BD 61 01 LDA &0161,X + 1C16 85 72 STA &72 + 1C18 BD 71 01 LDA &0171,X + 1C1B 85 73 STA &73 + 1C1D A2 02 LDX #&02 + 1C1F A0 00 LDY #&00 + 1C21 20 13 1D JSR &1D13 + 1C24 AE C4 0C LDX &0CC4 + 1C27 BD 64 01 LDA &0164,X + 1C2A 49 01 EOR #&01 + 1C2C 85 72 STA &72 + 1C2E BD 74 01 LDA &0174,X + 1C31 85 73 STA &73 + 1C33 20 77 1D JSR &1D77 + 1C36 AC CB 0C LDY &0CCB + 1C39 B9 22 42 LDA &4222,Y + 1C3C 85 7A STA &7A + 1C3E 8D E0 0C STA &0CE0 + 1C41 B9 62 42 LDA &4262,Y + 1C44 85 7B STA &7B + 1C46 8D E3 0C STA &0CE3 + 1C49 A5 78 LDA &78 + 1C4B 99 22 42 STA &4222,Y + 1C4E A5 79 LDA &79 + 1C50 99 62 42 STA &4262,Y + 1C53 A5 72 LDA &72 + 1C55 49 01 EOR #&01 + 1C57 85 72 STA &72 + 1C59 20 77 1D JSR &1D77 + 1C5C AC CB 0C LDY &0CCB + 1C5F B9 20 42 LDA &4220,Y + 1C62 85 7A STA &7A + 1C64 B9 60 42 LDA &4260,Y + 1C67 85 7B STA &7B + 1C69 20 A6 1A JSR &1AA6 + 1C6C A5 72 LDA &72 + 1C6E 99 20 42 STA &4220,Y + 1C71 A5 73 LDA &73 + 1C73 99 60 42 STA &4260,Y + 1C76 AD E0 0C LDA &0CE0 + 1C79 85 72 STA &72 + 1C7B AD E3 0C LDA &0CE3 + 1C7E 85 73 STA &73 + 1C80 AE C4 0C LDX &0CC4 + 1C83 BD 61 01 LDA &0161,X + 1C86 85 7A STA &7A + 1C88 BD 71 01 LDA &0171,X + 1C8B 85 7B STA &7B + 1C8D 20 77 1D JSR &1D77 + 1C90 AC CB 0C LDY &0CCB + 1C93 B9 22 42 LDA &4222,Y + 1C96 85 7A STA &7A + 1C98 B9 62 42 LDA &4262,Y + 1C9B 85 7B STA &7B + 1C9D 20 A6 1A JSR &1AA6 + 1CA0 A5 72 LDA &72 + 1CA2 99 22 42 STA &4222,Y + 1CA5 A5 73 LDA &73 + 1CA7 99 62 42 STA &4262,Y + 1CAA AE C4 0C LDX &0CC4 + 1CAD BD 63 01 LDA &0163,X + 1CB0 99 27 42 STA &4227,Y + 1CB3 BD 73 01 LDA &0173,X + 1CB6 9D 67 42 STA &4267,X + 1CB9 A9 02 LDA #&02 + 1CBB 85 74 STA &74 + 1CBD AC CB 0C LDY &0CCB + 1CC0 AE CB 0C LDX &0CCB +.smat3 + 1CC3 B9 20 42 LDA &4220,Y + 1CC6 9D 29 42 STA &4229,X + 1CC9 B9 60 42 LDA &4260,Y + 1CCC 9D 69 42 STA &4269,X + 1CCF B9 21 42 LDA &4221,Y + 1CD2 9D 2C 42 STA &422C,X + 1CD5 B9 61 42 LDA &4261,Y + 1CD8 9D 6C 42 STA &426C,X + 1CDB B9 22 42 LDA &4222,Y + 1CDE 9D 2F 42 STA &422F,X + 1CE1 B9 62 42 LDA &4262,Y + 1CE4 9D 6F 42 STA &426F,X + 1CE7 C8 INY + 1CE8 C8 INY + 1CE9 C8 INY + 1CEA E8 INX + 1CEB C6 74 DEC &74 + 1CED 10 D4 BPL &1CC3 + 1CEF 60 RTS +.SetMatrixEntry + 1CF0 8A TXA + 1CF1 18 CLC + 1CF2 6D C4 0C ADC &0CC4 + 1CF5 AA TAX + 1CF6 BD 60 01 LDA &0160,X + 1CF9 85 72 STA &72 +.smen1 + 1CFB BD 70 01 LDA &0170,X + 1CFE 85 73 STA &73 + 1D00 4C 23 1D JMP &1D23 +.SetMatrixEntry3 + 1D03 8A TXA + 1D04 18 CLC + 1D05 6D C4 0C ADC &0CC4 + 1D08 AA TAX + 1D09 BD 60 01 LDA &0160,X + 1D0C 49 01 EOR #&01 + 1D0E 85 72 STA &72 + 1D10 4C FB 1C JMP &1CFB +.SetMatrixEntry2 + 1D13 8A TXA + 1D14 18 CLC + 1D15 6D C4 0C ADC &0CC4 + 1D18 AA TAX + 1D19 BD 60 01 LDA &0160,X + 1D1C 85 7A STA &7A + 1D1E BD 70 01 LDA &0170,X + 1D21 85 7B STA &7B +.smen2 + 1D23 98 TYA + 1D24 18 CLC + 1D25 6D CB 0C ADC &0CCB + 1D28 85 7F STA &7F + 1D2A 20 77 1D JSR &1D77 + 1D2D A4 7F LDY &7F + 1D2F A5 78 LDA &78 + 1D31 99 20 42 STA &4220,Y + 1D34 A5 79 LDA &79 + 1D36 99 60 42 STA &4260,Y + 1D39 60 RTS +.Multiply16x16 + 1D3A A6 7B LDX &7B + 1D3C A4 72 LDY &72 + 1D3E 20 21 18 JSR &1821 + 1D41 85 78 STA &78 + 1D43 A5 76 LDA &76 + 1D45 18 CLC +.mult1 + 1D46 69 80 ADC #&80 + 1D48 85 77 STA &77 + 1D4A 90 02 BCC &1D4E + 1D4C E6 78 INC &78 +.mult2 + 1D4E A6 73 LDX &73 + 1D50 A4 7B LDY &7B + 1D52 20 21 18 JSR &1821 + 1D55 85 79 STA &79 + 1D57 A5 76 LDA &76 + 1D59 18 CLC + 1D5A 65 78 ADC &78 + 1D5C 85 78 STA &78 + 1D5E 90 02 BCC &1D62 + 1D60 E6 79 INC &79 +.mult3 + 1D62 A6 73 LDX &73 + 1D64 A4 7A LDY &7A + 1D66 20 21 18 JSR &1821 + 1D69 85 74 STA &74 + 1D6B A5 76 LDA &76 + 1D6D 18 CLC + 1D6E 65 77 ADC &77 + 1D70 85 77 STA &77 + 1D72 A5 74 LDA &74 + 1D74 65 78 ADC &78 + 1D76 60 RTS +.Multiply16x16Bit0 + 1D77 A5 72 LDA &72 + 1D79 45 7A EOR &7A + 1D7B 29 01 AND #&01 + 1D7D 85 7C STA &7C + 1D7F 20 3A 1D JSR &1D3A + 1D82 29 FE AND #&FE + 1D84 05 7C ORA &7C + 1D86 85 78 STA &78 + 1D88 90 02 BCC &1D8C + 1D8A E6 79 INC &79 +.mbit1 + 1D8C 60 RTS +.SetPointCoords + 1D8D A6 88 LDX &88 + 1D8F BD 00 09 LDA &0900,X + 1D92 85 80 STA &80 + 1D94 BD 00 4A LDA &4A00,X + 1D97 85 83 STA &83 + 1D99 BD 00 0A LDA &0A00,X + 1D9C 85 81 STA &81 + 1D9E BD 00 0B LDA &0B00,X + 1DA1 85 84 STA &84 + 1DA3 BD 00 07 LDA &0700,X + 1DA6 85 82 STA &82 + 1DA8 BD 00 49 LDA &4900,X + 1DAB 85 85 STA &85 + 1DAD A2 05 LDX #&05 + 1DAF A9 00 LDA #&00 +.pcrd1 + 1DB1 9D E0 0C STA &0CE0,X + 1DB4 CA DEX + 1DB5 10 FA BPL &1DB1 + 1DB7 AD CB 0C LDA &0CCB + 1DBA 18 CLC + 1DBB 69 08 ADC #&08 + 1DBD 85 70 STA &70 + 1DBF A9 02 LDA #&02 + 1DC1 85 86 STA &86 +.pcrd2 + 1DC3 A2 02 LDX #&02 +.pcrd3 + 1DC5 A4 70 LDY &70 + 1DC7 B9 60 42 LDA &4260,Y + 1DCA 85 73 STA &73 + 1DCC D0 07 BNE &1DD5 + 1DCE B9 20 42 LDA &4220,Y + 1DD1 C9 05 CMP #&05 + 1DD3 90 32 BCC &1E07 +.pcrd4 + 1DD5 B9 20 42 LDA &4220,Y + 1DD8 85 72 STA &72 + 1DDA B5 80 LDA &80,X + 1DDC 85 7A STA &7A + 1DDE B5 83 LDA &83,X + 1DE0 85 7B STA &7B + 1DE2 A9 00 LDA #&00 + 1DE4 85 7C STA &7C + 1DE6 86 71 STX &71 + 1DE8 20 E3 17 JSR &17E3 + 1DEB A6 71 LDX &71 + 1DED A4 86 LDY &86 + 1DEF A5 78 LDA &78 + 1DF1 18 CLC + 1DF2 79 E0 0C ADC &0CE0,Y + 1DF5 99 E0 0C STA &0CE0,Y + 1DF8 A5 79 LDA &79 + 1DFA 79 E3 0C ADC &0CE3,Y + 1DFD 99 E3 0C STA &0CE3,Y + 1E00 50 05 BVC &1E07 + 1E02 A9 40 LDA #&40 + 1E04 8D CE 0C STA &0CCE +.pcrd5 + 1E07 A4 70 LDY &70 + 1E09 CC CB 0C CPY &0CCB + 1E0C F0 0A BEQ &1E18 + 1E0E C6 70 DEC &70 + 1E10 CA DEX + 1E11 10 B2 BPL &1DC5 + 1E13 C6 86 DEC &86 + 1E15 4C C3 1D JMP &1DC3 +.pcrd6 + 1E18 A6 88 LDX &88 +.CopyTempToPoint + 1E1A AD E0 0C LDA &0CE0 + 1E1D 9D 00 09 STA &0900,X + 1E20 AD E3 0C LDA &0CE3 + 1E23 9D 00 4A STA &4A00,X + 1E26 AD E1 0C LDA &0CE1 + 1E29 9D 00 0A STA &0A00,X + 1E2C AD E4 0C LDA &0CE4 + 1E2F 9D 00 0B STA &0B00,X + 1E32 AD E2 0C LDA &0CE2 + 1E35 9D 00 07 STA &0700,X + 1E38 AD E5 0C LDA &0CE5 + 1E3B 9D 00 49 STA &4900,X + 1E3E 60 RTS + 1E3F 00 + 1E40 49 + 1E41 60 +.UpdateIndicator + 1E42 86 87 STX &87 + 1E44 E0 00 CPX #&00 + 1E46 F0 09 BEQ &1E51 + 1E48 E0 02 CPX #&02 + 1E4A 90 1A BCC &1E66 + 1E4C F0 2D BEQ &1E7B + 1E4E 4C E5 1E JMP &1EE5 +.uind1 + 1E51 AD FB 0C LDA &0CFB + 1E54 85 74 STA &74 + 1E56 4A LSR A + 1E57 4A LSR A + 1E58 18 CLC + 1E59 65 74 ADC &74 + 1E5B 6A ROR A + 1E5C 4A LSR A + 1E5D 4A LSR A + 1E5E 18 CLC + 1E5F 65 74 ADC &74 + 1E61 6A ROR A + 1E62 4A LSR A + 1E63 4C 9D 20 JMP &209D +.uind2 + 1E66 AD 15 0C LDA &0C15 + 1E69 10 05 BPL &1E70 + 1E6B A9 00 LDA #&00 + 1E6D 4C 9D 20 JMP &209D +.uind3 + 1E70 AD 05 0C LDA &0C05 + 1E73 0A ASL A + 1E74 AD 15 0C LDA &0C15 + 1E77 2A ROL A + 1E78 4C 9D 20 JMP &209D +.uind4 + 1E7B AD EE 0C LDA &0CEE + 1E7E 85 72 STA &72 + 1E80 AD FE 0C LDA &0CFE + 1E83 4A LSR A + 1E84 66 72 ROR &72 + 1E86 4A LSR A + 1E87 66 72 ROR &72 + 1E89 85 73 STA &73 + 1E8B A9 00 LDA #&00 + 1E8D 85 74 STA &74 + 1E8F A5 72 LDA &72 + 1E91 4A LSR A + 1E92 4A LSR A + 1E93 18 CLC + 1E94 65 72 ADC &72 + 1E96 6A ROR A + 1E97 4A LSR A + 1E98 18 CLC + 1E99 65 72 ADC &72 + 1E9B 6A ROR A + 1E9C 18 CLC + 1E9D 65 72 ADC &72 + 1E9F 6A ROR A + 1EA0 4A LSR A + 1EA1 8D FF 4F STA &4FFF + 1EA4 A5 73 LDA &73 + 1EA6 4A LSR A + 1EA7 66 74 ROR &74 + 1EA9 4A LSR A + 1EAA 66 74 ROR &74 + 1EAC 18 CLC + 1EAD 65 73 ADC &73 + 1EAF 6A ROR A + 1EB0 66 74 ROR &74 + 1EB2 4A LSR A + 1EB3 66 74 ROR &74 + 1EB5 18 CLC + 1EB6 65 73 ADC &73 + 1EB8 6A ROR A + 1EB9 66 74 ROR &74 + 1EBB 18 CLC + 1EBC 65 73 ADC &73 + 1EBE 6A ROR A + 1EBF 66 74 ROR &74 + 1EC1 4A LSR A + 1EC2 66 74 ROR &74 + 1EC4 85 75 STA &75 + 1EC6 A5 74 LDA &74 + 1EC8 18 CLC + 1EC9 6D FF 4F ADC &4FFF + 1ECC 90 02 BCC &1ED0 + 1ECE E6 75 INC &75 +.uind5 + 1ED0 46 75 LSR &75 + 1ED2 6A ROR A + 1ED3 46 75 LSR &75 + 1ED5 6A ROR A + 1ED6 46 75 LSR &75 + 1ED8 6A ROR A + 1ED9 46 75 LSR &75 + 1EDB 6A ROR A + 1EDC 4C 9D 20 JMP &209D +.uind6 + 1EDF AD FF 4F LDA &4FFF + 1EE2 4C 9D 20 JMP &209D +.uind7 + 1EE5 E0 04 CPX #&04 + 1EE7 90 F6 BCC &1EDF + 1EE9 F0 03 BEQ &1EEE + 1EEB 4C 39 1F JMP &1F39 +.uind8 + 1EEE AD 8A 0C LDA &0C8A + 1EF1 85 74 STA &74 + 1EF3 AD 9A 0C LDA &0C9A + 1EF6 10 0C BPL &1F04 + 1EF8 A9 00 LDA #&00 + 1EFA 38 SEC + 1EFB E5 74 SBC &74 + 1EFD 85 74 STA &74 + 1EFF A9 00 LDA #&00 + 1F01 ED 9A 0C SBC &0C9A +.uind9 + 1F04 4A LSR A + 1F05 66 74 ROR &74 + 1F07 4A LSR A + 1F08 66 74 ROR &74 + 1F0A 4A LSR A + 1F0B 66 74 ROR &74 + 1F0D C9 00 CMP #&00 + 1F0F F0 04 BEQ &1F15 + 1F11 A9 FF LDA #&FF + 1F13 85 74 STA &74 +.uind10 + 1F15 A5 74 LDA &74 + 1F17 4A LSR A + 1F18 18 CLC + 1F19 65 74 ADC &74 + 1F1B 6A ROR A + 1F1C 4A LSR A + 1F1D 4A LSR A + 1F1E 4A LSR A + 1F1F 18 CLC + 1F20 65 74 ADC &74 + 1F22 6A ROR A + 1F23 4A LSR A + 1F24 C9 28 CMP #&28 + 1F26 90 02 BCC &1F2A + 1F28 A9 28 LDA #&28 +.uind11 + 1F2A 2C 9A 0C BIT &0C9A + 1F2D 10 07 BPL &1F36 + 1F2F 85 74 STA &74 + 1F31 A9 00 LDA #&00 + 1F33 38 SEC + 1F34 E5 74 SBC &74 +.uind12 + 1F36 4C 9D 20 JMP &209D +.uind13 + 1F39 E0 06 CPX #&06 + 1F3B 90 05 BCC &1F42 + 1F3D F0 41 BEQ &1F80 + 1F3F 4C E4 1F JMP &1FE4 +.uind14 + 1F42 AD 01 0C LDA &0C01 + 1F45 85 74 STA &74 + 1F47 AD 11 0C LDA &0C11 + 1F4A 10 0C BPL &1F58 + 1F4C A9 00 LDA #&00 + 1F4E 38 SEC + 1F4F E5 74 SBC &74 + 1F51 85 74 STA &74 + 1F53 A9 00 LDA #&00 + 1F55 ED 11 0C SBC &0C11 +.uind15 + 1F58 D0 06 BNE &1F60 + 1F5A A5 74 LDA &74 + 1F5C C9 8C CMP #&8C + 1F5E 90 04 BCC &1F64 +.uind16 + 1F60 A9 8C LDA #&8C + 1F62 85 74 STA &74 +.uind17 + 1F64 4A LSR A + 1F65 18 CLC + 1F66 65 74 ADC &74 + 1F68 6A ROR A + 1F69 4A LSR A + 1F6A 4A LSR A + 1F6B 18 CLC + 1F6C 65 74 ADC &74 + 1F6E 6A ROR A + 1F6F 4A LSR A + 1F70 4A LSR A + 1F71 2C 11 0C BIT &0C11 + 1F74 30 07 BMI &1F7D + 1F76 85 74 STA &74 + 1F78 A9 00 LDA #&00 + 1F7A 38 SEC + 1F7B E5 74 SBC &74 +.uind18 + 1F7D 4C 9D 20 JMP &209D +.uind19 + 1F80 AD 9C 0C LDA &0C9C + 1F83 4C 9D 20 JMP &209D +.uind20 + 1F86 A0 00 LDY #&00 + 1F88 84 7C STY &7C + 1F8A 84 72 STY &72 + 1F8C 20 7A 22 JSR &227A + 1F8F 18 CLC + 1F90 85 73 STA &73 + 1F92 A0 03 LDY #&03 + 1F94 20 7A 22 JSR &227A + 1F97 85 79 STA &79 + 1F99 A0 00 LDY #&00 + 1F9B A9 01 LDA #&01 + 1F9D 85 7C STA &7C + 1F9F 20 7A 22 JSR &227A + 1FA2 38 SEC + 1FA3 E5 73 SBC &73 + 1FA5 10 0B BPL &1FB2 + 1FA7 85 74 STA &74 + 1FA9 A9 80 LDA #&80 + 1FAB 85 72 STA &72 + 1FAD A9 00 LDA #&00 + 1FAF 38 SEC + 1FB0 E5 74 SBC &74 +.uind21 + 1FB2 18 CLC + 1FB3 69 01 ADC #&01 + 1FB5 85 77 STA &77 + 1FB7 A0 03 LDY #&03 + 1FB9 20 7A 22 JSR &227A + 1FBC 38 SEC + 1FBD E5 79 SBC &79 + 1FBF 10 0D BPL &1FCE + 1FC1 85 74 STA &74 + 1FC3 A9 40 LDA #&40 + 1FC5 05 72 ORA &72 + 1FC7 85 72 STA &72 + 1FC9 A9 00 LDA #&00 + 1FCB 38 SEC + 1FCC E5 74 SBC &74 +.uind22 + 1FCE 18 CLC + 1FCF 69 01 ADC #&01 + 1FD1 85 78 STA &78 + 1FD3 A5 73 LDA &73 + 1FD5 18 CLC + 1FD6 69 35 ADC #&35 + 1FD8 85 73 STA &73 + 1FDA A5 79 LDA &79 + 1FDC 18 CLC + 1FDD 69 E3 ADC #&E3 + 1FDF 85 79 STA &79 + 1FE1 4C B8 20 JMP &20B8 +.uind23 + 1FE4 E0 07 CPX #&07 + 1FE6 F0 9E BEQ &1F86 + 1FE8 E0 09 CPX #&09 + 1FEA 90 22 BCC &200E + 1FEC F0 07 BEQ &1FF5 + 1FEE E0 0B CPX #&0B + 1FF0 90 1C BCC &200E + 1FF2 F0 64 BEQ &2058 + 1FF4 60 RTS +.uind24 + 1FF5 A2 01 LDX #&01 + 1FF7 A9 80 LDA #&80 + 1FF9 85 73 STA &73 + 1FFB A9 50 LDA #&50 + 1FFD 85 77 STA &77 + 1FFF AD 0D 0C LDA &0C0D + 2002 38 SEC + 2003 20 F7 22 JSR &22F7 + 2006 85 79 STA &79 + 2008 A0 A3 LDY #&A3 + 200A A9 0B LDA #&0B + 200C D0 71 BNE &207F +.uind25 + 200E A9 80 LDA #&80 + 2010 20 29 21 JSR &2129 + 2013 A9 22 LDA #&22 + 2015 8D 97 76 STA &7697 + 2018 8D AF 76 STA &76AF + 201B A9 44 LDA #&44 + 201D 8D 9F 76 STA &769F + 2020 A9 99 LDA #&99 + 2022 8D A7 76 STA &76A7 + 2025 A9 88 LDA #&88 + 2027 8D E7 72 STA &72E7 + 202A 8D 27 74 STA &7427 + 202D 8D 67 75 STA &7567 + 2030 8D E7 77 STA &77E7 + 2033 8D 27 79 STA &7927 + 2036 8D 67 7A STA &7A67 + 2039 AD 0E 0C LDA &0C0E + 203C 38 SEC + 203D 20 F7 22 JSR &22F7 + 2040 8D EC 4F STA &4FEC + 2043 AD 0C 0C LDA &0C0C + 2046 18 CLC + 2047 20 F7 22 JSR &22F7 + 204A 49 FF EOR #&FF + 204C 18 CLC + 204D 69 01 ADC #&01 + 204F 8D EA 4F STA &4FEA + 2052 A9 00 LDA #&00 + 2054 20 29 21 JSR &2129 + 2057 60 RTS +.uind26 + 2058 A9 80 LDA #&80 + 205A 85 73 STA &73 + 205C A9 7D LDA #&7D + 205E 85 77 STA &77 + 2060 AD 1F 0C LDA &0C1F + 2063 85 72 STA &72 + 2065 AD 0F 0C LDA &0C0F + 2068 A2 03 LDX #&03 +.uind27 + 206A 46 72 LSR &72 + 206C 6A ROR A + 206D CA DEX + 206E 10 FA BPL &206A + 2070 85 72 STA &72 + 2072 4A LSR A + 2073 65 72 ADC &72 + 2075 4A LSR A + 2076 4A LSR A + 2077 85 79 STA &79 + 2079 A2 03 LDX #&03 + 207B A0 F3 LDY #&F3 + 207D A9 07 LDA #&07 +.DrawIndicatorBar + 207F 85 75 STA &75 + 2081 A9 01 LDA #&01 + 2083 85 74 STA &74 + 2085 8C FC 4F STY &4FFC + 2088 BD EA 4F LDA &4FEA,X + 208B 85 78 STA &78 + 208D A5 79 LDA &79 + 208F 9D EA 4F STA &4FEA,X + 2092 20 D1 22 JSR &22D1 + 2095 A9 00 LDA #&00 + 2097 85 7F STA &7F + 2099 20 CC 22 JSR &22CC + 209C 60 RTS +.DrawIndicatorHand + 209D 18 CLC + 209E 7D BA 4F ADC &4FBA,X + 20A1 DD C2 4F CMP &4FC2,X + 20A4 B0 05 BCS &20AB + 20A6 BD C2 4F LDA &4FC2,X + 20A9 90 08 BCC &20B3 +.dinh1 + 20AB DD CA 4F CMP &4FCA,X + 20AE 90 03 BCC &20B3 + 20B0 BD CA 4F LDA &4FCA,X +.dinh2 + 20B3 85 79 STA &79 + 20B5 20 6E 21 JSR &216E +.DrawIndicatorLine + 20B8 BD AA 4F LDA &4FAA,X + 20BB 85 7A STA &7A + 20BD BD B2 4F LDA &4FB2,X + 20C0 85 7B STA &7B + 20C2 BD D2 4F LDA &4FD2,X + 20C5 85 74 STA &74 + 20C7 BD DA 4F LDA &4FDA,X + 20CA 85 75 STA &75 + 20CC BD E2 4F LDA &4FE2,X + 20CF 85 76 STA &76 + 20D1 A9 80 LDA #&80 + 20D3 85 7F STA &7F + 20D5 20 CD 21 JSR &21CD + 20D8 A6 87 LDX &87 + 20DA E0 07 CPX #&07 + 20DC D0 24 BNE &2102 + 20DE A9 FF LDA #&FF + 20E0 A0 02 LDY #&02 +.dinl1 + 20E2 99 2A 75 STA &752A,Y + 20E5 A9 44 LDA #&44 + 20E7 88 DEY + 20E8 10 F8 BPL &20E2 + 20EA A9 33 LDA #&33 + 20EC 8D 24 75 STA &7524 + 20EF A9 88 LDA #&88 + 20F1 8D 34 75 STA &7534 + 20F4 A5 73 LDA &73 + 20F6 85 7A STA &7A + 20F8 9D AA 4F STA &4FAA,X + 20FB A5 79 LDA &79 + 20FD 9D B2 4F STA &4FB2,X + 2100 D0 08 BNE &210A +.dinl2 + 2102 BD AA 4F LDA &4FAA,X + 2105 85 7A STA &7A + 2107 BD B2 4F LDA &4FB2,X +.dinl3 + 210A 85 7B STA &7B + 210C A5 77 LDA &77 + 210E 85 74 STA &74 + 2110 9D D2 4F STA &4FD2,X + 2113 A5 78 LDA &78 + 2115 85 75 STA &75 + 2117 9D DA 4F STA &4FDA,X + 211A A5 72 LDA &72 + 211C 85 76 STA &76 + 211E 9D E2 4F STA &4FE2,X + 2121 A9 00 LDA #&00 + 2123 85 7F STA &7F + 2125 20 CD 21 JSR &21CD + 2128 60 RTS +.DrawJoystickCross + 2129 85 7F STA &7F + 212B AD EA 4F LDA &4FEA + 212E 85 79 STA &79 + 2130 AD EC 4F LDA &4FEC + 2133 18 CLC + 2134 69 4F ADC #&4F + 2136 8D FC 4F STA &4FFC + 2139 A9 D8 LDA #&D8 + 213B 85 77 STA &77 + 213D A9 00 LDA #&00 + 213F 85 73 STA &73 + 2141 A9 03 LDA #&03 + 2143 85 74 STA &74 + 2145 A9 01 LDA #&01 + 2147 85 75 STA &75 + 2149 20 CC 22 JSR &22CC + 214C AD EC 4F LDA &4FEC + 214F 85 79 STA &79 + 2151 AD EA 4F LDA &4FEA + 2154 18 CLC + 2155 69 D6 ADC #&D6 + 2157 8D FC 4F STA &4FFC + 215A A9 50 LDA #&50 + 215C 85 77 STA &77 + 215E A9 80 LDA #&80 + 2160 85 73 STA &73 + 2162 A9 01 LDA #&01 + 2164 85 74 STA &74 + 2166 A9 05 LDA #&05 + 2168 85 75 STA &75 + 216A 20 CC 22 JSR &22CC + 216D 60 RTS +.GetHandVector + 216E A0 00 LDY #&00 + 2170 84 72 STY &72 + 2172 BC 92 4F LDY &4F92,X + 2175 C8 INY + 2176 84 7C STY &7C + 2178 38 SEC +.dhvc1 + 2179 E5 7C SBC &7C + 217B B0 05 BCS &2182 + 217D 65 7C ADC &7C + 217F 4C A4 21 JMP &21A4 +.dhvc2 + 2182 FD 92 4F SBC &4F92,X + 2185 B0 06 BCS &218D + 2187 A0 40 LDY #&40 + 2189 84 72 STY &72 + 218B D0 15 BNE &21A2 +.dhvc3 + 218D E5 7C SBC &7C + 218F B0 08 BCS &2199 + 2191 65 7C ADC &7C + 2193 A0 C0 LDY #&C0 + 2195 84 72 STY &72 + 2197 D0 0B BNE &21A4 +.dhvc4 + 2199 FD 92 4F SBC &4F92,X + 219C B0 DB BCS &2179 + 219E A0 80 LDY #&80 + 21A0 84 72 STY &72 +.dhvc5 + 21A2 49 FF EOR #&FF +.dhvc6 + 21A4 85 73 STA &73 + 21A6 BD 92 4F LDA &4F92,X + 21A9 38 SEC + 21AA E5 73 SBC &73 + 21AC DD A2 4F CMP &4FA2,X + 21AF 90 03 BCC &21B4 + 21B1 BD A2 4F LDA &4FA2,X +.dhvc7 + 21B4 18 CLC + 21B5 69 01 ADC #&01 + 21B7 85 78 STA &78 + 21B9 A5 73 LDA &73 + 21BB 18 CLC + 21BC 69 01 ADC #&01 + 21BE 4A LSR A + 21BF DD 9A 4F CMP &4F9A,X + 21C2 90 03 BCC &21C7 + 21C4 BD 9A 4F LDA &4F9A,X +.dhvc8 + 21C7 18 CLC + 21C8 69 01 ADC #&01 + 21CA 85 77 STA &77 + 21CC 60 RTS +.DrawVectorLine + 21CD A0 03 LDY #&03 + 21CF A9 11 LDA #&11 +.dvec1 + 21D1 99 82 00 STA &0082,Y + 21D4 0A ASL A + 21D5 88 DEY + 21D6 10 F9 BPL &21D1 + 21D8 A9 00 LDA #&00 + 21DA 85 81 STA &81 + 21DC 85 80 STA &80 + 21DE A5 74 LDA &74 + 21E0 C5 75 CMP &75 + 21E2 90 04 BCC &21E8 + 21E4 85 86 STA &86 + 21E6 B0 53 BCS &223B +.dvec2 + 21E8 A5 75 LDA &75 + 21EA 85 86 STA &86 + 21EC 85 80 STA &80 + 21EE 90 4B BCC &223B +.dvec3 + 21F0 A5 81 LDA &81 + 21F2 18 CLC + 21F3 65 75 ADC &75 + 21F5 C5 74 CMP &74 + 21F7 90 0C BCC &2205 + 21F9 E5 74 SBC &74 + 21FB 24 76 BIT &76 + 21FD 50 04 BVC &2203 + 21FF C6 7B DEC &7B + 2201 70 02 BVS &2205 +.dvec4 + 2203 E6 7B INC &7B +.dvec5 + 2205 85 81 STA &81 + 2207 24 76 BIT &76 + 2209 10 05 BPL &2210 + 220B C6 7A DEC &7A + 220D 4C 3B 22 JMP &223B +.dvec6 + 2210 E6 7A INC &7A + 2212 4C 3B 22 JMP &223B +.dvec7 + 2215 A5 80 LDA &80 + 2217 F0 D7 BEQ &21F0 + 2219 A5 81 LDA &81 + 221B 18 CLC + 221C 65 74 ADC &74 + 221E C5 75 CMP &75 + 2220 90 0D BCC &222F + 2222 E5 75 SBC &75 + 2224 24 76 BIT &76 + 2226 10 05 BPL &222D + 2228 C6 7A DEC &7A + 222A 4C 2F 22 JMP &222F +.dvec8 + 222D E6 7A INC &7A +.dvec9 + 222F 85 81 STA &81 + 2231 24 76 BIT &76 + 2233 50 04 BVC &2239 + 2235 C6 7B DEC &7B + 2237 70 02 BVS &223B +.dvec10 + 2239 E6 7B INC &7B +.dvec11 + 223B A5 7A LDA &7A + 223D 4A LSR A + 223E 4A LSR A + 223F AA TAX + 2240 A5 7B LDA &7B + 2242 4A LSR A + 2243 4A LSR A + 2244 4A LSR A + 2245 A8 TAY + 2246 B9 00 48 LDA &4800,Y + 2249 18 CLC + 224A 7D 00 4F ADC &4F00,X + 224D 85 70 STA &70 + 224F B9 20 48 LDA &4820,Y + 2252 7D 28 4F ADC &4F28,X + 2255 85 71 STA &71 + 2257 A9 9F LDA #&9F + 2259 38 SEC + 225A E5 7B SBC &7B + 225C A8 TAY + 225D A5 7A LDA &7A + 225F 29 03 AND #&03 + 2261 AA TAX + 2262 24 7F BIT &7F + 2264 30 07 BMI &226D + 2266 B5 82 LDA &82,X + 2268 11 70 ORA (&70),Y + 226A 4C 73 22 JMP &2273 +.dvec12 + 226D B5 82 LDA &82,X + 226F 49 FF EOR #&FF + 2271 31 70 AND (&70),Y +.dvec13 + 2273 91 70 STA (&70),Y + 2275 C6 86 DEC &86 + 2277 D0 9C BNE &2215 + 2279 60 RTS +.ArtificialHorizon + 227A B9 7B 42 LDA &427B,Y + 227D 4A LSR A + 227E 4A LSR A + 227F C0 00 CPY #&00 + 2281 D0 01 BNE &2284 + 2283 4A LSR A +.arhi1 + 2284 85 74 STA &74 + 2286 B9 3B 42 LDA &423B,Y + 2289 45 7C EOR &7C + 228B 29 01 AND #&01 + 228D F0 07 BEQ &2296 + 228F A9 00 LDA #&00 + 2291 38 SEC + 2292 E5 74 SBC &74 + 2294 85 74 STA &74 +.arhi2 + 2296 B9 7D 42 LDA &427D,Y + 2299 4A LSR A + 229A 4A LSR A + 229B C0 00 CPY #&00 + 229D D0 01 BNE &22A0 + 229F 4A LSR A +.arhi3 + 22A0 85 75 STA &75 + 22A2 B9 3D 42 LDA &423D,Y + 22A5 C0 00 CPY #&00 + 22A7 D0 02 BNE &22AB + 22A9 49 01 EOR #&01 +.arhi4 + 22AB 29 01 AND #&01 + 22AD F0 07 BEQ &22B6 + 22AF A9 00 LDA #&00 + 22B1 38 SEC + 22B2 E5 75 SBC &75 + 22B4 85 75 STA &75 +.arhi5 + 22B6 18 CLC + 22B7 A5 74 LDA &74 + 22B9 65 75 ADC &75 + 22BB 30 06 BMI &22C3 + 22BD 4A LSR A + 22BE 4A LSR A + 22BF 4A LSR A + 22C0 69 00 ADC #&00 + 22C2 60 RTS +.arhi6 + 22C3 38 SEC + 22C4 6A ROR A + 22C5 38 SEC + 22C6 6A ROR A + 22C7 38 SEC + 22C8 6A ROR A + 22C9 69 00 ADC #&00 + 22CB 60 RTS +.DrawOrthoLine + 22CC A5 79 LDA &79 + 22CE 4C D7 22 JMP &22D7 +.EraseOrthoLine + 22D1 A9 80 LDA #&80 + 22D3 85 7F STA &7F + 22D5 A5 78 LDA &78 +.dort1 + 22D7 18 CLC + 22D8 65 77 ADC &77 + 22DA 24 73 BIT &73 + 22DC 30 0A BMI &22E8 + 22DE 85 7B STA &7B + 22E0 AD FC 4F LDA &4FFC + 22E3 85 7A STA &7A + 22E5 4C EF 22 JMP &22EF +.dort2 + 22E8 85 7A STA &7A + 22EA AD FC 4F LDA &4FFC + 22ED 85 7B STA &7B +.dort3 + 22EF A9 00 LDA #&00 + 22F1 85 76 STA &76 + 22F3 20 CD 21 JSR &21CD + 22F6 60 RTS +.ScaleSigned + 22F7 08 PHP + 22F8 10 05 BPL &22FF + 22FA 49 FF EOR #&FF + 22FC 18 CLC + 22FD 69 01 ADC #&01 +.scsi1 + 22FF 4A LSR A + 2300 28 PLP + 2301 08 PHP + 2302 90 08 BCC &230C + 2304 4A LSR A + 2305 C9 01 CMP #&01 + 2307 D0 02 BNE &230B + 2309 A9 02 LDA #&02 +.scsi2 + 230B 4A LSR A +.scsi3 + 230C 4A LSR A + 230D 69 00 ADC #&00 + 230F 28 PLP + 2310 10 05 BPL &2317 + 2312 49 FF EOR #&FF + 2314 18 CLC + 2315 69 01 ADC #&01 +.scsi4 + 2317 60 RTS +.UpdateDashboard + 2318 AE FA 4F LDX &4FFA + 231B E8 INX + 231C E0 07 CPX #&07 + 231E 90 02 BCC &2322 + 2320 A2 00 LDX #&00 +.udas1 + 2322 8E FA 4F STX &4FFA + 2325 20 42 1E JSR &1E42 +.UpdateDash7To11 + 2328 AE FB 4F LDX &4FFB + 232B E8 INX + 232C E0 0B CPX #&0B + 232E 90 02 BCC &2332 + 2330 A2 07 LDX #&07 +.udas2 + 2332 8E FB 4F STX &4FFB + 2335 20 42 1E JSR &1E42 + 2338 A9 77 LDA #&77 + 233A 8D D5 7B STA &7BD5 + 233D 60 RTS +.UpdateFlightModel + 233E A2 02 LDX #&02 +.umod1 + 2340 18 CLC + 2341 BD A0 0C LDA &0CA0,X + 2344 F0 2C BEQ &2372 + 2346 7D 2D 0C ADC &0C2D,X + 2349 9D 2D 0C STA &0C2D,X + 234C BD B0 0C LDA &0CB0,X + 234F 85 70 STA &70 + 2351 7D 0C 0C ADC &0C0C,X + 2354 BC 5C 4F LDY &4F5C,X + 2357 F0 03 BEQ &235C + 2359 DE 5C 4F DEC &4F5C,X +.umod2 + 235C D0 09 BNE &2367 + 235E 18 CLC + 235F 69 03 ADC #&03 + 2361 24 70 BIT &70 + 2363 10 02 BPL &2367 + 2365 69 FA ADC #&FA +.umod3 + 2367 A8 TAY + 2368 10 0F BPL &2379 + 236A C9 8C CMP #&8C + 236C B0 11 BCS &237F + 236E A9 8C LDA #&8C + 2370 D0 0D BNE &237F +.umod4 + 2372 A9 06 LDA #&06 + 2374 9D 5C 4F STA &4F5C,X + 2377 D0 09 BNE &2382 +.umod5 + 2379 C9 77 CMP #&77 + 237B 90 02 BCC &237F + 237D A9 76 LDA #&76 +.umod6 + 237F 9D 0C 0C STA &0C0C,X +.umod7 + 2382 CA DEX + 2383 10 BB BPL &2340 + 2385 20 D8 46 JSR &46D8 + 2388 18 CLC + 2389 AD A3 0C LDA &0CA3 + 238C F0 24 BEQ &23B2 + 238E 6D 0F 0C ADC &0C0F + 2391 AA TAX + 2392 AD B3 0C LDA &0CB3 + 2395 6D 1F 0C ADC &0C1F + 2398 A8 TAY + 2399 30 08 BMI &23A3 + 239B C0 05 CPY #&05 + 239D 90 08 BCC &23A7 + 239F A0 05 LDY #&05 + 23A1 D0 02 BNE &23A5 +.umod8 + 23A3 A0 00 LDY #&00 +.umod9 + 23A5 A2 00 LDX #&00 +.umod10 + 23A7 8E 0F 0C STX &0C0F + 23AA 8C 1F 0C STY &0C1F + 23AD A2 0B LDX #&0B + 23AF 20 42 1E JSR &1E42 +.umod11 + 23B2 A2 04 LDX #&04 + 23B4 20 F9 23 JSR &23F9 + 23B7 F0 0B BEQ &23C4 + 23B9 30 06 BMI &23C1 + 23BB 20 24 24 JSR &2424 + 23BE 4C C4 23 JMP &23C4 +.umod12 + 23C1 20 0E 25 JSR &250E +.umod13 + 23C4 A2 05 LDX #&05 + 23C6 20 F9 23 JSR &23F9 + 23C9 F0 0B BEQ &23D6 + 23CB 30 06 BMI &23D3 + 23CD 20 57 24 JSR &2457 + 23D0 4C D6 23 JMP &23D6 +.umod14 + 23D3 20 7F 24 JSR &247F +.umod15 + 23D6 A0 02 LDY #&02 +.umod16 + 23D8 8C C4 0C STY &0CC4 + 23DB 20 62 18 JSR &1862 + 23DE AC C4 0C LDY &0CC4 + 23E1 88 DEY + 23E2 10 F4 BPL &23D8 + 23E4 A9 00 LDA #&00 + 23E6 8D CB 0C STA &0CCB + 23E9 8D C4 0C STA &0CC4 + 23EC 20 FC 1A JSR &1AFC + 23EF 20 00 50 JSR &5000 + 23F2 20 18 23 JSR &2318 + 23F5 20 28 23 JSR &2328 + 23F8 60 RTS +.ProcessOtherKeys + 23F9 BD A0 0C LDA &0CA0,X + 23FC D0 09 BNE &2407 + 23FE 9D CE 0C STA &0CCE,X + 2401 9D D1 0C STA &0CD1,X +.poth1 + 2404 A9 00 LDA #&00 + 2406 60 RTS +.poth2 + 2407 A8 TAY + 2408 B9 CE 0C LDA &0CCE,Y + 240B D0 F7 BNE &2404 + 240D B9 EE 0C LDA &0CEE,Y + 2410 49 01 EOR #&01 + 2412 99 EE 0C STA &0CEE,Y + 2415 A9 01 LDA #&01 + 2417 99 CE 0C STA &0CCE,Y + 241A C0 07 CPY #&07 + 241C 90 03 BCC &2421 + 241E A9 80 LDA #&80 + 2420 60 RTS +.poth3 + 2421 A9 01 LDA #&01 + 2423 60 RTS +.IndicatorU + 2424 AD 85 4F LDA &4F85 + 2427 AC F2 0C LDY &0CF2 + 242A D0 09 BNE &2435 + 242C 38 SEC + 242D E9 0A SBC #&0A + 242F A2 05 LDX #&05 + 2431 A0 55 LDY #&55 + 2433 D0 0C BNE &2441 +.indu1 + 2435 AC C5 0C LDY &0CC5 + 2438 D0 17 BNE &2451 + 243A 18 CLC + 243B 69 0A ADC #&0A + 243D A2 0A LDX #&0A + 243F A0 77 LDY #&77 +.indu2 + 2441 8D 85 4F STA &4F85 + 2444 8E F0 0C STX &0CF0 + 2447 98 TYA + 2448 A2 02 LDX #&02 +.indu3 + 244A 9D 82 7E STA &7E82,X + 244D CA DEX + 244E 10 FA BPL &244A + 2450 60 RTS +.indu4 + 2451 A9 00 LDA #&00 + 2453 8D F2 0C STA &0CF2 + 2456 60 RTS +.IndicatorF + 2457 AD 85 4F LDA &4F85 + 245A AC F3 0C LDY &0CF3 + 245D D0 09 BNE &2468 + 245F 38 SEC + 2460 E9 C8 SBC #&C8 + 2462 A2 00 LDX #&00 + 2464 A0 44 LDY #&44 + 2466 D0 07 BNE &246F +.indf1 + 2468 18 CLC + 2469 69 C8 ADC #&C8 + 246B A2 98 LDX #&98 + 246D A0 CC LDY #&CC +.indf2 + 246F 8D 85 4F STA &4F85 + 2472 8E 87 4F STX &4F87 + 2475 98 TYA + 2476 A2 02 LDX #&02 +.indf3 + 2478 9D 9A 7E STA &7E9A,X + 247B CA DEX + 247C 10 FA BPL &2478 + 247E 60 RTS +.FireGuns + 247F AD F1 0C LDA &0CF1 + 2482 0D 8F 36 ORA &368F + 2485 D0 F7 BNE &247E + 2487 A2 E4 LDX #&E4 + 2489 20 4A 4B JSR &4B4A + 248C AD 15 0C LDA &0C15 + 248F 18 CLC + 2490 69 C8 ADC #&C8 + 2492 8D E4 07 STA &07E4 + 2495 A9 FF LDA #&FF + 2497 A2 5F LDX #&5F + 2499 20 4C 4B JSR &4B4C + 249C A9 14 LDA #&14 + 249E 8D 5F 07 STA &075F + 24A1 A9 F6 LDA #&F6 + 24A3 8D 5F 09 STA &095F + 24A6 A9 FC LDA #&FC + 24A8 8D 5F 0A STA &0A5F + 24AB A9 E4 LDA #&E4 + 24AD 85 88 STA &88 + 24AF A9 09 LDA #&09 + 24B1 8D CB 0C STA &0CCB + 24B4 8D F1 0C STA &0CF1 + 24B7 20 8D 1D JSR &1D8D + 24BA A2 E5 LDX #&E5 +.fire1 + 24BC 20 1A 1E JSR &1E1A + 24BF E8 INX + 24C0 E0 E8 CPX #&E8 + 24C2 D0 F8 BNE &24BC + 24C4 A9 5F LDA #&5F + 24C6 85 88 STA &88 + 24C8 20 8D 1D JSR &1D8D + 24CB A2 ED LDX #&ED + 24CD A0 60 LDY #&60 + 24CF 20 00 4B JSR &4B00 + 24D2 A0 0C LDY #&0C + 24D4 A2 60 LDX #&60 +.fire2 + 24D6 20 B5 25 JSR &25B5 + 24D9 20 7B 25 JSR &257B + 24DC C8 INY + 24DD C0 10 CPY #&10 + 24DF D0 F5 BNE &24D6 + 24E1 A0 0C LDY #&0C + 24E3 A2 5F LDX #&5F + 24E5 20 7B 25 JSR &257B + 24E8 8E CF 0C STX &0CCF + 24EB A9 60 LDA #&60 + 24ED 85 88 STA &88 + 24EF 20 A0 19 JSR &19A0 + 24F2 A9 61 LDA #&61 + 24F4 85 88 STA &88 + 24F6 20 A0 19 JSR &19A0 + 24F9 A2 62 LDX #&62 + 24FB A0 60 LDY #&60 + 24FD 20 67 1A JSR &1A67 + 2500 A0 0F LDY #&0F + 2502 A2 62 LDX #&62 +.fire3 + 2504 20 7B 25 JSR &257B + 2507 CA DEX + 2508 88 DEY + 2509 C0 0C CPY #&0C + 250B D0 F7 BNE &2504 + 250D 60 RTS +.IndicatorB + 250E A9 77 LDA #&77 + 2510 AE F5 0C LDX &0CF5 + 2513 D0 02 BNE &2517 + 2515 A9 55 LDA #&55 +.indb1 + 2517 A2 02 LDX #&02 +.indb2 + 2519 9D AA 7E STA &7EAA,X + 251C CA DEX + 251D 10 FA BPL &2519 + 251F 60 RTS +.IndicatorT + 2520 A9 77 LDA #&77 + 2522 AE E7 0C LDX &0CE7 + 2525 10 02 BPL &2529 + 2527 A9 55 LDA #&55 +.indt1 + 2529 A2 02 LDX #&02 +.indt2 + 252B 9D 82 7D STA &7D82,X + 252E CA DEX + 252F 10 FA BPL &252B + 2531 60 RTS +.ScanKeyboard + 2532 A9 81 LDA #&81 + 2534 A0 FF LDY #&FF + 2536 20 F4 FF JSR &FFF4 + 2539 E0 FF CPX #&FF + 253B 60 RTS +.UpdateKeyLogger + 253C A9 05 LDA #&05 + 253E 85 76 STA &76 +.klog1 + 2540 A4 76 LDY &76 + 2542 BE 50 4F LDX &4F50,Y + 2545 20 32 25 JSR &2532 + 2548 D0 0B BNE &2555 + 254A A6 76 LDX &76 + 254C BC 6C 4F LDY &4F6C,X + 254F BD 72 4F LDA &4F72,X + 2552 4C 6F 25 JMP &256F +.klog2 + 2555 A4 76 LDY &76 + 2557 BE 56 4F LDX &4F56,Y + 255A 20 32 25 JSR &2532 + 255D D0 0B BNE &256A + 255F A6 76 LDX &76 + 2561 BC 60 4F LDY &4F60,X + 2564 BD 66 4F LDA &4F66,X + 2567 4C 6F 25 JMP &256F +.klog3 + 256A A9 00 LDA #&00 + 256C A6 76 LDX &76 + 256E A8 TAY +.klog4 + 256F 9D B0 0C STA &0CB0,X + 2572 98 TYA + 2573 9D A0 0C STA &0CA0,X + 2576 C6 76 DEC &76 + 2578 10 C6 BPL &2540 + 257A 60 RTS +.AddPointToObject + 257B B9 00 44 LDA &4400,Y + 257E 18 CLC + 257F 7D 00 09 ADC &0900,X + 2582 99 00 44 STA &4400,Y + 2585 B9 78 44 LDA &4478,Y + 2588 7D 00 4A ADC &4A00,X + 258B 99 78 44 STA &4478,Y + 258E B9 28 44 LDA &4428,Y + 2591 18 CLC + 2592 7D 00 0A ADC &0A00,X + 2595 99 28 44 STA &4428,Y + 2598 B9 A0 44 LDA &44A0,Y + 259B 7D 00 0B ADC &0B00,X + 259E 99 A0 44 STA &44A0,Y + 25A1 B9 50 44 LDA &4450,Y + 25A4 18 CLC + 25A5 7D 00 07 ADC &0700,X + 25A8 99 50 44 STA &4450,Y + 25AB B9 C8 44 LDA &44C8,Y + 25AE 7D 00 49 ADC &4900,X + 25B1 99 C8 44 STA &44C8,Y + 25B4 60 RTS +.SetObjectToOrigin + 25B5 A9 00 LDA #&00 + 25B7 99 00 44 STA &4400,Y + 25BA 99 78 44 STA &4478,Y + 25BD 99 28 44 STA &4428,Y + 25C0 99 A0 44 STA &44A0,Y + 25C3 99 50 44 STA &4450,Y + 25C6 99 C8 44 STA &44C8,Y + 25C9 60 RTS +.ReadADCChannel + 25CA A9 80 LDA #&80 + 25CC 20 F4 FF JSR &FFF4 + 25CF 98 TYA + 25D0 C9 F7 CMP #&F7 + 25D2 90 02 BCC &25D6 + 25D4 A9 F6 LDA #&F6 +.radc1 + 25D6 C9 0C CMP #&0C + 25D8 B0 02 BCS &25DC + 25DA A9 0C LDA #&0C +.radc2 + 25DC 38 SEC + 25DD E9 80 SBC #&80 + 25DF 49 FF EOR #&FF + 25E1 18 CLC + 25E2 69 01 ADC #&01 + 25E4 60 RTS +.ResetVariables + 25E5 A2 00 LDX #&00 + 25E7 8A TXA + 25E8 8D 02 42 STA &4202 + 25EB 8D 87 4F STA &4F87 + 25EE 8D 8F 36 STA &368F + 25F1 8D F0 44 STA &44F0 + 25F4 8D 9C 36 STA &369C + 25F7 8D 9D 36 STA &369D +.rset1 + 25FA 9D 00 04 STA &0400,X + 25FD CA DEX + 25FE D0 FA BNE &25FA + 2600 A2 FF LDX #&FF + 2602 8D C8 05 STA &05C8 + 2605 8D 06 42 STA &4206 +.rset2 + 2608 9D FF 0B STA &0BFF,X + 260B CA DEX + 260C D0 FA BNE &2608 + 260E A2 07 LDX #&07 +.rset3 + 2610 9D 10 42 STA &4210,X + 2613 CA DEX + 2614 10 FA BPL &2610 + 2616 A9 48 LDA #&48 + 2618 8D FF 0C STA &0CFF + 261B A9 5C LDA #&5C + 261D 8D EF 0C STA &0CEF + 2620 A9 C6 LDA #&C6 + 2622 8D FD 0C STA &0CFD + 2625 A9 E5 LDA #&E5 + 2627 8D ED 0C STA &0CED + 262A A9 0A LDA #&0A + 262C 8D EE 0C STA &0CEE + 262F 8D F8 0C STA &0CF8 + 2632 A9 F2 LDA #&F2 + 2634 8D 85 4F STA &4F85 + 2637 A9 01 LDA #&01 + 2639 8D F2 0C STA &0CF2 + 263C 8D F5 0C STA &0CF5 + 263F 8D E8 0C STA &0CE8 + 2642 20 24 24 JSR &2424 + 2645 A9 01 LDA #&01 + 2647 8D C5 0C STA &0CC5 + 264A A9 2F LDA #&2F + 264C 8D D1 0C STA &0CD1 + 264F A9 FF LDA #&FF + 2651 8D E7 0C STA &0CE7 + 2654 8D D0 0C STA &0CD0 + 2657 A2 07 LDX #&07 + 2659 8E FA 0C STX &0CFA +.rset4 + 265C 9D 08 42 STA &4208,X + 265F CA DEX + 2660 10 FA BPL &265C + 2662 A2 02 LDX #&02 +.rset5 + 2664 9D 03 42 STA &4203,X + 2667 CA DEX + 2668 10 FA BPL &2664 + 266A 20 20 25 JSR &2520 + 266D A2 0B LDX #&0B + 266F 20 42 1E JSR &1E42 + 2672 A9 41 LDA #&41 + 2674 8D 92 36 STA &3692 +.rset6 + 2677 CE 92 36 DEC &3692 + 267A 20 A1 33 JSR &33A1 + 267D AD 92 36 LDA &3692 + 2680 D0 F5 BNE &2677 +.ResetRadar + 2682 A9 50 LDA #&50 + 2684 8D 00 09 STA &0900 + 2687 A9 01 LDA #&01 + 2689 8D E6 0C STA &0CE6 + 268C 8D 00 4A STA &4A00 + 268F 20 32 2D JSR &2D32 + 2692 A0 21 LDY #&21 + 2694 20 B5 25 JSR &25B5 + 2697 60 RTS +.StartGame + 2698 A9 00 LDA #&00 + 269A 8D 9F 36 STA &369F + 269D 8D 9E 36 STA &369E + 26A0 A9 0E LDA #&0E + 26A2 20 A5 4D JSR &4DA5 +.NewGame + 26A5 20 A0 2E JSR &2EA0 + 26A8 20 E5 25 JSR &25E5 + 26AB 20 3C 25 JSR &253C + 26AE 20 3E 23 JSR &233E + 26B1 20 DC 2B JSR &2BDC + 26B4 20 57 24 JSR &2457 + 26B7 20 0E 25 JSR &250E + 26BA A9 40 LDA #&40 + 26BC 8D 6B FE STA &FE6B + 26BF A9 EA LDA #&EA + 26C1 8D 65 FE STA &FE65 +.MainLoop + 26C4 A5 8F LDA &8F + 26C6 8D C6 0C STA &0CC6 + 26C9 20 1C 2F JSR &2F1C + 26CC 20 3C 25 JSR &253C + 26CF AD F1 0C LDA &0CF1 + 26D2 D0 2D BNE &2701 + 26D4 20 3E 23 JSR &233E + 26D7 AD F1 0C LDA &0CF1 + 26DA F0 28 BEQ &2704 + 26DC A9 02 LDA #&02 + 26DE 8D D9 0C STA &0CD9 + 26E1 A0 21 LDY #&21 +.main1 + 26E3 B9 D8 04 LDA &04D8,Y + 26E6 99 FA 41 STA &41FA,Y + 26E9 88 DEY + 26EA C0 1E CPY #&1E + 26EC B0 F5 BCS &26E3 + 26EE A4 8A LDY &8A + 26F0 A9 3C LDA #&3C + 26F2 99 00 05 STA &0500,Y + 26F5 C8 INY + 26F6 A9 3D LDA #&3D + 26F8 99 00 05 STA &0500,Y + 26FB C8 INY + 26FC 84 8A STY &8A + 26FE 4C 04 27 JMP &2704 +.main2 + 2701 20 3E 23 JSR &233E +.main3 + 2704 A2 13 LDX #&13 + 2706 A9 00 LDA #&00 + 2708 8D CA 0C STA &0CCA + 270B 8D C8 05 STA &05C8 +.main4 + 270E 9D D8 04 STA &04D8,X + 2711 9D EC 04 STA &04EC,X + 2714 CA DEX + 2715 10 F7 BPL &270E + 2717 AD F1 0C LDA &0CF1 + 271A F0 10 BEQ &272C + 271C 20 E6 2E JSR &2EE6 + 271F AD D9 0C LDA &0CD9 + 2722 F0 08 BEQ &272C + 2724 CE D9 0C DEC &0CD9 + 2727 A9 06 LDA #&06 + 2729 20 87 4D JSR &4D87 +.main5 + 272C AD E7 0C LDA &0CE7 + 272F 30 03 BMI &2734 + 2731 20 AC 2D JSR &2DAC +.main6 + 2734 20 73 28 JSR &2873 + 2737 20 B0 4C JSR &4CB0 + 273A A0 02 LDY #&02 + 273C 20 44 42 JSR &4244 + 273F A0 22 LDY #&22 + 2741 20 44 42 JSR &4244 + 2744 EE 06 42 INC &4206 + 2747 AD 06 42 LDA &4206 + 274A 18 CLC + 274B 69 04 ADC #&04 + 274D 29 07 AND #&07 + 274F D0 16 BNE &2767 + 2751 A0 01 LDY #&01 + 2753 20 D3 2C JSR &2CD3 + 2756 AE 05 42 LDX &4205 + 2759 30 0C BMI &2767 + 275B A0 21 LDY #&21 + 275D BD 10 42 LDA &4210,X + 2760 C9 1B CMP #&1B + 2762 90 03 BCC &2767 + 2764 20 D3 2C JSR &2CD3 +.main7 + 2767 AD E7 0C LDA &0CE7 + 276A D0 31 BNE &279D + 276C AD F1 0C LDA &0CF1 + 276F F0 29 BEQ &279A + 2771 A9 21 LDA #&21 + 2773 8D CC 0C STA &0CCC +.main8 + 2776 AC CC 0C LDY &0CCC + 2779 B9 FA 41 LDA &41FA,Y + 277C 10 08 BPL &2786 + 277E 20 53 30 JSR &3053 + 2781 AD 8F 36 LDA &368F + 2784 D0 0C BNE &2792 +.main9 + 2786 CE CC 0C DEC &0CCC + 2789 AD CC 0C LDA &0CCC + 278C C9 1E CMP #&1E + 278E B0 E6 BCS &2776 + 2790 90 08 BCC &279A +.main10 + 2792 8D 8C 36 STA &368C + 2795 A9 00 LDA #&00 + 2797 8D F1 0C STA &0CF1 +.main11 + 279A 20 4E 2F JSR &2F4E +.main12 + 279D AD C5 0C LDA &0CC5 + 27A0 F0 0D BEQ &27AF + 27A2 A2 86 LDX #&86 + 27A4 20 32 25 JSR &2532 + 27A7 D0 06 BNE &27AF + 27A9 20 92 4D JSR &4D92 + 27AC 4C A5 26 JMP &26A5 +.main13 + 27AF AD E8 0C LDA &0CE8 + 27B2 F0 2E BEQ &27E2 + 27B4 30 1D BMI &27D3 + 27B6 AD F1 0C LDA &0CF1 + 27B9 F0 0D BEQ &27C8 + 27BB AD E7 0C LDA &0CE7 + 27BE 10 08 BPL &27C8 + 27C0 A9 08 LDA #&08 + 27C2 8D E7 0C STA &0CE7 + 27C5 20 20 25 JSR &2520 +.main14 + 27C8 AD E9 0C LDA &0CE9 + 27CB D0 03 BNE &27D0 + 27CD 20 87 33 JSR &3387 +.main15 + 27D0 20 C7 33 JSR &33C7 +.main16 + 27D3 AD F9 0C LDA &0CF9 + 27D6 F0 0A BEQ &27E2 + 27D8 A2 00 LDX #&00 + 27DA 8E F9 0C STX &0CF9 + 27DD A9 15 LDA #&15 + 27DF 20 CB 4B JSR &4BCB +.main17 + 27E2 20 A1 33 JSR &33A1 + 27E5 A2 DC LDX #&DC + 27E7 20 32 25 JSR &2532 + 27EA D0 16 BNE &2802 + 27EC AD C9 0C LDA &0CC9 + 27EF D0 13 BNE &2804 + 27F1 AD F7 0C LDA &0CF7 + 27F4 D0 11 BNE &2807 + 27F6 AD E9 0C LDA &0CE9 + 27F9 49 01 EOR #&01 + 27FB 20 A0 36 JSR &36A0 + 27FE A9 01 LDA #&01 + 2800 D0 02 BNE &2804 +.main18 + 2802 A9 00 LDA #&00 +.main19 + 2804 8D C9 0C STA &0CC9 +.main20 + 2807 AD C8 05 LDA &05C8 + 280A C9 23 CMP #&23 + 280C B0 09 BCS &2817 + 280E 20 3A 29 JSR &293A + 2811 20 3A 29 JSR &293A + 2814 20 3A 29 JSR &293A +.main21 + 2817 A2 70 LDX #&70 + 2819 A0 00 LDY #&00 + 281B A9 01 LDA #&01 + 281D 20 F1 FF JSR &FFF1 + 2820 20 10 3F JSR &3F10 + 2823 90 E2 BCC &2807 + 2825 20 B6 28 JSR &28B6 + 2828 20 37 2C JSR &2C37 + 282B 20 6E 4D JSR &4D6E + 282E AD D8 0C LDA &0CD8 + 2831 F0 06 BEQ &2839 + 2833 C9 DC CMP #&DC + 2835 D0 09 BNE &2840 + 2837 F0 10 BEQ &2849 +.main22 + 2839 A2 C8 LDX #&C8 + 283B 20 32 25 JSR &2532 + 283E D0 11 BNE &2851 +.main23 + 2840 CE D8 0C DEC &0CD8 + 2843 20 12 4C JSR &4C12 + 2846 4C 51 28 JMP &2851 +.main24 + 2849 20 83 48 JSR &4883 + 284C A9 00 LDA #&00 + 284E 8D D8 0C STA &0CD8 +.main25 + 2851 AE C6 0C LDX &0CC6 + 2854 E4 8F CPX &8F + 2856 D0 03 BNE &285B + 2858 4C C4 26 JMP &26C4 +.main26 + 285B E8 INX + 285C BC 00 06 LDY &0600,X + 285F 8E C6 0C STX &0CC6 + 2862 BE 30 3F LDX &3F30,Y + 2865 A9 00 LDA #&00 + 2867 9D 00 04 STA &0400,X + 286A BE 00 3E LDX &3E00,Y + 286D 9D 00 04 STA &0400,X + 2870 4C 51 28 JMP &2851 +.UpdateLinesToShow + 2873 A6 8A LDX &8A + 2875 F0 3E BEQ &28B5 + 2877 A9 FF LDA #&FF + 2879 85 8D STA &8D + 287B A9 00 LDA #&00 + 287D 85 8C STA &8C +.upll1 + 287F A6 8C LDX &8C + 2881 BD 00 05 LDA &0500,X + 2884 85 8B STA &8B + 2886 A9 01 LDA #&01 + 2888 85 89 STA &89 + 288A 20 73 29 JSR &2973 + 288D A5 8B LDA &8B + 288F F0 05 BEQ &2896 + 2891 AE CE 0C LDX &0CCE + 2894 D0 0A BNE &28A0 +.upll2 + 2896 E6 8D INC &8D + 2898 A6 8D LDX &8D + 289A 9D 00 05 STA &0500,X + 289D 4C A7 28 JMP &28A7 +.upll3 + 28A0 E6 8F INC &8F + 28A2 A6 8F LDX &8F + 28A4 9D 00 06 STA &0600,X +.upll4 + 28A7 E6 8C INC &8C + 28A9 A5 8C LDA &8C + 28AB C5 8A CMP &8A + 28AD 90 D0 BCC &287F + 28AF A5 8D LDA &8D + 28B1 69 00 ADC #&00 + 28B3 85 8A STA &8A +.upll5 + 28B5 60 RTS +.ProcessLinesToShow + 28B6 A5 8A LDA &8A + 28B8 F0 6F BEQ &2929 + 28BA A9 FF LDA #&FF + 28BC 85 8D STA &8D + 28BE A9 00 LDA #&00 + 28C0 85 8C STA &8C +.show1 + 28C2 A6 8C LDX &8C + 28C4 BC 00 05 LDY &0500,X + 28C7 84 8B STY &8B + 28C9 BE 30 3F LDX &3F30,Y + 28CC 86 88 STX &88 + 28CE 86 7D STX &7D + 28D0 BE 00 3E LDX &3E00,Y + 28D3 86 7E STX &7E + 28D5 20 01 0D JSR &0D01 + 28D8 A5 7E LDA &7E + 28DA 85 88 STA &88 + 28DC 20 01 0D JSR &0D01 + 28DF A6 7D LDX &7D + 28E1 BD 00 04 LDA &0400,X + 28E4 8D C7 0C STA &0CC7 + 28E7 A6 7E LDX &7E + 28E9 BD 00 04 LDA &0400,X + 28EC 85 7F STA &7F + 28EE 2D C7 0C AND &0CC7 + 28F1 29 30 AND #&30 + 28F3 F0 0F BEQ &2904 + 28F5 4A LSR A + 28F6 4A LSR A + 28F7 85 74 STA &74 + 28F9 A5 7F LDA &7F + 28FB 4D C7 0C EOR &0CC7 + 28FE 49 FF EOR #&FF + 2900 25 74 AND &74 + 2902 D0 0C BNE &2910 +.show2 + 2904 E6 8D INC &8D + 2906 A6 8D LDX &8D + 2908 A5 8B LDA &8B + 290A 9D 00 05 STA &0500,X + 290D 4C 1B 29 JMP &291B +.show3 + 2910 A5 8B LDA &8B + 2912 F0 F0 BEQ &2904 + 2914 E6 8F INC &8F + 2916 A6 8F LDX &8F + 2918 9D 00 06 STA &0600,X +.show4 + 291B E6 8C INC &8C + 291D A5 8C LDA &8C + 291F C5 8A CMP &8A + 2921 90 9F BCC &28C2 + 2923 A5 8D LDA &8D + 2925 69 00 ADC #&00 + 2927 85 8A STA &8A +.show5 + 2929 AE C8 05 LDX &05C8 + 292C F0 0B BEQ &2939 + 292E A9 00 LDA #&00 +.show6 + 2930 BC C8 05 LDY &05C8,X + 2933 99 00 04 STA &0400,Y + 2936 CA DEX + 2937 D0 F7 BNE &2930 +.show7 + 2939 60 RTS +.ProcessLinesToHide + 293A A5 8E LDA &8E + 293C C5 8F CMP &8F + 293E F0 32 BEQ &2972 + 2940 18 CLC + 2941 69 01 ADC #&01 + 2943 85 8E STA &8E + 2945 AA TAX + 2946 BD 00 06 LDA &0600,X + 2949 85 8B STA &8B + 294B C9 3C CMP #&3C + 294D F0 EB BEQ &293A + 294F C9 3D CMP #&3D + 2951 F0 E7 BEQ &293A +.ShowOrHideLine + 2953 A9 00 LDA #&00 + 2955 85 89 STA &89 + 2957 20 73 29 JSR &2973 + 295A A5 8B LDA &8B + 295C AE CE 0C LDX &0CCE + 295F F0 08 BEQ &2969 + 2961 E6 8F INC &8F + 2963 A6 8F LDX &8F + 2965 9D 00 06 STA &0600,X + 2968 60 RTS +.shli1 + 2969 E6 8A INC &8A + 296B E6 8D INC &8D + 296D A6 8D LDX &8D + 296F 9D 00 05 STA &0500,X + 2972 60 RTS +.ProcessLine + 2973 A9 00 LDA #&00 + 2975 8D CE 0C STA &0CCE + 2978 8D BF 0C STA &0CBF + 297B A6 8B LDX &8B + 297D BC 00 3E LDY &3E00,X + 2980 84 7E STY &7E + 2982 BC 30 3F LDY &3F30,X + 2985 84 7D STY &7D + 2987 E0 0C CPX #&0C + 2989 B0 0E BCS &2999 + 298B E0 00 CPX #&00 + 298D D0 04 BNE &2993 + 298F 20 95 2C JSR &2C95 + 2992 60 RTS +.plin1 + 2993 20 BD 31 JSR &31BD + 2996 4C 6F 2A JMP &2A6F +.plin2 + 2999 A9 02 LDA #&02 + 299B 8D C8 0C STA &0CC8 +.plin3 + 299E B9 00 04 LDA &0400,Y + 29A1 10 03 BPL &29A6 + 29A3 4C 4F 2A JMP &2A4F +.plin4 + 29A6 98 TYA + 29A7 48 PHA + 29A8 8D C0 0C STA &0CC0 +.plin5 + 29AB B9 00 46 LDA &4600,Y + 29AE C9 28 CMP #&28 + 29B0 90 31 BCC &29E3 + 29B2 38 SEC + 29B3 E9 28 SBC #&28 + 29B5 8D CF 0C STA &0CCF + 29B8 A8 TAY + 29B9 B9 00 04 LDA &0400,Y + 29BC 30 56 BMI &2A14 + 29BE 98 TYA + 29BF 48 PHA + 29C0 AE C8 05 LDX &05C8 + 29C3 E0 31 CPX #&31 + 29C5 B0 3A BCS &2A01 + 29C7 EE C8 05 INC &05C8 + 29CA AE C8 05 LDX &05C8 + 29CD 9D C8 05 STA &05C8,X + 29D0 D0 D9 BNE &29AB +.plin6 + 29D2 68 PLA + 29D3 85 88 STA &88 + 29D5 B9 D8 04 LDA &04D8,Y + 29D8 30 06 BMI &29E0 + 29DA A9 80 LDA #&80 + 29DC 8D CE 0C STA &0CCE + 29DF 60 RTS +.plin7 + 29E0 4C 4D 2A JMP &2A4D +.plin8 + 29E3 A8 TAY + 29E4 8C CC 0C STY &0CCC + 29E7 C9 10 CMP #&10 + 29E9 B0 04 BCS &29EF + 29EB C9 0C CMP #&0C + 29ED B0 E3 BCS &29D2 +.plin9 + 29EF B9 D8 04 LDA &04D8,Y + 29F2 29 40 AND #&40 + 29F4 D0 03 BNE &29F9 + 29F6 20 8C 2A JSR &2A8C +.plin10 + 29F9 AC CC 0C LDY &0CCC + 29FC B9 D8 04 LDA &04D8,Y + 29FF 30 0C BMI &2A0D +.plin11 + 2A01 A9 80 LDA #&80 + 2A03 8D CE 0C STA &0CCE +.plin12 + 2A06 68 PLA + 2A07 CD C0 0C CMP &0CC0 + 2A0A D0 FA BNE &2A06 + 2A0C 60 RTS +.plin13 + 2A0D 98 TYA + 2A0E 18 CLC + 2A0F 69 D8 ADC #&D8 + 2A11 8D CF 0C STA &0CCF +.plin14 + 2A14 68 PLA + 2A15 CD C0 0C CMP &0CC0 + 2A18 F0 21 BEQ &2A3B + 2A1A 85 88 STA &88 + 2A1C A9 00 LDA #&00 + 2A1E 8D C4 0C STA &0CC4 + 2A21 8D CB 0C STA &0CCB + 2A24 20 A0 19 JSR &19A0 + 2A27 AD CE 0C LDA &0CCE + 2A2A D0 DA BNE &2A06 + 2A2C A4 88 LDY &88 + 2A2E 8C CF 0C STY &0CCF + 2A31 A9 80 LDA #&80 + 2A33 19 00 04 ORA &0400,Y + 2A36 99 00 04 STA &0400,Y + 2A39 D0 D9 BNE &2A14 +.plin15 + 2A3B 85 88 STA &88 + 2A3D A9 00 LDA #&00 + 2A3F 8D C4 0C STA &0CC4 + 2A42 8D CB 0C STA &0CCB + 2A45 20 A0 19 JSR &19A0 + 2A48 AD CE 0C LDA &0CCE + 2A4B D0 3E BNE &2A8B +.plin16 + 2A4D A4 88 LDY &88 +.plin17 + 2A4F A5 89 LDA &89 + 2A51 D0 0A BNE &2A5D + 2A53 A6 8B LDX &8B + 2A55 20 5F 4B JSR &4B5F + 2A58 8D CE 0C STA &0CCE + 2A5B D0 2E BNE &2A8B +.plin18 + 2A5D A9 80 LDA #&80 + 2A5F 19 00 04 ORA &0400,Y + 2A62 99 00 04 STA &0400,Y + 2A65 CE C8 0C DEC &0CC8 + 2A68 F0 05 BEQ &2A6F + 2A6A A4 7E LDY &7E + 2A6C 4C 9E 29 JMP &299E +.plin19 + 2A6F A4 7E LDY &7E + 2A71 B9 00 49 LDA &4900,Y + 2A74 10 15 BPL &2A8B + 2A76 A4 7D LDY &7D + 2A78 B9 00 49 LDA &4900,Y + 2A7B 10 0E BPL &2A8B + 2A7D AD CE 0C LDA &0CCE + 2A80 09 80 ORA #&80 + 2A82 8D CE 0C STA &0CCE + 2A85 AC BF 0C LDY &0CBF + 2A88 20 96 4C JSR &4C96 +.plin20 + 2A8B 60 RTS +.SetObjectCoords + 2A8C AC CC 0C LDY &0CCC + 2A8F 8C BF 0C STY &0CBF + 2A92 98 TYA + 2A93 18 CLC + 2A94 69 D8 ADC #&D8 + 2A96 85 7F STA &7F + 2A98 A9 01 LDA #&01 + 2A9A 85 7C STA &7C + 2A9C C0 0C CPY #&0C + 2A9E 90 15 BCC &2AB5 + 2AA0 C0 10 CPY #&10 + 2AA2 B0 11 BCS &2AB5 + 2AA4 A9 00 LDA #&00 + 2AA6 85 7C STA &7C + 2AA8 B9 A0 44 LDA &44A0,Y + 2AAB 10 2B BPL &2AD8 + 2AAD 98 TYA + 2AAE 29 01 AND #&01 + 2AB0 D0 26 BNE &2AD8 + 2AB2 4C 93 2B JMP &2B93 +.objc1 + 2AB5 A5 7F LDA &7F + 2AB7 85 88 STA &88 + 2AB9 C0 06 CPY #&06 + 2ABB 90 1B BCC &2AD8 + 2ABD C0 0A CPY #&0A + 2ABF B0 17 BCS &2AD8 + 2AC1 A9 08 LDA #&08 + 2AC3 8D E6 0C STA &0CE6 +.objc2 + 2AC6 BE C2 3E LDX &3EC2,Y + 2AC9 BD D0 3E LDA &3ED0,X + 2ACC 99 78 44 STA &4478,Y + 2ACF BD F0 3E LDA &3EF0,X + 2AD2 99 C8 44 STA &44C8,Y + 2AD5 4C 20 2B JMP &2B20 +.objc3 + 2AD8 C0 22 CPY #&22 + 2ADA B0 44 BCS &2B20 + 2ADC C0 1E CPY #&1E + 2ADE 90 40 BCC &2B20 + 2AE0 D0 27 BNE &2B09 + 2AE2 AD E7 0C LDA &0CE7 + 2AE5 D0 36 BNE &2B1D + 2AE7 A9 08 LDA #&08 + 2AE9 8D E6 0C STA &0CE6 +.objc4 + 2AEC AE 02 42 LDX &4202 + 2AEF BD 10 42 LDA &4210,X + 2AF2 D0 26 BNE &2B1A + 2AF4 BD 08 42 LDA &4208,X + 2AF7 10 00 BPL &2AF9 +.objc5 + 2AF9 AA TAX + 2AFA BD 78 44 LDA &4478,X + 2AFD 99 78 44 STA &4478,Y + 2B00 BD C8 44 LDA &44C8,X + 2B03 99 C8 44 STA &44C8,Y + 2B06 4C 20 2B JMP &2B20 +.objc6 + 2B09 BE E4 41 LDX &41E4,Y + 2B0C 30 0C BMI &2B1A + 2B0E BD 10 42 LDA &4210,X + 2B11 C9 1B CMP #&1B + 2B13 B0 0B BCS &2B20 + 2B15 BD 08 42 LDA &4208,X + 2B18 10 DF BPL &2AF9 +.objc7 + 2B1A 4C A0 2B JMP &2BA0 +.objc8 + 2B1D 4C B7 2B JMP &2BB7 +.objc9 + 2B20 A6 88 LDX &88 + 2B22 38 SEC + 2B23 B9 00 44 LDA &4400,Y + 2B26 ED ED 0C SBC &0CED + 2B29 9D 00 09 STA &0900,X + 2B2C B9 78 44 LDA &4478,Y + 2B2F ED FD 0C SBC &0CFD + 2B32 9D 00 4A STA &4A00,X + 2B35 85 74 STA &74 + 2B37 A9 00 LDA #&00 + 2B39 ED 6D 0C SBC &0C6D + 2B3C 20 C0 2B JSR &2BC0 + 2B3F D0 52 BNE &2B93 + 2B41 38 SEC + 2B42 B9 28 44 LDA &4428,Y + 2B45 ED EE 0C SBC &0CEE + 2B48 9D 00 0A STA &0A00,X + 2B4B B9 A0 44 LDA &44A0,Y + 2B4E ED FE 0C SBC &0CFE + 2B51 9D 00 0B STA &0B00,X + 2B54 85 74 STA &74 + 2B56 A9 00 LDA #&00 + 2B58 ED 6E 0C SBC &0C6E + 2B5B 20 C0 2B JSR &2BC0 + 2B5E D0 33 BNE &2B93 + 2B60 38 SEC + 2B61 B9 50 44 LDA &4450,Y + 2B64 ED EF 0C SBC &0CEF + 2B67 9D 00 07 STA &0700,X + 2B6A B9 C8 44 LDA &44C8,Y + 2B6D ED FF 0C SBC &0CFF + 2B70 9D 00 49 STA &4900,X + 2B73 85 74 STA &74 + 2B75 A9 00 LDA #&00 + 2B77 ED 6F 0C SBC &0C6F + 2B7A 20 C0 2B JSR &2BC0 + 2B7D D0 14 BNE &2B93 + 2B7F A9 00 LDA #&00 + 2B81 8D CB 0C STA &0CCB + 2B84 20 8D 1D JSR &1D8D + 2B87 AC CC 0C LDY &0CCC + 2B8A AD CE 0C LDA &0CCE + 2B8D D0 28 BNE &2BB7 + 2B8F A9 C0 LDA #&C0 + 2B91 D0 26 BNE &2BB9 +.objc10 + 2B93 20 96 4C JSR &4C96 + 2B96 90 08 BCC &2BA0 + 2B98 CE E6 0C DEC &0CE6 + 2B9B F0 1A BEQ &2BB7 + 2B9D 4C C6 2A JMP &2AC6 +.objc11 + 2BA0 C0 1E CPY #&1E + 2BA2 D0 13 BNE &2BB7 + 2BA4 AD 02 42 LDA &4202 + 2BA7 18 CLC + 2BA8 69 01 ADC #&01 + 2BAA 29 07 AND #&07 + 2BAC 8D 02 42 STA &4202 + 2BAF CE E6 0C DEC &0CE6 + 2BB2 F0 03 BEQ &2BB7 + 2BB4 4C EC 2A JMP &2AEC +.objc12 + 2BB7 A9 40 LDA #&40 +.objc13 + 2BB9 19 D8 04 ORA &04D8,Y + 2BBC 99 D8 04 STA &04D8,Y + 2BBF 60 RTS +.CheckObjDistance + 2BC0 10 0B BPL &2BCD + 2BC2 C9 FF CMP #&FF + 2BC4 D0 13 BNE &2BD9 + 2BC6 A5 74 LDA &74 + 2BC8 49 FF EOR #&FF + 2BCA 4C D1 2B JMP &2BD1 +.objd1 + 2BCD D0 0A BNE &2BD9 + 2BCF A5 74 LDA &74 +.objd2 + 2BD1 D9 D8 3B CMP &3BD8,Y + 2BD4 B0 03 BCS &2BD9 + 2BD6 A9 00 LDA #&00 + 2BD8 60 RTS +.objd3 + 2BD9 A5 7C LDA &7C + 2BDB 60 RTS +.ResetLineLists + 2BDC A9 80 LDA #&80 + 2BDE 8D C2 0C STA &0CC2 + 2BE1 A9 0F LDA #&0F + 2BE3 8D C3 0C STA &0CC3 + 2BE6 20 AC 14 JSR &14AC + 2BE9 A9 00 LDA #&00 + 2BEB 85 8B STA &8B + 2BED 85 8A STA &8A + 2BEF A9 FF LDA #&FF + 2BF1 85 8F STA &8F + 2BF3 85 8D STA &8D + 2BF5 85 8E STA &8E +.rell1 + 2BF7 20 53 29 JSR &2953 + 2BFA E6 8B INC &8B + 2BFC A5 8B LDA &8B + 2BFE CD 07 42 CMP &4207 + 2C01 90 F4 BCC &2BF7 + 2C03 A2 03 LDX #&03 + 2C05 20 1C 2C JSR &2C1C +.FlipColours + 2C08 A2 0F LDX #&0F + 2C0A A0 80 LDY #&80 + 2C0C AD C3 0C LDA &0CC3 + 2C0F 30 04 BMI &2C15 + 2C11 A2 F0 LDX #&F0 + 2C13 A0 40 LDY #&40 +.flip1 + 2C15 8E C3 0C STX &0CC3 + 2C18 8C C2 0C STY &0CC2 + 2C1B 60 RTS +.SetColourToWhite + 2C1C A0 07 LDY #&07 + 2C1E D0 02 BNE &2C22 +.SetColourToBlack + 2C20 A0 00 LDY #&00 +.SetLogicalColour + 2C22 A9 13 LDA #&13 + 2C24 20 EE FF JSR &FFEE + 2C27 8A TXA + 2C28 20 EE FF JSR &FFEE + 2C2B 98 TYA + 2C2C A2 03 LDX #&03 +.setl1 + 2C2E 20 EE FF JSR &FFEE + 2C31 A9 00 LDA #&00 + 2C33 CA DEX + 2C34 10 F8 BPL &2C2E + 2C36 60 RTS +.DrawCanopyView + 2C37 20 AC 14 JSR &14AC + 2C3A A5 8A LDA &8A + 2C3C D0 02 BNE &2C40 + 2C3E F0 51 BEQ &2C91 +.view1 + 2C40 A9 00 LDA #&00 + 2C42 85 8C STA &8C +.view2 + 2C44 AA TAX + 2C45 BD 00 05 LDA &0500,X + 2C48 85 8B STA &8B + 2C4A D0 05 BNE &2C51 + 2C4C 20 47 33 JSR &3347 + 2C4F A5 8B LDA &8B +.view3 + 2C51 AA TAX + 2C52 BC 00 3E LDY &3E00,X + 2C55 84 7E STY &7E + 2C57 A9 00 LDA #&00 + 2C59 99 00 04 STA &0400,Y + 2C5C BC 30 3F LDY &3F30,X + 2C5F 84 7D STY &7D + 2C61 99 00 04 STA &0400,Y + 2C64 20 7F 10 JSR &107F + 2C67 E6 8C INC &8C + 2C69 A5 8C LDA &8C + 2C6B C5 8A CMP &8A + 2C6D 90 D5 BCC &2C44 + 2C6F 20 10 4E JSR &4E10 + 2C72 AD C3 0C LDA &0CC3 + 2C75 30 0D BMI &2C84 + 2C77 A2 02 LDX #&02 + 2C79 20 20 2C JSR &2C20 + 2C7C A2 01 LDX #&01 + 2C7E 20 1C 2C JSR &2C1C + 2C81 4C 8E 2C JMP &2C8E +.view4 + 2C84 A2 01 LDX #&01 + 2C86 20 20 2C JSR &2C20 + 2C89 A2 02 LDX #&02 + 2C8B 20 1C 2C JSR &2C1C +.view5 + 2C8E 20 8D 17 JSR &178D +.view6 + 2C91 20 08 2C JSR &2C08 + 2C94 60 RTS +.ProcessHorizonLine + 2C95 A6 7E LDX &7E + 2C97 20 4A 4B JSR &4B4A + 2C9A A6 7D LDX &7D + 2C9C 20 4A 4B JSR &4B4A + 2C9F A9 F0 LDA #&F0 + 2CA1 9D 00 4A STA &4A00,X + 2CA4 86 88 STX &88 +.phor1 + 2CA6 2C FA 0C BIT &0CFA + 2CA9 30 06 BMI &2CB1 + 2CAB 70 06 BVS &2CB3 +.phor2 + 2CAD A9 28 LDA #&28 + 2CAF D0 04 BNE &2CB5 +.phor3 + 2CB1 70 FA BVS &2CAD +.phor4 + 2CB3 A9 D8 LDA #&D8 +.phor5 + 2CB5 9D 00 49 STA &4900,X + 2CB8 A9 80 LDA #&80 + 2CBA 1D 00 04 ORA &0400,X + 2CBD 9D 00 04 STA &0400,X + 2CC0 A9 1B LDA #&1B + 2CC2 8D CB 0C STA &0CCB + 2CC5 20 8D 1D JSR &1D8D + 2CC8 E4 7E CPX &7E + 2CCA F0 06 BEQ &2CD2 + 2CCC A6 7E LDX &7E + 2CCE 86 88 STX &88 + 2CD0 D0 D4 BNE &2CA6 +.phor6 + 2CD2 60 RTS +.UpdateRadarBlip + 2CD3 A2 00 LDX #&00 + 2CD5 8E E6 0C STX &0CE6 + 2CD8 C0 21 CPY #&21 + 2CDA D0 05 BNE &2CE1 + 2CDC A9 01 LDA #&01 + 2CDE 8D E6 0C STA &0CE6 +.blip1 + 2CE1 B9 78 44 LDA &4478,Y + 2CE4 38 SEC + 2CE5 FD FD 0C SBC &0CFD,X + 2CE8 9D A8 0C STA &0CA8,X + 2CEB A9 00 LDA #&00 + 2CED FD 6D 0C SBC &0C6D,X + 2CF0 9D B8 0C STA &0CB8,X + 2CF3 98 TYA + 2CF4 18 CLC + 2CF5 69 28 ADC #&28 + 2CF7 A8 TAY + 2CF8 E8 INX + 2CF9 E0 03 CPX #&03 + 2CFB D0 E4 BNE &2CE1 + 2CFD A2 A8 LDX #&A8 + 2CFF A0 00 LDY #&00 + 2D01 84 88 STY &88 + 2D03 20 00 4B JSR &4B00 + 2D06 A9 00 LDA #&00 + 2D08 8D CB 0C STA &0CCB + 2D0B 20 8D 1D JSR &1D8D + 2D0E AD 00 4A LDA &4A00 + 2D11 85 72 STA &72 + 2D13 AD 00 49 LDA &4900 + 2D16 85 73 STA &73 + 2D18 A2 03 LDX #&03 +.blip2 + 2D1A 46 72 LSR &72 + 2D1C 6E 00 09 ROR &0900 + 2D1F 46 73 LSR &73 + 2D21 6E 00 07 ROR &0700 + 2D24 CA DEX + 2D25 10 F3 BPL &2D1A + 2D27 46 72 LSR &72 + 2D29 AD 00 09 LDA &0900 + 2D2C 6A ROR A + 2D2D 69 00 ADC #&00 + 2D2F 8D 00 09 STA &0900 +.DrawRadarBlip + 2D32 AE E6 0C LDX &0CE6 + 2D35 BD 88 36 LDA &3688,X + 2D38 85 7A STA &7A + 2D3A BD 8A 36 LDA &368A,X + 2D3D 85 7B STA &7B + 2D3F A9 80 LDA #&80 + 2D41 85 7F STA &7F + 2D43 AD 9C 2E LDA &2E9C + 2D46 20 2F 2E JSR &2E2F + 2D49 20 CD 21 JSR &21CD + 2D4C AE E6 0C LDX &0CE6 + 2D4F D0 15 BNE &2D66 + 2D51 A9 88 LDA #&88 + 2D53 8D 5E 78 STA &785E + 2D56 8D 98 79 STA &7998 + 2D59 8D 99 79 STA &7999 + 2D5C A9 11 LDA #&11 + 2D5E 8D 57 78 STA &7857 + 2D61 A9 CC LDA #&CC + 2D63 8D 5F 78 STA &785F +.drbl1 + 2D66 AD 00 09 LDA &0900 + 2D69 2C 00 4A BIT &4A00 + 2D6C 10 05 BPL &2D73 + 2D6E 49 FF EOR #&FF + 2D70 18 CLC + 2D71 69 01 ADC #&01 +.drbl2 + 2D73 C9 0D CMP #&0D + 2D75 B0 34 BCS &2DAB + 2D77 AD 00 07 LDA &0700 + 2D7A 2C 00 49 BIT &4900 + 2D7D 10 05 BPL &2D84 + 2D7F 49 FF EOR #&FF + 2D81 18 CLC + 2D82 69 01 ADC #&01 +.drbl3 + 2D84 C9 1A CMP #&1A + 2D86 B0 23 BCS &2DAB + 2D88 AD 00 09 LDA &0900 + 2D8B 18 CLC + 2D8C 69 8C ADC #&8C + 2D8E 85 7A STA &7A + 2D90 9D 88 36 STA &3688,X + 2D93 AD 00 07 LDA &0700 + 2D96 18 CLC + 2D97 69 D0 ADC #&D0 + 2D99 85 7B STA &7B + 2D9B 9D 8A 36 STA &368A,X + 2D9E A9 00 LDA #&00 + 2DA0 85 7F STA &7F + 2DA2 AD FB 0C LDA &0CFB + 2DA5 20 2F 2E JSR &2E2F + 2DA8 20 CD 21 JSR &21CD +.drbl4 + 2DAB 60 RTS +.AlienInAcornsville + 2DAC AC 05 42 LDY &4205 + 2DAF 30 1B BMI &2DCC + 2DB1 B9 10 42 LDA &4210,Y + 2DB4 C9 1B CMP #&1B + 2DB6 D0 42 BNE &2DFA + 2DB8 AD C1 44 LDA &44C1 + 2DBB C9 0C CMP #&0C + 2DBD B0 0E BCS &2DCD + 2DBF AD 49 44 LDA &4449 + 2DC2 69 0A ADC #&0A + 2DC4 8D 49 44 STA &4449 + 2DC7 90 03 BCC &2DCC + 2DC9 EE C1 44 INC &44C1 +.acrn1 + 2DCC 60 RTS +.acrn2 + 2DCD A2 00 LDX #&00 + 2DCF 86 74 STX &74 +.acrn3 + 2DD1 BD 99 44 LDA &4499,X + 2DD4 F0 13 BEQ &2DE9 + 2DD6 BD 21 44 LDA &4421,X + 2DD9 38 SEC + 2DDA ED F8 0C SBC &0CF8 + 2DDD 9D 21 44 STA &4421,X + 2DE0 B0 03 BCS &2DE5 + 2DE2 DE 99 44 DEC &4499,X +.acrn4 + 2DE5 A9 01 LDA #&01 + 2DE7 85 74 STA &74 +.acrn5 + 2DE9 E0 50 CPX #&50 + 2DEB F0 04 BEQ &2DF1 + 2DED A2 50 LDX #&50 + 2DEF D0 E0 BNE &2DD1 +.acrn6 + 2DF1 A5 74 LDA &74 + 2DF3 D0 D7 BNE &2DCC + 2DF5 A9 1C LDA #&1C + 2DF7 99 10 42 STA &4210,Y +.acrn7 + 2DFA C9 1C CMP #&1C + 2DFC D0 CE BNE &2DCC + 2DFE AD 8F 36 LDA &368F + 2E01 D0 C9 BNE &2DCC + 2E03 AD 49 44 LDA &4449 + 2E06 38 SEC + 2E07 E9 0A SBC #&0A + 2E09 8D 49 44 STA &4449 + 2E0C B0 03 BCS &2E11 + 2E0E CE C1 44 DEC &44C1 +.acrn8 + 2E11 AD C1 44 LDA &44C1 + 2E14 D0 B6 BNE &2DCC + 2E16 AD 49 44 LDA &4449 + 2E19 C9 0A CMP #&0A + 2E1B B0 AF BCS &2DCC + 2E1D 20 E8 4E JSR &4EE8 + 2E20 A9 5A LDA #&5A + 2E22 20 D3 2E JSR &2ED3 + 2E25 20 92 4D JSR &4D92 + 2E28 BA TSX + 2E29 E8 INX + 2E2A E8 INX + 2E2B 9A TXS + 2E2C 4C A5 26 JMP &26A5 +.GetRadarVector + 2E2F E0 00 CPX #&00 + 2E31 F0 04 BEQ &2E37 + 2E33 A0 01 LDY #&01 + 2E35 D0 22 BNE &2E59 +.rvec1 + 2E37 8D 9C 2E STA &2E9C + 2E3A 18 CLC + 2E3B 69 10 ADC #&10 + 2E3D 0A ASL A + 2E3E 85 70 STA &70 + 2E40 08 PHP + 2E41 6A ROR A + 2E42 38 SEC + 2E43 E9 40 SBC #&40 + 2E45 28 PLP + 2E46 6A ROR A + 2E47 49 C0 EOR #&C0 + 2E49 85 76 STA &76 + 2E4B A2 02 LDX #&02 + 2E4D A0 04 LDY #&04 + 2E4F 24 70 BIT &70 + 2E51 70 08 BVS &2E5B + 2E53 10 04 BPL &2E59 + 2E55 A0 01 LDY #&01 + 2E57 D0 02 BNE &2E5B +.rvec2 + 2E59 A2 01 LDX #&01 +.rvec3 + 2E5B 86 74 STX &74 + 2E5D 84 75 STY &75 + 2E5F 60 RTS +.colour1L2R + 2E60 08 + 2E61 0C + 2E62 0E + 2E63 0F + 2E64 04 + 2E65 06 + 2E66 07 + 2E67 02 + 2E68 03 + 2E69 01 +.colour1R2L + 2E6A 01 + 2E6B 03 + 2E6C 07 + 2E6D 0F + 2E6E 02 + 2E6F 06 + 2E70 0E + 2E71 04 + 2E72 0C + 2E73 08 +.colour2L2R + 2E74 80 + 2E75 C0 + 2E76 E0 + 2E77 F0 + 2E78 40 + 2E79 60 + 2E7A 70 + 2E7B 20 + 2E7C 30 + 2E7D 10 +.colour2R2L + 2E7E 10 + 2E7F 30 + 2E80 70 + 2E81 F0 + 2E82 20 + 2E83 60 + 2E84 E0 + 2E85 40 + 2E86 C0 + 2E87 80 +.colour1Row + 2E88 0F + 2E89 0F + 2E8A 0F + 2E8B 0F + 2E8C 0F + 2E8D 0F + 2E8E 0F + 2E8F 0F + 2E90 0F + 2E91 0F +.colour2Row + 2E92 F0 + 2E93 F0 + 2E94 F0 + 2E95 F0 + 2E96 F0 + 2E97 F0 + 2E98 F0 + 2E99 F0 + 2E9A F0 + 2E9B F0 +.previousCompass + 2E9C 20 +.previousTime + 2E9D 20 + 2E9E 20 + 2E9F 20 +.ClearCanopy + 2EA0 A2 00 LDX #&00 +.FillCanopy + 2EA2 8A TXA + 2EA3 A2 13 LDX #&13 + 2EA5 86 72 STX &72 + 2EA7 A0 59 LDY #&59 + 2EA9 A2 48 LDX #&48 +.FillCanopyRows + 2EAB 84 71 STY &71 + 2EAD 86 70 STX &70 + 2EAF 85 73 STA &73 +.fill1 + 2EB1 A0 00 LDY #&00 + 2EB3 A5 73 LDA &73 +.fill2 + 2EB5 91 70 STA (&70),Y + 2EB7 88 DEY + 2EB8 D0 FB BNE &2EB5 + 2EBA A0 2F LDY #&2F + 2EBC E6 71 INC &71 +.fill3 + 2EBE 91 70 STA (&70),Y + 2EC0 88 DEY + 2EC1 10 FB BPL &2EBE + 2EC3 A5 70 LDA &70 + 2EC5 18 CLC + 2EC6 69 40 ADC #&40 + 2EC8 85 70 STA &70 + 2ECA 90 02 BCC &2ECE + 2ECC E6 71 INC &71 +.fill4 + 2ECE C6 72 DEC &72 + 2ED0 D0 DF BNE &2EB1 + 2ED2 60 RTS +.Delay + 2ED3 85 74 STA &74 +.dely1 + 2ED5 85 75 STA &75 +.dely2 + 2ED7 85 76 STA &76 +.dely3 + 2ED9 C6 76 DEC &76 + 2EDB D0 FC BNE &2ED9 + 2EDD C6 75 DEC &75 + 2EDF D0 F6 BNE &2ED7 + 2EE1 C6 74 DEC &74 + 2EE3 D0 F0 BNE &2ED5 + 2EE5 60 RTS +.UpdateBullets + 2EE6 A0 0F LDY #&0F + 2EE8 8C CC 0C STY &0CCC + 2EEB A9 62 LDA #&62 + 2EED 85 88 STA &88 +.ubul1 + 2EEF 98 TYA + 2EF0 18 CLC + 2EF1 69 D8 ADC #&D8 + 2EF3 AA TAX + 2EF4 20 7B 25 JSR &257B + 2EF7 A9 00 LDA #&00 + 2EF9 8D CE 0C STA &0CCE + 2EFC 20 8C 2A JSR &2A8C + 2EFF 10 09 BPL &2F0A + 2F01 A4 88 LDY &88 + 2F03 A2 3C LDX #&3C + 2F05 20 5F 4B JSR &4B5F + 2F08 F0 05 BEQ &2F0F +.ubul2 + 2F0A A9 00 LDA #&00 + 2F0C 8D F1 0C STA &0CF1 +.ubul3 + 2F0F C6 88 DEC &88 + 2F11 CE CC 0C DEC &0CCC + 2F14 AC CC 0C LDY &0CCC + 2F17 C0 0C CPY #&0C + 2F19 B0 D4 BCS &2EEF + 2F1B 60 RTS +.SpawnAlien + 2F1C AE E7 0C LDX &0CE7 + 2F1F 30 2C BMI &2F4D + 2F21 F0 2A BEQ &2F4D + 2F23 AD C5 0C LDA &0CC5 + 2F26 D0 25 BNE &2F4D + 2F28 9D 0F 42 STA &420F,X + 2F2B AD 64 FE LDA &FE64 + 2F2E 29 0F AND #&0F + 2F30 C9 0E CMP #&0E + 2F32 B0 19 BCS &2F4D + 2F34 09 10 ORA #&10 + 2F36 CE E7 0C DEC &0CE7 + 2F39 A2 08 LDX #&08 +.spaw1 + 2F3B CA DEX + 2F3C EC E7 0C CPX &0CE7 + 2F3F D0 04 BNE &2F45 + 2F41 9D 08 42 STA &4208,X + 2F44 60 RTS +.spaw2 + 2F45 DD 08 42 CMP &4208,X + 2F48 D0 F1 BNE &2F3B + 2F4A EE E7 0C INC &0CE7 +.spaw3 + 2F4D 60 RTS +.UpdateAliens + 2F4E AD 06 42 LDA &4206 + 2F51 29 7F AND #&7F + 2F53 D0 15 BNE &2F6A + 2F55 A2 07 LDX #&07 +.upal1 + 2F57 BD 10 42 LDA &4210,X + 2F5A F0 0B BEQ &2F67 + 2F5C C9 16 CMP #&16 + 2F5E F0 07 BEQ &2F67 + 2F60 C9 1B CMP #&1B + 2F62 B0 03 BCS &2F67 + 2F64 FE 10 42 INC &4210,X +.upal2 + 2F67 CA DEX + 2F68 10 ED BPL &2F57 +.upal3 + 2F6A A0 1F LDY #&1F +.upal4 + 2F6C BE E4 41 LDX &41E4,Y + 2F6F 30 11 BMI &2F82 + 2F71 BD 10 42 LDA &4210,X + 2F74 C9 18 CMP #&18 + 2F76 F0 05 BEQ &2F7D + 2F78 BD 08 42 LDA &4208,X + 2F7B 10 37 BPL &2FB4 +.upal5 + 2F7D A9 FE LDA #&FE + 2F7F 99 E4 41 STA &41E4,Y +.upal6 + 2F82 A2 07 LDX #&07 +.upal7 + 2F84 BD 08 42 LDA &4208,X + 2F87 30 28 BMI &2FB1 + 2F89 BD 10 42 LDA &4210,X + 2F8C D0 23 BNE &2FB1 + 2F8E C0 1F CPY #&1F + 2F90 F0 06 BEQ &2F98 + 2F92 EC 03 42 CPX &4203 + 2F95 4C 9B 2F JMP &2F9B +.upal8 + 2F98 EC 04 42 CPX &4204 +.upal9 + 2F9B F0 14 BEQ &2FB1 + 2F9D 8A TXA + 2F9E 99 E4 41 STA &41E4,Y + 2FA1 86 75 STX &75 + 2FA3 A9 80 LDA #&80 + 2FA5 20 2C 30 JSR &302C + 2FA8 A6 75 LDX &75 + 2FAA A9 01 LDA #&01 + 2FAC 9D 10 42 STA &4210,X + 2FAF D0 03 BNE &2FB4 +.upal10 + 2FB1 CA DEX + 2FB2 10 D0 BPL &2F84 +.upal11 + 2FB4 C8 INY + 2FB5 C0 21 CPY #&21 + 2FB7 D0 B3 BNE &2F6C + 2FB9 BE E4 41 LDX &41E4,Y + 2FBC 30 08 BMI &2FC6 + 2FBE BD 08 42 LDA &4208,X + 2FC1 10 20 BPL &2FE3 + 2FC3 99 E4 41 STA &41E4,Y +.upal12 + 2FC6 A0 1F LDY #&1F +.upal13 + 2FC8 BE E4 41 LDX &41E4,Y + 2FCB 30 11 BMI &2FDE + 2FCD BD 10 42 LDA &4210,X + 2FD0 C9 16 CMP #&16 + 2FD2 D0 0A BNE &2FDE + 2FD4 8E 05 42 STX &4205 + 2FD7 A9 17 LDA #&17 + 2FD9 9D 10 42 STA &4210,X + 2FDC D0 05 BNE &2FE3 +.upal14 + 2FDE C8 INY + 2FDF C0 21 CPY #&21 + 2FE1 D0 E5 BNE &2FC8 +.upal15 + 2FE3 AD 06 42 LDA &4206 + 2FE6 29 7F AND #&7F + 2FE8 D0 41 BNE &302B + 2FEA A0 1F LDY #&1F +.upal16 + 2FEC BE E4 41 LDX &41E4,Y + 2FEF 30 12 BMI &3003 + 2FF1 BD 10 42 LDA &4210,X + 2FF4 C9 05 CMP #&05 + 2FF6 90 0B BCC &3003 + 2FF8 C9 14 CMP #&14 + 2FFA B0 07 BCS &3003 + 2FFC 29 03 AND #&03 + 2FFE D0 03 BNE &3003 + 3000 20 2C 30 JSR &302C +.upal17 + 3003 C8 INY + 3004 C0 21 CPY #&21 + 3006 D0 E4 BNE &2FEC + 3008 A2 07 LDX #&07 +.upal18 + 300A BD 08 42 LDA &4208,X + 300D 10 1C BPL &302B + 300F CA DEX + 3010 10 F8 BPL &300A + 3012 A9 08 LDA #&08 + 3014 8D E7 0C STA &0CE7 + 3017 A2 00 LDX #&00 + 3019 A9 50 LDA #&50 + 301B 20 CB 4B JSR &4BCB + 301E AD F8 0C LDA &0CF8 + 3021 18 CLC + 3022 69 04 ADC #&04 + 3024 C9 13 CMP #&13 + 3026 B0 03 BCS &302B + 3028 8D F8 0C STA &0CF8 +.upal19 + 302B 60 RTS +.ResizeFeedingAlien + 302C 85 7C STA &7C + 302E 84 74 STY &74 + 3030 A2 03 LDX #&03 + 3032 A9 BA LDA #&BA + 3034 C0 1F CPY #&1F + 3036 F0 02 BEQ &303A + 3038 A9 BF LDA #&BF +.size1 + 303A A8 TAY +.size2 + 303B B9 B0 35 LDA &35B0,Y + 303E 18 CLC + 303F 69 10 ADC #&10 + 3041 24 7C BIT &7C + 3043 10 04 BPL &3049 + 3045 29 0F AND #&0F + 3047 09 20 ORA #&20 +.size3 + 3049 99 B0 35 STA &35B0,Y + 304C 88 DEY + 304D CA DEX + 304E 10 EB BPL &303B + 3050 A4 74 LDY &74 + 3052 60 RTS +.CheckIfAlienIsHit + 3053 A9 7D LDA #&7D + 3055 85 81 STA &81 + 3057 A9 40 LDA #&40 + 3059 85 71 STA &71 + 305B A9 A0 LDA #&A0 + 305D 85 82 STA &82 + 305F 85 80 STA &80 + 3061 C0 1F CPY #&1F + 3063 B0 06 BCS &306B + 3065 A9 04 LDA #&04 + 3067 A2 03 LDX #&03 + 3069 D0 1D BNE &3088 +.ahit1 + 306B A9 00 LDA #&00 + 306D C0 20 CPY #&20 + 306F B0 04 BCS &3075 + 3071 A2 B7 LDX #&B7 + 3073 D0 04 BNE &3079 +.ahit2 + 3075 D0 1C BNE &3093 + 3077 A2 BC LDX #&BC +.ahit3 + 3079 BD B0 35 LDA &35B0,X + 307C 49 70 EOR #&70 + 307E 4A LSR A + 307F 4A LSR A + 3080 4A LSR A + 3081 4A LSR A + 3082 AA TAX + 3083 CA DEX + 3084 CA DEX + 3085 8A TXA + 3086 F0 0B BEQ &3093 +.ahit4 + 3088 46 81 LSR &81 + 308A 46 82 LSR &82 + 308C 46 80 LSR &80 + 308E 46 71 LSR &71 + 3090 CA DEX + 3091 D0 F5 BNE &3088 +.ahit5 + 3093 8D 8D 36 STA &368D + 3096 A9 00 LDA #&00 + 3098 8D 8F 36 STA &368F + 309B AC CC 0C LDY &0CCC + 309E 20 29 31 JSR &3129 + 30A1 A2 E4 LDX #&E4 + 30A3 86 86 STX &86 +.ahit6 + 30A5 A6 86 LDX &86 + 30A7 A9 1F LDA #&1F + 30A9 85 87 STA &87 + 30AB A0 00 LDY #&00 +.ahit7 + 30AD 84 71 STY &71 + 30AF 20 81 31 JSR &3181 + 30B2 A4 71 LDY &71 + 30B4 99 B8 0C STA &0CB8,Y + 30B7 A5 76 LDA &76 + 30B9 99 A8 0C STA &0CA8,Y + 30BC A5 72 LDA &72 + 30BE 99 E0 0C STA &0CE0,Y + 30C1 C8 INY + 30C2 C0 03 CPY #&03 + 30C4 D0 E7 BNE &30AD + 30C6 A2 A8 LDX #&A8 + 30C8 A0 00 LDY #&00 + 30CA 20 00 4B JSR &4B00 + 30CD A4 86 LDY &86 + 30CF 20 52 31 JSR &3152 + 30D2 A4 86 LDY &86 + 30D4 A2 D8 LDX #&D8 +.ahit8 + 30D6 98 TYA + 30D7 18 CLC + 30D8 69 28 ADC #&28 + 30DA A8 TAY + 30DB 8A TXA + 30DC 18 CLC + 30DD 69 28 ADC #&28 + 30DF AA TAX + 30E0 B9 00 44 LDA &4400,Y + 30E3 9D 00 44 STA &4400,X + 30E6 E0 C8 CPX #&C8 + 30E8 D0 EC BNE &30D6 +.ahit9 + 30EA A0 02 LDY #&02 + 30EC A2 50 LDX #&50 +.ahit10 + 30EE B9 E0 0C LDA &0CE0,Y + 30F1 18 CLC + 30F2 79 B8 0C ADC &0CB8,Y + 30F5 99 B8 0C STA &0CB8,Y + 30F8 90 08 BCC &3102 + 30FA FE 00 44 INC &4400,X + 30FD D0 03 BNE &3102 + 30FF FE 78 44 INC &4478,X +.ahit11 + 3102 8A TXA + 3103 38 SEC + 3104 E9 28 SBC #&28 + 3106 AA TAX + 3107 88 DEY + 3108 10 E4 BPL &30EE + 310A A2 00 LDX #&00 + 310C A0 00 LDY #&00 + 310E 20 7B 25 JSR &257B + 3111 A0 D8 LDY #&D8 + 3113 20 52 31 JSR &3152 + 3116 C6 87 DEC &87 + 3118 10 D0 BPL &30EA + 311A A5 86 LDA &86 + 311C 18 CLC + 311D 69 02 ADC #&02 + 311F 85 86 STA &86 + 3121 C9 E8 CMP #&E8 + 3123 F0 03 BEQ &3128 + 3125 4C A5 30 JMP &30A5 +.ahit12 + 3128 60 RTS +.GetAlienWeakSpot + 3129 A2 02 LDX #&02 +.weak1 + 312B B9 00 44 LDA &4400,Y + 312E 18 CLC + 312F 65 71 ADC &71 + 3131 95 77 STA &77,X + 3133 B9 78 44 LDA &4478,Y + 3136 69 05 ADC #&05 + 3138 95 7A STA &7A,X +.weak2 + 313A 98 TYA + 313B 18 CLC + 313C 69 28 ADC #&28 + 313E A8 TAY + 313F CA DEX + 3140 10 01 BPL &3143 + 3142 60 RTS +.weak3 + 3143 F0 E6 BEQ &312B + 3145 B9 00 44 LDA &4400,Y + 3148 95 77 STA &77,X + 314A B9 78 44 LDA &4478,Y + 314D 95 7A STA &7A,X + 314F 4C 3A 31 JMP &313A +.CheckAlienWeakSpot + 3152 A2 02 LDX #&02 +.spot1 + 3154 98 TYA + 3155 18 CLC + 3156 69 28 ADC #&28 + 3158 A8 TAY + 3159 B9 00 44 LDA &4400,Y + 315C 38 SEC + 315D F5 77 SBC &77,X + 315F 85 74 STA &74 + 3161 B9 78 44 LDA &4478,Y + 3164 F5 7A SBC &7A,X + 3166 D0 18 BNE &3180 + 3168 A5 74 LDA &74 + 316A D5 80 CMP &80,X + 316C B0 12 BCS &3180 + 316E CA DEX + 316F 10 E3 BPL &3154 + 3171 AD CC 0C LDA &0CCC + 3174 8D 8E 36 STA &368E + 3177 BA TSX + 3178 E8 INX + 3179 E8 INX + 317A 9A TXS + 317B A9 1B LDA #&1B + 317D 8D 8F 36 STA &368F +.spot2 + 3180 60 RTS +.GetTrailVectorStep + 3181 A9 00 LDA #&00 + 3183 85 70 STA &70 + 3185 85 72 STA &72 + 3187 8A TXA + 3188 18 CLC + 3189 69 28 ADC #&28 + 318B AA TAX + 318C BD 01 44 LDA &4401,X + 318F 38 SEC + 3190 FD 00 44 SBC &4400,X + 3193 85 76 STA &76 + 3195 BD 79 44 LDA &4479,X + 3198 FD 78 44 SBC &4478,X + 319B 10 02 BPL &319F + 319D C6 70 DEC &70 +.bulv1 + 319F A0 04 LDY #&04 +.bulv2 + 31A1 46 70 LSR &70 + 31A3 6A ROR A + 31A4 66 76 ROR &76 + 31A6 66 72 ROR &72 + 31A8 88 DEY + 31A9 10 F6 BPL &31A1 + 31AB 60 RTS +.ShowUpsideDownBar + 31AC AD FC 0C LDA &0CFC + 31AF 10 02 BPL &31B3 + 31B1 49 C0 EOR #&C0 +.upsi1 + 31B3 29 C0 AND #&C0 + 31B5 F0 02 BEQ &31B9 + 31B7 A9 0E LDA #&0E +.upsi2 + 31B9 8D A9 77 STA &77A9 + 31BC 60 RTS +.ProcessRunwayLine + 31BD AD D9 04 LDA &04D9 + 31C0 F0 12 BEQ &31D4 + 31C2 30 03 BMI &31C7 + 31C4 4C 46 32 JMP &3246 +.prun1 + 31C7 A5 8B LDA &8B + 31C9 C9 05 CMP #&05 + 31CB 90 06 BCC &31D3 + 31CD AD CA 0C LDA &0CCA + 31D0 8D CE 0C STA &0CCE +.prun2 + 31D3 60 RTS +.prun3 + 31D4 A9 00 LDA #&00 + 31D6 8D CB 0C STA &0CCB + 31D9 A9 01 LDA #&01 + 31DB 8D CC 0C STA &0CCC + 31DE 20 8C 2A JSR &2A8C + 31E1 10 63 BPL &3246 + 31E3 A9 00 LDA #&00 + 31E5 A2 05 LDX #&05 +.prun4 + 31E7 9D E0 0C STA &0CE0,X + 31EA CA DEX + 31EB 10 FA BPL &31E7 + 31ED A0 D9 LDY #&D9 + 31EF 8C CF 0C STY &0CCF + 31F2 A2 01 LDX #&01 + 31F4 20 67 1A JSR &1A67 + 31F7 A9 02 LDA #&02 + 31F9 85 88 STA &88 + 31FB 20 A0 19 JSR &19A0 + 31FE A2 05 LDX #&05 +.prun5 + 3200 BD E0 0C LDA &0CE0,X + 3203 9D B8 0C STA &0CB8,X + 3206 CA DEX + 3207 10 F7 BPL &3200 + 3209 A9 04 LDA #&04 + 320B 85 88 STA &88 + 320D 20 A0 19 JSR &19A0 + 3210 A0 02 LDY #&02 + 3212 A2 03 LDX #&03 + 3214 20 67 1A JSR &1A67 + 3217 AD CE 0C LDA &0CCE + 321A F0 06 BEQ &3222 + 321C A9 40 LDA #&40 + 321E 8D D9 04 STA &04D9 + 3221 60 RTS +.prun6 + 3222 A2 04 LDX #&04 + 3224 20 3B 33 JSR &333B + 3227 A0 01 LDY #&01 + 3229 A2 0A LDX #&0A +.prun7 + 322B 20 5F 4B JSR &4B5F + 322E 8D CE 0C STA &0CCE + 3231 D0 08 BNE &323B + 3233 C0 03 CPY #&03 + 3235 F0 19 BEQ &3250 + 3237 A0 03 LDY #&03 + 3239 D0 F0 BNE &322B +.prun8 + 323B A9 80 LDA #&80 + 323D 8D CA 0C STA &0CCA + 3240 A5 8B LDA &8B + 3242 C9 05 CMP #&05 + 3244 90 04 BCC &324A +.prun9 + 3246 A9 80 LDA #&80 + 3248 D0 02 BNE &324C +.prun10 + 324A A9 00 LDA #&00 +.prun11 + 324C 8D CE 0C STA &0CCE + 324F 60 RTS +.prun12 + 3250 A2 02 LDX #&02 +.prun13 + 3252 18 CLC + 3253 BD E3 0C LDA &0CE3,X + 3256 10 01 BPL &3259 + 3258 38 SEC +.prun14 + 3259 6A ROR A + 325A 9D E3 0C STA &0CE3,X + 325D BD E0 0C LDA &0CE0,X + 3260 6A ROR A + 3261 9D E0 0C STA &0CE0,X + 3264 CA DEX + 3265 10 EB BPL &3252 + 3267 A0 02 LDY #&02 + 3269 A2 15 LDX #&15 + 326B 20 67 1A JSR &1A67 + 326E A0 01 LDY #&01 + 3270 A2 05 LDX #&05 + 3272 20 67 1A JSR &1A67 + 3275 A2 05 LDX #&05 +.prun15 + 3277 BD E0 0C LDA &0CE0,X + 327A 9D DA 0C STA &0CDA,X + 327D CA DEX + 327E 10 F7 BPL &3277 + 3280 A2 05 LDX #&05 + 3282 A9 00 LDA #&00 +.prun16 + 3284 95 74 STA &74,X + 3286 CA DEX + 3287 10 FB BPL &3284 + 3289 A2 02 LDX #&02 +.prun17 + 328B A9 00 LDA #&00 + 328D 85 72 STA &72 + 328F BD BB 0C LDA &0CBB,X + 3292 10 02 BPL &3296 + 3294 C6 72 DEC &72 +.prun18 + 3296 46 72 LSR &72 + 3298 6A ROR A + 3299 9D E3 0C STA &0CE3,X + 329C BD B8 0C LDA &0CB8,X + 329F 6A ROR A + 32A0 76 74 ROR &74,X + 32A2 A0 02 LDY #&02 +.prun19 + 32A4 46 72 LSR &72 + 32A6 7E E3 0C ROR &0CE3,X + 32A9 6A ROR A + 32AA 76 74 ROR &74,X + 32AC 88 DEY + 32AD 10 F5 BPL &32A4 + 32AF 9D E0 0C STA &0CE0,X + 32B2 CA DEX + 32B3 10 D6 BPL &328B + 32B5 A2 A8 LDX #&A8 + 32B7 A0 05 LDY #&05 + 32B9 20 25 4B JSR &4B25 +.prun20 + 32BC A2 02 LDX #&02 +.prun21 + 32BE 18 CLC + 32BF B5 77 LDA &77,X + 32C1 75 74 ADC &74,X + 32C3 95 77 STA &77,X + 32C5 BD A8 0C LDA &0CA8,X + 32C8 7D E0 0C ADC &0CE0,X + 32CB 9D A8 0C STA &0CA8,X + 32CE BD B8 0C LDA &0CB8,X + 32D1 7D E3 0C ADC &0CE3,X + 32D4 9D B8 0C STA &0CB8,X + 32D7 CA DEX + 32D8 10 E4 BPL &32BE + 32DA A2 A8 LDX #&A8 + 32DC C8 INY + 32DD 20 00 4B JSR &4B00 + 32E0 C0 13 CPY #&13 + 32E2 D0 D8 BNE &32BC + 32E4 A2 13 LDX #&13 + 32E6 20 3B 33 JSR &333B + 32E9 A2 05 LDX #&05 +.prun22 + 32EB BD DA 0C LDA &0CDA,X + 32EE 9D E0 0C STA &0CE0,X + 32F1 CA DEX + 32F2 10 F7 BPL &32EB + 32F4 AD 06 49 LDA &4906 + 32F7 85 70 STA &70 + 32F9 A0 06 LDY #&06 +.prun23 + 32FB B9 00 49 LDA &4900,Y + 32FE 45 70 EOR &70 + 3300 30 07 BMI &3309 + 3302 C8 INY + 3303 C0 14 CPY #&14 + 3305 90 F4 BCC &32FB + 3307 B0 31 BCS &333A +.prun24 + 3309 A5 70 LDA &70 + 330B 10 09 BPL &3316 + 330D 88 DEY + 330E A9 01 LDA #&01 + 3310 85 71 STA &71 + 3312 A2 04 LDX #&04 + 3314 D0 06 BNE &331C +.prun25 + 3316 A9 02 LDA #&02 + 3318 85 71 STA &71 + 331A A2 03 LDX #&03 +.prun26 + 331C 20 67 1A JSR &1A67 + 331F A2 02 LDX #&02 +.prun27 + 3321 A9 00 LDA #&00 + 3323 38 SEC + 3324 FD E0 0C SBC &0CE0,X + 3327 9D E0 0C STA &0CE0,X + 332A A9 00 LDA #&00 + 332C FD E3 0C SBC &0CE3,X + 332F 9D E3 0C STA &0CE3,X + 3332 CA DEX + 3333 10 EC BPL &3321 + 3335 A6 71 LDX &71 + 3337 20 67 1A JSR &1A67 +.prun28 + 333A 60 RTS +.SetPointVisibility + 333B A9 80 LDA #&80 + 333D 1D 00 04 ORA &0400,X + 3340 9D 00 04 STA &0400,X + 3343 CA DEX + 3344 D0 F5 BNE &333B + 3346 60 RTS +.DrawHalfHorizon + 3347 A2 1E LDX #&1E + 3349 A0 20 LDY #&20 + 334B BD 00 4A LDA &4A00,X + 334E 85 74 STA &74 + 3350 BD 00 09 LDA &0900,X + 3353 0A ASL A + 3354 26 74 ROL &74 + 3356 38 SEC + 3357 ED 1F 09 SBC &091F + 335A 99 00 09 STA &0900,Y + 335D A5 74 LDA &74 + 335F ED 1F 4A SBC &4A1F + 3362 99 00 4A STA &4A00,Y + 3365 BD 00 0B LDA &0B00,X + 3368 85 74 STA &74 + 336A BD 00 0A LDA &0A00,X + 336D 0A ASL A + 336E 26 74 ROL &74 + 3370 38 SEC + 3371 ED 1F 0A SBC &0A1F + 3374 99 00 0A STA &0A00,Y + 3377 A5 74 LDA &74 + 3379 ED 1F 0B SBC &0B1F + 337C 99 00 0B STA &0B00,Y + 337F 86 7D STX &7D + 3381 84 7E STY &7E + 3383 20 7B 10 JSR &107B + 3386 60 RTS +.FillUpFuelTank + 3387 AD 06 42 LDA &4206 + 338A 29 03 AND #&03 + 338C F0 01 BEQ &338F + 338E 60 RTS +.fuel1 + 338F AA TAX + 3390 AD 92 36 LDA &3692 + 3393 C9 41 CMP #&41 + 3395 B0 06 BCS &339D + 3397 EE 92 36 INC &3692 + 339A 4C AE 33 JMP &33AE +.fuel2 + 339D 8E E8 0C STX &0CE8 + 33A0 60 RTS +.UpdateFuelGauge + 33A1 AD 06 42 LDA &4206 + 33A4 29 0F AND #&0F + 33A6 F0 01 BEQ &33A9 + 33A8 60 RTS +.upfu1 + 33A9 A2 80 LDX #&80 + 33AB AD 92 36 LDA &3692 +.DrawFuelPixel + 33AE 86 7F STX &7F + 33B0 18 CLC + 33B1 69 B8 ADC #&B8 + 33B3 85 7B STA &7B + 33B5 A9 02 LDA #&02 + 33B7 85 7A STA &7A + 33B9 A9 01 LDA #&01 + 33BB 85 74 STA &74 + 33BD 85 75 STA &75 + 33BF A9 00 LDA #&00 + 33C1 85 76 STA &76 + 33C3 20 CD 21 JSR &21CD + 33C6 60 RTS +.ProcessVolumeKeys + 33C7 A2 DB LDX #&DB + 33C9 20 32 25 JSR &2532 + 33CC F0 0B BEQ &33D9 + 33CE A2 EA LDX #&EA + 33D0 20 32 25 JSR &2532 + 33D3 D0 18 BNE &33ED + 33D5 A9 FF LDA #&FF + 33D7 D0 02 BNE &33DB +.volk1 + 33D9 A9 01 LDA #&01 +.volk2 + 33DB 18 CLC + 33DC 6D B2 4E ADC &4EB2 + 33DF 30 02 BMI &33E3 + 33E1 D0 0A BNE &33ED +.volk3 + 33E3 C9 F1 CMP #&F1 + 33E5 90 06 BCC &33ED + 33E7 8D B2 4E STA &4EB2 + 33EA EE E4 4E INC &4EE4 +.volk4 + 33ED 60 RTS +.RetractFlapsIfFast + 33EE C9 0E CMP #&0E + 33F0 90 0D BCC &33FF + 33F2 AD F3 0C LDA &0CF3 + 33F5 F0 08 BEQ &33FF + 33F7 A9 00 LDA #&00 + 33F9 8D F3 0C STA &0CF3 + 33FC 20 57 24 JSR &2457 +.flap1 + 33FF 60 RTS +.xObjectPoint + 3400 0D + 3401 00 + 3402 00 + 3403 00 + 3404 08 + 3405 00 + 3406 00 + 3407 00 + 3408 00 + 3409 00 + 340A 00 + 340B 00 + 340C 00 + 340D 00 + 340E 00 + 340F 00 + 3410 00 + 3411 00 + 3412 00 + 3413 00 + 3414 00 + 3415 00 + 3416 00 + 3417 00 + 3418 0A + 3419 00 + 341A 00 + 341B 00 + 341C 00 + 341D 04 + 341E 00 + 341F 00 + 3420 04 + 3421 00 + 3422 00 + 3423 00 + 3424 04 + 3425 00 + 3426 0C + 3427 05 + 3428 08 + 3429 00 + 342A 00 + 342B 00 + 342C 00 + 342D 00 + 342E 00 + 342F 00 + 3430 0C + 3431 00 + 3432 00 + 3433 0C + 3434 0B + 3435 00 + 3436 00 + 3437 00 + 3438 00 + 3439 02 + 343A 01 + 343B 03 + 343C 06 + 343D 0A + 343E 03 + 343F 09 + 3440 06 + 3441 0D + 3442 00 + 3443 01 + 3444 05 + 3445 01 + 3446 00 + 3447 09 + 3448 00 + 3449 08 + 344A 00 + 344B 0E + 344C 00 + 344D 0D + 344E 05 + 344F 0C + 3450 0F + 3451 00 + 3452 07 + 3453 06 + 3454 0C + 3455 00 + 3456 00 + 3457 08 + 3458 00 + 3459 0F + 345A 00 + 345B 04 + 345C 03 + 345D 0A + 345E 00 + 345F 00 + 3460 00 + 3461 0A + 3462 00 + 3463 00 + 3464 00 + 3465 00 + 3466 00 + 3467 0B + 3468 0B + 3469 0D + 346A 0E + 346B 04 + 346C 04 + 346D 0D + 346E 0C + 346F 0D + 3470 04 + 3471 0E + 3472 00 + 3473 03 + 3474 0F + 3475 0A + 3476 0B + 3477 02 + 3478 0E + 3479 00 + 347A 0B + 347B 0A + 347C 0A + 347D 05 + 347E 0E + 347F 00 + 3480 00 + 3481 0B + 3482 0E + 3483 05 + 3484 04 + 3485 09 + 3486 0A + 3487 00 + 3488 01 + 3489 05 + 348A 0D + 348B 00 + 348C 00 + 348D 0D + 348E 0F + 348F 02 + 3490 00 + 3491 09 + 3492 0D + 3493 0F + 3494 0B + 3495 00 + 3496 0B + 3497 0D + 3498 02 + 3499 03 + 349A 0A + 349B 08 + 349C 00 + 349D 00 + 349E 04 + 349F 0C + 34A0 00 + 34A1 06 + 34A2 0E + 34A3 0B + 34A4 00 + 34A5 05 + 34A6 0A + 34A7 0E + 34A8 00 + 34A9 05 + 34AA 0B + 34AB 05 + 34AC 00 + 34AD 05 + 34AE 0D + 34AF 02 + 34B0 00 + 34B1 02 + 34B2 00 + 34B3 0C + 34B4 0E + 34B5 05 + 34B6 05 + 34B7 00 + 34B8 03 + 34B9 0E + 34BA 03 + 34BB 05 + 34BC 00 + 34BD 03 + 34BE 0E + 34BF 03 + 34C0 09 + 34C1 04 + 34C2 05 + 34C3 09 + 34C4 07 + 34C5 04 + 34C6 04 + 34C7 00 + 34C8 02 + 34C9 00 + 34CA 00 + 34CB 00 + 34CC 0B + 34CD 0C + 34CE 0B + 34CF 00 + 34D0 00 + 34D1 00 + 34D2 00 + 34D3 04 + 34D4 01 + 34D5 00 + 34D6 00 + 34D7 04 +.yObjectPoint + 34D8 3D + 34D9 00 + 34DA 00 + 34DB 00 + 34DC 00 + 34DD 00 + 34DE 00 + 34DF 00 + 34E0 00 + 34E1 00 + 34E2 00 + 34E3 00 + 34E4 00 + 34E5 00 + 34E6 00 + 34E7 00 + 34E8 00 + 34E9 00 + 34EA 00 + 34EB 00 + 34EC 00 + 34ED 00 + 34EE 00 + 34EF 00 + 34F0 00 + 34F1 01 + 34F2 01 + 34F3 01 + 34F4 01 + 34F5 00 + 34F6 00 + 34F7 00 + 34F8 00 + 34F9 00 + 34FA 00 + 34FB 00 + 34FC 00 + 34FD 00 + 34FE 00 + 34FF 00 + 3500 00 + 3501 00 + 3502 0A + 3503 0A + 3504 00 + 3505 00 + 3506 0A + 3507 0A + 3508 00 + 3509 00 + 350A 00 + 350B 00 + 350C 00 + 350D 0A + 350E 0A + 350F 0A + 3510 0A + 3511 00 + 3512 00 + 3513 00 + 3514 00 + 3515 00 + 3516 00 + 3517 00 + 3518 00 + 3519 00 + 351A 00 + 351B 00 + 351C 00 + 351D 00 + 351E 00 + 351F 00 + 3520 00 + 3521 00 + 3522 00 + 3523 00 + 3524 00 + 3525 00 + 3526 00 + 3527 00 + 3528 00 + 3529 0C + 352A 0C + 352B 07 + 352C 08 + 352D 0A + 352E 00 + 352F 00 + 3530 02 + 3531 00 + 3532 0A + 3533 0C + 3534 05 + 3535 07 + 3536 0A + 3537 00 + 3538 00 + 3539 00 + 353A 00 + 353B 02 + 353C 00 + 353D 00 + 353E 00 + 353F 00 + 3540 00 + 3541 00 + 3542 00 + 3543 00 + 3544 00 + 3545 00 + 3546 00 + 3547 00 + 3548 00 + 3549 00 + 354A 00 + 354B 00 + 354C 00 + 354D 00 + 354E 00 + 354F 00 + 3550 00 + 3551 00 + 3552 00 + 3553 00 + 3554 00 + 3555 00 + 3556 00 + 3557 00 + 3558 00 + 3559 00 + 355A 00 + 355B 00 + 355C 00 + 355D 00 + 355E 00 + 355F 00 + 3560 00 + 3561 00 + 3562 00 + 3563 00 + 3564 00 + 3565 00 + 3566 00 + 3567 00 + 3568 00 + 3569 00 + 356A 00 + 356B 00 + 356C 00 + 356D 00 + 356E 00 + 356F 00 + 3570 00 + 3571 00 + 3572 00 + 3573 00 + 3574 00 + 3575 00 + 3576 00 + 3577 00 + 3578 00 + 3579 00 + 357A 00 + 357B 00 + 357C 00 + 357D 00 + 357E 00 + 357F 00 + 3580 00 + 3581 00 + 3582 00 + 3583 00 + 3584 00 + 3585 00 + 3586 00 + 3587 00 + 3588 00 + 3589 00 + 358A 00 + 358B 00 + 358C 00 + 358D 00 + 358E 00 + 358F 00 + 3590 00 + 3591 00 + 3592 04 + 3593 00 + 3594 00 + 3595 00 + 3596 00 + 3597 04 + 3598 00 + 3599 00 + 359A 00 + 359B 00 + 359C 04 + 359D 00 + 359E 03 + 359F 00 + 35A0 03 + 35A1 02 + 35A2 02 + 35A3 00 + 35A4 00 + 35A5 00 + 35A6 00 + 35A7 08 + 35A8 08 + 35A9 08 + 35AA 08 + 35AB 01 + 35AC 00 + 35AD 00 + 35AE 00 + 35AF 02 +.zObjectPoint + 35B0 0D + 35B1 00 + 35B2 9C + 35B3 00 + 35B4 50 + 35B5 00 + 35B6 00 + 35B7 00 + 35B8 00 + 35B9 00 + 35BA 00 + 35BB 00 + 35BC 00 + 35BD 00 + 35BE 00 + 35BF 00 + 35C0 00 + 35C1 00 + 35C2 00 + 35C3 00 + 35C4 00 + 35C5 00 + 35C6 48 + 35C7 48 + 35C8 60 + 35C9 80 + 35CA 80 + 35CB 80 + 35CC 80 + 35CD 80 + 35CE 00 + 35CF 00 + 35D0 80 + 35D1 5A + 35D2 4C + 35D3 00 + 35D4 82 + 35D5 82 + 35D6 40 + 35D7 5A + 35D8 40 + 35D9 38 + 35DA 30 + 35DB 30 + 35DC 38 + 35DD 00 + 35DE 30 + 35DF 30 + 35E0 50 + 35E1 38 + 35E2 38 + 35E3 50 + 35E4 60 + 35E5 40 + 35E6 40 + 35E7 40 + 35E8 40 + 35E9 8E + 35EA 8B + 35EB 99 + 35EC 8C + 35ED 81 + 35EE 79 + 35EF 6F + 35F0 8D + 35F1 43 + 35F2 9E + 35F3 80 + 35F4 9C + 35F5 80 + 35F6 00 + 35F7 50 + 35F8 59 + 35F9 96 + 35FA 81 + 35FB 97 + 35FC 81 + 35FD 92 + 35FE 4D + 35FF 80 + 3600 1F + 3601 20 + 3602 17 + 3603 2B + 3604 25 + 3605 00 + 3606 81 + 3607 40 + 3608 80 + 3609 1F + 360A 20 + 360B 14 + 360C 2C + 360D 28 + 360E 00 + 360F 00 + 3610 81 + 3611 10 + 3612 81 + 3613 80 + 3614 00 + 3615 4B + 3616 4A + 3617 87 + 3618 94 + 3619 3D + 361A 90 + 361B 3A + 361C 80 + 361D 83 + 361E 80 + 361F 9A + 3620 8C + 3621 91 + 3622 8C + 3623 85 + 3624 80 + 3625 85 + 3626 84 + 3627 8E + 3628 40 + 3629 89 + 362A 97 + 362B 93 + 362C 93 + 362D 99 + 362E 82 + 362F 00 + 3630 87 + 3631 8E + 3632 8A + 3633 80 + 3634 8E + 3635 94 + 3636 92 + 3637 00 + 3638 8F + 3639 9A + 363A 84 + 363B 00 + 363C 8B + 363D 89 + 363E 70 + 363F 80 + 3640 8D + 3641 99 + 3642 8B + 3643 85 + 3644 80 + 3645 8B + 3646 8D + 3647 82 + 3648 80 + 3649 88 + 364A 87 + 364B 82 + 364C 00 + 364D 86 + 364E 88 + 364F 80 + 3650 86 + 3651 99 + 3652 8C + 3653 70 + 3654 83 + 3655 9C + 3656 99 + 3657 80 + 3658 8C + 3659 9B + 365A 87 + 365B 80 + 365C 89 + 365D 98 + 365E 8D + 365F 80 + 3660 88 + 3661 80 + 3662 0C + 3663 00 + 3664 2E + 3665 85 + 3666 85 + 3667 23 + 3668 20 + 3669 2E + 366A 23 + 366B 85 + 366C 23 + 366D 20 + 366E 2E + 366F 23 + 3670 79 + 3671 55 + 3672 54 + 3673 68 + 3674 55 + 3675 40 + 3676 52 + 3677 44 + 3678 54 + 3679 80 + 367A 80 + 367B 4C + 367C 50 + 367D 40 + 367E 50 + 367F 40 + 3680 40 + 3681 40 + 3682 40 + 3683 74 + 3684 84 + 3685 82 + 3686 85 + 3687 75 +.xRadarBuffer + 3688 8A + 3689 8A +.yRadarBuffer + 368A D0 + 368B D0 +.distanceFromHit + 368C 48 +.feedingStage + 368D 49 +.hitObjectId + 368E 3D +.hitTimer + 368F 26 +.fuelUsedLo + 3690 34 +.fuelUsedHi + 3691 34 +.fuelLevel + 3692 41 +.explodeTo + 3693 B2 + 3694 B7 + 3695 BC + 3696 C1 + 3697 0F +.explodeFrom + 3698 B4 + 3699 BA + 369A BF + 369B C8 +.scoreLo + 369C 49 +.scoreHi + 369D 3D +.highScoreLo + 369E 26 +.highScoreHi + 369F 34 +.SetEngine + 36A0 CD E9 0C CMP &0CE9 + 36A3 F0 1A BEQ &36BF + 36A5 8D E9 0C STA &0CE9 + 36A8 AA TAX + 36A9 20 B5 4D JSR &4DB5 + 36AC AD 85 4F LDA &4F85 + 36AF AE E9 0C LDX &0CE9 + 36B2 D0 05 BNE &36B9 + 36B4 18 CLC + 36B5 69 14 ADC #&14 + 36B7 D0 03 BNE &36BC +.seng1 + 36B9 38 SEC + 36BA E9 14 SBC #&14 +.seng2 + 36BC 8D 85 4F STA &4F85 +.seng3 + 36BF 60 RTS +.skillZoneLo + 36C0 A8 + 36C1 00 + 36C2 56 + 36C3 A8 + 36C4 60 + 36C5 56 + 36C6 88 + 36C7 00 + 36C8 56 + 36C9 30 + 36CA 00 + 36CB 30 + 36CC D0 + 36CD 00 + 36CE 70 + 36CF 10 + 36D0 00 + 36D1 70 + 36D2 E0 + 36D3 00 + 36D4 C0 +.skillZoneHi + 36D5 4C + 36D6 00 + 36D7 86 + 36D8 4C + 36D9 00 + 36DA 86 + 36DB 4C + 36DC 00 + 36DD 86 + 36DE 04 + 36DF 00 + 36E0 03 + 36E1 04 + 36E2 00 + 36E3 04 + 36E4 06 + 36E5 00 + 36E6 04 + 36E7 04 + 36E8 00 + 36E9 03 +.skillZoneSize + 36EA A8 + 36EB 10 + 36EC 18 + 36ED A8 + 36EE 16 + 36EF 18 + 36F0 B8 + 36F1 2C + 36F2 18 + 36F3 A8 + 36F4 44 + 36F5 28 + 36F6 28 + 36F7 84 + 36F8 48 + 36F9 60 + 36FA 24 + 36FB 38 + 36FC 78 + 36FD 20 + 36FE 60 + 36FF 20 +.shift4Right + 3700 00 + 3701 00 + 3702 00 + 3703 00 + 3704 00 + 3705 00 + 3706 00 + 3707 00 + 3708 00 + 3709 00 + 370A 00 + 370B 00 + 370C 00 + 370D 00 + 370E 00 + 370F 00 + 3710 01 + 3711 01 + 3712 01 + 3713 01 + 3714 01 + 3715 01 + 3716 01 + 3717 01 + 3718 01 + 3719 01 + 371A 01 + 371B 01 + 371C 01 + 371D 01 + 371E 01 + 371F 01 + 3720 02 + 3721 02 + 3722 02 + 3723 02 + 3724 02 + 3725 02 + 3726 02 + 3727 02 + 3728 02 + 3729 02 + 372A 02 + 372B 02 + 372C 02 + 372D 02 + 372E 02 + 372F 02 + 3730 03 + 3731 03 + 3732 03 + 3733 03 + 3734 03 + 3735 03 + 3736 03 + 3737 03 + 3738 03 + 3739 03 + 373A 03 + 373B 03 + 373C 03 + 373D 03 + 373E 03 + 373F 03 + 3740 04 + 3741 04 + 3742 04 + 3743 04 + 3744 04 + 3745 04 + 3746 04 + 3747 04 + 3748 04 + 3749 04 + 374A 04 + 374B 04 + 374C 04 + 374D 04 + 374E 04 + 374F 04 + 3750 05 + 3751 05 + 3752 05 + 3753 05 + 3754 05 + 3755 05 + 3756 05 + 3757 05 + 3758 05 + 3759 05 + 375A 05 + 375B 05 + 375C 05 + 375D 05 + 375E 05 + 375F 05 + 3760 06 + 3761 06 + 3762 06 + 3763 06 + 3764 06 + 3765 06 + 3766 06 + 3767 06 + 3768 06 + 3769 06 + 376A 06 + 376B 06 + 376C 06 + 376D 06 + 376E 06 + 376F 06 + 3770 07 + 3771 07 + 3772 07 + 3773 07 + 3774 07 + 3775 07 + 3776 07 + 3777 07 + 3778 07 + 3779 07 + 377A 07 + 377B 07 + 377C 07 + 377D 07 + 377E 07 + 377F 07 + 3780 08 + 3781 08 + 3782 08 + 3783 08 + 3784 08 + 3785 08 + 3786 08 + 3787 08 + 3788 08 + 3789 08 + 378A 08 + 378B 08 + 378C 08 + 378D 08 + 378E 08 + 378F 08 + 3790 09 + 3791 09 + 3792 09 + 3793 09 + 3794 09 + 3795 09 + 3796 09 + 3797 09 + 3798 09 + 3799 09 + 379A 09 + 379B 09 + 379C 09 + 379D 09 + 379E 09 + 379F 09 + 37A0 0A + 37A1 0A + 37A2 0A + 37A3 0A + 37A4 0A + 37A5 0A + 37A6 0A + 37A7 0A + 37A8 0A + 37A9 0A + 37AA 0A + 37AB 0A + 37AC 0A + 37AD 0A + 37AE 0A + 37AF 0A + 37B0 0B + 37B1 0B + 37B2 0B + 37B3 0B + 37B4 0B + 37B5 0B + 37B6 0B + 37B7 0B + 37B8 0B + 37B9 0B + 37BA 0B + 37BB 0B + 37BC 0B + 37BD 0B + 37BE 0B + 37BF 0B + 37C0 0C + 37C1 0C + 37C2 0C + 37C3 0C + 37C4 0C + 37C5 0C + 37C6 0C + 37C7 0C + 37C8 0C + 37C9 0C + 37CA 0C + 37CB 0C + 37CC 0C + 37CD 0C + 37CE 0C + 37CF 0C + 37D0 0D + 37D1 0D + 37D2 0D + 37D3 0D + 37D4 0D + 37D5 0D + 37D6 0D + 37D7 0D + 37D8 0D + 37D9 0D + 37DA 0D + 37DB 0D + 37DC 0D + 37DD 0D + 37DE 0D + 37DF 0D + 37E0 0E + 37E1 0E + 37E2 0E + 37E3 0E + 37E4 0E + 37E5 0E + 37E6 0E + 37E7 0E + 37E8 0E + 37E9 0E + 37EA 0E + 37EB 0E + 37EC 0E + 37ED 0E + 37EE 0E + 37EF 0E + 37F0 0F + 37F1 0F + 37F2 0F + 37F3 0F + 37F4 0F + 37F5 0F + 37F6 0F + 37F7 0F + 37F8 0F + 37F9 0F + 37FA 0F + 37FB 0F + 37FC 0F + 37FD 0F + 37FE 0F + 37FF 0F +.shift4Left + 3800 00 + 3801 10 + 3802 20 + 3803 30 + 3804 40 + 3805 50 + 3806 60 + 3807 70 + 3808 80 + 3809 90 + 380A A0 + 380B B0 + 380C C0 + 380D D0 + 380E E0 + 380F F0 + 3810 00 + 3811 10 + 3812 20 + 3813 30 + 3814 40 + 3815 50 + 3816 60 + 3817 70 + 3818 80 + 3819 90 + 381A A0 + 381B B0 + 381C C0 + 381D D0 + 381E E0 + 381F F0 + 3820 00 + 3821 10 + 3822 20 + 3823 30 + 3824 40 + 3825 50 + 3826 60 + 3827 70 + 3828 80 + 3829 90 + 382A A0 + 382B B0 + 382C C0 + 382D D0 + 382E E0 + 382F F0 + 3830 00 + 3831 10 + 3832 20 + 3833 30 + 3834 40 + 3835 50 + 3836 60 + 3837 70 + 3838 80 + 3839 90 + 383A A0 + 383B B0 + 383C C0 + 383D D0 + 383E E0 + 383F F0 + 3840 00 + 3841 10 + 3842 20 + 3843 30 + 3844 40 + 3845 50 + 3846 60 + 3847 70 + 3848 80 + 3849 90 + 384A A0 + 384B B0 + 384C C0 + 384D D0 + 384E E0 + 384F F0 + 3850 00 + 3851 10 + 3852 20 + 3853 30 + 3854 40 + 3855 50 + 3856 60 + 3857 70 + 3858 80 + 3859 90 + 385A A0 + 385B B0 + 385C C0 + 385D D0 + 385E E0 + 385F F0 + 3860 00 + 3861 10 + 3862 20 + 3863 30 + 3864 40 + 3865 50 + 3866 60 + 3867 70 + 3868 80 + 3869 90 + 386A A0 + 386B B0 + 386C C0 + 386D D0 + 386E E0 + 386F F0 + 3870 00 + 3871 10 + 3872 20 + 3873 30 + 3874 40 + 3875 50 + 3876 60 + 3877 70 + 3878 80 + 3879 90 + 387A A0 + 387B B0 + 387C C0 + 387D D0 + 387E E0 + 387F F0 + 3880 00 + 3881 10 + 3882 20 + 3883 30 + 3884 40 + 3885 50 + 3886 60 + 3887 70 + 3888 80 + 3889 90 + 388A A0 + 388B B0 + 388C C0 + 388D D0 + 388E E0 + 388F F0 + 3890 00 + 3891 10 + 3892 20 + 3893 30 + 3894 40 + 3895 50 + 3896 60 + 3897 70 + 3898 80 + 3899 90 + 389A A0 + 389B B0 + 389C C0 + 389D D0 + 389E E0 + 389F F0 + 38A0 00 + 38A1 10 + 38A2 20 + 38A3 30 + 38A4 40 + 38A5 50 + 38A6 60 + 38A7 70 + 38A8 80 + 38A9 90 + 38AA A0 + 38AB B0 + 38AC C0 + 38AD D0 + 38AE E0 + 38AF F0 + 38B0 00 + 38B1 10 + 38B2 20 + 38B3 30 + 38B4 40 + 38B5 50 + 38B6 60 + 38B7 70 + 38B8 80 + 38B9 90 + 38BA A0 + 38BB B0 + 38BC C0 + 38BD D0 + 38BE E0 + 38BF F0 + 38C0 00 + 38C1 10 + 38C2 20 + 38C3 30 + 38C4 40 + 38C5 50 + 38C6 60 + 38C7 70 + 38C8 80 + 38C9 90 + 38CA A0 + 38CB B0 + 38CC C0 + 38CD D0 + 38CE E0 + 38CF F0 + 38D0 00 + 38D1 10 + 38D2 20 + 38D3 30 + 38D4 40 + 38D5 50 + 38D6 60 + 38D7 70 + 38D8 80 + 38D9 90 + 38DA A0 + 38DB B0 + 38DC C0 + 38DD D0 + 38DE E0 + 38DF F0 + 38E0 00 + 38E1 10 + 38E2 20 + 38E3 30 + 38E4 40 + 38E5 50 + 38E6 60 + 38E7 70 + 38E8 80 + 38E9 90 + 38EA A0 + 38EB B0 + 38EC C0 + 38ED D0 + 38EE E0 + 38EF F0 + 38F0 00 + 38F1 10 + 38F2 20 + 38F3 30 + 38F4 40 + 38F5 50 + 38F6 60 + 38F7 70 + 38F8 80 + 38F9 90 + 38FA A0 + 38FB B0 + 38FC C0 + 38FD D0 + 38FE E0 + 38FF F0 +.divisionHi + 3900 FF + 3901 FE + 3902 FD + 3903 FC + 3904 FB + 3905 FA + 3906 F9 + 3907 F8 + 3908 F7 + 3909 F6 + 390A F5 + 390B F4 + 390C F3 + 390D F2 + 390E F1 + 390F F0 + 3910 EF + 3911 EF + 3912 EE + 3913 ED + 3914 EC + 3915 EB + 3916 EA + 3917 E9 + 3918 E9 + 3919 E8 + 391A E7 + 391B E6 + 391C E5 + 391D E4 + 391E E4 + 391F E3 + 3920 E2 + 3921 E1 + 3922 E1 + 3923 E0 + 3924 DF + 3925 DE + 3926 DD + 3927 DD + 3928 DC + 3929 DB + 392A DA + 392B DA + 392C D9 + 392D D8 + 392E D8 + 392F D7 + 3930 D6 + 3931 D5 + 3932 D5 + 3933 D4 + 3934 D3 + 3935 D3 + 3936 D2 + 3937 D1 + 3938 D1 + 3939 D0 + 393A CF + 393B CF + 393C CE + 393D CD + 393E CD + 393F CC + 3940 CB + 3941 CB + 3942 CA + 3943 C9 + 3944 C9 + 3945 C8 + 3946 C8 + 3947 C7 + 3948 C6 + 3949 C6 + 394A C5 + 394B C5 + 394C C4 + 394D C3 + 394E C3 + 394F C2 + 3950 C2 + 3951 C1 + 3952 C0 + 3953 C0 + 3954 BF + 3955 BF + 3956 BE + 3957 BE + 3958 BD + 3959 BC + 395A BC + 395B BB + 395C BB + 395D BA + 395E BA + 395F B9 + 3960 B9 + 3961 B8 + 3962 B8 + 3963 B7 + 3964 B7 + 3965 B6 + 3966 B6 + 3967 B5 + 3968 B5 + 3969 B4 + 396A B4 + 396B B3 + 396C B3 + 396D B2 + 396E B2 + 396F B1 + 3970 B1 + 3971 B0 + 3972 B0 + 3973 AF + 3974 AF + 3975 AE + 3976 AE + 3977 AD + 3978 AD + 3979 AC + 397A AC + 397B AB + 397C AB + 397D AB + 397E AA + 397F AA + 3980 A9 + 3981 A9 + 3982 A8 + 3983 A8 + 3984 A7 + 3985 A7 + 3986 A7 + 3987 A6 + 3988 A6 + 3989 A5 + 398A A5 + 398B A4 + 398C A4 + 398D A4 + 398E A3 + 398F A3 + 3990 A2 + 3991 A2 + 3992 A2 + 3993 A1 + 3994 A1 + 3995 A0 + 3996 A0 + 3997 A0 + 3998 9F + 3999 9F + 399A 9E + 399B 9E + 399C 9E + 399D 9D + 399E 9D + 399F 9C + 39A0 9C + 39A1 9C + 39A2 9B + 39A3 9B + 39A4 9B + 39A5 9A + 39A6 9A + 39A7 99 + 39A8 99 + 39A9 99 + 39AA 98 + 39AB 98 + 39AC 98 + 39AD 97 + 39AE 97 + 39AF 97 + 39B0 96 + 39B1 96 + 39B2 96 + 39B3 95 + 39B4 95 + 39B5 94 + 39B6 94 + 39B7 94 + 39B8 93 + 39B9 93 + 39BA 93 + 39BB 92 + 39BC 92 + 39BD 92 + 39BE 91 + 39BF 91 + 39C0 91 + 39C1 90 + 39C2 90 + 39C3 90 + 39C4 90 + 39C5 8F + 39C6 8F + 39C7 8F + 39C8 8E + 39C9 8E + 39CA 8E + 39CB 8D + 39CC 8D + 39CD 8D + 39CE 8C + 39CF 8C + 39D0 8C + 39D1 8B + 39D2 8B + 39D3 8B + 39D4 8B + 39D5 8A + 39D6 8A + 39D7 8A + 39D8 89 + 39D9 89 + 39DA 89 + 39DB 88 + 39DC 88 + 39DD 88 + 39DE 88 + 39DF 87 + 39E0 87 + 39E1 87 + 39E2 86 + 39E3 86 + 39E4 86 + 39E5 86 + 39E6 85 + 39E7 85 + 39E8 85 + 39E9 85 + 39EA 84 + 39EB 84 + 39EC 84 + 39ED 83 + 39EE 83 + 39EF 83 + 39F0 83 + 39F1 82 + 39F2 82 + 39F3 82 + 39F4 82 + 39F5 81 + 39F6 81 + 39F7 81 + 39F8 81 + 39F9 80 + 39FA 80 + 39FB 80 + 39FC 80 + 39FD 7F + 39FE 7F + 39FF 7F +.timesTable + 3A00 00 + 3A01 00 + 3A02 00 + 3A03 00 + 3A04 00 + 3A05 00 + 3A06 00 + 3A07 00 + 3A08 00 + 3A09 00 + 3A0A 00 + 3A0B 00 + 3A0C 00 + 3A0D 00 + 3A0E 00 + 3A0F 00 + 3A10 00 + 3A11 01 + 3A12 02 + 3A13 03 + 3A14 04 + 3A15 05 + 3A16 06 + 3A17 07 + 3A18 08 + 3A19 09 + 3A1A 0A + 3A1B 0B + 3A1C 0C + 3A1D 0D + 3A1E 0E + 3A1F 0F + 3A20 00 + 3A21 02 + 3A22 04 + 3A23 06 + 3A24 08 + 3A25 0A + 3A26 0C + 3A27 0E + 3A28 10 + 3A29 12 + 3A2A 14 + 3A2B 16 + 3A2C 18 + 3A2D 1A + 3A2E 1C + 3A2F 1E + 3A30 00 + 3A31 03 + 3A32 06 + 3A33 09 + 3A34 0C + 3A35 0F + 3A36 12 + 3A37 15 + 3A38 18 + 3A39 1B + 3A3A 1E + 3A3B 21 + 3A3C 24 + 3A3D 27 + 3A3E 2A + 3A3F 2D + 3A40 00 + 3A41 04 + 3A42 08 + 3A43 0C + 3A44 10 + 3A45 14 + 3A46 18 + 3A47 1C + 3A48 20 + 3A49 24 + 3A4A 28 + 3A4B 2C + 3A4C 30 + 3A4D 34 + 3A4E 38 + 3A4F 3C + 3A50 00 + 3A51 05 + 3A52 0A + 3A53 0F + 3A54 14 + 3A55 19 + 3A56 1E + 3A57 23 + 3A58 28 + 3A59 2D + 3A5A 32 + 3A5B 37 + 3A5C 3C + 3A5D 41 + 3A5E 46 + 3A5F 4B + 3A60 00 + 3A61 06 + 3A62 0C + 3A63 12 + 3A64 18 + 3A65 1E + 3A66 24 + 3A67 2A + 3A68 30 + 3A69 36 + 3A6A 3C + 3A6B 42 + 3A6C 48 + 3A6D 4E + 3A6E 54 + 3A6F 5A + 3A70 00 + 3A71 07 + 3A72 0E + 3A73 15 + 3A74 1C + 3A75 23 + 3A76 2A + 3A77 31 + 3A78 38 + 3A79 3F + 3A7A 46 + 3A7B 4D + 3A7C 54 + 3A7D 5B + 3A7E 62 + 3A7F 69 + 3A80 00 + 3A81 08 + 3A82 10 + 3A83 18 + 3A84 20 + 3A85 28 + 3A86 30 + 3A87 38 + 3A88 40 + 3A89 48 + 3A8A 50 + 3A8B 58 + 3A8C 60 + 3A8D 68 + 3A8E 70 + 3A8F 78 + 3A90 00 + 3A91 09 + 3A92 12 + 3A93 1B + 3A94 24 + 3A95 2D + 3A96 36 + 3A97 3F + 3A98 48 + 3A99 51 + 3A9A 5A + 3A9B 63 + 3A9C 6C + 3A9D 75 + 3A9E 7E + 3A9F 87 + 3AA0 00 + 3AA1 0A + 3AA2 14 + 3AA3 1E + 3AA4 28 + 3AA5 32 + 3AA6 3C + 3AA7 46 + 3AA8 50 + 3AA9 5A + 3AAA 64 + 3AAB 6E + 3AAC 78 + 3AAD 82 + 3AAE 8C + 3AAF 96 + 3AB0 00 + 3AB1 0B + 3AB2 16 + 3AB3 21 + 3AB4 2C + 3AB5 37 + 3AB6 42 + 3AB7 4D + 3AB8 58 + 3AB9 63 + 3ABA 6E + 3ABB 79 + 3ABC 84 + 3ABD 8F + 3ABE 9A + 3ABF A5 + 3AC0 00 + 3AC1 0C + 3AC2 18 + 3AC3 24 + 3AC4 30 + 3AC5 3C + 3AC6 48 + 3AC7 54 + 3AC8 60 + 3AC9 6C + 3ACA 78 + 3ACB 84 + 3ACC 90 + 3ACD 9C + 3ACE A8 + 3ACF B4 + 3AD0 00 + 3AD1 0D + 3AD2 1A + 3AD3 27 + 3AD4 34 + 3AD5 41 + 3AD6 4E + 3AD7 5B + 3AD8 68 + 3AD9 75 + 3ADA 82 + 3ADB 8F + 3ADC 9C + 3ADD A9 + 3ADE B6 + 3ADF C3 + 3AE0 00 + 3AE1 0E + 3AE2 1C + 3AE3 2A + 3AE4 38 + 3AE5 46 + 3AE6 54 + 3AE7 62 + 3AE8 70 + 3AE9 7E + 3AEA 8C + 3AEB 9A + 3AEC A8 + 3AED B6 + 3AEE C4 + 3AEF D2 + 3AF0 00 + 3AF1 0F + 3AF2 1E + 3AF3 2D + 3AF4 3C + 3AF5 4B + 3AF6 5A + 3AF7 69 + 3AF8 78 + 3AF9 87 + 3AFA 96 + 3AFB A5 + 3AFC B4 + 3AFD C3 + 3AFE D2 + 3AFF E1 +.maxLineDistance + 3B00 10 + 3B01 7D + 3B02 7D + 3B03 7D + 3B04 7D + 3B05 10 + 3B06 10 + 3B07 10 + 3B08 10 + 3B09 10 + 3B0A 28 + 3B0B 10 + 3B0C 50 + 3B0D 50 + 3B0E 32 + 3B0F 32 + 3B10 32 + 3B11 28 + 3B12 28 + 3B13 28 + 3B14 50 + 3B15 50 + 3B16 28 + 3B17 28 + 3B18 50 + 3B19 50 + 3B1A 50 + 3B1B 50 + 3B1C 50 + 3B1D 50 + 3B1E 50 + 3B1F 50 + 3B20 50 + 3B21 50 + 3B22 50 + 3B23 50 + 3B24 50 + 3B25 50 + 3B26 50 + 3B27 3C + 3B28 46 + 3B29 3C + 3B2A 46 + 3B2B 3C + 3B2C 46 + 3B2D 3C + 3B2E 46 + 3B2F 3F + 3B30 3F + 3B31 3F + 3B32 3F + 3B33 3C + 3B34 46 + 3B35 3C + 3B36 46 + 3B37 3C + 3B38 3F + 3B39 3F + 3B3A 3F + 3B3B 3F + 3B3C 1E + 3B3D 1E + 3B3E 46 + 3B3F 3C + 3B40 46 + 3B41 3C + 3B42 46 + 3B43 3C + 3B44 46 + 3B45 3C + 3B46 46 + 3B47 3C + 3B48 46 + 3B49 3C + 3B4A 46 + 3B4B 3C + 3B4C 78 + 3B4D 46 + 3B4E 7D + 3B4F 7D + 3B50 7D + 3B51 7D + 3B52 7D + 3B53 7D + 3B54 7D + 3B55 7D + 3B56 7D + 3B57 7D + 3B58 7D + 3B59 7D + 3B5A 7D + 3B5B 7D + 3B5C 7D + 3B5D 7D + 3B5E 7D + 3B5F 7D + 3B60 7D + 3B61 7D + 3B62 7D + 3B63 7D + 3B64 7D + 3B65 7D + 3B66 7D + 3B67 7D + 3B68 7D + 3B69 7D + 3B6A 7D + 3B6B 7D + 3B6C 7D + 3B6D 7D + 3B6E 7D + 3B6F 7D + 3B70 7D + 3B71 7D + 3B72 7D + 3B73 7D + 3B74 7D + 3B75 7D + 3B76 7D + 3B77 7D + 3B78 7D + 3B79 7D + 3B7A 7D + 3B7B 78 + 3B7C 7D + 3B7D 7D + 3B7E 7D + 3B7F 7D + 3B80 7D + 3B81 7D + 3B82 7D + 3B83 7D + 3B84 7D + 3B85 7D + 3B86 7D + 3B87 19 + 3B88 19 + 3B89 19 + 3B8A 64 + 3B8B 64 + 3B8C 64 + 3B8D 64 + 3B8E 64 + 3B8F 64 + 3B90 64 + 3B91 64 + 3B92 64 + 3B93 64 + 3B94 64 + 3B95 64 + 3B96 78 + 3B97 64 + 3B98 64 + 3B99 64 + 3B9A 64 + 3B9B 64 + 3B9C 64 + 3B9D 64 + 3B9E 64 + 3B9F 64 + 3BA0 64 + 3BA1 78 + 3BA2 78 + 3BA3 78 + 3BA4 78 + 3BA5 78 + 3BA6 78 + 3BA7 78 + 3BA8 78 + 3BA9 3C + 3BAA 3C + 3BAB 3C + 3BAC 3C + 3BAD 3C + 3BAE 3C + 3BAF 3C + 3BB0 3C + 3BB1 3C + 3BB2 3C + 3BB3 3C + 3BB4 3C + 3BB5 3C + 3BB6 3C + 3BB7 3C + 3BB8 3C + 3BB9 3C + 3BBA 78 + 3BBB 78 + 3BBC 78 + 3BBD 78 + 3BBE 78 + 3BBF 78 + 3BC0 78 + 3BC1 3F + 3BC2 0D + 3BC3 03 + 3BC4 B1 + 3BC5 10 + 3BC6 2E + 3BC7 64 + 3BC8 6C + 3BC9 70 + 3BCA 32 + 3BCB 20 + 3BCC 53 + 3BCD 54 + 3BCE 41 + 3BCF 26 + 3BD0 37 + 3BD1 36 + 3BD2 0D + 3BD3 03 + 3BD4 B2 + 3BD5 19 + 3BD6 2E + 3BD7 64 +.maxObjDistance + 3BD8 6C + 3BD9 7D + 3BDA 7D + 3BDB 7D + 3BDC 7D + 3BDD 7D + 3BDE 28 + 3BDF 28 + 3BE0 6E + 3BE1 6E + 3BE2 3A + 3BE3 42 + 3BE4 1E + 3BE5 1E + 3BE6 1E + 3BE7 1E + 3BE8 7D + 3BE9 7D + 3BEA 7D + 3BEB 7D + 3BEC 7D + 3BED 7D + 3BEE 7D + 3BEF 7D + 3BF0 7D + 3BF1 7D + 3BF2 7D + 3BF3 7D + 3BF4 7D + 3BF5 7D + 3BF6 19 + 3BF7 5A + 3BF8 5A + 3BF9 5A + 3BFA 7D + 3BFB 3A + 3BFC 42 + 3BFD 4E + 3BFE 45 + 3BFF 20 +.lineBufferR + 3C00 64 + 3C01 6C + 3C02 70 + 3C03 32 + 3C04 0D + 3C05 03 + 3C06 B4 + 3C07 19 + 3C08 20 + 3C09 20 + 3C0A 20 + 3C0B 20 + 3C0C 20 + 3C0D 20 + 3C0E 44 + 3C0F 45 + 3C10 43 + 3C11 26 + 3C12 37 + 3C13 34 + 3C14 3A + 3C15 42 + 3C16 4E + 3C17 45 + 3C18 20 + 3C19 64 + 3C1A 6C + 3C1B 70 + 3C1C 31 + 3C1D 0D + 3C1E 03 + 3C1F B5 + 3C20 0D + 3C21 20 + 3C22 20 + 3C23 20 + 3C24 20 + 3C25 20 + 3C26 20 + 3C27 72 + 3C28 74 + 3C29 73 + 3C2A 0D + 3C2B 03 + 3C2C B6 + 3C2D 05 + 3C2E 20 + 3C2F 0D + 3C30 03 + 3C31 BF + 3C32 25 + 3C33 2E + 3C34 55 + 3C35 42 + 3C36 55 + 3C37 4C + 3C38 20 + 3C39 4C + 3C3A 44 + 3C3B 59 + 3C3C 23 + 3C3D 31 + 3C3E 35 + 3C3F 3A + 3C40 53 + 3C41 54 + 3C42 59 + 3C43 20 + 3C44 4F + 3C45 42 + 3C46 3A + 3C47 4C + 3C48 44 + 3C49 41 + 3C4A 23 + 3C4B 39 + 3C4C 38 + 3C4D 3A + 3C4E 53 + 3C4F 54 + 3C50 41 + 3C51 20 + 3C52 50 + 3C53 50 + 3C54 0D + 3C55 03 + 3C56 C0 + 3C57 1D + 3C58 2E + 3C59 75 + 3C5A 62 + 3C5B 75 + 3C5C 32 + 3C5D 20 + 3C5E 54 + 3C5F 59 +.lineBufferW + 3C60 41 + 3C61 3A + 3C62 43 + 3C63 4C + 3C64 43 + 3C65 3A + 3C66 41 + 3C67 44 + 3C68 43 + 3C69 23 + 3C6A 26 + 3C6B 44 + 3C6C 38 + 3C6D 3A + 3C6E 54 + 3C6F 41 + 3C70 58 + 3C71 0D + 3C72 03 + 3C73 CA + 3C74 12 + 3C75 20 + 3C76 20 + 3C77 20 + 3C78 20 + 3C79 20 + 3C7A 20 + 3C7B 4A + 3C7C 53 + 3C7D 52 + 3C7E 20 + 3C7F 4D + 3C80 4F + 3C81 42 + 3C82 4A + 3C83 0D + 3C84 03 + 3C85 D4 + 3C86 12 + 3C87 20 + 3C88 20 + 3C89 20 + 3C8A 20 + 3C8B 20 + 3C8C 20 + 3C8D 4A + 3C8E 53 + 3C8F 52 + 3C90 20 + 3C91 55 + 3C92 4F + 3C93 42 + 3C94 4A + 3C95 0D + 3C96 03 + 3C97 DE + 3C98 25 + 3C99 20 + 3C9A 20 + 3C9B 20 + 3C9C 20 + 3C9D 20 + 3C9E 20 + 3C9F 4C + 3CA0 44 + 3CA1 59 + 3CA2 20 + 3CA3 4F + 3CA4 42 + 3CA5 3A + 3CA6 4C + 3CA7 44 + 3CA8 41 + 3CA9 20 + 3CAA 4F + 3CAB 53 + 3CAC 54 + 3CAD 41 + 3CAE 54 + 3CAF 2C + 3CB0 59 + 3CB1 3A + 3CB2 42 + 3CB3 4D + 3CB4 49 + 3CB5 20 + 3CB6 75 + 3CB7 62 + 3CB8 75 + 3CB9 31 + 3CBA 0D + 3CBB 03 + 3CBC E8 + 3CBD 1B + 3CBE 20 + 3CBF 20 +.lineBufferS + 3CC0 20 + 3CC1 20 + 3CC2 20 + 3CC3 20 + 3CC4 4C + 3CC5 44 + 3CC6 41 + 3CC7 23 + 3CC8 30 + 3CC9 3A + 3CCA 53 + 3CCB 54 + 3CCC 41 + 3CCD 20 + 3CCE 46 + 3CCF 52 + 3CD0 46 + 3CD1 4C + 3CD2 41 + 3CD3 47 + 3CD4 20 + 3CD5 0D + 3CD6 03 + 3CD7 F2 + 3CD8 17 + 3CD9 2E + 3CDA 75 + 3CDB 62 + 3CDC 75 + 3CDD 31 + 3CDE 20 + 3CDF 44 + 3CE0 45 + 3CE1 43 + 3CE2 20 + 3CE3 50 + 3CE4 50 + 3CE5 3A + 3CE6 44 + 3CE7 45 + 3CE8 43 + 3CE9 20 + 3CEA 4F + 3CEB 42 + 3CEC 0D + 3CED 03 + 3CEE FC + 3CEF 20 + 3CF0 20 + 3CF1 20 + 3CF2 20 + 3CF3 20 + 3CF4 20 + 3CF5 20 + 3CF6 4C + 3CF7 44 + 3CF8 59 + 3CF9 20 + 3CFA 4F + 3CFB 42 + 3CFC 3A + 3CFD 43 + 3CFE 50 + 3CFF 59 + 3D00 23 + 3D01 31 + 3D02 32 + 3D03 3A + 3D04 42 + 3D05 43 + 3D06 53 + 3D07 20 + 3D08 75 + 3D09 62 + 3D0A 75 + 3D0B 32 + 3D0C 0D + 3D0D 04 + 3D0E 06 + 3D0F 0D + 3D10 20 + 3D11 20 + 3D12 20 + 3D13 20 + 3D14 20 + 3D15 20 + 3D16 72 + 3D17 74 + 3D18 73 + 3D19 0D + 3D1A 04 + 3D1B 10 + 3D1C 05 + 3D1D 20 + 3D1E 0D + 3D1F 04 +.lineBufferG + 3D20 1A + 3D21 24 + 3D22 2E + 3D23 53 + 3D24 55 + 3D25 54 + 3D26 52 + 3D27 20 + 3D28 4A + 3D29 4D + 3D2A 50 + 3D2B 20 + 3D2C 54 + 3D2D 45 + 3D2E 53 + 3D2F 54 + 3D30 3A + 3D31 42 + 3D32 4D + 3D33 49 + 3D34 20 + 3D35 73 + 3D36 75 + 3D37 74 + 3D38 31 + 3D39 3A + 3D3A 42 + 3D3B 45 + 3D3C 51 + 3D3D 20 + 3D3E 73 + 3D3F 75 + 3D40 74 + 3D41 31 + 3D42 0D + 3D43 04 + 3D44 24 + 3D45 1B + 3D46 20 + 3D47 20 + 3D48 20 + 3D49 20 + 3D4A 20 + 3D4B 20 + 3D4C 4C + 3D4D 44 + 3D4E 41 + 3D4F 26 + 3D50 30 + 3D51 43 + 3D52 43 + 3D53 35 + 3D54 3A + 3D55 42 + 3D56 4E + 3D57 45 + 3D58 20 + 3D59 73 + 3D5A 75 + 3D5B 74 + 3D5C 31 + 3D5D 0D + 3D5E 04 + 3D5F 2E + 3D60 27 + 3D61 20 + 3D62 20 + 3D63 20 + 3D64 20 + 3D65 20 + 3D66 20 + 3D67 4C + 3D68 44 + 3D69 41 + 3D6A 26 + 3D6B 46 + 3D6C 45 + 3D6D 36 + 3D6E 34 + 3D6F 3A + 3D70 80 + 3D71 23 + 3D72 31 + 3D73 35 + 3D74 3A + 3D75 43 + 3D76 4D + 3D77 50 + 3D78 23 + 3D79 31 + 3D7A 34 + 3D7B 3A + 3D7C 42 + 3D7D 43 + 3D7E 53 + 3D7F 20 +.lineBufferT + 3D80 73 + 3D81 75 + 3D82 74 + 3D83 31 + 3D84 0D + 3D85 04 + 3D86 38 + 3D87 0F + 3D88 20 + 3D89 20 + 3D8A 20 + 3D8B 20 + 3D8C 20 + 3D8D 20 + 3D8E 84 + 3D8F 41 + 3D90 23 + 3D91 31 + 3D92 36 + 3D93 0D + 3D94 04 + 3D95 42 + 3D96 19 + 3D97 2E + 3D98 73 + 3D99 75 + 3D9A 74 + 3D9B 33 + 3D9C 20 + 3D9D 44 + 3D9E 45 + 3D9F 43 + 3DA0 20 + 3DA1 54 + 3DA2 48 + 3DA3 45 + 3DA4 4D + 3DA5 45 + 3DA6 3A + 3DA7 4C + 3DA8 44 + 3DA9 58 + 3DAA 23 + 3DAB 37 + 3DAC 0D + 3DAD 04 + 3DAE 4C + 3DAF 1C + 3DB0 2E + 3DB1 73 + 3DB2 75 + 3DB3 74 + 3DB4 35 + 3DB5 20 + 3DB6 43 + 3DB7 50 + 3DB8 58 + 3DB9 20 + 3DBA 54 + 3DBB 48 + 3DBC 45 + 3DBD 4D + 3DBE 45 + 3DBF 3A + 3DC0 42 + 3DC1 45 + 3DC2 51 + 3DC3 20 + 3DC4 73 + 3DC5 75 + 3DC6 74 + 3DC7 34 + 3DC8 0D + 3DC9 04 + 3DCA 56 + 3DCB 1F + 3DCC 2E + 3DCD 73 + 3DCE 75 + 3DCF 74 + 3DD0 32 + 3DD1 20 + 3DD2 43 + 3DD3 4D + 3DD4 50 + 3DD5 20 + 3DD6 46 + 3DD7 4C + 3DD8 44 + 3DD9 50 + 3DDA 54 + 3DDB 52 + 3DDC 2C + 3DDD 58 + 3DDE 3A + 3DDF 42 +.scoreText + 3DE0 1F + 3DE1 01 + 3DE2 03 + 3DE3 48 49 47 ... + 3DF0 30 + 3DF1 1F + 3DF2 03 + 3DF3 0A + 3DF4 3A + 3DF5 4A + 3DF6 4D + 3DF7 50 + 3DF8 20 + 3DF9 73 + 3DFA 75 + 3DFB 74 + 3DFC 35 + 3DFD 0D + 3DFE 04 + 3DFF 6A +.lineEndPointId + 3E00 1E + 3E01 02 + 3E02 03 + 3E03 04 + 3E04 01 + 3E05 07 + 3E06 09 + 3E07 0B + 3E08 0D + 3E09 0F + 3E0A 11 + 3E0B 13 + 3E0C 3B + 3E0D 72 + 3E0E 2A + 3E0F 2B + 3E10 2C + 3E11 2E + 3E12 2F + 3E13 30 + 3E14 35 + 3E15 36 + 3E16 37 + 3E17 38 + 3E18 3A + 3E19 39 + 3E1A 33 + 3E1B 3C + 3E1C 3D + 3E1D 3E + 3E1E 3F + 3E1F 40 + 3E20 41 + 3E21 42 + 3E22 74 + 3E23 71 + 3E24 71 + 3E25 70 + 3E26 6F + 3E27 43 + 3E28 77 + 3E29 78 + 3E2A 44 + 3E2B 45 + 3E2C 46 + 3E2D 47 + 3E2E 75 + 3E2F 51 + 3E30 55 + 3E31 55 + 3E32 55 + 3E33 76 + 3E34 48 + 3E35 49 + 3E36 4A + 3E37 4B + 3E38 5A + 3E39 5E + 3E3A 5E + 3E3B 5E + 3E3C 60 + 3E3D 62 + 3E3E 4C + 3E3F 4D + 3E40 4E + 3E41 4F + 3E42 65 + 3E43 64 + 3E44 66 + 3E45 67 + 3E46 69 + 3E47 68 + 3E48 6B + 3E49 6A + 3E4A 6D + 3E4B 6D + 3E4C D7 + 3E4D 6E + 3E4E 7A + 3E4F 79 + 3E50 7B + 3E51 7B + 3E52 91 + 3E53 91 + 3E54 93 + 3E55 93 + 3E56 94 + 3E57 9E + 3E58 9F + 3E59 A0 + 3E5A A0 + 3E5B A1 + 3E5C A2 + 3E5D A1 + 3E5E A3 + 3E5F A8 + 3E60 A6 + 3E61 A7 + 3E62 A8 + 3E63 AC + 3E64 AB + 3E65 7C + 3E66 AB + 3E67 AF + 3E68 AE + 3E69 AD + 3E6A AE + 3E6B 97 + 3E6C 97 + 3E6D 95 + 3E6E 96 + 3E6F 8A + 3E70 8A + 3E71 89 + 3E72 8B + 3E73 85 + 3E74 87 + 3E75 86 + 3E76 86 + 3E77 81 + 3E78 82 + 3E79 83 + 3E7A 83 + 3E7B D1 + 3E7C 7E + 3E7D 7E + 3E7E 7F + 3E7F 8D + 3E80 7C + 3E81 8F + 3E82 8E + 3E83 9A + 3E84 9B + 3E85 9C + 3E86 99 + 3E87 B3 + 3E88 B4 + 3E89 B4 + 3E8A B8 + 3E8B B9 + 3E8C B9 + 3E8D BA + 3E8E B8 + 3E8F B9 + 3E90 BD + 3E91 BE + 3E92 BE + 3E93 BF + 3E94 BD + 3E95 BE + 3E96 D7 + 3E97 C2 + 3E98 C3 + 3E99 C3 + 3E9A C4 + 3E9B C2 + 3E9C C3 + 3E9D C8 + 3E9E C6 + 3E9F C6 + 3EA0 C8 + 3EA1 58 + 3EA2 57 + 3EA3 C9 + 3EA4 28 + 3EA5 19 + 3EA6 1C + 3EA7 17 + 3EA8 18 + 3EA9 58 + 3EAA 63 + 3EAB 63 + 3EAC CA + 3EAD 1C + 3EAE 1A + 3EAF 1B + 3EB0 1C + 3EB1 1D + 3EB2 28 + 3EB3 22 + 3EB4 25 + 3EB5 26 + 3EB6 D1 + 3EB7 D2 + 3EB8 D0 + 3EB9 D0 + 3EBA CC + 3EBB CE + 3EBC CF + 3EBD D3 + 3EBE D3 + 3EBF D3 + 3EC0 D7 + 3EC1 D7 + 3EC2 74 + 3EC3 72 + 3EC4 75 + 3EC5 32 + 3EC6 3A + 3EC7 43 +.objectGroup + 3EC8 00 + 3EC9 08 + 3ECA 10 + 3ECB 18 +.groupStart + 3ECC 00 + 3ECD 08 + 3ECE 10 + 3ECF 18 +.xGroupObjectHi + 3ED0 C8 + 3ED1 2A + 3ED2 CF + 3ED3 82 + 3ED4 1D + 3ED5 75 + 3ED6 1A + 3ED7 CF + 3ED8 9C + 3ED9 43 + 3EDA E5 + 3EDB 8A + 3EDC EA + 3EDD 22 + 3EDE 6A + 3EDF C5 + 3EE0 15 + 3EE1 C4 + 3EE2 C4 + 3EE3 CE + 3EE4 CE + 3EE5 CE + 3EE6 15 + 3EE7 11 + 3EE8 38 + 3EE9 D5 + 3EEA D5 + 3EEB DA + 3EEC DA + 3EED 0D + 3EEE 38 + 3EEF 0D +.zGroupObjectHi + 3EF0 52 + 3EF1 D2 + 3EF2 9A + 3EF3 C9 + 3EF4 3E + 3EF5 33 + 3EF6 8A + 3EF7 EC + 3EF8 C6 + 3EF9 E2 + 3EFA BA + 3EFB 70 + 3EFC 6E + 3EFD 44 + 3EFE 20 + 3EFF 1B + 3F00 2F + 3F01 05 + 3F02 05 + 3F03 F5 + 3F04 F5 + 3F05 F5 + 3F06 2F + 3F07 D6 + 3F08 1C + 3F09 2E + 3F0A 2E + 3F0B D3 + 3F0C D3 + 3F0D D9 + 3F0E 1C + 3F0F D9 +.CheckTimePassed + 3F10 A6 70 LDX &70 + 3F12 8A TXA + 3F13 38 SEC + 3F14 ED 9D 2E SBC &2E9D + 3F17 10 05 BPL &3F1E + 3F19 49 FF EOR #&FF + 3F1B 18 CLC + 3F1C 69 01 ADC #&01 +.time1 + 3F1E C9 09 CMP #&09 + 3F20 90 03 BCC &3F25 + 3F22 8E 9D 2E STX &2E9D +.time2 + 3F25 60 RTS + 3F26 3D + 3F27 41 + 3F28 42 + 3F29 43 + 3F2A 77 + 3F2B 78 + 3F2C 44 + 3F2D 45 + 3F2E 46 + 3F2F 50 +.lineStartPointId + 3F30 1F + 3F31 01 + 3F32 02 + 3F33 03 + 3F34 04 + 3F35 06 + 3F36 08 + 3F37 0A + 3F38 0C + 3F39 0E + 3F3A 10 + 3F3B 12 + 3F3C 72 + 3F3D 73 + 3F3E 29 + 3F3F 2A + 3F40 2B + 3F41 2D + 3F42 2E + 3F43 2F + 3F44 31 + 3F45 32 + 3F46 33 + 3F47 34 + 3F48 3B + 3F49 3A + 3F4A 39 + 3F4B 34 + 3F4C 3C + 3F4D 31 + 3F4E 32 + 3F4F 3E + 3F50 3F + 3F51 40 + 3F52 73 + 3F53 74 + 3F54 70 + 3F55 6F + 3F56 3D + 3F57 41 + 3F58 42 + 3F59 43 + 3F5A 77 + 3F5B 78 + 3F5C 44 + 3F5D 45 + 3F5E 46 + 3F5F 50 + 3F60 52 + 3F61 53 + 3F62 54 + 3F63 47 + 3F64 75 + 3F65 76 + 3F66 48 + 3F67 49 + 3F68 59 + 3F69 5B + 3F6A 5C + 3F6B 5D + 3F6C 5F + 3F6D 61 + 3F6E 4A + 3F6F 4B + 3F70 4C + 3F71 4D + 3F72 4E + 3F73 4F + 3F74 65 + 3F75 64 + 3F76 66 + 3F77 67 + 3F78 69 + 3F79 68 + 3F7A 6B + 3F7B 6A + 3F7C D5 + 3F7D 6D + 3F7E 79 + 3F7F B1 + 3F80 7A + 3F81 B1 + 3F82 90 + 3F83 92 + 3F84 92 + 3F85 94 + 3F86 90 + 3F87 9D + 3F88 9E + 3F89 9F + 3F8A 9D + 3F8B A4 + 3F8C A3 + 3F8D A2 + 3F8E A4 + 3F8F A5 + 3F90 A5 + 3F91 A6 + 3F92 A7 + 3F93 A9 + 3F94 A9 + 3F95 8E + 3F96 AC + 3F97 B0 + 3F98 AF + 3F99 B0 + 3F9A AD + 3F9B 96 + 3F9C 98 + 3F9D 98 + 3F9E 95 + 3F9F 8B + 3FA0 89 + 3FA1 88 + 3FA2 88 + 3FA3 84 + 3FA4 84 + 3FA5 87 + 3FA6 85 + 3FA7 80 + 3FA8 81 + 3FA9 82 + 3FAA 80 + 3FAB CB + 3FAC 7D + 3FAD 7F + 3FAE 7D + 3FAF 8C + 3FB0 8D + 3FB1 8C + 3FB2 8F + 3FB3 99 + 3FB4 9A + 3FB5 9B + 3FB6 9C + 3FB7 B2 + 3FB8 B2 + 3FB9 B3 + 3FBA B7 + 3FBB B7 + 3FBC B8 + 3FBD B7 + 3FBE BA + 3FBF BA + 3FC0 BC + 3FC1 BC + 3FC2 BD + 3FC3 BC + 3FC4 BF + 3FC5 BF + 3FC6 6C + 3FC7 C1 + 3FC8 C1 + 3FC9 C2 + 3FCA C1 + 3FCB C4 + 3FCC C4 + 3FCD C1 + 3FCE C2 + 3FCF C5 + 3FD0 C7 + 3FD1 56 + 3FD2 63 + 3FD3 27 + 3FD4 CA + 3FD5 16 + 3FD6 15 + 3FD7 1A + 3FD8 1B + 3FD9 C9 + 3FDA 58 + 3FDB CA + 3FDC C9 + 3FDD 19 + 3FDE 19 + 3FDF 1A + 3FE0 1B + 3FE1 16 + 3FE2 21 + 3FE3 CD + 3FE4 28 + 3FE5 CD + 3FE6 CF + 3FE7 D1 + 3FE8 D2 + 3FE9 CF + 3FEA D2 + 3FEB D0 + 3FEC CD + 3FED 23 + 3FEE D4 + 3FEF 24 + 3FF0 D6 + 3FF1 6C + 3FF2 03 + 3FF3 0A + 3FF4 20 + 3FF5 20 + 3FF6 20 + 3FF7 20 + 3FF8 00 + 3FF9 00 +.alienScore + 3FFA 05 + 3FFB 10 + 3FFC 15 + 3FFD 25 + 3FFE 00 +.dormantAlienScore + 3FFF 40 +.sinLo + 4000 00 + 4001 92 + 4002 24 + 4003 B6 + 4004 48 + 4005 DA + 4006 6C + 4007 FE + 4008 8F + 4009 21 + 400A B2 + 400B 44 + 400C D5 + 400D 66 + 400E F6 + 400F 87 + 4010 17 + 4011 A7 + 4012 37 + 4013 C7 + 4014 56 + 4015 E5 + 4016 73 + 4017 02 + 4018 90 + 4019 1D + 401A AA + 401B 37 + 401C C4 + 401D 50 + 401E DB + 401F 66 + 4020 F1 + 4021 7B + 4022 05 + 4023 8E + 4024 17 + 4025 9F + 4026 26 + 4027 AD + 4028 33 + 4029 B9 + 402A 3E + 402B C3 + 402C 47 + 402D CA + 402E 4D + 402F CE + 4030 50 + 4031 D0 + 4032 50 + 4033 CF + 4034 4D + 4035 CA + 4036 47 + 4037 C3 + 4038 3E + 4039 B8 + 403A 31 + 403B AA + 403C 22 + 403D 98 + 403E 0E + 403F 83 + 4040 F7 + 4041 6A + 4042 DC + 4043 4D + 4044 BD + 4045 2D + 4046 9B + 4047 08 + 4048 74 + 4049 DF + 404A 49 + 404B B1 + 404C 19 + 404D 80 + 404E E5 + 404F 4A + 4050 AD + 4051 0F + 4052 70 + 4053 D0 + 4054 2E + 4055 8B + 4056 E7 + 4057 42 + 4058 9C + 4059 F4 + 405A 4B + 405B A1 + 405C F5 + 405D 48 + 405E 9A + 405F EA + 4060 39 + 4061 87 + 4062 D3 + 4063 1E + 4064 68 + 4065 B0 + 4066 F6 + 4067 3C + 4068 7F + 4069 C2 + 406A 02 + 406B 42 + 406C 7F + 406D BC + 406E F6 + 406F 2F + 4070 67 + 4071 9D + 4072 D2 + 4073 05 + 4074 36 + 4075 66 + 4076 94 + 4077 C0 + 4078 EB + 4079 14 + 407A 3B + 407B 61 + 407C 85 + 407D A8 + 407E C8 + 407F E7 + 4080 04 + 4081 20 + 4082 3A + 4083 52 + 4084 68 + 4085 7C + 4086 8F + 4087 A0 + 4088 AE + 4089 BC + 408A C7 + 408B D0 + 408C D8 + 408D DE + 408E E2 + 408F E3 + 4090 E4 + 4091 E2 + 4092 DE + 4093 D8 + 4094 D1 + 4095 C7 + 4096 BB + 4097 AE + 4098 9F + 4099 8D + 409A 7A + 409B 64 + 409C 4D + 409D 33 + 409E 18 + 409F FA + 40A0 DB + 40A1 B9 + 40A2 95 + 40A3 70 + 40A4 48 + 40A5 1E + 40A6 F2 + 40A7 C4 + 40A8 94 + 40A9 61 + 40AA 2D + 40AB F6 + 40AC BE + 40AD 83 + 40AE 46 + 40AF 06 + 40B0 C5 + 40B1 82 + 40B2 3C + 40B3 F4 + 40B4 AA + 40B5 5E + 40B6 0F + 40B7 BE + 40B8 6B + 40B9 16 + 40BA BF + 40BB 65 + 40BC 09 + 40BD AB + 40BE 4B + 40BF E8 + 40C0 83 + 40C1 1C + 40C2 B2 + 40C3 46 + 40C4 D8 + 40C5 68 + 40C6 F5 + 40C7 80 + 40C8 09 + 40C9 8F + 40CA 13 + 40CB 94 + 40CC 14 + 40CD 91 + 40CE 0B + 40CF 84 + 40D0 FA + 40D1 6D + 40D2 DE + 40D3 4D + 40D4 BA + 40D5 24 + 40D6 8B + 40D7 F1 + 40D8 53 + 40D9 B4 + 40DA 12 + 40DB 6E + 40DC C7 + 40DD 1E + 40DE 73 + 40DF C5 + 40E0 14 + 40E1 61 + 40E2 AC + 40E3 F5 + 40E4 3B + 40E5 7E + 40E6 BF + 40E7 FE + 40E8 3A + 40E9 74 + 40EA AB + 40EB E0 + 40EC 13 + 40ED 43 + 40EE 70 + 40EF 9B + 40F0 C4 + 40F1 EA + 40F2 0E + 40F3 2F + 40F4 4E + 40F5 6A + 40F6 84 + 40F7 9C + 40F8 B1 + 40F9 C3 + 40FA D3 + 40FB E1 + 40FC EC + 40FD F4 + 40FE FB + 40FF FE + 4100 FF +.sinHi + 4101 00 + 4102 01 + 4103 03 + 4104 04 + 4105 06 + 4106 07 + 4107 09 + 4108 0A + 4109 0C + 410A 0E + 410B 0F + 410C 11 + 410D 12 + 410E 14 + 410F 15 + 4110 17 + 4111 19 + 4112 1A + 4113 1C + 4114 1D + 4115 1F + 4116 20 + 4117 22 + 4118 24 + 4119 25 + 411A 27 + 411B 28 + 411C 2A + 411D 2B + 411E 2D + 411F 2E + 4120 30 + 4121 31 + 4122 33 + 4123 35 + 4124 36 + 4125 38 + 4126 39 + 4127 3B + 4128 3C + 4129 3E + 412A 3F + 412B 41 + 412C 42 + 412D 44 + 412E 45 + 412F 47 + 4130 48 + 4131 4A + 4132 4B + 4133 4D + 4134 4E + 4135 50 + 4136 51 + 4137 53 + 4138 54 + 4139 56 + 413A 57 + 413B 59 + 413C 5A + 413D 5C + 413E 5D + 413F 5F + 4140 60 + 4141 61 + 4142 63 + 4143 64 + 4144 66 + 4145 67 + 4146 69 + 4147 6A + 4148 6C + 4149 6D + 414A 6E + 414B 70 + 414C 71 + 414D 73 + 414E 74 + 414F 75 + 4150 77 + 4151 78 + 4152 7A + 4153 7B + 4154 7C + 4155 7E + 4156 7F + 4157 80 + 4158 82 + 4159 83 + 415A 84 + 415B 86 + 415C 87 + 415D 88 + 415E 8A + 415F 8B + 4160 8C + 4161 8E + 4162 8F + 4163 90 + 4164 92 + 4165 93 + 4166 94 + 4167 95 + 4168 97 + 4169 98 + 416A 99 + 416B 9B + 416C 9C + 416D 9D + 416E 9E + 416F 9F + 4170 A1 + 4171 A2 + 4172 A3 + 4173 A4 + 4174 A6 + 4175 A7 + 4176 A8 + 4177 A9 + 4178 AA + 4179 AB + 417A AD + 417B AE + 417C AF + 417D B0 + 417E B1 + 417F B2 + 4180 B3 + 4181 B5 + 4182 B6 + 4183 B7 + 4184 B8 + 4185 B9 + 4186 BA + 4187 BB + 4188 BC + 4189 BD + 418A BE + 418B BF + 418C C0 + 418D C1 + 418E C2 + 418F C3 + 4190 C4 + 4191 C5 + 4192 C6 + 4193 C7 + 4194 C8 + 4195 C9 + 4196 CA + 4197 CB + 4198 CC + 4199 CD + 419A CE + 419B CF + 419C D0 + 419D D1 + 419E D2 + 419F D3 + 41A0 D3 + 41A1 D4 + 41A2 D5 + 41A3 D6 + 41A4 D7 + 41A5 D8 + 41A6 D9 + 41A7 D9 + 41A8 DA + 41A9 DB + 41AA DC + 41AB DD + 41AC DD + 41AD DE + 41AE DF + 41AF E0 + 41B0 E1 + 41B1 E1 + 41B2 E2 + 41B3 E3 + 41B4 E3 + 41B5 E4 + 41B6 E5 + 41B7 E6 + 41B8 E6 + 41B9 E7 + 41BA E8 + 41BB E8 + 41BC E9 + 41BD EA + 41BE EA + 41BF EB + 41C0 EB + 41C1 EC + 41C2 ED + 41C3 ED + 41C4 EE + 41C5 EE + 41C6 EF + 41C7 EF + 41C8 F0 + 41C9 F1 + 41CA F1 + 41CB F2 + 41CC F2 + 41CD F3 + 41CE F3 + 41CF F4 + 41D0 F4 + 41D1 F4 + 41D2 F5 + 41D3 F5 + 41D4 F6 + 41D5 F6 + 41D6 F7 + 41D7 F7 + 41D8 F7 + 41D9 F8 + 41DA F8 + 41DB F9 + 41DC F9 + 41DD F9 + 41DE FA + 41DF FA + 41E0 FA + 41E1 FB + 41E2 FB + 41E3 FB + 41E4 FB + 41E5 FC + 41E6 FC + 41E7 FC + 41E8 FC + 41E9 FD + 41EA FD + 41EB FD + 41EC FD + 41ED FE + 41EE FE + 41EF FE + 41F0 FE + 41F1 FE + 41F2 FE + 41F3 FF + 41F4 FF + 41F5 FF + 41F6 FF + 41F7 FF + 41F8 FF + 41F9 FF + 41FA FF + 41FB FF + 41FC FF + 41FD FF + 41FE FF + 41FF FF + 4200 FF + 4201 FF +.alienSlot + 4202 6C + 4203 6B + 4204 6A +.alienToMove + 4205 69 +.mainLoopCounter + 4206 67 +.numberOfLines + 4207 C1 +.alienObjectId + 4208 65 + 4209 64 + 420A 62 + 420B 61 + 420C 60 + 420D 5F + 420E 5E + 420F 5C +.alienState + 4210 5B + 4211 5A + 4212 59 + 4213 58 + 4214 7D + 4215 7C + 4216 7B + 4217 7A +.alienStatus + 4218 78 + 4219 77 + 421A 76 + 421B 75 + 421C 74 + 421D 72 + 421E 71 + 421F 70 +.matrix1Lo + 4220 31 + 4221 39 + 4222 0D + 4223 06 + 4224 18 + 4225 10 + 4226 20 + 4227 20 + 4228 20 +.matrix2Lo + 4229 20 + 422A 20 + 422B 20 + 422C 4C + 422D 44 + 422E 59 + 422F 23 + 4230 33 + 4231 31 +.matrix3Lo + 4232 0D + 4233 06 + 4234 00 + 4235 1D + 4236 2E + 4237 00 + 4238 00 + 4239 00 + 423A FE +.matrix4Lo + 423B 20 + 423C 4C + 423D 44 + 423E 58 + 423F 20 + 4240 50 + 4241 00 + 4242 52 + 4243 4E +.CheckFlyingSkills + 4244 AD FD 0C LDA &0CFD + 4247 38 SEC + 4248 F9 78 44 SBC &4478,Y + 424B 10 02 BPL &424F + 424D 49 FF EOR #&FF +.skil1 + 424F C9 05 CMP #&05 + 4251 90 01 BCC &4254 +.skil2 + 4253 60 RTS +.skil3 + 4254 AD FF 0C LDA &0CFF + 4257 38 SEC + 4258 F9 C8 44 SBC &44C8,Y + 425B 4C 84 42 JMP &4284 + 425E 4D + 425F 50 +.matrix1Hi + 4260 B2 + 4261 32 + 4262 AF + 4263 0B + 4264 F2 + 4265 51 + 4266 B6 + 4267 40 + 4268 A7 +.matrix2Hi + 4269 B2 + 426A 0B + 426B B6 + 426C 32 + 426D F2 + 426E 40 + 426F AF + 4270 51 + 4271 A7 +.matrix3Hi + 4272 FA + 4273 34 + 4274 00 + 4275 34 + 4276 FA + 4277 00 + 4278 00 + 4279 00 + 427A FF +.matrix4Hi + 427B FA + 427C 32 + 427D 0D + 427E 34 + 427F F2 + 4280 3F + 4281 00 + 4282 40 + 4283 F7 +.skil4 + 4284 10 02 BPL &4288 + 4286 49 FF EOR #&FF +.skil5 + 4288 C9 05 CMP #&05 + 428A B0 C7 BCS &4253 + 428C C0 02 CPY #&02 + 428E F0 27 BEQ &42B7 + 4290 A9 0C LDA #&0C + 4292 20 9B 4B JSR &4B9B + 4295 B0 3E BCS &42D5 + 4297 A9 0F LDA #&0F + 4299 20 9B 4B JSR &4B9B + 429C B0 37 BCS &42D5 + 429E A9 09 LDA #&09 + 42A0 20 9B 4B JSR &4B9B + 42A3 B0 30 BCS &42D5 + 42A5 A9 12 LDA #&12 + 42A7 20 9B 4B JSR &4B9B + 42AA 90 33 BCC &42DF + 42AC A9 20 LDA #&20 + 42AE AE A9 77 LDX &77A9 + 42B1 D0 38 BNE &42EB +.skil6 + 42B3 A9 10 LDA #&10 + 42B5 D0 34 BNE &42EB +.skil7 + 42B7 A9 06 LDA #&06 + 42B9 20 9B 4B JSR &4B9B + 42BC 90 21 BCC &42DF + 42BE A9 03 LDA #&03 + 42C0 20 9B 4B JSR &4B9B + 42C3 B0 1A BCS &42DF + 42C5 A9 00 LDA #&00 + 42C7 20 9B 4B JSR &4B9B + 42CA 90 09 BCC &42D5 + 42CC AE A9 77 LDX &77A9 + 42CF D0 E2 BNE &42B3 + 42D1 A9 05 LDA #&05 + 42D3 D0 16 BNE &42EB +.skil8 + 42D5 BA TSX + 42D6 8A TXA + 42D7 38 SEC + 42D8 E9 04 SBC #&04 + 42DA AA TAX + 42DB 9A TXS + 42DC 4C 6A 4C JMP &4C6A +.skil9 + 42DF AD D7 0C LDA &0CD7 + 42E2 F0 0A BEQ &42EE + 42E4 A2 00 LDX #&00 + 42E6 20 CB 4B JSR &4BCB + 42E9 A9 00 LDA #&00 +.skil10 + 42EB 8D D7 0C STA &0CD7 +.skil11 + 42EE 60 RTS + 42EF 20 +.scaleFactor + 42F0 00 + 42F1 FE + 42F2 FF + 42F3 01 + 42F4 04 + 42F5 00 + 42F6 FB + 42F7 02 + 42F8 33 + 42F9 3A + 42FA FF + 42FB FE + 42FC FE + 42FD 23 + 42FE 31 + 42FF 38 +.lowNibble + 4300 00 + 4301 01 + 4302 02 + 4303 03 + 4304 04 + 4305 05 + 4306 06 + 4307 07 + 4308 08 + 4309 09 + 430A 0A + 430B 0B + 430C 0C + 430D 0D + 430E 0E + 430F 0F + 4310 00 + 4311 01 + 4312 02 + 4313 03 + 4314 04 + 4315 05 + 4316 06 + 4317 07 + 4318 08 + 4319 09 + 431A 0A + 431B 0B + 431C 0C + 431D 0D + 431E 0E + 431F 0F + 4320 00 + 4321 01 + 4322 02 + 4323 03 + 4324 04 + 4325 05 + 4326 06 + 4327 07 + 4328 08 + 4329 09 + 432A 0A + 432B 0B + 432C 0C + 432D 0D + 432E 0E + 432F 0F + 4330 00 + 4331 01 + 4332 02 + 4333 03 + 4334 04 + 4335 05 + 4336 06 + 4337 07 + 4338 08 + 4339 09 + 433A 0A + 433B 0B + 433C 0C + 433D 0D + 433E 0E + 433F 0F + 4340 00 + 4341 01 + 4342 02 + 4343 03 + 4344 04 + 4345 05 + 4346 06 + 4347 07 + 4348 08 + 4349 09 + 434A 0A + 434B 0B + 434C 0C + 434D 0D + 434E 0E + 434F 0F + 4350 00 + 4351 01 + 4352 02 + 4353 03 + 4354 04 + 4355 05 + 4356 06 + 4357 07 + 4358 08 + 4359 09 + 435A 0A + 435B 0B + 435C 0C + 435D 0D + 435E 0E + 435F 0F + 4360 00 + 4361 01 + 4362 02 + 4363 03 + 4364 04 + 4365 05 + 4366 06 + 4367 07 + 4368 08 + 4369 09 + 436A 0A + 436B 0B + 436C 0C + 436D 0D + 436E 0E + 436F 0F + 4370 00 + 4371 01 + 4372 02 + 4373 03 + 4374 04 + 4375 05 + 4376 06 + 4377 07 + 4378 08 + 4379 09 + 437A 0A + 437B 0B + 437C 0C + 437D 0D + 437E 0E + 437F 0F + 4380 00 + 4381 01 + 4382 02 + 4383 03 + 4384 04 + 4385 05 + 4386 06 + 4387 07 + 4388 08 + 4389 09 + 438A 0A + 438B 0B + 438C 0C + 438D 0D + 438E 0E + 438F 0F + 4390 00 + 4391 01 + 4392 02 + 4393 03 + 4394 04 + 4395 05 + 4396 06 + 4397 07 + 4398 08 + 4399 09 + 439A 0A + 439B 0B + 439C 0C + 439D 0D + 439E 0E + 439F 0F + 43A0 00 + 43A1 01 + 43A2 02 + 43A3 03 + 43A4 04 + 43A5 05 + 43A6 06 + 43A7 07 + 43A8 08 + 43A9 09 + 43AA 0A + 43AB 0B + 43AC 0C + 43AD 0D + 43AE 0E + 43AF 0F + 43B0 00 + 43B1 01 + 43B2 02 + 43B3 03 + 43B4 04 + 43B5 05 + 43B6 06 + 43B7 07 + 43B8 08 + 43B9 09 + 43BA 0A + 43BB 0B + 43BC 0C + 43BD 0D + 43BE 0E + 43BF 0F + 43C0 00 + 43C1 01 + 43C2 02 + 43C3 03 + 43C4 04 + 43C5 05 + 43C6 06 + 43C7 07 + 43C8 08 + 43C9 09 + 43CA 0A + 43CB 0B + 43CC 0C + 43CD 0D + 43CE 0E + 43CF 0F + 43D0 00 + 43D1 01 + 43D2 02 + 43D3 03 + 43D4 04 + 43D5 05 + 43D6 06 + 43D7 07 + 43D8 08 + 43D9 09 + 43DA 0A + 43DB 0B + 43DC 0C + 43DD 0D + 43DE 0E + 43DF 0F + 43E0 00 + 43E1 01 + 43E2 02 + 43E3 03 + 43E4 04 + 43E5 05 + 43E6 06 + 43E7 07 + 43E8 08 + 43E9 09 + 43EA 0A + 43EB 0B + 43EC 0C + 43ED 0D + 43EE 0E + 43EF 0F + 43F0 00 + 43F1 01 + 43F2 02 + 43F3 03 + 43F4 04 + 43F5 05 + 43F6 06 + 43F7 07 + 43F8 08 + 43F9 09 + 43FA 0A + 43FB 0B + 43FC 0C + 43FD 0D + 43FE 0E + 43FF 0F +.xObjectLo + 4400 23 + 4401 66 + 4402 18 + 4403 DD + 4404 33 + 4405 EF + 4406 00 + 4407 00 + 4408 00 + 4409 00 + 440A 4F + 440B 58 + 440C 00 + 440D 00 + 440E 00 + 440F 00 + 4410 EE + 4411 AA + 4412 88 + 4413 55 + 4414 77 + 4415 33 + 4416 77 + 4417 33 + 4418 66 + 4419 88 + 441A DE + 441B 66 + 441C 66 + 441D 55 + 441E 00 + 441F 00 + 4420 00 + 4421 00 + 4422 40 + 4423 23 + 4424 33 + 4425 31 + 4426 3A + 4427 42 +.yObjectLo + 4428 43 + 4429 00 + 442A 00 + 442B 00 + 442C 00 + 442D 00 + 442E 00 + 442F 00 + 4430 00 + 4431 00 + 4432 27 + 4433 20 + 4434 00 + 4435 00 + 4436 00 + 4437 00 + 4438 00 + 4439 00 + 443A 00 + 443B 00 + 443C 00 + 443D 00 + 443E 00 + 443F 00 + 4440 00 + 4441 00 + 4442 00 + 4443 00 + 4444 00 + 4445 00 + 4446 00 + 4447 00 + 4448 00 + 4449 00 + 444A 00 + 444B 23 + 444C 34 + 444D 3A + 444E 4A + 444F 4D +.zObjectLo + 4450 50 + 4451 5C + 4452 66 + 4453 33 + 4454 00 + 4455 11 + 4456 00 + 4457 00 + 4458 00 + 4459 00 + 445A 2E + 445B 73 + 445C 00 + 445D 00 + 445E 00 + 445F 00 + 4460 A6 + 4461 52 + 4462 55 + 4463 99 + 4464 55 + 4465 BC + 4466 56 + 4467 99 + 4468 F8 + 4469 77 + 446A 11 + 446B CD + 446C 55 + 446D 44 + 446E 00 + 446F 00 + 4470 00 + 4471 00 + 4472 40 + 4473 20 + 4474 20 + 4475 20 + 4476 20 + 4477 20 +.xObjectHi + 4478 20 + 4479 C6 + 447A 4B + 447B 45 + 447C 53 + 447D 8E + 447E 00 + 447F 00 + 4480 00 + 4481 00 + 4482 4D + 4483 50 + 4484 00 + 4485 00 + 4486 00 + 4487 00 + 4488 8E + 4489 EA + 448A 08 + 448B 25 + 448C 57 + 448D 13 + 448E 87 + 448F E3 + 4490 86 + 4491 D8 + 4492 ED + 4493 46 + 4494 86 + 4495 B5 + 4496 00 + 4497 00 + 4498 00 + 4499 00 + 449A 04 + 449B 41 + 449C 20 + 449D 53 + 449E 49 + 449F 5A +.yObjectHi + 44A0 45 + 44A1 00 + 44A2 00 + 44A3 00 + 44A4 00 + 44A5 00 + 44A6 00 + 44A7 00 + 44A8 00 + 44A9 00 + 44AA 0D + 44AB 07 + 44AC 00 + 44AD 00 + 44AE 00 + 44AF 00 + 44B0 00 + 44B1 00 + 44B2 00 + 44B3 00 + 44B4 00 + 44B5 00 + 44B6 00 + 44B7 00 + 44B8 00 + 44B9 00 + 44BA 00 + 44BB 00 + 44BC 00 + 44BD 00 + 44BE 00 + 44BF 00 + 44C0 00 + 44C1 00 + 44C2 00 + 44C3 38 + 44C4 0D + 44C5 07 + 44C6 76 + 44C7 1A +.zObjectHi + 44C8 2E + 44C9 44 + 44CA 86 + 44CB 63 + 44CC C0 + 44CD C1 + 44CE 00 + 44CF 00 + 44D0 00 + 44D1 00 + 44D2 5A + 44D3 52 + 44D4 00 + 44D5 00 + 44D6 00 + 44D7 00 + 44D8 EA + 44D9 D5 + 44DA 65 + 44DB E9 + 44DC E5 + 44DD AB + 44DE 95 + 44DF 99 + 44E0 4D + 44E1 07 + 44E2 41 + 44E3 2C + 44E4 05 + 44E5 74 + 44E6 00 + 44E7 00 + 44E8 00 + 44E9 00 + 44EA 03 + 44EB 41 + 44EC 3A + 44ED 4C + 44EE 53 + 44EF 52 +.randomNumbers + 44F0 FB + 44F1 FD + 44F2 FF + 44F3 F9 + 44F4 FB + 44F5 F8 + 44F6 FB + 44F7 FA + 44F8 53 + 44F9 52 + 44FA FF + 44FB FE + 44FC 01 + 44FD 41 + 44FE 58 + 44FF 0D +.highNibble + 4500 00 + 4501 00 + 4502 00 + 4503 00 + 4504 00 + 4505 00 + 4506 00 + 4507 00 + 4508 00 + 4509 00 + 450A 00 + 450B 00 + 450C 00 + 450D 00 + 450E 00 + 450F 00 + 4510 10 + 4511 10 + 4512 10 + 4513 10 + 4514 10 + 4515 10 + 4516 10 + 4517 10 + 4518 10 + 4519 10 + 451A 10 + 451B 10 + 451C 10 + 451D 10 + 451E 10 + 451F 10 + 4520 20 + 4521 20 + 4522 20 + 4523 20 + 4524 20 + 4525 20 + 4526 20 + 4527 20 + 4528 20 + 4529 20 + 452A 20 + 452B 20 + 452C 20 + 452D 20 + 452E 20 + 452F 20 + 4530 30 + 4531 30 + 4532 30 + 4533 30 + 4534 30 + 4535 30 + 4536 30 + 4537 30 + 4538 30 + 4539 30 + 453A 30 + 453B 30 + 453C 30 + 453D 30 + 453E 30 + 453F 30 + 4540 40 + 4541 40 + 4542 40 + 4543 40 + 4544 40 + 4545 40 + 4546 40 + 4547 40 + 4548 40 + 4549 40 + 454A 40 + 454B 40 + 454C 40 + 454D 40 + 454E 40 + 454F 40 + 4550 50 + 4551 50 + 4552 50 + 4553 50 + 4554 50 + 4555 50 + 4556 50 + 4557 50 + 4558 50 + 4559 50 + 455A 50 + 455B 50 + 455C 50 + 455D 50 + 455E 50 + 455F 50 + 4560 60 + 4561 60 + 4562 60 + 4563 60 + 4564 60 + 4565 60 + 4566 60 + 4567 60 + 4568 60 + 4569 60 + 456A 60 + 456B 60 + 456C 60 + 456D 60 + 456E 60 + 456F 60 + 4570 70 + 4571 70 + 4572 70 + 4573 70 + 4574 70 + 4575 70 + 4576 70 + 4577 70 + 4578 70 + 4579 70 + 457A 70 + 457B 70 + 457C 70 + 457D 70 + 457E 70 + 457F 70 + 4580 80 + 4581 80 + 4582 80 + 4583 80 + 4584 80 + 4585 80 + 4586 80 + 4587 80 + 4588 80 + 4589 80 + 458A 80 + 458B 80 + 458C 80 + 458D 80 + 458E 80 + 458F 80 + 4590 90 + 4591 90 + 4592 90 + 4593 90 + 4594 90 + 4595 90 + 4596 90 + 4597 90 + 4598 90 + 4599 90 + 459A 90 + 459B 90 + 459C 90 + 459D 90 + 459E 90 + 459F 90 + 45A0 A0 + 45A1 A0 + 45A2 A0 + 45A3 A0 + 45A4 A0 + 45A5 A0 + 45A6 A0 + 45A7 A0 + 45A8 A0 + 45A9 A0 + 45AA A0 + 45AB A0 + 45AC A0 + 45AD A0 + 45AE A0 + 45AF A0 + 45B0 B0 + 45B1 B0 + 45B2 B0 + 45B3 B0 + 45B4 B0 + 45B5 B0 + 45B6 B0 + 45B7 B0 + 45B8 B0 + 45B9 B0 + 45BA B0 + 45BB B0 + 45BC B0 + 45BD B0 + 45BE B0 + 45BF B0 + 45C0 C0 + 45C1 C0 + 45C2 C0 + 45C3 C0 + 45C4 C0 + 45C5 C0 + 45C6 C0 + 45C7 C0 + 45C8 C0 + 45C9 C0 + 45CA C0 + 45CB C0 + 45CC C0 + 45CD C0 + 45CE C0 + 45CF C0 + 45D0 D0 + 45D1 D0 + 45D2 D0 + 45D3 D0 + 45D4 D0 + 45D5 D0 + 45D6 D0 + 45D7 D0 + 45D8 D0 + 45D9 D0 + 45DA D0 + 45DB D0 + 45DC D0 + 45DD D0 + 45DE D0 + 45DF D0 + 45E0 E0 + 45E1 E0 + 45E2 E0 + 45E3 E0 + 45E4 E0 + 45E5 E0 + 45E6 E0 + 45E7 E0 + 45E8 E0 + 45E9 E0 + 45EA E0 + 45EB E0 + 45EC E0 + 45ED E0 + 45EE E0 + 45EF E0 + 45F0 F0 + 45F1 F0 + 45F2 F0 + 45F3 F0 + 45F4 F0 + 45F5 F0 + 45F6 F0 + 45F7 F0 + 45F8 F0 + 45F9 F0 + 45FA F0 + 45FB F0 + 45FC F0 + 45FD F0 + 45FE F0 + 45FF F0 +.objectPoints + 4600 31 + 4601 01 + 4602 01 + 4603 01 + 4604 01 + 4605 01 + 4606 01 + 4607 01 + 4608 01 + 4609 01 + 460A 01 + 460B 01 + 460C 01 + 460D 01 + 460E 01 + 460F 01 + 4610 01 + 4611 01 + 4612 01 + 4613 01 + 4614 01 + 4615 22 + 4616 22 + 4617 40 + 4618 22 + 4619 3E + 461A 3F + 461B 40 + 461C 22 + 461D 3E + 461E 00 + 461F 00 + 4620 3E + 4621 22 + 4622 45 + 4623 08 + 4624 08 + 4625 50 + 4626 4D + 4627 22 + 4628 4F + 4629 02 + 462A 59 + 462B 5A + 462C 58 + 462D 02 + 462E 5B + 462F 5C + 4630 5C + 4631 5B + 4632 5C + 4633 02 + 4634 5B + 4635 59 + 4636 5A + 4637 5B + 4638 5C + 4639 63 + 463A 63 + 463B 03 + 463C 63 + 463D 63 + 463E 02 + 463F 02 + 4640 02 + 4641 68 + 4642 02 + 4643 6A + 4644 6A + 4645 6C + 4646 04 + 4647 04 + 4648 71 + 4649 04 + 464A 73 + 464B 04 + 464C 75 + 464D 9E + 464E 77 + 464F 75 + 4650 07 + 4651 78 + 4652 07 + 4653 07 + 4654 07 + 4655 78 + 4656 4F + 4657 7E + 4658 7E + 4659 06 + 465A 81 + 465B 06 + 465C 06 + 465D 06 + 465E 81 + 465F 0C + 4660 0D + 4661 0E + 4662 0F + 4663 7F + 4664 05 + 4665 05 + 4666 8F + 4667 05 + 4668 05 + 4669 90 + 466A 05 + 466B 92 + 466C 09 + 466D 92 + 466E 95 + 466F 03 + 4670 99 + 4671 03 + 4672 03 + 4673 03 + 4674 03 + 4675 04 + 4676 04 + 4677 6A + 4678 9F + 4679 13 + 467A 13 + 467B 13 + 467C 16 + 467D 14 + 467E 14 + 467F 14 + 4680 10 + 4681 10 + 4682 10 + 4683 10 + 4684 11 + 4685 11 + 4686 11 + 4687 11 + 4688 17 + 4689 17 + 468A 17 + 468B 17 + 468C 16 + 468D 16 + 468E 16 + 468F 16 + 4690 15 + 4691 15 + 4692 15 + 4693 15 + 4694 15 + 4695 1D + 4696 1D + 4697 1D + 4698 1D + 4699 18 + 469A 18 + 469B 18 + 469C 18 + 469D C8 + 469E C7 + 469F 12 + 46A0 12 + 46A1 1B + 46A2 1B + 46A3 1B + 46A4 1B + 46A5 1C + 46A6 1C + 46A7 1C + 46A8 1C + 46A9 19 + 46AA 19 + 46AB 19 + 46AC 19 + 46AD 1A + 46AE 1A + 46AF 1A + 46B0 1A + 46B1 13 + 46B2 DD + 46B3 DD + 46B4 DD + 46B5 1E + 46B6 1F + 46B7 DE + 46B8 DE + 46B9 DE + 46BA DE + 46BB 20 + 46BC E3 + 46BD E3 + 46BE E3 + 46BF E3 + 46C0 21 + 46C1 EF + 46C2 ED + 46C3 EF + 46C4 EF + 46C5 E8 + 46C6 ED + 46C7 E8 + 46C8 EF + 46C9 4F + 46CA 50 + 46CB F5 + 46CC F3 + 46CD 50 + 46CE F5 + 46CF F5 + 46D0 F6 + 46D1 F3 + 46D2 F4 + 46D3 08 + 46D4 08 + 46D5 09 + 46D6 94 + 46D7 09 +.ReadJoystick + 46D8 AD E4 7C LDA &7CE4 + 46DB F0 21 BEQ &46FE + 46DD A2 01 LDX #&01 + 46DF 20 CA 25 JSR &25CA + 46E2 8D 0E 0C STA &0C0E + 46E5 A2 02 LDX #&02 + 46E7 20 CA 25 JSR &25CA + 46EA 8D 0C 0C STA &0C0C + 46ED A2 00 LDX #&00 + 46EF A9 80 LDA #&80 + 46F1 20 F4 FF JSR &FFF4 + 46F4 8A TXA + 46F5 29 01 AND #&01 + 46F7 F0 05 BEQ &46FE + 46F9 A9 08 LDA #&08 + 46FB 8D A5 0C STA &0CA5 +.rjoy1 + 46FE 60 RTS + 46FF 36 +.divisionLo + 4700 00 + 4701 00 + 4702 01 + 4703 09 + 4704 12 + 4705 1A + 4706 22 + 4707 32 + 4708 43 + 4709 53 + 470A 63 + 470B 7B + 470C 8B + 470D A3 + 470E BB + 470F DB + 4710 F4 + 4711 14 + 4712 34 + 4713 54 + 4714 74 + 4715 9C + 4716 C4 + 4717 EC + 4718 14 + 4719 3C + 471A 6C + 471B 94 + 471C C4 + 471D F4 + 471E 2C + 471F 5C + 4720 95 + 4721 CD + 4722 05 + 4723 3D + 4724 75 + 4725 B5 + 4726 ED + 4727 2D + 4728 6D + 4729 AD + 472A ED + 472B 35 + 472C 7D + 472D BD + 472E 05 + 472F 4D + 4730 9D + 4731 E5 + 4732 2D + 4733 7D + 4734 CD + 4735 1D + 4736 6D + 4737 BD + 4738 15 + 4739 65 + 473A BD + 473B 15 + 473C 6D + 473D C5 + 473E 1D + 473F 75 + 4740 D6 + 4741 2E + 4742 8E + 4743 EE + 4744 4E + 4745 AE + 4746 0E + 4747 6E + 4748 D6 + 4749 36 + 474A 9E + 474B 06 + 474C 6E + 474D D6 + 474E 3E + 474F A6 + 4750 16 + 4751 7E + 4752 EE + 4753 56 + 4754 C6 + 4755 36 + 4756 A6 + 4757 16 + 4758 86 + 4759 FE + 475A 6E + 475B E6 + 475C 56 + 475D CE + 475E 46 + 475F BE + 4760 36 + 4761 AE + 4762 26 + 4763 9E + 4764 1E + 4765 96 + 4766 16 + 4767 96 + 4768 0E + 4769 8E + 476A 0E + 476B 8E + 476C 0E + 476D 96 + 476E 16 + 476F 96 + 4770 1E + 4771 9E + 4772 26 + 4773 AE + 4774 36 + 4775 B6 + 4776 3E + 4777 C6 + 4778 56 + 4779 DE + 477A 66 + 477B EE + 477C 7E + 477D 06 + 477E 96 + 477F 26 + 4780 AF + 4781 3F + 4782 CF + 4783 5F + 4784 EF + 4785 7F + 4786 0F + 4787 A7 + 4788 37 + 4789 C7 + 478A 5F + 478B EF + 478C 87 + 478D 17 + 478E AF + 478F 47 + 4790 DF + 4791 77 + 4792 0F + 4793 A7 + 4794 3F + 4795 D7 + 4796 6F + 4797 0F + 4798 A7 + 4799 47 + 479A DF + 479B 7F + 479C 17 + 479D B7 + 479E 57 + 479F EF + 47A0 8F + 47A1 2F + 47A2 CF + 47A3 6F + 47A4 0F + 47A5 AF + 47A6 57 + 47A7 F7 + 47A8 97 + 47A9 37 + 47AA DF + 47AB 7F + 47AC 27 + 47AD C7 + 47AE 6F + 47AF 17 + 47B0 BF + 47B1 5F + 47B2 07 + 47B3 AF + 47B4 57 + 47B5 FF + 47B6 A7 + 47B7 4F + 47B8 F7 + 47B9 9F + 47BA 4F + 47BB F7 + 47BC 9F + 47BD 4F + 47BE F7 + 47BF A7 + 47C0 4F + 47C1 FF + 47C2 A7 + 47C3 57 + 47C4 07 + 47C5 AF + 47C6 5F + 47C7 0F + 47C8 BF + 47C9 6F + 47CA 1F + 47CB CF + 47CC 7F + 47CD 2F + 47CE DF + 47CF 8F + 47D0 47 + 47D1 F7 + 47D2 A7 + 47D3 5F + 47D4 0F + 47D5 C7 + 47D6 77 + 47D7 2F + 47D8 DF + 47D9 97 + 47DA 47 + 47DB FF + 47DC B7 + 47DD 6F + 47DE 1F + 47DF D7 + 47E0 8F + 47E1 47 + 47E2 FF + 47E3 B7 + 47E4 6F + 47E5 27 + 47E6 DF + 47E7 97 + 47E8 4F + 47E9 0F + 47EA C7 + 47EB 7F + 47EC 3F + 47ED F7 + 47EE AF + 47EF 6F + 47F0 27 + 47F1 E7 + 47F2 9F + 47F3 5F + 47F4 17 + 47F5 D7 + 47F6 97 + 47F7 4F + 47F8 0F + 47F9 CF + 47FA 8F + 47FB 47 + 47FC 07 + 47FD C7 + 47FE 87 + 47FF 47 +.yLookupLo + 4800 28 + 4801 F0 + 4802 B8 + 4803 80 + 4804 48 + 4805 10 + 4806 D8 + 4807 A0 + 4808 68 + 4809 30 + 480A F8 + 480B C0 + 480C 88 + 480D 50 + 480E 18 + 480F E0 + 4810 A8 + 4811 70 + 4812 38 + 4813 00 + 4814 C8 + 4815 90 + 4816 58 + 4817 20 + 4818 E8 + 4819 B0 + 481A 78 + 481B 40 + 481C 08 + 481D D0 + 481E 98 + 481F 60 +.yLookupHi + 4820 6F + 4821 6D + 4822 6C + 4823 6B + 4824 6A + 4825 69 + 4826 67 + 4827 66 + 4828 65 + 4829 64 + 482A 62 + 482B 61 + 482C 60 + 482D 5F + 482E 5E + 482F 5C + 4830 5B + 4831 5A + 4832 59 + 4833 58 + 4834 7D + 4835 7C + 4836 7B + 4837 7A + 4838 78 + 4839 77 + 483A 76 + 483B 75 + 483C 74 + 483D 72 + 483E 71 + 483F 70 +.DrawCanopyCorners + 4840 A2 07 LDX #&07 + 4842 A9 77 LDA #&77 + 4844 85 70 STA &70 + 4846 A9 88 LDA #&88 + 4848 85 71 STA &71 + 484A A9 EE LDA #&EE + 484C 85 72 STA &72 + 484E A9 11 LDA #&11 + 4850 85 73 STA &73 +.corn1 + 4852 A0 01 LDY #&01 +.corn2 + 4854 BD 48 59 LDA &5948,X + 4857 25 70 AND &70 + 4859 05 71 ORA &71 + 485B 9D 48 59 STA &5948,X + 485E BD 70 5A LDA &5A70,X + 4861 25 72 AND &72 + 4863 05 73 ORA &73 + 4865 9D 70 5A STA &5A70,X + 4868 CA DEX + 4869 88 DEY + 486A 10 E8 BPL &4854 + 486C A5 72 LDA &72 + 486E 0A ASL A + 486F 25 72 AND &72 + 4871 85 72 STA &72 + 4873 A5 70 LDA &70 + 4875 4A LSR A + 4876 25 70 AND &70 + 4878 85 70 STA &70 + 487A 06 73 ASL &73 + 487C 46 71 LSR &71 + 487E E0 FF CPX #&FF + 4880 D0 D0 BNE &4852 + 4882 60 RTS +.RemoveScore + 4883 A0 5B LDY #&5B + 4885 A2 C8 LDX #&C8 + 4887 A9 08 LDA #&08 + 4889 85 72 STA &72 + 488B A9 00 LDA #&00 + 488D 20 AB 2E JSR &2EAB + 4890 60 RTS + 4891 20 + 4892 20 + 4893 20 + 4894 4C + 4895 44 + 4896 41 + 4897 26 + 4898 38 + 4899 36 + 489A 3A + 489B 43 + 489C 4C + 489D 43 + 489E 3A + 489F 41 +.lineBufferV + 48A0 A2 + 48A1 07 + 48A2 A9 + 48A3 77 + 48A4 85 + 48A5 70 + 48A6 A9 + 48A7 88 + 48A8 85 + 48A9 71 + 48AA A9 + 48AB EE + 48AC 85 + 48AD 72 + 48AE A9 + 48AF 11 + 48B0 85 + 48B1 73 + 48B2 A0 + 48B3 01 + 48B4 BD + 48B5 40 + 48B6 59 + 48B7 25 + 48B8 70 + 48B9 05 + 48BA 71 + 48BB 9D + 48BC 40 + 48BD 59 + 48BE BD + 48BF 68 + 48C0 5A + 48C1 25 + 48C2 72 + 48C3 05 + 48C4 73 + 48C5 9D + 48C6 68 + 48C7 5A + 48C8 CA + 48C9 88 + 48CA 10 + 48CB E8 + 48CC 46 + 48CD 72 + 48CE 46 + 48CF 73 + 48D0 46 + 48D1 70 + 48D2 46 + 48D3 71 + 48D4 E0 + 48D5 FF + 48D6 D0 + 48D7 DA + 48D8 60 + 48D9 A0 + 48DA 5B + 48DB A2 + 48DC C0 + 48DD A9 + 48DE 08 + 48DF 85 + 48E0 72 + 48E1 A9 + 48E2 00 + 48E3 20 + 48E4 AB + 48E5 2E + 48E6 60 + 48E7 10 + 48E8 0F + 48E9 2E + 48EA 53 + 48EB 54 + 48EC 49 + 48ED 50 + 48EE 20 + 48EF 4C + 48F0 44 + 48F1 58 + 48F2 23 + 48F3 32 + 48F4 0D + 48F5 09 + 48F6 1A + 48F7 2A + 48F8 2E + 48F9 73 + 48FA 74 + 48FB 69 + 48FC 31 + 48FD 20 + 48FE 4C + 48FF 44 +.zPointHi + 4900 41 + 4901 20 + 4902 58 + 4903 41 + 4904 4C + 4905 4F + 4906 2C + 4907 59 + 4908 3A + 4909 43 + 490A 4C + 490B 43 + 490C 3A + 490D 41 + 490E 44 + 490F 43 + 4910 20 + 4911 44 + 4912 54 + 4913 49 + 4914 50 + 4915 3A + 4916 53 + 4917 54 + 4918 41 + 4919 26 + 491A 37 + 491B 37 + 491C 2C + 491D 58 + 491E 0D + 491F 09 + 4920 24 + 4921 23 + 4922 20 + 4923 20 + 4924 20 + 4925 20 + 4926 20 + 4927 20 + 4928 4C + 4929 44 + 492A 41 + 492B 20 + 492C 58 + 492D 41 + 492E 48 + 492F 49 + 4930 2C + 4931 59 + 4932 3A + 4933 41 + 4934 44 + 4935 43 + 4936 23 + 4937 35 + 4938 3A + 4939 53 + 493A 54 + 493B 41 + 493C 26 + 493D 37 + 493E 41 + 493F 2C + 4940 58 + 4941 0D + 4942 09 + 4943 2E + 4944 1C + 4945 2E + 4946 73 + 4947 74 + 4948 69 + 4949 34 + 494A 20 + 494B 54 + 494C 59 + 494D 41 + 494E 3A + 494F 43 + 4950 4C + 4951 43 + 4952 3A + 4953 41 + 4954 44 + 4955 43 + 4956 23 + 4957 34 + 4958 30 + 4959 3A + 495A 54 + 495B 41 + 495C 59 + 495D 0D + 495E 09 + 495F 38 + 4960 1A + 4961 2E + 4962 73 + 4963 74 + 4964 69 + 4965 32 + 4966 20 + 4967 44 + 4968 45 + 4969 58 + 496A 3A + 496B 42 + 496C 50 + 496D 4C + 496E 20 + 496F 73 + 4970 74 + 4971 69 + 4972 33 + 4973 3A + 4974 72 + 4975 74 + 4976 73 + 4977 0D + 4978 09 + 4979 42 + 497A 12 + 497B 2E + 497C 73 + 497D 74 + 497E 69 + 497F 33 + 4980 20 + 4981 42 + 4982 45 + 4983 51 + 4984 20 + 4985 73 + 4986 74 + 4987 69 + 4988 31 + 4989 0D + 498A 09 + 498B 4C + 498C 1D + 498D 20 + 498E 20 + 498F 20 + 4990 20 + 4991 20 + 4992 20 + 4993 4C + 4994 44 + 4995 41 + 4996 20 + 4997 58 + 4998 41 + 4999 4C + 499A 4F + 499B 2C + 499C 59 + 499D 3A + 499E 53 + 499F 54 + 49A0 41 + 49A1 26 + 49A2 37 + 49A3 37 + 49A4 2C + 49A5 58 + 49A6 0D + 49A7 09 + 49A8 56 + 49A9 26 + 49AA 20 + 49AB 20 + 49AC 20 + 49AD 20 + 49AE 20 + 49AF 20 + 49B0 4C + 49B1 44 + 49B2 41 + 49B3 20 + 49B4 58 + 49B5 41 + 49B6 48 + 49B7 49 + 49B8 2C + 49B9 59 + 49BA 3A + 49BB 53 + 49BC 54 + 49BD 41 + 49BE 26 + 49BF 37 + 49C0 41 + 49C1 2C + 49C2 58 + 49C3 3A + 49C4 4A + 49C5 4D + 49C6 50 + 49C7 20 + 49C8 73 + 49C9 74 + 49CA 69 + 49CB 34 + 49CC 0D + 49CD 09 + 49CE 60 + 49CF 05 + 49D0 20 + 49D1 0D + 49D2 09 + 49D3 6A + 49D4 0F + 49D5 2E + 49D6 48 + 49D7 49 + 49D8 54 + 49D9 53 + 49DA 20 + 49DB 4C + 49DC 44 + 49DD 58 + 49DE 23 + 49DF 32 + 49E0 0D + 49E1 09 + 49E2 74 + 49E3 1C + 49E4 2E + 49E5 68 + 49E6 69 + 49E7 74 + 49E8 32 + 49E9 20 + 49EA 54 + 49EB 59 + 49EC 41 + 49ED 3A + 49EE 43 + 49EF 4C + 49F0 43 + 49F1 3A + 49F2 41 + 49F3 44 + 49F4 43 + 49F5 23 + 49F6 34 + 49F7 30 + 49F8 3A + 49F9 54 + 49FA 41 + 49FB 59 +.zLinearHi + 49FC 0D +.zGravityHi + 49FD 09 +.zTempPoint1Hi + 49FE 7E +.zTempPoint2Hi + 49FF 28 +.xPointHi + 4A00 20 + 4A01 20 + 4A02 20 + 4A03 20 + 4A04 20 + 4A05 20 + 4A06 4C + 4A07 44 + 4A08 41 + 4A09 20 + 4A0A 58 + 4A0B 41 + 4A0C 4C + 4A0D 4F + 4A0E 2C + 4A0F 59 + 4A10 3A + 4A11 53 + 4A12 45 + 4A13 43 + 4A14 3A + 4A15 53 + 4A16 42 + 4A17 43 + 4A18 26 + 4A19 37 + 4A1A 37 + 4A1B 2C + 4A1C 58 + 4A1D 3A + 4A1E 53 + 4A1F 54 + 4A20 41 + 4A21 26 + 4A22 37 + 4A23 34 + 4A24 0D + 4A25 09 + 4A26 88 + 4A27 26 + 4A28 20 + 4A29 20 + 4A2A 20 + 4A2B 20 + 4A2C 20 + 4A2D 20 + 4A2E 4C + 4A2F 44 + 4A30 41 + 4A31 20 + 4A32 58 + 4A33 41 + 4A34 48 + 4A35 49 + 4A36 2C + 4A37 59 + 4A38 3A + 4A39 53 + 4A3A 42 + 4A3B 43 + 4A3C 26 + 4A3D 37 + 4A3E 41 + 4A3F 2C + 4A40 58 + 4A41 3A + 4A42 42 + 4A43 4E + 4A44 45 + 4A45 20 + 4A46 68 + 4A47 69 + 4A48 74 + 4A49 31 + 4A4A 0D + 4A4B 09 + 4A4C 92 + 4A4D 22 + 4A4E 20 + 4A4F 20 + 4A50 20 + 4A51 20 + 4A52 20 + 4A53 20 + 4A54 4C + 4A55 44 + 4A56 41 + 4A57 26 + 4A58 37 + 4A59 34 + 4A5A 3A + 4A5B 43 + 4A5C 4D + 4A5D 50 + 4A5E 26 + 4A5F 38 + 4A60 30 + 4A61 2C + 4A62 58 + 4A63 3A + 4A64 42 + 4A65 43 + 4A66 53 + 4A67 20 + 4A68 68 + 4A69 69 + 4A6A 74 + 4A6B 31 + 4A6C 0D + 4A6D 09 + 4A6E 9C + 4A6F 26 + 4A70 20 + 4A71 20 + 4A72 20 + 4A73 20 + 4A74 20 + 4A75 20 + 4A76 44 + 4A77 45 + 4A78 58 + 4A79 3A + 4A7A 42 + 4A7B 50 + 4A7C 4C + 4A7D 20 + 4A7E 68 + 4A7F 69 + 4A80 74 + 4A81 32 + 4A82 3A + 4A83 4C + 4A84 44 + 4A85 41 + 4A86 20 + 4A87 4F + 4A88 42 + 4A89 3A + 4A8A 53 + 4A8B 54 + 4A8C 41 + 4A8D 20 + 4A8E 45 + 4A8F 50 + 4A90 54 + 4A91 52 + 4A92 0D + 4A93 09 + 4A94 A6 + 4A95 19 + 4A96 20 + 4A97 20 + 4A98 20 + 4A99 20 + 4A9A 20 + 4A9B 20 + 4A9C 54 + 4A9D 53 + 4A9E 58 + 4A9F 3A + 4AA0 49 + 4AA1 4E + 4AA2 58 + 4AA3 3A + 4AA4 49 + 4AA5 4E + 4AA6 58 + 4AA7 3A + 4AA8 54 + 4AA9 58 + 4AAA 53 + 4AAB 0D + 4AAC 09 + 4AAD A7 + 4AAE 1D + 4AAF 20 + 4AB0 20 + 4AB1 20 + 4AB2 20 + 4AB3 20 + 4AB4 20 + 4AB5 4C + 4AB6 44 + 4AB7 41 + 4AB8 23 + 4AB9 32 + 4ABA 37 + 4ABB 3A + 4ABC 53 + 4ABD 54 + 4ABE 41 + 4ABF 20 + 4AC0 45 + 4AC1 50 + 4AC2 4C + 4AC3 4F + 4AC4 3A + 4AC5 72 + 4AC6 74 + 4AC7 73 + 4AC8 0D + 4AC9 09 + 4ACA B0 + 4ACB 0D + 4ACC 2E + 4ACD 68 + 4ACE 69 + 4ACF 74 + 4AD0 31 + 4AD1 20 + 4AD2 72 + 4AD3 74 + 4AD4 73 + 4AD5 0D + 4AD6 09 + 4AD7 BA + 4AD8 05 + 4AD9 20 + 4ADA 0D + 4ADB 09 + 4ADC C4 + 4ADD 1D + 4ADE 2E + 4ADF 41 + 4AE0 44 + 4AE1 49 + 4AE2 46 + 4AE3 20 + 4AE4 4C + 4AE5 44 + 4AE6 41 + 4AE7 23 + 4AE8 30 + 4AE9 3A + 4AEA 53 + 4AEB 54 + 4AEC 41 + 4AED 26 + 4AEE 37 + 4AEF 30 + 4AF0 3A + 4AF1 53 + 4AF2 54 + 4AF3 41 + 4AF4 26 + 4AF5 37 + 4AF6 32 + 4AF7 0D + 4AF8 09 + 4AF9 CE + 4AFA 1C + 4AFB 20 +.xLinearHi + 4AFC 20 +.xGravityHi + 4AFD 20 +.xTempPoint1Hi + 4AFE 20 +.xTempPoint2Hi + 4AFF 20 +.CopyWorkToPoint + 4B00 BD 00 0C LDA &0C00,X + 4B03 99 00 09 STA &0900,Y + 4B06 BD 01 0C LDA &0C01,X + 4B09 99 00 0A STA &0A00,Y + 4B0C BD 02 0C LDA &0C02,X + 4B0F 99 00 07 STA &0700,Y + 4B12 BD 10 0C LDA &0C10,X + 4B15 99 00 4A STA &4A00,Y + 4B18 BD 11 0C LDA &0C11,X + 4B1B 99 00 0B STA &0B00,Y + 4B1E BD 12 0C LDA &0C12,X + 4B21 99 00 49 STA &4900,Y + 4B24 60 RTS +.CopyPointToWork + 4B25 B9 00 09 LDA &0900,Y + 4B28 9D 00 0C STA &0C00,X + 4B2B B9 00 0A LDA &0A00,Y + 4B2E 9D 01 0C STA &0C01,X + 4B31 B9 00 07 LDA &0700,Y + 4B34 9D 02 0C STA &0C02,X + 4B37 B9 00 4A LDA &4A00,Y + 4B3A 9D 10 0C STA &0C10,X + 4B3D B9 00 0B LDA &0B00,Y + 4B40 9D 11 0C STA &0C11,X + 4B43 B9 00 49 LDA &4900,Y + 4B46 9D 12 0C STA &0C12,X + 4B49 60 RTS +.SetPointToOrigin + 4B4A A9 00 LDA #&00 +.SetPoint + 4B4C 9D 00 09 STA &0900,X + 4B4F 9D 00 4A STA &4A00,X + 4B52 9D 00 0A STA &0A00,X + 4B55 9D 00 0B STA &0B00,X + 4B58 9D 00 07 STA &0700,X + 4B5B 9D 00 49 STA &4900,X + 4B5E 60 RTS +.CheckLineDistance + 4B5F B9 00 4A LDA &4A00,Y + 4B62 10 02 BPL &4B66 + 4B64 49 FF EOR #&FF +.dist1 + 4B66 DD 00 3B CMP &3B00,X + 4B69 B0 18 BCS &4B83 + 4B6B B9 00 0B LDA &0B00,Y + 4B6E 10 02 BPL &4B72 + 4B70 49 FF EOR #&FF +.dist2 + 4B72 DD 00 3B CMP &3B00,X + 4B75 B0 0C BCS &4B83 + 4B77 B9 00 49 LDA &4900,Y + 4B7A 10 02 BPL &4B7E + 4B7C 49 FF EOR #&FF +.dist3 + 4B7E DD 00 3B CMP &3B00,X + 4B81 90 03 BCC &4B86 +.dist4 + 4B83 A9 01 LDA #&01 + 4B85 60 RTS +.dist5 + 4B86 A9 00 LDA #&00 + 4B88 0D CE 0C ORA &0CCE + 4B8B 60 RTS +.addv1 + 4B8C 08 PHP + 4B8D A2 02 LDX #&02 +.addv2 + 4B8F 28 PLP + 4B90 50 05 BVC &4B97 + 4B92 A9 40 LDA #&40 + 4B94 8D CE 0C STA &0CCE +.addv3 + 4B97 CA DEX + 4B98 10 F5 BPL &4B8F + 4B9A 60 RTS +.CheckBridgeAndTown + 4B9B 85 71 STA &71 + 4B9D A0 02 LDY #&02 +.town1 + 4B9F 98 TYA + 4BA0 18 CLC + 4BA1 65 71 ADC &71 + 4BA3 AA TAX + 4BA4 38 SEC + 4BA5 B9 ED 0C LDA &0CED,Y + 4BA8 FD C0 36 SBC &36C0,X + 4BAB 85 70 STA &70 + 4BAD B9 FD 0C LDA &0CFD,Y + 4BB0 FD D5 36 SBC &36D5,X + 4BB3 30 14 BMI &4BC9 + 4BB5 4A LSR A + 4BB6 66 70 ROR &70 + 4BB8 4A LSR A + 4BB9 D0 0E BNE &4BC9 + 4BBB 66 70 ROR &70 + 4BBD A5 70 LDA &70 + 4BBF DD EA 36 CMP &36EA,X + 4BC2 B0 05 BCS &4BC9 + 4BC4 88 DEY + 4BC5 10 D8 BPL &4B9F + 4BC7 38 SEC + 4BC8 60 RTS +.town2 + 4BC9 18 CLC + 4BCA 60 RTS +.ScorePoints + 4BCB 20 D4 4B JSR &4BD4 + 4BCE A9 03 LDA #&03 + 4BD0 20 87 4D JSR &4D87 + 4BD3 60 RTS +.UpdateScore + 4BD4 F8 SED + 4BD5 18 CLC + 4BD6 6D 9C 36 ADC &369C + 4BD9 8D 9C 36 STA &369C + 4BDC 8A TXA + 4BDD 6D 9D 36 ADC &369D + 4BE0 8D 9D 36 STA &369D + 4BE3 B0 0C BCS &4BF1 + 4BE5 E0 99 CPX #&99 + 4BE7 D0 08 BNE &4BF1 + 4BE9 A9 00 LDA #&00 + 4BEB 8D 9C 36 STA &369C + 4BEE 8D 9D 36 STA &369D +.scor1 + 4BF1 D8 CLD + 4BF2 60 RTS +.UpdateHighScore + 4BF3 AD 9D 36 LDA &369D + 4BF6 CD 9F 36 CMP &369F + 4BF9 90 16 BCC &4C11 + 4BFB D0 08 BNE &4C05 + 4BFD AD 9C 36 LDA &369C + 4C00 CD 9E 36 CMP &369E + 4C03 90 0C BCC &4C11 +.high1 + 4C05 AD 9C 36 LDA &369C + 4C08 8D 9E 36 STA &369E + 4C0B AD 9D 36 LDA &369D + 4C0E 8D 9F 36 STA &369F +.high3 + 4C11 60 RTS +.DisplayScore + 4C12 A2 00 LDX #&00 + 4C14 A0 10 LDY #&10 + 4C16 20 5C 4C JSR &4C5C + 4C19 AD 9F 36 LDA &369F + 4C1C 20 45 4C JSR &4C45 + 4C1F AD 9E 36 LDA &369E + 4C22 20 45 4C JSR &4C45 + 4C25 A2 10 LDX #&10 + 4C27 A0 14 LDY #&14 + 4C29 20 5C 4C JSR &4C5C + 4C2C A2 08 LDX #&08 + 4C2E A0 10 LDY #&10 + 4C30 20 5C 4C JSR &4C5C + 4C33 AD 9D 36 LDA &369D + 4C36 20 45 4C JSR &4C45 + 4C39 AD 9C 36 LDA &369C + 4C3C 20 45 4C JSR &4C45 + 4C3F A9 30 LDA #&30 + 4C41 20 EE FF JSR &FFEE + 4C44 60 RTS +.PrintScore + 4C45 85 74 STA &74 + 4C47 4A LSR A + 4C48 4A LSR A + 4C49 4A LSR A + 4C4A 4A LSR A + 4C4B 18 CLC + 4C4C 69 30 ADC #&30 + 4C4E 20 EE FF JSR &FFEE + 4C51 A5 74 LDA &74 + 4C53 29 0F AND #&0F + 4C55 18 CLC + 4C56 69 30 ADC #&30 + 4C58 20 EE FF JSR &FFEE + 4C5B 60 RTS +.PrintScoreText + 4C5C 84 74 STY &74 +.prin1 + 4C5E BD E0 3D LDA &3DE0,X + 4C61 20 EE FF JSR &FFEE + 4C64 E8 INX + 4C65 E4 74 CPX &74 + 4C67 D0 F5 BNE &4C5E + 4C69 60 RTS +.Crash + 4C6A A9 00 LDA #&00 + 4C6C 20 B5 4D JSR &4DB5 + 4C6F A9 05 LDA #&05 + 4C71 20 87 4D JSR &4D87 + 4C74 A2 FF LDX #&FF + 4C76 20 A2 2E JSR &2EA2 + 4C79 A9 0A LDA #&0A + 4C7B 20 D3 2E JSR &2ED3 + 4C7E 20 A0 2E JSR &2EA0 + 4C81 20 40 48 JSR &4840 + 4C84 A9 5A LDA #&5A + 4C86 20 D3 2E JSR &2ED3 + 4C89 20 92 4D JSR &4D92 + 4C8C BA TSX + 4C8D 8A TXA + 4C8E 18 CLC + 4C8F 69 06 ADC #&06 + 4C91 AA TAX + 4C92 9A TXS + 4C93 4C A5 26 JMP &26A5 +.NextObjectGroup + 4C96 C0 06 CPY #&06 + 4C98 90 14 BCC &4CAE + 4C9A C0 0A CPY #&0A + 4C9C B0 10 BCS &4CAE + 4C9E B9 C2 3E LDA &3EC2,Y + 4CA1 18 CLC + 4CA2 69 01 ADC #&01 + 4CA4 29 07 AND #&07 + 4CA6 19 C6 3E ORA &3EC6,Y + 4CA9 99 C2 3E STA &3EC2,Y + 4CAC 38 SEC + 4CAD 60 RTS +.nobj1 + 4CAE 18 CLC + 4CAF 60 RTS +.ExplodeAlien + 4CB0 AD 8F 36 LDA &368F + 4CB3 F0 64 BEQ &4D19 + 4CB5 A9 02 LDA #&02 + 4CB7 20 87 4D JSR &4D87 + 4CBA AE 8E 36 LDX &368E + 4CBD BC 7A 36 LDY &367A,X + 4CC0 BD 75 36 LDA &3675,X + 4CC3 85 75 STA &75 + 4CC5 A2 02 LDX #&02 + 4CC7 EC 8D 36 CPX &368D + 4CCA B0 03 BCS &4CCF + 4CCC AE 8D 36 LDX &368D +.expl1 + 4CCF A9 FF LDA #&FF +.expl2 + 4CD1 4A LSR A + 4CD2 CA DEX + 4CD3 10 FC BPL &4CD1 + 4CD5 85 70 STA &70 +.expl3 + 4CD7 A2 A8 LDX #&A8 + 4CD9 20 25 4B JSR &4B25 + 4CDC 84 74 STY &74 + 4CDE A0 02 LDY #&02 +.expl4 + 4CE0 A9 00 LDA #&00 + 4CE2 85 72 STA &72 + 4CE4 20 77 4D JSR &4D77 + 4CE7 AA TAX + 4CE8 BD F1 44 LDA &44F1,X + 4CEB 4A LSR A + 4CEC 25 70 AND &70 + 4CEE 90 04 BCC &4CF4 + 4CF0 C6 72 DEC &72 + 4CF2 49 FF EOR #&FF +.expl5 + 4CF4 79 A8 0C ADC &0CA8,Y + 4CF7 99 A8 0C STA &0CA8,Y + 4CFA A5 72 LDA &72 + 4CFC 79 B8 0C ADC &0CB8,Y + 4CFF 99 B8 0C STA &0CB8,Y + 4D02 88 DEY + 4D03 10 DB BPL &4CE0 + 4D05 A4 74 LDY &74 + 4D07 A2 A8 LDX #&A8 + 4D09 20 00 4B JSR &4B00 + 4D0C 88 DEY + 4D0D C4 75 CPY &75 + 4D0F B0 C6 BCS &4CD7 + 4D11 CE 8F 36 DEC &368F + 4D14 D0 03 BNE &4D19 + 4D16 20 35 4D JSR &4D35 +.expl6 + 4D19 AD 8F 36 LDA &368F + 4D1C C9 1A CMP #&1A + 4D1E D0 14 BNE &4D34 + 4D20 AD BA 0C LDA &0CBA + 4D23 AE 8E 36 LDX &368E + 4D26 E0 21 CPX #&21 + 4D28 D0 07 BNE &4D31 + 4D2A 38 SEC + 4D2B E9 08 SBC #&08 + 4D2D 10 02 BPL &4D31 + 4D2F A9 00 LDA #&00 +.expl7 + 4D31 8D 8C 36 STA &368C +.expl8 + 4D34 60 RTS +.ScoreHitPoints + 4D35 A9 FF LDA #&FF + 4D37 AC 8E 36 LDY &368E + 4D3A C0 1E CPY #&1E + 4D3C D0 06 BNE &4D44 + 4D3E AE 02 42 LDX &4202 + 4D41 4C 4A 4D JMP &4D4A +.hitp1 + 4D44 BE E4 41 LDX &41E4,Y + 4D47 99 E4 41 STA &41E4,Y +.hitp2 + 4D4A 9D 08 42 STA &4208,X + 4D4D C0 21 CPY #&21 + 4D4F D0 07 BNE &4D58 + 4D51 20 82 26 JSR &2682 + 4D54 A9 03 LDA #&03 + 4D56 D0 10 BNE &4D68 +.hitp3 + 4D58 AE 8D 36 LDX &368D + 4D5B C0 1F CPY #&1F + 4D5D B0 06 BCS &4D65 + 4D5F AD FF 3F LDA &3FFF + 4D62 4C 68 4D JMP &4D68 +.hitp4 + 4D65 BD FA 3F LDA &3FFA,X +.hitp5 + 4D68 A2 00 LDX #&00 + 4D6A 20 D4 4B JSR &4BD4 + 4D6D 60 RTS +.SetRandomNumber + 4D6E AE F0 44 LDX &44F0 + 4D71 AD 64 FE LDA &FE64 + 4D74 9D F1 44 STA &44F1,X +.NextRandomNumber + 4D77 AD F0 44 LDA &44F0 + 4D7A 18 CLC + 4D7B 69 01 ADC #&01 + 4D7D C9 0B CMP #&0B + 4D7F 90 02 BCC &4D83 + 4D81 A9 00 LDA #&00 +.rand1 + 4D83 8D F0 44 STA &44F0 + 4D86 60 RTS +.MakeSound + 4D87 0A ASL A + 4D88 0A ASL A + 4D89 0A ASL A + 4D8A 18 CLC + 4D8B 69 A8 ADC #&A8 + 4D8D AA TAX + 4D8E A9 07 LDA #&07 + 4D90 D0 19 BNE &4DAB +.TerminateGame + 4D92 A9 00 LDA #&00 + 4D94 20 B5 4D JSR &4DB5 + 4D97 20 F3 4B JSR &4BF3 + 4D9A 20 12 4C JSR &4C12 +.term1 + 4D9D A2 B6 LDX #&B6 + 4D9F 20 32 25 JSR &2532 + 4DA2 D0 F9 BNE &4D9D + 4DA4 60 RTS +.DefineEnvelope + 4DA5 18 CLC + 4DA6 69 8C ADC #&8C + 4DA8 AA TAX + 4DA9 A9 08 LDA #&08 +.MakeSoundEnvelope + 4DAB A0 4E LDY #&4E + 4DAD 90 01 BCC &4DB0 + 4DAF C8 INY +.senv1 + 4DB0 20 F1 FF JSR &FFF1 + 4DB3 60 RTS + 4DB4 EA NOP +.ToggleEngineSound + 4DB5 D0 0B BNE &4DC2 + 4DB7 A9 00 LDA #&00 + 4DB9 20 87 4D JSR &4D87 +.ResetEngineSound + 4DBC A9 FF LDA #&FF + 4DBE 8D E4 4E STA &4EE4 + 4DC1 60 RTS +.MakeEngineSound + 4DC2 AD E9 0C LDA &0CE9 + 4DC5 F0 48 BEQ &4E0F + 4DC7 AD 1F 0C LDA &0C1F + 4DCA 85 7C STA &7C + 4DCC AD 0F 0C LDA &0C0F + 4DCF A0 03 LDY #&03 +.engs1 + 4DD1 46 7C LSR &7C + 4DD3 6A ROR A + 4DD4 88 DEY + 4DD5 10 FA BPL &4DD1 + 4DD7 18 CLC + 4DD8 6D 15 0C ADC &0C15 + 4DDB 85 7C STA &7C + 4DDD A9 32 LDA #&32 + 4DDF 38 SEC + 4DE0 E5 7C SBC &7C + 4DE2 F0 02 BEQ &4DE6 + 4DE4 10 02 BPL &4DE8 +.engs2 + 4DE6 A9 01 LDA #&01 +.engs3 + 4DE8 8D 8E 4E STA &4E8E + 4DEB 8D 90 4E STA &4E90 + 4DEE 49 FF EOR #&FF + 4DF0 8D 8F 4E STA &4E8F + 4DF3 A5 7C LDA &7C + 4DF5 18 CLC + 4DF6 69 50 ADC #&50 + 4DF8 CD E4 4E CMP &4EE4 + 4DFB F0 12 BEQ &4E0F + 4DFD 8D E4 4E STA &4EE4 + 4E00 A9 00 LDA #&00 + 4E02 20 A5 4D JSR &4DA5 + 4E05 A9 07 LDA #&07 + 4E07 20 87 4D JSR &4D87 + 4E0A A9 01 LDA #&01 + 4E0C 20 87 4D JSR &4D87 +.engs4 + 4E0F 60 RTS +.DrawGunSights + 4E10 20 40 48 JSR &4840 + 4E13 A2 DA LDX #&DA + 4E15 20 32 25 JSR &2532 + 4E18 D0 1E BNE &4E38 + 4E1A 2C BE 0C BIT &0CBE + 4E1D 70 21 BVS &4E40 + 4E1F A9 C0 LDA #&C0 + 4E21 4D BE 0C EOR &0CBE + 4E24 30 17 BMI &4E3D + 4E26 48 PHA + 4E27 A0 5F LDY #&5F + 4E29 A2 88 LDX #&88 + 4E2B A9 03 LDA #&03 + 4E2D 85 72 STA &72 + 4E2F A9 00 LDA #&00 + 4E31 20 AB 2E JSR &2EAB + 4E34 68 PLA + 4E35 4C 3D 4E JMP &4E3D +.guns1 + 4E38 A9 80 LDA #&80 + 4E3A 2D BE 0C AND &0CBE +.guns2 + 4E3D 8D BE 0C STA &0CBE +.guns3 + 4E40 10 2B BPL &4E6D + 4E42 A0 07 LDY #&07 +.guns4 + 4E44 A9 88 LDA #&88 + 4E46 19 20 60 ORA &6020,Y + 4E49 99 20 60 STA &6020,Y + 4E4C A9 88 LDA #&88 + 4E4E 19 60 61 ORA &6160,Y + 4E51 99 60 61 STA &6160,Y + 4E54 88 DEY + 4E55 10 ED BPL &4E44 + 4E57 A9 77 LDA #&77 + 4E59 0D 58 62 ORA &6258 + 4E5C 8D 58 62 STA &6258 + 4E5F 38 SEC + 4E60 A0 88 LDY #&88 +.guns5 + 4E62 A9 FF LDA #&FF + 4E64 99 58 62 STA &6258,Y + 4E67 98 TYA + 4E68 E9 08 SBC #&08 + 4E6A A8 TAY + 4E6B D0 F5 BNE &4E62 +.ToggleJoystick + 4E6D A2 9F LDX #&9F + 4E6F 20 32 25 JSR &2532 + 4E72 D0 11 BNE &4E85 + 4E74 AD CD 0C LDA &0CCD + 4E77 D0 11 BNE &4E8A + 4E79 AD E4 7C LDA &7CE4 + 4E7C 49 88 EOR #&88 + 4E7E 8D E4 7C STA &7CE4 + 4E81 A9 80 LDA #&80 + 4E83 D0 02 BNE &4E87 +.tjoy1 + 4E85 A9 00 LDA #&00 +.tjoy2 + 4E87 8D CD 0C STA &0CCD +.tjoy3 + 4E8A 60 RTS + 4E8B 8D +.envelopeData + 4E8C 01 + 4E8D 01 + 4E8E 32 + 4E8F CE + 4E90 32 + 4E91 01 + 4E92 02 + 4E93 01 + 4E94 00 + 4E95 00 + 4E96 00 + 4E97 00 + 4E98 00 + 4E99 00 + 4E9A 02 + 4E9B 01 + 4E9C FB + 4E9D 00 + 4E9E 00 + 4E9F 0A + 4EA0 00 + 4EA1 00 + 4EA2 78 + 4EA3 FF + 4EA4 E8 + 4EA5 F6 + 4EA6 78 + 4EA7 74 +.soundData + 4EA8 10 + 4EA9 00 + 4EAA 00 + 4EAB 00 + 4EAC 00 + 4EAD 00 + 4EAE 00 + 4EAF 00 + 4EB0 10 + 4EB1 00 + 4EB2 FB + 4EB3 FF + 4EB4 03 + 4EB5 00 + 4EB6 FF + 4EB7 00 + 4EB8 13 + 4EB9 00 + 4EBA 02 + 4EBB 00 + 4EBC DC + 4EBD 00 + 4EBE 02 + 4EBF 00 + 4EC0 13 + 4EC1 00 + 4EC2 F1 + 4EC3 FF + 4EC4 78 + 4EC5 00 + 4EC6 07 + 4EC7 00 + 4EC8 13 + 4EC9 00 + 4ECA F4 + 4ECB FF + 4ECC 00 + 4ECD 00 + 4ECE 01 + 4ECF 00 + 4ED0 10 + 4ED1 00 + 4ED2 F3 + 4ED3 FF + 4ED4 04 + 4ED5 00 + 4ED6 0C + 4ED7 00 + 4ED8 13 + 4ED9 00 + 4EDA 02 + 4EDB 00 + 4EDC 3C + 4EDD 00 + 4EDE 02 + 4EDF 00 + 4EE0 11 + 4EE1 00 + 4EE2 01 + 4EE3 00 + 4EE4 FF + 4EE5 00 + 4EE6 FF + 4EE7 00 +.PrintTooLate + 4EE8 A2 0B LDX #&0B +.late1 + 4EEA BD F4 4E LDA &4EF4,X + 4EED 20 EE FF JSR &FFEE + 4EF0 CA DEX + 4EF1 10 F7 BPL &4EEA + 4EF3 60 RTS +.tooLateText + 4EF4 21 45 54 ... + 4EFD 07 + 4EFE 06 + 4EFF 1F +.xLookupLo + 4F00 00 + 4F01 08 + 4F02 10 + 4F03 18 + 4F04 20 + 4F05 28 + 4F06 30 + 4F07 38 + 4F08 40 + 4F09 48 + 4F0A 50 + 4F0B 58 + 4F0C 60 + 4F0D 68 + 4F0E 70 + 4F0F 78 + 4F10 80 + 4F11 88 + 4F12 90 + 4F13 98 + 4F14 A0 + 4F15 A8 + 4F16 B0 + 4F17 B8 + 4F18 C0 + 4F19 C8 + 4F1A D0 + 4F1B D8 + 4F1C E0 + 4F1D E8 + 4F1E F0 + 4F1F F8 + 4F20 00 + 4F21 08 + 4F22 10 + 4F23 18 + 4F24 20 + 4F25 28 + 4F26 30 + 4F27 38 +.xLookupHi + 4F28 00 + 4F29 00 + 4F2A 00 + 4F2B 00 + 4F2C 00 + 4F2D 00 + 4F2E 00 + 4F2F 00 + 4F30 00 + 4F31 00 + 4F32 00 + 4F33 00 + 4F34 00 + 4F35 00 + 4F36 00 + 4F37 00 + 4F38 00 + 4F39 00 + 4F3A 00 + 4F3B 00 + 4F3C 00 + 4F3D 00 + 4F3E 00 + 4F3F 00 + 4F40 00 + 4F41 00 + 4F42 00 + 4F43 00 + 4F44 00 + 4F45 00 + 4F46 00 + 4F47 00 + 4F48 01 + 4F49 01 + 4F4A 01 + 4F4B 01 + 4F4C 01 + 4F4D 01 + 4F4E 01 + 4F4F 01 +.keyTable1 + 4F50 A9 + 4F51 BE + 4F52 AE + 4F53 DE + 4F54 CA + 4F55 BC +.keyTable2 + 4F56 99 + 4F57 A8 + 4F58 CD + 4F59 DD + 4F5A 9B + 4F5B FF +.axisChangeRate + 4F5C 00 + 4F5D 00 + 4F5E 00 + 4F5F 00 +.keyTable2Lo + 4F60 01 + 4F61 01 + 4F62 01 + 4F63 0F + 4F64 07 + 4F65 08 +.keyTable2Hi + 4F66 01 + 4F67 01 + 4F68 01 + 4F69 00 + 4F6A 00 + 4F6B 00 +.keyTable1Lo + 4F6C 01 + 4F6D 01 + 4F6E 01 + 4F6F F1 + 4F70 04 + 4F71 05 +.keyTable1Hi + 4F72 FF + 4F73 FF + 4F74 FF + 4F75 FF + 4F76 00 + 4F77 00 +.soundData26 + 4F78 10 + 4F79 00 + 4F7A F3 + 4F7B FF + 4F7C 06 + 4F7D 00 + 4F7E 03 + 4F7F 00 +.forceFactor + 4F80 D4 + 4F81 C9 + 4F82 CC + 4F83 B0 + 4F84 9C + 4F85 16 + 4F86 28 + 4F87 98 + 4F88 00 + 4F89 00 + 4F8A FF + 4F8B 8D + 4F8C BE + 4F8D 00 + 4F8E 05 + 4F8F 7D + 4F90 FF + 4F91 50 +.dialQuadrant + 4F92 12 + 4F93 16 + 4F94 10 + 4F95 1A + 4F96 16 + 4F97 1A + 4F98 1A + 4F99 41 +.xDeltaMax + 4F9A 07 + 4F9B 09 + 4F9C 05 + 4F9D 0A + 4F9E 08 + 4F9F 09 + 4FA0 09 + 4FA1 0D +.yDeltaMax + 4FA2 0C + 4FA3 0A + 4FA4 0A + 4FA5 0E + 4FA6 0C + 4FA7 0E + 4FA8 0E + 4FA9 20 +.indicatorLineI + 4FAA 36 + 4FAB 15 + 4FAC 16 + 4FAD 16 + 4FAE 6A + 4FAF 6A + 4FB0 6A + 4FB1 54 +.indicatorLineJ + 4FB2 B8 + 4FB3 E9 + 4FB4 BC + 4FB5 BC + 4FB6 E8 + 4FB7 BA + 4FB8 BA + 4FB9 58 +.indicatorBase + 4FBA 00 + 4FBB 30 + 4FBC 00 + 4FBD 00 + 4FBE 43 + 4FBF 35 + 4FC0 6A + 4FC1 4C +.indicatorMin + 4FC2 00 + 4FC3 39 + 4FC4 00 + 4FC5 00 + 4FC6 1E + 4FC7 21 + 4FC8 5B + 4FC9 F4 +.indicatorMax + 4FCA FF + 4FCB 7A + 4FCC FF + 4FCD FF + 4FCE 68 + 4FCF 48 + 4FD0 78 + 4FD1 4C +.indicatorLineT + 4FD2 02 + 4FD3 02 + 4FD4 02 + 4FD5 02 + 4FD6 02 + 4FD7 02 + 4FD8 02 + 4FD9 02 +.indicatorLineU + 4FDA 02 + 4FDB 02 + 4FDC 02 + 4FDD 02 + 4FDE 02 + 4FDF 02 + 4FE0 02 + 4FE1 02 +.indicatorLineV + 4FE2 02 + 4FE3 02 + 4FE4 00 + 4FE5 00 + 4FE6 00 + 4FE7 00 + 4FE8 00 + 4FE9 00 +.yJoyCoord + 4FEA 00 + 4FEB 00 +.xJoyCoord + 4FEC 00 + 4FED 00 + 4FEE 4D + 4FEF 0D + 4FF0 0C + 4FF1 08 + 4FF2 15 + 4FF3 20 + 4FF4 20 + 4FF5 20 + 4FF6 20 + 4FF7 20 + 4FF8 20 + 4FF9 4C +.indicator0To6 + 4FFA 44 +.indicator7To11 + 4FFB 59 +.joyCoord + 4FFC 23 + 4FFD 31 + 4FFE 3A +.altitudeMinutes + 4FFF 4C +.ApplyFlightModel + 5000 A2 FD LDX #&FD + 5002 20 4A 4B JSR &4B4A + 5005 A9 FE LDA #&FE + 5007 AE C5 0C LDX &0CC5 + 500A 86 7D STX &7D + 500C F0 1D BEQ &502B + 500E AE F2 0C LDX &0CF2 + 5011 F0 18 BEQ &502B + 5013 AE 94 0C LDX &0C94 + 5016 10 13 BPL &502B + 5018 86 71 STX &71 + 501A AD 84 0C LDA &0C84 + 501D 38 SEC + 501E 66 71 ROR &71 + 5020 6A ROR A + 5021 49 FF EOR #&FF + 5023 8D FD 0A STA &0AFD + 5026 A9 FE LDA #&FE + 5028 18 CLC + 5029 E5 71 SBC &71 +.fmod1 + 502B 8D FD 0B STA &0BFD + 502E A9 FD LDA #&FD + 5030 85 88 STA &88 + 5032 A9 1B LDA #&1B + 5034 8D CB 0C STA &0CCB + 5037 20 8D 1D JSR &1D8D + 503A A2 89 LDX #&89 + 503C A0 FF LDY #&FF + 503E 84 88 STY &88 + 5040 20 00 4B JSR &4B00 + 5043 A9 00 LDA #&00 + 5045 8D CB 0C STA &0CCB + 5048 20 8D 1D JSR &1D8D + 504B A2 03 LDX #&03 + 504D A0 FF LDY #&FF + 504F 20 25 4B JSR &4B25 + 5052 20 95 52 JSR &5295 + 5055 20 00 55 JSR &5500 + 5058 20 08 54 JSR &5408 + 505B AD 8F 36 LDA &368F + 505E F0 21 BEQ &5081 + 5060 A2 6A LDX #&6A +.fmod2 + 5062 20 77 4D JSR &4D77 + 5065 A8 TAY + 5066 B9 F1 44 LDA &44F1,Y + 5069 85 70 STA &70 + 506B AD 8C 36 LDA &368C + 506E C9 10 CMP #&10 + 5070 B0 0F BCS &5081 + 5072 49 0F EOR #&0F + 5074 0A ASL A + 5075 46 70 LSR &70 + 5077 A0 01 LDY #&01 + 5079 20 BB 57 JSR &57BB + 507C E8 INX + 507D E0 6D CPX #&6D + 507F D0 E1 BNE &5062 +.fmod3 + 5081 20 5D 55 JSR &555D + 5084 AD FC 09 LDA &09FC + 5087 49 80 EOR #&80 + 5089 0A ASL A + 508A A9 00 LDA #&00 + 508C ED FC 4A SBC &4AFC + 508F 8D 9C 0C STA &0C9C + 5092 A5 7D LDA &7D + 5094 D0 03 BNE &5099 + 5096 4C 51 51 JMP &5151 +.fmod4 + 5099 A2 00 LDX #&00 + 509B A0 00 LDY #&00 + 509D AD 15 0C LDA &0C15 + 50A0 30 0F BMI &50B1 + 50A2 D0 07 BNE &50AB + 50A4 AD 05 0C LDA &0C05 + 50A7 C9 14 CMP #&14 + 50A9 90 06 BCC &50B1 +.fmod5 + 50AB AC 0D 0C LDY &0C0D + 50AE 10 01 BPL &50B1 + 50B0 CA DEX +.fmod6 + 50B1 8C 01 0C STY &0C01 + 50B4 8A TXA + 50B5 A2 01 LDX #&01 +.fmod7 + 50B7 0E 01 0C ASL &0C01 + 50BA 2A ROL A + 50BB CA DEX + 50BC 10 F9 BPL &50B7 + 50BE 8D 11 0C STA &0C11 + 50C1 A2 82 LDX #&82 + 50C3 20 F6 57 JSR &57F6 + 50C6 8D 32 0C STA &0C32 + 50C9 AC F2 0C LDY &0CF2 + 50CC D0 19 BNE &50E7 + 50CE AD FA 0C LDA &0CFA + 50D1 2D 90 0C AND &0C90 + 50D4 10 08 BPL &50DE + 50D6 A2 80 LDX #&80 + 50D8 20 F6 57 JSR &57F6 + 50DB 8D 30 0C STA &0C30 +.fmod8 + 50DE 20 4D 56 JSR &564D + 50E1 90 12 BCC &50F5 + 50E3 A9 32 LDA #&32 + 50E5 D0 10 BNE &50F7 +.fmod9 + 50E7 AE F5 0C LDX &0CF5 + 50EA D0 F2 BNE &50DE + 50EC 20 4D 56 JSR &564D + 50EF 90 36 BCC &5127 + 50F1 A9 07 LDA #&07 + 50F3 D0 02 BNE &50F7 +.fmod10 + 50F5 A9 0B LDA #&0B +.fmod11 + 50F7 AE 15 0C LDX &0C15 + 50FA 30 17 BMI &5113 + 50FC D0 17 BNE &5115 + 50FE AE 05 0C LDX &0C05 + 5101 F0 20 BEQ &5123 + 5103 E0 0B CPX #&0B + 5105 B0 0E BCS &5115 + 5107 A9 00 LDA #&00 + 5109 8D FC 07 STA &07FC + 510C A9 FF LDA #&FF + 510E 8D FC 49 STA &49FC + 5111 D0 10 BNE &5123 +.fmod12 + 5113 A9 F8 LDA #&F8 +.fmod13 + 5115 85 70 STA &70 + 5117 38 SEC + 5118 AD FC 49 LDA &49FC + 511B E5 70 SBC &70 + 511D 8D FC 49 STA &49FC + 5120 4C 27 51 JMP &5127 +.fmod14 + 5123 A9 40 LDA #&40 + 5125 D0 02 BNE &5129 +.fmod15 + 5127 A9 00 LDA #&00 +.fmod16 + 5129 8D E8 0C STA &0CE8 + 512C AD 03 0C LDA &0C03 + 512F 4A LSR A + 5130 85 70 STA &70 + 5132 A2 00 LDX #&00 + 5134 8E 9C 0C STX &0C9C + 5137 8A TXA + 5138 6A ROR A + 5139 85 76 STA &76 + 513B AD 13 0C LDA &0C13 + 513E 29 80 AND #&80 + 5140 05 70 ORA &70 + 5142 85 71 STA &71 + 5144 8A TXA + 5145 38 SEC + 5146 E5 76 SBC &76 + 5148 8D FC 09 STA &09FC + 514B 8A TXA + 514C E5 71 SBC &71 + 514E 8D FC 4A STA &4AFC +.fmod17 + 5151 A9 09 LDA #&09 + 5153 8D CB 0C STA &0CCB + 5156 A9 FC LDA #&FC + 5158 85 88 STA &88 + 515A 20 8D 1D JSR &1D8D + 515D AD FC 0B LDA &0BFC + 5160 38 SEC + 5161 E9 10 SBC #&10 + 5163 8D FC 0B STA &0BFC + 5166 A2 83 LDX #&83 + 5168 A0 FC LDY #&FC + 516A 20 25 4B JSR &4B25 + 516D 20 F9 51 JSR &51F9 + 5170 20 D7 51 JSR &51D7 + 5173 A2 00 LDX #&00 + 5175 A0 FE LDY #&FE + 5177 84 88 STY &88 + 5179 20 00 4B JSR &4B00 + 517C A9 12 LDA #&12 + 517E 8D CB 0C STA &0CCB + 5181 20 8D 1D JSR &1D8D + 5184 A2 86 LDX #&86 + 5186 A0 FE LDY #&FE + 5188 20 25 4B JSR &4B25 + 518B 20 2D 52 JSR &522D + 518E A9 07 LDA #&07 + 5190 20 B5 4D JSR &4DB5 + 5193 20 70 56 JSR &5670 + 5196 20 AC 31 JSR &31AC + 5199 AD 92 36 LDA &3692 + 519C F0 33 BEQ &51D1 + 519E AD E9 0C LDA &0CE9 + 51A1 F0 33 BEQ &51D6 + 51A3 AD 1F 0C LDA &0C1F + 51A6 85 72 STA &72 + 51A8 AD 0F 0C LDA &0C0F + 51AB A2 03 LDX #&03 +.fmod18 + 51AD 46 72 LSR &72 + 51AF 6A ROR A + 51B0 CA DEX + 51B1 10 FA BPL &51AD + 51B3 18 CLC + 51B4 6D 90 36 ADC &3690 + 51B7 8D 90 36 STA &3690 + 51BA 90 1A BCC &51D6 + 51BC A9 04 LDA #&04 + 51BE 18 CLC + 51BF 6D 91 36 ADC &3691 + 51C2 8D 91 36 STA &3691 + 51C5 90 0F BCC &51D6 + 51C7 AD 92 36 LDA &3692 + 51CA F0 05 BEQ &51D1 + 51CC CE 92 36 DEC &3692 + 51CF D0 05 BNE &51D6 +.fmod19 + 51D1 A9 00 LDA #&00 + 51D3 20 A0 36 JSR &36A0 +.fmod20 + 51D6 60 RTS +.AdjustTurn + 51D7 A2 02 LDX #&02 +.atur1 + 51D9 BD 30 0C LDA &0C30,X + 51DC 18 CLC + 51DD 7D 19 0C ADC &0C19,X + 51E0 9D 19 0C STA &0C19,X + 51E3 BD 80 0C LDA &0C80,X + 51E6 7D 00 0C ADC &0C00,X + 51E9 9D 00 0C STA &0C00,X + 51EC BD 90 0C LDA &0C90,X + 51EF 7D 10 0C ADC &0C10,X + 51F2 9D 10 0C STA &0C10,X + 51F5 CA DEX + 51F6 10 E1 BPL &51D9 + 51F8 60 RTS +.AdjustVelocity + 51F9 A2 02 LDX #&02 +.avel1 + 51FB A9 00 LDA #&00 + 51FD 85 72 STA &72 + 51FF BD 83 0C LDA &0C83,X + 5202 85 76 STA &76 + 5204 BD 93 0C LDA &0C93,X + 5207 10 02 BPL &520B + 5209 C6 72 DEC &72 +.avel2 + 520B 06 76 ASL &76 + 520D 2A ROL A + 520E 26 72 ROL &72 + 5210 48 PHA + 5211 BD 8C 0C LDA &0C8C,X + 5214 18 CLC + 5215 65 76 ADC &76 + 5217 9D 8C 0C STA &0C8C,X + 521A 68 PLA + 521B 7D 89 0C ADC &0C89,X + 521E 9D 89 0C STA &0C89,X + 5221 BD 99 0C LDA &0C99,X + 5224 65 72 ADC &72 + 5226 9D 99 0C STA &0C99,X + 5229 CA DEX + 522A 10 CF BPL &51FB + 522C 60 RTS +.AdjustRotation + 522D A2 02 LDX #&02 +.arot1 + 522F A9 00 LDA #&00 + 5231 85 72 STA &72 + 5233 BD 09 0C LDA &0C09,X + 5236 18 CLC + 5237 7D 89 0C ADC &0C89,X + 523A 9D 09 0C STA &0C09,X + 523D BD 99 0C LDA &0C99,X + 5240 10 02 BPL &5244 + 5242 C6 72 DEC &72 +.arot2 + 5244 7D ED 0C ADC &0CED,X + 5247 9D ED 0C STA &0CED,X + 524A BD FD 0C LDA &0CFD,X + 524D 65 72 ADC &72 + 524F 9D FD 0C STA &0CFD,X + 5252 BD 6D 0C LDA &0C6D,X + 5255 65 72 ADC &72 + 5257 9D 6D 0C STA &0C6D,X + 525A BD EA 0C LDA &0CEA,X + 525D 18 CLC + 525E 7D 86 0C ADC &0C86,X + 5261 9D EA 0C STA &0CEA,X + 5264 BD FA 0C LDA &0CFA,X + 5267 7D 96 0C ADC &0C96,X + 526A 9D FA 0C STA &0CFA,X + 526D CA DEX + 526E 10 BF BPL &522F + 5270 0A ASL A + 5271 4D FA 0C EOR &0CFA + 5274 10 1E BPL &5294 + 5276 A2 01 LDX #&01 +.arot3 + 5278 BD FB 0C LDA &0CFB,X + 527B 49 80 EOR #&80 + 527D 9D FB 0C STA &0CFB,X + 5280 CA DEX + 5281 10 F5 BPL &5278 + 5283 A9 00 LDA #&00 + 5285 38 SEC + 5286 ED EA 0C SBC &0CEA + 5289 8D EA 0C STA &0CEA + 528C A9 80 LDA #&80 + 528E ED FA 0C SBC &0CFA + 5291 8D FA 0C STA &0CFA +.arot4 + 5294 60 RTS +.ApplyAerodynamics + 5295 A9 00 LDA #&00 + 5297 85 82 STA &82 + 5299 85 83 STA &83 + 529B A2 02 LDX #&02 +.aero1 + 529D BD 03 0C LDA &0C03,X + 52A0 85 70 STA &70 + 52A2 0A ASL A + 52A3 9D 43 0C STA &0C43,X + 52A6 BD 13 0C LDA &0C13,X + 52A9 48 PHA + 52AA 2A ROL A + 52AB 9D 53 0C STA &0C53,X + 52AE 68 PLA + 52AF 10 0C BPL &52BD + 52B1 A9 00 LDA #&00 + 52B3 38 SEC + 52B4 E5 70 SBC &70 + 52B6 85 70 STA &70 + 52B8 A9 00 LDA #&00 + 52BA FD 13 0C SBC &0C13,X +.aero2 + 52BD 85 71 STA &71 + 52BF E0 01 CPX #&01 + 52C1 D0 10 BNE &52D3 + 52C3 A5 70 LDA &70 + 52C5 85 7A STA &7A + 52C7 A5 71 LDA &71 + 52C9 06 7A ASL &7A + 52CB 2A ROL A + 52CC 06 7A ASL &7A + 52CE 2A ROL A + 52CF 85 7B STA &7B + 52D1 A5 71 LDA &71 +.aero3 + 52D3 C5 83 CMP &83 + 52D5 90 10 BCC &52E7 + 52D7 D0 08 BNE &52E1 + 52D9 A5 70 LDA &70 + 52DB C5 82 CMP &82 + 52DD 90 08 BCC &52E7 + 52DF A5 71 LDA &71 +.aero4 + 52E1 85 83 STA &83 + 52E3 A5 70 LDA &70 + 52E5 85 82 STA &82 +.aero5 + 52E7 CA DEX + 52E8 10 B3 BPL &529D + 52EA 06 82 ASL &82 + 52EC 26 83 ROL &83 + 52EE A4 83 LDY &83 + 52F0 A6 82 LDX &82 + 52F2 20 E4 57 JSR &57E4 + 52F5 84 83 STY &83 + 52F7 86 82 STX &82 + 52F9 AD 84 4F LDA &4F84 + 52FC C9 27 CMP #&27 + 52FE D0 07 BNE &5307 + 5300 AD 15 0C LDA &0C15 + 5303 C9 0B CMP #&0B + 5305 90 33 BCC &533A +.aero6 + 5307 A5 7B LDA &7B + 5309 CD 15 0C CMP &0C15 + 530C 90 39 BCC &5347 + 530E D0 07 BNE &5317 + 5310 A5 7A LDA &7A + 5312 CD 05 0C CMP &0C05 + 5315 90 30 BCC &5347 +.aero7 + 5317 AD FE 0C LDA &0CFE + 531A D0 07 BNE &5323 + 531C AD EE 0C LDA &0CEE + 531F C9 14 CMP #&14 + 5321 90 17 BCC &533A +.aero8 + 5323 AD 84 4F LDA &4F84 + 5326 C9 27 CMP #&27 + 5328 F0 10 BEQ &533A + 532A AD 11 0C LDA &0C11 + 532D 0A ASL A + 532E A0 04 LDY #&04 + 5330 A2 02 LDX #&02 + 5332 AD 10 0C LDA &0C10 + 5335 49 3F EOR #&3F + 5337 20 BB 57 JSR &57BB +.aero9 + 533A A5 7D LDA &7D + 533C D0 09 BNE &5347 + 533E A9 04 LDA #&04 + 5340 20 87 4D JSR &4D87 + 5343 A9 27 LDA #&27 + 5345 D0 02 BNE &5349 +.aero10 + 5347 A9 9C LDA #&9C +.aero11 + 5349 8D 84 4F STA &4F84 + 534C 20 B9 54 JSR &54B9 + 534F A5 82 LDA &82 + 5351 29 FE AND #&FE + 5353 85 72 STA &72 + 5355 A5 83 LDA &83 + 5357 85 73 STA &73 + 5359 A2 05 LDX #&05 + 535B A9 00 LDA #&00 + 535D 8D 47 1D STA &1D47 +.aero12 + 5360 E0 03 CPX #&03 + 5362 B0 09 BCS &536D + 5364 BC 06 0C LDY &0C06,X + 5367 BD 16 0C LDA &0C16,X + 536A 4C 73 53 JMP &5373 +.aero13 + 536D BC 40 0C LDY &0C40,X + 5370 BD 50 0C LDA &0C50,X +.aero14 + 5373 85 7B STA &7B + 5375 84 7A STY &7A + 5377 A9 00 LDA #&00 + 5379 85 7C STA &7C + 537B 86 86 STX &86 + 537D 20 E3 17 JSR &17E3 + 5380 A5 7C LDA &7C + 5382 10 11 BPL &5395 + 5384 38 SEC + 5385 A9 00 LDA #&00 + 5387 E5 77 SBC &77 + 5389 85 77 STA &77 + 538B A5 78 LDA &78 + 538D E9 00 SBC #&00 + 538F 85 78 STA &78 + 5391 B0 02 BCS &5395 + 5393 C6 79 DEC &79 +.aero15 + 5395 A6 86 LDX &86 + 5397 A0 00 LDY #&00 + 5399 A5 78 LDA &78 + 539B E0 03 CPX #&03 + 539D 90 06 BCC &53A5 + 539F E0 05 CPX #&05 + 53A1 F0 02 BEQ &53A5 + 53A3 C8 INY + 53A4 C8 INY +.aero16 + 53A5 06 77 ASL &77 + 53A7 2A ROL A + 53A8 26 79 ROL &79 + 53AA 88 DEY + 53AB 10 F8 BPL &53A5 + 53AD 9D 40 0C STA &0C40,X + 53B0 A5 79 LDA &79 + 53B2 9D 50 0C STA &0C50,X + 53B5 CA DEX + 53B6 10 A8 BPL &5360 + 53B8 A9 80 LDA #&80 + 53BA 8D 47 1D STA &1D47 + 53BD AD 43 0C LDA &0C43 + 53C0 8D 46 0C STA &0C46 + 53C3 AD 53 0C LDA &0C53 + 53C6 8D 56 0C STA &0C56 + 53C9 AD 55 0C LDA &0C55 + 53CC 30 39 BMI &5407 + 53CE 85 77 STA &77 + 53D0 8D 57 0C STA &0C57 + 53D3 A9 00 LDA #&00 + 53D5 85 78 STA &78 + 53D7 AD 45 0C LDA &0C45 + 53DA 8D 47 0C STA &0C47 + 53DD A2 02 LDX #&02 + 53DF AD F3 0C LDA &0CF3 + 53E2 08 PHP + 53E3 F0 02 BEQ &53E7 + 53E5 A2 01 LDX #&01 +.aero17 + 53E7 0A ASL A + 53E8 26 77 ROL &77 + 53EA 26 78 ROL &78 + 53EC CA DEX + 53ED 10 F8 BPL &53E7 + 53EF 28 PLP + 53F0 F0 04 BEQ &53F6 + 53F2 38 SEC + 53F3 20 AC 54 JSR &54AC +.aero18 + 53F6 18 CLC + 53F7 A5 77 LDA &77 + 53F9 6D 40 0C ADC &0C40 + 53FC 8D 40 0C STA &0C40 + 53FF A5 78 LDA &78 + 5401 6D 50 0C ADC &0C50 + 5404 8D 50 0C STA &0C50 +.aero19 + 5407 60 RTS +.ScaleFlightForces + 5408 A2 0C LDX #&0C +.scal1 + 540A E0 09 CPX #&09 + 540C D0 02 BNE &5410 + 540E A2 07 LDX #&07 +.scal2 + 5410 BD 80 4F LDA &4F80,X + 5413 85 72 STA &72 + 5415 BC 40 0C LDY &0C40,X + 5418 BD 50 0C LDA &0C50,X + 541B 20 6E 54 JSR &546E + 541E A6 86 LDX &86 + 5420 E0 04 CPX #&04 + 5422 D0 10 BNE &5434 + 5424 A8 TAY + 5425 10 02 BPL &5429 + 5427 49 FF EOR #&FF +.scal3 + 5429 C9 08 CMP #&08 + 542B 90 07 BCC &5434 + 542D A9 03 LDA #&03 + 542F 20 87 4D JSR &4D87 + 5432 A2 04 LDX #&04 +.scal4 + 5434 BC F0 42 LDY &42F0,X + 5437 F0 22 BEQ &545B + 5439 10 17 BPL &5452 + 543B A9 00 LDA #&00 + 543D 85 72 STA &72 + 543F A5 78 LDA &78 + 5441 10 02 BPL &5445 + 5443 C6 72 DEC &72 +.scal5 + 5445 46 72 LSR &72 + 5447 66 78 ROR &78 + 5449 66 77 ROR &77 + 544B 66 76 ROR &76 + 544D C8 INY + 544E D0 F5 BNE &5445 + 5450 F0 09 BEQ &545B +.scal6 + 5452 06 76 ASL &76 + 5454 26 77 ROL &77 + 5456 26 78 ROL &78 + 5458 88 DEY + 5459 D0 F7 BNE &5452 +.scal7 + 545B A5 78 LDA &78 + 545D 9D 70 0C STA &0C70,X + 5460 A5 77 LDA &77 + 5462 9D 60 0C STA &0C60,X + 5465 A5 76 LDA &76 + 5467 9D 20 0C STA &0C20,X + 546A CA DEX + 546B 10 9D BPL &540A + 546D 60 RTS + 546E 84 70 STY &70 + 5470 85 71 STA &71 + 5472 86 86 STX &86 +.Multiply8x16 + 5474 A6 71 LDX &71 + 5476 10 0C BPL &5484 + 5478 A9 00 LDA #&00 + 547A 38 SEC + 547B E5 70 SBC &70 + 547D 85 70 STA &70 + 547F A9 00 LDA #&00 + 5481 E5 71 SBC &71 + 5483 AA TAX +.muly1 + 5484 A4 72 LDY &72 + 5486 20 21 18 JSR &1821 + 5489 85 78 STA &78 + 548B A5 76 LDA &76 + 548D 85 77 STA &77 + 548F A4 72 LDY &72 + 5491 A6 70 LDX &70 + 5493 20 21 18 JSR &1821 + 5496 18 CLC + 5497 65 77 ADC &77 + 5499 85 77 STA &77 + 549B A9 00 LDA #&00 + 549D 65 78 ADC &78 + 549F 85 78 STA &78 + 54A1 A6 71 LDX &71 + 54A3 10 13 BPL &54B8 + 54A5 A9 00 LDA #&00 + 54A7 38 SEC + 54A8 E5 76 SBC &76 + 54AA 85 76 STA &76 +.Negate16Bit + 54AC A9 00 LDA #&00 + 54AE E5 77 SBC &77 + 54B0 85 77 STA &77 + 54B2 A9 00 LDA #&00 + 54B4 E5 78 SBC &78 + 54B6 85 78 STA &78 + 54B8 60 RTS +.GetMoments + 54B9 A2 01 LDX #&01 +.torq1 + 54BB A9 7D LDA #&7D + 54BD 85 72 STA &72 + 54BF BD 00 0C LDA &0C00,X + 54C2 85 70 STA &70 + 54C4 BD 10 0C LDA &0C10,X + 54C7 85 71 STA &71 + 54C9 06 70 ASL &70 + 54CB 26 71 ROL &71 + 54CD 20 72 54 JSR &5472 + 54D0 A5 86 LDA &86 + 54D2 AA TAX + 54D3 49 01 EOR #&01 + 54D5 A8 TAY + 54D6 38 SEC + 54D7 B9 43 0C LDA &0C43,Y + 54DA E5 77 SBC &77 + 54DC 9D 06 0C STA &0C06,X + 54DF B9 53 0C LDA &0C53,Y + 54E2 E5 78 SBC &78 + 54E4 9D 16 0C STA &0C16,X + 54E7 CA DEX + 54E8 10 D1 BPL &54BB + 54EA 38 SEC + 54EB A9 00 LDA #&00 + 54ED ED 02 0C SBC &0C02 + 54F0 8D 08 0C STA &0C08 + 54F3 A9 00 LDA #&00 + 54F5 ED 12 0C SBC &0C12 + 54F8 0E 08 0C ASL &0C08 + 54FB 2A ROL A + 54FC 8D 18 0C STA &0C18 + 54FF 60 RTS +.ApplyFlightControl + 5500 A2 02 LDX #&02 +.fcon1 + 5502 BD 0C 0C LDA &0C0C,X + 5505 F0 28 BEQ &552F + 5507 BC A0 0C LDY &0CA0,X + 550A D0 0F BNE &551B + 550C A8 TAY + 550D 30 06 BMI &5515 + 550F C0 04 CPY #&04 + 5511 B0 19 BCS &552C + 5513 90 15 BCC &552A +.fcon2 + 5515 C0 FD CPY #&FD + 5517 B0 11 BCS &552A + 5519 90 11 BCC &552C +.fcon3 + 551B E0 01 CPX #&01 + 551D 90 10 BCC &552F + 551F D0 04 BNE &5525 + 5521 A4 7D LDY &7D + 5523 F0 0A BEQ &552F +.fcon4 + 5525 5D B0 0C EOR &0CB0,X + 5528 10 05 BPL &552F +.fcon5 + 552A A9 00 LDA #&00 +.fcon6 + 552C 9D 0C 0C STA &0C0C,X +.fcon7 + 552F BD 0C 0C LDA &0C0C,X + 5532 10 05 BPL &5539 + 5534 49 FF EOR #&FF + 5536 18 CLC + 5537 69 01 ADC #&01 +.fcon8 + 5539 85 72 STA &72 + 553B AC 45 0C LDY &0C45 + 553E AD 55 0C LDA &0C55 + 5541 20 6E 54 JSR &546E + 5544 A6 86 LDX &86 + 5546 BC 0C 0C LDY &0C0C,X + 5549 10 04 BPL &554F + 554B 38 SEC + 554C 20 AC 54 JSR &54AC +.fcon9 + 554F 9D 5A 0C STA &0C5A,X + 5552 A5 77 LDA &77 + 5554 9D 4A 0C STA &0C4A,X + 5557 CA DEX + 5558 F0 D5 BEQ &552F + 555A 10 A6 BPL &5502 + 555C 60 RTS +.ApplyTurnAndThrust + 555D A2 02 LDX #&02 +.turn1 + 555F BD 20 0C LDA &0C20,X + 5562 18 CLC + 5563 7D 2A 0C ADC &0C2A,X + 5566 9D 30 0C STA &0C30,X + 5569 BD 60 0C LDA &0C60,X + 556C 7D 6A 0C ADC &0C6A,X + 556F 9D 80 0C STA &0C80,X + 5572 BD 70 0C LDA &0C70,X + 5575 7D 7A 0C ADC &0C7A,X + 5578 9D 90 0C STA &0C90,X + 557B CA DEX + 557C 10 E1 BPL &555F + 557E A9 00 LDA #&00 + 5580 85 73 STA &73 + 5582 AD FD 0A LDA &0AFD + 5585 18 CLC + 5586 6D 30 0C ADC &0C30 + 5589 8D 30 0C STA &0C30 + 558C AD FD 0B LDA &0BFD + 558F 10 02 BPL &5593 + 5591 C6 73 DEC &73 +.turn2 + 5593 6D 80 0C ADC &0C80 + 5596 8D 80 0C STA &0C80 + 5599 AD 90 0C LDA &0C90 + 559C 65 73 ADC &73 + 559E 8D 90 0C STA &0C90 + 55A1 38 SEC + 55A2 AD 32 0C LDA &0C32 + 55A5 ED 26 0C SBC &0C26 + 55A8 8D 32 0C STA &0C32 + 55AB AD 82 0C LDA &0C82 + 55AE ED 66 0C SBC &0C66 + 55B1 8D 82 0C STA &0C82 + 55B4 AD 92 0C LDA &0C92 + 55B7 ED 76 0C SBC &0C76 + 55BA 8D 92 0C STA &0C92 + 55BD 38 SEC + 55BE A9 00 LDA #&00 + 55C0 ED 63 0C SBC &0C63 + 55C3 8D FC 09 STA &09FC + 55C6 A9 00 LDA #&00 + 55C8 ED 73 0C SBC &0C73 + 55CB 8D FC 4A STA &4AFC + 55CE 38 SEC + 55CF AD 67 0C LDA &0C67 + 55D2 ED 64 0C SBC &0C64 + 55D5 8D FC 0A STA &0AFC + 55D8 AD 77 0C LDA &0C77 + 55DB ED 74 0C SBC &0C74 + 55DE 8D FC 0B STA &0BFC + 55E1 AD 15 0C LDA &0C15 + 55E4 30 0D BMI &55F3 + 55E6 48 PHA + 55E7 20 EE 33 JSR &33EE + 55EA 68 PLA + 55EB C9 30 CMP #&30 + 55ED 90 06 BCC &55F5 + 55EF A9 EA LDA #&EA + 55F1 D0 56 BNE &5649 +.turn3 + 55F3 A9 00 LDA #&00 +.turn4 + 55F5 AE E9 0C LDX &0CE9 + 55F8 F0 3C BEQ &5636 + 55FA 85 79 STA &79 + 55FC 85 78 STA &78 + 55FE AD 05 0C LDA &0C05 + 5601 A2 03 LDX #&03 +.turn5 + 5603 46 78 LSR &78 + 5605 6A ROR A + 5606 CA DEX + 5607 10 FA BPL &5603 + 5609 85 77 STA &77 + 560B AC 1F 0C LDY &0C1F + 560E 84 72 STY &72 + 5610 AD 0F 0C LDA &0C0F + 5613 A6 7D LDX &7D + 5615 F0 14 BEQ &562B + 5617 C0 04 CPY #&04 + 5619 90 03 BCC &561E + 561B 0A ASL A + 561C 26 72 ROL &72 +.turn6 + 561E A4 79 LDY &79 + 5620 C0 04 CPY #&04 + 5622 B0 07 BCS &562B + 5624 C0 01 CPY #&01 + 5626 90 03 BCC &562B + 5628 0A ASL A + 5629 26 72 ROL &72 +.turn7 + 562B 38 SEC + 562C E5 77 SBC &77 + 562E AA TAX + 562F A5 72 LDA &72 + 5631 E5 78 SBC &78 + 5633 A8 TAY + 5634 10 04 BPL &563A +.turn8 + 5636 A0 00 LDY #&00 + 5638 A2 00 LDX #&00 +.turn9 + 563A 20 E4 57 JSR &57E4 + 563D 8A TXA + 563E 38 SEC + 563F ED 65 0C SBC &0C65 + 5642 8D FC 07 STA &07FC + 5645 98 TYA + 5646 ED 75 0C SBC &0C75 +.turn10 + 5649 8D FC 49 STA &49FC + 564C 60 RTS +.CheckPlaneOnRunway + 564D AD ED 0C LDA &0CED + 5650 38 SEC + 5651 ED 01 44 SBC &4401 + 5654 AD FD 0C LDA &0CFD + 5657 ED 79 44 SBC &4479 + 565A D0 12 BNE &566E + 565C AD EF 0C LDA &0CEF + 565F 38 SEC + 5660 ED 51 44 SBC &4451 + 5663 AD FF 0C LDA &0CFF + 5666 ED C9 44 SBC &44C9 + 5669 30 03 BMI &566E + 566B C9 18 CMP #&18 + 566D 60 RTS +.crun1 + 566E 38 SEC + 566F 60 RTS +.ProcessLanding + 5670 A5 7D LDA &7D + 5672 F0 1B BEQ &568F + 5674 20 4D 56 JSR &564D + 5677 90 16 BCC &568F + 5679 0E E8 0C ASL &0CE8 + 567C A2 EE LDX #&EE + 567E 18 CLC + 567F A0 08 LDY #&08 + 5681 20 B3 57 JSR &57B3 + 5684 A2 EC LDX #&EC + 5686 A0 04 LDY #&04 + 5688 AD 64 FE LDA &FE64 + 568B 4A LSR A + 568C 20 B3 57 JSR &57B3 +.clan1 + 568F AD FE 0C LDA &0CFE + 5692 30 0F BMI &56A3 + 5694 F0 12 BEQ &56A8 + 5696 C9 02 CMP #&02 + 5698 90 03 BCC &569D + 569A 8D F9 0C STA &0CF9 +.clan2 + 569D A9 00 LDA #&00 + 569F 8D C5 0C STA &0CC5 + 56A2 60 RTS +.clan3 + 56A3 A2 EE LDX #&EE + 56A5 20 F6 57 JSR &57F6 +.clan4 + 56A8 AD F0 0C LDA &0CF0 + 56AB CD EE 0C CMP &0CEE + 56AE 90 ED BCC &569D + 56B0 A6 7D LDX &7D + 56B2 F0 4D BEQ &5701 + 56B4 8D EE 0C STA &0CEE + 56B7 AE 9A 0C LDX &0C9A + 56BA 10 05 BPL &56C1 + 56BC A2 8A LDX #&8A + 56BE 20 F6 57 JSR &57F6 +.clan5 + 56C1 A2 EC LDX #&EC + 56C3 20 F6 57 JSR &57F6 + 56C6 A2 02 LDX #&02 + 56C8 20 F6 57 JSR &57F6 + 56CB AE F2 0C LDX &0CF2 + 56CE D0 18 BNE &56E8 + 56D0 AE E8 0C LDX &0CE8 + 56D3 30 03 BMI &56D8 + 56D5 0E E8 0C ASL &0CE8 +.clan6 + 56D8 AE FA 0C LDX &0CFA + 56DB 10 0A BPL &56E7 + 56DD A2 EA LDX #&EA + 56DF 20 F6 57 JSR &57F6 +.clan7 + 56E2 A2 00 LDX #&00 + 56E4 20 F6 57 JSR &57F6 +.clan8 + 56E7 60 RTS +.clan9 + 56E8 AE FA 0C LDX &0CFA + 56EB 30 FA BMI &56E7 + 56ED E0 07 CPX #&07 + 56EF 90 F6 BCC &56E7 + 56F1 A9 07 LDA #&07 + 56F3 8D FA 0C STA &0CFA + 56F6 A9 00 LDA #&00 + 56F8 8D EA 0C STA &0CEA + 56FB AE 10 0C LDX &0C10 + 56FE 10 E2 BPL &56E2 + 5700 60 RTS +.clan10 + 5701 38 SEC + 5702 ED EE 0C SBC &0CEE + 5705 4A LSR A + 5706 18 CLC + 5707 6D F0 0C ADC &0CF0 + 570A 8D EE 0C STA &0CEE + 570D AD 9A 0C LDA &0C9A + 5710 10 0E BPL &5720 + 5712 38 SEC + 5713 A9 00 LDA #&00 + 5715 ED 8A 0C SBC &0C8A + 5718 8D 8A 0C STA &0C8A + 571B A9 00 LDA #&00 + 571D ED 9A 0C SBC &0C9A +.clan11 + 5720 8D 9A 0C STA &0C9A + 5723 4A LSR A + 5724 D0 17 BNE &573D + 5726 AD 8A 0C LDA &0C8A + 5729 6A ROR A + 572A 85 72 STA &72 + 572C AE F2 0C LDX &0CF2 + 572F D0 08 BNE &5739 + 5731 CA DEX + 5732 8E F7 0C STX &0CF7 + 5735 C9 A0 CMP #&A0 + 5737 90 07 BCC &5740 +.clan12 + 5739 C9 6E CMP #&6E + 573B 90 08 BCC &5745 +.clan13 + 573D 4C 6A 4C JMP &4C6A +.clan14 + 5740 A9 00 LDA #&00 + 5742 20 A0 36 JSR &36A0 +.clan15 + 5745 20 4D 56 JSR &564D + 5748 90 10 BCC &575A + 574A A5 72 LDA &72 + 574C 8D 8A 0C STA &0C8A + 574F AE F2 0C LDX &0CF2 + 5752 F0 06 BEQ &575A + 5754 C9 50 CMP #&50 + 5756 90 0A BCC &5762 + 5758 B0 E3 BCS &573D +.clan16 + 575A A9 1A LDA #&1A + 575C 20 87 4D JSR &4D87 + 575F 20 BC 4D JSR &4DBC +.clan17 + 5762 AC EC 0C LDY &0CEC + 5765 AD FC 0C LDA &0CFC + 5768 20 6E 54 JSR &546E + 576B 38 SEC + 576C 20 AC 54 JSR &54AC + 576F A9 00 LDA #&00 + 5771 85 74 STA &74 + 5773 A5 78 LDA &78 + 5775 10 02 BPL &5779 + 5777 C6 74 DEC &74 +.clan18 + 5779 A2 01 LDX #&01 +.clan19 + 577B 46 74 LSR &74 + 577D 6A ROR A + 577E 66 77 ROR &77 + 5780 CA DEX + 5781 10 F8 BPL &577B + 5783 8D 12 0C STA &0C12 + 5786 A5 77 LDA &77 + 5788 8D 02 0C STA &0C02 + 578B A2 EC LDX #&EC + 578D 20 F6 57 JSR &57F6 + 5790 AD FA 0C LDA &0CFA + 5793 10 0A BPL &579F + 5795 AD F2 0C LDA &0CF2 + 5798 D0 05 BNE &579F + 579A A2 EA LDX #&EA + 579C 20 F6 57 JSR &57F6 +.clan20 + 579F A5 72 LDA &72 + 57A1 C9 0C CMP #&0C + 57A3 B0 0D BCS &57B2 + 57A5 AD EE 0C LDA &0CEE + 57A8 CD F0 0C CMP &0CF0 + 57AB D0 05 BNE &57B2 + 57AD A9 01 LDA #&01 + 57AF 8D C5 0C STA &0CC5 +.clan21 + 57B2 60 RTS +.ApplyBumpyRide + 57B3 AD 15 0C LDA &0C15 + 57B6 30 2B BMI &57E3 + 57B8 2D 64 FE AND &FE64 +.AddScaled + 57BB 08 PHP + 57BC 10 02 BPL &57C0 + 57BE 49 FF EOR #&FF +.adds1 + 57C0 85 78 STA &78 + 57C2 A9 00 LDA #&00 +.adds2 + 57C4 46 78 LSR &78 + 57C6 6A ROR A + 57C7 88 DEY + 57C8 10 FA BPL &57C4 + 57CA 85 77 STA &77 + 57CC 28 PLP + 57CD 90 03 BCC &57D2 + 57CF 20 AC 54 JSR &54AC +.adds3 + 57D2 A5 77 LDA &77 + 57D4 18 CLC + 57D5 7D 00 0C ADC &0C00,X + 57D8 9D 00 0C STA &0C00,X + 57DB A5 78 LDA &78 + 57DD 7D 10 0C ADC &0C10,X + 57E0 9D 10 0C STA &0C10,X + 57E3 60 RTS +.ScaleByAltitude + 57E4 84 71 STY &71 + 57E6 86 70 STX &70 + 57E8 AD FE 0C LDA &0CFE + 57EB 49 FF EOR #&FF + 57ED 85 72 STA &72 + 57EF 20 74 54 JSR &5474 + 57F2 A8 TAY + 57F3 A6 77 LDX &77 + 57F5 60 RTS +.ResetVariable + 57F6 A9 00 LDA #&00 + 57F8 9D 00 0C STA &0C00,X + 57FB 9D 10 0C STA &0C10,X + 57FE 60 RTS +.Entry + 5E00 A9 81 LDA #&81 + 5E02 A2 00 LDX #&00 + 5E04 A0 FF LDY #&FF + 5E06 20 F4 FF JSR &FFF4 + 5E09 E0 00 CPX #&00 + 5E0B EA NOP + 5E0C EA NOP + 5E0D A9 C8 LDA #&C8 + 5E0F A2 03 LDX #&03 + 5E11 A0 00 LDY #&00 + 5E13 20 F4 FF JSR &FFF4 + 5E16 A0 00 LDY #&00 +.entr1 + 5E18 B9 00 58 LDA &5800,Y + 5E1B 99 00 04 STA &0400,Y + 5E1E B9 00 59 LDA &5900,Y + 5E21 99 00 05 STA &0500,Y + 5E24 B9 00 5A LDA &5A00,Y + 5E27 99 00 06 STA &0600,Y + 5E2A B9 00 5B LDA &5B00,Y + 5E2D 99 00 07 STA &0700,Y + 5E30 B9 00 5C LDA &5C00,Y + 5E33 99 00 0B STA &0B00,Y + 5E36 B9 00 5D LDA &5D00,Y + 5E39 99 00 0C STA &0C00,Y + 5E3C 88 DEY + 5E3D D0 D9 BNE &5E18 + 5E3F EA NOP + 5E40 EA NOP + 5E41 EA NOP + 5E42 EA NOP + 5E43 EA NOP + 5E44 EA NOP + 5E45 EA NOP + 5E46 4C 00 0B JMP &0B00 +Saving file '3-assembled-output/AVIA.bin'