Search found 3 matches

by displacedgamers
Sat Nov 02, 2019 12:08 am
Forum: NESdev
Topic: Super Mario Bros 3 Controller handling timing
Replies: 9
Views: 6857

Re: Super Mario Bros 3 Controller handling timing

Thanks tokumaru and rainwarrior. The NES's itinerary and necessary time for the various steps it has to take to process the input, prepare graphics, etc. does help validate why the input read would be done right at the start of the current frame's scanlines.
by displacedgamers
Fri Nov 01, 2019 12:42 pm
Forum: NESdev
Topic: Super Mario Bros 3 Controller handling timing
Replies: 9
Views: 6857

Re: Super Mario Bros 3 Controller handling timing

We would have to analyze that particular game in order to definitively answer your question - there is no universal standard by which NES games handle controller reads, but in this particular case I'm guessing that the code structure is probably something like this: NMI Sprite DMA Do any palette up...
by displacedgamers
Thu Oct 31, 2019 6:52 pm
Forum: NESdev
Topic: Super Mario Bros 3 Controller handling timing
Replies: 9
Views: 6857

Super Mario Bros 3 Controller handling timing

Hey NESdev, I have been scoping controller reads with SMB3, and it looks like the Player 1 controller read happens during the first three non-black scanlines after vblank. Could you tell me where the acquired input is handled in code relative to the screen draw? Is it processed during the current fr...