Esempio n. 1
0
  rs_inportData,		/* Keyboard Entries */
  { stTrough1, stTrough2, stTrough3, stTrough4, stDrain, stDrain, stDrain },	/*Position where balls start.. Max 7 Balls Allowed*/
  NULL, 				/* no init */
  rs_handleBallState,	/* Function to handle ball state changes */
  rs_drawStatic,		/* Function to handle mechanical state changes */
  TRUE, 				/* Simulate manual shooter? */
  NULL  				/* Custom key conditions? */
};

/*----------------------
/ Game Data Information
/----------------------*/
static core_tGameData rsGameData = {
  GEN_WPCSECURITY, wpc_dispDMD,
  {
    FLIP_SW(FLIP_L | FLIP_U) | FLIP_SOL(FLIP_L | FLIP_U), /* actually 3 left flippers */
    0,0,8,0,0,0,0,
    rs_getSol, rs_handleMech, rs_getMech, rs_drawMech,
    &rs_lampPos, rs_samsolmap
  },
  &rsSimData,
  {
    "524 123456 12345 123",
    /*Coin    1     2     3     4     5     6     7     8     9    10   Cab.  Cust */
    { 0x00, 0x12, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, /* inverted switches */
    /*Start    Tilt    SlamTilt    CoinDoor    Shooter */
    { swStart, swTilt, swSlamTilt, swCoinDoor, 0},
  }
};

/*---------------
Esempio n. 2
0
File: br.c Progetto: Bremma/pinmame
  br_inportData,			/* Keyboard Entries */
  { stRTrough, stCTrough, stLTrough, stDrain, stDrain, stDrain, stDrain },	/*Position where balls start.. Max 7 Balls Allowed*/
  NULL, 				/* no init */
  br_handleBallState,			/*Function to handle ball state changes*/
  br_drawStatic,			/*Function to handle mechanical state changes*/
  TRUE, 				/* Simulate manual shooter? */
  NULL  				/* Custom key conditions? */
};

