Search found 2 matches

by jackwilsdon
Sat Apr 06, 2019 8:51 pm
Forum: NESdev
Topic: Controller acting odd with NMI vblank
Replies: 4
Views: 5645

Re: Controller acting odd with NMI vblank

Someone pointed out that I'm not restoring the A register in my NMI, which I'm using within readinput. Oops! :roll:
by jackwilsdon
Sat Apr 06, 2019 8:36 pm
Forum: NESdev
Topic: Controller acting odd with NMI vblank
Replies: 4
Views: 5645

Controller acting odd with NMI vblank

I feel like I must be missing something here, but I'm seeing some strange behavior with my controls when using the NMI with vblank ( bit 7 of PPUSTATUS set ). My code works fine most of the time, however it seems to occasionally read all buttons as being pressed when NMI vblank is enabled, and I can...