Pinstripe/Display: Difference between revisions

m
m (→‎{{header|6502 Assembly}}: changed it so that white stripes are first)
Line 23:
lda color
and #$01
; this takes advantage of the fact that Easy6502 maps black to 0 and white to 1. Thus if we clear all but bit 0 the color will be either black or white.
; Thus if we clear all but bit 0 the color will be either black or white, alternating infinitely regardless of the actual value
; of the color variable.
 
sta $0200,x
1,489

edits