Skip to navigation

Revs on the BBC Micro

Dashboard: steeringHi

Name: steeringHi [Show more] Type: Variable Category: Dashboard Summary: The high byte of the steering wheel position Deep dive: Computer assisted steering (CAS)
Context: See this variable in context in the source code References: This variable is used as follows: * AssistSteering uses steeringHi * ProcessDrivingKeys (Part 2 of 6) uses steeringHi * SetSteeringLimit uses steeringHi * UpdateDashboard uses steeringHi

The steering wheel position is stored as (steeringHi steeringLo), with the sign bit in bit 0 of steeringLo, so it's a sign-magnitude number. Negative (bit 0 set) means we are steering left, positive (bit 0 clear) means we are steering right.
.steeringHi EQUB 0