No longer want to fight for an imperialist despot? There’s a single-chip solution for that!

Here’s the PDF for higher resolution: https://datasheet4u.com/pdf-down/C/D/1/CD1379CP_ShaoxingSilicoreTechnology.pdf

It’s either detection or deflection. The chip detects horizontal and vertical sync pulses in composite video and drives the deflection yokes accordingly to create a linear sawtooth of the correct phase and frequency for the beam to scan a rectangle while the visible part of the video signal is transmitted.