Skip to navigation

Elite on the BBC Micro and NES

Drawing lines: TWFR

[NES version, Bank 7]

Name: TWFR [Show more] Type: Variable Category: Drawing lines Summary: Ready-made character rows for the right end of a horizontal line in the space view
Context: See this variable in context in the source code References: This variable is used as follows: * HLOIN (Part 2 of 5) uses TWFR * HLOIN (Part 5 of 5) uses TWFR

Ready-made bytes for plotting horizontal line end caps in the space view. This table provides a byte with pixels at the right end, which is used for the left end of the line. See the HLOIN routine for details.
.TWFR EQUB %11111111 EQUB %01111111 EQUB %00111111 EQUB %00011111 EQUB %00001111 EQUB %00000111 EQUB %00000011 EQUB %00000001