Skip to navigation

Revs on the BBC Micro

Dashboard: rightDashMask

Name: rightDashMask [Show more] Type: Variable Category: Dashboard Summary: Pixel mask for the right 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 rightDashMask * DrawTrackView (Part 3 of 4) calls rightDashMask

Contains a mask byte for the track pixels along the right edge of the central part 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. Set bits correspond to the track pixels, while clear bits correspond to the dashboard pixels.
.rightDashMask EQUB %11111111 \ Line 0 EQUB %11111111 \ Line 1 EQUB %00010001 \ Line 2 EQUB %00010001 \ Line 3 EQUB %00110011 \ Line 4 EQUB %01110111 \ Line 5 EQUB %11111111 \ Line 6 EQUB %00010001 \ Line 7 EQUB %00010001 \ Line 8 EQUB %00110011 \ Line 9 EQUB %01110111 \ Line 10 EQUB %11111111 \ Line 11 EQUB %00010001 \ Line 12 EQUB %00110011 \ Line 13 EQUB %01110111 \ Line 14 EQUB %11111111 \ Line 15 EQUB %00010001 \ Line 16 EQUB %00110011 \ Line 17 EQUB %01110111 \ Line 18 EQUB %11111111 \ Line 19 EQUB %00010001 \ Line 20 EQUB %00110011 \ Line 21 EQUB %01110111 \ Line 22 EQUB %11111111 \ Line 23 EQUB %00010001 \ Line 24 EQUB %00110011 \ Line 25 EQUB %01110111 \ Line 26 EQUB %11111111 \ Line 27 EQUB %00010001 \ Line 28 EQUB %00010001 \ Line 29 EQUB %00110011 \ Line 30 EQUB %00110011 \ Line 31 EQUB %00110011 \ Line 32 EQUB %01110111 \ Line 33 EQUB %01110111 \ Line 34 EQUB %01110111 \ Line 35 EQUB %11111111 \ Line 36 EQUB %11111111 \ Line 37 EQUB %11111111 \ Line 38 EQUB %00010001 \ Line 39 EQUB %00010001 \ Line 40 EQUB %00010001 \ Line 41 EQUB %00110011 \ Line 42 EQUB %00110011 \ Line 43