It is currently Wed May 22, 2019 3:45 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Feb 18, 2019 8:44 am 
Offline

Joined: Thu Nov 26, 2015 12:02 am
Posts: 115
From my understanding both set the bit 4 of the console port so it should be the same.
I'm testing with zapper_stream rom of rainwarrior from https://forums.nesdev.com/viewtopic.php?f=9&t=13021 with Mesen, Bizhawk, FCEUX.
If i select a zapper for the port 2, the rom works as expected and detect the trigger pulling but if i select a second gamepad and press Up button nothing happens. So it must have something wrong in my understanding.
Can someone help me pointing out the issue pls?
Thanks!

_________________
3DNes Emu
https://geod.itch.io/3dnes


Last edited by geod on Tue Apr 16, 2019 1:56 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Mon Feb 18, 2019 11:39 am 
Offline

Joined: Sun Apr 13, 2008 11:12 am
Posts: 8367
Location: Seattle
The standard controller does not give you all the bits simultaneously. When you read $4016 or $4017, you only get one button at a time, and that from the least significant bit.

The zapper, in contrast, only has 2 "buttons", and those are received simultaneously. (Unless you're on the Vs. System)


Top
 Profile  
 
PostPosted: Mon Feb 18, 2019 6:08 pm 
Offline

Joined: Thu Nov 26, 2015 12:02 am
Posts: 115
I get it now, thank you :)

_________________
3DNes Emu
https://geod.itch.io/3dnes


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group