Skip to content

Question: Understanding light detection #24

@abishur

Description

@abishur

Hi I was trying to better understand how the NES handles light detection.

When you pull the trigger on the zapper, electrically that's a 1. The NES then provides 1 frame of a black screen and looks to make sure the zapper detects that (D3 = 1) during the vertical blanking period (hence the need to have your RCA cable plugged in?)
After vertical blanking it will display a white square and check that the zapper detects that (D3 = 0)

So to make this work you use the v sync find when you need to hold D3 high but how do you actually decide when to set D3 low?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions