Previous 199869 Revisions Next

r32635 Saturday 11th October, 2014 at 00:08:25 UTC by David Haywood
improve gostop inputs (nw)
[src/mame/drivers]simple_st0016.c

trunk/src/mame/drivers/simple_st0016.c
r32634r32635
371371   PORT_DIPSETTING(    0x40, "A" )
372372INPUT_PORTS_END
373373
374static GFXDECODE_START( st0016 )
375//  GFXDECODE_ENTRY( NULL, 0, charlayout,      0, 16*4  )
376GFXDECODE_END
377374
375static INPUT_PORTS_START( gostop )
376   PORT_START("P1")
377   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) PORT_NAME("OUT")
378   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START1 )
379   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(1)
380   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(1)
381   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) PORT_NAME("WAIT")
382   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
383   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
384   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
385
386
387   PORT_START("P2")
388   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
389   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
390   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
391   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1) PORT_NAME("Gift 1")
392   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(1) PORT_NAME("Gift 2")
393   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_PLAYER(1) PORT_NAME("Gift 3")
394   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
395   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
396
397   PORT_START("SYSTEM") // IP3 - bits 5-8
398   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
399   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
400   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
401   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_PLAYER(1) PORT_NAME("Reset")
402   PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED ) // don't show up in test menu
403
404
405   PORT_START("UNK")
406   PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED ) // nothing?
407
408   PORT_START("DSW1")
409   PORT_DIPUNKNOWN_DIPLOC( 0x01, IP_ACTIVE_LOW, "SW1:1" ) // shows up as IP3 bit 3
410   PORT_DIPUNKNOWN_DIPLOC( 0x02, IP_ACTIVE_LOW, "SW1:2" )
411   PORT_DIPUNKNOWN_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW1:3" )
412   PORT_DIPUNKNOWN_DIPLOC( 0x08, IP_ACTIVE_LOW, "SW1:4" )
413   PORT_DIPUNKNOWN_DIPLOC( 0x10, IP_ACTIVE_LOW, "SW1:5" ) // shows up as IP3 bit 2
414   PORT_DIPNAME( 0x20, 0x20, "Init Ram" ) PORT_DIPLOCATION("SW1:6")
415   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
416   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
417   PORT_DIPUNKNOWN_DIPLOC( 0x40, IP_ACTIVE_LOW, "SW1:7" )
418   PORT_SERVICE_DIPLOC(  0x80, IP_ACTIVE_LOW, "SW2:8" )
419
420   PORT_START("DSW2") // no dsw2 listed in test mode
421   PORT_DIPUNKNOWN_DIPLOC( 0x01, IP_ACTIVE_LOW, "SW2:1" ) // shows up as IP3 bit 1
422   PORT_DIPUNKNOWN_DIPLOC( 0x02, IP_ACTIVE_LOW, "SW2:2" )
423   PORT_DIPUNKNOWN_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW2:3" )
424   PORT_DIPUNKNOWN_DIPLOC( 0x08, IP_ACTIVE_LOW, "SW2:4" )
425   PORT_DIPUNKNOWN_DIPLOC( 0x10, IP_ACTIVE_LOW, "SW2:5" ) // shows up as IP3 bit 0
426   PORT_DIPUNKNOWN_DIPLOC( 0x20, IP_ACTIVE_LOW, "SW2:6" )
427   PORT_DIPUNKNOWN_DIPLOC( 0x40, IP_ACTIVE_LOW, "SW2:7" )
428   PORT_DIPUNKNOWN_DIPLOC( 0x80, IP_ACTIVE_LOW, "SW2:8" )
429INPUT_PORTS_END
430
431
378432TIMER_DEVICE_CALLBACK_MEMBER(st0016_state::st0016_int)
379433{
380434   int scanline = param;
r32634r32635
670724GAME( 1994, mayjinsn,   0,      mayjinsn, st0016, st0016_state,   mayjinsn, ROT0, "Seta",      "Mayjinsen",GAME_IMPERFECT_GRAPHICS|GAME_NOT_WORKING)
671725GAME( 1994, dcrown,     0,      st0016,   renju, st0016_state,    renju,    ROT0, "Nippon Data Kiki", "Dream Crown (Set 1)", GAME_NOT_WORKING) // (c) 1994 Nippon Data Kiki is uploaded near the Japanese Insert coin text
672726GAME( 1994, dcrowna,    dcrown, st0016,   renju, st0016_state,    renju,    ROT0, "Nippon Data Kiki", "Dream Crown (Set 2)", GAME_NOT_WORKING) // the Insert Coin text has been translated to English and no (c) is uploaded
673GAME( 2001, gostop,     0,      st0016,   renju, st0016_state,    renju,    ROT0, "Visco", "Kankoku Hanafuda Go-Stop", GAME_NOT_WORKING)
727GAME( 2001, gostop,     0,      st0016,   gostop, st0016_state,    renju,    ROT0, "Visco", "Kankoku Hanafuda Go-Stop", GAME_NOT_WORKING)

Previous 199869 Revisions Next


© 1997-2024 The MAME Team