It is currently Tue Oct 17, 2017 12:52 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Mar 30, 2016 10:19 am 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19084
Location: NE Indiana, USA (NTSC)
The 6-button Super NES controller was designed for the Super NES, Sony Play Station (with space), and Coleco Chameleon. It also connects to some Famiclones, such as the FC Twin (not to be confused with the official licensed Twin Famicom). The vast majority of NES games that use a standard 2-button controller will also work with a 6-button pad.

Code:
    __--L--_________________--R--__
   /    _                          \
  |   _| |_                  (X)    |
  |  |_   _|  SLCT STRT   (Y)   (A) |
  |    |_|                   (B)    |
   \_________.-----------._________/

Illustration from Fullsnes by Martin "nocash" Korth

It is read in the same manner as the 2-button controller but has an additional report byte.

Report byte 1: B, Y, Select, Start, Up, Down, Left, Right
Report byte 2: A, X, L, R, 0, 0, 0, 0
Report bytes 3+: 1, 1, 1, 1, 1, 1, 1, 1

The 0, 0, 0, 0 followed by all 1's are used to distinguish this from other input devices, such as the Four Score or Super NES Mouse, and to help reject spurious presses due to bit deletion caused by the DMC DMA glitch.* Buttons A, X, L, and R cannot be read through a Four Score accessory.

On a bug-tracking forum, an emulator developer requested an NES test ROM for the 6-button controller. I plan to port spadtest tonight.


* That is, in the alternate universe in which the Super NES controller is also sold as a back-compatible 6-pad, the way 6-pads for Genesis and TG16 were.


Top
 Profile  
 
PostPosted: Wed Mar 30, 2016 1:36 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19084
Location: NE Indiana, USA (NTSC)
This one's so that Zero Mouse can test FCEUX changes.


Attachments:
spadtest-nes-0.01.zip [18.97 KiB]
Downloaded 124 times
Top
 Profile  
 
PostPosted: Tue Apr 05, 2016 2:30 pm 
Offline

Joined: Fri Oct 26, 2012 5:27 pm
Posts: 76
I have added this controller to BizHawk's NesHawk core, and it passes the test.


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: Majestic-12 [Bot] and 2 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