Skip to navigation

Revs on the BBC Micro

Drawing pixels: pixelByte

Name: pixelByte [Show more] Type: Variable Category: Drawing pixels Summary: A table of pixel bytes with individual pixels set
Context: See this variable in context in the source code References: This variable is used as follows: * DrawDashboardLine calls pixelByte
.pixelByte EQUB %10000000 \ Pixel byte with the first pixel set to colour 2 EQUB %01000000 \ Pixel byte with the second pixel set to colour 2 EQUB %00100000 \ Pixel byte with the third pixel set to colour 2 EQUB %00010000 \ Pixel byte with the fourth pixel set to colour 2 EQUB %00000000 \ Pixel byte with the first pixel set to colour 0 EQUB %00000000 \ Pixel byte with the second pixel set to colour 0 EQUB %00000000 \ Pixel byte with the third pixel set to colour 0 EQUB %00000000 \ Pixel byte with the fourth pixel set to colour 0