Skip to navigation

Aviator on the BBC Micro

Flight model: scaleFactor

Name: scaleFactor [Show more] Type: Variable Category: Flight model Summary: Scale factors for the flight forces (in signed powers of 2) Deep dive: The flight model
Context: See this variable in context in the source code References: This variable is used as follows: * ScaleFlightForces calls scaleFactor
.scaleFactor EQUB &00 \ xMoments is scaled by 2^0 = 1 EQUB &FE \ yMoments is scaled by 2^-2 = 1/4 EQUB &FF \ zMoments is scaled by 2^-1 = 1/2 EQUB &01 \ xLiftDrag is scaled by 2^1 = 2 EQUB &04 \ yLiftDrag is scaled by 2^4 = 16 EQUB &00 \ zLiftDrag is scaled by 2^0 = 1 EQUB &FB \ zSlipMoment is scaled by 2^-5 = 1/32 EQUB &02 \ yFlapsLift is scaled by 2^2 = 4 EQUB &33 \ Unused EQUB &3A \ Unused EQUB &FF \ xControls is scaled by 2^-1 = 1/2 EQUB &FE \ yControls is scaled by 2^-2 = 1/4 EQUB &FE \ zControls is scaled by 2^-2 = 1/4 EQUB &23, &31, &38 \ These bytes appear to be unused