Modified NewRP2C02 to take func(bool) which allows the PPU to set the
CPU's NMI line high/low.  Keep track of the current scanline/cycle in
new fields.

Added Run method which repeatedly calls renderScanline.