News for hackers. Stuff that matters.
Re:NES Graphics – Part 3 by triangleman on Monday December 21, 2015 @05:12PM (#10773917)
but how does the NES know what the CRT is doing? It's not like they are synced up.
Re:NES Graphics – Part 3 by bvk on Monday December 21, 2015 @05:39PM (#10774085)
The NES's GPU generates sync pulses on the video line - one at the end of each line to make the electron gun's aim to return to the left side, and a long one at the end of each frame for the electron beam path to return to the top left. Circuitry in the TV uses these pulses to keep the picture stable.

https://en.wikipedia.org/wiki/Analog_television

Re:NES Graphics – Part 3 by neckro23 on Monday December 21, 2015 @05:22PM (#10773976)
They very much are synced up, since the PPU needs to generate the video signal directly: https://en.wikipedia.org/wiki/Picture_Processing_Unit

I'm not familiar with the NES in particular, but typically the software is synced with the video signal via hardware interrupts.

Re:NES Graphics – Part 3 by PhasmaFelis on Monday December 21, 2015 @08:15PM (#10774956)
To answer more specifically: the NES doesn't know what the CRT is doing. It's the CRT's responsibility to sync itself to the incoming signal. So there's not bidirectional communication, but they are still synced.
Re:NES Graphics – Part 3 by toast0 on Monday December 21, 2015 @05:30PM (#10774033)
They are synced up; in the NES, the PPU generates the video signal and is also attached to the CPU and provides interrupts at various points in the frame.
Re:NES Graphics – Part 3 by Flow on Monday December 21, 2015 @05:22PM (#10773981)
It controls the CRT by issuing HBLANK and VBLANK signals.
Re:NES Graphics – Part 3 by TazeTSchnitzel on Monday December 21, 2015 @05:21PM (#10773969)
It doesn't. The NTSC standard outputs scanline-by-scanline, and traditional CRT televisions are synced to the signal.
Re:NES Graphics – Part 3 by ebbv on Monday December 21, 2015 @08:01PM (#10774880)
CRTs wouldn't work if the video device wasn't synced up, whether that's an NES or whatever, it has to know when to send what data. It's not like the TV has a buffer.