/*----------------------
/ Game Data Information
/----------------------*/
static core_tGameData brGameData = {
  GEN_WPCFLIPTRON, wpc_dispDMD,
  {
    FLIP_SW(FLIP_L | FLIP_UR) | FLIP_SOL(FLIP_L | FLIP_UR),
    0,0,0,0,0,0,0,
    NULL, br_handleMech, br_getMech, br_drawMech,
    NULL, br_samsolmap
  },
  &brSimData,
  {
    "",
    /*Coin    1     2     3     4     5     6     7     8     9    10   Cab.  Cust */
  { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, /* inverted switches */
    /*Start    Tilt    SlamTilt    CoinDoor    Shooter */
  { swStart, swTilt, swSlamTilt, swCoinDoor, 0},
  }
};

/*---------------
Esempio n. 3
0
File: wcs.c Progetto: freezy/pinmame
/-----------*/
static sim_tSimData wcsSimData = {
  2,                   /* 2 input ports */
  wcs_stateDef,        /* stateData*/
  wcs_inportData,      /* inportData*/
  { stTrough1, stTrough2, stTrough3, stTrough4, stOuthole, stDrain, stDrain },
  NULL,                /* initSim */
  wcs_handleBallState, /* handleBallState*/
  wcs_drawStatic,      /* handleMech*/
  TRUE,                /* automatic plunger */
  NULL                 /* advanced key conditions */
};
static core_tGameData wcsGameData = {
  GEN_WPCSECURITY, wpc_dispDMD,
  {
    FLIP_SW(FLIP_L | FLIP_U) | FLIP_SOL(FLIP_L),
    0,0,0,0,0,0,0,
    wcs_getSol, wcs_handleMech, wcs_getMech, wcs_drawMech,
    &wcs_lampPos, NULL
  },
  &wcsSimData,
  {
    "531 123456 12345 123",
    /*Coin    1     2     3     4     5     6     7     8     9    10   Cab.  Cust */
    { 0x00, 0x00, 0x00, 0x3f, 0x1f, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, /* inverted switches */
    /*Start    Tilt    SlamTilt    CoinDoor    Shooter */
    { swStart, swTilt, swSlamTilt, swCoinDoor, 0}
  }
};

/*---------------
Esempio n. 4
0
MACHINE_DRIVER_END

INPUT_PORTS_START(mephisto)
CORE_PORTS
SIM_PORTS(1)
PORT_START /* 0 */
COREPORT_BIT(     0x0100, "Test", KEYCODE_0)
INPUT_PORTS_END

core_tLCDLayout mephisto_disp[] = {
    {0, 0, 0, 7,CORE_SEG8D}, {0,16, 7, 7,CORE_SEG8D},
    {3, 0,14, 7,CORE_SEG8D}, {3,16,21, 7,CORE_SEG8D},
    {6, 8,28, 2,CORE_SEG8D}, {6,14,30, 1,CORE_SEG8D}, {6,18,31, 2,CORE_SEG8D},
    {0}
};
static core_tGameData mephistoGameData = {0,mephisto_disp,{FLIP_SW(FLIP_L),0,24}};
static void init_mephisto(void) {
    core_gameData = &mephistoGameData;
}

ROM_START(mephisto)
NORMALREGION(0x1000000, REGION_CPU1)
ROM_LOAD("cpu_ver1.2", 0x00000, 0x8000, CRC(845c8eb4) SHA1(2a705629990950d4e2d3a66a95e9516cf112cc88))
ROM_RELOAD(0x08000, 0x8000)
ROM_RELOAD(0xf8000, 0x8000)
NORMALREGION(0x20000, REGION_CPU2)
ROM_LOAD("ic15_02", 0x00000, 0x8000, CRC(2accd446) SHA1(7297e4825c33e7cf23f86fe39a0242e74874b1e2))
NORMALREGION(0x40000, REGION_SOUND1)
ROM_LOAD("ic14_s0", 0x00000, 0x8000, CRC(7cea3018) SHA1(724fe7a4456cbf2ac01466d946668ee86f4410ae))
ROM_LOAD("ic13_s1", 0x08000, 0x8000, CRC(5a9e0f1d) SHA1(dbfd307706c51f8809f4867a199b4b62beb64379))
ROM_LOAD("ic12_s2", 0x10000, 0x8000, CRC(b3cc962a) SHA1(521376cab7e917a5d5f5f183bccb21bd13327c48))
Esempio n. 5
0
    COREPORT_BIT   (0x0040, "Key 7",      KEYCODE_7) \
    COREPORT_BIT   (0x0080, "Key 8",      KEYCODE_8) \
  INPUT_PORTS_END

static core_tLCDLayout dispEB[] = {
  { 0,0,48,2,CORE_SEG8D},{ 0,4,10,1,CORE_SEG8D},{ 0,6,51,3,CORE_SEG8D},{ 0,12,14,1,CORE_SEG7},{ 0,14,55,1,CORE_SEG8D},
  { 2,0,40,2,CORE_SEG8D},{ 2,4, 2,1,CORE_SEG8D},{ 2,6,43,3,CORE_SEG8D},{ 2,12, 6,1,CORE_SEG7},{ 2,14,47,1,CORE_SEG8D},
  { 4,0,32,2,CORE_SEG8D},{ 4,4,50,1,CORE_SEG8D},{ 4,6,35,3,CORE_SEG8D},{ 4,12,54,1,CORE_SEG7},{ 4,14,39,1,CORE_SEG8D},
  { 6,0,24,2,CORE_SEG8D},{ 6,4,42,1,CORE_SEG8D},{ 6,6,27,3,CORE_SEG8D},{ 6,12,46,1,CORE_SEG7},{ 6,14,31,1,CORE_SEG8D},
  { 8,0,16,2,CORE_SEG8D},{ 8,4,34,1,CORE_SEG8D},{ 8,6,19,3,CORE_SEG8D},{ 8,12,38,1,CORE_SEG7},{ 8,14,23,1,CORE_SEG8D},
  {10,0, 8,2,CORE_SEG8D},{10,4,26,1,CORE_SEG8D},{10,6,11,3,CORE_SEG8D},{10,12,30,1,CORE_SEG7},{10,14,15,1,CORE_SEG8D},
  {12,0, 0,2,CORE_SEG8D},{12,4,18,1,CORE_SEG8D},{12,6, 3,3,CORE_SEG8D},{12,12,22,1,CORE_SEG7},{12,14, 7,1,CORE_SEG8D},
  {0}
};

static core_tGameData ebalchmbGameData = {0,dispEB,{FLIP_SW(FLIP_L),0,1,0,SNDBRD_ZSU}};
static void init_ebalchmb(void) { core_gameData = &ebalchmbGameData; }
ROM_START(ebalchmb)
  NORMALREGION(0x10000, REGION_CPU1)
    ROM_LOAD("jeb_5a0.u18", 0x0000, 0x8000, CRC(87615a7d) SHA1(b27ca2d863040a2641f88f9bd3143467a83f181b))
  NORMALREGION(0x10000, REGION_CPU2)
    ROM_LOAD("ebe_2a0.u3", 0x0000, 0x8000, CRC(34be32ee) SHA1(ce0271540164639f28d617753760ecc479b6b0d0))
  NORMALREGION(0x20000, REGION_SOUND1)
    ROM_LOAD("ebe_1b0.u4", 0x0000, 0x8000, CRC(d696c4e8) SHA1(501e18c258e6d42819d25d72e1907984a6cfeecb))
    ROM_LOAD("ebe_1c0.u5", 0x8000, 0x8000, CRC(fe78d7ef) SHA1(ed91c51dd230854a007f88446011f786759687ca))
    ROM_LOAD("ebe_2d0.u6", 0x10000, 0x8000, CRC(a507081b) SHA1(72d025852a12f455981c61a405f97eaaac9c6fac))
ROM_END
EFO_COMPORTS(ebalchmb, 1)
CORE_GAMEDEFNV(ebalchmb, "Eight Ball Champ (Maibesa)", 198?, "Maibesa", EFO, GAME_NOT_WORKING)

static core_tGameData comebackGameData = {0,dispEB,{FLIP_SW(FLIP_L),0,1,0,SNDBRD_ZSU}};
Esempio n. 6
0
BY6803_ROMEND
#define input_ports_eballchp input_ports_by6803
CORE_GAMEDEFNV(eballchp,"Eight Ball Champ",1985,"Bally",by_mBY6803_61S,0)

INITGAME6803(eballch2,GEN_BY6803,dispBy7C,FLIP_SWNO(0,26),4,SNDBRD_BY45, BY6803_DISP7SEG)
BY6803_ROMSTARTx4(eballch2,"u3_cpu.128",CRC(025f3008) SHA1(25d310f169b92ce6b348330816ddc3b5710e57da))
BY45_SOUNDROM22(           "ebcu3.snd", NO_DUMP,
                           "ebcu4.snd", NO_DUMP)
BY6803_ROMEND
#define input_ports_eballch2 input_ports_by6803
CORE_CLONEDEFNV(eballch2,eballchp,"Eight Ball Champ (Cheap Squeek)",1985,"Bally",by_mBY6803_45S,0)

/*------------------------------------
/ Beat the Clock (6803-0C70: 11/85) - ??
/------------------------------------*/
INITGAME6803(beatclck,GEN_BY6803,dispBy7C,FLIP_SW(FLIP_L),4,SNDBRD_BY61, BY6803_DISP7SEG)
BY6803_ROMSTARTx4(beatclck,"btc_u3.cpu",CRC(9ba822ab) SHA1(f28d38411df3978bcaf24177fa1b47037a586cbb))
BY61_SOUNDROM0000(         "btc_u2.snd",CRC(fd22fd2a) SHA1(efad3b94e91d07930ada5366d389f35377dfbd99),
                           "btc_u3.snd",CRC(22311a4a) SHA1(2c22ba9228e44e68b9308b3bf8803edcd70fa5b9),
                           "btc_u4.snd",CRC(af1cf23b) SHA1(ebfa3afafd7850dfa2664d3c640fbfa631012455),
                           "btc_u5.snd",CRC(230cf329) SHA1(45b17a785b81cd5b1d7fdfb720cf1990994b52b7))
BY6803_ROMEND
#define input_ports_beatclck input_ports_by6803
CORE_GAMEDEFNV(beatclck,"Beat the Clock",1985,"Bally",by_mBY6803_61S,0)

INITGAME6803(beatclc2,GEN_BY6803,dispBy7C,FLIP_SW(FLIP_L),4,SNDBRD_BY61, BY6803_DISP7SEG)
BY6803_ROMSTARTx4(beatclc2,"btc_lights_pro_111385_c70-803-05_u3.cpu", CRC(dff5bad6) SHA1(915495d60be7ca12f00364b6e4b99c822ecfc7aa))
BY61_SOUNDROM0000(         "btc_u2.snd",CRC(fd22fd2a) SHA1(efad3b94e91d07930ada5366d389f35377dfbd99),
                           "btc_u3.snd",CRC(22311a4a) SHA1(2c22ba9228e44e68b9308b3bf8803edcd70fa5b9),
                           "btc_u4.snd",CRC(af1cf23b) SHA1(ebfa3afafd7850dfa2664d3c640fbfa631012455),
                           "btc_u5.snd",CRC(230cf329) SHA1(45b17a785b81cd5b1d7fdfb720cf1990994b52b7))
Esempio n. 7
0
INPUT_PORTS_START(name) \
  CORE_PORTS \
  SIM_PORTS(1) \
INPUT_PORTS_END

#define BY8035_ROMSTART(name, n1, chk1, n2, chk2, n3, chk3, n4, chk4) \
ROM_START(name) \
  NORMALREGION(0x10000, REGION_CPU1) \
    ROM_LOAD( n1, 0x4000, 0x0800, chk1) \
      ROM_RELOAD( 0x0000, 0x0800) \
    ROM_LOAD( n2, 0x1000, 0x1000, chk2) \
    ROM_LOAD( n3, 0x2000, 0x1000, chk3) \
    ROM_LOAD( n4, 0x3000, 0x0800, chk4) \
      ROM_RELOAD( 0x4800, 0x0800)

INITGAMEP0(kissp,FLIP_SW(FLIP_L),0)
BY8035_ROMSTART(kissp,"kiss8755.bin",CRC(894c1052) SHA1(579ce3c8ec374f2cd17928ab92311f035ecee341),
                      "kissprot.u5", CRC(38a2ef5a) SHA1(4ffdb2e9aa30417d506af3bc4b6835ba1dc80e4f),
                      "kissprot.u6", CRC(bcdfaf1d) SHA1(d21bebbf702b400eb71f8c88be50a180a5ac260a),
                      "kissprot.u7", CRC(d97da1d3) SHA1(da771a08969a12105c7adc9f9e3cbd1677971e79))
ROM_END
CORE_GAMEDEFNV(kissp,"Kiss (Prototype)",1979,"Bally",by8035,GAME_NOT_WORKING)

INITGAMEP0(kissp2,FLIP_SW(FLIP_L),0)
BY8035_ROMSTART(kissp2,"8755u8.dat", CRC(d2d04100) SHA1(fe81f3667cb5802c9780761a359660bad83862c2),
                      "kissprot.u5", CRC(38a2ef5a) SHA1(4ffdb2e9aa30417d506af3bc4b6835ba1dc80e4f),
                      "kissprot.u6", CRC(bcdfaf1d) SHA1(d21bebbf702b400eb71f8c88be50a180a5ac260a),
                      "u7.dat",      CRC(e224a9b0) SHA1(2a0e3afad8c566432ebe690ff1ce6fa92b68816f))
ROM_END
CORE_CLONEDEFNV(kissp2,kissp,"Kiss (Prototype v.2)",1979,"Bally",by8035,GAME_NOT_WORKING)
Esempio n. 8
0
static core_tLCDLayout inderDisp7a[] = {
    {0, 0, 1,7,CORE_SEG7}, {3, 0, 9,7,CORE_SEG7},
    {0,22,17,7,CORE_SEG7}, {3,22,25,7,CORE_SEG7},
    {1,20,34,2,CORE_SEG7S},{1,25,38,2,CORE_SEG7S},
    {3,20,41,1,CORE_SEG7S},
    {0}
};

// Hot and Cold (1978) - uses Recel System III
// Screech (1978) - uses Recel System III

/*-------------------------------------------------------------------
/ Centaur (1979)
/-------------------------------------------------------------------*/
INDER_INPUT_PORTS_START(centauri, 1) INDER_INPUT_PORTS_END
static core_tGameData centauriGameData = {GEN_INDER,inderDisp6,{FLIP_SW(FLIP_L)}};
static void init_centauri(void) {
    core_gameData = &centauriGameData;
}
INDER_ROMSTARTP(centauri,	"cent2.bin", CRC(4f1ad0bc) SHA1(0622c16520275e629eac27ae2575e4e433de56ed),
                "cent3.bin", CRC(f87abd63) SHA1(c3f48ffd46fad076fd064cbc0fdcc31641f5b1b6),
                "cent4.bin", CRC(b69e95b6) SHA1(2f053a5848110d084239e1fc960198b247b3b98e))
INDER_ROMEND
CORE_GAMEDEFNV(centauri,"Centaur (Inder)",1979,"Inder (Spain)",gl_mINDERP,GAME_NOT_WORKING)

// Topaz (1979)
// Skate Board (1980)

/*-------------------------------------------------------------------
/ Brave Team (1985)
/-------------------------------------------------------------------*/
Esempio n. 9
0
  pz_inportData,			/* Keyboard Entries */
  { stTrough1, stTrough2, stTrough3, stDrain, stDrain, stDrain, stDrain },	/*Position where balls start.. Max 7 Balls Allowed*/
  NULL, 				/* no init */
  pz_handleBallState,	/*Function to handle ball state changes*/
  pz_drawStatic,			/*Function to handle mechanical state changes*/
  TRUE, 				/* Simulate manual shooter? */
  NULL  				/* Custom key conditions? */
};

/*----------------------
/ Game Data Information
/----------------------*/
static core_tGameData pzGameData = {
  GEN_WPCFLIPTRON, wpc_dispDMD,
  {
    FLIP_SWNO(12,11) | FLIP_SW(FLIP_L) | FLIP_SOL(FLIP_L),
    0,0,0,0,0,0,0,
    NULL, pz_handleMech, pz_getMech, pz_drawMech,
    &pz_lampPos, pz_samsolmap
  },
  &pzSimData,
  {
    {0}, /* sNO */
    /*Coin    1     2     3     4     5     6     7     8     9    10   Cab.  Cust */
    { 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05 },
    /*Start    Tilt    SlamTilt    CoinDoor    Shooter */
    { swStart, swTilt, swSlamTilt, swCoinDoor, 0},
  }
};

/*---------------
Esempio n. 10
0
BYVP_ROMEND
CORE_GAMEDEFNVR90(babypac,"Baby Pac-Man (Video/Pinball Combo)",1982,"Bally",byVP_mVP1,0)

BYVP_ROMSTARTx00(babypacn,"pacmann.u2", CRC(734710cb) SHA1(040943be6e1f3a750f3b2c705833699ec5845a80),
                          "891-u6.732", CRC(6136d636) SHA1(c01a0a2fcad3bdabd649128e012ab558b1c90cd3),
                          "babyvidn.u9",CRC(e937eb02) SHA1(391c4e2c2cd22bb06e2b4a4cef1ddc08040b8c43),
                          "891-u10.764",CRC(28f4df8b) SHA1(bd6a3598c2c90b5a3a59327616d2f5b9940d98bc),
                          "891-u11.764",CRC(0a5967a4) SHA1(26d56ddea3f39d41e382449007bf7ba113c0285f),
                          "891-u12.764",CRC(58cfe542) SHA1(e024d14019866bd460d1da6b901f9b786a76a181),
                          "891-u29.764",CRC(0b57fd5d) SHA1(43a03e6d16c87c3305adb04722484f992f23a1bd))
BYVP_ROMEND
#define init_babypacn init_babypac
#define input_ports_babypacn input_ports_babypac
GAMEX(2006,babypacn,babypac,byVP1,babypac,babypac,ROT90,"Bally / Oliver","Baby Pac-Man (Video/Pinball Combo, Home Rom)",0)

/*-----------------------------------------------------------------
/ Granny and the Gators (Video/Pinball Combo) - (BY35-???: 01/84)
/----------------------------------------------------------------*/
INITGAMEVP(granny,byVP_dispGranny,FLIP_SW(FLIP_L),SNDBRD_BY45BP,1)
BYVP_ROMSTART100(granny,"cpu_u2.532",CRC(d45bb956) SHA1(86a6942ff9fe38fa109ecde40dc2dd19adf938a9),
                        "cpu_u6.532",CRC(306aa673) SHA1(422c3d9decf9214a18edb536c2077bf52b272e7d),
                        "vid_u4.764",CRC(3a3d4c6b) SHA1(a6c27eee178a4bde67004e11f6ddf3b6414571dd),
                        "vid_u5.764",CRC(78bcb0fb) SHA1(d9dc1cc1bef063d5fbdbf2d1daf793234a9c55a0),
                        "vid_u6.764",CRC(8d8220a6) SHA1(64aa7d6ef2702c1b9afc61528434caf56cb91396),
                        "vid_u7.764",CRC(aa71cf29) SHA1(b69cd4060f5d4d2a7f85d901552cdc987013fde2),
                        "vid_u8.764",CRC(a442bc01) SHA1(2c01123dc5799561ae9e7c5d6db588b82b5ae59c),
                        "vid_u9.764",CRC(6b67a1f7) SHA1(251c2b941898363bbd6ee1a94710e2b2938ec851),
                        "cs_u3.764", CRC(0a39a51d) SHA1(98342ba38e48578ce9870f2ee85b553d46c0e35f))
BYVP_ROMEND
CORE_GAMEDEFNV(granny,"Granny and the Gators (Video/Pinball Combo)",1984,"Bally",byVP_mVP2,0)