Previous 199869 Revisions Next

r18865 Monday 5th November, 2012 at 17:00:55 UTC by hap
one of the lock/unlock checks was at another address anyway
[src/mame/drivers]gticlub.c

trunk/src/mame/drivers/gticlub.c
r18864r18865
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();
262263   DECLARE_DRIVER_INIT(hangplt);
264   DECLARE_DRIVER_INIT(hangpltu);
263265   DECLARE_DRIVER_INIT(gticlub);
264266   DECLARE_MACHINE_START(gticlub);
265267   DECLARE_MACHINE_RESET(gticlub);
r18864r18865
12291231   ROM_LOAD32_WORD( "685a13.4w",  0x000002, 0x400000, CRC(06329af4) SHA1(76cad9db604751ce48bb67bfd29e57bac0ee9a16) )
12301232   ROM_LOAD32_WORD( "685a14.12w", 0x000000, 0x400000, CRC(87437739) SHA1(0d45637af40938a54d5efd29c125b0fafd55f9a4) )
12311233
1232//   ROM_REGION16_BE( 0x200, "eeprom", 0 )
1233//   ROM_LOAD( "hangpltu.nv", 0x0000, 0x0200, CRC(x) SHA1(x) )
1234   ROM_REGION16_BE( 0x200, "eeprom", 0 )
1235   ROM_LOAD( "hangpltu.nv", 0x0000, 0x0200, CRC(8d74baf0) SHA1(297c0a064c6f8f8281d566629d896b49c6e85096) )
12341236ROM_END
12351237
12361238
r18864r18865
12431245   K001005_preprocess_texture_data(memregion("gfx1")->base(), memregion("gfx1")->bytes(), 1);
12441246}
12451247
1246DRIVER_INIT_MEMBER(gticlub_state,hangplt)
1248void gticlub_state::init_hangplt_common()
12471249{
12481250   init_konami_cgboard(machine(), 2, CGBOARD_TYPE_HANGPLT);
12491251   set_cgboard_texture_bank(machine(), 0, "bank5", memregion("user5")->base());
r18864r18865
12511253
12521254   m_sharc_dataram_0 = auto_alloc_array(machine(), UINT32, 0x100000/4);
12531255   m_sharc_dataram_1 = auto_alloc_array(machine(), UINT32, 0x100000/4);
1256}
12541257
1258DRIVER_INIT_MEMBER(gticlub_state,hangplt)
1259{
1260   init_hangplt_common();
1261
12551262   // workaround for lock/unlock errors
12561263   UINT32 *rom = (UINT32*)machine().root_device().memregion("user1")->base();
12571264   rom[(0x153ac^4) / 4] = 0x4e800020;
12581265   rom[(0x15428^4) / 4] = 0x4e800020;
12591266}
12601267
1268DRIVER_INIT_MEMBER(gticlub_state,hangpltu)
1269{
1270   init_hangplt_common();
1271
1272   // workaround for lock/unlock errors
1273   UINT32 *rom = (UINT32*)machine().root_device().memregion("user1")->base();
1274   rom[(0x153d0^4) / 4] = 0x4e800020;
1275   rom[(0x15428^4) / 4] = 0x4e800020;
1276}
1277
12611278/*************************************************************************/
12621279
12631280GAME( 1996, gticlub,  0,        gticlub,  gticlub,  gticlub_state, gticlub,  ROT0, "Konami", "GTI Club (ver EAA)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
r18864r18865
12681285GAME( 1996, thunderhu,thunderh, thunderh, thunderh, gticlub_state, gticlub,  ROT0, "Konami", "Operation Thunder Hurricane (ver UAA)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND )
12691286GAME( 1997, slrasslt, 0,        slrasslt, slrasslt, gticlub_state, gticlub,  ROT0, "Konami", "Solar Assault (ver UAA)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
12701287GAMEL(1997, hangplt,  0,        hangplt,  hangplt,  gticlub_state, hangplt,  ROT0, "Konami", "Hang Pilot (ver JAB)", 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 )
1288GAMEL(1997, hangpltu, hangplt,  hangplt,  hangplt,  gticlub_state, hangpltu, ROT0, "Konami", "Hang Pilot (ver UAA)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND, layout_dualhovu )

Previous 199869 Revisions Next


© 1997-2024 The MAME Team