trunk/src/mame/drivers/ecoinf3.c
| r19668 | r19669 | |
| 395 | 395 | } |
| 396 | 396 | } |
| 397 | 397 | |
| 398 | | |
| 398 | // is the 2 digit bank display part of this, or multiplexed elsewhere |
| 399 | 399 | WRITE8_MEMBER(ecoinf3_state::ppi8255_intf_e_write_a_alpha_display) |
| 400 | 400 | { |
| 401 | |
| 402 | if ((data>=0x20) && (data<0x5b)) logerror("%04x - ppi8255_intf_e_write_a %02x (alpha) '%c'\n", machine().device("maincpu")->safe_pcbase(), data, data); |
| 403 | else logerror("%04x - ppi8255_intf_e_write_a %02x (alpha)\n", machine().device("maincpu")->safe_pcbase(), data); |
| 404 | |
| 401 | 405 | static UINT8 send_buffer = 0; |
| 402 | 406 | static int count = 0; |
| 403 | 407 | // writes the 'PYRAMID' string from RAM (copied from ROM) here... |
| r19668 | r19669 | |
| 615 | 619 | PORT_DIPSETTING( 0x80, DEF_STR( On ) ) |
| 616 | 620 | |
| 617 | 621 | PORT_START("BUTTONS") |
| 618 | | PORT_DIPNAME( 0x01, 0x01, "BT:01" ) |
| 619 | | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 620 | | PORT_DIPSETTING( 0x01, DEF_STR( On ) ) |
| 622 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Nudge / Hold 3") PORT_CODE(KEYCODE_D) |
| 621 | 623 | PORT_DIPNAME( 0x02, 0x02, "BT:02" ) |
| 622 | 624 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 623 | 625 | PORT_DIPSETTING( 0x02, DEF_STR( On ) ) |
| 624 | 626 | PORT_DIPNAME( 0x04, 0x04, "BT:04" ) |
| 625 | 627 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 626 | 628 | PORT_DIPSETTING( 0x04, DEF_STR( On ) ) |
| 627 | | PORT_DIPNAME( 0x08, 0x08, "BT:08" ) |
| 628 | | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 629 | | PORT_DIPSETTING( 0x08, DEF_STR( On ) ) |
| 630 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON4 ) |
| 629 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Cancel Holds") PORT_CODE(KEYCODE_F) |
| 630 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Nudge / Hold 1") PORT_CODE(KEYCODE_A) |
| 631 | 631 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON3 ) |
| 632 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 ) |
| 633 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 ) // ?? advances through test items |
| 632 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Nudge / Hold 2") PORT_CODE(KEYCODE_S) |
| 633 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) // ?? advances through test items, spins the reels |
| 634 | 634 | |
| 635 | 635 | PORT_START("IN4") |
| 636 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON5 ) // causes various spins etc. (but also causes the whole thing to freak out?) |
| 636 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON7 ) // causes various spins etc. (but also causes the whole thing to freak out?) |
| 637 | 637 | PORT_DIPNAME( 0x02, 0x02, "IN4:02" ) |
| 638 | 638 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 639 | 639 | PORT_DIPSETTING( 0x02, DEF_STR( On ) ) |