(MESS) a7800.c:  [Mike Saarna]
 * Fixed number of scanlines to accurately reflect hardware testing and schematics (262-->263 NTSC and 312-->313 PAL).
 * Additional fix to timing of Maria cycles and comments.
 * Fixed INPTCTRL register implementation to match hardware.  Diagnostic Test Cart now works.
 * Corrected ROM_FILL.