Previous 15994 Revisions Next

r14248 Saturday 28th January, 2012 at 08:43:41 UTC by Miodrag Milanović
Sync with MAME r15207 (nw)
[src/emu/sound]okim6295.c okim6295.h
[src/mame/drivers]circusc.c ksys573.c labyrunr.c megazone.c mikie.c nemesis.c pacland.c pacman.c parodius.c pingpong.c pooyan.c rockrage.c rocnrope.c scotrsht.c spy.c surpratk.c taitogn.c thunderx.c timeplt.c tmnt.c tp84.c trackfld.c tutankhm.c twin16.c yiear.c
[src/mame/video]konamigx.c

src/mame/video/konamigx.c
r14247r14248
11741174   int nobj, i, j, k, l, temp, temp1, temp2, temp3, temp4, count;
11751175   int order, offs, code, color, zcode, pri = 0, spri, spri_min, shdprisel, shadow, alpha, drawmode;
11761176
1177    // buffer can move when it's resized, so refresh the pointer
1178   gx_objzbuf = &machine.priority_bitmap.pix8(0);
11771179
11781180   // abort if object database failed to initialize
11791181   objpool = gx_objpool;
src/mame/drivers/yiear.c
r14247r14248
134134   AM_RANGE(0x4900, 0x4900) AM_DEVWRITE("snsnd", konami_SN76496_w)
135135   AM_RANGE(0x4a00, 0x4a00) AM_DEVWRITE("vlm", yiear_VLM5030_control_w)
136136   AM_RANGE(0x4b00, 0x4b00) AM_DEVWRITE("vlm", vlm5030_data_w)
137   AM_RANGE(0x4c00, 0x4c00) AM_READ_PORT("DSW1")
138   AM_RANGE(0x4d00, 0x4d00) AM_READ_PORT("DSW2")
137   AM_RANGE(0x4c00, 0x4c00) AM_READ_PORT("DSW2")
138   AM_RANGE(0x4d00, 0x4d00) AM_READ_PORT("DSW3")
139139   AM_RANGE(0x4e00, 0x4e00) AM_READ_PORT("SYSTEM")
140140   AM_RANGE(0x4e01, 0x4e01) AM_READ_PORT("P1")
141141   AM_RANGE(0x4e02, 0x4e02) AM_READ_PORT("P2")
142   AM_RANGE(0x4e03, 0x4e03) AM_READ_PORT("DSW3")
142   AM_RANGE(0x4e03, 0x4e03) AM_READ_PORT("DSW1")
143143   AM_RANGE(0x4f00, 0x4f00) AM_WRITE(watchdog_reset_w)
144144   AM_RANGE(0x5000, 0x502f) AM_RAM AM_BASE_SIZE_MEMBER(yiear_state, m_spriteram, m_spriteram_size)
145145   AM_RANGE(0x5400, 0x542f) AM_RAM AM_BASE_MEMBER(yiear_state, m_spriteram2)
r14247r14248
181181   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
182182
183183   PORT_START("DSW1")
184   PORT_DIPNAME( 0x03, 0x01, DEF_STR( Lives ) )
184   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "Invalid", SW1)
185   /* "Invalid" = both coin slots disabled */
186
187   PORT_START("DSW2")
188   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
185189   PORT_DIPSETTING(    0x03, "1" )
186190   PORT_DIPSETTING(    0x02, "2" )
187191   PORT_DIPSETTING(    0x01, "3" )
188192   PORT_DIPSETTING(    0x00, "5" )
189   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )
193   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW2:3")
190194   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
191195   PORT_DIPSETTING(    0x04, DEF_STR( Cocktail ) )
192   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Bonus_Life ) )
196   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:4")
193197   PORT_DIPSETTING(    0x08, "30000 80000" )
194198   PORT_DIPSETTING(    0x00, "40000 90000" )
195   PORT_DIPNAME( 0x30, 0x10, DEF_STR( Difficulty ) )
199   PORT_DIPNAME( 0x30, 0x10, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:5,6")
196200   PORT_DIPSETTING(    0x30, DEF_STR( Easy ) )
197201   PORT_DIPSETTING(    0x10, DEF_STR( Normal ) )
198202   PORT_DIPSETTING(    0x20, DEF_STR( Difficult ) )
199203   PORT_DIPSETTING(    0x00, DEF_STR( Very_Difficult ) )
200   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
201   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
204   PORT_DIPUNUSED_DIPLOC( 0x40, IP_ACTIVE_LOW, "SW2:7" )
205   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
202206   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
203207   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
204208
205   PORT_START("DSW2")
206   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )
209   PORT_START("DSW3")
210   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW3:1")
207211   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
208212   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
209   PORT_DIPNAME( 0x02, 0x02, "Upright Controls" )
213   PORT_DIPNAME( 0x02, 0x02, "Upright Controls" )      PORT_DIPLOCATION("SW3:2")
210214   PORT_DIPSETTING(    0x02, DEF_STR( Single ) )
211215   PORT_DIPSETTING(    0x00, DEF_STR( Dual ) )
212   PORT_SERVICE( 0x04, IP_ACTIVE_LOW )
213   PORT_BIT( 0xf8, IP_ACTIVE_LOW, IPT_UNUSED )
214
215   PORT_START("DSW3")
216   KONAMI_COINAGE(DEF_STR( Free_Play ), "Invalid")
217   /* "Invalid" = both coin slots disabled */
216   PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW3:3" )
217   PORT_DIPUNUSED_DIPLOC( 0x08, IP_ACTIVE_LOW, "SW3:4" )
218   PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED )
218219INPUT_PORTS_END
219220
220221
src/mame/drivers/labyrunr.c
r14247r14248
8686   KONAMI8_COCKTAIL_B12_START
8787
8888   PORT_START("DSW1")
89   KONAMI_COINAGE(DEF_STR( Free_Play ), DEF_STR( None ))
89   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), DEF_STR( None ), SW1)
9090   /* "None" = coin slot B disabled */
9191
9292   PORT_START("DSW2")
93   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )
93   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )         PORT_DIPLOCATION("SW2:1,2")
9494   PORT_DIPSETTING(    0x03, "2" )
9595   PORT_DIPSETTING(    0x02, "3" )
9696   PORT_DIPSETTING(    0x01, "5" )
9797   PORT_DIPSETTING(    0x00, "7" )
98   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )
98   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )         PORT_DIPLOCATION("SW2:3")
9999   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
100100   PORT_DIPSETTING(    0x04, DEF_STR( Cocktail ) )
101   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) )
101   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) )      PORT_DIPLOCATION("SW2:4,5")
102102   PORT_DIPSETTING(    0x18, "30000 70000" )
103103   PORT_DIPSETTING(    0x10, "40000 80000" )
104104   PORT_DIPSETTING(    0x08, "40000" )
105105   PORT_DIPSETTING(    0x00, "50000" )
106   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Difficulty ) )
106   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )      PORT_DIPLOCATION("SW2:6,7")
107107   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
108108   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
109109   PORT_DIPSETTING(    0x20, DEF_STR( Hard ) )
110110   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
111   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
111   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )      PORT_DIPLOCATION("SW2:8")
112112   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
113113   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
114114
115115   PORT_START("DSW3")
116   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )
116   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )      PORT_DIPLOCATION("SW3:1")
117117   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
118118   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
119   PORT_DIPNAME( 0x02, 0x02, "Upright Controls" )
119   PORT_DIPNAME( 0x02, 0x02, "Upright Controls" )         PORT_DIPLOCATION("SW3:2")
120120   PORT_DIPSETTING(    0x02, DEF_STR( Single ) )
121121   PORT_DIPSETTING(    0x00, DEF_STR( Dual ) )
122   PORT_SERVICE( 0x04, IP_ACTIVE_LOW )
123   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Continues ) )
124   PORT_DIPSETTING(    0x08, "3" )
125   PORT_DIPSETTING(    0x00, "5" )
122   PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW3:3" )
123   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Allow_Continue ) )   PORT_DIPLOCATION("SW3:4")
124   PORT_DIPSETTING(    0x08, "3 Times" )
125   PORT_DIPSETTING(    0x00, "5 Times" )
126126   PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED )
127127INPUT_PORTS_END
128128
src/mame/drivers/surpratk.c
r14247r14248
123123   KONAMI8_ALT_B12(2)
124124
125125   PORT_START("DSW1")
126   KONAMI_COINAGE(DEF_STR( Free_Play ), DEF_STR( Free_Play ))
126   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), DEF_STR( Free_Play ), SW1)
127127
128128   PORT_START("DSW2")
129   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )
129   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
130130   PORT_DIPSETTING(    0x03, "2" )
131131   PORT_DIPSETTING(    0x02, "3" )
132132   PORT_DIPSETTING(    0x01, "5" )
133133   PORT_DIPSETTING(    0x00, "7" )
134   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )
134   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW2:3")
135135   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
136136   PORT_DIPSETTING(    0x04, DEF_STR( Cocktail ) )
137   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
138   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
139   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
140   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
141   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
142   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
143   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )
137   PORT_DIPUNUSED_DIPLOC( 0x08, IP_ACTIVE_LOW, "SW2:4" )
138   PORT_DIPUNUSED_DIPLOC( 0x10, IP_ACTIVE_LOW, "SW2:5" )
139   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:6,7")
144140   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
145141   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
146142   PORT_DIPSETTING(    0x20, DEF_STR( Difficult ) )
147143   PORT_DIPSETTING(    0x00, DEF_STR( Very_Difficult ) )
148   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
144   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
149145   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
150146   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
151147
r14247r14248
154150   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE )
155151   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 )
156152   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN2 )
157   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Flip_Screen ) )
153   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW3:1")
158154   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
159155   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
160   PORT_DIPNAME( 0x20, 0x20, "Upright Controls" )
156   PORT_DIPNAME( 0x20, 0x20, "Upright Controls" )      PORT_DIPLOCATION("SW3:2")
161157   PORT_DIPSETTING(    0x20, DEF_STR( Single ) )
162158   PORT_DIPSETTING(    0x00, DEF_STR( Dual ) )
163   PORT_SERVICE( 0x40, IP_ACTIVE_LOW )
164   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
165   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
166   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
159   PORT_SERVICE_DIPLOC( 0x40, IP_ACTIVE_LOW, "SW3:3" )
160   PORT_DIPUNUSED_DIPLOC( 0x80, IP_ACTIVE_LOW, "SW3:4" )
167161INPUT_PORTS_END
168162
169163
src/mame/drivers/tp84.c
r14247r14248
213213   KONAMI8_COCKTAIL_B12_UNK
214214
215215   PORT_START("DSW1")
216   KONAMI_COINAGE(DEF_STR( Free_Play ), "Invalid")
216   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "Invalid", SW1)
217217   /* "Invalid" = both coin slots disabled */
218218
219219   PORT_START("DSW2")
220   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )
220   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
221221   PORT_DIPSETTING(    0x03, "2" )
222222   PORT_DIPSETTING(    0x02, "3" )
223223   PORT_DIPSETTING(    0x01, "5" )
224224   PORT_DIPSETTING(    0x00, "7" )
225   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )
225   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW2:3")
226226   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
227227   PORT_DIPSETTING(    0x04, DEF_STR( Cocktail ) )
228   PORT_DIPNAME( 0x18, 0x10, DEF_STR( Bonus_Life ) )
228   PORT_DIPNAME( 0x18, 0x10, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:4,5")
229229   PORT_DIPSETTING(    0x18, "10000 and every 50000" )
230230   PORT_DIPSETTING(    0x10, "20000 and every 60000" )
231231   PORT_DIPSETTING(    0x08, "30000 and every 70000" )
232232   PORT_DIPSETTING(    0x00, "40000 and every 80000" )
233   PORT_DIPNAME( 0x60, 0x20, DEF_STR( Difficulty ) )
233   PORT_DIPNAME( 0x60, 0x20, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:6,7")
234234   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
235   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
236   PORT_DIPSETTING(    0x20, DEF_STR( Hard ) )
235   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) ) // JP default
236   PORT_DIPSETTING(    0x20, DEF_STR( Hard ) )   // US default
237237   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
238   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
238   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
239239   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
240240   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
241241INPUT_PORTS_END
r14247r14248
244244   PORT_INCLUDE( tp84 )
245245
246246   PORT_MODIFY("DSW2")
247   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )
247   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
248248   PORT_DIPSETTING(    0x03, "3" )
249249   PORT_DIPSETTING(    0x02, "4" )
250250   PORT_DIPSETTING(    0x01, "5" )
src/mame/drivers/thunderx.c
r14247r14248
479479   KONAMI8_B12_UNK(2)
480480
481481   PORT_START("DSW1")
482   KONAMI_COINAGE(DEF_STR( Free_Play ), "No Coin B")
482   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "No Coin B", SW1)
483483   /* "No Coin B" = coins produce sound, but no effect on coin counter */
484484
485485   PORT_START("DSW2")
486486   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
487487   PORT_DIPSETTING(   0x03, "2" )
488   PORT_DIPSETTING(   0x02, "3" ) // factory default
488   PORT_DIPSETTING(   0x02, "3" )
489489   PORT_DIPSETTING(   0x01, "5" )
490490   PORT_DIPSETTING(   0x00, "7" )
491   PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x00, "SW2:3" )  // test mode calls it cabinet type, but this is a 2 players game
492                                                  // US manual default = "ON : Upright" / Japanese manual default = "OFF : Table" , but not work?
491   PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x00, "SW2:3" ) // test mode calls it cabinet type, but this is a 2 players game
493492   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:4,5")
494   PORT_DIPSETTING(   0x18, "30000 200000" ) // factory default. Japanese manual has typo "30000 300000"
495   PORT_DIPSETTING(   0x10, "50000 300000" ) //                                           "50000 200000"
493   PORT_DIPSETTING(   0x18, "30000 200000" )
494   PORT_DIPSETTING(   0x10, "50000 300000" )
496495   PORT_DIPSETTING(   0x08, "30000" )
497496   PORT_DIPSETTING(   0x00, "50000" )
498497   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:6,7")
499498   PORT_DIPSETTING(   0x60, DEF_STR( Easy ) )
500   PORT_DIPSETTING(   0x40, DEF_STR( Normal ) ) // factory default
499   PORT_DIPSETTING(   0x40, DEF_STR( Normal ) )
501500   PORT_DIPSETTING(   0x20, DEF_STR( Difficult ) )
502501   PORT_DIPSETTING(   0x00, DEF_STR( Very_Difficult ) )
503502   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
504503   PORT_DIPSETTING(   0x80, DEF_STR( Off ) )
505   PORT_DIPSETTING(   0x00, DEF_STR( On ) ) // factory default
504   PORT_DIPSETTING(   0x00, DEF_STR( On ) )
506505
507506   PORT_START("DSW3")
508507   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW3:1")
509   PORT_DIPSETTING(   0x01, DEF_STR( Off ) ) // factory default
508   PORT_DIPSETTING(   0x01, DEF_STR( Off ) )
510509   PORT_DIPSETTING(   0x00, DEF_STR( On ) )
511510   PORT_DIPUNKNOWN_DIPLOC( 0x02, 0x02, "SW3:2" )
512   PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW3:3" )  // TYPO on US manual "OFF : Game mode / ON : Game mode"
511   PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW3:3" )
513512   PORT_DIPNAME( 0x08, 0x00, "Continue Limit (1Player/2Players)" )   PORT_DIPLOCATION("SW3:4")
514513   PORT_DIPSETTING(    0x08, "3times / Twice altogether" )
515   PORT_DIPSETTING(    0x00, "5times / 4times altogether" ) // factory default
514   PORT_DIPSETTING(    0x00, "5times / 4times altogether" )
516515   PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED )
517516INPUT_PORTS_END
518517
r14247r14248
530529   KONAMI8_B12_UNK(2)
531530
532531   PORT_START("DSW1")
533   KONAMI_COINAGE(DEF_STR( Free_Play ), "No Coin B")
532   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "No Coin B", SW1)
534533   /* "No Coin B" = coins produce sound, but no effect on coin counter */
535534
536535   PORT_START("DSW2")
537536   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
538537   PORT_DIPSETTING(    0x03, "2" )
539   PORT_DIPSETTING(    0x02, "3" ) // factory default
538   PORT_DIPSETTING(    0x02, "3" )
540539   PORT_DIPSETTING(    0x01, "5" )
541540   PORT_DIPSETTING(    0x00, "7" )
542541   PORT_DIPNAME( 0x04, 0x00, "Award Bonus Life" )      PORT_DIPLOCATION("SW2:3")
543   PORT_DIPSETTING(    0x04, DEF_STR( No ) ) // factory default
542   PORT_DIPSETTING(    0x04, DEF_STR( No ) )
544543   PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
545544   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:4,5")
546545   PORT_DIPSETTING(    0x18, "30000 200000" ) // Japanese default
r14247r14248
549548   PORT_DIPSETTING(    0x00, "50000" )
550549   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:6,7")
551550   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
552   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) ) // factory default
551   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
553552   PORT_DIPSETTING(    0x20, DEF_STR( Difficult ) )
554553   PORT_DIPSETTING(    0x00, DEF_STR( Very_Difficult ) )
555554   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
556555   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
557   PORT_DIPSETTING(    0x00, DEF_STR( On ) ) // factory default
556   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
558557
559558   PORT_START("DSW3")
560559   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW3:1")
561   PORT_DIPSETTING(    0x01, DEF_STR( Off ) ) // factory default
560   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
562561   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
563   PORT_DIPUNKNOWN_DIPLOC( 0x02, 0x02, "SW3:2" )
564   PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW3:3" )
565   PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x08, "SW3:4" )
562   PORT_DIPUNUSED_DIPLOC( 0x02, IP_ACTIVE_LOW, "SW3:2" )
563   PORT_SERVICE_DIPLOC(   0x04, IP_ACTIVE_LOW, "SW3:3" )
564   PORT_DIPUNUSED_DIPLOC( 0x08, IP_ACTIVE_LOW, "SW3:4" )
566565   PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED )
567566INPUT_PORTS_END
568567
r14247r14248
570569   PORT_INCLUDE( thunderx )
571570
572571   PORT_MODIFY("DSW2")
573   PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x04, "SW2:3" ) // manual says "OFF=Table On=Upright", but not work?
572   PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x04, "SW2:3" ) // manual says "OFF=Table On=Upright", but not work?
574573   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:4,5")
575   PORT_DIPSETTING(    0x18, "30000 200000" )  // Japanese MS
576   PORT_DIPSETTING(    0x10, "50000 300000" )  // US MS
574   PORT_DIPSETTING(    0x18, "30000 200000" ) // Japanese default
575   PORT_DIPSETTING(    0x10, "50000 300000" ) // US default
577576   PORT_DIPSETTING(    0x08, "30000" )
578577   PORT_DIPSETTING(    0x00, "50000" )
579578INPUT_PORTS_END
580579
581/*
582static INPUT_PORTS_START( thndrxja ) // for Japanese later revision (not dumped yet)
583    PORT_INCLUDE( thnderxj )
584580
585    PORT_MODIFY("DSW3")
586    PORT_DIPNAME( 0x08, 0x08, "All Stage Clear Loop" )  PORT_DIPLOCATION("SW3:4")
587    PORT_DIPSETTING(    0x08, "Game ends after 3 loops" )  // factory default
588    PORT_DIPSETTING(    0x00, "Endless" )
589INPUT_PORTS_END
590*/
591
592
593581/***************************************************************************
594582
595583    Machine Driver
src/mame/drivers/tutankhm.c
r14247r14248
155155   PORT_DIPSETTING(    0x03, "3" )
156156   PORT_DIPSETTING(    0x01, "4" )
157157   PORT_DIPSETTING(    0x02, "5" )
158   PORT_DIPSETTING(    0x00, "256 (Cheat)")
158   PORT_DIPSETTING(    0x00, "255 (Cheat)")
159159   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )     PORT_DIPLOCATION("SW2:3")
160160   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
161161   PORT_DIPSETTING(    0x04, DEF_STR( Cocktail ) )
162162   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Bonus_Life ) )  PORT_DIPLOCATION("SW2:4")
163163   PORT_DIPSETTING(    0x08, "30000" )
164164   PORT_DIPSETTING(    0x00, "40000" )
165   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Difficulty ) )  PORT_DIPLOCATION("SW2:5,6")
165   PORT_DIPNAME( 0x30, 0x20, DEF_STR( Difficulty ) )  PORT_DIPLOCATION("SW2:5,6")
166166   PORT_DIPSETTING(    0x30, DEF_STR( Easy ) )
167167   PORT_DIPSETTING(    0x20, DEF_STR( Normal ) )
168168   PORT_DIPSETTING(    0x10, DEF_STR( Hard ) )
src/mame/drivers/rocnrope.c
r14247r14248
8686   KONAMI8_COCKTAIL_4WAY_B12_UNK
8787
8888   PORT_START("DSW1")
89   KONAMI_COINAGE(DEF_STR( Free_Play ), "No Coin B")
89   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "No Coin B", SW1)
9090   /* "No Coin B" = coins produce sound, but no effect on coin counter */
9191
9292   PORT_START("DSW2")
93   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )      PORT_DIPLOCATION("DSW2:1,2")
93   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
9494   PORT_DIPSETTING(    0x03, "3" )
9595   PORT_DIPSETTING(    0x02, "4" )
9696   PORT_DIPSETTING(    0x01, "5" )
9797   PORT_DIPSETTING(    0x00, "255 (Cheat)")
98   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("DSW2:3")
98   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW2:3")
9999   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
100100   PORT_DIPSETTING(    0x04, DEF_STR( Cocktail ) )
101   PORT_DIPNAME( 0x78, 0x58, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("DSW2:4,5,6,7")
102   PORT_DIPSETTING(    0x78, "Easy 1" )
103   PORT_DIPSETTING(    0x70, "Easy 2" )
104   PORT_DIPSETTING(    0x68, "Easy 3" )
105   PORT_DIPSETTING(    0x60, "Easy 4" )
106   PORT_DIPSETTING(    0x58, "Normal 1" )
107   PORT_DIPSETTING(    0x50, "Normal 2" )
108   PORT_DIPSETTING(    0x48, "Normal 3" )
109   PORT_DIPSETTING(    0x40, "Normal 4" )
110   PORT_DIPSETTING(    0x38, "Normal 5" )
111   PORT_DIPSETTING(    0x30, "Normal 6" )
112   PORT_DIPSETTING(    0x28, "Normal 7" )
113   PORT_DIPSETTING(    0x20, "Normal 8" )
114   PORT_DIPSETTING(    0x18, "Difficult 1" )
115   PORT_DIPSETTING(    0x10, "Difficult 2" )
116   PORT_DIPSETTING(    0x08, "Difficult 3" )
117   PORT_DIPSETTING(    0x00, "Difficult 4" )
118   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("DSW2:8")
101   PORT_DIPNAME( 0x78, 0x58, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:4,5,6,7")
102   PORT_DIPSETTING(    0x78, "1 (Easy)" )
103   PORT_DIPSETTING(    0x70, "2" )
104   PORT_DIPSETTING(    0x68, "3" )
105   PORT_DIPSETTING(    0x60, "4" )
106   PORT_DIPSETTING(    0x58, "5" )
107   PORT_DIPSETTING(    0x50, "6" )
108   PORT_DIPSETTING(    0x48, "7" )
109   PORT_DIPSETTING(    0x40, "8" )
110   PORT_DIPSETTING(    0x38, "9" )
111   PORT_DIPSETTING(    0x30, "10" )
112   PORT_DIPSETTING(    0x28, "11" )
113   PORT_DIPSETTING(    0x20, "12" )
114   PORT_DIPSETTING(    0x18, "13" )
115   PORT_DIPSETTING(    0x10, "14" )
116   PORT_DIPSETTING(    0x08, "15" )
117   PORT_DIPSETTING(    0x00, "16 (Difficult)" )
118   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
119119   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
120120   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
121121
122122   PORT_START("DSW3")
123   PORT_DIPNAME( 0x07, 0x07, "First Bonus" )      PORT_DIPLOCATION("DSW3:1,2,3")
124   PORT_DIPSETTING(    0x07, "20000" )
123   PORT_DIPNAME( 0x07, 0x06, "First Bonus" )         PORT_DIPLOCATION("SW3:1,2,3")
124//   PORT_DIPSETTING(    0x07, "20000" ) // unused
125   PORT_DIPSETTING(    0x06, "20000" )
125126   PORT_DIPSETTING(    0x05, "30000" )
126127   PORT_DIPSETTING(    0x04, "40000" )
127128   PORT_DIPSETTING(    0x03, "50000" )
128129   PORT_DIPSETTING(    0x02, "60000" )
129130   PORT_DIPSETTING(    0x01, "70000" )
130131   PORT_DIPSETTING(    0x00, "80000" )
131   /* 0x06 gives 20000 */
132   PORT_DIPNAME( 0x38, 0x10, "Repeated Bonus" )      PORT_DIPLOCATION("DSW3:4,5,6")
133   PORT_DIPSETTING(    0x38, "40000" )
132   PORT_DIPNAME( 0x38, 0x10, "Repeated Bonus" )      PORT_DIPLOCATION("SW3:4,5,6")
133   /* 0x28, 0x30 and 0x38 (unused) all gives 40000 */
134   PORT_DIPSETTING(    0x20, "40000" )
134135   PORT_DIPSETTING(    0x18, "50000" )
135136   PORT_DIPSETTING(    0x10, "60000" )
136137   PORT_DIPSETTING(    0x08, "70000" )
137138   PORT_DIPSETTING(    0x00, "80000" )
138   /* 0x20, 0x28 and 0x30 all gives 40000 */
139   PORT_DIPNAME( 0x40, 0x00, "Grant Repeated Bonus" )   PORT_DIPLOCATION("DSW3:7")
139   PORT_DIPNAME( 0x40, 0x00, "Grant Repeated Bonus" )   PORT_DIPLOCATION("SW3:7")
140140   PORT_DIPSETTING(    0x40, DEF_STR( No ) )
141141   PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
142   PORT_DIPUNUSED_DIPLOC( 0x80, IP_ACTIVE_LOW, "DSW3:8" )
143//  PORT_DIPNAME( 0x80, 0x00, "Unknown DSW 8" )
144//  PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
145//  PORT_DIPSETTING(    0x00, DEF_STR( On ) )
142   PORT_DIPUNUSED_DIPLOC( 0x80, IP_ACTIVE_LOW, "SW3:8" )
146143INPUT_PORTS_END
147144
148145
src/mame/drivers/trackfld.c
r14247r14248
448448   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
449449
450450   PORT_START("DSW1")
451   PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Coin_A ) )
452   PORT_DIPSETTING(    0x02, DEF_STR( 4C_1C ) )
453   PORT_DIPSETTING(    0x05, DEF_STR( 3C_1C ) )
454   PORT_DIPSETTING(    0x08, DEF_STR( 2C_1C ) )
455   PORT_DIPSETTING(    0x04, DEF_STR( 3C_2C ) )
456   PORT_DIPSETTING(    0x01, DEF_STR( 4C_3C ) )
457   PORT_DIPSETTING(    0x0f, DEF_STR( 1C_1C ) )
458   PORT_DIPSETTING(    0x03, DEF_STR( 3C_4C ) )
459   PORT_DIPSETTING(    0x07, DEF_STR( 2C_3C ) )
460   PORT_DIPSETTING(    0x0e, DEF_STR( 1C_2C ) )
461   PORT_DIPSETTING(    0x06, DEF_STR( 2C_5C ) )
462   PORT_DIPSETTING(    0x0d, DEF_STR( 1C_3C ) )
463   PORT_DIPSETTING(    0x0c, DEF_STR( 1C_4C ) )
464   PORT_DIPSETTING(    0x0b, DEF_STR( 1C_5C ) )
465   PORT_DIPSETTING(    0x0a, DEF_STR( 1C_6C ) )
466   PORT_DIPSETTING(    0x09, DEF_STR( 1C_7C ) )
467   PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
468   PORT_DIPNAME( 0xf0, 0xf0, DEF_STR( Coin_B ) )
469   PORT_DIPSETTING(    0x20, DEF_STR( 4C_1C ) )
470   PORT_DIPSETTING(    0x50, DEF_STR( 3C_1C ) )
471   PORT_DIPSETTING(    0x80, DEF_STR( 2C_1C ) )
472   PORT_DIPSETTING(    0x40, DEF_STR( 3C_2C ) )
473   PORT_DIPSETTING(    0x10, DEF_STR( 4C_3C ) )
474   PORT_DIPSETTING(    0xf0, DEF_STR( 1C_1C ) )
475   PORT_DIPSETTING(    0x30, DEF_STR( 3C_4C ) )
476   PORT_DIPSETTING(    0x70, DEF_STR( 2C_3C ) )
477   PORT_DIPSETTING(    0xe0, DEF_STR( 1C_2C ) )
478   PORT_DIPSETTING(    0x60, DEF_STR( 2C_5C ) )
479   PORT_DIPSETTING(    0xd0, DEF_STR( 1C_3C ) )
480   PORT_DIPSETTING(    0xc0, DEF_STR( 1C_4C ) )
481   PORT_DIPSETTING(    0xb0, DEF_STR( 1C_5C ) )
482   PORT_DIPSETTING(    0xa0, DEF_STR( 1C_6C ) )
483   PORT_DIPSETTING(    0x90, DEF_STR( 1C_7C ) )
484   PORT_DIPSETTING(    0x00, "No Coin B" )
451   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "No Coin B", SW1)
485452   /* "No Coin B" = coins produce sound, but no effect on coin counter */
486453
487454   PORT_START("DSW2")
488   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Lives ) )
455   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1")
489456   PORT_DIPSETTING(    0x01, "1" )
490457   PORT_DIPSETTING(    0x00, "2" )
491   PORT_DIPNAME( 0x02, 0x00, "After Last Event" )
458   PORT_DIPNAME( 0x02, 0x00, "After Last Event" )      PORT_DIPLOCATION("SW2:2")
492459   PORT_DIPSETTING(    0x02, "Game Over" )
493460   PORT_DIPSETTING(    0x00, "Game Continues" )
494   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )
461   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW2:3")
495462   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
496463   PORT_DIPSETTING(    0x04, DEF_STR( Cocktail ) )
497   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Bonus_Life ) )
464   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:4")
498465   PORT_DIPSETTING(    0x08, DEF_STR( None ) )
499466   PORT_DIPSETTING(    0x00, "100000" )
500   PORT_DIPNAME( 0x10, 0x10, "World Records" )
467   PORT_DIPNAME( 0x10, 0x10, "World Records" )         PORT_DIPLOCATION("SW2:5")
501468   PORT_DIPSETTING(    0x10, "Don't Erase" )
502469   PORT_DIPSETTING(    0x00, "Erase on Reset" )
503   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Difficulty ) )
470   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:6,7")
504471   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
505472   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
506473   PORT_DIPSETTING(    0x20, DEF_STR( Hard ) )
507474   PORT_DIPSETTING(    0x00, DEF_STR( Difficult ) )
508   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
475   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
509476   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
510477   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
511478INPUT_PORTS_END
r14247r14248
534501   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
535502
536503   PORT_MODIFY("DSW2")
537   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Allow_Continue ) )
504   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Allow_Continue ) )   PORT_DIPLOCATION("SW2:2")
538505   PORT_DIPSETTING(    0x00, DEF_STR( No ) )
539506   PORT_DIPSETTING(    0x02, DEF_STR( Yes ) )
540   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Language ) )
507   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Language ) )         PORT_DIPLOCATION("SW2:3")
541508   PORT_DIPSETTING(    0x00, DEF_STR( English ) )
542509   PORT_DIPSETTING(    0x04, DEF_STR( Italian ) )
543510INPUT_PORTS_END
r14247r14248
571538   PORT_DIPSETTING(    0x02, DEF_STR( Normal ) )
572539   PORT_DIPSETTING(    0x00, "Fast" )
573540   PORT_DIPNAME( 0x0c, 0x04, DEF_STR( Difficulty ) )   // "Damage"
574   PORT_DIPSETTING(    0x0c, DEF_STR( Easy ) )            //   0x03
575   PORT_DIPSETTING(    0x04, DEF_STR( Normal ) )         //   0x07
576   PORT_DIPSETTING(    0x08, DEF_STR( Hard ) )            //   0x0b
577   PORT_DIPSETTING(    0x00, DEF_STR( Very_Hard ) )         //   0x0f
541   PORT_DIPSETTING(    0x0c, DEF_STR( Easy ) )         //   0x03
542   PORT_DIPSETTING(    0x04, DEF_STR( Normal ) )      //   0x07
543   PORT_DIPSETTING(    0x08, DEF_STR( Hard ) )         //   0x0b
544   PORT_DIPSETTING(    0x00, DEF_STR( Very_Hard ) )   //   0x0f
578545   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Lives ) )
579546   PORT_DIPSETTING(    0x10, "4" )
580547   PORT_DIPSETTING(    0x00, "5" )
581548   PORT_DIPNAME( 0x20, 0x00, "Internal speed" )      // Check code at 0x8576
582   PORT_DIPSETTING(    0x20, "Slow" )            //   0x0c00
583   PORT_DIPSETTING(    0x00, "Fast" )            //   0x0a00
584   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )      // Stored at 0x284e but not read back
585   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )      // Cocktail Mode, not used
549   PORT_DIPSETTING(    0x20, "Slow" )               //   0x0c00
550   PORT_DIPSETTING(    0x00, "Fast" )               //   0x0a00
551   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )         // Stored at 0x284e but not read back
552   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )         // Cocktail Mode, not used
586553
587554   PORT_START("DSW2")
588555   PORT_DIPNAME( 0x0f, 0x00, DEF_STR( Coin_B ) )
r14247r14248
813780   PORT_START("IN1")
814781   KONAMI8_COCKTAIL_B12_UNK
815782
783   PORT_START("DSW1")
784   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "Invalid", SW1)
785   /* "Invalid" = both coin slots disabled */
786
816787   PORT_START("DSW2")
817   PORT_DIPNAME( 0x03, 0x01, DEF_STR( Lives ) )
788   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
818789   PORT_DIPSETTING(    0x03, "1" )
819790   PORT_DIPSETTING(    0x02, "2" )
820791   PORT_DIPSETTING(    0x01, "3" )
821792   PORT_DIPSETTING(    0x00, "5" )
822   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )
793   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW2:3")
823794   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
824795   PORT_DIPSETTING(    0x04, DEF_STR( Cocktail ) )
825   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Bonus_Life ) )
796   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:4")
826797   PORT_DIPSETTING(    0x08, "30000 80000" )
827798   PORT_DIPSETTING(    0x00, "40000 90000" )
828   PORT_DIPNAME( 0x30, 0x10, DEF_STR( Difficulty ) )
799   PORT_DIPNAME( 0x30, 0x10, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:5,6")
829800   PORT_DIPSETTING(    0x30, DEF_STR( Easy ) )
830801   PORT_DIPSETTING(    0x10, DEF_STR( Normal ) )
831802   PORT_DIPSETTING(    0x20, DEF_STR( Difficult ) )
832803   PORT_DIPSETTING(    0x00, DEF_STR( Very_Difficult ) )
833   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
834   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
804   PORT_DIPUNUSED_DIPLOC( 0x40, IP_ACTIVE_LOW, "SW2:7" )
805   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
835806   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
836807   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
837808
838809   PORT_START("DSW3")
839   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )
810   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW3:1")
840811   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
841812   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
842   PORT_DIPNAME( 0x02, 0x02, "Upright Controls" )
813   PORT_DIPNAME( 0x02, 0x02, "Upright Controls" )      PORT_DIPLOCATION("SW3:2")
843814   PORT_DIPSETTING(    0x02, DEF_STR( Single ) )
844815   PORT_DIPSETTING(    0x00, DEF_STR( Dual ) )
845   PORT_SERVICE( 0x04, IP_ACTIVE_LOW )
846   PORT_BIT( 0xf8, IP_ACTIVE_LOW, IPT_UNUSED )
847
848   PORT_START("DSW1")
849   KONAMI_COINAGE(DEF_STR( Free_Play ), "Invalid")
850   /* "Invalid" = both coin slots disabled */
816   PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW3:3" )
817   PORT_DIPUNUSED_DIPLOC( 0x08, IP_ACTIVE_LOW, "SW3:4" )
818   PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED )
851819INPUT_PORTS_END
852820
853821
src/mame/drivers/tmnt.c
r14247r14248
12361236   PORT_DIPNAME( 0x18, 0x08, "Machine Name" ) PORT_DIPLOCATION("SW2:4,5")
12371237   PORT_DIPSETTING(    0x18, DEF_STR( None ) )
12381238   PORT_DIPSETTING(    0x10, "Lewis" )
1239   PORT_DIPSETTING(    0x08, "Johnson" ) // Japan factory default = "Johnson"
1239   PORT_DIPSETTING(    0x08, "Johnson" )
12401240   PORT_DIPSETTING(    0x00, "George" )
12411241   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:6,7")
12421242   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
1243   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) ) // Japan factory default = "Normal"
1243   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
12441244   PORT_DIPSETTING(    0x20, DEF_STR( Difficult ) )
12451245   PORT_DIPSETTING(    0x00, DEF_STR( Very_Difficult ) )
12461246   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:8")
r14247r14248
12821282   PORT_START("DSW2")
12831283   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW2:1,2")
12841284   PORT_DIPSETTING(    0x03, "2" )
1285   PORT_DIPSETTING(    0x02, "3" ) // US and Japan factory default = "3"
1285   PORT_DIPSETTING(    0x02, "3" )
12861286   PORT_DIPSETTING(    0x01, "5" )
12871287   PORT_DIPSETTING(    0x00, "7" )
12881288   PORT_DIPUNUSED_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW2:3" )
12891289   PORT_DIPNAME( 0x18, 0x08, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW2:4,5")
1290   PORT_DIPSETTING(    0x18, "30K, Every 80K" ) // Japan factory default = "30K, Every 80K"
1290   PORT_DIPSETTING(    0x18, "30K, Every 80K" )   // Japan factory default
12911291   PORT_DIPSETTING(    0x10, "50K, Every 100K" )
1292   PORT_DIPSETTING(    0x08, "50K Only" ) // US factory default = "50K Only" (struck off "50K, Every 100K")
1292   PORT_DIPSETTING(    0x08, "50K Only" )         // US factory default
12931293   PORT_DIPSETTING(    0x00, "100K Only" )
12941294   PORT_DIPNAME( 0x60, 0x20, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:6,7")
12951295   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
1296   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) ) // Japan factory default = "Normal"
1297   PORT_DIPSETTING(    0x20, DEF_STR( Difficult ) ) // US factory default = "Difficult" (struck off "Normal")
1296   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )      // Japan factory default
1297   PORT_DIPSETTING(    0x20, DEF_STR( Difficult ) )   // US factory default
12981298   PORT_DIPSETTING(    0x00, DEF_STR( Very_Difficult ) )
12991299   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:8")
13001300   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
r14247r14248
13041304   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("SW3:1")
13051305   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
13061306   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1307   PORT_DIPNAME( 0x02, 0x02, "VRAM Character Check" ) PORT_DIPLOCATION("SW3:2")
1308   PORT_DIPSETTING(    0x02, DEF_STR( Off ) ) // US manual says "VRAM Character Check"
1309   PORT_DIPSETTING(    0x00, DEF_STR( On ) )  // Japanese manual says "not used"
1307   PORT_DIPNAME( 0x02, 0x02, "VRAM Character Check" ) PORT_DIPLOCATION("SW3:2") // JP manual says "not used"
1308   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
1309   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
13101310   PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW3:3" )
13111311   PORT_DIPUNUSED_DIPLOC( 0x08, IP_ACTIVE_LOW, "SW3:4" )
13121312INPUT_PORTS_END
r14247r14248
14231423   PORT_DIPUNUSED_DIPLOC( 0x10, IP_ACTIVE_LOW, "SW2:5" ) // ditto
14241424   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:6,7")
14251425   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
1426   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) ) // US and Japan factory default = "Normal"
1426   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
14271427   PORT_DIPSETTING(    0x20, DEF_STR( Difficult ) )
14281428   PORT_DIPSETTING(    0x00, DEF_STR( Very_Difficult ) )
14291429   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:8")
r14247r14248
14471447   PORT_DIPUNUSED_DIPLOC( 0x0200, IP_ACTIVE_LOW, "SW2:2" ) // manual says "not used", but doesn't "should be kept OFF"
14481448   PORT_DIPNAME( 0x0c00, 0x0800, "Period Length" ) PORT_DIPLOCATION("SW2:3,4")
14491449   PORT_DIPSETTING(      0x0c00, "1 Minutes" )
1450   PORT_DIPSETTING(      0x0800, "2 Minutes" ) // Japan factory default = "2 Minutes"
1450   PORT_DIPSETTING(      0x0800, "2 Minutes" )
14511451   PORT_DIPSETTING(      0x0400, "3 Minutes" )
14521452   PORT_DIPSETTING(      0x0000, "4 Minutes" )
14531453   PORT_DIPUNUSED_DIPLOC( 0x1000, IP_ACTIVE_LOW, "SW2:5" ) // manual says "not used", but doesn't "should be kept OFF"
14541454   PORT_DIPNAME( 0x6000, 0x4000, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:6,7")
14551455   PORT_DIPSETTING(      0x6000, DEF_STR( Easy ) )
1456   PORT_DIPSETTING(      0x4000, DEF_STR( Normal ) ) // Japan factory default = "Normal"
1456   PORT_DIPSETTING(      0x4000, DEF_STR( Normal ) )
14571457   PORT_DIPSETTING(      0x2000, DEF_STR( Difficult ) )
14581458   PORT_DIPSETTING(      0x0000, DEF_STR( Very_Difficult ) )
14591459   PORT_DIPNAME( 0x8000, 0x0000, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:8")
r14247r14248
15441544
15451545   PORT_MODIFY("DSW1/DSW2")
15461546   PORT_DIPNAME( 0x0300, 0x0300, "Energy" ) PORT_DIPLOCATION("SW2:1,2")
1547   PORT_DIPSETTING(      0x0300, "30" ) // US set1 factory default = "30"
1547   PORT_DIPSETTING(      0x0300, "30" )
15481548   PORT_DIPSETTING(      0x0200, "40" )
15491549   PORT_DIPSETTING(      0x0100, "50" )
15501550   PORT_DIPSETTING(      0x0000, "60" )
15511551   PORT_DIPNAME( 0x0c00, 0x0800, "Period Length" ) PORT_DIPLOCATION("SW2:3,4")
15521552   PORT_DIPSETTING(      0x0c00, "2 Minutes" )
1553   PORT_DIPSETTING(      0x0800, "3 Minutes" ) // US set1 factory default = "3 Minutes"
1553   PORT_DIPSETTING(      0x0800, "3 Minutes" )
15541554   PORT_DIPSETTING(      0x0400, "4 Minutes" )
15551555   PORT_DIPSETTING(      0x0000, "5 Minutes" )
15561556   PORT_DIPNAME( 0x6000, 0x6000, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:6,7")
1557   PORT_DIPSETTING(      0x6000, DEF_STR( Easy ) ) // US factory default = "Easy"
1557   PORT_DIPSETTING(      0x6000, DEF_STR( Easy ) )
15581558   PORT_DIPSETTING(      0x4000, DEF_STR( Normal ) )
15591559   PORT_DIPSETTING(      0x2000, DEF_STR( Difficult ) )
15601560   PORT_DIPSETTING(      0x0000, DEF_STR( Very_Difficult ) )
15611561INPUT_PORTS_END
15621562
1563/*
1564static INPUT_PORTS_START( punkshot2o ) // US 2 Players set1
1565    PORT_INCLUDE( punkshtj )
1566    PORT_INCLUDE( punksht_us_coinage )
1567
1568    PORT_MODIFY("DSW1/DSW2")
1569    PORT_DIPNAME( 0x0300, 0x0300, "Energy" ) PORT_DIPLOCATION("SW2:1,2")
1570    PORT_DIPSETTING(      0x0300, "30" ) // US set1 factory default = "30"
1571    PORT_DIPSETTING(      0x0200, "40" )
1572    PORT_DIPSETTING(      0x0100, "50" )
1573    PORT_DIPSETTING(      0x0000, "60" )
1574    PORT_DIPNAME( 0x0c00, 0x0800, "Period Length" ) PORT_DIPLOCATION("SW2:3,4")
1575    PORT_DIPSETTING(      0x0c00, "2 Minutes" )
1576    PORT_DIPSETTING(      0x0800, "3 Minutes" ) // US set1 factory default = "3 Minutes"
1577    PORT_DIPSETTING(      0x0400, "4 Minutes" )
1578    PORT_DIPSETTING(      0x0000, "5 Minutes" )
1579    PORT_DIPNAME( 0x6000, 0x6000, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:6,7")
1580    PORT_DIPSETTING(      0x6000, DEF_STR( Easy ) ) // US set1 factory default = "Easy"
1581    PORT_DIPSETTING(      0x4000, DEF_STR( Normal ) )
1582    PORT_DIPSETTING(      0x2000, DEF_STR( Difficult ) )
1583    PORT_DIPSETTING(      0x0000, DEF_STR( Very_Difficult ) )
1584INPUT_PORTS_END
1585*/
1586
1587/*
1588static INPUT_PORTS_START( punksht4n ) // US 4 Players set2
1589    PORT_INCLUDE( punkshtj4 )
1590    PORT_INCLUDE( punksht_us_coinage )
1591
1592    PORT_MODIFY("DSW1/DSW2")
1593    PORT_DIPNAME( 0x0300, 0x0300, "Energy" ) PORT_DIPLOCATION("SW2:1,2")
1594    PORT_DIPSETTING(      0x0300, "40" )
1595    PORT_DIPSETTING(      0x0200, "50" )
1596    PORT_DIPSETTING(      0x0100, "60" )
1597    PORT_DIPSETTING(      0x0000, "70" )
1598    PORT_DIPNAME( 0x0c00, 0x0c00, "Period Length" ) PORT_DIPLOCATION("SW2:3,4")
1599    PORT_DIPSETTING(      0x0c00, "3 Minutes" )
1600    PORT_DIPSETTING(      0x0800, "4 Minutes" )
1601    PORT_DIPSETTING(      0x0400, "5 Minutes" )
1602    PORT_DIPSETTING(      0x0000, "6 Minutes" )
1603    PORT_DIPNAME( 0x6000, 0x6000, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:6,7")
1604    PORT_DIPSETTING(      0x6000, DEF_STR( Easy ) )
1605    PORT_DIPSETTING(      0x4000, DEF_STR( Normal ) )
1606    PORT_DIPSETTING(      0x2000, DEF_STR( Difficult ) )
1607    PORT_DIPSETTING(      0x0000, DEF_STR( Very_Difficult ) )
1608    PORT_DIPNAME( 0x8000, 0x0000, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:8")
1609    PORT_DIPSETTING(      0x8000, DEF_STR( Off ) )
1610    PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
1611INPUT_PORTS_END
1612*/
1613
16141563static INPUT_PORTS_START( punksht2 ) // US 2 Players set2
16151564   PORT_INCLUDE( punkshtj )
16161565   PORT_INCLUDE( punksht_us_coinage )
r14247r14248
16601609   PORT_START("DSW1")
16611610   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW2:1,2")
16621611   PORT_DIPSETTING(    0x03, "2" )
1663   PORT_DIPSETTING(    0x02, "3" ) // US and Japan factory default = "3"
1612   PORT_DIPSETTING(    0x02, "3" )
16641613   PORT_DIPSETTING(    0x01, "5" )
16651614   PORT_DIPSETTING(    0x00, "7" )
16661615   PORT_DIPUNUSED_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW2:3" ) // manual says "not used"
16671616   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW2:4,5")
1668   PORT_DIPSETTING(    0x18, "100K, 400K" ) // US factory default = "100K, 400K"
1669   PORT_DIPSETTING(    0x10, "150K, 500K" ) // Japan factory default = "150K, 500K"
1617   PORT_DIPSETTING(    0x18, "100K, 400K" )
1618   PORT_DIPSETTING(    0x10, "150K, 500K" )
16701619   PORT_DIPSETTING(    0x08, "200K Only" )
16711620   PORT_DIPSETTING(    0x00, DEF_STR( None ) )
16721621   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:6,7")
16731622   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
1674   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) ) // US and Japan factory default = "Normal"
1623   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
16751624   PORT_DIPSETTING(    0x20, DEF_STR( Difficult ) )
16761625   PORT_DIPSETTING(    0x00, DEF_STR( Very_Difficult ) )
16771626   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:8")
r14247r14248
16951644
16961645   PORT_MODIFY("DSW1")
16971646   PORT_DIPNAME( 0x18, 0x10, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW2:4,5")
1698   PORT_DIPSETTING(    0x18, "100K, 400K" ) // US factory default = "100K, 400K"
1699   PORT_DIPSETTING(    0x10, "150K, 500K" ) // Japan factory default = "150K, 500K"
1647   PORT_DIPSETTING(    0x18, "100K, 400K" ) // US factory default
1648   PORT_DIPSETTING(    0x10, "150K, 500K" ) // JP factory default
17001649   PORT_DIPSETTING(    0x08, "200K Only" )
17011650   PORT_DIPSETTING(    0x00, DEF_STR( None ) )
17021651INPUT_PORTS_END
r14247r14248
17481697   PORT_DIPSETTING(      0x0000, "3/5" )
17491698   PORT_DIPNAME( 0x6000, 0x4000, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:6,7")
17501699   PORT_DIPSETTING(      0x6000, DEF_STR( Easy ) )
1751   PORT_DIPSETTING(      0x4000, DEF_STR( Normal ) ) // Japan factory default = "Normal"
1700   PORT_DIPSETTING(      0x4000, DEF_STR( Normal ) )
17521701   PORT_DIPSETTING(      0x2000, DEF_STR( Difficult ) )
17531702   PORT_DIPSETTING(      0x0000, DEF_STR( Very_Difficult ) )
17541703   PORT_DIPNAME( 0x8000, 0x0000, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:8")
r14247r14248
17971746   PORT_DIPSETTING(      0x0000, "4/4" ) // Cocktail (P1&P2 <-> P3&P4)
17981747   PORT_DIPNAME( 0x1800, 0x1000, "Initial/Maximum Credit" ) PORT_DIPLOCATION("SW2:4,5")
17991748   PORT_DIPSETTING(      0x1800, "2/2" )
1800   PORT_DIPSETTING(      0x1000, "2/3" ) // Japan factory default = "Maximum 3"
1749   PORT_DIPSETTING(      0x1000, "2/3" )
18011750   PORT_DIPSETTING(      0x0800, "2/4" )
18021751   PORT_DIPSETTING(      0x0000, "2/5" )
18031752
src/mame/drivers/spy.c
r14247r14248
421421   KONAMI8_ALT_B21(2)   /* button 3 unused */
422422
423423   PORT_START("DSW1")
424   KONAMI_COINAGE(DEF_STR( Free_Play ), "Invalid")
424   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "Invalid", SW1)
425425   /* "Invalid" = both coin slots disabled */
426426
427427   PORT_START("DSW2")
428   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )
428   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
429429   PORT_DIPSETTING(    0x03, "2" )
430430   PORT_DIPSETTING(    0x02, "3" )
431431   PORT_DIPSETTING(    0x01, "5" )
432432   PORT_DIPSETTING(    0x00, "7" )
433   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unused ) )
434   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
435   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
436   PORT_DIPNAME( 0x18, 0x08, DEF_STR( Bonus_Life ) )
433   PORT_DIPUNUSED_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW2:3" )
434   PORT_DIPNAME( 0x18, 0x08, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:4,5")
437435   PORT_DIPSETTING(    0x18, "10k and every 20k" )
438436   PORT_DIPSETTING(    0x10, "20k and every 30k" )
439437   PORT_DIPSETTING(    0x08, "20k only" )
440438   PORT_DIPSETTING(    0x00, "30k only" )
441   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )
439   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:6,7")
442440   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
443441   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
444442   PORT_DIPSETTING(    0x20, DEF_STR( Difficult ) )
445443   PORT_DIPSETTING(    0x00, DEF_STR( Very_Difficult ) )
446   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
444   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
447445   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
448446   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
449447
r14247r14248
451449   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
452450   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 )
453451   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE1 )
454   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SPECIAL )   /* PMCFIRQ signal from the PMC */
455   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Flip_Screen ) )
452   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SPECIAL )      /* PMCFIRQ signal from the PMC */
453   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW3:1")
456454   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
457455   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
458   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unused ) )
459   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
460   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
461   PORT_SERVICE( 0x40, IP_ACTIVE_LOW )
462   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Continues ) )
463   PORT_DIPSETTING(    0x80, "Unlimited" )
456   PORT_DIPUNUSED_DIPLOC( 0x20, IP_ACTIVE_LOW, "SW3:2" )
457   PORT_SERVICE_DIPLOC( 0x40, IP_ACTIVE_LOW, "SW3:3" )
458   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("SW3:4")
464459   PORT_DIPSETTING(    0x00, "5 Times" )
460   PORT_DIPSETTING(    0x80, "Unlimited" )
465461INPUT_PORTS_END
466462
467463
src/mame/drivers/circusc.c
r14247r14248
347347static MACHINE_CONFIG_START( circusc, circusc_state )
348348
349349   /* basic machine hardware */
350   MCFG_CPU_ADD("maincpu", M6809, 2048000)        /* 2 MHz */
350   MCFG_CPU_ADD("maincpu", M6809, 2048000)        /* 2 MHz? */
351351   MCFG_CPU_PROGRAM_MAP(circusc_map)
352352   MCFG_CPU_VBLANK_INT("screen", vblank_irq)
353353   MCFG_WATCHDOG_VBLANK_INIT(8)
354354
355   MCFG_CPU_ADD("audiocpu", Z80,14318180/4)     /* Z80 Clock is derived from a 14.31818 MHz crystal */
355   MCFG_CPU_ADD("audiocpu", Z80, XTAL_14_31818MHz/4)
356356   MCFG_CPU_PROGRAM_MAP(sound_map)
357357
358358   MCFG_MACHINE_START(circusc)
r14247r14248
375375   /* sound hardware */
376376   MCFG_SPEAKER_STANDARD_MONO("mono")
377377
378   MCFG_SOUND_ADD("sn1", SN76496, 14318180/8)
378   MCFG_SOUND_ADD("sn1", SN76496, XTAL_14_31818MHz/8)
379379   MCFG_SOUND_ROUTE_EX(0, "fltdisc", 1.0, 0)
380380
381   MCFG_SOUND_ADD("sn2", SN76496, 14318180/8)
381   MCFG_SOUND_ADD("sn2", SN76496, XTAL_14_31818MHz/8)
382382   MCFG_SOUND_ROUTE_EX(0, "fltdisc", 1.0, 1)
383383
384384   MCFG_SOUND_ADD("dac", DAC, 0)
src/mame/drivers/mikie.c
r14247r14248
150150   KONAMI8_COCKTAIL_4WAY_B12_UNK
151151
152152   PORT_START("DSW1")
153   KONAMI_COINAGE(DEF_STR( Free_Play ), "No Coin B")
153   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "No Coin B", SW1)
154154   /* "No Coin B" = coins produce sound, but no effect on coin counter */
155155
156156   PORT_START("DSW2")
157   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )
157   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )         PORT_DIPLOCATION("SW2:1,2")
158158   PORT_DIPSETTING(    0x03, "3" )
159159   PORT_DIPSETTING(    0x02, "4" )
160160   PORT_DIPSETTING(    0x01, "5" )
161161   PORT_DIPSETTING(    0x00, "7" )
162   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )
162   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )         PORT_DIPLOCATION("SW2:3")
163163   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
164164   PORT_DIPSETTING(    0x04, DEF_STR( Cocktail ) )
165   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) )
165   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) )      PORT_DIPLOCATION("SW2:4,5")
166166   PORT_DIPSETTING(    0x18, "20k 70k 50k+" )
167167   PORT_DIPSETTING(    0x10, "30K 90k 60k+" )
168168   PORT_DIPSETTING(    0x08, "30k only" )
169169   PORT_DIPSETTING(    0x00, "40K only" )
170   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Difficulty ) )
170   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Difficulty ) )      PORT_DIPLOCATION("SW2:6,7")
171171   PORT_DIPSETTING(   0x60, DEF_STR( Easy ) )             /* 1 */
172172   PORT_DIPSETTING(   0x40, DEF_STR( Medium ) )           /* 2 */
173173   PORT_DIPSETTING(   0x20, DEF_STR( Hard ) )             /* 3 */
174174   PORT_DIPSETTING(   0x00, DEF_STR( Hardest ) )          /* 4 */
175   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
175   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )      PORT_DIPLOCATION("SW2:8")
176176   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
177177   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
178178
179   /* DSW3 is not mounted on PCB nor listed in manual */
179180   PORT_START("DSW3")
180181   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Flip_Screen ) )
181182   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
src/mame/drivers/nemesis.c
r14247r14248
677677   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_PLAYER(2)
678678   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
679679
680   PORT_START("TEST")
681   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("SWT:1")
682   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
683   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
684   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Version ) ) PORT_DIPLOCATION("SWT:2")
685   PORT_DIPSETTING(    0x02, DEF_STR( Normal ) )
686   PORT_DIPSETTING(    0x00, "Vs" )
687   PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SWT:3" )
688   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
689   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
690   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
691   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
692   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
693
694680   PORT_START("DSW0")
695   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), DEF_STR( None ), SWA)
681   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), DEF_STR( None ), SW1)
696682   /* "None" = coin slot B disabled */
697683
698684   PORT_START("DSW1")
699   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:1,2")
685   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
700686   PORT_DIPSETTING(    0x03, "3" )
701687   PORT_DIPSETTING(    0x02, "4" )
702688   PORT_DIPSETTING(    0x01, "5" )
703689   PORT_DIPSETTING(    0x00, "7" )
704   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW1:3")
690   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW2:3")
705691   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
706692   PORT_DIPSETTING(    0x04, DEF_STR( Cocktail ) )
707   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW1:4,5")
693   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:4,5")
708694   PORT_DIPSETTING(    0x18, "50k and every 100k" )
709695   PORT_DIPSETTING(    0x10, "30k" )
710696   PORT_DIPSETTING(    0x08, "50k" )
711697   PORT_DIPSETTING(    0x00, "100k" )
712   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW1:6,7")
698   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:6,7")
713699   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
714700   PORT_DIPSETTING(    0x40, DEF_STR( Medium ) )
715701   PORT_DIPSETTING(    0x20, DEF_STR( Hard ) )
716702   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
717   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW1:8")
703   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
718704   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
719705   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
706
707   PORT_START("TEST")
708   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW3:1")
709   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
710   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
711   PORT_DIPNAME( 0x02, 0x02, "Upright Controls" )      PORT_DIPLOCATION("SW3:2")
712   PORT_DIPSETTING(    0x02, DEF_STR( Single ) )
713   PORT_DIPSETTING(    0x00, DEF_STR( Dual ) )
714   PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW3:3" )
715   PORT_BIT( 0xf8, IP_ACTIVE_LOW, IPT_UNUSED )
720716INPUT_PORTS_END
721717
722718
r14247r14248
724720   PORT_INCLUDE( nemesis )
725721
726722   PORT_MODIFY("DSW1")
727   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:1,2")
723   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
728724   PORT_DIPSETTING(    0x03, "2" )
729725   PORT_DIPSETTING(    0x02, "3" )
730726   PORT_DIPSETTING(    0x01, "5" )
731727   PORT_DIPSETTING(    0x00, "7" )
732   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW1:4,5")
728   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:4,5")
733729   PORT_DIPSETTING(    0x18, "20k and every 70k" )
734730   PORT_DIPSETTING(    0x10, "30k and every 80k" )
735731   PORT_DIPSETTING(    0x08, "20k" )
r14247r14248
761757   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON1 )
762758//  PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON4 )
763759
764   PORT_START("TEST")
765   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("SWT:1")
766   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
767   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
768   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SWT:2")
769   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
770   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
771   PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SWT:3" )
772   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
773   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
774   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
775   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
776   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
777
778760   PORT_START("DSW0")
779   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "No Coin B", SWA)
761   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "No Coin B", SW1)
780762   /* "No Coin B" = coins produce sound, but no effect on coin counter */
781763
782764   PORT_START("DSW1")
783   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:1")
784   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
785   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
786   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:2")
787   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
788   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
789   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:3")
790   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
791   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
792   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:4")
793   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
794   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
795   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW1:5,6")
765   PORT_BIT( 0x4f, IP_ACTIVE_LOW, IPT_UNUSED )
766   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:5,6")
796767   PORT_DIPSETTING(    0x30, DEF_STR( Easy ) )
797768   PORT_DIPSETTING(    0x20, DEF_STR( Medium ) )
798769   PORT_DIPSETTING(    0x10, DEF_STR( Hard ) )
799770   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
800   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:7")
801   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
802   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
803   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW1:8")
771   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
804772   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
805773   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
806774
775   PORT_START("TEST")
776   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW3:1")
777   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
778   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
779   PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW3:3" )
780   PORT_BIT( 0xfa, IP_ACTIVE_LOW, IPT_UNUSED )
781
807782   PORT_START("PADDLE")
808783   PORT_BIT( 0x7f, 0x40, IPT_PADDLE ) PORT_SENSITIVITY(25) PORT_KEYDELTA(10)
809784INPUT_PORTS_END
r14247r14248
833808   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON1 )
834809//  PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON4 )
835810
836   PORT_START("TEST")
837   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("SWT:1")
838   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
839   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
840   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SWT:2")
841   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
842   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
843   PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SWT:3" )
844   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
845   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
846   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
847   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
848   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
849
850811   PORT_START("DSW0")
851   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "No Coin B", SWA)
812   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "No Coin B", SW1)
852813   /* "No Coin B" = coins produce sound, but no effect on coin counter */
853814
854815   PORT_START("DSW1")
855   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:1")
856   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
857   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
858   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:2")
859   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
860   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
861   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:3")
862   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
863   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
864   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:4")
865   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
866   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
867   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW1:5,6")
816   PORT_BIT( 0x4f, IP_ACTIVE_LOW, IPT_UNUSED )
817   
818   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:5,6")
868819   PORT_DIPSETTING(    0x30, DEF_STR( Easy ) )
869820   PORT_DIPSETTING(    0x20, DEF_STR( Medium ) )
870821   PORT_DIPSETTING(    0x10, DEF_STR( Hard ) )
871822   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
872   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:7")
873   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
874   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
875   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW1:8")
823   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
876824   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
877825   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
878826
827   PORT_START("TEST")
828   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW3:1")
829   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
830   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
831   PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW3:3" )
832   PORT_BIT( 0xfa, IP_ACTIVE_LOW, IPT_UNUSED )
833
879834   PORT_START("PADDLE")
880835   PORT_BIT( 0x7f, 0x40, IPT_PADDLE ) PORT_SENSITIVITY(25) PORT_KEYDELTA(10)
881836INPUT_PORTS_END
r14247r14248
893848   KONAMI8_B321(2)
894849   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
895850
896   PORT_START("TEST")
897   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("SWT:1")
898   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
899   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
900   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Version ) ) PORT_DIPLOCATION("SWT:2")
901   PORT_DIPSETTING(    0x02, DEF_STR( Normal ) )
902   PORT_DIPSETTING(    0x00, "Vs" )
903   PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SWT:3" )
904   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
905   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
906   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
907   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
908   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
909
910851   PORT_START("DSW0")
911   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "No Coin B", SWA)
852   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "No Coin B", SW1)
912853   /* "No Coin B" = coins produce sound, but no effect on coin counter */
913854
914855   PORT_START("DSW1")
915   PORT_DIPNAME( 0x03, 0x01, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:1,2")
856   PORT_DIPNAME( 0x03, 0x01, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
916857   PORT_DIPSETTING(    0x03, "1" )
917858   PORT_DIPSETTING(    0x02, "2" )
918859   PORT_DIPSETTING(    0x01, "3" )
919860   PORT_DIPSETTING(    0x00, "7" )
920   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:3")
921   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
922   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
923   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW1:4,5")
861   PORT_DIPUNUSED_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW2:3" )
862   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:4,5")
924863   PORT_DIPSETTING(    0x18, "30k 100k 200k 400k" )
925864   PORT_DIPSETTING(    0x10, "40k 120k 240k 480k" )
926865   PORT_DIPSETTING(    0x08, "50k 150k 300k 600k" )
927866   PORT_DIPSETTING(    0x00, "100k 200k 400k 800k" )
928   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW1:6,7")
867   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:6,7")
929868   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
930869   PORT_DIPSETTING(    0x40, DEF_STR( Medium ) )
931870   PORT_DIPSETTING(    0x20, DEF_STR( Hard ) )
932871   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
933   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW1:8")
872   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
934873   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
935874   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
875
876   PORT_START("TEST")
877   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW3:1")
878   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
879   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
880   PORT_DIPNAME( 0x02, 0x02, "Upright Controls" )      PORT_DIPLOCATION("SW3:2")
881   PORT_DIPSETTING(    0x02, DEF_STR( Single ) )
882   PORT_DIPSETTING(    0x00, DEF_STR( Dual ) )
883   PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW3:3" )
884   PORT_BIT( 0xf8, IP_ACTIVE_LOW, IPT_UNUSED )
936885INPUT_PORTS_END
937886
938887
r14247r14248
946895   PORT_START("IN2")
947896   KONAMI8_B12_UNK(2)
948897
949   PORT_START("TEST")
950   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("SWT:1")
951   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
952   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
953   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Version ) ) PORT_DIPLOCATION("SWT:2")
954   PORT_DIPSETTING(    0x02, DEF_STR( Normal ) )
955   PORT_DIPSETTING(    0x00, "Vs" )
956   PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SWT:3" )
957   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
958   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
959   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
960   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
961   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
962
963898   PORT_START("DSW0")
964   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "No Coin B", SWA)
899   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "No Coin B", SW1)
965900   /* "No Coin B" = coins produce sound, but no effect on coin counter */
966901
967902   PORT_START("DSW1")
968   PORT_DIPNAME( 0x03, 0x01, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:1,2")
903   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
969904   PORT_DIPSETTING(    0x03, "2" )
970905   PORT_DIPSETTING(    0x02, "3" )
971906   PORT_DIPSETTING(    0x01, "4" )
972907   PORT_DIPSETTING(    0x00, "7" )
973   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:3")
974   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
975   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
976   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW1:4,5")
908   PORT_DIPUNUSED_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW2:3" )
909   PORT_DIPNAME( 0x18, 0x10, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:4,5")
977910   PORT_DIPSETTING(    0x18, "20k 100k" )
978911   PORT_DIPSETTING(    0x10, "30k 120k" )
979912   PORT_DIPSETTING(    0x08, "40k 140k" )
980913   PORT_DIPSETTING(    0x00, "50k 160k" )
981   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW1:6,7")
914   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:6,7")
982915   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
983916   PORT_DIPSETTING(    0x40, DEF_STR( Medium ) )
984917   PORT_DIPSETTING(    0x20, DEF_STR( Hard ) )
985918   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
986   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW1:8")
919   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
987920   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
988921   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
922
923   PORT_START("TEST")
924   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW3:1")
925   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
926   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
927   PORT_DIPNAME( 0x02, 0x02, "Upright Controls" )      PORT_DIPLOCATION("SW3:2")
928   PORT_DIPSETTING(    0x02, DEF_STR( Single ) )
929   PORT_DIPSETTING(    0x00, DEF_STR( Dual ) )
930   PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW3:3" )
931   PORT_BIT( 0xf8, IP_ACTIVE_LOW, IPT_UNUSED )
989932INPUT_PORTS_END
990933
991934
r14247r14248
994937   KONAMI8_SYSTEM_UNK
995938
996939   PORT_START("IN1")
997   KONAMI8_B132(1)                        // button1 = power-up, button3 = shoot, button2 = missile
940   KONAMI8_B132(1) // button1 = power-up, button3 = shoot, button2 = missile
998941   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
999942
1000943   PORT_START("IN2")
1001944   KONAMI8_B132(2)
1002945   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1003946
1004   PORT_START("TEST")
1005   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("SWT:1")
1006   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
1007   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1008   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Version ) ) PORT_DIPLOCATION("SWT:2")
1009   PORT_DIPSETTING(    0x02, DEF_STR( Normal ) )
1010   PORT_DIPSETTING(    0x00, "Vs" )
1011   PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SWT:3" )
1012   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1013   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
1014   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1015   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1016   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
1017
1018947   PORT_START("DSW0")
1019   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), DEF_STR( None ), SWA)
948   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), DEF_STR( None ), SW1)
1020949   /* "None" = coin slot B disabled */
1021950
1022951   PORT_START("DSW1")
1023   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:1,2")
952   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
1024953   PORT_DIPSETTING(    0x03, "3" )
1025954   PORT_DIPSETTING(    0x02, "4" )
1026955   PORT_DIPSETTING(    0x01, "5" )
1027956   PORT_DIPSETTING(    0x00, "7" )
1028   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW1:3")
957   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW2:3")
1029958   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
1030959   PORT_DIPSETTING(    0x04, DEF_STR( Cocktail ) )
1031   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW1:4,5")
960   PORT_DIPNAME( 0x18, 0x10, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:4,5")
1032961   PORT_DIPSETTING(    0x18, "20k and every 70k" )
1033962   PORT_DIPSETTING(    0x10, "30k and every 80k" )
1034963   PORT_DIPSETTING(    0x08, "20k only" )
1035964   PORT_DIPSETTING(    0x00, "30k only" )
1036   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW1:6,7")
965   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:6,7")
1037966   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
1038967   PORT_DIPSETTING(    0x40, DEF_STR( Medium ) )
1039968   PORT_DIPSETTING(    0x20, DEF_STR( Hard ) )
1040969   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
1041   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW1:8")
970   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
1042971   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
1043972   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
973
974   PORT_START("TEST")
975   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW3:1")
976   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
977   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
978   PORT_DIPNAME( 0x02, 0x02, "Upright Controls" )      PORT_DIPLOCATION("SW3:2")
979   PORT_DIPSETTING(    0x02, DEF_STR( Single ) )
980   PORT_DIPSETTING(    0x00, DEF_STR( Dual ) )
981   PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW3:3" )
982   PORT_BIT( 0xf8, IP_ACTIVE_LOW, IPT_UNUSED )
1044983INPUT_PORTS_END
1045984
1046985
r14247r14248
1051990   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_SERVICE1 )
1052991   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_START1 )
1053992   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_START2 )
1054   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("SWT:1")
993   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW3:1")
1055994   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
1056995   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1057   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) ) PORT_DIPLOCATION("SWT:2")
1058   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
1059   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1060   PORT_SERVICE_DIPLOC( 0x80, IP_ACTIVE_LOW, "SWT:3" )
996   PORT_DIPUNUSED_DIPLOC( 0x40, IP_ACTIVE_LOW, "SW3:2" )
997   PORT_SERVICE_DIPLOC( 0x80, IP_ACTIVE_LOW, "SW3:3" )
1061998
1062999   PORT_START("IN1")
10631000   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1)
r14247r14248
10671004   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_PLAYER(1)
10681005   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_PLAYER(1)
10691006   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
1070   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SWT:4")
1007   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW3:4")
10711008   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
10721009   PORT_DIPSETTING(    0x80, DEF_STR( Cocktail ) )
10731010
r14247r14248
10821019   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
10831020
10841021   PORT_START("DSW0")
1085   PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW0:1,2,3,4")
1022   PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Coinage ) )      PORT_DIPLOCATION("SW1:1,2,3,4")
10861023   PORT_DIPSETTING(    0x02, DEF_STR( 4C_1C ) )
10871024   PORT_DIPSETTING(    0x05, DEF_STR( 3C_1C ) )
10881025   PORT_DIPSETTING(    0x08, DEF_STR( 2C_1C ) )
r14247r14248
10991036   PORT_DIPSETTING(    0x0a, DEF_STR( 1C_6C ) )
11001037   PORT_DIPSETTING(    0x09, DEF_STR( 1C_7C ) )
11011038   PORT_DIPSETTING(    0x00, "Disabled" )
1102   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unused ) ) PORT_DIPLOCATION("SW0:5")
1103   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
1104   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1105   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unused ) ) PORT_DIPLOCATION("SW0:6")
1106   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
1107   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1108   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) ) PORT_DIPLOCATION("SW0:7")
1109   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
1110   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1111   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unused ) ) PORT_DIPLOCATION("SW0:8")
1112   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
1113   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1039   PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED )
11141040
11151041   PORT_START("DSW1")
1116   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:1,2")
1042   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
11171043   PORT_DIPSETTING(    0x03, "2" )
11181044   PORT_DIPSETTING(    0x02, "3" )
11191045   PORT_DIPSETTING(    0x01, "5" )
11201046   PORT_DIPSETTING(    0x00, "7" )
1121   PORT_DIPNAME( 0x04, 0x00, "Coin Slot(s)" ) PORT_DIPLOCATION("SW1:3")
1047   PORT_DIPNAME( 0x04, 0x00, "Coin Slot(s)" )         PORT_DIPLOCATION("SW2:3")
11221048   PORT_DIPSETTING(    0x04, "1" )
11231049   PORT_DIPSETTING(    0x00, "2" )
1124   PORT_DIPNAME( 0x18, 0x00, "Max Credit(s)" ) PORT_DIPLOCATION("SW1:4,5")
1050   PORT_DIPNAME( 0x18, 0x00, "Max Credit(s)" )         PORT_DIPLOCATION("SW2:4,5")
11251051   PORT_DIPSETTING(    0x18, "1" )
11261052   PORT_DIPSETTING(    0x10, "3" )
11271053   PORT_DIPSETTING(    0x08, "5" )
11281054   PORT_DIPSETTING(    0x00, "9" )
1129   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW1:6,7")
1055   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:6,7")
11301056   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
11311057   PORT_DIPSETTING(    0x40, DEF_STR( Medium ) )
11321058   PORT_DIPSETTING(    0x20, DEF_STR( Hard ) )
11331059   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
1134   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW1:8")
1060   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
11351061   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
11361062   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
11371063INPUT_PORTS_END
r14247r14248
11441070   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_SERVICE1 )
11451071   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_START1 )
11461072   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_START2 )
1147   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("SWT:1")
1073   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW3:1")
11481074   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
11491075   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1150   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) ) PORT_DIPLOCATION("SWT:2")
1151   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
1152   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1153   PORT_SERVICE_DIPLOC( 0x80, IP_ACTIVE_LOW, "SWT:3" )
1076   PORT_DIPUNUSED_DIPLOC( 0x40, IP_ACTIVE_LOW, "SW3:2" )
1077   PORT_SERVICE_DIPLOC( 0x80, IP_ACTIVE_LOW, "SW3:3" )
11541078
11551079   PORT_START("IN1")
11561080   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1)
r14247r14248
11601084   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_PLAYER(1)   // power-up
11611085   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_PLAYER(1)   // shoot
11621086   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_PLAYER(1)   // missile
1163   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SWT:3")
1087   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW3:4")
11641088   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
11651089   PORT_DIPSETTING(    0x80, DEF_STR( Cocktail ) )
11661090
r14247r14248
11751099   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
11761100
11771101   PORT_START("DSW0")
1178   KONAMI_COINAGE_LOC("Invalid", "Invalid", SW0)
1102   KONAMI_COINAGE_LOC("Invalid", "Invalid", SW1)
11791103   /* "Invalid" = both coin slots disabled */
11801104
11811105   PORT_START("DSW1")
1182   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:1,2")
1106   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
11831107   PORT_DIPSETTING(    0x03, "3" )
11841108   PORT_DIPSETTING(    0x02, "4" )
11851109   PORT_DIPSETTING(    0x01, "5" )
11861110   PORT_DIPSETTING(    0x00, "6" )
1187   PORT_DIPNAME( 0x04, 0x00, "Coin Slot(s)" ) PORT_DIPLOCATION("SW1:3")
1111   PORT_DIPNAME( 0x04, 0x00, "Coin Slot(s)" )         PORT_DIPLOCATION("SW2:3")
11881112   PORT_DIPSETTING(    0x04, "1" )
11891113   PORT_DIPSETTING(    0x00, "2" )
1190   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW1:4,5")
1114   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:4,5")
11911115   PORT_DIPSETTING(    0x18, "70k and every 200k" )
11921116   PORT_DIPSETTING(    0x10, "100k and every 300k" )
11931117   PORT_DIPSETTING(    0x08, "70k only" )
11941118   PORT_DIPSETTING(    0x00, "100k only" )
1195   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW1:6,7")
1119   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:6,7")
11961120   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
11971121   PORT_DIPSETTING(    0x40, DEF_STR( Medium ) )
11981122   PORT_DIPSETTING(    0x20, DEF_STR( Hard ) )
11991123   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
1200   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW1:8")
1124   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
12011125   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
12021126   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
12031127INPUT_PORTS_END
r14247r14248
12091133   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_SERVICE1 )
12101134   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_START1 )
12111135   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_START2 )
1212   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("SWT:1")
1136   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW3:1")
12131137   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
12141138   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1215   PORT_DIPNAME( 0xc0, 0x80, "Continue" ) PORT_DIPLOCATION("SWT:2,3")
1139   PORT_DIPNAME( 0xc0, 0x80, "Continue" )            PORT_DIPLOCATION("SW3:2,3")
12161140   PORT_DIPSETTING(    0xc0, DEF_STR( Off ) )
12171141   PORT_DIPSETTING(    0x80, "2 Areas" )
12181142   PORT_DIPSETTING(    0x40, "3 Areas" )
r14247r14248
12261150   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_PLAYER(1)
12271151   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_PLAYER(1)
12281152   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
1229   PORT_SERVICE_DIPLOC( 0x80, IP_ACTIVE_LOW, "SWT:3" )
1153   PORT_SERVICE_DIPLOC( 0x80, IP_ACTIVE_LOW, "SW3:4" )
12301154
12311155   PORT_START("IN2")
12321156   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2)
r14247r14248
12391163   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
12401164
12411165   PORT_START("DSW0")
1242   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), DEF_STR( None ), SW0)
1166   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), DEF_STR( None ), SW1)
12431167   /* "None" = coin slot B disabled */
12441168
12451169   PORT_START("DSW1")
1246   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:1,2")
1170   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
12471171   PORT_DIPSETTING(    0x03, "3" )
12481172   PORT_DIPSETTING(    0x02, "4" )
12491173   PORT_DIPSETTING(    0x01, "5" )
12501174   PORT_DIPSETTING(    0x00, "7" )
1251   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW1:3")
1175   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW2:3")
12521176   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
12531177   PORT_DIPSETTING(    0x04, DEF_STR( Cocktail ) )
1254   PORT_DIPNAME( 0x18, 0x10, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW1:4,5")
1178   PORT_DIPNAME( 0x18, 0x10, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:4,5")
12551179   PORT_DIPSETTING(    0x18, "50k 100k" )
12561180   PORT_DIPSETTING(    0x10, "20k 50k" )
12571181   PORT_DIPSETTING(    0x08, "30k 70k" )
12581182   PORT_DIPSETTING(    0x00, "80k 150k" )
1259   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW1:6,7")
1183   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:6,7")
12601184   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
12611185   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
12621186   PORT_DIPSETTING(    0x20, DEF_STR( Difficult ) )
12631187   PORT_DIPSETTING(    0x00, DEF_STR( Very_Difficult ) )
1264   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW1:8")
1188   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
12651189   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
12661190   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
12671191INPUT_PORTS_END
r14247r14248
12691193static INPUT_PORTS_START( citybomb )
12701194   PORT_START("IN0")
12711195   KONAMI8_SYSTEM_10
1272   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("SWT:1")
1196   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW3:1")
12731197   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
12741198   PORT_DIPSETTING(    0x20, DEF_STR( On ) )
1275   PORT_DIPNAME( 0x40, 0x40, "Upright Control" ) PORT_DIPLOCATION("SWT:2")
1199   PORT_DIPNAME( 0x40, 0x40, "Upright Control" )      PORT_DIPLOCATION("SW3:2")
12761200   PORT_DIPSETTING(    0x40, DEF_STR( Single ) )
12771201   PORT_DIPSETTING(    0x00, DEF_STR( Dual ) )
1278   PORT_SERVICE_DIPLOC( 0x80, IP_ACTIVE_LOW, "SWT:3" )
1202   PORT_SERVICE_DIPLOC( 0x80, IP_ACTIVE_LOW, "SW3:3" )
12791203
12801204   PORT_START("IN1")
12811205   KONAMI8_B123(1)
1282   PORT_DIPNAME( 0x80, 0x80, "Device Type" ) PORT_DIPLOCATION("SWT:4")
1206   PORT_DIPNAME( 0x80, 0x80, "Device Type" )         PORT_DIPLOCATION("SW3:4")
12831207   PORT_DIPSETTING(    0x00, "Handle" )
12841208   PORT_DIPSETTING(    0x80, DEF_STR( Joystick ) )
12851209
r14247r14248
12871211   KONAMI8_B123_UNK(2)
12881212
12891213   PORT_START("DSW0")
1290   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "Invalid", SW0)
1214   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "Invalid", SW1)
12911215   /* "Invalid" = both coin slots disabled */
12921216
12931217   PORT_START("DSW1")
1294   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW1:1")
1218   PORT_DIPUNUSED_DIPLOC( 0x01, IP_ACTIVE_LOW, "SW2:1" )
1219   PORT_DIPUNUSED_DIPLOC( 0x02, IP_ACTIVE_LOW, "SW2:2" )
1220   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW2:3")
12951221   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
12961222   PORT_DIPSETTING(    0x04, DEF_STR( Cocktail ) )
1297   PORT_DIPNAME( 0x18, 0x10, "Qualify" ) PORT_DIPLOCATION("SW1:2,3")
1223   PORT_DIPNAME( 0x18, 0x10, "Qualify" )            PORT_DIPLOCATION("SW2:4,5")
12981224   PORT_DIPSETTING(    0x18, "Long" )
12991225   PORT_DIPSETTING(    0x10, DEF_STR( Normal ) )
13001226   PORT_DIPSETTING(    0x08, "Short" )
13011227   PORT_DIPSETTING(    0x00, "Very Short" )
1302   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW1:4,5")
1228   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:6,7")
13031229   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
13041230   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
13051231   PORT_DIPSETTING(    0x20, DEF_STR( Difficult ) )
13061232   PORT_DIPSETTING(    0x00, DEF_STR( Very_Difficult ) )
1307   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW1:6")
1233   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
13081234   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
13091235   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
13101236
r14247r14248
13191245static INPUT_PORTS_START( nyanpani )
13201246   PORT_START("IN0")
13211247   KONAMI8_SYSTEM_10
1322   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("SWT:1")
1248   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW3:1")
13231249   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
13241250   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1325   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
1326   PORT_SERVICE_DIPLOC( 0x80, IP_ACTIVE_LOW, "SWT:2" )
1251   PORT_DIPUNUSED_DIPLOC( 0x40, IP_ACTIVE_LOW, "SW3:2" )
1252   PORT_SERVICE_DIPLOC( 0x80, IP_ACTIVE_LOW, "SW3:3" )
13271253
13281254   PORT_START("IN1")
13291255   KONAMI8_B123_UNK(1)
r14247r14248
13321258   KONAMI8_B123_UNK(2)
13331259
13341260   PORT_START("DSW0")
1335   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "Invalid", SW0)
1261   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "Invalid", SW1)
13361262   /* "Invalid" = both coin slots disabled */
13371263
13381264   PORT_START("DSW1")
1339   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:1,2")
1265   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
13401266   PORT_DIPSETTING(    0x03, "2" )
13411267   PORT_DIPSETTING(    0x02, "3" )
13421268   PORT_DIPSETTING(    0x01, "5" )
13431269   PORT_DIPSETTING(    0x00, "7" )
1344   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW1:3,4")
1270   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:6,7")
13451271   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
13461272   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
13471273   PORT_DIPSETTING(    0x20, DEF_STR( Difficult ) )
13481274   PORT_DIPSETTING(    0x00, DEF_STR( Very_Difficult ) )
1349   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW1:5")
1275   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
13501276   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
13511277   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
13521278INPUT_PORTS_END
r14247r14248
13671293   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN )
13681294   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNKNOWN )
13691295   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_CONDITION("DSW1", 0x03, PORTCOND_EQUALS, 0x02)      // only in WEC Le Mans 24 cabinets
1370   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN ) PORT_CONDITION("DSW1", 0x03, PORTCOND_NOTEQUALS, 0x02)
1296   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN ) PORT_CONDITION("DSW1", 0x03, PORTCOND_NOTEQUALS, 0x02)   // player 2?
13711297   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON3 )
13721298   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_SPECIAL )   // must be 0 otherwise game freezes when using WEC Le Mans 24 cabinet
13731299   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
r14247r14248
13761302   PORT_START("IN2")
13771303   PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
13781304
1379   PORT_START("TEST")
1380   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("SWT:1")
1381   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
1382   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1383   PORT_DIPNAME( 0x02, 0x02, "Quantity of Initials" ) PORT_DIPLOCATION("SWT:2")
1384   PORT_DIPSETTING(    0x00, "3" )
1385   PORT_DIPSETTING(    0x02, "7" )
1386   PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SWT:3" )
1387   PORT_DIPNAME( 0x08, 0x08, "Speed Unit" ) PORT_DIPLOCATION("SWT:4")
1388   PORT_DIPSETTING(    0x08, "km/h" )
1389   PORT_DIPSETTING(    0x00, "M.P.H." )
1390   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unused ) ) PORT_DIPLOCATION("SWT:5")
1391   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
1392   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1393   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unused ) ) PORT_DIPLOCATION("SWT:6")
1394   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
1395   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1396   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) ) PORT_DIPLOCATION("SWT:7")
1397   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
1398   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1399   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unused ) ) PORT_DIPLOCATION("SWT:8")
1400   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
1401   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1402
14031305   PORT_START("DSW0")
1404   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "Invalid", SWA)
1306   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "Invalid", SW1)
14051307   /* "Invalid" = both coin slots disabled */
14061308
14071309   PORT_START("DSW1")
1408   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW1:1,2")
1310   PORT_DIPNAME( 0x03, 0x01, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW2:1,2")
14091311   PORT_DIPSETTING(    0x03, "Konami GT without brake" )
14101312   PORT_DIPSETTING(    0x02, "WEC Le Mans 24 Upright" )
14111313   PORT_DIPSETTING(    0x01, "Konami GT with brake" )
14121314   // 0x00 WEC Le Mans 24 Upright again
1413   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unused ) ) PORT_DIPLOCATION("SW1:3")
1414   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
1415   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1416   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unused ) ) PORT_DIPLOCATION("SW1:4")
1417   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
1418   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1419   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unused ) ) PORT_DIPLOCATION("SW1:5")
1420   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
1421   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1422   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW1:6,7")
1315   PORT_BIT( 0x1c, IP_ACTIVE_LOW, IPT_UNUSED )
1316   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:6,7")
14231317   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
14241318   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
14251319   PORT_DIPSETTING(    0x20, DEF_STR( Difficult ) )
14261320   PORT_DIPSETTING(    0x00, DEF_STR( Very_Difficult ) )
1427   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW1:8")
1321   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
14281322   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
14291323   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
14301324
1325   PORT_START("TEST")
1326   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW3:1")
1327   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
1328   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1329   PORT_DIPNAME( 0x02, 0x02, "Quantity of Initials" )   PORT_DIPLOCATION("SW3:2")
1330   PORT_DIPSETTING(    0x00, "3" )
1331   PORT_DIPSETTING(    0x02, "7" )
1332   PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW3:3" )
1333   PORT_DIPNAME( 0x08, 0x08, "Speed Unit" )         PORT_DIPLOCATION("SW3:4")
1334   PORT_DIPSETTING(    0x08, "km/h" )
1335   PORT_DIPSETTING(    0x00, "M.P.H." )
1336   PORT_BIT( 0xf0, IP_ACTIVE_HIGH, IPT_UNKNOWN )
1337
14311338   /* Konami GT specific control */
14321339   PORT_START("PADDLE")
14331340   PORT_BIT( 0x7f, 0x40, IPT_PADDLE ) PORT_SENSITIVITY(25) PORT_KEYDELTA(10)
src/mame/drivers/megazone.c
r14247r14248
107107   AM_RANGE(0x6000, 0x6000) AM_READ_PORT("IN0")         /* IO Coin */
108108   AM_RANGE(0x6001, 0x6001) AM_READ_PORT("IN1")         /* P1 IO */
109109   AM_RANGE(0x6002, 0x6002) AM_READ_PORT("IN2")         /* P2 IO */
110   AM_RANGE(0x8000, 0x8000) AM_READ_PORT("DSW1")
111   AM_RANGE(0x8001, 0x8001) AM_READ_PORT("DSW2")
110   AM_RANGE(0x8000, 0x8000) AM_READ_PORT("DSW2")
111   AM_RANGE(0x8001, 0x8001) AM_READ_PORT("DSW1")
112112   AM_RANGE(0xa000, 0xa000) AM_WRITENOP               /* INTMAIN - Interrupts main CPU (unused) */
113113   AM_RANGE(0xc000, 0xc000) AM_WRITENOP               /* INT (Actually is NMI) enable/disable (unused)*/
114114   AM_RANGE(0xc001, 0xc001) AM_WRITE(watchdog_reset_w)
r14247r14248
145145   PORT_START("IN2")
146146   KONAMI8_COCKTAIL_B1_UNK
147147
148   /* 0x8001 -> 0xe021 (CPU1) = 0x3821 (CPU0) */
149   PORT_START("DSW1")
150   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "No Coin B", SW1)
151   /* "No Coin B" = coins produce sound, but no effect on coin counter */
152
148153   /* 0x8000 -> 0xe020 (CPU1) = 0x3820 (CPU0) */
149   PORT_START("DSW1")
150   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )
154   PORT_START("DSW2")
155   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
151156   PORT_DIPSETTING(    0x03, "3" )
152157   PORT_DIPSETTING(    0x02, "4" )
153158   PORT_DIPSETTING(    0x01, "5" )
154159   PORT_DIPSETTING(    0x00, "7" )
155   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )
160   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW2:3")
156161   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
157162   PORT_DIPSETTING(    0x04, DEF_STR( Cocktail ) )
158   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) )
163   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:4,5")
159164   PORT_DIPSETTING(    0x18, "20k 70k 70k+" )
160165   PORT_DIPSETTING(    0x10, "20k 80k 80k+" )
161166   PORT_DIPSETTING(    0x08, "30k 90k 90k+" )
162167   PORT_DIPSETTING(    0x00, "30k 100k 100k+" )
163   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )
168   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:6,7")
164169   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
165170   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
166171   PORT_DIPSETTING(    0x20, DEF_STR( Hard ) )
167172   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
168   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
173   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
169174   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
170175   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
171
172   /* 0x8001 -> 0xe021 (CPU1) = 0x3821 (CPU0) */
173   PORT_START("DSW2")
174   KONAMI_COINAGE(DEF_STR( Free_Play ), "No Coin B")
175   /* "No Coin B" = coins produce sound, but no effect on coin counter */
176176INPUT_PORTS_END
177177
178178static INPUT_PORTS_START( megazona )
179179   PORT_INCLUDE( megazone )
180180
181   PORT_MODIFY("DSW1")
182   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )
181   PORT_MODIFY("DSW2")
182   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
183183   PORT_DIPSETTING(    0x03, "2" )
184184   PORT_DIPSETTING(    0x02, "3" )
185185   PORT_DIPSETTING(    0x01, "4" )
src/mame/drivers/pacland.c
r14247r14248
281281
282282
283283static INPUT_PORTS_START( pacland )
284   PORT_START("DSWA")   /* DSWA */
285   PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
286   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Lives ) )
284   PORT_START("DSWA")
285   PORT_SERVICE_DIPLOC( 0x80, IP_ACTIVE_LOW, "SWA:1" )
286   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Lives ) )      PORT_DIPLOCATION("SWA:3,2")
287287   PORT_DIPSETTING(    0x40, "2" )
288288   PORT_DIPSETTING(    0x60, "3" )
289289   PORT_DIPSETTING(    0x20, "4" )
290290   PORT_DIPSETTING(    0x00, "5" )
291   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Coin_A ) )
291   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SWA:5,4")
292292   PORT_DIPSETTING(    0x00, DEF_STR( 3C_1C ) )
293293   PORT_DIPSETTING(    0x08, DEF_STR( 2C_1C ) )
294294   PORT_DIPSETTING(    0x18, DEF_STR( 1C_1C ) )
295295   PORT_DIPSETTING(    0x10, DEF_STR( 1C_2C ) )
296   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Demo_Sounds ) )
296   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SWA:6")
297297   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
298298   PORT_DIPSETTING(    0x04, DEF_STR( On ) )
299   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coin_B ) )
299   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SWA:8,7")
300300   PORT_DIPSETTING(    0x00, DEF_STR( 3C_1C ) )
301301   PORT_DIPSETTING(    0x01, DEF_STR( 2C_1C ) )
302302   PORT_DIPSETTING(    0x03, DEF_STR( 1C_1C ) )
303303   PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
304304
305   PORT_START("DSWB")   /* DSWB */
306   PORT_DIPNAME( 0xe0, 0xe0, DEF_STR( Bonus_Life ) )
307   PORT_DIPSETTING(    0xe0, "30K 80K 130K 300K 500K 1M" )
308   PORT_DIPSETTING(    0x80, "30K 80K every 100K" )
309   PORT_DIPSETTING(    0x40, "30K 80K 150K" )
310   PORT_DIPSETTING(    0xc0, "30K 100K 200K 400K 600K 1M" )
311   PORT_DIPSETTING(    0xa0, "40K 100K 180K 300K 500K 1M" )
312   PORT_DIPSETTING(    0x20, "40K 100K 200K" )
313   PORT_DIPSETTING(    0x00, "40K" )
314   PORT_DIPSETTING(    0x60, "50K 150K every 200K" )
315   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Difficulty ) )
305   PORT_START("DSWB")
306   PORT_DIPNAME( 0xe0, 0xe0, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SWB:3,2,1")
307   PORT_DIPSETTING(    0xe0, "30K 80K 130K 300K 500K 1M" )      // "A"
308   PORT_DIPSETTING(    0x80, "30K 80K every 100K" )         // "D"
309   PORT_DIPSETTING(    0x40, "30K 80K 150K" )               // "F"
310   PORT_DIPSETTING(    0xc0, "30K 100K 200K 400K 600K 1M" )   // "B"
311   PORT_DIPSETTING(    0xa0, "40K 100K 180K 300K 500K 1M" )   // "C"
312   PORT_DIPSETTING(    0x20, "40K 100K 200K" )               // "G"
313   PORT_DIPSETTING(    0x00, "40K" )                     // "H"
314   PORT_DIPSETTING(    0x60, "50K 150K every 200K" )         // "E"
315   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SWB:5,4")
316316   PORT_DIPSETTING(    0x10, "B (Easy)" )
317317   PORT_DIPSETTING(    0x18, "A (Average)" )
318318   PORT_DIPSETTING(    0x08, "C (Hard)" )
319319   PORT_DIPSETTING(    0x00, "D (Very Hard)" )
320   PORT_DIPNAME( 0x04, 0x04, "Round Select" )
320   PORT_DIPNAME( 0x04, 0x04, "Round Select" )         PORT_DIPLOCATION("SWB:6")
321321   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
322322   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
323   PORT_DIPNAME( 0x02, 0x02, "Freeze" )
323   PORT_DIPNAME( 0x02, 0x02, "Freeze" )            PORT_DIPLOCATION("SWB:7")
324324   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
325325   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
326   PORT_DIPNAME( 0x01, 0x01, "Trip Select" )
326   PORT_DIPNAME( 0x01, 0x01, "Trip Select" )         PORT_DIPLOCATION("SWB:8")
327327   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
328328   PORT_DIPSETTING(    0x01, DEF_STR( On ) )
329329
src/mame/drivers/pingpong.c
r14247r14248
150150   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 )
151151
152152   PORT_START("DSW1")
153   PORT_DIPNAME( 0x0F, 0x0F, DEF_STR( Coin_B ) )
153   PORT_DIPNAME( 0x0F, 0x0F, DEF_STR( Coin_B ) )      PORT_DIPLOCATION("SW1:8,7,6,5")
154154   PORT_DIPSETTING(    0x04, DEF_STR( 4C_1C ) )
155155   PORT_DIPSETTING(    0x0A, DEF_STR( 3C_1C ) )
156156   PORT_DIPSETTING(    0x01, DEF_STR( 2C_1C ) )
r14247r14248
167167   PORT_DIPSETTING(    0x05, DEF_STR( 1C_6C ) )
168168   PORT_DIPSETTING(    0x09, DEF_STR( 1C_7C ) )
169169   PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
170   PORT_DIPNAME( 0xF0, 0xF0, DEF_STR( Coin_A ) )
170   PORT_DIPNAME( 0xF0, 0xF0, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW1:4,3,2,1")
171171   PORT_DIPSETTING(    0x40, DEF_STR( 4C_1C ) )
172172   PORT_DIPSETTING(    0xA0, DEF_STR( 3C_1C ) )
173173   PORT_DIPSETTING(    0x10, DEF_STR( 2C_1C ) )
r14247r14248
186186   PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
187187
188188   PORT_START("DSW2")
189   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Demo_Sounds ) )
189   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
190190   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
191191   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
192   PORT_DIPNAME( 0x06, 0x06, DEF_STR( Difficulty ) )
192   PORT_DIPNAME( 0x06, 0x02, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:7,6")
193193   PORT_DIPSETTING(    0x06, DEF_STR( Easy ) )
194194   PORT_DIPSETTING(    0x02, DEF_STR( Normal ) )
195195   PORT_DIPSETTING(    0x04, DEF_STR( Difficult ) )
196196   PORT_DIPSETTING(    0x00, DEF_STR( Very_Difficult ) )
197   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED )
198   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED )
199   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
200   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
201   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
197   PORT_BIT( 0xf8, IP_ACTIVE_LOW, IPT_UNUSED )
202198INPUT_PORTS_END
203199
204200static INPUT_PORTS_START( merlinmm )
src/mame/drivers/ksys573.c
r14247r14248
461461   }
462462}
463463
464static const char *const diskregions[] = { "cdrom0", "cdrom1" };
464static const char *const diskregions[] = { ":cdrom0", ":cdrom1" };
465465
466466static WRITE32_HANDLER( mb89371_w )
467467{
src/mame/drivers/taitogn.c
r14247r14248
373373         // Check for card reset
374374         if (!(data & 0x40))
375375         {
376            devtag_reset(machine, "card");
376            devtag_reset(machine, ":card");
377377            state->m_locked = 0x1ff;
378            ide_set_gnet_readlock (machine.device("card"), 1);
378            ide_set_gnet_readlock (machine.device(":card"), 1);
379379         }
380380      break;
381381
r14247r14248
395395   taitogn_state *state = space->machine().driver_data<taitogn_state>();
396396
397397   if(offset < 2) {
398      ide_controller32_pcmcia_w(space->machine().device("card"), offset, data, mem_mask);
398      ide_controller32_pcmcia_w(space->machine().device(":card"), offset, data, mem_mask);
399399      return;
400400   }
401401
r14247r14248
412412   taitogn_state *state = space->machine().driver_data<taitogn_state>();
413413
414414   if(offset < 2)
415      return ide_controller32_pcmcia_r(space->machine().device("card"), offset, mem_mask);
415      return ide_controller32_pcmcia_r(space->machine().device(":card"), offset, mem_mask);
416416
417417   offset *= 4;
418418
r14247r14248
459459         pos++;
460460      } else
461461         v = data;
462      chd_get_metadata(get_disk_handle(space->machine(), "card"), HARD_DISK_KEY_METADATA_TAG, 0, key, 5, 0, 0, 0);
462      chd_get_metadata(get_disk_handle(space->machine(), ":card"), HARD_DISK_KEY_METADATA_TAG, 0, key, 5, 0, 0, 0);
463463      k = pos < 5 ? key[pos] : 0;
464464      if(v == k)
465465         state->m_locked &= ~(1 << pos);
466466      else
467467         state->m_locked |= 1 << pos;
468468      if (!state->m_locked) {
469         ide_set_gnet_readlock (space->machine().device("card"), 0);
469         ide_set_gnet_readlock (space->machine().device(":card"), 0);
470470      }
471471   }
472472}
r14247r14248
890890   state->m_dip_timer = machine.scheduler().timer_alloc( FUNC(dip_timer_fired), NULL );
891891
892892   memset(state->m_cis, 0xff, 512);
893   if (get_disk_handle(machine, "card") != NULL)
894      chd_get_metadata(get_disk_handle(machine, "card"), PCMCIA_CIS_METADATA_TAG, 0, state->m_cis, 512, 0, 0, 0);
893   if (get_disk_handle(machine, ":card") != NULL)
894      chd_get_metadata(get_disk_handle(machine, ":card"), PCMCIA_CIS_METADATA_TAG, 0, state->m_cis, 512, 0, 0, 0);
895895}
896896
897897static DRIVER_INIT( coh3002t_mp )
r14247r14248
908908   state->m_locked = 0x1ff;
909909   install_handlers(machine, 0);
910910   state->m_control = 0;
911   devtag_reset(machine, "card");
912   ide_set_gnet_readlock(machine.device("card"), 1);
911   devtag_reset(machine, ":card");
912   ide_set_gnet_readlock(machine.device(":card"), 1);
913913
914914   // halt sound CPU since it has no valid program at start
915915   cputag_set_input_line(machine, "mn10200",INPUT_LINE_RESET,ASSERT_LINE); /* MCU */
src/mame/drivers/scotrsht.c
r14247r14248
115115   KONAMI8_B1_UNK(2)
116116
117117   PORT_START("DSW1")      /* $3303 -> $196e */
118   KONAMI_COINAGE(DEF_STR( Free_Play ), "Invalid")
118   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "Invalid", SW1)
119119   /* "Invalid" = both coin slots disabled */
120120
121121   PORT_START("DSW2")      /* $3100 -> $196f */
122   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )
122   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
123123   PORT_DIPSETTING(    0x03, "2" )
124124   PORT_DIPSETTING(    0x02, "3" )
125125   PORT_DIPSETTING(    0x01, "4" )
126126   PORT_DIPSETTING(    0x00, "5" )
127   PORT_DIPNAME( 0x04, 0x04, "Dip MUST be OFF !" )         /* see notes */
127   PORT_DIPNAME( 0x04, 0x04, "Dip MUST be OFF !" )      PORT_DIPLOCATION("SW2:3")   /* see notes */
128128   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
129129   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
130   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Bonus_Life ) )       /* code at 0x40f4 */
130   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:4")   /* code at 0x40f4 */
131131   PORT_DIPSETTING(    0x08, "30k 110k 80k+" )
132132   PORT_DIPSETTING(    0x00, "40k 120k 90k+" )
133   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Difficulty ) )
133   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:5,6")
134134   PORT_DIPSETTING(    0x30, DEF_STR( Easy ) )
135135   PORT_DIPSETTING(    0x20, DEF_STR( Normal ) )
136136   PORT_DIPSETTING(    0x10, DEF_STR( Hard ) )
137137   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
138   PORT_DIPUNUSED( 0x40, IP_ACTIVE_LOW )
139   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
138   PORT_DIPUNUSED_DIPLOC( 0x40, IP_ACTIVE_LOW, "SW2:7" )
139   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
140140   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
141141   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
142142
143143   PORT_START("DSW3")      /* $3200 -> $1970 */
144   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )
144   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW3:1")
145145   PORT_DIPSETTING(   0x01, DEF_STR( Off ) )
146146   PORT_DIPSETTING(   0x00, DEF_STR( On ) )
147   PORT_DIPNAME( 0x02, 0x02, "Dip MUST be OFF !" )         /* see notes */
147   PORT_DIPNAME( 0x02, 0x02, "Dip MUST be OFF !" )      PORT_DIPLOCATION("SW3:2")   /* see notes */
148148   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
149149   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
150   PORT_DIPUNUSED( 0x04, IP_ACTIVE_LOW )
151   PORT_DIPUNUSED( 0x08, IP_ACTIVE_LOW )
150   PORT_DIPUNUSED_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW3:3" )
151   PORT_DIPUNUSED_DIPLOC( 0x08, IP_ACTIVE_LOW, "SW3:4" )
152152INPUT_PORTS_END
153153
154154
src/mame/drivers/parodius.c
r14247r14248
187187   KONAMI8_ALT_B123(2)
188188
189189   PORT_START("DSW1")
190   KONAMI_COINAGE(DEF_STR( Free_Play ), "No Coin B")
190   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "No Coin B", SW1)
191191   /* "No Coin B" = coins produce sound, but no effect on coin counter */
192192
193193   PORT_START("DSW2")
194   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )
194   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
195195   PORT_DIPSETTING(    0x03, "2" )
196196   PORT_DIPSETTING(    0x02, "3" )
197197   PORT_DIPSETTING(    0x01, "4" )
198198   PORT_DIPSETTING(    0x00, "7" )
199   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )
199   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW2:3")
200200   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
201201   PORT_DIPSETTING(    0x04, DEF_STR( Cocktail ) )
202   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) )
202   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:4,5")
203203   PORT_DIPSETTING(    0x18, "20000 80000" )
204204   PORT_DIPSETTING(    0x10, "30000 100000" )
205205   PORT_DIPSETTING(    0x08, "20000" )
206206   PORT_DIPSETTING(    0x00, "70000" )
207   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )
207   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:6,7")
208208   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
209209   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
210210   PORT_DIPSETTING(    0x20, DEF_STR( Difficult ) )
211211   PORT_DIPSETTING(    0x00, DEF_STR( Very_Difficult ) )
212   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
212   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
213213   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
214214   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
215215
r14247r14248
218218   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE )
219219   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 )
220220   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN2 )
221   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Flip_Screen ) )
221   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW3:1")
222222   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
223223   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
224   PORT_DIPNAME( 0x20, 0x20, "Upright Controls" )
224   PORT_DIPNAME( 0x20, 0x20, "Upright Controls" )      PORT_DIPLOCATION("SW3:2")
225225   PORT_DIPSETTING(    0x20, DEF_STR( Single ) )
226226   PORT_DIPSETTING(    0x00, DEF_STR( Dual ) )
227   PORT_SERVICE( 0x40, IP_ACTIVE_LOW )
228   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
229   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
230   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
227   PORT_SERVICE_DIPLOC( 0x40, IP_ACTIVE_LOW, "SW3:3" )
228   PORT_DIPUNUSED_DIPLOC( 0x80, IP_ACTIVE_LOW, "SW3:4" )
231229INPUT_PORTS_END
232230
233231
src/mame/drivers/rockrage.c
r14247r14248
133133
134134static INPUT_PORTS_START( rockrage )
135135   PORT_START("DSW1")
136   KONAMI_COINAGE(DEF_STR( Free_Play ), "Invalid" )
136   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "Invalid", SW1)
137137   /* Invalid = both coin slots disabled */
138138
139139   PORT_START("DSW2")
140   PORT_DIPNAME( 0x03, 0x01, DEF_STR( Lives ) )
140   PORT_DIPNAME( 0x03, 0x01, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
141141   PORT_DIPSETTING(    0x03, "1" )
142142   PORT_DIPSETTING(    0x02, "2" )
143143   PORT_DIPSETTING(    0x01, "3" )
144144   PORT_DIPSETTING(    0x00, "5" )
145   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
146   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
147   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
148   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Bonus_Life ) )
149   PORT_DIPSETTING(    0x08, "30k and every 70k" )
150   PORT_DIPSETTING(    0x00, "40k and every 80k" )
151   PORT_DIPNAME( 0x10, 0x10, "Freeze Screen" )
145   PORT_DIPUNUSED_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW2:3" )
146   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:4")
147   PORT_DIPSETTING(    0x08, "30k & Every 70k" )
148   PORT_DIPSETTING(    0x00, "40k & Every 80k" )
149   PORT_DIPNAME( 0x10, 0x10, "Freeze Screen" )         PORT_DIPLOCATION("SW2:5")
152150   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
153151   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
154   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Difficulty ) )
152   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:6,7")
155153   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
156154   PORT_DIPSETTING(    0x40, DEF_STR( Medium ) )
157155   PORT_DIPSETTING(    0x20, DEF_STR( Hard ) )
158156   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
159   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
157   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
160158   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
161159   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
162160
r14247r14248
166164   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_SERVICE1 )
167165   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_START1 )
168166   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_START2 )
169   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Flip_Screen ) )
167   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW3:1")
170168   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
171169   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
172   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) )
173   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
174   PORT_DIPSETTING(    0x40, DEF_STR( On ) )
175   PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
170   PORT_DIPUNUSED_DIPLOC( 0x40, IP_ACTIVE_LOW, "SW3:2" )
171   PORT_SERVICE_DIPLOC( 0x80, IP_ACTIVE_LOW, "SW3:3" )
176172
177173   PORT_START("P1")
178174   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1)
src/mame/drivers/timeplt.c
r14247r14248
199199   KONAMI8_COCKTAIL_B1_UNK
200200
201201   PORT_START("DSW0")
202   KONAMI_COINAGE(DEF_STR( Free_Play ), DEF_STR( Free_Play ))
202   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), DEF_STR( Free_Play ), SW1)
203203
204204   PORT_START("DSW1")
205   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )
205   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
206206   PORT_DIPSETTING(    0x03, "3" )
207207   PORT_DIPSETTING(    0x02, "4" )
208208   PORT_DIPSETTING(    0x01, "5" )
209209   PORT_DIPSETTING(    0x00, "255 (Cheat)")
210   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )
210   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW2:3")
211211   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
212212   PORT_DIPSETTING(    0x04, DEF_STR( Cocktail ) )
213   PORT_DIPNAME( 0x08, 0x08, "Bonus" )
213   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:4")
214214   PORT_DIPSETTING(    0x08, "10000 50000" )
215215   PORT_DIPSETTING(    0x00, "20000 60000" )
216   PORT_DIPNAME( 0x70, 0x70, DEF_STR( Difficulty ) )
216   PORT_DIPNAME( 0x70, 0x40, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:5,6,7")
217217   PORT_DIPSETTING(    0x70, "1 (Easiest)" )
218218   PORT_DIPSETTING(    0x60, "2" )
219219   PORT_DIPSETTING(    0x50, "3" )
220220   PORT_DIPSETTING(    0x40, "4" )
221   PORT_DIPSETTING(    0x30, "5 (Average)" )
221   PORT_DIPSETTING(    0x30, "5" )
222222   PORT_DIPSETTING(    0x20, "6" )
223223   PORT_DIPSETTING(    0x10, "7" )
224   PORT_DIPSETTING(    0x00, "8 (Hardest)" )
225   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
224   PORT_DIPSETTING(    0x00, "8 (Difficult)" )
225   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
226226   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
227227   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
228228INPUT_PORTS_END
src/mame/drivers/twin16.c
r14247r14248
311311   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
312312
313313   PORT_START("P1")   /* 0xa0003 */
314   KONAMI8_B123_UNK(1)            // button1 = start/powerup, button2 = attack, button3 = jump
314   KONAMI8_B123_UNK(1)   // button1 = start/powerup, button2 = attack, button3 = jump
315315
316316   PORT_START("P2")   /* 0xa0005 */
317317   KONAMI8_B123_UNK(2)
r14247r14248
326326   PORT_START("DSW2")
327327   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW2:1,2")
328328   PORT_DIPSETTING(    0x03, "2" )
329   PORT_DIPSETTING(    0x02, "3" ) // Japan factory default = "3"
329   PORT_DIPSETTING(    0x02, "3" )
330330   PORT_DIPSETTING(    0x01, "5" )
331331   PORT_DIPSETTING(    0x00, "7" )
332332   PORT_DIPUNUSED_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW2:3" )
r14247r14248
334334   PORT_DIPUNUSED_DIPLOC( 0x10, IP_ACTIVE_LOW, "SW2:5" )
335335   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:6,7")
336336   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
337   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) ) // Japan factory default = "Normal"
337   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
338338   PORT_DIPSETTING(    0x20, DEF_STR( Difficult ) )
339339   PORT_DIPSETTING(    0x00, DEF_STR( Very_Difficult ) )
340340   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:8")
r14247r14248
363363   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE2 )
364364
365365   PORT_START("P1")   /* 0xa0003 */
366   KONAMI8_B123(1)               // button1 = start/jump, button2 = attack, button3 = dynamite
366   KONAMI8_B123(1)      // button1 = start/jump, button2 = attack, button3 = dynamite
367367   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE3 )
368368
369369   PORT_START("P2")   /* 0xa0005 */
r14247r14248
435435   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
436436
437437   PORT_START("P1")   /* 0xa0003 */
438   KONAMI8_B123_UNK(1)            // button1 = powerup, button2 = shoot, button3 = missile
438   KONAMI8_B123_UNK(1)   // button1 = powerup, button2 = shoot, button3 = missile
439439
440440   PORT_START("P2")   /* 0xa0005 */
441441   KONAMI8_B123_UNK(2)
r14247r14248
450450   PORT_START("DSW2")
451451   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW2:1,2")
452452   PORT_DIPSETTING(    0x03, "2" )
453   PORT_DIPSETTING(    0x02, "3" ) // Japan factory default = "3"
453   PORT_DIPSETTING(    0x02, "3" )
454454   PORT_DIPSETTING(    0x01, "4" )
455455   PORT_DIPSETTING(    0x00, "7" )
456456   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW2:3")
457457   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
458458   PORT_DIPSETTING(    0x04, DEF_STR( Cocktail ) )
459459   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW2:4,5")
460   PORT_DIPSETTING(    0x18, "20K, Every 70K" ) // Japan factory default = "20K, Every 70K"
460   PORT_DIPSETTING(    0x18, "20K, Every 70K" )
461461   PORT_DIPSETTING(    0x10, "30K, Every 80K" )
462462   PORT_DIPSETTING(    0x08, "20K Only" )
463463   PORT_DIPSETTING(    0x00, "70K Only" )
464464   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:6,7")
465465   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
466   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) ) // Japan factory default = "Normal"
466   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
467467   PORT_DIPSETTING(    0x20, DEF_STR( Difficult ) )
468468   PORT_DIPSETTING(    0x00, DEF_STR( Very_Difficult ) )
469469   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:8")
r14247r14248
488488
489489   PORT_MODIFY("DSW2")
490490   PORT_DIPNAME( 0x18, 0x18, DEF_STR (Bonus_Life ) ) PORT_DIPLOCATION("SW2:4,5")
491   PORT_DIPSETTING(    0x18, "20K, Every 150K" ) // Japan factory default = "20K, Every 150K"
491   PORT_DIPSETTING(    0x18, "20K, Every 150K" )
492492   PORT_DIPSETTING(    0x10, "30K, Every 200K" )
493493   PORT_DIPSETTING(    0x08, "20K Only" )
494494   PORT_DIPSETTING(    0x00, "70K Only" )
r14247r14248
506506   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
507507
508508   PORT_START("P1")   /* 0xa0003 */
509   KONAMI8_B123_UNK(1)            // button1 = face punch, button2 = body punch, button3 = defend
509   KONAMI8_B123_UNK(1)   // button1 = face punch, button2 = body punch, button3 = defend
510510
511511   PORT_START("P2")   /* 0xa0005 */
512512   KONAMI8_B123_UNK(2)
r14247r14248
529529   PORT_DIPUNUSED_DIPLOC( 0x10, IP_ACTIVE_LOW, "SW2:5" ) // ditto
530530   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:6,7")
531531   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
532   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) ) // US and Japan factory default = "Normal"
532   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
533533   PORT_DIPSETTING(    0x20, DEF_STR( Difficult ) )
534534   PORT_DIPSETTING(    0x00, DEF_STR( Very_Difficult ) )
535535   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:8")
r14247r14248
558558   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
559559
560560   PORT_START("P1")   /* 0xa0003 */
561   KONAMI8_B123_UNK(1)            // button1 = knife, button2 = weapon, button3 = choice
561   KONAMI8_B123_UNK(1)   // button1 = knife, button2 = weapon, button3 = choice
562562
563563   PORT_START("P2")   /* 0xa0005 */
564564   KONAMI8_B123_UNK(2)
r14247r14248
571571   /* "Invalid" = both coin slots disabled */
572572
573573   PORT_START("DSW2")
574   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW2:1,2")
574   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
575575   PORT_DIPSETTING(    0x03, "2" )
576   PORT_DIPSETTING(    0x02, "3" ) // US and Japan factory default = "3"
576   PORT_DIPSETTING(    0x02, "3" )
577577   PORT_DIPSETTING(    0x01, "5" )
578578   PORT_DIPSETTING(    0x00, "7" )
579579   PORT_DIPUNUSED_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW2:3" )
580   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW2:4,5")
581   PORT_DIPSETTING(    0x18, "30K, Every 80K" ) // Japan factory default = "30K, Every 80K"
580   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:4,5")
581   PORT_DIPSETTING(    0x18, "30K, Every 80K" )      // JP default
582582   PORT_DIPSETTING(    0x10, "50K, Every 100K" )
583   PORT_DIPSETTING(    0x08, "50K Only" ) // US factory default = "50K Only" (struck off "50K, Every 100K")
583   PORT_DIPSETTING(    0x08, "50K Only" )            // US default
584584   PORT_DIPSETTING(    0x00, "100K Only" )
585   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:6,7")
585   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:6,7")
586586   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
587   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) ) // Japan factory default = "Normal"
588   PORT_DIPSETTING(    0x20, DEF_STR( Difficult ) ) // US factory default = "Difficult" (struck off "Normal")
587   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )      // JP default
588   PORT_DIPSETTING(    0x20, DEF_STR( Difficult ) )   // US default
589589   PORT_DIPSETTING(    0x00, DEF_STR( Very_Difficult ) )
590590   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:8")
591591   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
r14247r14248
613613   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
614614
615615   PORT_START("P1")   /* 0xa0003 */
616   KONAMI8_B123_UNK(1)            // button1 = move, button2 = warp, button3 = stop
616   KONAMI8_B123_UNK(1)   // button1 = move, button2 = warp, button3 = stop
617617
618618   PORT_START("P2")   /* 0xa0005 */
619619   KONAMI8_B123_UNK(2)
r14247r14248
634634   PORT_DIPNAME( 0x18, 0x08, "Machine Name" ) PORT_DIPLOCATION("SW2:4,5")
635635   PORT_DIPSETTING(    0x18, DEF_STR( None ) )
636636   PORT_DIPSETTING(    0x10, "Lewis" )
637   PORT_DIPSETTING(    0x08, "Johnson" ) // Japan factory default = "Johnson"
637   PORT_DIPSETTING(    0x08, "Johnson" )
638638   PORT_DIPSETTING(    0x00, "George" )
639639   PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:6,7")
640640   PORT_DIPSETTING(    0x60, DEF_STR( Easy ) )
641   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) ) // Japan factory default = "Normal"
641   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
642642   PORT_DIPSETTING(    0x20, DEF_STR( Difficult ) )
643643   PORT_DIPSETTING(    0x00, DEF_STR( Very_Difficult ) )
644644   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:8")
r14247r14248
654654   PORT_DIPSETTING(    0x00, DEF_STR( Dual ) )
655655   PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW3:3" )
656656   PORT_DIPNAME( 0x08, 0x08, "Stop Time" ) PORT_DIPLOCATION("SW3:4")
657   PORT_DIPSETTING(    0x08, "200" ) // Japan factory default = "200"
657   PORT_DIPSETTING(    0x08, "200" )
658658   PORT_DIPSETTING(    0x00, "150" )
659659   PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED )
660660INPUT_PORTS_END
src/mame/drivers/pacman.c
r14247r14248
13361336   PORT_DIPSETTING(   0x00, DEF_STR( Cocktail ) )
13371337
13381338   PORT_START("DSW1")
1339   PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) )
1339   PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) )      PORT_DIPLOCATION("SW:1,2")
13401340   PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
13411341   PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
13421342   PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
13431343   PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
1344   PORT_DIPNAME( 0x0c, 0x08, DEF_STR( Lives ) )
1344   PORT_DIPNAME( 0x0c, 0x08, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW:3,4")
13451345   PORT_DIPSETTING(    0x00, "1" )
13461346   PORT_DIPSETTING(    0x04, "2" )
13471347   PORT_DIPSETTING(    0x08, "3" )
13481348   PORT_DIPSETTING(    0x0c, "5" )
1349   PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) )
1349   PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW:5,6")
13501350   PORT_DIPSETTING(    0x00, "10000" )
13511351   PORT_DIPSETTING(    0x10, "15000" )
13521352   PORT_DIPSETTING(    0x20, "20000" )
13531353   PORT_DIPSETTING(    0x30, DEF_STR( None ) )
1354   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Difficulty ) )
1354   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW:7")
13551355   PORT_DIPSETTING(    0x40, DEF_STR( Normal ) )
13561356   PORT_DIPSETTING(    0x00, DEF_STR( Hard ) )
13571357   PORT_DIPNAME( 0x80, 0x80, "Ghost Names" )
13581358   PORT_DIPSETTING(    0x80, DEF_STR( Normal ) )
1359   PORT_DIPSETTING(    0x00, DEF_STR( Alternate ) )
1359   PORT_DIPSETTING(    0x00, DEF_STR( Alternate ) )   PORT_DIPLOCATION("SW:8")
13601360
13611361   PORT_START("DSW2")
13621362   PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
src/mame/drivers/pooyan.c
r14247r14248
101101   PORT_BIT( 0xe0, IP_ACTIVE_LOW, IPT_UNUSED )
102102
103103   PORT_START("DSW0")
104   KONAMI_COINAGE(DEF_STR( Free_Play ), "Invalid" )
104   KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "Invalid", SW1)
105105   /* Invalid = both coin slots disabled */
106106
107107   PORT_START("DSW1")
108   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )
108   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW2:1,2")
109109   PORT_DIPSETTING(    0x03, "3" )
110110   PORT_DIPSETTING(    0x02, "4" )
111111   PORT_DIPSETTING(    0x01, "5" )
112   PORT_DIPSETTING(    0x00, "256" )
113   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )
112   PORT_DIPSETTING(    0x00, "255 (Cheat)" )
113   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW2:3")
114114   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
115115   PORT_DIPSETTING(    0x04, DEF_STR( Cocktail ) )
116   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Bonus_Life ) )
116   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:4")
117117   PORT_DIPSETTING(    0x08, "50K 80K+" )
118118   PORT_DIPSETTING(    0x00, "30K 70K+" )
119   PORT_DIPNAME( 0x70, 0x70, DEF_STR( Difficulty ) )
119   PORT_DIPNAME( 0x70, 0x70, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:5,6,7")
120120   PORT_DIPSETTING(    0x70, "1 (Easy)" )
121121   PORT_DIPSETTING(    0x60, "2" )
122122   PORT_DIPSETTING(    0x50, "3" )
r14247r14248
125125   PORT_DIPSETTING(    0x20, "6" )
126126   PORT_DIPSETTING(    0x10, "7" )
127127   PORT_DIPSETTING(    0x00, "8 (Hard)" )
128   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
128   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW2:8")
129129   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
130130   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
131131INPUT_PORTS_END
src/emu/sound/okim6295.c
r14247r14248
165165
166166void okim6295_device::device_post_load()
167167{
168   set_bank_base(m_bank_offs);
168   set_bank_base(m_bank_offs, true);
169169   device_clock_changed();
170170}
171171
r14247r14248
214214//  assumes multiple 256k banks
215215//-------------------------------------------------
216216
217void okim6295_device::set_bank_base(offs_t base)
217void okim6295_device::set_bank_base(offs_t base, bool bDontUpdateStream)
218218{
219   // flush out anything pending
220   m_stream->update();
219   // flush out anything pending (but not on e.g. a state load)
220    if (!bDontUpdateStream)
221    {
222        m_stream->update();
223    }
221224
222225   // if we are setting a non-zero base, and we have no bank, allocate one
223226   if (!m_bank_installed && base != 0)
src/emu/sound/okim6295.h
r14247r14248
8686   static void static_set_pin7(device_t &device, int pin7);
8787
8888   // runtime configuration
89   void set_bank_base(offs_t base);
89   void set_bank_base(offs_t base, bool bDontUpdateStream = false);
9090   void set_pin7(int pin7);
9191
9292   UINT8 read_status();

Previous 15994 Revisions Next


© 1998-2018 The MESS Team