I'm also working (slowly) on writing a table-generator for use by the
N-bit
shift-register algorithm this thread discusses. I'm reading up on how
NTSC
TV decoders really work. I've looked at the analogtv.c source (from the
Jamie Zawinski's xscreensaver), but I'd like to start with some code
that's
easy-to-understand. His code is rather convoluted, IMO, by all the extra
signal degradations he put in. Since I don't fully understand NTSC
decoding, I'd prefer to learn and build my algorithm up step by step.
Sounds good. A faithful emulation does not need gratuitous errors,
like a jumping raster, a tearing raster, nonlinearity, or noise.
Although it *would* be nice to have the contrast, brightness, hue, and
saturation controls. ;-) (Adjusting them would perform a transform on
a standard table to produce the actual table to be used.)