From 76390151a3cbdc329e2c38617ff9a67e01d8f13a Mon Sep 17 00:00:00 2001 From: Roberto Fresca Date: Tue, 12 Sep 2023 00:29:54 +0200 Subject: DoraNeco BanBan improvements... - Added port 8000h for two different game types. - Added inputs for game select. --- src/mame/misc/katosmedz80.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/mame/misc/katosmedz80.cpp b/src/mame/misc/katosmedz80.cpp index 6570b92f498..bafbd570376 100644 --- a/src/mame/misc/katosmedz80.cpp +++ b/src/mame/misc/katosmedz80.cpp @@ -83,6 +83,7 @@ void katosmedz80_state::program_map(address_map &map) { map(0x0000, 0x3fff).rom(); map(0x4000, 0x47ff).ram(); + map(0x8000, 0x8000).portr("IN2"); } void katosmedz80_state::io_map(address_map &map) @@ -195,6 +196,11 @@ static INPUT_PORTS_START( dnbanban ) PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_GAMBLE_DOOR ) PORT_NAME("Door Switch") // DOOR (related error E7) PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_I) PORT_NAME("IN1-8") // to figure out... + PORT_START("IN2") + PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 ) // Doraneko (ドラネコ) Start + PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 ) // Koneko (コネコ) Start + PORT_BIT( 0xfc, IP_ACTIVE_LOW, IPT_UNUSED ) // not accessed in game code + INPUT_PORTS_END -- cgit v1.2.3