Skip to navigation

Revs on the BBC Micro

Dashboard: leftDashPixels

Name: leftDashPixels [Show more] Type: Variable Category: Dashboard Summary: Pixels along the left edge of the dashboard 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 2 of 4) calls leftDashPixels * DrawTrackView (Part 3 of 4) calls leftDashPixels

Contains a pixel byte for the white border (colour 2) along the left edge of the dashboard. There is a byte for each track line from 43 (the track line at the top of the dashboard) down to 3 (the lowest track line, just above where the wing mirror joins the car body). Lines 0 to 2 are not used. 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.
.leftDashPixels EQUB %00000000 \ Line 0 EQUB %00000000 \ Line 1 EQUB %11110000 \ Line 2 EQUB %01110000 \ Line 3 EQUB %00110000 \ Line 4 EQUB %00010000 \ Line 5 EQUB %00000000 \ Line 6 EQUB %01110000 \ Line 7 EQUB %01110000 \ Line 8 EQUB %00110000 \ Line 9 EQUB %00010000 \ Line 10 EQUB %00000000 \ Line 11 EQUB %01110000 \ Line 12 EQUB %00110000 \ Line 13 EQUB %00010000 \ Line 14 EQUB %00000000 \ Line 15 EQUB %01110000 \ Line 16 EQUB %00110000 \ Line 17 EQUB %00010000 \ Line 18 EQUB %00000000 \ Line 19 EQUB %01110000 \ Line 20 EQUB %00110000 \ Line 21 EQUB %00010000 \ Line 22 EQUB %00000000 \ Line 23 EQUB %01110000 \ Line 24 EQUB %00110000 \ Line 25 EQUB %00010000 \ Line 26 EQUB %00000000 \ Line 27 EQUB %01110000 \ Line 28 EQUB %01000000 \ Line 29 EQUB %00110000 \ Line 30 EQUB %00100000 \ Line 31 EQUB %00110000 \ Line 32 EQUB %00010000 \ Line 33 EQUB %00010000 \ Line 34 EQUB %00010000 \ Line 35 EQUB %00000000 \ Line 36 EQUB %00000000 \ Line 37 EQUB %00000000 \ Line 38 EQUB %01000000 \ Line 39 EQUB %01110000 \ Line 40 EQUB %01000000 \ Line 41 EQUB %00110000 \ Line 42 EQUB %00110000 \ Line 43