mirror of
https://github.com/holub/mame
synced 2025-06-03 03:16:30 +03:00
Game Plan WIP
This commit is contained in:
parent
866e4d62c6
commit
c03dabbc42
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -6518,6 +6518,7 @@ src/mame/layout/goldnpkr.lay svneol=native#text/xml
|
||||
src/mame/layout/goldstar.lay svneol=native#text/xml
|
||||
src/mame/layout/gorf.lay svneol=native#text/xml
|
||||
src/mame/layout/gp_1.lay svneol=native#text/plain
|
||||
src/mame/layout/gp_2.lay svneol=native#text/plain
|
||||
src/mame/layout/grchamp.lay svneol=native#text/xml
|
||||
src/mame/layout/gridiron.lay svneol=native#text/xml
|
||||
src/mame/layout/gunchamp.lay svneol=native#text/xml
|
||||
|
@ -13,8 +13,8 @@ games at the start of ball 1.
|
||||
|
||||
|
||||
ToDo:
|
||||
- Family Fun / Star Trip, the chimes have been replaced by a SN76477, not yet
|
||||
emulated.
|
||||
- Family Fun / Star Trip / Vegas, the chimes have been replaced by a SN76477,
|
||||
not yet emulated.
|
||||
|
||||
********************************************************************************/
|
||||
|
||||
@ -69,7 +69,7 @@ private:
|
||||
|
||||
|
||||
static ADDRESS_MAP_START( gp_1_map, AS_PROGRAM, 8, gp_1_state )
|
||||
AM_RANGE(0x0000, 0x0fff) AM_ROM
|
||||
AM_RANGE(0x0000, 0x0fff) AM_ROM AM_REGION("roms", 0)
|
||||
AM_RANGE(0x8c00, 0x8cff) AM_RAM AM_SHARE("nvram")
|
||||
ADDRESS_MAP_END
|
||||
|
||||
@ -403,7 +403,7 @@ MACHINE_CONFIG_END
|
||||
|
||||
|
||||
ROM_START( gp_110 )
|
||||
ROM_REGION(0x10000, "maincpu", 0)
|
||||
ROM_REGION(0x1000, "roms", 0)
|
||||
ROM_LOAD( "a-110.u12", 0x0000, 0x0800, CRC(ed0d518b) SHA1(8f3ca8792ad907c660d9149a1aa3a3528c7573e3))
|
||||
ROM_LOAD( "b1-110.u13", 0x0800, 0x0800, CRC(a223f2e8) SHA1(767e15e19e11399935c890c1d1034dccf1ad7f92))
|
||||
ROM_END
|
||||
@ -439,7 +439,7 @@ ROM_END
|
||||
/ Family Fun! (April 1979) - Model: Cocktail #120
|
||||
/-------------------------------------------------------------------*/
|
||||
ROM_START(famlyfun)
|
||||
ROM_REGION(0x10000, "maincpu", 0)
|
||||
ROM_REGION(0x1000, "roms", 0)
|
||||
ROM_LOAD( "family.u12", 0x0000, 0x0800, CRC(98f27fdf) SHA1(8bcff1e13b9b978f91110f1e83a3288723930a1d))
|
||||
ROM_LOAD( "family.u13", 0x0800, 0x0800, CRC(b941a1a8) SHA1(a43f8acadb3db3e2274162d5305e30006f912339))
|
||||
ROM_END
|
||||
@ -448,11 +448,20 @@ ROM_END
|
||||
/ Star Trip (April 1979) - Model: Cocktail #120
|
||||
/-------------------------------------------------------------------*/
|
||||
ROM_START(startrip)
|
||||
ROM_REGION(0x10000, "maincpu", 0)
|
||||
ROM_REGION(0x1000, "roms", 0)
|
||||
ROM_LOAD( "startrip.u12", 0x0000, 0x0800, CRC(98f27fdf) SHA1(8bcff1e13b9b978f91110f1e83a3288723930a1d))
|
||||
ROM_LOAD( "startrip.u13", 0x0800, 0x0800, CRC(b941a1a8) SHA1(a43f8acadb3db3e2274162d5305e30006f912339))
|
||||
ROM_END
|
||||
|
||||
/*-------------------------------------------------------------------
|
||||
/ Vegas (August 1979) - Cocktail Model #140
|
||||
/-------------------------------------------------------------------*/
|
||||
ROM_START(vegasgp)
|
||||
ROM_REGION(0x1000, "roms", 0)
|
||||
ROM_LOAD( "140a.12", 0x0000, 0x0800, CRC(2c00bc19) SHA1(521d4b44f46dea0a08e90cd3aea5799462215863))
|
||||
ROM_LOAD( "140b.13", 0x0800, 0x0800, CRC(cf26d67b) SHA1(05481e880e23a7bc1d1716b52ac1effc0db437f2))
|
||||
ROM_END
|
||||
|
||||
GAME(1978, gp_110, 0, gp_1, gp_1, driver_device, 0, ROT0, "Game Plan", "Model 110", GAME_IS_BIOS_ROOT)
|
||||
GAME(1978, blvelvet, gp_110, gp_1, gp_1, driver_device, 0, ROT0, "Game Plan", "Black Velvet", GAME_MECHANICAL)
|
||||
GAME(1978, camlight, gp_110, gp_1, gp_1, driver_device, 0, ROT0, "Game Plan", "Camel Lights", GAME_MECHANICAL)
|
||||
@ -462,3 +471,4 @@ GAME(1978, rio, gp_110, gp_1, gp_1, driver_device, 0, ROT0, "Ga
|
||||
GAME(1978, chucklck, gp_110, gp_1, gp_1, driver_device, 0, ROT0, "Game Plan", "Chuck-A-Luck", GAME_MECHANICAL)
|
||||
GAME(1979, famlyfun, 0, gp_1, gp_1, driver_device, 0, ROT0, "Game Plan", "Family Fun!", GAME_MECHANICAL | GAME_IMPERFECT_SOUND )
|
||||
GAME(1979, startrip, 0, gp_1, gp_1, driver_device, 0, ROT0, "Game Plan", "Star Trip", GAME_MECHANICAL | GAME_IMPERFECT_SOUND )
|
||||
GAME(1979, vegasgp, 0, gp_1, gp_1, driver_device, 0, ROT0, "Game Plan", "Vegas (Game Plan)", GAME_MECHANICAL | GAME_IMPERFECT_SOUND )
|
||||
|
@ -1,60 +1,600 @@
|
||||
/*
|
||||
/*****************************************************************************************
|
||||
|
||||
PINBALL
|
||||
Game Plan MPU-2
|
||||
*/
|
||||
|
||||
When first turned on, you need to press 9 to enter the setup program, then keep
|
||||
pressing 9 until 06 shows in the credits display. Press the credit button to set
|
||||
the first high score at which a free credit is awarded. Then press 9 to set the
|
||||
2nd high score, then 9 to set the 3rd high score. Keep pressing 9 until you exit
|
||||
back to normal operation. If this setup is not done, each player will get 3 free
|
||||
games at the start of ball 1.
|
||||
|
||||
All the Z80 "maincpu" code is copied from gp_1.c
|
||||
Any bug fixes need to be applied both here and there.
|
||||
|
||||
|
||||
#include "emu.h"
|
||||
ToDo:
|
||||
- The earlier sets have a sound board with 3x SN76477 and lots of discrete circuitry (not emulated)
|
||||
- The later sets (with sound roms) have a sound board with a MC6808 and 6821PIA (not emulated)
|
||||
- Each machine has its own set of inputs (not emulated)
|
||||
|
||||
|
||||
******************************************************************************************/
|
||||
|
||||
|
||||
#include "machine/genpin.h"
|
||||
#include "cpu/z80/z80.h"
|
||||
#include "cpu/z80/z80daisy.h"
|
||||
#include "machine/i8255.h"
|
||||
#include "machine/z80ctc.h"
|
||||
#include "machine/nvram.h"
|
||||
#include "gp_2.lh"
|
||||
|
||||
class gp_2_state : public driver_device
|
||||
class gp_2_state : public genpin_class
|
||||
{
|
||||
public:
|
||||
gp_2_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_maincpu(*this, "maincpu")
|
||||
: genpin_class(mconfig, type, tag)
|
||||
, m_maincpu(*this, "maincpu")
|
||||
, m_ctc(*this, "ctc")
|
||||
, m_io_dsw0(*this, "DSW0")
|
||||
, m_io_dsw1(*this, "DSW1")
|
||||
, m_io_dsw2(*this, "DSW2")
|
||||
, m_io_dsw3(*this, "DSW3")
|
||||
, m_io_x7(*this, "X7")
|
||||
, m_io_x8(*this, "X8")
|
||||
, m_io_x9(*this, "X9")
|
||||
, m_io_xa(*this, "XA")
|
||||
, m_io_xb(*this, "XB")
|
||||
{ }
|
||||
|
||||
protected:
|
||||
|
||||
// devices
|
||||
required_device<cpu_device> m_maincpu;
|
||||
|
||||
// driver_device overrides
|
||||
virtual void machine_reset();
|
||||
public:
|
||||
DECLARE_DRIVER_INIT(gp_2);
|
||||
DECLARE_WRITE8_MEMBER(porta_w);
|
||||
DECLARE_WRITE8_MEMBER(portc_w);
|
||||
DECLARE_READ8_MEMBER(portb_r);
|
||||
TIMER_DEVICE_CALLBACK_MEMBER(zero_timer);
|
||||
private:
|
||||
UINT8 m_u14;
|
||||
UINT8 m_digit;
|
||||
UINT8 m_segment[16];
|
||||
virtual void machine_reset();
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<z80ctc_device> m_ctc;
|
||||
required_ioport m_io_dsw0;
|
||||
required_ioport m_io_dsw1;
|
||||
required_ioport m_io_dsw2;
|
||||
required_ioport m_io_dsw3;
|
||||
required_ioport m_io_x7;
|
||||
required_ioport m_io_x8;
|
||||
required_ioport m_io_x9;
|
||||
required_ioport m_io_xa;
|
||||
required_ioport m_io_xb;
|
||||
};
|
||||
|
||||
|
||||
static ADDRESS_MAP_START( gp_2_map, AS_PROGRAM, 8, gp_2_state )
|
||||
AM_RANGE(0x0000, 0xffff) AM_NOP
|
||||
AM_RANGE(0x0000, 0x3fff) AM_ROM AM_REGION("roms", 0)
|
||||
AM_RANGE(0x8c00, 0x8dff) AM_RAM AM_SHARE("nvram")
|
||||
ADDRESS_MAP_END
|
||||
|
||||
static INPUT_PORTS_START( gp_2 )
|
||||
static ADDRESS_MAP_START( gp_2_io, AS_IO, 8, gp_2_state )
|
||||
ADDRESS_MAP_GLOBAL_MASK(0x0f)
|
||||
AM_RANGE(0x04, 0x07) AM_DEVREADWRITE("ppi", i8255_device, read, write)
|
||||
AM_RANGE(0x08, 0x0b) AM_DEVREADWRITE("ctc", z80ctc_device, read, write)
|
||||
ADDRESS_MAP_END
|
||||
|
||||
static INPUT_PORTS_START( gp_1 )
|
||||
PORT_START("DSW0")
|
||||
PORT_DIPNAME( 0x1f, 0x02, "Coin Slot 1")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( 2C_3C )) // same as 01
|
||||
PORT_DIPSETTING( 0x02, DEF_STR( 1C_1C ))
|
||||
PORT_DIPSETTING( 0x03, DEF_STR( 2C_1C ))
|
||||
PORT_DIPSETTING( 0x04, DEF_STR( 1C_2C ))
|
||||
PORT_DIPSETTING( 0x05, DEF_STR( 2C_2C ))
|
||||
PORT_DIPSETTING( 0x06, DEF_STR( 1C_3C ))
|
||||
PORT_DIPSETTING( 0x07, DEF_STR( 2C_3C ))
|
||||
PORT_DIPSETTING( 0x08, DEF_STR( 1C_4C ))
|
||||
PORT_DIPSETTING( 0x09, DEF_STR( 2C_4C ))
|
||||
PORT_DIPSETTING( 0x0a, DEF_STR( 1C_5C ))
|
||||
PORT_DIPSETTING( 0x0b, DEF_STR( 2C_5C ))
|
||||
PORT_DIPSETTING( 0x0c, DEF_STR( 1C_6C ))
|
||||
PORT_DIPSETTING( 0x0d, DEF_STR( 2C_6C ))
|
||||
PORT_DIPSETTING( 0x0e, DEF_STR( 1C_7C ))
|
||||
PORT_DIPSETTING( 0x0f, DEF_STR( 2C_7C ))
|
||||
PORT_DIPSETTING( 0x10, DEF_STR( 1C_8C ))
|
||||
PORT_DIPSETTING( 0x11, DEF_STR( 2C_8C ))
|
||||
PORT_DIPSETTING( 0x12, DEF_STR( 1C_9C ))
|
||||
PORT_DIPSETTING( 0x13, "2 coins 9 credits")
|
||||
PORT_DIPSETTING( 0x14, "1 coin 10 credits")
|
||||
PORT_DIPSETTING( 0x15, "2 coins 10 credits")
|
||||
PORT_DIPSETTING( 0x16, "1 coin 11 credits")
|
||||
PORT_DIPSETTING( 0x17, "2 coins 11 credits")
|
||||
PORT_DIPSETTING( 0x18, "1 coin 12 credits")
|
||||
PORT_DIPSETTING( 0x19, "2 coins 12 credits")
|
||||
PORT_DIPSETTING( 0x1a, "1 coin 13 credits")
|
||||
PORT_DIPSETTING( 0x1b, "2 coins 13 credits")
|
||||
PORT_DIPSETTING( 0x1c, "1 coin 14 credits")
|
||||
PORT_DIPSETTING( 0x1d, "2 coins 14 credits")
|
||||
PORT_DIPSETTING( 0x1e, "1 coin 15 credits")
|
||||
PORT_DIPSETTING( 0x1f, "2 coins 15 credits")
|
||||
PORT_DIPNAME( 0x20, 0x00, "S06")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ))
|
||||
PORT_DIPSETTING( 0x20, DEF_STR( On ))
|
||||
PORT_DIPNAME( 0x40, 0x00, "S07")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ))
|
||||
PORT_DIPSETTING( 0x40, DEF_STR( On ))
|
||||
PORT_DIPNAME( 0x80, 0x00, "Free Play")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ))
|
||||
PORT_DIPSETTING( 0x80, DEF_STR( On ))
|
||||
|
||||
PORT_START("DSW1")
|
||||
PORT_DIPNAME( 0x0f, 0x00, "Coin Slot 2") // S09-12 determine coinage for slot 2
|
||||
PORT_DIPSETTING( 0x00, "Same as Slot 1")
|
||||
PORT_DIPSETTING( 0x01, DEF_STR( 1C_1C ))
|
||||
PORT_DIPSETTING( 0x02, DEF_STR( 1C_2C ))
|
||||
PORT_DIPSETTING( 0x03, DEF_STR( 1C_3C ))
|
||||
PORT_DIPSETTING( 0x04, DEF_STR( 1C_4C ))
|
||||
PORT_DIPSETTING( 0x05, DEF_STR( 1C_5C ))
|
||||
PORT_DIPSETTING( 0x06, DEF_STR( 1C_6C ))
|
||||
PORT_DIPSETTING( 0x07, DEF_STR( 1C_7C ))
|
||||
PORT_DIPSETTING( 0x08, DEF_STR( 1C_8C ))
|
||||
PORT_DIPSETTING( 0x09, DEF_STR( 1C_9C ))
|
||||
PORT_DIPSETTING( 0x0a, "1 coin 10 credits")
|
||||
PORT_DIPSETTING( 0x0b, "1 coin 11 credits")
|
||||
PORT_DIPSETTING( 0x0c, "1 coin 12 credits")
|
||||
PORT_DIPSETTING( 0x0d, "1 coin 13 credits")
|
||||
PORT_DIPSETTING( 0x0e, "1 coin 14 credits")
|
||||
PORT_DIPSETTING( 0x0f, "1 coin 15 credits")
|
||||
PORT_DIPNAME( 0x10, 0x00, "S13")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ))
|
||||
PORT_DIPSETTING( 0x10, DEF_STR( On ))
|
||||
PORT_DIPNAME( 0x20, 0x00, "S14")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ))
|
||||
PORT_DIPSETTING( 0x20, DEF_STR( On ))
|
||||
PORT_DIPNAME( 0x40, 0x00, "S15")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ))
|
||||
PORT_DIPSETTING( 0x40, DEF_STR( On ))
|
||||
PORT_DIPNAME( 0x80, 0x00, "Play Tunes")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ))
|
||||
PORT_DIPSETTING( 0x80, DEF_STR( On ))
|
||||
|
||||
PORT_START("DSW2")
|
||||
PORT_DIPNAME( 0x1f, 0x02, "Coin Slot 3")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( 2C_3C )) // same as 01
|
||||
PORT_DIPSETTING( 0x02, DEF_STR( 1C_1C ))
|
||||
PORT_DIPSETTING( 0x03, DEF_STR( 2C_1C ))
|
||||
PORT_DIPSETTING( 0x04, DEF_STR( 1C_2C ))
|
||||
PORT_DIPSETTING( 0x05, DEF_STR( 2C_2C ))
|
||||
PORT_DIPSETTING( 0x06, DEF_STR( 1C_3C ))
|
||||
PORT_DIPSETTING( 0x07, DEF_STR( 2C_3C ))
|
||||
PORT_DIPSETTING( 0x08, DEF_STR( 1C_4C ))
|
||||
PORT_DIPSETTING( 0x09, DEF_STR( 2C_4C ))
|
||||
PORT_DIPSETTING( 0x0a, DEF_STR( 1C_5C ))
|
||||
PORT_DIPSETTING( 0x0b, DEF_STR( 2C_5C ))
|
||||
PORT_DIPSETTING( 0x0c, DEF_STR( 1C_6C ))
|
||||
PORT_DIPSETTING( 0x0d, DEF_STR( 2C_6C ))
|
||||
PORT_DIPSETTING( 0x0e, DEF_STR( 1C_7C ))
|
||||
PORT_DIPSETTING( 0x0f, DEF_STR( 2C_7C ))
|
||||
PORT_DIPSETTING( 0x10, DEF_STR( 1C_8C ))
|
||||
PORT_DIPSETTING( 0x11, DEF_STR( 2C_8C ))
|
||||
PORT_DIPSETTING( 0x12, DEF_STR( 1C_9C ))
|
||||
PORT_DIPSETTING( 0x13, "2 coins 9 credits")
|
||||
PORT_DIPSETTING( 0x14, "1 coin 10 credits")
|
||||
PORT_DIPSETTING( 0x15, "2 coins 10 credits")
|
||||
PORT_DIPSETTING( 0x16, "1 coin 11 credits")
|
||||
PORT_DIPSETTING( 0x17, "2 coins 11 credits")
|
||||
PORT_DIPSETTING( 0x18, "1 coin 12 credits")
|
||||
PORT_DIPSETTING( 0x19, "2 coins 12 credits")
|
||||
PORT_DIPSETTING( 0x1a, "1 coin 13 credits")
|
||||
PORT_DIPSETTING( 0x1b, "2 coins 13 credits")
|
||||
PORT_DIPSETTING( 0x1c, "1 coin 14 credits")
|
||||
PORT_DIPSETTING( 0x1d, "2 coins 14 credits")
|
||||
PORT_DIPSETTING( 0x1e, "1 coin 15 credits")
|
||||
PORT_DIPSETTING( 0x1f, "2 coins 15 credits")
|
||||
PORT_DIPNAME( 0x20, 0x00, "S22")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ))
|
||||
PORT_DIPSETTING( 0x20, DEF_STR( On ))
|
||||
PORT_DIPNAME( 0x40, 0x00, "S23")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ))
|
||||
PORT_DIPSETTING( 0x40, DEF_STR( On ))
|
||||
PORT_DIPNAME( 0x80, 0x00, "S24")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ))
|
||||
PORT_DIPSETTING( 0x80, DEF_STR( On ))
|
||||
|
||||
PORT_START("DSW3")
|
||||
PORT_DIPNAME( 0x07, 0x07, "Max number of credits")
|
||||
PORT_DIPSETTING( 0x00, "5" )
|
||||
PORT_DIPSETTING( 0x01, "10")
|
||||
PORT_DIPSETTING( 0x02, "15")
|
||||
PORT_DIPSETTING( 0x03, "20")
|
||||
PORT_DIPSETTING( 0x04, "25")
|
||||
PORT_DIPSETTING( 0x05, "30")
|
||||
PORT_DIPSETTING( 0x06, "35")
|
||||
PORT_DIPSETTING( 0x07, "40")
|
||||
PORT_DIPNAME( 0x08, 0x08, "Balls")
|
||||
PORT_DIPSETTING( 0x00, "3")
|
||||
PORT_DIPSETTING( 0x08, "5")
|
||||
PORT_DIPNAME( 0x10, 0x10, "Award")
|
||||
PORT_DIPSETTING( 0x00, "Extra Ball")
|
||||
PORT_DIPSETTING( 0x10, "Replay")
|
||||
PORT_DIPNAME( 0x20, 0x20, "Match")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ))
|
||||
PORT_DIPSETTING( 0x20, DEF_STR( On ))
|
||||
PORT_DIPNAME( 0xC0, 0x80, "Credits for exceeding high score")
|
||||
PORT_DIPSETTING( 0x00, "0")
|
||||
PORT_DIPSETTING( 0x40, "1")
|
||||
PORT_DIPSETTING( 0x80, "2")
|
||||
PORT_DIPSETTING( 0xC0, "3")
|
||||
|
||||
PORT_START("X7")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SERVICE2 ) PORT_NAME("Accounting Reset") // This pushbutton on the MPU board is called "S33"
|
||||
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START1 )
|
||||
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_TILT1 ) PORT_NAME("Slam Tilt")
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_COIN2 )
|
||||
PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_COIN3 )
|
||||
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_COIN1 )
|
||||
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_TILT )
|
||||
|
||||
PORT_START("X8")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("L and R Target") PORT_CODE(KEYCODE_A)
|
||||
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Spinner C") PORT_CODE(KEYCODE_S)
|
||||
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Outhole") PORT_CODE(KEYCODE_X)
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Spinner B") PORT_CODE(KEYCODE_D)
|
||||
PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("R. Slingshot") PORT_CODE(KEYCODE_F)
|
||||
PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Special when lit") PORT_CODE(KEYCODE_G)
|
||||
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("L. Slingshot") PORT_CODE(KEYCODE_H)
|
||||
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Extra when lit") PORT_CODE(KEYCODE_J)
|
||||
|
||||
PORT_START("X9")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("R. Spinner") PORT_CODE(KEYCODE_K)
|
||||
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("1000 and advance") PORT_CODE(KEYCODE_L)
|
||||
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Advance and Change") PORT_CODE(KEYCODE_Z)
|
||||
PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("L. Bumper") PORT_CODE(KEYCODE_C)
|
||||
PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("R. Bumper") PORT_CODE(KEYCODE_V)
|
||||
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("L. Spinner") PORT_CODE(KEYCODE_B)
|
||||
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Spinner A") PORT_CODE(KEYCODE_N)
|
||||
|
||||
PORT_START("XA")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("1000 Rollover") PORT_CODE(KEYCODE_M)
|
||||
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_SERVICE1 )
|
||||
PORT_BIT( 0xfc, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
|
||||
PORT_START("XB")
|
||||
PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
static INPUT_PORTS_START( gp_2 )
|
||||
PORT_START("DSW0")
|
||||
PORT_DIPNAME( 0x1f, 0x02, "Coin Slot 1")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( 2C_3C )) // same as 01
|
||||
PORT_DIPSETTING( 0x02, DEF_STR( 1C_1C ))
|
||||
PORT_DIPSETTING( 0x03, DEF_STR( 2C_1C ))
|
||||
PORT_DIPSETTING( 0x04, DEF_STR( 1C_2C ))
|
||||
PORT_DIPSETTING( 0x05, DEF_STR( 2C_2C ))
|
||||
PORT_DIPSETTING( 0x06, DEF_STR( 1C_3C ))
|
||||
PORT_DIPSETTING( 0x07, DEF_STR( 2C_3C ))
|
||||
PORT_DIPSETTING( 0x08, DEF_STR( 1C_4C ))
|
||||
PORT_DIPSETTING( 0x09, DEF_STR( 2C_4C ))
|
||||
PORT_DIPSETTING( 0x0a, DEF_STR( 1C_5C ))
|
||||
PORT_DIPSETTING( 0x0b, DEF_STR( 2C_5C ))
|
||||
PORT_DIPSETTING( 0x0c, DEF_STR( 1C_6C ))
|
||||
PORT_DIPSETTING( 0x0d, DEF_STR( 2C_6C ))
|
||||
PORT_DIPSETTING( 0x0e, DEF_STR( 1C_7C ))
|
||||
PORT_DIPSETTING( 0x0f, DEF_STR( 2C_7C ))
|
||||
PORT_DIPSETTING( 0x10, DEF_STR( 1C_8C ))
|
||||
PORT_DIPSETTING( 0x11, DEF_STR( 2C_8C ))
|
||||
PORT_DIPSETTING( 0x12, DEF_STR( 1C_9C ))
|
||||
PORT_DIPSETTING( 0x13, "2 coins 9 credits")
|
||||
PORT_DIPSETTING( 0x14, "1 coin 10 credits")
|
||||
PORT_DIPSETTING( 0x15, "2 coins 10 credits")
|
||||
PORT_DIPSETTING( 0x16, "1 coin 11 credits")
|
||||
PORT_DIPSETTING( 0x17, "2 coins 11 credits")
|
||||
PORT_DIPSETTING( 0x18, "1 coin 12 credits")
|
||||
PORT_DIPSETTING( 0x19, "2 coins 12 credits")
|
||||
PORT_DIPSETTING( 0x1a, "1 coin 13 credits")
|
||||
PORT_DIPSETTING( 0x1b, "2 coins 13 credits")
|
||||
PORT_DIPSETTING( 0x1c, "1 coin 14 credits")
|
||||
PORT_DIPSETTING( 0x1d, "2 coins 14 credits")
|
||||
PORT_DIPSETTING( 0x1e, "1 coin 15 credits")
|
||||
PORT_DIPSETTING( 0x1f, "2 coins 15 credits")
|
||||
PORT_DIPNAME( 0x60, 0x00, "Special lights at")
|
||||
PORT_DIPSETTING( 0x60, "60000")
|
||||
PORT_DIPSETTING( 0x40, "90000")
|
||||
PORT_DIPSETTING( 0x20, "120000")
|
||||
PORT_DIPSETTING( 0x00, "150000")
|
||||
PORT_DIPNAME( 0x80, 0x00, "Free Play")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ))
|
||||
PORT_DIPSETTING( 0x80, DEF_STR( On ))
|
||||
|
||||
PORT_START("DSW1")
|
||||
PORT_DIPNAME( 0x0f, 0x00, "Coin Slot 2") // S09-12 determine coinage for slot 2
|
||||
PORT_DIPSETTING( 0x00, "Same as Slot 1")
|
||||
PORT_DIPSETTING( 0x01, DEF_STR( 1C_1C ))
|
||||
PORT_DIPSETTING( 0x02, DEF_STR( 1C_2C ))
|
||||
PORT_DIPSETTING( 0x03, DEF_STR( 1C_3C ))
|
||||
PORT_DIPSETTING( 0x04, DEF_STR( 1C_4C ))
|
||||
PORT_DIPSETTING( 0x05, DEF_STR( 1C_5C ))
|
||||
PORT_DIPSETTING( 0x06, DEF_STR( 1C_6C ))
|
||||
PORT_DIPSETTING( 0x07, DEF_STR( 1C_7C ))
|
||||
PORT_DIPSETTING( 0x08, DEF_STR( 1C_8C ))
|
||||
PORT_DIPSETTING( 0x09, DEF_STR( 1C_9C ))
|
||||
PORT_DIPSETTING( 0x0a, "1 coin 10 credits")
|
||||
PORT_DIPSETTING( 0x0b, "1 coin 11 credits")
|
||||
PORT_DIPSETTING( 0x0c, "1 coin 12 credits")
|
||||
PORT_DIPSETTING( 0x0d, "1 coin 13 credits")
|
||||
PORT_DIPSETTING( 0x0e, "1 coin 14 credits")
|
||||
PORT_DIPSETTING( 0x0f, "1 coin 15 credits")
|
||||
PORT_DIPNAME( 0x10, 0x10, "Music")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ))
|
||||
PORT_DIPSETTING( 0x10, DEF_STR( On ))
|
||||
PORT_DIPNAME( 0x20, 0x20, "Extra Ball")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ))
|
||||
PORT_DIPSETTING( 0x20, DEF_STR( On ))
|
||||
PORT_DIPNAME( 0x40, 0x40, "Remember Saucer Values")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ))
|
||||
PORT_DIPSETTING( 0x40, DEF_STR( On ))
|
||||
PORT_DIPNAME( 0x80, 0x80, "Extra Ball lights at")
|
||||
PORT_DIPSETTING( 0x80, "100000")
|
||||
PORT_DIPSETTING( 0x00, "150000")
|
||||
|
||||
PORT_START("DSW2")
|
||||
PORT_DIPNAME( 0x1f, 0x02, "Coin Slot 3")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( 2C_3C )) // same as 01
|
||||
PORT_DIPSETTING( 0x02, DEF_STR( 1C_1C ))
|
||||
PORT_DIPSETTING( 0x03, DEF_STR( 2C_1C ))
|
||||
PORT_DIPSETTING( 0x04, DEF_STR( 1C_2C ))
|
||||
PORT_DIPSETTING( 0x05, DEF_STR( 2C_2C ))
|
||||
PORT_DIPSETTING( 0x06, DEF_STR( 1C_3C ))
|
||||
PORT_DIPSETTING( 0x07, DEF_STR( 2C_3C ))
|
||||
PORT_DIPSETTING( 0x08, DEF_STR( 1C_4C ))
|
||||
PORT_DIPSETTING( 0x09, DEF_STR( 2C_4C ))
|
||||
PORT_DIPSETTING( 0x0a, DEF_STR( 1C_5C ))
|
||||
PORT_DIPSETTING( 0x0b, DEF_STR( 2C_5C ))
|
||||
PORT_DIPSETTING( 0x0c, DEF_STR( 1C_6C ))
|
||||
PORT_DIPSETTING( 0x0d, DEF_STR( 2C_6C ))
|
||||
PORT_DIPSETTING( 0x0e, DEF_STR( 1C_7C ))
|
||||
PORT_DIPSETTING( 0x0f, DEF_STR( 2C_7C ))
|
||||
PORT_DIPSETTING( 0x10, DEF_STR( 1C_8C ))
|
||||
PORT_DIPSETTING( 0x11, DEF_STR( 2C_8C ))
|
||||
PORT_DIPSETTING( 0x12, DEF_STR( 1C_9C ))
|
||||
PORT_DIPSETTING( 0x13, "2 coins 9 credits")
|
||||
PORT_DIPSETTING( 0x14, "1 coin 10 credits")
|
||||
PORT_DIPSETTING( 0x15, "2 coins 10 credits")
|
||||
PORT_DIPSETTING( 0x16, "1 coin 11 credits")
|
||||
PORT_DIPSETTING( 0x17, "2 coins 11 credits")
|
||||
PORT_DIPSETTING( 0x18, "1 coin 12 credits")
|
||||
PORT_DIPSETTING( 0x19, "2 coins 12 credits")
|
||||
PORT_DIPSETTING( 0x1a, "1 coin 13 credits")
|
||||
PORT_DIPSETTING( 0x1b, "2 coins 13 credits")
|
||||
PORT_DIPSETTING( 0x1c, "1 coin 14 credits")
|
||||
PORT_DIPSETTING( 0x1d, "2 coins 14 credits")
|
||||
PORT_DIPSETTING( 0x1e, "1 coin 15 credits")
|
||||
PORT_DIPSETTING( 0x1f, "2 coins 15 credits")
|
||||
PORT_DIPNAME( 0x20, 0x00, "Remember Bonus Multiplier")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ))
|
||||
PORT_DIPSETTING( 0x20, DEF_STR( On ))
|
||||
PORT_DIPNAME( 0xc0, 0x80, "Balls")
|
||||
PORT_DIPSETTING( 0x00, "1")
|
||||
PORT_DIPSETTING( 0x40, "2")
|
||||
PORT_DIPSETTING( 0x80, "3")
|
||||
PORT_DIPSETTING( 0xc0, "5")
|
||||
|
||||
PORT_START("DSW3")
|
||||
PORT_DIPNAME( 0x01, 0x00, "Remember Special and Extra Ball lanes")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ))
|
||||
PORT_DIPSETTING( 0x01, DEF_STR( On ))
|
||||
PORT_DIPNAME( 0x06, 0x04, "Max number of credits")
|
||||
PORT_DIPSETTING( 0x00, "10")
|
||||
PORT_DIPSETTING( 0x02, "20")
|
||||
PORT_DIPSETTING( 0x04, "30")
|
||||
PORT_DIPSETTING( 0x06, "40")
|
||||
PORT_DIPNAME( 0x18, 0x18, "Award")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( None ))
|
||||
PORT_DIPSETTING( 0x08, "50000 points")
|
||||
PORT_DIPSETTING( 0x10, "Extra Ball")
|
||||
PORT_DIPSETTING( 0x18, "Replay")
|
||||
PORT_DIPNAME( 0x20, 0x20, "Match")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ))
|
||||
PORT_DIPSETTING( 0x20, DEF_STR( On ))
|
||||
PORT_DIPNAME( 0xC0, 0x80, "Credits for exceeding high score")
|
||||
PORT_DIPSETTING( 0x00, "0")
|
||||
PORT_DIPSETTING( 0x40, "1")
|
||||
PORT_DIPSETTING( 0x80, "2")
|
||||
PORT_DIPSETTING( 0xC0, "3")
|
||||
|
||||
// From here is unique per machine, not yet emulated
|
||||
PORT_START("X7")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SERVICE2 ) PORT_NAME("Accounting Reset") // This pushbutton on the MPU board is called "S33"
|
||||
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START1 )
|
||||
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_TILT1 ) PORT_NAME("Slam Tilt")
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_COIN2 )
|
||||
PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_COIN3 )
|
||||
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_COIN1 )
|
||||
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_TILT )
|
||||
|
||||
PORT_START("X8")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("L and R Target") PORT_CODE(KEYCODE_A)
|
||||
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Spinner C") PORT_CODE(KEYCODE_S)
|
||||
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Outhole") PORT_CODE(KEYCODE_X)
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Spinner B") PORT_CODE(KEYCODE_D)
|
||||
PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("R. Slingshot") PORT_CODE(KEYCODE_F)
|
||||
PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Special when lit") PORT_CODE(KEYCODE_G)
|
||||
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("L. Slingshot") PORT_CODE(KEYCODE_H)
|
||||
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Extra when lit") PORT_CODE(KEYCODE_J)
|
||||
|
||||
PORT_START("X9")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("R. Spinner") PORT_CODE(KEYCODE_K)
|
||||
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("1000 and advance") PORT_CODE(KEYCODE_L)
|
||||
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Advance and Change") PORT_CODE(KEYCODE_Z)
|
||||
PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("L. Bumper") PORT_CODE(KEYCODE_C)
|
||||
PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("R. Bumper") PORT_CODE(KEYCODE_V)
|
||||
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("L. Spinner") PORT_CODE(KEYCODE_B)
|
||||
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Spinner A") PORT_CODE(KEYCODE_N)
|
||||
|
||||
PORT_START("XA")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("1000 Rollover") PORT_CODE(KEYCODE_M)
|
||||
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_SERVICE1 )
|
||||
PORT_BIT( 0xfc, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
|
||||
PORT_START("XB")
|
||||
PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
READ8_MEMBER( gp_2_state::portb_r )
|
||||
{
|
||||
switch (m_u14)
|
||||
{
|
||||
case 7:
|
||||
return m_io_x7->read();
|
||||
case 8:
|
||||
return m_io_x8->read();
|
||||
case 9:
|
||||
return m_io_x9->read();
|
||||
case 10:
|
||||
return m_io_xa->read();
|
||||
case 11:
|
||||
return m_io_xb->read();
|
||||
case 12:
|
||||
return m_io_dsw0->read();
|
||||
case 13:
|
||||
return m_io_dsw1->read();
|
||||
case 14:
|
||||
return m_io_dsw2->read();
|
||||
case 15:
|
||||
return m_io_dsw3->read();
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
WRITE8_MEMBER( gp_2_state::porta_w )
|
||||
{
|
||||
m_u14 = data >> 4;
|
||||
if ((data > 0x0f) && (data < 0x30))
|
||||
{
|
||||
switch (data)
|
||||
{
|
||||
case 0x10: // chime c
|
||||
m_samples->start(0, 3);
|
||||
break;
|
||||
case 0x11: // chime b
|
||||
m_samples->start(0, 2);
|
||||
break;
|
||||
case 0x12: // knocker
|
||||
m_samples->start(0, 6);
|
||||
break;
|
||||
case 0x13: // not used
|
||||
case 0x14: // not used
|
||||
break;
|
||||
case 0x15: // chime a
|
||||
m_samples->start(0, 1);
|
||||
break;
|
||||
case 0x16: // chime d
|
||||
m_samples->start(0, 4);
|
||||
break;
|
||||
case 0x17: // outhole
|
||||
case 0x18: // r sling
|
||||
case 0x19: // l sling
|
||||
m_samples->start(0, 5);
|
||||
break;
|
||||
case 0x1a: // c kickout
|
||||
m_samples->start(0, 5);
|
||||
break;
|
||||
case 0x1b: // r bumper
|
||||
m_samples->start(0, 0);
|
||||
break;
|
||||
case 0x1c: // a kickout
|
||||
m_samples->start(0, 5);
|
||||
break;
|
||||
case 0x1d: // l bumper
|
||||
m_samples->start(0, 0);
|
||||
break;
|
||||
case 0x1e: // a kickout
|
||||
m_samples->start(0, 5);
|
||||
break;
|
||||
case 0x1f: // not used
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
static const UINT8 patterns[16] = { 0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7c,0x07,0x7f,0x67,0x58,0x4c,0x62,0x69,0x78,0 }; // 7448
|
||||
if (m_digit == 7)
|
||||
m_segment[m_u14] = data & 15;
|
||||
else
|
||||
if (m_u14 == 7)
|
||||
{
|
||||
output_set_digit_value(m_digit, patterns[m_segment[7]]);
|
||||
output_set_digit_value(m_digit+8, patterns[m_segment[8]]);
|
||||
output_set_digit_value(m_digit+16, patterns[m_segment[9]]);
|
||||
output_set_digit_value(m_digit+24, patterns[m_segment[10]]);
|
||||
output_set_digit_value(m_digit+32, patterns[m_segment[11]]);
|
||||
}
|
||||
}
|
||||
|
||||
WRITE8_MEMBER( gp_2_state::portc_w )
|
||||
{
|
||||
output_set_value("led0", BIT(data, 3));
|
||||
m_digit = data & 7;
|
||||
}
|
||||
|
||||
void gp_2_state::machine_reset()
|
||||
{
|
||||
m_u14 = 0;
|
||||
m_digit = 0xff;
|
||||
}
|
||||
|
||||
DRIVER_INIT_MEMBER(gp_2_state,gp_2)
|
||||
// zero-cross detection
|
||||
TIMER_DEVICE_CALLBACK_MEMBER( gp_2_state::zero_timer )
|
||||
{
|
||||
m_ctc->trg2(0);
|
||||
m_ctc->trg2(1);
|
||||
}
|
||||
|
||||
static const z80_daisy_config daisy_chain[] =
|
||||
{
|
||||
{ "ctc" },
|
||||
{ NULL }
|
||||
};
|
||||
|
||||
static MACHINE_CONFIG_START( gp_2, gp_2_state )
|
||||
/* basic machine hardware */
|
||||
MCFG_CPU_ADD("maincpu", Z80, 2457600)
|
||||
MCFG_CPU_PROGRAM_MAP(gp_2_map)
|
||||
MCFG_CPU_IO_MAP(gp_2_io)
|
||||
MCFG_CPU_CONFIG(daisy_chain)
|
||||
|
||||
MCFG_NVRAM_ADD_0FILL("nvram")
|
||||
|
||||
/* Video */
|
||||
MCFG_DEFAULT_LAYOUT(layout_gp_2)
|
||||
|
||||
/* Sound */
|
||||
MCFG_FRAGMENT_ADD( genpin_audio )
|
||||
|
||||
/* Devices */
|
||||
MCFG_DEVICE_ADD("ppi", I8255A, 0 )
|
||||
MCFG_I8255_OUT_PORTA_CB(WRITE8(gp_2_state, porta_w))
|
||||
MCFG_I8255_IN_PORTB_CB(READ8(gp_2_state, portb_r))
|
||||
MCFG_I8255_OUT_PORTC_CB(WRITE8(gp_2_state, portc_w))
|
||||
|
||||
MCFG_DEVICE_ADD("ctc", Z80CTC, 2457600 )
|
||||
MCFG_Z80CTC_INTR_CB(INPUTLINE("maincpu", INPUT_LINE_IRQ0)) // Todo: absence of ints will cause a watchdog reset
|
||||
MCFG_TIMER_DRIVER_ADD_PERIODIC("gp1", gp_2_state, zero_timer, attotime::from_hz(120)) // mains freq*2
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
/*-------------------------------------------------------------------
|
||||
/ Agents 777 (November 1984) - Model #770
|
||||
/-------------------------------------------------------------------*/
|
||||
ROM_START(agent777)
|
||||
ROM_REGION(0x10000, "maincpu", 0)
|
||||
ROM_REGION(0x4000, "roms", 0)
|
||||
ROM_LOAD( "770a", 0x0000, 0x0800, CRC(fc4eebcd) SHA1(742a201e89c1357d2a1f24b0acf3b78ffec96c74))
|
||||
ROM_LOAD( "770b", 0x0800, 0x0800, CRC(ea62aece) SHA1(32be10bc76a59e03c3fd3294daefc8d28c20386a))
|
||||
ROM_LOAD( "770c", 0x1000, 0x0800, CRC(59280db7) SHA1(8f199be7bfbc01466541c07dc4c365e20055a66c))
|
||||
|
||||
ROM_REGION(0x10000, "cpu2", 0)
|
||||
ROM_LOAD ("770snd", 0x3800, 0x0800, CRC(e4e66c9f) SHA1(f373facefb18c64377da47308a8bbd5fc80e9c2d))
|
||||
ROM_CONTINUE(0x7800, 0x0800)
|
||||
@ -65,9 +605,10 @@ ROM_END
|
||||
/ Andromeda (August 1985) - Model #850
|
||||
/-------------------------------------------------------------------*/
|
||||
ROM_START(andromep)
|
||||
ROM_REGION(0x10000, "maincpu", 0)
|
||||
ROM_REGION(0x4000, "roms", 0)
|
||||
ROM_LOAD( "850.a", 0x0000, 0x1000, CRC(67ed03ee) SHA1(efe7c495766ffb73545a77ab24f02925ac0395f1))
|
||||
ROM_LOAD( "850.b", 0x1000, 0x1000, CRC(37c244e8) SHA1(5cef0a1a6f2c34f2d01bdd12ce11da40c8be4296))
|
||||
|
||||
ROM_REGION(0x10000, "cpu2", 0)
|
||||
ROM_LOAD("850.snd", 0x3800, 0x0800, CRC(18e084a6) SHA1(56efbabe60305f168ca479295577bff7f3a4dace))
|
||||
ROM_RELOAD(0x7800, 0x0800)
|
||||
@ -75,9 +616,10 @@ ROM_START(andromep)
|
||||
ROM_END
|
||||
|
||||
ROM_START(andromepa)
|
||||
ROM_REGION(0x10000, "maincpu", 0)
|
||||
ROM_REGION(0x4000, "roms", 0)
|
||||
ROM_LOAD( "850.a", 0x0000, 0x1000, CRC(67ed03ee) SHA1(efe7c495766ffb73545a77ab24f02925ac0395f1))
|
||||
ROM_LOAD( "850b.rom", 0x1000, 0x1000, CRC(fc1829a5) SHA1(9761543d17c0a5c08b0fec45c35648ce769a3463))
|
||||
|
||||
ROM_REGION(0x10000, "cpu2", 0)
|
||||
ROM_LOAD("850.snd", 0x3800, 0x0800, CRC(18e084a6) SHA1(56efbabe60305f168ca479295577bff7f3a4dace))
|
||||
ROM_RELOAD(0x7800, 0x0800)
|
||||
@ -88,10 +630,11 @@ ROM_END
|
||||
/ Attila the Hun (April 1984) - Model #260
|
||||
/-------------------------------------------------------------------*/
|
||||
ROM_START(attila)
|
||||
ROM_REGION(0x10000, "maincpu", 0)
|
||||
ROM_REGION(0x4000, "roms", 0)
|
||||
ROM_LOAD( "260.a", 0x0000, 0x0800, CRC(b31c11d8) SHA1(d3f2ad84cc28e99acb54349b232dbf8abdf15b21))
|
||||
ROM_LOAD( "260.b", 0x0800, 0x0800, CRC(e8cca86d) SHA1(ed0797175a573537be2d5119ad68b1847e49e578))
|
||||
ROM_LOAD( "260.c", 0x1000, 0x0800, CRC(206605c3) SHA1(14f61a2f43c29370bcb6db29969e8dfcfe3da1ab))
|
||||
|
||||
ROM_REGION(0x10000, "cpu2", 0)
|
||||
ROM_LOAD ("260.snd", 0x3800, 0x0800, CRC(21e6b188) SHA1(84148942e6007d49bb4085ec3678954d48e4439e))
|
||||
ROM_CONTINUE(0x7800, 0x0800)
|
||||
@ -102,10 +645,11 @@ ROM_END
|
||||
/ Captain Hook (April 1985) - Model #780
|
||||
/-------------------------------------------------------------------*/
|
||||
ROM_START(cpthook)
|
||||
ROM_REGION(0x10000, "maincpu", 0)
|
||||
ROM_REGION(0x4000, "roms", 0)
|
||||
ROM_LOAD( "780.a", 0x0000, 0x0800, CRC(6bd5a495) SHA1(8462e0c68176daee6b23dce9091f5aee99e62631))
|
||||
ROM_LOAD( "780.b", 0x0800, 0x0800, CRC(3d1c5555) SHA1(ecb0d40f5e6e37acfc8589816e24b26525273393))
|
||||
ROM_LOAD( "780.c", 0x1000, 0x0800, CRC(e54bc51f) SHA1(3480e0cdd43f9ac3fda8cd466b2f039210525e8b))
|
||||
|
||||
ROM_REGION(0x10000, "cpu2", 0)
|
||||
ROM_LOAD ("780.snd", 0x3800, 0x0800, CRC(95af3392) SHA1(73a2b583b7fc423c2e4390667aebc90ad41f4f93))
|
||||
ROM_CONTINUE(0x7800, 0x0800)
|
||||
@ -116,10 +660,11 @@ ROM_END
|
||||
/ Cyclopes (November 1985) - Model #800
|
||||
/-------------------------------------------------------------------*/
|
||||
ROM_START(cyclopes)
|
||||
ROM_REGION(0x10000, "maincpu", 0)
|
||||
ROM_REGION(0x4000, "roms", 0)
|
||||
ROM_LOAD( "800.a", 0x0000, 0x1000, CRC(3e9628e5) SHA1(4dad9e082a9f4140162bc155f2b0f0a948ba012f))
|
||||
ROM_LOAD( "800.b", 0x1000, 0x1000, CRC(3f945c46) SHA1(25eb543e0b0edcd0a0dcf8e4aa1405cda55ebe2e))
|
||||
ROM_LOAD( "800.c", 0x2000, 0x1000, CRC(7ea18e65) SHA1(e86d82e3ba659499dfbf14920b196252784724f7))
|
||||
|
||||
ROM_REGION(0x10000, "cpu2", 0)
|
||||
ROM_LOAD ("800.snd", 0x3800, 0x0800, CRC(290db3d2) SHA1(a236594f7a89969981bd5707d6dfbb5120fb8f46))
|
||||
ROM_CONTINUE(0x7800, 0x0800)
|
||||
@ -130,10 +675,11 @@ ROM_END
|
||||
/ Global Warfare (June 1981) - Model #240
|
||||
/-------------------------------------------------------------------*/
|
||||
ROM_START(gwarfare)
|
||||
ROM_REGION(0x10000, "maincpu", 0)
|
||||
ROM_REGION(0x4000, "roms", 0)
|
||||
ROM_LOAD( "240a.716", 0x0000, 0x0800, CRC(30206428) SHA1(7a9029e4fd4c4c00da3256ed06464c0bd8022168))
|
||||
ROM_LOAD( "240b.716", 0x0800, 0x0800, CRC(a54eb15d) SHA1(b9235bd188c1251eb213789800b7686b5e3c557f))
|
||||
ROM_LOAD( "240c.716", 0x1000, 0x0800, CRC(60d115a8) SHA1(e970fdd7cbbb2c81ab8c8209edfb681798c683b9))
|
||||
|
||||
ROM_REGION(0x10000, "cpu2", 0)
|
||||
ROM_LOAD("gw240bot.rom", 0x3800, 0x0800, CRC(3245a206) SHA1(b321b2d276fbd74199eff2d8c0d1b8a2f5c93604))
|
||||
ROM_RELOAD(0xf800, 0x0800)
|
||||
@ -144,20 +690,23 @@ ROM_END
|
||||
/ Lady Sharpshooter (May 1985) - Cocktail Model #830
|
||||
/-------------------------------------------------------------------*/
|
||||
ROM_START(ladyshot)
|
||||
ROM_REGION(0x10000, "maincpu", 0)
|
||||
ROM_REGION(0x4000, "roms", 0)
|
||||
ROM_LOAD( "830a.716", 0x0000, 0x0800, CRC(c055b993) SHA1(a9a7156e5ec0a32db1ffe36b3c6280953a2606ff))
|
||||
ROM_LOAD( "830b.716", 0x0800, 0x0800, CRC(1e3308ea) SHA1(a5955a6a15b33c4cf35105ab524a8e7e03d748b6))
|
||||
ROM_LOAD( "830c.716", 0x1000, 0x0800, CRC(f5e1db15) SHA1(e8168ab37ba30211045fc96b23dad5f06592b38d))
|
||||
|
||||
ROM_REGION(0x10000, "cpu2", 0)
|
||||
ROM_LOAD ("830.snd", 0x3800, 0x0800, NO_DUMP)
|
||||
ROM_CONTINUE(0x7800, 0x0800)
|
||||
ROM_RELOAD (0xf000, 0x1000)
|
||||
ROM_END
|
||||
|
||||
ROM_START(ladyshota)
|
||||
ROM_REGION(0x10000, "maincpu", 0)
|
||||
ROM_REGION(0x4000, "roms", 0)
|
||||
ROM_LOAD( "830a2.716", 0x0000, 0x0800, CRC(2c1f1629) SHA1(9233ce4328d779ff6548cdd5d6819cd368bef313))
|
||||
ROM_LOAD( "830b2.716", 0x0800, 0x0800, CRC(2105a538) SHA1(0360d3e740d8b6f816cfe7fe1fb32ac476251b9f))
|
||||
ROM_LOAD( "830c2.716", 0x1000, 0x0800, CRC(2d96bdde) SHA1(7c03a29a91f03fba9ed5e53a93335113a7cbafb3))
|
||||
|
||||
ROM_REGION(0x10000, "cpu2", 0)
|
||||
ROM_LOAD ("830.snd", 0x3800, 0x0800, NO_DUMP)
|
||||
ROM_CONTINUE(0x7800, 0x0800)
|
||||
@ -165,17 +714,23 @@ ROM_START(ladyshota)
|
||||
ROM_END
|
||||
|
||||
/*-------------------------------------------------------------------
|
||||
/ Loch Ness Monster (November 1985) - Model #???
|
||||
/ Loch Ness Monster (November 1985) - Model #??? (prototype only)
|
||||
/-------------------------------------------------------------------*/
|
||||
|
||||
/*-------------------------------------------------------------------
|
||||
/ Mike Bossy (January 1982) - Model #???
|
||||
/ Mike Bossy (January 1982) - Model #??? (prototype only)
|
||||
/-------------------------------------------------------------------*/
|
||||
// These roms are widely available on the net, but is not complete (1800-1FFF is missing)
|
||||
// ROM_LOAD( "mb_a.716", 0x0000, 0x0800, CRC(a811f936) SHA1(f44fed7acd26a621f105925d52405e985d0b5e5d) )
|
||||
// ROM_LOAD( "mb_b.716", 0x0800, 0x0800, CRC(75ec7247) SHA1(10fa1e3ac2adbd7b24744a4fb0149bcc74df6b4c) )
|
||||
// ROM_LOAD( "mb_c.716", 0x1000, 0x0800, CRC(75dc73c4) SHA1(79fadec7650a1419f47b22875dee6f678114b439) )
|
||||
|
||||
ROM_START(mbossy)
|
||||
ROM_REGION(0x10000, "maincpu", 0)
|
||||
ROM_REGION(0x4000, "roms", 0)
|
||||
ROM_LOAD( "mb_a.716", 0x0000, 0x0800, NO_DUMP)
|
||||
ROM_LOAD( "mb_b.716", 0x0800, 0x0800, NO_DUMP)
|
||||
ROM_LOAD( "mb_c.716", 0x1000, 0x0800, NO_DUMP)
|
||||
|
||||
ROM_REGION(0x10000, "cpu2", 0)
|
||||
ROM_LOAD("mb.u9", 0x3800, 0x0800, CRC(dfa98db5) SHA1(65361630f530383e67837c428050bcdb15373c0b))
|
||||
ROM_RELOAD(0xf800, 0x0800)
|
||||
@ -186,7 +741,7 @@ ROM_END
|
||||
/ Old Coney Island! (December 1979) - Model #180
|
||||
/-------------------------------------------------------------------*/
|
||||
ROM_START(coneyis)
|
||||
ROM_REGION(0x10000, "maincpu", 0)
|
||||
ROM_REGION(0x4000, "roms", 0)
|
||||
ROM_LOAD( "130a.716", 0x0000, 0x0800, CRC(dc402b37) SHA1(90c46391a1e5f000f3b235d580463bf96b45bd3e))
|
||||
ROM_LOAD( "130b.716", 0x0800, 0x0800, CRC(19a86f5e) SHA1(bc4a87314fc9c4e74e492c3f6e44d5d6cae72939))
|
||||
ROM_LOAD( "130c.716", 0x1000, 0x0800, CRC(b956f67b) SHA1(ff64383d7f59e9bbec588553e35a21fb94c7203b))
|
||||
@ -196,10 +751,11 @@ ROM_END
|
||||
/ Pinball Lizard (June / July 1980) - Model #210
|
||||
/-------------------------------------------------------------------*/
|
||||
ROM_START(lizard)
|
||||
ROM_REGION(0x10000, "maincpu", 0)
|
||||
ROM_REGION(0x4000, "roms", 0)
|
||||
ROM_LOAD( "130a.716", 0x0000, 0x0800, CRC(dc402b37) SHA1(90c46391a1e5f000f3b235d580463bf96b45bd3e))
|
||||
ROM_LOAD( "130b.716", 0x0800, 0x0800, CRC(19a86f5e) SHA1(bc4a87314fc9c4e74e492c3f6e44d5d6cae72939))
|
||||
ROM_LOAD( "130c.716", 0x1000, 0x0800, CRC(b956f67b) SHA1(ff64383d7f59e9bbec588553e35a21fb94c7203b))
|
||||
|
||||
ROM_REGION(0x10000, "cpu2", 0)
|
||||
ROM_LOAD("lizard.u9", 0x3800, 0x0800, CRC(2d121b24) SHA1(55c16951538229571165c35a353da53e22d11f81))
|
||||
ROM_RELOAD(0xf800, 0x0800)
|
||||
@ -210,10 +766,11 @@ ROM_END
|
||||
/ Sharp Shooter II (November 1983) - Model #730
|
||||
/-------------------------------------------------------------------*/
|
||||
ROM_START(sshootr2)
|
||||
ROM_REGION(0x10000, "maincpu", 0)
|
||||
ROM_REGION(0x4000, "roms", 0)
|
||||
ROM_LOAD( "130a.716", 0x0000, 0x0800, CRC(dc402b37) SHA1(90c46391a1e5f000f3b235d580463bf96b45bd3e))
|
||||
ROM_LOAD( "130b.716", 0x0800, 0x0800, CRC(19a86f5e) SHA1(bc4a87314fc9c4e74e492c3f6e44d5d6cae72939))
|
||||
ROM_LOAD( "730c", 0x1000, 0x0800, CRC(d1af712b) SHA1(9dce2ec1c2d9630a29dd21f4685c09019e59b147))
|
||||
|
||||
ROM_REGION(0x10000, "cpu2", 0)
|
||||
ROM_LOAD("730u9.snd", 0x3800, 0x0800, CRC(dfa98db5) SHA1(65361630f530383e67837c428050bcdb15373c0b))
|
||||
ROM_RELOAD(0xf800, 0x0800)
|
||||
@ -224,7 +781,7 @@ ROM_END
|
||||
/ Sharpshooter (May 1979) - Model #130
|
||||
/-------------------------------------------------------------------*/
|
||||
ROM_START(sshootep)
|
||||
ROM_REGION(0x10000, "maincpu", 0)
|
||||
ROM_REGION(0x4000, "roms", 0)
|
||||
ROM_LOAD( "130a.716", 0x0000, 0x0800, CRC(dc402b37) SHA1(90c46391a1e5f000f3b235d580463bf96b45bd3e))
|
||||
ROM_LOAD( "130b.716", 0x0800, 0x0800, CRC(19a86f5e) SHA1(bc4a87314fc9c4e74e492c3f6e44d5d6cae72939))
|
||||
ROM_LOAD( "130c.716", 0x1000, 0x0800, CRC(b956f67b) SHA1(ff64383d7f59e9bbec588553e35a21fb94c7203b))
|
||||
@ -234,35 +791,31 @@ ROM_END
|
||||
/ Super Nova (May 1982) - Model #150
|
||||
/-------------------------------------------------------------------*/
|
||||
ROM_START(suprnova)
|
||||
ROM_REGION(0x10000, "maincpu", 0)
|
||||
ROM_REGION(0x4000, "roms", 0)
|
||||
ROM_LOAD( "130a.716", 0x0000, 0x0800, CRC(dc402b37) SHA1(90c46391a1e5f000f3b235d580463bf96b45bd3e))
|
||||
ROM_LOAD( "150b.716", 0x0800, 0x0800, CRC(8980a8bb) SHA1(129816fe85681b760307a713c667737a750b0c04))
|
||||
ROM_LOAD( "150c.716", 0x1000, 0x0800, CRC(6fe08f96) SHA1(1309619a2400674fa1d05dc9214fdb85419fd1c3))
|
||||
ROM_END
|
||||
|
||||
/*-------------------------------------------------------------------
|
||||
/ Vegas (August 1979) - Cocktail Model #140
|
||||
/-------------------------------------------------------------------*/
|
||||
ROM_START(vegasgp)
|
||||
ROM_REGION(0x10000, "maincpu", 0)
|
||||
ROM_LOAD( "140a.12", 0x0000, 0x0800, CRC(2c00bc19) SHA1(521d4b44f46dea0a08e90cd3aea5799462215863))
|
||||
ROM_LOAD( "140b.13", 0x0800, 0x0800, CRC(cf26d67b) SHA1(05481e880e23a7bc1d1716b52ac1effc0db437f2))
|
||||
ROM_END
|
||||
// GP1 dips
|
||||
GAME(1979, sshootep, 0, gp_2, gp_1, driver_device, 0, ROT0, "Game Plan", "Sharpshooter", GAME_MECHANICAL | GAME_IMPERFECT_SOUND )
|
||||
GAME(1979, coneyis, 0, gp_2, gp_1, driver_device, 0, ROT0, "Game Plan", "Old Coney Island!", GAME_MECHANICAL | GAME_IMPERFECT_SOUND )
|
||||
GAME(1980, lizard, 0, gp_2, gp_1, driver_device, 0, ROT0, "Game Plan", "Pinball Lizard", GAME_MECHANICAL | GAME_IMPERFECT_SOUND )
|
||||
GAME(1982, suprnova, 0, gp_2, gp_1, driver_device, 0, ROT0, "Game Plan", "Super Nova", GAME_MECHANICAL | GAME_IMPERFECT_SOUND )
|
||||
GAME(1983, sshootr2, 0, gp_2, gp_1, driver_device, 0, ROT0, "Game Plan", "Sharp Shooter II", GAME_MECHANICAL | GAME_IMPERFECT_SOUND )
|
||||
|
||||
// GP2 dips
|
||||
GAME(1981, gwarfare, 0, gp_2, gp_2, driver_device, 0, ROT0, "Game Plan", "Global Warfare", GAME_MECHANICAL | GAME_IMPERFECT_SOUND )
|
||||
GAME(1982, mbossy, 0, gp_2, gp_2, driver_device, 0, ROT0, "Game Plan", "Mike Bossy", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1984, attila, 0, gp_2, gp_2, driver_device, 0, ROT0, "Game Plan", "Attila The Hun", GAME_MECHANICAL | GAME_IMPERFECT_SOUND )
|
||||
|
||||
GAME(1984, agent777, 0, gp_2, gp_2, gp_2_state, gp_2, ROT0, "Game Plan", "Agents 777", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1985, andromep, 0, gp_2, gp_2, gp_2_state, gp_2, ROT0, "Game Plan", "Andromeda (set 1)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1985, andromepa, andromep, gp_2, gp_2, gp_2_state, gp_2, ROT0, "Game Plan", "Andromeda (set 2)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1984, attila, 0, gp_2, gp_2, gp_2_state, gp_2, ROT0, "Game Plan", "Attila The Hun", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1985, cpthook, 0, gp_2, gp_2, gp_2_state, gp_2, ROT0, "Game Plan", "Captain Hook", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1985, cyclopes, 0, gp_2, gp_2, gp_2_state, gp_2, ROT0, "Game Plan", "Cyclopes", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1981, gwarfare, 0, gp_2, gp_2, gp_2_state, gp_2, ROT0, "Game Plan", "Global Warfare", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1985, ladyshot, 0, gp_2, gp_2, gp_2_state, gp_2, ROT0, "Game Plan", "Lady Sharpshooter", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1985, ladyshota, ladyshot, gp_2, gp_2, gp_2_state, gp_2, ROT0, "Game Plan", "Lady Sharpshooter (alternate set)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1982, mbossy, 0, gp_2, gp_2, gp_2_state, gp_2, ROT0, "Game Plan", "Mike Bossy", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1979, coneyis, 0, gp_2, gp_2, gp_2_state, gp_2, ROT0, "Game Plan", "Old Coney Island!", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1980, lizard, 0, gp_2, gp_2, gp_2_state, gp_2, ROT0, "Game Plan", "Pinball Lizard", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1983, sshootr2, 0, gp_2, gp_2, gp_2_state, gp_2, ROT0, "Game Plan", "Sharp Shooter II", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1979, sshootep, 0, gp_2, gp_2, gp_2_state, gp_2, ROT0, "Game Plan", "Sharpshooter", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1982, suprnova, 0, gp_2, gp_2, gp_2_state, gp_2, ROT0, "Game Plan", "Super Nova", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1979, vegasgp, 0, gp_2, gp_2, gp_2_state, gp_2, ROT0, "Game Plan", "Vegas (Game Plan)", GAME_IS_SKELETON_MECHANICAL)
|
||||
// revolving match
|
||||
GAME(1984, agent777, 0, gp_2, gp_2, driver_device, 0, ROT0, "Game Plan", "Agents 777", GAME_MECHANICAL | GAME_IMPERFECT_SOUND )
|
||||
GAME(1985, cpthook, 0, gp_2, gp_2, driver_device, 0, ROT0, "Game Plan", "Captain Hook", GAME_MECHANICAL | GAME_IMPERFECT_SOUND )
|
||||
GAME(1985, ladyshot, 0, gp_2, gp_2, driver_device, 0, ROT0, "Game Plan", "Lady Sharpshooter (set 1)", GAME_MECHANICAL | GAME_IMPERFECT_SOUND )
|
||||
GAME(1985, ladyshota, ladyshot, gp_2, gp_2, driver_device, 0, ROT0, "Game Plan", "Lady Sharpshooter (set 2)", GAME_MECHANICAL | GAME_IMPERFECT_SOUND )
|
||||
|
||||
// credit (start) button not working
|
||||
GAME(1985, andromep, 0, gp_2, gp_2, driver_device, 0, ROT0, "Game Plan", "Andromeda (set 1)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1985, andromepa, andromep, gp_2, gp_2, driver_device, 0, ROT0, "Game Plan", "Andromeda (set 2)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1985, cyclopes, 0, gp_2, gp_2, driver_device, 0, ROT0, "Game Plan", "Cyclopes", GAME_IS_SKELETON_MECHANICAL)
|
||||
|
142
src/mame/layout/gp_2.lay
Normal file
142
src/mame/layout/gp_2.lay
Normal file
@ -0,0 +1,142 @@
|
||||
<!-- Game Plan 2 copied from gp_1.lay -->
|
||||
|
||||
<!-- 2014-07-24: Initial version. [Robbbert] -->
|
||||
|
||||
<mamelayout version="2">
|
||||
|
||||
<element name="digit" defstate="0">
|
||||
<led7seg>
|
||||
<color red="1.0" green="0.25" blue="0.0" />
|
||||
</led7seg>
|
||||
</element>
|
||||
<element name="red_led">
|
||||
<disk><color red="1.0" green="0.0" blue="0.0" /></disk>
|
||||
</element>
|
||||
<element name="background">
|
||||
<rect>
|
||||
<bounds left="0" top="0" right="1" bottom="1" />
|
||||
<color red="0.0" green="0.0" blue="0.0" />
|
||||
</rect>
|
||||
</element>
|
||||
<element name="P0"><text string="Ball"><color red="1.0" green="1.0" blue="1.0" /></text></element>
|
||||
<element name="P1"><text string="Credits"><color red="1.0" green="1.0" blue="1.0" /></text></element>
|
||||
<element name="P2"><text string="Match"><color red="1.0" green="1.0" blue="1.0" /></text></element>
|
||||
<element name="P3"><text string="Player 1"><color red="1.0" green="1.0" blue="1.0" /></text></element>
|
||||
<element name="P4"><text string="Player 2"><color red="1.0" green="1.0" blue="1.0" /></text></element>
|
||||
<element name="P5"><text string="Player 3"><color red="1.0" green="1.0" blue="1.0" /></text></element>
|
||||
<element name="P6"><text string="Player 4"><color red="1.0" green="1.0" blue="1.0" /></text></element>
|
||||
|
||||
<view name="Default Layout">
|
||||
|
||||
<!-- Background -->
|
||||
<backdrop element="background">
|
||||
<bounds left="0" top="20" right="274" bottom="394" />
|
||||
</backdrop>
|
||||
|
||||
<!-- LEDs -->
|
||||
|
||||
<!-- Player 1 Score -->
|
||||
|
||||
<bezel name="digit5" element="digit">
|
||||
<bounds left="10" top="45" right="44" bottom="84" />
|
||||
</bezel>
|
||||
<bezel name="digit4" element="digit">
|
||||
<bounds left="54" top="45" right="88" bottom="84" />
|
||||
</bezel>
|
||||
<bezel name="digit3" element="digit">
|
||||
<bounds left="98" top="45" right="132" bottom="84" />
|
||||
</bezel>
|
||||
<bezel name="digit2" element="digit">
|
||||
<bounds left="142" top="45" right="176" bottom="84" />
|
||||
</bezel>
|
||||
<bezel name="digit1" element="digit">
|
||||
<bounds left="186" top="45" right="220" bottom="84" />
|
||||
</bezel>
|
||||
<bezel name="digit0" element="digit">
|
||||
<bounds left="230" top="45" right="264" bottom="84" />
|
||||
</bezel>
|
||||
|
||||
<!-- Player 2 Score -->
|
||||
<bezel name="digit13" element="digit">
|
||||
<bounds left="10" top="105" right="44" bottom="144" />
|
||||
</bezel>
|
||||
<bezel name="digit12" element="digit">
|
||||
<bounds left="54" top="105" right="88" bottom="144" />
|
||||
</bezel>
|
||||
<bezel name="digit11" element="digit">
|
||||
<bounds left="98" top="105" right="132" bottom="144" />
|
||||
</bezel>
|
||||
<bezel name="digit10" element="digit">
|
||||
<bounds left="142" top="105" right="176" bottom="144" />
|
||||
</bezel>
|
||||
<bezel name="digit9" element="digit">
|
||||
<bounds left="186" top="105" right="220" bottom="144" />
|
||||
</bezel>
|
||||
<bezel name="digit8" element="digit">
|
||||
<bounds left="230" top="105" right="264" bottom="144" />
|
||||
</bezel>
|
||||
|
||||
<!-- Player 3 Score -->
|
||||
<bezel name="digit21" element="digit">
|
||||
<bounds left="10" top="165" right="44" bottom="204" />
|
||||
</bezel>
|
||||
<bezel name="digit20" element="digit">
|
||||
<bounds left="54" top="165" right="88" bottom="204" />
|
||||
</bezel>
|
||||
<bezel name="digit19" element="digit">
|
||||
<bounds left="98" top="165" right="132" bottom="204" />
|
||||
</bezel>
|
||||
<bezel name="digit18" element="digit">
|
||||
<bounds left="142" top="165" right="176" bottom="204" />
|
||||
</bezel>
|
||||
<bezel name="digit17" element="digit">
|
||||
<bounds left="186" top="165" right="220" bottom="204" />
|
||||
</bezel>
|
||||
<bezel name="digit16" element="digit">
|
||||
<bounds left="230" top="165" right="264" bottom="204" />
|
||||
</bezel>
|
||||
|
||||
<!-- Player 4 Score -->
|
||||
<bezel name="digit29" element="digit">
|
||||
<bounds left="10" top="225" right="44" bottom="264" />
|
||||
</bezel>
|
||||
<bezel name="digit28" element="digit">
|
||||
<bounds left="54" top="225" right="88" bottom="264" />
|
||||
</bezel>
|
||||
<bezel name="digit27" element="digit">
|
||||
<bounds left="98" top="225" right="132" bottom="264" />
|
||||
</bezel>
|
||||
<bezel name="digit26" element="digit">
|
||||
<bounds left="142" top="225" right="176" bottom="264" />
|
||||
</bezel>
|
||||
<bezel name="digit25" element="digit">
|
||||
<bounds left="186" top="225" right="220" bottom="264" />
|
||||
</bezel>
|
||||
<bezel name="digit24" element="digit">
|
||||
<bounds left="230" top="225" right="264" bottom="264" />
|
||||
</bezel>
|
||||
|
||||
<!-- Credits and Balls -->
|
||||
<bezel name="digit36" element="digit">
|
||||
<bounds left="39" top="345" right="73" bottom="384" />
|
||||
</bezel>
|
||||
<bezel name="digit37" element="digit">
|
||||
<bounds left="110" top="345" right="144" bottom="384" />
|
||||
</bezel>
|
||||
<bezel name="digit33" element="digit">
|
||||
<bounds left="171" top="345" right="205" bottom="384" />
|
||||
</bezel>
|
||||
<bezel name="digit32" element="digit">
|
||||
<bounds left="210" top="345" right="244" bottom="384" />
|
||||
</bezel>
|
||||
<bezel element="P2"><bounds left="100" right="158" top="330" bottom="342" /></bezel>
|
||||
<bezel element="P1"><bounds left="200" right="258" top="330" bottom="342" /></bezel>
|
||||
<bezel element="P0"><bounds left="30" right="88" top="330" bottom="342" /></bezel>
|
||||
<bezel name="text3" element="P3"><bounds left="100" right="180" top="30" bottom="42" /></bezel>
|
||||
<bezel name="text2" element="P4"><bounds left="100" right="180" top="90" bottom="102" /></bezel>
|
||||
<bezel name="text1" element="P5"><bounds left="100" right="180" top="150" bottom="162" /></bezel>
|
||||
<bezel name="text0" element="P6"><bounds left="100" right="180" top="210" bottom="222" /></bezel>
|
||||
<bezel name="led0" element="red_led">
|
||||
<bounds left="10" right="25" top="360" bottom="375" /></bezel>
|
||||
</view>
|
||||
</mamelayout>
|
@ -2604,6 +2604,7 @@ $(DRIVERS)/funworld.o: $(LAYOUT)/jollycrd.lh \
|
||||
|
||||
$(DRIVERS)/g627.o: $(LAYOUT)/g627.lh
|
||||
$(DRIVERS)/gp_1.o: $(LAYOUT)/gp_1.lh
|
||||
$(DRIVERS)/gp_2.o: $(LAYOUT)/gp_2.lh
|
||||
|
||||
$(DRIVERS)/galaxi.o: $(LAYOUT)/galaxi.lh
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user