src/mess/drivers/genesis.c
| r4715 | r4716 | |
| 299 | 299 | INPUT_PORTS_END |
| 300 | 300 | |
| 301 | 301 | |
| 302 | | static INPUT_PORTS_START( md_svp ) |
| 302 | /* MegaDrive inputs + Fake Region Selection */ |
| 303 | /* We need this as long as we only have the US version of the SVP add-on, otherwise we could not play |
| 304 | Non-US Virtua Racing versions. It is also handy to develop add-ons emulation without adding each |
| 305 | region variants, while they do not even work. Once emulation is working this must disappear. */ |
| 306 | static INPUT_PORTS_START( md_sel ) |
| 303 | 307 | PORT_INCLUDE( md ) |
| 304 | 308 | |
| 305 | | /* We need this as long as we only have the US version of the SVP add-on, |
| 306 | | otherwise we could not play Non-US Virtua Racing versions */ |
| 307 | 309 | PORT_START("REGION") |
| 308 | 310 | /* Region setting for Console */ |
| 309 | 311 | PORT_CONFNAME( 0x000f, 0x0000, DEF_STR( Region ) ) |
| r4715 | r4716 | |
| 316 | 318 | |
| 317 | 319 | /************************************* |
| 318 | 320 | * |
| 319 | | * machine driver |
| 321 | * Machine driver |
| 320 | 322 | * |
| 321 | 323 | *************************************/ |
| 322 | 324 | |
| r4715 | r4716 | |
| 414 | 416 | DRIVER_INIT_CALL(mess_md_common); |
| 415 | 417 | } |
| 416 | 418 | |
| 419 | /****************************************** SegaCD & 32X emulation ****************************************/ |
| 420 | |
| 421 | /* Very preliminary skeleton code from David Haywood, borrowed for MESS by Fabio Priuli */ |
| 422 | /* These are only included to document BIOS informations currently available */ |
| 423 | |
| 424 | static DRIVER_INIT( mess_32x ) |
| 425 | { |
| 426 | DRIVER_INIT_CALL(_32x); |
| 427 | DRIVER_INIT_CALL(mess_md_common); |
| 428 | } |
| 429 | |
| 430 | ROM_START( 32x ) |
| 431 | ROM_REGION16_BE( 0x400000, "gamecart", ROMREGION_ERASE00 ) /* 68000 Code */ |
| 432 | |
| 433 | ROM_REGION32_BE( 0x400000, "gamecart_sh2", 0 ) /* Copy for the SH2 */ |
| 434 | ROM_COPY( "gamecart", 0x000000, 0x000000, 0x400000) |
| 435 | |
| 436 | ROM_REGION16_BE( 0x400000, "32x_68k_bios", 0 ) /* 68000 Code */ |
| 437 | ROM_LOAD( "32x_g_bios.bin", 0x000000, 0x000100, CRC(5c12eae8) SHA1(dbebd76a448447cb6e524ac3cb0fd19fc065d944) ) |
| 438 | |
| 439 | ROM_REGION16_BE( 0x400000, "maincpu", ROMREGION_ERASE00 ) |
| 440 | // temp, rom should only be visible here when one of the regs is set, tempo needs it |
| 441 | ROM_COPY( "gamecart", 0x0, 0x0, 0x400000) |
| 442 | ROM_COPY( "32x_68k_bios", 0x0, 0x0, 0x100) |
| 443 | |
| 444 | ROM_REGION( 0x400000, "32x_master_sh2", 0 ) /* SH2 Code */ |
| 445 | ROM_LOAD( "32x_m_bios.bin", 0x000000, 0x000800, CRC(dd9c46b8) SHA1(1e5b0b2441a4979b6966d942b20cc76c413b8c5e) ) |
| 446 | |
| 447 | ROM_REGION( 0x400000, "32x_slave_sh2", 0 ) /* SH2 Code */ |
| 448 | ROM_LOAD( "32x_s_bios.bin", 0x000000, 0x000400, CRC(bfda1fe5) SHA1(4103668c1bbd66c5e24558e73d4f3f92061a109a) ) |
| 449 | ROM_END |
| 450 | |
| 451 | /* We need proper names for these BIOS ROMs! */ |
| 452 | ROM_START( megacd ) |
| 453 | ROM_REGION16_BE( 0x400000, "maincpu", ROMREGION_ERASE00 ) |
| 454 | ROM_SYSTEM_BIOS(0, "v200w", "Model 2 v2.00W") // confirmed good dump |
| 455 | ROMX_LOAD( "megacd_model2_bios_2_00w_e.bin", 0x000000, 0x020000, CRC(4d5cb8da) SHA1(f5f60f03501908962446ee02fc27d98694dd157d), ROM_BIOS(1) ) |
| 456 | ROM_SYSTEM_BIOS(1, "v100", "Model 1 v1.00") // confirmed good dump |
| 457 | ROMX_LOAD( "megacd_model1_bios_1_00_e.bin", 0x000000, 0x020000, CRC(529ac15a) SHA1(f891e0ea651e2232af0c5c4cb46a0cae2ee8f356), ROM_BIOS(2) ) |
| 458 | ROM_SYSTEM_BIOS(2, "v200", "Model 2 v2.00") |
| 459 | ROMX_LOAD( "megacd_model2_bios_2_00_e.bin", 0x000000, 0x020000, CRC(0507b590) SHA1(7063192ae9f6b696c5b81bc8f0a9fe6f0c400e58), ROM_BIOS(3) ) |
| 460 | ROM_SYSTEM_BIOS(3, "v221", "Multi-Mega v2.21") // confirmed good dump |
| 461 | ROMX_LOAD( "multimega_bios_2_21_e.bin", 0x000000, 0x020000, CRC(34d3cce1) SHA1(73fc9c014ad803e9e7d8076b3642a8a5224b3e51), ROM_BIOS(4) ) |
| 462 | ROM_END |
| 463 | |
| 464 | ROM_START( megacdj ) |
| 465 | ROM_REGION16_BE( 0x400000, "maincpu", ROMREGION_ERASE00 ) |
| 466 | ROM_SYSTEM_BIOS(0, "v200", "Model 2 v2.00") |
| 467 | ROMX_LOAD( "megacd_model2_bios_2_00_j.bin", 0x000000, 0x020000, CRC(f116793c) SHA1(dc68146ad1ff50faeeb2a3f685fab1a2961dabb2), ROM_BIOS(1) ) |
| 468 | ROM_SYSTEM_BIOS(1, "v100p", "Model 1 v1.00P") |
| 469 | ROMX_LOAD( "megacd_model1_bios_1_00p_j.bin", 0x000000, 0x020000, CRC(9d2da8f2) SHA1(4846f448160059a7da0215a5df12ca160f26dd69), ROM_BIOS(2) ) |
| 470 | ROM_SYSTEM_BIOS(2, "v100s", "Model 1 v1.00S") |
| 471 | ROMX_LOAD( "megacd_model1_bios_1_00s_j.bin", 0x000000, 0x020000, CRC(550f30bb) SHA1(e4193c6ae44c3cea002707d2a88f1fbcced664de), ROM_BIOS(3) ) |
| 472 | ROM_SYSTEM_BIOS(3, "v102las", "Pioneer LaserActive v1.02") |
| 473 | ROMX_LOAD( "laseractive_bios_1_02_j.bin", 0x000000, 0x020000, CRC(00eedb3a) SHA1(26237b333db4a4c6770297fa5e655ea95840d5d9), ROM_BIOS(4) ) |
| 474 | ROM_SYSTEM_BIOS(4, "xeye", "JVC X'eye") |
| 475 | ROMX_LOAD( "xeye_bios_j.bin", 0x000000, 0x020000, CRC(290f8e33) SHA1(651f14d5a5e0ecb974a60c0f43b1d2006323fb09), ROM_BIOS(5) ) |
| 476 | ROM_END |
| 477 | |
| 478 | ROM_START( segacd ) |
| 479 | ROM_REGION16_BE( 0x400000, "maincpu", ROMREGION_ERASE00 ) |
| 480 | ROM_SYSTEM_BIOS(0, "v211", "Model 2 v2.11") |
| 481 | ROMX_LOAD( "segacd_model2_bios_2_11_u.bin", 0x000000, 0x020000, CRC(2e49d72c) SHA1(328a3228c29fba244b9db2055adc1ec4f7a87e6b), ROM_BIOS(1) ) |
| 482 | ROM_SYSTEM_BIOS(1, "v110", "Model 1 v1.10") |
| 483 | ROMX_LOAD( "segacd_model1_bios_1_10_u.bin", 0x000000, 0x020000, CRC(c6d10268) SHA1(f4f315adcef9b8feb0364c21ab7f0eaf5457f3ed), ROM_BIOS(2) ) |
| 484 | ROM_SYSTEM_BIOS(2, "v200", "Model 2 v2.00") |
| 485 | ROMX_LOAD( "segacd_model2_bios_2_00_u.bin", 0x000000, 0x020000, CRC(340b4be4) SHA1(bd3ee0c8ab732468748bf98953603ce772612704), ROM_BIOS(3) ) |
| 486 | ROM_SYSTEM_BIOS(3, "v200w", "Model 2 v2.00W") |
| 487 | ROMX_LOAD( "segacd_model2_bios_2_00w_u.bin", 0x000000, 0x020000, CRC(9f6f6276) SHA1(5adb6c3af218c60868e6b723ec47e36bbdf5e6f0), ROM_BIOS(4) ) |
| 488 | ROM_SYSTEM_BIOS(4, "v102las", "Pioneer LaserActive v1.02") |
| 489 | ROMX_LOAD( "laseractive_bios_1_02_u.bin", 0x000000, 0x020000, CRC(3b10cf41) SHA1(8af162223bb12fc19b414f126022910372790103), ROM_BIOS(5) ) |
| 490 | ROM_SYSTEM_BIOS(5, "v221", "CDX v2.21") |
| 491 | ROMX_LOAD( "segacdx_bios_2_21_u.bin", 0x000000, 0x020000, CRC(d48c44b5) SHA1(2b125c0545afa089b617f2558e686ea723bdc06e), ROM_BIOS(6) ) |
| 492 | ROM_END |
| 493 | |
| 494 | /* some games use the 32x and SegaCD together to give better quality FMV */ |
| 495 | ROM_START( 32x_scd ) |
| 496 | ROM_REGION16_BE( 0x400000, "maincpu", ROMREGION_ERASE00 ) |
| 497 | |
| 498 | ROM_REGION16_BE( 0x400000, "gamecart", 0 ) /* 68000 Code */ |
| 499 | ROM_LOAD( "segacd_model2_bios_2_11_u.bin", 0x000000, 0x020000, CRC(2e49d72c) SHA1(328a3228c29fba244b9db2055adc1ec4f7a87e6b) ) |
| 500 | |
| 501 | ROM_REGION32_BE( 0x400000, "gamecart_sh2", 0 ) /* Copy for the SH2 */ |
| 502 | ROM_COPY( "gamecart", 0x0, 0x0, 0x400000) |
| 503 | |
| 504 | ROM_REGION16_BE( 0x400000, "32x_68k_bios", 0 ) /* 68000 Code */ |
| 505 | ROM_LOAD( "32x_g_bios.bin", 0x000000, 0x000100, CRC(5c12eae8) SHA1(dbebd76a448447cb6e524ac3cb0fd19fc065d944) ) |
| 506 | |
| 507 | ROM_REGION( 0x400000, "32x_master_sh2", 0 ) /* SH2 Code */ |
| 508 | ROM_LOAD( "32x_m_bios.bin", 0x000000, 0x000800, CRC(dd9c46b8) SHA1(1e5b0b2441a4979b6966d942b20cc76c413b8c5e) ) |
| 509 | |
| 510 | ROM_REGION( 0x400000, "32x_slave_sh2", 0 ) /* SH2 Code */ |
| 511 | ROM_LOAD( "32x_s_bios.bin", 0x000000, 0x000400, CRC(bfda1fe5) SHA1(4103668c1bbd66c5e24558e73d4f3f92061a109a) ) |
| 512 | ROM_END |
| 513 | |
| 514 | |
| 417 | 515 | /****************************************** PICO emulation ****************************************/ |
| 418 | 516 | |
| 419 | 517 | /* |
| r4715 | r4716 | |
| 465 | 563 | 80001d byte Games write 'G' |
| 466 | 564 | 80001f byte Games write 'A' |
| 467 | 565 | |
| 566 | |
| 567 | TODO: MAME/hazeMD code should allow to handle VDP without the z80 (Pico has no z80 CPU). |
| 568 | Currently, this is not possible, so we leave the z80 there, even if not used. |
| 569 | |
| 468 | 570 | */ |
| 469 | 571 | |
| 470 | 572 | #define PICO_PENX 1 |
| r4715 | r4716 | |
| 645 | 747 | |
| 646 | 748 | ***************************************************************************/ |
| 647 | 749 | |
| 648 | | /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT CONFIG COMPANY FULLNAME */ |
| 649 | | CONS( 1989, genesis, 0, 0, ms_megadriv, md, genesis, 0, "Sega", "Genesis (USA, NTSC)", 0) |
| 650 | | CONS( 1993, gensvp, genesis, 0, ms_megdsvp, md_svp, gensvp, 0, "Sega", "Genesis (USA, NTSC, w/SVP)", 0) |
| 651 | | CONS( 1990, megadriv, genesis, 0, ms_megadriv, md, md_eur, 0, "Sega", "Mega Drive (Europe, PAL)", 0) |
| 652 | | CONS( 1988, megadrij, genesis, 0, ms_megadriv, md, md_jpn, 0, "Sega", "Mega Drive (Japan, NTSC)", 0) |
| 653 | | CONS( 1994, pico, 0, 0, pico, pico, md_eur, 0, "Sega", "Pico (Europe, PAL)", 0) |
| 654 | | CONS( 1994, picou, pico, 0, pico, pico, genesis, 0, "Sega", "Pico (USA, NTSC)", 0) |
| 655 | | CONS( 1993, picoj, pico, 0, pico, pico, md_jpn, 0, "Sega", "Pico (Japan, NTSC)", 0) |
| 750 | /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT CONFIG COMPANY FULLNAME */ |
| 751 | CONS( 1989, genesis, 0, 0, ms_megadriv, md, genesis, 0, "Sega", "Genesis (USA, NTSC)", 0) |
| 752 | CONS( 1993, gensvp, genesis, 0, ms_megdsvp, md_sel, gensvp, 0, "Sega", "Genesis (USA, NTSC, w/SVP)", 0) |
| 753 | CONS( 1990, megadriv, genesis, 0, ms_megadriv, md, md_eur, 0, "Sega", "Mega Drive (Europe, PAL)", 0) |
| 754 | CONS( 1988, megadrij, genesis, 0, ms_megadriv, md, md_jpn, 0, "Sega", "Mega Drive (Japan, NTSC)", 0) |
| 755 | CONS( 1994, pico, 0, 0, pico, pico, md_eur, 0, "Sega", "Pico (Europe, PAL)", 0) |
| 756 | CONS( 1994, picou, pico, 0, pico, pico, genesis, 0, "Sega", "Pico (USA, NTSC)", 0) |
| 757 | CONS( 1993, picoj, pico, 0, pico, pico, md_jpn, 0, "Sega", "Pico (Japan, NTSC)", 0) |
| 758 | |
| 759 | /* Not Working */ |
| 760 | CONS( 1994, 32x, 0, 0, genesis_32x, md_sel, mess_32x, 0, "Sega", "32X", GAME_NOT_WORKING ) |
| 761 | CONS( 1993, megacd, 0, 0, genesis_scd, md, md_eur, 0, "Sega", "Mega-CD (Europe, PAL)", GAME_NOT_WORKING ) |
| 762 | CONS( 1991, megacdj, megacd, 0, genesis_scd, md, md_jpn, 0, "Sega", "Mega-CD (Japan, NTSC)", GAME_NOT_WORKING ) |
| 763 | CONS( 1992, segacd, megacd, 0, genesis_scd, md, genesis, 0, "Sega", "Sega CD (USA, NTSC)", GAME_NOT_WORKING ) |
| 764 | CONS( 1994, 32x_scd, megacd, 0, genesis_32x_scd, md_sel, mess_32x, 0, "Sega", "Sega CD (USA, NTSC, w/32X)", GAME_NOT_WORKING ) |