trunk/src/mame/drivers/gticlub.c
| r18864 | r18865 | |
| 259 | 259 | DECLARE_WRITE32_MEMBER(dsp_dataram0_w); |
| 260 | 260 | DECLARE_READ32_MEMBER(dsp_dataram1_r); |
| 261 | 261 | DECLARE_WRITE32_MEMBER(dsp_dataram1_w); |
| 262 | void init_hangplt_common(); |
| 262 | 263 | DECLARE_DRIVER_INIT(hangplt); |
| 264 | DECLARE_DRIVER_INIT(hangpltu); |
| 263 | 265 | DECLARE_DRIVER_INIT(gticlub); |
| 264 | 266 | DECLARE_MACHINE_START(gticlub); |
| 265 | 267 | DECLARE_MACHINE_RESET(gticlub); |
| r18864 | r18865 | |
| 1229 | 1231 | ROM_LOAD32_WORD( "685a13.4w", 0x000002, 0x400000, CRC(06329af4) SHA1(76cad9db604751ce48bb67bfd29e57bac0ee9a16) ) |
| 1230 | 1232 | ROM_LOAD32_WORD( "685a14.12w", 0x000000, 0x400000, CRC(87437739) SHA1(0d45637af40938a54d5efd29c125b0fafd55f9a4) ) |
| 1231 | 1233 | |
| 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) ) |
| 1234 | 1236 | ROM_END |
| 1235 | 1237 | |
| 1236 | 1238 | |
| r18864 | r18865 | |
| 1243 | 1245 | K001005_preprocess_texture_data(memregion("gfx1")->base(), memregion("gfx1")->bytes(), 1); |
| 1244 | 1246 | } |
| 1245 | 1247 | |
| 1246 | | DRIVER_INIT_MEMBER(gticlub_state,hangplt) |
| 1248 | void gticlub_state::init_hangplt_common() |
| 1247 | 1249 | { |
| 1248 | 1250 | init_konami_cgboard(machine(), 2, CGBOARD_TYPE_HANGPLT); |
| 1249 | 1251 | set_cgboard_texture_bank(machine(), 0, "bank5", memregion("user5")->base()); |
| r18864 | r18865 | |
| 1251 | 1253 | |
| 1252 | 1254 | m_sharc_dataram_0 = auto_alloc_array(machine(), UINT32, 0x100000/4); |
| 1253 | 1255 | m_sharc_dataram_1 = auto_alloc_array(machine(), UINT32, 0x100000/4); |
| 1256 | } |
| 1254 | 1257 | |
| 1258 | DRIVER_INIT_MEMBER(gticlub_state,hangplt) |
| 1259 | { |
| 1260 | init_hangplt_common(); |
| 1261 | |
| 1255 | 1262 | // workaround for lock/unlock errors |
| 1256 | 1263 | UINT32 *rom = (UINT32*)machine().root_device().memregion("user1")->base(); |
| 1257 | 1264 | rom[(0x153ac^4) / 4] = 0x4e800020; |
| 1258 | 1265 | rom[(0x15428^4) / 4] = 0x4e800020; |
| 1259 | 1266 | } |
| 1260 | 1267 | |
| 1268 | DRIVER_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 | |
| 1261 | 1278 | /*************************************************************************/ |
| 1262 | 1279 | |
| 1263 | 1280 | GAME( 1996, gticlub, 0, gticlub, gticlub, gticlub_state, gticlub, ROT0, "Konami", "GTI Club (ver EAA)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| r18864 | r18865 | |
| 1268 | 1285 | GAME( 1996, thunderhu,thunderh, thunderh, thunderh, gticlub_state, gticlub, ROT0, "Konami", "Operation Thunder Hurricane (ver UAA)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND ) |
| 1269 | 1286 | GAME( 1997, slrasslt, 0, slrasslt, slrasslt, gticlub_state, gticlub, ROT0, "Konami", "Solar Assault (ver UAA)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 1270 | 1287 | GAMEL(1997, hangplt, 0, hangplt, hangplt, gticlub_state, hangplt, ROT0, "Konami", "Hang Pilot (ver JAB)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND, layout_dualhovu ) |
| 1271 | | GAMEL(1997, hangpltu, hangplt, hangplt, hangplt, gticlub_state, hangplt, ROT0, "Konami", "Hang Pilot (ver UAA)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND, layout_dualhovu ) |
| 1288 | GAMEL(1997, hangpltu, hangplt, hangplt, hangplt, gticlub_state, hangpltu, ROT0, "Konami", "Hang Pilot (ver UAA)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND, layout_dualhovu ) |