Previous 199869 Revisions Next

r17615 Monday 3rd September, 2012 at 14:12:03 UTC by hap
Game promoted to working
--------------------------
F1 Super Lap [David Haywood]
[src/mame/drivers]segas32.c

trunk/src/mame/drivers/segas32.c
r17614r17615
77    Still to do:
88        * fix protection
99        * fix jpark correctly
10        * f1lap link
1011
1112****************************************************************************
1213
r17614r17615
350351 *************************************/
351352
352353#define MASTER_CLOCK      32215900
353#define RFC_CLOCK         50000000
354#define MULTI32_CLOCK      40000000
354#define RFC_CLOCK         XTAL_50MHz
355#define MULTI32_CLOCK      XTAL_40MHz
355356
356357#define TIMER_0_CLOCK      ((MASTER_CLOCK/2)/2048)   /* confirmed */
357358#define TIMER_1_CLOCK      ((RFC_CLOCK/16)/256)   /* confirmed */
r17614r17615
15661567   PORT_BIT( 0x30, IP_ACTIVE_LOW, IPT_UNUSED )
15671568
15681569   PORT_START("ANALOG1")
1569   PORT_BIT( 0xff, 0x80, IPT_PADDLE ) PORT_SENSITIVITY(30) PORT_KEYDELTA(10)
1570   PORT_BIT( 0xff, 0x80, IPT_PADDLE ) PORT_SENSITIVITY(50) PORT_KEYDELTA(10) PORT_NAME("Steering Wheel")
15701571
15711572   PORT_START("ANALOG2")
1572   PORT_BIT( 0xff, 0x00, IPT_PEDAL ) PORT_SENSITIVITY(30) PORT_KEYDELTA(10)
1573   PORT_BIT( 0xff, 0x00, IPT_PEDAL ) PORT_SENSITIVITY(50) PORT_KEYDELTA(10) PORT_NAME("Gas Pedal")
15731574
15741575   PORT_START("ANALOG3")
1575   PORT_BIT( 0xff, 0x00, IPT_PEDAL2 ) PORT_SENSITIVITY(30) PORT_KEYDELTA(10)
1576   PORT_BIT( 0xff, 0x00, IPT_PEDAL2 ) PORT_SENSITIVITY(50) PORT_KEYDELTA(10) PORT_NAME("Brake Pedal")
15761577INPUT_PORTS_END
15771578
15781579
15791580static INPUT_PORTS_START( f1lap )
1580   PORT_INCLUDE( f1en )
1581   PORT_INCLUDE( system32_generic )
15811582
15821583   PORT_MODIFY("P1_A")
15831584   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_SPACE) PORT_NAME("Gear Up")
15841585   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_LSHIFT) PORT_NAME("Gear Down")
1585   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_Z)
1586   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_Z) PORT_NAME("Overtake")
1587   PORT_BIT( 0xf8, IP_ACTIVE_LOW, IPT_UNUSED )
15861588
1589   PORT_MODIFY("P2_A")
1590   PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
1591
1592   PORT_MODIFY("SERVICE12_A")
1593   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED )
1594   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
1595
15871596   PORT_MODIFY("SERVICE34_A")
1597   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
1598   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
1599   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1600   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
1601   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
1602   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1603   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
1604   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
1605   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1606   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
1607   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
1608   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
15881609   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) ) // service coin mirror
15891610   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
15901611   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
r17614r17615
15941615   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
15951616   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
15961617   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1597   
1618
1619   PORT_START("ANALOG1")
1620   PORT_BIT( 0xff, 0x80, IPT_PADDLE ) PORT_SENSITIVITY(50) PORT_KEYDELTA(20) PORT_NAME("Steering Wheel")
1621
1622   PORT_START("ANALOG2")
1623   PORT_BIT( 0xff, 0x00, IPT_PEDAL  ) PORT_SENSITIVITY(50) PORT_KEYDELTA(20) PORT_NAME("Gas Pedal")
1624
1625   PORT_START("ANALOG3")
1626   PORT_BIT( 0xff, 0x00, IPT_PEDAL2 ) PORT_SENSITIVITY(50) PORT_KEYDELTA(20) PORT_NAME("Brake Pedal")
15981627INPUT_PORTS_END
15991628
16001629
r17614r17615
43784407GAME( 1992, darkedgej,darkedge, system32,     darkedge, segas32_state, darkedge, ROT0, "Sega",   "Dark Edge (Japan)", GAME_IMPERFECT_GRAPHICS )
43794408GAME( 1994, dbzvrvs,  0,        system32,     dbzvrvs, segas32_state,  dbzvrvs,  ROT0, "Sega / Banpresto", "Dragon Ball Z V.R.V.S.", GAME_IMPERFECT_GRAPHICS)
43804409GAME( 1991, f1en,     0,        system32,     f1en, segas32_state,     f1en,     ROT0, "Sega",   "F1 Exhaust Note", GAME_IMPERFECT_GRAPHICS )
4381GAME( 1993, f1lap,    0,        system32,     f1lap, segas32_state,    f1lap,    ROT0, "Sega",   "F1 Super Lap", GAME_NOT_WORKING )
4410GAME( 1993, f1lap,    0,        system32,     f1lap, segas32_state,    f1lap,    ROT0, "Sega",   "F1 Super Lap", GAME_IMPERFECT_GRAPHICS )
43824411GAME( 1992, ga2,      0,        system32_v25, ga2, segas32_state,      ga2,      ROT0, "Sega",   "Golden Axe: The Revenge of Death Adder (World)", GAME_IMPERFECT_GRAPHICS )
43834412GAME( 1992, ga2u,     ga2,      system32_v25, ga2u, segas32_state,     ga2,      ROT0, "Sega",   "Golden Axe: The Revenge of Death Adder (US)", GAME_IMPERFECT_GRAPHICS )
43844413GAME( 1992, ga2j,     ga2,      system32_v25, ga2, segas32_state,      ga2,      ROT0, "Sega",   "Golden Axe: The Revenge of Death Adder (Japan)", GAME_IMPERFECT_GRAPHICS )

Previous 199869 Revisions Next


© 1997-2024 The MAME Team