mirror of
https://github.com/holub/mame
synced 2025-05-25 15:25:33 +03:00
Added dipswitches and speedup to Iron Fortress
This commit is contained in:
parent
47419b1dfe
commit
af6522fe8a
@ -188,6 +188,60 @@ static INPUT_PORTS_START( common )
|
||||
PORT_BIT( 0xffffffff, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
static INPUT_PORTS_START( ironfort )
|
||||
PORT_START("IN0")
|
||||
PORT_BIT( 0x00000001, IP_ACTIVE_LOW, IPT_START1 )
|
||||
PORT_BIT( 0x00000002, IP_ACTIVE_LOW, IPT_START2 )
|
||||
PORT_BIT( 0x00000004, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x00000008, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(eeprom_bit_r, NULL) // eeprom bit
|
||||
PORT_BIT( 0x00000010, IP_ACTIVE_LOW, IPT_COIN1 )
|
||||
PORT_BIT( 0x00000020, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x00000040, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_CUSTOM(eolith_speedup_getvblank, NULL)
|
||||
PORT_BIT( 0x00003f80, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x00004000, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_SERVICE_NO_TOGGLE( 0x00008000, IP_ACTIVE_LOW )
|
||||
PORT_BIT( 0x00010000, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1)
|
||||
PORT_BIT( 0x00020000, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1)
|
||||
PORT_BIT( 0x00040000, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1)
|
||||
PORT_BIT( 0x00080000, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1)
|
||||
PORT_BIT( 0x00100000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1)
|
||||
PORT_BIT( 0x00200000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1)
|
||||
PORT_BIT( 0x00400000, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x00800000, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x01000000, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2)
|
||||
PORT_BIT( 0x02000000, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2)
|
||||
PORT_BIT( 0x04000000, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2)
|
||||
PORT_BIT( 0x08000000, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2)
|
||||
PORT_BIT( 0x10000000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2)
|
||||
PORT_BIT( 0x20000000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2)
|
||||
PORT_BIT( 0x40000000, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x80000000, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
|
||||
PORT_START("DSW1")
|
||||
PORT_DIPNAME( 0x00000030, 0x00000030, DEF_STR( Coinage ) )
|
||||
PORT_DIPSETTING( 0x00000010, DEF_STR( 3C_1C ) )
|
||||
PORT_DIPSETTING( 0x00000020, DEF_STR( 2C_1C ) )
|
||||
PORT_DIPSETTING( 0x00000030, DEF_STR( 1C_1C ) )
|
||||
PORT_DIPSETTING( 0x00000000, DEF_STR( Free_Play ) )
|
||||
PORT_DIPNAME( 0x000000c0, 0x000000c0, DEF_STR( Difficulty ) )
|
||||
PORT_DIPSETTING( 0x00000000, DEF_STR( Very_Hard ) )
|
||||
PORT_DIPSETTING( 0x00000040, DEF_STR( Hard ) )
|
||||
PORT_DIPSETTING( 0x000000c0, DEF_STR( Normal ) )
|
||||
PORT_DIPSETTING( 0x00000080, DEF_STR( Easy ) )
|
||||
PORT_DIPNAME( 0x00000001, 0x00000001, "Show Dip-switch Information" )
|
||||
PORT_DIPSETTING( 0x00000001, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00000000, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x00000002, 0x00000000, DEF_STR( Demo_Sounds ) )
|
||||
PORT_DIPSETTING( 0x00000002, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00000000, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x0000000c, 0x0000000c, DEF_STR( Lives ) )
|
||||
PORT_DIPSETTING( 0x00000008, "1" )
|
||||
PORT_DIPSETTING( 0x00000004, "2" )
|
||||
PORT_DIPSETTING( 0x0000000c, "3" )
|
||||
PORT_DIPSETTING( 0x00000000, "4" )
|
||||
PORT_BIT( 0xffffff00, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
static INPUT_PORTS_START( hidnctch )
|
||||
PORT_INCLUDE(common)
|
||||
PORT_MODIFY("IN0")
|
||||
@ -993,7 +1047,7 @@ static DRIVER_INIT( hidctch3 )
|
||||
init_eolith_speedup(machine);
|
||||
}
|
||||
|
||||
GAME( 1998, ironfort, 0, ironfort, common, eolith, ROT0, "Eolith", "Iron Fortress", GAME_NO_SOUND ) /* actual DIPs need to be added */
|
||||
GAME( 1998, ironfort, 0, ironfort, ironfort, eolith, ROT0, "Eolith", "Iron Fortress", GAME_NO_SOUND )
|
||||
GAME( 1998, hidnctch, 0, eolith45, hidnctch, eolith, ROT0, "Eolith", "Hidden Catch (World) / Tul Lin Gu Lim Chat Ki '98 (Korea) (pcb ver 3.03)", GAME_NO_SOUND ) // or Teurrin Geurim Chajgi '98
|
||||
GAME( 1998, raccoon, 0, eolith45, raccoon, eolith, ROT0, "Eolith", "Raccoon World", GAME_NO_SOUND )
|
||||
GAME( 1998, puzzlekg, 0, eolith45, puzzlekg, eolith, ROT0, "Eolith", "Puzzle King (Dance & Puzzle)", GAME_NO_SOUND )
|
||||
|
@ -39,6 +39,7 @@ static const struct
|
||||
} eolith_speedup_table[] =
|
||||
{
|
||||
/* eolith.c */
|
||||
{ "ironfort", 0x40020854, 239 },
|
||||
{ "hidnctch", 0x4000bba0, 239 },
|
||||
{ "raccoon", 0x40008204, 239 },
|
||||
{ "puzzlekg", 0x40029458, 239 },
|
||||
|
Loading…
Reference in New Issue
Block a user