twin16.c: Rewrite video mixing based on PAL equations [Alex Jackson]