trunk/src/mame/drivers/gticlub.c
| r18646 | r18647 | |
| 31 | 31 | Operation Thunder Hurricane | GX792 | GN672(A) | GN678(B) | extra board for gun controls(?) |
| 32 | 32 | Solar Assault | GX680 | GN672(A) | GN678(B) | |
| 33 | 33 | |
| 34 | | Hang Pilot | GN685 | ?? | 2x ?? | 3dfx-based CG boards |
| 34 | Hang Pilot | GN685 | GN672(A) | 2x ?? | 3dfx-based CG boards |
| 35 | 35 | |
| 36 | 36 | |
| 37 | 37 | Konami 'GTI Club' Hardware |
| r18646 | r18647 | |
| 239 | 239 | { |
| 240 | 240 | public: |
| 241 | 241 | gticlub_state(const machine_config &mconfig, device_type type, const char *tag) |
| 242 | | : driver_device(mconfig, type, tag) , |
| 243 | | m_work_ram(*this, "work_ram"){ } |
| 242 | : driver_device(mconfig, type, tag), |
| 243 | m_work_ram(*this, "work_ram") |
| 244 | { } |
| 244 | 245 | |
| 245 | 246 | required_shared_ptr<UINT32> m_work_ram; |
| 246 | 247 | UINT32 *m_sharc_dataram_0; |
| r18646 | r18647 | |
| 258 | 259 | DECLARE_WRITE32_MEMBER(dsp_dataram0_w); |
| 259 | 260 | DECLARE_READ32_MEMBER(dsp_dataram1_r); |
| 260 | 261 | DECLARE_WRITE32_MEMBER(dsp_dataram1_w); |
| 262 | void init_hangplt_common(); |
| 261 | 263 | DECLARE_DRIVER_INIT(hangplt); |
| 264 | DECLARE_DRIVER_INIT(hangpltu); |
| 262 | 265 | DECLARE_DRIVER_INIT(gticlub); |
| 263 | 266 | DECLARE_MACHINE_START(gticlub); |
| 264 | 267 | DECLARE_MACHINE_RESET(gticlub); |
| r18646 | r18647 | |
| 1206 | 1209 | ROM_LOAD( "hangplt.nv", 0x0000, 0x0200, CRC(35f482c8) SHA1(445918156770449dce1a010aab9d310f15670092) ) |
| 1207 | 1210 | ROM_END |
| 1208 | 1211 | |
| 1212 | ROM_START( hangpltu ) /* USA version UAA */ |
| 1213 | ROM_REGION(0x200000, "user1", 0) /* PowerPC program roms */ |
| 1214 | ROM_LOAD32_BYTE( "685uaa01.21u", 0x000003, 0x080000, CRC(c970e5d9) SHA1(cee18cc71161c138ec8150d4ba01d31912482841) ) |
| 1215 | ROM_LOAD32_BYTE( "685uaa02.19u", 0x000002, 0x080000, CRC(765906d6) SHA1(9085a2346756b3b628fef91b7afc131aba434654) ) |
| 1216 | ROM_LOAD32_BYTE( "685uaa03.21r", 0x000001, 0x080000, CRC(cb0147a3) SHA1(7bcab760c01ea7e24f4ca5793e081aafa97f68a3) ) |
| 1217 | ROM_LOAD32_BYTE( "685uaa04.19r", 0x000000, 0x080000, CRC(a5fda56b) SHA1(4d86f488f411ec16fa3be830206a44214941d1fe) ) |
| 1218 | |
| 1219 | ROM_REGION32_BE(0x400000, "user2", 0) /* data roms */ |
| 1220 | ROM_LOAD32_WORD_SWAP( "685a05.14u", 0x000000, 0x200000, CRC(ba1c8f40) SHA1(ce4ed641c1d6d44447eaaada16f305f1d7fb9ee2) ) |
| 1221 | ROM_LOAD32_WORD_SWAP( "685a06.12u", 0x000002, 0x200000, CRC(2429935c) SHA1(4da9e169adcac81ea1bc135d727c2bd13ad372fa) ) |
| 1222 | |
| 1223 | ROM_REGION(0x80000, "audiocpu", 0) /* 68k program */ |
| 1224 | ROM_LOAD16_WORD_SWAP( "685a07.13k", 0x000000, 0x080000, CRC(5b72fd80) SHA1(a150837fa0d66dc0c3832495a4c8ce4f9b92cd98) ) |
| 1225 | |
| 1226 | ROM_REGION(0x1000000, "rfsnd", 0) /* sound roms */ |
| 1227 | ROM_LOAD( "685a09.9s", 0x000000, 0x400000, CRC(b8ae40aa) SHA1(eee27a8929e0e805f1045fd9638e661b36a1e3c7) ) |
| 1228 | ROM_LOAD( "685a10.7s", 0x400000, 0x400000, CRC(fef3dc36) SHA1(566c7469fc452b5965a31fa42291082ec8e48a24) ) |
| 1229 | |
| 1230 | ROM_REGION(0x800000, "user5", 0) /* texture roms */ |
| 1231 | ROM_LOAD32_WORD( "685a13.4w", 0x000002, 0x400000, CRC(06329af4) SHA1(76cad9db604751ce48bb67bfd29e57bac0ee9a16) ) |
| 1232 | ROM_LOAD32_WORD( "685a14.12w", 0x000000, 0x400000, CRC(87437739) SHA1(0d45637af40938a54d5efd29c125b0fafd55f9a4) ) |
| 1233 | |
| 1234 | ROM_REGION16_BE( 0x200, "eeprom", 0 ) |
| 1235 | ROM_LOAD( "hangplt.nv", 0x0000, 0x0200, CRC(35f482c8) SHA1(445918156770449dce1a010aab9d310f15670092) ) |
| 1236 | ROM_END |
| 1237 | |
| 1238 | |
| 1209 | 1239 | DRIVER_INIT_MEMBER(gticlub_state,gticlub) |
| 1210 | 1240 | { |
| 1211 | | |
| 1212 | 1241 | init_konami_cgboard(machine(), 1, CGBOARD_TYPE_GTICLUB); |
| 1213 | 1242 | |
| 1214 | 1243 | m_sharc_dataram_0 = auto_alloc_array(machine(), UINT32, 0x100000/4); |
| r18646 | r18647 | |
| 1216 | 1245 | K001005_preprocess_texture_data(memregion("gfx1")->base(), memregion("gfx1")->bytes(), 1); |
| 1217 | 1246 | } |
| 1218 | 1247 | |
| 1219 | | DRIVER_INIT_MEMBER(gticlub_state,hangplt) |
| 1248 | void gticlub_state::init_hangplt_common() |
| 1220 | 1249 | { |
| 1221 | | |
| 1222 | 1250 | init_konami_cgboard(machine(), 2, CGBOARD_TYPE_HANGPLT); |
| 1223 | 1251 | set_cgboard_texture_bank(machine(), 0, "bank5", memregion("user5")->base()); |
| 1224 | 1252 | set_cgboard_texture_bank(machine(), 1, "bank6", memregion("user5")->base()); |
| 1225 | 1253 | |
| 1226 | 1254 | m_sharc_dataram_0 = auto_alloc_array(machine(), UINT32, 0x100000/4); |
| 1227 | 1255 | m_sharc_dataram_1 = auto_alloc_array(machine(), UINT32, 0x100000/4); |
| 1256 | } |
| 1228 | 1257 | |
| 1258 | DRIVER_INIT_MEMBER(gticlub_state,hangplt) |
| 1259 | { |
| 1260 | init_hangplt_common(); |
| 1261 | |
| 1229 | 1262 | // workaround for lock/unlock errors |
| 1230 | 1263 | UINT32 *rom = (UINT32*)machine().root_device().memregion("user1")->base(); |
| 1231 | 1264 | rom[(0x153ac^4) / 4] = 0x4e800020; |
| 1232 | 1265 | rom[(0x15428^4) / 4] = 0x4e800020; |
| 1233 | 1266 | } |
| 1234 | 1267 | |
| 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 | |
| 1235 | 1276 | /*************************************************************************/ |
| 1236 | 1277 | |
| 1237 | | GAME( 1996, gticlub, 0, gticlub, gticlub, gticlub_state, gticlub, ROT0, "Konami", "GTI Club (ver EAA)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 1238 | | GAME( 1996, gticlubu, gticlub, gticlub, gticlub, gticlub_state, gticlub, ROT0, "Konami", "GTI Club (ver UAA)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 1239 | | GAME( 1996, gticluba, gticlub, gticlub, gticlub, gticlub_state, gticlub, ROT0, "Konami", "GTI Club (ver AAA)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 1240 | | GAME( 1996, gticlubj, gticlub, gticlub, gticlub, gticlub_state, gticlub, ROT0, "Konami", "GTI Club (ver JAA)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 1241 | | GAME( 1996, thunderh, 0, thunderh, thunderh, gticlub_state, gticlub, ROT0, "Konami", "Operation Thunder Hurricane (ver EAA)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND ) |
| 1242 | | GAME( 1996, thunderhu,thunderh, thunderh, thunderh, gticlub_state, gticlub, ROT0, "Konami", "Operation Thunder Hurricane (ver UAA)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND ) |
| 1243 | | GAME( 1997, slrasslt, 0, slrasslt, slrasslt, gticlub_state, gticlub, ROT0, "Konami", "Solar Assault (ver UAA)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 1244 | | GAMEL( 1997, hangplt, 0, hangplt, hangplt, gticlub_state, hangplt, ROT0, "Konami", "Hang Pilot", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND, layout_dualhovu ) |
| 1278 | GAME( 1996, gticlub, 0, gticlub, gticlub, gticlub_state, gticlub, ROT0, "Konami", "GTI Club (ver EAA)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 1279 | GAME( 1996, gticlubu, gticlub, gticlub, gticlub, gticlub_state, gticlub, ROT0, "Konami", "GTI Club (ver UAA)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 1280 | GAME( 1996, gticluba, gticlub, gticlub, gticlub, gticlub_state, gticlub, ROT0, "Konami", "GTI Club (ver AAA)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 1281 | GAME( 1996, gticlubj, gticlub, gticlub, gticlub, gticlub_state, gticlub, ROT0, "Konami", "GTI Club (ver JAA)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 1282 | GAME( 1996, thunderh, 0, thunderh, thunderh, gticlub_state, gticlub, ROT0, "Konami", "Operation Thunder Hurricane (ver EAA)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND ) |
| 1283 | GAME( 1996, thunderhu,thunderh, thunderh, thunderh, gticlub_state, gticlub, ROT0, "Konami", "Operation Thunder Hurricane (ver UAA)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND ) |
| 1284 | GAME( 1997, slrasslt, 0, slrasslt, slrasslt, gticlub_state, gticlub, ROT0, "Konami", "Solar Assault (ver UAA)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) |
| 1285 | 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 ) |