Raster Time

Discuss technical or other issues relating to programming the Nintendo Entertainment System, Famicom, or compatible systems. See the NESdev wiki for more information.

Moderator: Moderators

Post Reply
Oziphantom
Posts: 1565
Joined: Tue Feb 07, 2017 2:03 am

Raster Time

Post by Oziphantom »

How do you show frame raster time on a NES?
tepples
Posts: 22708
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: Raster Time

Post by tepples »

Turn bit 0 of $2001 on (1) for 200-500 cycles, then turn it back off. This will make a gray stripe across the screen. To color the stripe, use one or more of bits 7, 6, and 5 of $2001.
User avatar
Dwedit
Posts: 4924
Joined: Fri Nov 19, 2004 7:35 pm
Contact:

Re: Raster Time

Post by Dwedit »

Or you can use any other mask bits of your choice, such as leftmost column background enable/disable.
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!
Oziphantom
Posts: 1565
Joined: Tue Feb 07, 2017 2:03 am

Re: Raster Time

Post by Oziphantom »

Nice, thanks.
Post Reply