Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Question: Understanding light detection #24

Open
abishur opened this issue Dec 27, 2021 · 0 comments
Open

Question: Understanding light detection #24

abishur opened this issue Dec 27, 2021 · 0 comments

Comments

@abishur
Copy link

abishur commented Dec 27, 2021

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?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant