Code:
# MAME 0.106 source snippet [pandoras.c]
GAME( 1984, pandoras, 0, pandoras, pandoras, 0, ROT90, "Konami/Interlogic", "Pandora's Palace", 0 )
INPUT_PORTS_START( pandoras )
PORT_START /* DSW #1 */
PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Coin_A ) )
PORT_DIPSETTING( 0x02, DEF_STR( 4C_1C ) )
PORT_DIPSETTING( 0x05, DEF_STR( 3C_1C ) )
PORT_DIPSETTING( 0x08, DEF_STR( 2C_1C ) )
PORT_DIPSETTING( 0x04, DEF_STR( 3C_2C ) )
PORT_DIPSETTING( 0x01, DEF_STR( 4C_3C ) )
PORT_DIPSETTING( 0x0f, DEF_STR( 1C_1C ) )
PORT_DIPSETTING( 0x03, DEF_STR( 3C_4C ) )
PORT_DIPSETTING( 0x07, DEF_STR( 2C_3C ) )
PORT_DIPSETTING( 0x0e, DEF_STR( 1C_2C ) )
PORT_DIPSETTING( 0x06, DEF_STR( 2C_5C ) )
PORT_DIPSETTING( 0x0d, DEF_STR( 1C_3C ) )
PORT_DIPSETTING( 0x0c, DEF_STR( 1C_4C ) )
PORT_DIPSETTING( 0x0b, DEF_STR( 1C_5C ) )
PORT_DIPSETTING( 0x0a, DEF_STR( 1C_6C ) )
PORT_DIPSETTING( 0x09, DEF_STR( 1C_7C ) )
PORT_DIPSETTING( 0x00, DEF_STR( Free_Play ) )
PORT_DIPNAME( 0xf0, 0xf0, DEF_STR( Coin_B ) )
PORT_DIPSETTING( 0x20, DEF_STR( 4C_1C ) )
PORT_DIPSETTING( 0x50, DEF_STR( 3C_1C ) )
PORT_DIPSETTING( 0x80, DEF_STR( 2C_1C ) )
PORT_DIPSETTING( 0x40, DEF_STR( 3C_2C ) )
PORT_DIPSETTING( 0x10, DEF_STR( 4C_3C ) )
PORT_DIPSETTING( 0xf0, DEF_STR( 1C_1C ) )
PORT_DIPSETTING( 0x30, DEF_STR( 3C_4C ) )
PORT_DIPSETTING( 0x70, DEF_STR( 2C_3C ) )
PORT_DIPSETTING( 0xe0, DEF_STR( 1C_2C ) )
PORT_DIPSETTING( 0x60, DEF_STR( 2C_5C ) )
PORT_DIPSETTING( 0xd0, DEF_STR( 1C_3C ) )
PORT_DIPSETTING( 0xc0, DEF_STR( 1C_4C ) )
PORT_DIPSETTING( 0xb0, DEF_STR( 1C_5C ) )
PORT_DIPSETTING( 0xa0, DEF_STR( 1C_6C ) )
PORT_DIPSETTING( 0x90, DEF_STR( 1C_7C ) )
// PORT_DIPSETTING( 0x00, "Invalid" )
PORT_START /* DSW #2 */
PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )
PORT_DIPSETTING( 0x03, "3" )
PORT_DIPSETTING( 0x02, "4" )
PORT_DIPSETTING( 0x01, "5" )
PORT_DIPSETTING( 0x00, "7" )
PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )
PORT_DIPSETTING( 0x00, DEF_STR( Upright ) )
PORT_DIPSETTING( 0x04, DEF_STR( Cocktail ) )
PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) )
PORT_DIPSETTING( 0x18, "20k and every 60k" )
PORT_DIPSETTING( 0x10, "30k and every 70k" )
PORT_DIPSETTING( 0x08, "20k" )
PORT_DIPSETTING( 0x00, "30k" )
PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )
PORT_DIPSETTING( 0x60, DEF_STR( Easy ) )
PORT_DIPSETTING( 0x40, DEF_STR( Normal ) )
PORT_DIPSETTING( 0x20, "Difficult" )
PORT_DIPSETTING( 0x00, "Very Difficult" )
PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
PORT_DIPSETTING( 0x80, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_START /* DSW #3 */
PORT_DIPNAME( 0x01, 0x01, "Freeze" )
PORT_DIPSETTING( 0x01, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
PORT_DIPSETTING( 0x02, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
PORT_DIPSETTING( 0x04, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
PORT_DIPSETTING( 0x08, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
PORT_DIPSETTING( 0x10, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
PORT_DIPSETTING( 0x20, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
PORT_DIPSETTING( 0x40, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
PORT_DIPSETTING( 0x80, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_START /* COINSW */
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 )
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN3 )
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START2 )
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_START /* PLAYER 1 INPUTS */
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
PORT_BIT( 0xe0, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_START /* PLAYER 2 INPUTS */
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_COCKTAIL
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_COCKTAIL
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_COCKTAIL
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_COCKTAIL
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
PORT_BIT( 0xe0, IP_ACTIVE_LOW, IPT_UNUSED )
INPUT_PORTS_END
Resolution: 256x224 @ 60.000000Hz
********************************************************************************
TG Game Entry: https://www.twingalaxies.com/scores....a%27s%20Palace
Note: the ROM set is incorrectly spelled on the scoreboard (no ending s): pandora
********************************************************************************
Rules, Points [Marathon Settings]: https://www.twingalaxies.com/scores.php?scores=7780
ROMSet: Pandora
Lives: 3
Cabinet: Upright
Bonus Life: 20k and every 60k
Difficulty: Normal
Freeze: Off
Unknown: Off [All]
Sample correct TG:
DSW2: Offset 0x27, repeat every 0x7C, typical value 0x5B
-DSW2: 0x03 (Lives): 0x03 (3)
-DSW2: 0x04 (Cabinet): 0x00 (Upright)
-DSW2: 0x18 (Bonus_Life): 0x18 (20k and every 60k)
-DSW2: 0x60 (Difficulty): 0x40 (Normal)
-DSW2: 0x80 (Demo_Sounds): [not relevant]
DSW3: Offset 0x2B, repeat every 0x7C, typical value 0xFF
-DSW3: 0x01 (Freeze): 0x01 (Off)
-DSW3: 0x02 (Unknown): 0x02 (Off)
-DSW3: 0x04 (Unknown): 0x04 (Off)
-DSW3: 0x08 (Unknown): 0x08 (Off)
-DSW3: 0x10 (Unknown): 0x10 (Off)
-DSW3: 0x20 (Unknown): 0x20 (Off)
-DSW3: 0x40 (Unknown): 0x40 (Off)
-DSW3: 0x80 (Unknown): 0x80 (Off)
20: 00 00 00 FF 00 00 00 5B 00 00 00 FF 00 00 00 FF
A0: 00 00 00 5B 00 00 00 FF 00 00 00 FF 00 00 00 FF
110: 00 00 00 00 3E 82 43 E1 00 00 00 FF 00 00 00 5B
120: 00 00 00 FF 00 00 00 FF 00 00 00 FF 00 00 00 FF
********************************************************************************
Rules, Points [Tournament Settings - 5 Life Limit]: https://www.twingalaxies.com/scores.php?scores=7781
ROMSet: Pandora
Lives: 4
Cabinet: Upright
Bonus Life: 30k
Difficulty: Very Difficult
Freeze: Off
Unknown: Off [All]
Sample correct TG:
DSW2: Offset 0x27, repeat every 0x7C, typical value 0x02
-DSW2: 0x03 (Lives): 0x02 (4)
-DSW2: 0x04 (Cabinet): 0x00 (Upright)
-DSW2: 0x18 (Bonus_Life): 0x00 (30k)
-DSW2: 0x60 (Difficulty): 0x00 (Very Difficult)
-DSW2: 0x80 (Demo_Sounds): [not relevant]
DSW3: Offset 0x2B, repeat every 0x7C, typical value 0xFF
-DSW3: 0x01 (Freeze): 0x01 (Off)
-DSW3: 0x02 (Unknown): 0x02 (Off)
-DSW3: 0x04 (Unknown): 0x04 (Off)
-DSW3: 0x08 (Unknown): 0x08 (Off)
-DSW3: 0x10 (Unknown): 0x10 (Off)
-DSW3: 0x20 (Unknown): 0x20 (Off)
-DSW3: 0x40 (Unknown): 0x40 (Off)
-DSW3: 0x80 (Unknown): 0x80 (Off)
20: 00 00 00 FF 00 00 00 02 00 00 00 FF 00 00 00 FF
A0: 00 00 00 02 00 00 00 FF 00 00 00 FF 00 00 00 FF
110: 00 00 00 00 3E 82 43 E1 00 00 00 FF 00 00 00 02
120: 00 00 00 FF 00 00 00 FF 00 00 00 FF 00 00 00 FF