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