Skip to navigation


Drawing pixels: TWOS

[Commodore 64 version]

Name: TWOS [Show more] Type: Variable Category: Drawing pixels Summary: Ready-made single-pixel character row bytes for mode 4 Deep dive: Drawing monochrome pixels in mode 4
Context: See this variable in context in the source code References: This variable is used as follows: * LOIN (Part 5 of 7) uses TWOS

Ready-made bytes for plotting one-pixel points the space view. See the PIXEL routine for details.
.TWOS EQUB %10000000 EQUB %01000000 EQUB %00100000 EQUB %00010000 EQUB %00001000 EQUB %00000100 EQUB %00000010 EQUB %00000001 EQUB %10000000 EQUB %01000000