Overscan emulation

Discuss emulation of the Nintendo Entertainment System and Famicom.

Moderator: Moderators

Post Reply
Josh
Posts: 69
Joined: Sat Mar 19, 2005 11:18 am

Overscan emulation

Post by Josh »

The standard dimensions of the NES video output (256x240) are of course well known. Brad Taylor's documentation does an excellent job of describing what the PPU is doing during this time, and Blargg's NTSC filter creates artifacts very close to those seen on the real system. (About all that is needed now is a PAL artifact filter for European games.)

What is not quite as clear to me is what is displayed outside the active screen area. If the horizontal position and/or vertical hold control on a TV set is adjusted, it's possible to see portions of the screen that were never intended to be viewed, such as the color burst and blanking intervals. These follow a predictable pattern. On the Sega Master System, this has been documented by Charles MacDonald. Does anyone know how this works on the NES? This information could be useful if someone wanted to implement positional or hold controls as part of their TV emulation.
dvdmth
Posts: 354
Joined: Wed Mar 22, 2006 8:00 am

Post by dvdmth »

Does this page have what you want?

http://nesdevwiki.org/wiki/index.php/NTSC_Video
"Last version was better," says Floyd. "More bugs. Bugs make game fun."
User avatar
blargg
Posts: 3717
Joined: Mon Sep 27, 2004 8:33 am
Location: Central Texas, USA
Contact:

Post by blargg »

From the wiki page:

Code: Select all

25  sync
4   black
15  colorburst
5   black
1   pulse
15  left border (background color)
256 active
11  right border (background color)
9   black
Sync is below black level, so would appear as black. Colorburst is like color $18 (maybe $28, but definitely that hue). Pulse is a mid-gray.
Josh
Posts: 69
Joined: Sat Mar 19, 2005 11:18 am

Post by Josh »

Yes, that's exactly what I'm looking for. Thanks!
Post Reply