trunk/src/mame/drivers/lethal.c
| r26445 | r26446 | |
| 478 | 478 | PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_READ_LINE_DEVICE_MEMBER("eeprom", eeprom_serial_er5911_device, ready_read) |
| 479 | 479 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 480 | 480 | 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") |
| 482 | 482 | PORT_DIPSETTING( 0x10, DEF_STR(English) ) |
| 483 | 483 | PORT_DIPSETTING( 0x00, DEF_STR(Spanish) ) |
| 484 | | PORT_DIPNAME( 0x20, 0x00, "Game Type" ) |
| 484 | PORT_DIPNAME( 0x20, 0x00, "Game Type" ) PORT_DIPLOCATION("DSW:3") |
| 485 | 485 | PORT_DIPSETTING( 0x20, "Street" ) |
| 486 | 486 | PORT_DIPSETTING( 0x00, "Arcade" ) |
| 487 | | PORT_DIPNAME( 0x40, 0x40, "Coin Mechanism" ) |
| 487 | PORT_DIPNAME( 0x40, 0x40, "Coin Mechanism" ) PORT_DIPLOCATION("DSW:2") |
| 488 | 488 | PORT_DIPSETTING( 0x40, "Common" ) |
| 489 | 489 | 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 ) ) |
| 493 | 493 | |
| 494 | 494 | PORT_START( "EEPROMOUT" ) |
| 495 | 495 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_OUTPUT ) PORT_WRITE_LINE_DEVICE_MEMBER("eeprom", eeprom_serial_er5911_device, di_write) |
| r26445 | r26446 | |
| 509 | 509 | PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_Y ) PORT_CROSSHAIR(Y, -1.0, 0.0, 0) PORT_SENSITIVITY(25) PORT_KEYDELTA(15) PORT_PLAYER(2) |
| 510 | 510 | INPUT_PORTS_END |
| 511 | 511 | |
| 512 | | static INPUT_PORTS_START( lethalej ) |
| 512 | static INPUT_PORTS_START( lethalenj ) |
| 513 | 513 | PORT_INCLUDE( lethalen ) |
| 514 | 514 | |
| 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") |
| 516 | 522 | 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 |
| 517 | 523 | |
| 518 | 524 | PORT_MODIFY("LIGHT0_Y") |
| r26445 | r26446 | |
| 525 | 531 | 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 |
| 526 | 532 | INPUT_PORTS_END |
| 527 | 533 | |
| 534 | static INPUT_PORTS_START( lethalene ) /* European region does not have non-english Language option */ |
| 535 | PORT_INCLUDE( lethalen ) |
| 528 | 536 | |
| 537 | PORT_MODIFY("DSW") |
| 538 | PORT_DIPUNUSED_DIPLOC( 0x10, 0x10, "DSW:4") |
| 539 | INPUT_PORTS_END |
| 540 | |
| 529 | 541 | static const gfx_layout lethal_6bpp = |
| 530 | 542 | { |
| 531 | 543 | 16,16, |
| r26445 | r26446 | |
| 890 | 902 | GAME( 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 |
| 891 | 903 | GAME( 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) |
| 892 | 904 | GAME( 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 |
| 893 | | GAME( 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?! |
| 894 | | GAME( 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 |
| 905 | GAME( 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?! |
| 906 | GAME( 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 |
| 895 | 907 | // different mirror / display setup |
| 896 | | GAME( 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?! |
| 908 | GAME( 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?! |