Skip to navigation

Revs on the BBC Micro

Dashboard: rightTyrePixels

Name: rightTyrePixels [Show more] Type: Variable Category: Dashboard Summary: Pixels along the edge of the right tyre Deep dive: Drawing around the dashboard
Context: See this variable in context in the source code References: This variable is used as follows: * DrawTrackView (Part 3 of 4) calls rightTyrePixels

Contains a pixel byte for the white border (colour 2) along the edge of the right tyre. The tyreEdgeIndex table maps track line numbers to entries in this table. Each pixel is a colour 2 pixel, so the high nibble contains a 1 and the low nibble contains a 0, to give colour %10. Colour 2 is mapped to white at this point of the custom screen.
.rightTyrePixels EQUB %00000000 EQUB %00010000 EQUB %00110000 EQUB %00100000 EQUB %01100000 EQUB %01110000 EQUB %01000000