Previous 199869 Revisions Next

r18841 Sunday 4th November, 2012 at 09:47:02 UTC by hap
luckily motor lock check is at the same address
[src/mame/drivers]gticlub.c

trunk/src/mame/drivers/gticlub.c
r18840r18841
259259   DECLARE_WRITE32_MEMBER(dsp_dataram0_w);
260260   DECLARE_READ32_MEMBER(dsp_dataram1_r);
261261   DECLARE_WRITE32_MEMBER(dsp_dataram1_w);
262   void init_hangplt_common();
263262   DECLARE_DRIVER_INIT(hangplt);
264   DECLARE_DRIVER_INIT(hangpltu);
265263   DECLARE_DRIVER_INIT(gticlub);
266264   DECLARE_MACHINE_START(gticlub);
267265   DECLARE_MACHINE_RESET(gticlub);
r18840r18841
12311229   ROM_LOAD32_WORD( "685a13.4w",  0x000002, 0x400000, CRC(06329af4) SHA1(76cad9db604751ce48bb67bfd29e57bac0ee9a16) )
12321230   ROM_LOAD32_WORD( "685a14.12w", 0x000000, 0x400000, CRC(87437739) SHA1(0d45637af40938a54d5efd29c125b0fafd55f9a4) )
12331231
1234   ROM_REGION16_BE( 0x200, "eeprom", 0 )
1235   ROM_LOAD( "hangplt.nv", 0x0000, 0x0200, CRC(35f482c8) SHA1(445918156770449dce1a010aab9d310f15670092) )
1232//   ROM_REGION16_BE( 0x200, "eeprom", 0 )
1233//   ROM_LOAD( "hangpltu.nv", 0x0000, 0x0200, CRC(x) SHA1(x) )
12361234ROM_END
12371235
12381236
r18840r18841
12451243   K001005_preprocess_texture_data(memregion("gfx1")->base(), memregion("gfx1")->bytes(), 1);
12461244}
12471245
1248void gticlub_state::init_hangplt_common()
1246DRIVER_INIT_MEMBER(gticlub_state,hangplt)
12491247{
12501248   init_konami_cgboard(machine(), 2, CGBOARD_TYPE_HANGPLT);
12511249   set_cgboard_texture_bank(machine(), 0, "bank5", memregion("user5")->base());
r18840r18841
12531251
12541252   m_sharc_dataram_0 = auto_alloc_array(machine(), UINT32, 0x100000/4);
12551253   m_sharc_dataram_1 = auto_alloc_array(machine(), UINT32, 0x100000/4);
1256}
12571254
1258DRIVER_INIT_MEMBER(gticlub_state,hangplt)
1259{
1260   init_hangplt_common();
1261
12621255   // workaround for lock/unlock errors
12631256   UINT32 *rom = (UINT32*)machine().root_device().memregion("user1")->base();
12641257   rom[(0x153ac^4) / 4] = 0x4e800020;
12651258   rom[(0x15428^4) / 4] = 0x4e800020;
12661259}
12671260
1268DRIVER_INIT_MEMBER(gticlub_state,hangpltu)
1269{
1270   init_hangplt_common();
1271
1272   // workaround for lock/unlock errors
1273   // TODO (game doesn't work yet)
1274}
1275
12761261/*************************************************************************/
12771262
12781263GAME( 1996, gticlub,  0,        gticlub,  gticlub,  gticlub_state, gticlub,  ROT0, "Konami", "GTI Club (ver EAA)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
r18840r18841
12831268GAME( 1996, thunderhu,thunderh, thunderh, thunderh, gticlub_state, gticlub,  ROT0, "Konami", "Operation Thunder Hurricane (ver UAA)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND )
12841269GAME( 1997, slrasslt, 0,        slrasslt, slrasslt, gticlub_state, gticlub,  ROT0, "Konami", "Solar Assault (ver UAA)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
12851270GAMEL(1997, hangplt,  0,        hangplt,  hangplt,  gticlub_state, hangplt,  ROT0, "Konami", "Hang Pilot (ver JAB)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND, layout_dualhovu )
1286GAMEL(1997, hangpltu, hangplt,  hangplt,  hangplt,  gticlub_state, hangpltu, ROT0, "Konami", "Hang Pilot (ver UAA)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND, layout_dualhovu )
1271GAMEL(1997, hangpltu, hangplt,  hangplt,  hangplt,  gticlub_state, hangplt, ROT0, "Konami", "Hang Pilot (ver UAA)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND, layout_dualhovu )

Previous 199869 Revisions Next


© 1997-2024 The MAME Team