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.
[ Parent
| on HN ]
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.
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.
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.
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.