.TWFR EQUB %11111111 ; xxxxxxx EQUB %11111110 ; 0xxxxxx EQUB %11111100 ; 00xxxxx EQUB %11111000 ; 000xxxx EQUB %11110000 ; 0000xxx EQUB %11100000 ; 00000xx EQUB %11000000 ; 000000xName: TWFR [Show more] Type: Variable Category: Drawing lines Summary: Ready-made character rows for the right end of a horizontal line in the space viewContext: See this variable in context in the source code References: This variable is used as follows: * HLOIN uses TWFR
Ready-made bytes for plotting horizontal line end caps. This table provides a byte with pixels at the right end, which is used for the left end of the line. Bit 7 in each byte is used to define the colour palette in that byte, so the pixels themselves are defined in bits 0 to 6. The pixels in bits 0 to 6 appear in that order on-screen, so bit 0 is on the left. The comments below show how the two bytes map into the screen, with seven pixels per byte. See the HLOIN routine for details.