Gamoover

[move]Vous aimez le couscous-boulettes, le chorizo, la Force 4, et la mimolette ? Alors soyez les bienvenus sur Gamoover ! [/move]

Problème - Rotary Stick SNK

Démarré par olisan, Lundi 29 Septembre 2014, 12:29:48 PM

Iro

Est ce que ce ne serait pas la doc d'une version stick only ?
Car dans les drivers de mame , sur le 8 du DIP1, tu choisis le mode

static INPUT_PORTS_START( searchar )
   PORT_START("P1")    /* Player 1 controls */
   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP   ) PORT_8WAY
   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY
   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY
   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY
   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 )
   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 )

   PORT_START("P2")    /* Player 2 controls */
   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP   ) PORT_8WAY PORT_PLAYER(2)
   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2)
   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2)
   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2)
   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2)
   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2)
   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START2 )

   PORT_START("SYSTEM")
   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE1 )
   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE )    /* same as the service mode dsw */
   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN1 )
   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )
   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )

   PORT_START("DSW1")
   PORT_BIT( 0x00ff, IP_ACTIVE_LOW, IPT_UNUSED )
   PORT_DIPNAME( 0x0100, 0x0000, DEF_STR( Joystick ) )     PORT_DIPLOCATION("SW1:!8")
   PORT_DIPSETTING(      0x0000, "Rotary Joystick" )
   PORT_DIPSETTING(      0x0100, "Standard Joystick" )

   PORT_DIPNAME( 0x0200, 0x0000, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW1:!7")
   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
   PORT_DIPSETTING(      0x0200, DEF_STR( On ) )
   PORT_DIPNAME( 0x0c00, 0x0000, DEF_STR( Lives ) )        PORT_DIPLOCATION("SW1:!6,!5")
   PORT_DIPSETTING(      0x0800, "2" )
   PORT_DIPSETTING(      0x0000, "3" )
   PORT_DIPSETTING(      0x0400, "4" )
   PORT_DIPSETTING(      0x0c00, "5" )
   PORT_DIPNAME( 0x3000, 0x0000, "Coin A & B" )            PORT_DIPLOCATION("SW1:!4,!3")
   PORT_DIPSETTING(      0x2000, DEF_STR( 2C_1C ) )
   PORT_DIPSETTING(      0x0000, DEF_STR( 1C_1C ) )
   PORT_DIPSETTING(      0x1000, DEF_STR( 1C_2C ) )
   PORT_DIPSETTING(      0x3000, DEF_STR( Free_Play ) )
   PORT_DIPNAME( 0x4000, 0x0000, "Bonus Occurrence" )      PORT_DIPLOCATION("SW1:!2")
   PORT_DIPSETTING(      0x0000, "1st & 2nd only" )
   PORT_DIPSETTING(      0x4000, "1st & every 2nd" )
   PORT_DIPNAME( 0x8000, 0x0000, DEF_STR( Flip_Screen ) )      PORT_DIPLOCATION("SW1:!1")
   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
   PORT_DIPSETTING(      0x8000, DEF_STR( On ) )

   PORT_START("DSW2")
   PORT_BIT( 0x00ff, IP_ACTIVE_LOW, IPT_UNUSED )
   PORT_SERVICE_DIPLOC(  0x0100, IP_ACTIVE_HIGH, "SW2:!8" )
   PORT_DIPNAME( 0x0200, 0x0000, DEF_STR( Allow_Continue ) )   PORT_DIPLOCATION("SW2:!7")
   PORT_DIPSETTING(      0x0200, DEF_STR( No ) )
   PORT_DIPSETTING(      0x0000, DEF_STR( Yes ) )
   PORT_DIPNAME( 0x0c00, 0x0000, DEF_STR( Bonus_Life ) )       PORT_DIPLOCATION("SW2:!6,!5")
   PORT_DIPSETTING(      0x0000, "50k 200k" )
   PORT_DIPSETTING(      0x0800, "70k 270k" )
   PORT_DIPSETTING(      0x0400, "90k 350k" )
   PORT_DIPSETTING(      0x0c00, DEF_STR( None ) )
   PORT_DIPNAME( 0x3000, 0x0000, "Game Mode" )         PORT_DIPLOCATION("SW2:!4,!3")
   PORT_DIPSETTING(      0x2000, "Demo Sounds Off" )
   PORT_DIPSETTING(      0x0000, "Demo Sounds On" )
   PORT_DIPSETTING(      0x3000, "Freeze" )
   PORT_DIPSETTING(      0x1000, "Infinite Lives (Cheat)")
   PORT_DIPNAME( 0xc000, 0x0000, DEF_STR( Difficulty ) )       PORT_DIPLOCATION("SW2:!2,!1")
   PORT_DIPSETTING(      0x8000, DEF_STR( Easy ) )
   PORT_DIPSETTING(      0x0000, DEF_STR( Normal ) )
   PORT_DIPSETTING(      0x4000, DEF_STR( Hard ) )
   PORT_DIPSETTING(      0xc000, DEF_STR( Hardest ) )

   PORT_START("ROT1")  /* player 1 12-way rotary control  */
   PORT_BIT( 0x0f, 0x00, IPT_POSITIONAL )  PORT_POSITIONS(12) PORT_WRAPS PORT_SENSITIVITY(5) PORT_KEYDELTA(5) PORT_CODE_DEC(KEYCODE_Z) PORT_CODE_INC(KEYCODE_X) PORT_REVERSE PORT_FULL_TURN_COUNT(12)

   PORT_START("ROT2")  /* player 2 12-way rotary control */
   PORT_BIT( 0x0f, 0x00, IPT_POSITIONAL )  PORT_POSITIONS(12) PORT_WRAPS PORT_SENSITIVITY(5) PORT_KEYDELTA(5) PORT_CODE_DEC(KEYCODE_N) PORT_CODE_INC(KEYCODE_M) PORT_PLAYER(2) PORT_REVERSE PORT_FULL_TURN_COUNT(12)
INPUT_PORTS_END
"Jet set 2, c'est avec Robert Garcia ?" Kaneda, Lapsus de sac Vol.1
Peter Shou Owner' Club

WIPs : Naomi - SEGA Rally - AB Cop - Lethal Enforcers - COMPUMI - Terminator 2 - Space Invaders - Artworks pour Boitiers K7 Naomi CF - Ma collec' de panels

LES TUTOS DE GAMO   

kaneda56


"Arrête de te croire fort avec tes roll cancel!!!"
Paroles de Sac

Iro

c'est surtout que sans paramétrage , comment la PCB interprète une diagonale par exemple ?
Parce qu'en rotary, c'est juste un déplacement alors qu'au sitck, c'est aussi la direction du tir.
"Jet set 2, c'est avec Robert Garcia ?" Kaneda, Lapsus de sac Vol.1
Peter Shou Owner' Club

WIPs : Naomi - SEGA Rally - AB Cop - Lethal Enforcers - COMPUMI - Terminator 2 - Space Invaders - Artworks pour Boitiers K7 Naomi CF - Ma collec' de panels

LES TUTOS DE GAMO   

Stek


fiend41

très bon choix de titres rotary  ^-   (mes 2 favoris)

pour éviter de casser le joystick (surtout le chapeau) au démontage,  il y a un outil spécial coudé qui était livré avec les rotary.

as tu testé tes connecteurs au multimètre ?  ils sont standard, une nappe de 12 fils reliée à l'emplacement sur la PCB.


"C'était un fou un peu mystique Mais avec une certaine crédibilité..."

Stek

#21
Je conseille vivement Midnight Resistance aussi, vraiment un bon titre qu'on choppe encore pas trop cher  ^-

olisan

Alors des news guys!

J'avais testé tout ça sur une Cute. Depuis plus grand chose à part un test de continuité sur le câble spécifique du rotary.
En début de semaine, je me décide enfin à re-tester tout ça tranquille à la maison. Sur une autre borne donc. Et là miracle, tout marche nickel.

Ce que je ne comprends pas, c'est que la fonction rotary a son propre câble, indépendant du Jamma. Donc why???
Il doit y avoir un souci de masse ou un truc du genre quelque part dans l'autre borne mais ça reste mystérieux cette histoire...

Mutation

Dans SAR, normalement, via les dips tu peux changer de mode : rotary ou stick (#8 du dip 1).

Edit : déjà dit + haut.