Previous 199869 Revisions Next

r26446 Friday 29th November, 2013 at 21:10:20 UTC by Tafoid
Fixes for (MT #05384: lethaleneab, lethaleneae: Language DIP Switch not changing the language) and added DIP LOCATIONS for the driver (nw)
[src/mame/drivers]lethal.c

trunk/src/mame/drivers/lethal.c
r26445r26446
478478   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_READ_LINE_DEVICE_MEMBER("eeprom", eeprom_serial_er5911_device, ready_read)
479479   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
480480   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
481   PORT_DIPNAME( 0x10, 0x10, DEF_STR(Language) )
481   PORT_DIPNAME( 0x10, 0x10, DEF_STR(Language) )      PORT_DIPLOCATION("DSW:4")
482482   PORT_DIPSETTING(    0x10, DEF_STR(English) )
483483   PORT_DIPSETTING(    0x00, DEF_STR(Spanish) )
484   PORT_DIPNAME( 0x20, 0x00, "Game Type" )
484   PORT_DIPNAME( 0x20, 0x00, "Game Type" )         PORT_DIPLOCATION("DSW:3")
485485   PORT_DIPSETTING(    0x20, "Street" )
486486   PORT_DIPSETTING(    0x00, "Arcade" )
487   PORT_DIPNAME( 0x40, 0x40, "Coin Mechanism" )
487   PORT_DIPNAME( 0x40, 0x40, "Coin Mechanism" )      PORT_DIPLOCATION("DSW:2")
488488   PORT_DIPSETTING(    0x40, "Common" )
489489   PORT_DIPSETTING(    0x00, "Independent" )
490   PORT_DIPNAME( 0x0080, 0x0080, "Sound Output" )
491   PORT_DIPSETTING(      0x0000, DEF_STR( Mono ) )
492   PORT_DIPSETTING(      0x0080, DEF_STR( Stereo ) )
490   PORT_DIPNAME( 0x80, 0x80, "Sound Output" )      PORT_DIPLOCATION("DSW:1")
491   PORT_DIPSETTING(    0x00, DEF_STR( Mono ) )
492   PORT_DIPSETTING(    0x80, DEF_STR( Stereo ) )
493493
494494   PORT_START( "EEPROMOUT" )
495495   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_OUTPUT ) PORT_WRITE_LINE_DEVICE_MEMBER("eeprom", eeprom_serial_er5911_device, di_write)
r26445r26446
509509   PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_Y ) PORT_CROSSHAIR(Y, -1.0, 0.0, 0) PORT_SENSITIVITY(25) PORT_KEYDELTA(15) PORT_PLAYER(2)
510510INPUT_PORTS_END
511511
512static INPUT_PORTS_START( lethalej )
512static INPUT_PORTS_START( lethalenj )
513513   PORT_INCLUDE( lethalen )
514514
515   PORT_MODIFY("LIGHT0_X")
515        PORT_MODIFY("DSW")  /* Normal DIPs appear to do nothing for Japan region - wrong location?  Set to unknown */
516        PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x10, "DSW:4")
517        PORT_DIPUNKNOWN_DIPLOC( 0x20, 0x20, "DSW:3")
518        PORT_DIPUNKNOWN_DIPLOC( 0x40, 0x40, "DSW:2")
519        PORT_DIPUNKNOWN_DIPLOC( 0x80, 0x80, "DSW:1")
520
521        PORT_MODIFY("LIGHT0_X")
516522   PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_X ) PORT_CROSSHAIR(X, 1.0, 0.0, 0) PORT_SENSITIVITY(25) PORT_KEYDELTA(15) PORT_PLAYER(1) PORT_REVERSE
517523
518524   PORT_MODIFY("LIGHT0_Y")
r26445r26446
525531   PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_Y ) PORT_CROSSHAIR(Y, -1.0, 0.0, 0) PORT_SENSITIVITY(25) PORT_KEYDELTA(15) PORT_PLAYER(2) PORT_REVERSE
526532INPUT_PORTS_END
527533
534static INPUT_PORTS_START( lethalene ) /* European region does not have non-english Language option */
535   PORT_INCLUDE( lethalen )
528536
537   PORT_MODIFY("DSW")
538        PORT_DIPUNUSED_DIPLOC( 0x10, 0x10, "DSW:4")
539INPUT_PORTS_END
540
529541static const gfx_layout lethal_6bpp =
530542{
531543   16,16,
r26445r26446
890902GAME( 1992, lethalen,   0,        lethalen, lethalen, lethal_state, lethalen, ORIENTATION_FLIP_Y, "Konami", "Lethal Enforcers (ver UAE, 11/19/92 15:04)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE ) // writes UE to eeprom
891903GAME( 1992, lethalenua, lethalen, lethalen, lethalen, lethal_state, lethalen, ORIENTATION_FLIP_Y, "Konami", "Lethal Enforcers (ver unknown, US, 08/17/92 21:38)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE ) // UAA? (writes UA to eeprom)
892904GAME( 1992, lethalenux, lethalen, lethalen, lethalen, lethal_state, lethalen, ORIENTATION_FLIP_Y, "Konami", "Lethal Enforcers (ver unknown, US, 08/06/92 15:11, hacked/proto?)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE ) // writes UA to eeprom but earlier than suspected UAA set, might be a proto, might be hacked, fails rom test, definitely a good dump, another identical set was found in Italy
893GAME( 1992, lethaleneab,lethalen, lethalen, lethalen, lethal_state, lethalen, ORIENTATION_FLIP_Y, "Konami", "Lethal Enforcers (ver EAB, 10/14/92 19:53)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE ) // writes EC to eeprom?!
894GAME( 1992, lethaleneae,lethalen, lethalen, lethalen, lethal_state, lethalen, ORIENTATION_FLIP_Y, "Konami", "Lethal Enforcers (ver EAE, 11/19/92 16:24)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE ) // writes EE to eeprom
905GAME( 1992, lethaleneab,lethalen, lethalen, lethalene,lethal_state, lethalen, ORIENTATION_FLIP_Y, "Konami", "Lethal Enforcers (ver EAB, 10/14/92 19:53)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE ) // writes EC to eeprom?!
906GAME( 1992, lethaleneae,lethalen, lethalen, lethalene,lethal_state, lethalen, ORIENTATION_FLIP_Y, "Konami", "Lethal Enforcers (ver EAE, 11/19/92 16:24)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE ) // writes EE to eeprom
895907// different mirror / display setup
896GAME( 1992, lethalenj,  lethalen, lethalej, lethalej, lethal_state, lethalen, ORIENTATION_FLIP_X, "Konami", "Lethal Enforcers (ver JAD, 12/04/92 17:16)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE ) // writes JC to eeprom?!
908GAME( 1992, lethalenj,  lethalen, lethalej, lethalenj,lethal_state, lethalen, ORIENTATION_FLIP_X, "Konami", "Lethal Enforcers (ver JAD, 12/04/92 17:16)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE ) // writes JC to eeprom?!

Previous 199869 Revisions Next


© 1997-2024 The MAME Team