Skip to navigation

Elite on the BBC Micro and NES

Text: print_tone

[Elite-A, I/O processor]

Name: print_tone [Show more] Type: Variable Category: Text Summary: Lookup table for converting mode 5 colour pixel rows to monochrome pixel pairs
Context: See this variable in context in the source code References: This variable is used as follows: * printer uses print_tone
.print_tone EQUB %00000011 \ Bit 0 of the mode 5 pixel row (pixel 0) is set EQUB %00001100 \ Bit 1 of the mode 5 pixel row (pixel 1) is set EQUB %00110000 \ Bit 2 of the mode 5 pixel row (pixel 2) is set EQUB %11000000 \ Bit 3 of the mode 5 pixel row (pixel 3) is set EQUB %00000011 \ Bit 4 of the mode 5 pixel row (pixel 0) is set EQUB %00001100 \ Bit 5 of the mode 5 pixel row (pixel 1) is set EQUB %00110000 \ Bit 6 of the mode 5 pixel row (pixel 2) is set EQUB %11000000 \ Bit 7 of the mode 5 pixel row (pixel 3) is set