reel: add xor_pattern
demo: factor out terminal code.

This centralizes the teletype-style terminal implementations of
hires_mix, hires_text, and serial.
reel: add newly refactored hires_mix.