hash/megadriv.xml
| r9665 | r9666 | |
| 328 | 328 | --> |
| 329 | 329 | </software> |
| 330 | 330 | |
| 331 | <software name="advbatr"> |
| 332 | <description>The Adventures of Batman & Robin (Euro)</description> |
| 333 | <year>1995</year> |
| 334 | <publisher>Sega</publisher> |
| 335 | <part name="cart" interface="megadriv_cart"> |
| 336 | <feature name="pcb" value="171-6329A" /> |
| 337 | <dataarea name="rom" size="2097152"> |
| 338 | <rom name="mpr-18019.ic1" size="2097152" crc="355e8c39" sha1="c08c48236c38263df8ea38a5820d16644bddb1a2" offset="000000" loadflag="load16_word_swap" /> |
| 339 | </dataarea> |
| 340 | </part> |
| 341 | </software> |
| 342 | |
| 343 | <software name="advemm"> |
| 344 | <description>The Adventures of Mighty Max (Euro)</description> |
| 345 | <year>1994</year> |
| 346 | <publisher>Ocean</publisher> |
| 347 | <part name="cart" interface="megadriv_cart"> |
| 348 | <feature name="pcb" value="171-5978BA" /> |
| 349 | <dataarea name="rom" size="1048576"> |
| 350 | <rom name="mpr-17434.ic1" size="1048576" crc="24f1a3bb" sha1="e60eec1d39b32ce5cc2125cffd3016b4070a65c3" offset="000000" loadflag="load16_word_swap" /> |
| 351 | </dataarea> |
| 352 | </part> |
| 353 | </software> |
| 354 | |
| 355 | <software name="alexkidd"> |
| 356 | <description>Alex Kidd in the Enchanted Castle (Euro, Rev. A)</description> |
| 357 | <year>1989</year> |
| 358 | <publisher>Sega</publisher> |
| 359 | <part name="cart" interface="megadriv_cart"> |
| 360 | <feature name="pcb" value="171-5703" /> |
| 361 | <dataarea name="rom" size="262144"> |
| 362 | <rom name="mpr-12608a.ic1" size="262144" crc="778a0f00" sha1="b7e96b33ab1715fe265ed0de81a26dde969698d5" offset="000000" loadflag="load16_word_swap" /> |
| 363 | </dataarea> |
| 364 | </part> |
| 365 | </software> |
| 366 | |
| 367 | <software name="alisiad"> |
| 368 | <description>Alisia Dragoon (Euro)</description> |
| 369 | <year>1992</year> |
| 370 | <publisher>Sega</publisher> |
| 371 | <part name="cart" interface="megadriv_cart"> |
| 372 | <feature name="pcb" value="171-5978BA" /> |
| 373 | <dataarea name="rom" size="1048576"> |
| 374 | <rom name="mpr-14680.ic1" size="1048576" crc="28165bd1" sha1="c8a3667631fdbd4d0073e42ada9f7199d09c0cfa" offset="000000" loadflag="load16_word_swap" /> |
| 375 | </dataarea> |
| 376 | </part> |
| 377 | </software> |
| 378 | |
| 379 | <software name="andreaga"> |
| 380 | <description>Andre Agassi Tennis (Euro)</description> |
| 381 | <year>1992</year> |
| 382 | <publisher>Tecmagik</publisher> |
| 383 | <part name="cart" interface="megadriv_cart"> |
| 384 | <feature name="pcb" value="171-5703" /> |
| 385 | <dataarea name="rom" size="524288"> |
| 386 | <rom name="mpr-15488.ic1" size="524288" crc="224256c7" sha1="70fa6185a4ebbbc9a6b2c7428c489ba5303859b0" offset="000000" loadflag="load16_word_swap" /> |
| 387 | </dataarea> |
| 388 | </part> |
| 389 | </software> |
| 390 | |
| 391 | <software name="anotherw"> |
| 392 | <description>Another World (Euro)</description> |
| 393 | <year>1991</year> |
| 394 | <publisher>Virgin Interactive</publisher> |
| 395 | <part name="cart" interface="megadriv_cart"> |
| 396 | <feature name="pcb" value="171-5978BA" /> |
| 397 | <dataarea name="rom" size="1048576"> |
| 398 | <rom name="mpr-15498.ic1" size="1048576" crc="e9742041" sha1="9d98d6817b3e3651837bb2692f7a2a60a608c055" offset="000000" loadflag="load16_word_swap" /> |
| 399 | </dataarea> |
| 400 | </part> |
| 401 | </software> |
| 402 | |
| 403 | <software name="arcadecl"> |
| 404 | <description>Arcade Classics (Euro, USA)</description> |
| 405 | <year>1996</year> |
| 406 | <publisher>Sega</publisher> |
| 407 | <part name="cart" interface="megadriv_cart"> |
| 408 | <feature name="pcb" value="171-5703" /> |
| 409 | <dataarea name="rom" size="524288"> |
| 410 | <rom name="mpr-18815.ic1" size="524288" crc="8aed2090" sha1="ec29aec7848dbcea6678adb4b31deba0a6ecf1e2" offset="000000" loadflag="load16_word_swap" /> |
| 411 | </dataarea> |
| 412 | </part> |
| 413 | </software> |
| 414 | |
| 415 | <software name="artalive"> |
| 416 | <description>Art Alive (World)</description> |
| 417 | <year>1991</year> |
| 418 | <publisher>Sega</publisher> |
| 419 | <part name="cart" interface="megadriv_cart"> |
| 420 | <feature name="pcb" value="171-5927" /> |
| 421 | <dataarea name="rom" size="131072"> |
| 422 | <rom name="mpr-14384.ic1" size="131072" crc="f1b72cdd" sha1="2c57e38592a206a1847e9e202341595832798587" offset="000000" loadflag="load16_word_swap" /> |
| 423 | </dataarea> |
| 424 | </part> |
| 425 | </software> |
| 426 | |
| 427 | <software name="sor"> |
| 428 | <description>Streets of Rage / Bare Knuckle - Ikari no Tetsuken (World, Rev. A)</description> |
| 429 | <year>199?</year> |
| 430 | <publisher>Sega</publisher> |
| 431 | <part name="cart" interface="megadriv_cart"> |
| 432 | <feature name="pcb" value="171-5703" /> |
| 433 | <dataarea name="rom" size="524288"> |
| 434 | <rom name="mpr-14125a.ic1" size="524288" crc="4052e845" sha1="731cdf182fe647e4977477ba4dd2e2b46b9b878a" offset="000000" loadflag="load16_word_swap" /> |
| 435 | </dataarea> |
| 436 | </part> |
| 437 | </software> |
| 438 | |
| 439 | <software name="sora" cloneof="sor"> |
| 440 | <description>Streets of Rage / Bare Knuckle - Ikari no Tetsuken (World)</description> |
| 441 | <year>1991</year> |
| 442 | <publisher>Sega</publisher> |
| 443 | <part name="cart" interface="megadriv_cart"> |
| 444 | <feature name="pcb" value="171-5703" /> |
| 445 | <dataarea name="rom" size="524288"> |
| 446 | <rom name="mpr-14125.ic1" size="524288" crc="bff227c6" sha1="3d74dbc81f3472a5bde45bf265e636a72a314667" offset="000000" loadflag="load16_word_swap" /> |
| 447 | </dataarea> |
| 448 | </part> |
| 449 | </software> |
| 450 | |
| 451 | <software name="batman"> |
| 452 | <description>Batman (Euro)</description> |
| 453 | <year>1990</year> |
| 454 | <publisher>Sega</publisher> |
| 455 | <part name="cart" interface="megadriv_cart"> |
| 456 | <feature name="pcb" value="171-5703" /> |
| 457 | <dataarea name="rom" size="524288"> |
| 458 | <rom name="mpr-14561.ic1" size="524288" crc="61c60c35" sha1="c7279c6d45e6533f9de14f65098c289b7534beb3" offset="000000" loadflag="load16_word_swap" /> |
| 459 | </dataarea> |
| 460 | </part> |
| 461 | </software> |
| 462 | |
| 463 | <software name="ferrari"> |
| 464 | <description>Ferrari Grand Prix Challenge (Euro, Rev. A)</description> |
| 465 | <year>1992</year> |
| 466 | <publisher>Flying Edge</publisher> |
| 467 | <part name="cart" interface="megadriv_cart"> |
| 468 | <feature name="pcb" value="171-5978BA" /> |
| 469 | <dataarea name="rom" size="1048576"> |
| 470 | <rom name="mpr-14770a.ic1" size="1048576" crc="250111df" sha1="0e33965994a6f53aca93c3cb164726b913789fc1" offset="000000" loadflag="load16_word_swap" /> |
| 471 | </dataarea> |
| 472 | </part> |
| 473 | </software> |
| 474 | |
| 475 | <!-- Id: G-4503 --> |
| 476 | <software name="gameto"> |
| 477 | <description>Game Toshokan (Jpn, Rev. A)</description> |
| 478 | <year>1990</year> |
| 479 | <publisher>Sega</publisher> |
| 480 | <part name="cart" interface="megadriv_cart"> |
| 481 | <feature name="pcb" value="171-5878" /> |
| 482 | <dataarea name="rom" size="131072"> |
| 483 | <rom name="mpr-12750a.ic1" size="131072" crc="c185c819" sha1="9673b519c16883c146924c347ec6764281fa3a57" offset="000000" loadflag="load16_word_swap" /> |
| 484 | </dataarea> |
| 485 | </part> |
| 486 | </software> |
| 487 | |
| 488 | <software name="ghouls"> |
| 489 | <description>Ghouls 'n Ghosts (Euro, USA, Kor, Rev. A)</description> |
| 490 | <year>1989</year> |
| 491 | <publisher>Sega</publisher> |
| 492 | <part name="cart" interface="megadriv_cart"> |
| 493 | <feature name="pcb" value="171-5841" /> |
| 494 | <dataarea name="rom" size="655360"> |
| 495 | <rom name="mpr-12605a.ic1" size="131072" crc="d367c3cc" sha1="4c2c8fcf0219c6129650cf59a47d8edeb844e2df" offset="000000" /> |
| 496 | <rom name="mpr-12606a.ic2" size="524288" crc="f56444c6" sha1="3b76a8cdca4019f6c9aed3a3c3fe723ed245f069" offset="020000" /> |
| 497 | </dataarea> |
| 498 | </part> |
| 499 | </software> |
| 500 | |
| 501 | <software name="ghouls1" cloneof="ghouls"> |
| 502 | <description>Ghouls 'n Ghosts (Euro, USA)</description> |
| 503 | <year>1989</year> |
| 504 | <publisher>Sega</publisher> |
| 505 | <part name="cart" interface="megadriv_cart"> |
| 506 | <feature name="pcb" value="171-5841" /> |
| 507 | <dataarea name="rom" size="655360"> |
| 508 | <rom name="mpr-12605.ic1" size="131072" crc="1066c6ab" sha1="c30e4442732bdb38c96d780542f8550a94d127b0" offset="000000" /> |
| 509 | <rom name="mpr-12606.ic2" size="524288" crc="ceebc56f" sha1="6611329dffc3d798a5fa837d5c727f370b31ed25" offset="020000" /> |
| 510 | </dataarea> |
| 511 | </part> |
| 512 | </software> |
| 513 | |
| 514 | <software name="ghw"> |
| 515 | <description>Greatest Heavyweights (Euro)</description> |
| 516 | <year>1993</year> |
| 517 | <publisher>Sega</publisher> |
| 518 | <part name="cart" interface="megadriv_cart"> |
| 519 | <feature name="pcb" value="171-6584A" /> |
| 520 | <dataarea name="rom" size="2097152"> |
| 521 | <rom name="mpr-16211.ic1" size="2097152" crc="9778c181" sha1="db28d70f9b744004cadd06eb77d6223534f59215" offset="000000" loadflag="load16_word_swap" /> |
| 522 | </dataarea> |
| 523 | </part> |
| 524 | </software> |
| 525 | |
| 526 | <software name="homea"> |
| 527 | <description>Home Alone (Euro, USA)</description> |
| 528 | <year>1992</year> |
| 529 | <publisher>Sega</publisher> |
| 530 | <part name="cart" interface="megadriv_cart"> |
| 531 | <feature name="pcb" value="171-5703" /> |
| 532 | <dataarea name="rom" size="524288"> |
| 533 | <rom name="mpr-14996.ic1" size="524288" crc="aa0d4387" sha1="c3794ef25d53cb7811dd0df73ba6fadd4cecb116" offset="000000" loadflag="load16_word_swap" /> |
| 534 | </dataarea> |
| 535 | </part> |
| 536 | </software> |
| 537 | |
| 538 | <software name="incred"> |
| 539 | <description>The Incredible Crash Dummies (Euro, USA)</description> |
| 540 | <year>1994</year> |
| 541 | <publisher>Flying Edge</publisher> |
| 542 | <part name="cart" interface="megadriv_cart"> |
| 543 | <feature name="pcb" value="171-5978BA" /> |
| 544 | <dataarea name="rom" size="1048576"> |
| 545 | <rom name="mpr-16259.ic1" size="1048576" crc="1f6e574a" sha1="ca0115dd843e072815c4be86a7a491b26e3c4762" offset="000000" loadflag="load16_word_swap" /> |
| 546 | </dataarea> |
| 547 | </part> |
| 548 | </software> |
| 549 | |
| 550 | <software name="joemont2a" cloneof="joemont2"> |
| 551 | <description>Joe Montana II Sports Talk Football (World)</description> |
| 552 | <year>1991</year> |
| 553 | <publisher>Sega</publisher> |
| 554 | <part name="cart" interface="megadriv_cart"> |
| 555 | <feature name="pcb" value="171-5978BA" /> |
| 556 | <dataarea name="rom" size="1048576"> |
| 557 | <rom name="mpr-14356.ic1" size="1048576" crc="f2363a4a" sha1="3925623fafb79a7e8467e9b6fe70361c147cbfd3" offset="000000" loadflag="load16_word_swap" /> |
| 558 | </dataarea> |
| 559 | </part> |
| 560 | </software> |
| 561 | |
| 562 | <software name="talmit"> |
| 563 | <description>Talmit's Adventure (Euro)</description> |
| 564 | <year>1991</year> |
| 565 | <publisher>Namco</publisher> |
| 566 | <part name="cart" interface="megadriv_cart"> |
| 567 | <feature name="pcb" value="837-8861" /> |
| 568 | <dataarea name="rom" size="1048576"> |
| 569 | <rom name="talmit's adventure (euro).bin" size="1048576" crc="05dc3ffc" sha1="be80f96bee64bab159614d29f882442abef9de76" offset="000000" /> |
| 570 | </dataarea> |
| 571 | </part> |
| 572 | </software> |
| 573 | |
| 574 | <software name="mvlndj" cloneof="talmit"> |
| 575 | <description>Marvel Land (Jpn)</description> |
| 576 | <year>1991</year> |
| 577 | <publisher>Namcot</publisher> |
| 578 | <part name="cart" interface="megadriv_cart"> |
| 579 | <!-- PCB serial isn't present --> |
| 580 | <dataarea name="rom" size="1048576"> |
| 581 | <rom name="LROG452-MML.bin" size="1048576" crc="5d162d21" sha1="2f7ef2f956d62373dcd5f3808e7501e3660c0658" offset="000000" loadflag="load16_word_swap" /> |
| 582 | </dataarea> |
| 583 | </part> |
| 584 | </software> |
| 585 | |
| 586 | <software name="megabomb"> |
| 587 | <description>Mega Bomberman (Euro, Kor)</description> |
| 588 | <year>1994</year> |
| 589 | <publisher>Sega</publisher> |
| 590 | <part name="cart" interface="megadriv_cart"> |
| 591 | <feature name="pcb" value="171-5978BA" /> |
| 592 | <dataarea name="rom" size="1048576"> |
| 593 | <rom name="mpr-17108.ic1" size="1048576" crc="54ab3beb" sha1="01f76e2f719bdae5f21ff0e5a1ac1262c2def279" offset="000000" loadflag="load16_word_swap" /> |
| 594 | </dataarea> |
| 595 | </part> |
| 596 | </software> |
| 597 | |
| 598 | <software name="megaga63"> |
| 599 | <description>Mega Games 6 Vol. 3 (Euro)</description> |
| 600 | <year>1995</year> |
| 601 | <publisher>Sega</publisher> |
| 602 | <part name="cart" interface="megadriv_cart"> |
| 603 | <feature name="pcb" value="171-7147A" /> |
| 604 | <dataarea name="rom" size="3145728"> |
| 605 | <rom name="mpr-18871.ic1" size="3145728" crc="fe3e7e4f" sha1="cca818d624e95c2d07cfc1b22c44eb53e4bdcd02" offset="000000" loadflag="load16_word_swap" /> |
| 606 | </dataarea> |
| 607 | </part> |
| 608 | </software> |
| 609 | |
| 610 | <software name="microm2"> |
| 611 | <description>Micro Machines 2 - Turbo Tournament (Euro, J-Cart)</description> |
| 612 | <year>1994</year> |
| 613 | <publisher>Codemasters</publisher> |
| 614 | <part name="cart" interface="megadriv_cart"> |
| 615 | <feature name="pcb" value="SRJCV2-1" /> |
| 616 | <dataarea name="rom" size="1048576"> |
| 617 | <rom name="mdm_2bead.bin" size="1048576" crc="42bfb7eb" sha1="ab29077a6a5c2ccc777b0bf22f4d5908401f4d47" offset="000000" loadflag="load16_word_swap" /> |
| 618 | </dataarea> |
| 619 | </part> |
| 620 | </software> |
| 621 | |
| 622 | <software name="micro96"> |
| 623 | <description>Micro Machines Turbo Tournament 96 (Euro, v1.1, J-Cart)</description> |
| 624 | <year>1995</year> |
| 625 | <publisher>Codemasters</publisher> |
| 626 | <part name="cart" interface="megadriv_cart"> |
| 627 | <feature name="pcb" value="SRJCV2-2" /> |
| 628 | <dataarea name="rom" size="1048576"> |
| 629 | <rom name="mm96mdeddb.bin" size="1048576" crc="23319d0d" sha1="e8ff759679a0df2b3f9ece37ef686f248d3cf37b" offset="000000" loadflag="load16_word_swap" /> |
| 630 | </dataarea> |
| 631 | </part> |
| 632 | </software> |
| 633 | |
| 634 | <software name="psampras"> |
| 635 | <description>Pete Sampras Tennis (Euro, USA, J-Cart)</description> |
| 636 | <year>1994</year> |
| 637 | <publisher>Codemasters</publisher> |
| 638 | <part name="cart" interface="megadriv_cart"> |
| 639 | <feature name="pcb" value="SRJCV1-2" /> |
| 640 | <dataarea name="rom" size="1048576"> |
| 641 | <rom name="mdst6636.bin" size="1048576" crc="94e505b2" sha1="4c830ace4590294bb374b4cab71ebebf44d9a07a" offset="000000" loadflag="load16_word_swap" /> |
| 642 | </dataarea> |
| 643 | </part> |
| 644 | </software> |
| 645 | |
| 646 | <software name="pstar2"> |
| 647 | <description>Phantasy Star II (Euro, USA, Rev. A)</description> |
| 648 | <year>1990</year> |
| 649 | <publisher>Sega</publisher> |
| 650 | <part name="cart" interface="megadriv_cart"> |
| 651 | <feature name="pcb" value="171-5921" /> |
| 652 | <dataarea name="rom" size="1048576"> |
| 653 | <rom name="mpr-12851a.ic1" size="524288" crc="74714110" sha1="99038db23ab38c5eaabd3b27dea96059324fee6a" offset="000000" /> |
| 654 | <rom name="mpr-12852a.ic2" size="524288" crc="e304231a" sha1="4ab8a0b63816f9bdc76ae36962f1e8c7228f5473" offset="080000" /> |
| 655 | </dataarea> |
| 656 | </part> |
| 657 | </software> |
| 658 | |
| 659 | <software name="shinfrc2"> |
| 660 | <description>Shining Force II (Euro)</description> |
| 661 | <year>1994</year> |
| 662 | <publisher>Sega</publisher> |
| 663 | <part name="cart" interface="megadriv_cart"> |
| 664 | <feature name="pcb" value="171-6278A" /> |
| 665 | <dataarea name="rom" size="2097152"> |
| 666 | <rom name="mpr-16933.ic1" size="2097152" crc="83cb46d1" sha1="a2ba86f4d756f98886f8f9a56f20cbf8c3b2945e" offset="000000" loadflag="load16_word_swap" /> |
| 667 | </dataarea> |
| 668 | </part> |
| 669 | </software> |
| 670 | |
| 671 | <software name="smurfs"> |
| 672 | <description>The Smurfs (Euro, Rev. A)</description> |
| 673 | <year>1995</year> |
| 674 | <publisher>Infogrammes</publisher> |
| 675 | <part name="cart" interface="megadriv_cart"> |
| 676 | <feature name="pcb" value="171-5978BA" /> |
| 677 | <dataarea name="rom" size="1048576"> |
| 678 | <rom name="mpr-17019a.ic1" size="1048576" crc="88b30eff" sha1="0da7e621e05dc9160122d728e1fca645ff11e670" offset="000000" loadflag="load16_word_swap" /> |
| 679 | </dataarea> |
| 680 | </part> |
| 681 | </software> |
| 682 | |
| 683 | <software name="soleils" cloneof="soleil"> |
| 684 | <description>Soleil (Spa)</description> |
| 685 | <year>1994</year> |
| 686 | <publisher>Sega</publisher> |
| 687 | <part name="cart" interface="megadriv_cart"> |
| 688 | <feature name="pcb" value="171-6278A" /> |
| 689 | <dataarea name="rom" size="2097152"> |
| 690 | <rom name="mpr-17512.ic1" size="2097152" crc="9ed4c323" sha1="95ae529cecb7dbca281df25c3c4e7cb8f48d936c" offset="000000" loadflag="load16_word_swap" /> |
| 691 | </dataarea> |
| 692 | </part> |
| 693 | </software> |
| 694 | |
| 695 | <software name="sonic3"> |
| 696 | <description>Sonic the Hedgehog 3 (Euro)</description> |
| 697 | <year>1994</year> |
| 698 | <publisher>Sega</publisher> |
| 699 | <part name="cart" interface="megadriv_cart"> |
| 700 | <feature name="pcb" value="171-6658A" /> |
| 701 | <dataarea name="rom" size="2097152"> |
| 702 | <rom name="mpr-16342.ic1" size="2097152" crc="6a632503" sha1="2ff45bb056ede0f745e52f8d02c54b4ca724ca4c" offset="000000" loadflag="load16_word_swap" /> |
| 703 | </dataarea> |
| 704 | </part> |
| 705 | </software> |
| 706 | |
| 707 | <software name="soniccmp1" cloneof="soniccmp"> |
| 708 | <description>Sonic Compilation (Euro, Earlier)</description> |
| 709 | <year>1996</year> |
| 710 | <publisher>Sega</publisher> |
| 711 | <part name="cart" interface="megadriv_cart"> |
| 712 | <feature name="pcb" value="171-6570A" /> |
| 713 | <dataarea name="rom" size="3145728"> |
| 714 | <rom name="mpr-18203+mpr-18204.bin" size="3145728" crc="8c70b84e" sha1="109e6d7b31d00fbdb9d4ecb304d4ea19e96c8607" offset="000000" loadflag="load16_word_swap" /> |
| 715 | </dataarea> |
| 716 | </part> |
| 717 | </software> |
| 718 | |
| 719 | <software name="sspin"> |
| 720 | <description>Sonic Spinball (Euro)</description> |
| 721 | <year>1993</year> |
| 722 | <publisher>Sega</publisher> |
| 723 | <part name="cart" interface="megadriv_cart"> |
| 724 | <feature name="pcb" value="171-5978BA" /> |
| 725 | <dataarea name="rom" size="1048576"> |
| 726 | <rom name="mpr-16077.ic1" size="1048576" crc="aea0786d" sha1="f61a568314133b60de82ac162b5b52473adc9e1c" offset="000000" loadflag="load16_word_swap" /> |
| 727 | </dataarea> |
| 728 | </part> |
| 729 | </software> |
| 730 | |
| 731 | <software name="sharr"> |
| 732 | <description>Space Harrier II (World)</description> |
| 733 | <year>1989</year> |
| 734 | <publisher>Sega</publisher> |
| 735 | <part name="cart" interface="megadriv_cart"> |
| 736 | <feature name="pcb" value="171-5703" /> <!-- Also exist on a 171-6242A --> |
| 737 | <dataarea name="rom" size="524288"> |
| 738 | <rom name="mpr-12355.ic1" size="524288" crc="e5c9cbb0" sha1="db4285e4ffb69aa9f1ca68c4103fbfd0843f7b86" offset="000000" loadflag="load16_word_swap" /> |
| 739 | </dataarea> |
| 740 | </part> |
| 741 | </software> |
| 742 | |
| 743 | <software name="smgp"> |
| 744 | <description>Super Monaco GP (Euro, Jpn, Rev. A)</description> |
| 745 | <year>1990</year> |
| 746 | <publisher>Sega</publisher> |
| 747 | <part name="cart" interface="megadriv_cart"> |
| 748 | <feature name="pcb" value="171-5703" /> |
| 749 | <dataarea name="rom" size="524288"> |
| 750 | <rom name="mpr-13250a.ic1" size="524288" crc="be91b28a" sha1="1e49a449367f0ec7ba0331b7b0d074f796e48d58" offset="000000" loadflag="load16_word_swap" /> |
| 751 | </dataarea> |
| 752 | </part> |
| 753 | </software> |
| 754 | |
| 755 | <software name="ssmashtv"> |
| 756 | <description>Super Smash TV (Euro, USA)</description> |
| 757 | <year>1992</year> |
| 758 | <publisher>Flying Edge</publisher> |
| 759 | <part name="cart" interface="megadriv_cart"> |
| 760 | <feature name="pcb" value="171-5703" /> |
| 761 | <dataarea name="rom" size="524288"> |
| 762 | <rom name="mpr-15040.ic1" size="524288" crc="f22412b6" sha1="0459f7c61f152fa0afa98d96ef9fbe4964641f34" offset="000000" loadflag="load16_word_swap" /> |
| 763 | </dataarea> |
| 764 | </part> |
| 765 | </software> |
| 766 | |
| 767 | <software name="addamfam"> |
| 768 | <description>The Addams Family (Euro, USA)</description> |
| 769 | <year>1994</year> |
| 770 | <publisher>Flying Edge</publisher> |
| 771 | <part name="cart" interface="megadriv_cart"> |
| 772 | <feature name="pcb" value="171-5978B" /> |
| 773 | <dataarea name="rom" size="1048576"> |
| 774 | <rom name="mpr-16147.ic1" size="1048576" crc="71f58614" sha1="1cd7ac493a448c7486eefde2300240c3675986a9" offset="000000" loadflag="load16_word_swap" /> |
| 775 | </dataarea> |
| 776 | </part> |
| 777 | </software> |
| 778 | |
| 331 | 779 | <!-- Old scrambled/interleaved dumps --> |
| 332 | 780 | <software name="12in1"> |
| 333 | 781 | <description>12-in-1</description> |
| r9665 | r9666 | |
| 516 | 964 | </part> |
| 517 | 965 | </software> |
| 518 | 966 | |
| 519 | | <software name="addamfam"> |
| 520 | | <description>The Addams Family (Euro, USA)</description> |
| 521 | | <year>199?</year> |
| 522 | | <publisher><unknown></publisher> |
| 523 | | <part name="cart" interface="megadriv_cart"> |
| 524 | | <dataarea name="rom" size="1048576"> |
| 525 | | <rom name="mpr-16147.bin" size="1048576" crc="71f58614" sha1="1cd7ac493a448c7486eefde2300240c3675986a9" offset="000000" /> |
| 526 | | </dataarea> |
| 527 | | </part> |
| 528 | | </software> |
| 529 | | |
| 530 | 967 | <software name="addamfamp" cloneof="addamfam"> |
| 531 | 968 | <description>The Addams Family (USA, Prototype)</description> |
| 532 | 969 | <year>199?</year> |
| r9665 | r9666 | |
| 560 | 997 | </part> |
| 561 | 998 | </software> |
| 562 | 999 | |
| 563 | | <software name="advbatr"> |
| 564 | | <description>The Adventures of Batman & Robin (Euro)</description> |
| 565 | | <year>199?</year> |
| 566 | | <publisher><unknown></publisher> |
| 567 | | <part name="cart" interface="megadriv_cart"> |
| 568 | | <dataarea name="rom" size="2097152"> |
| 569 | | <rom name="mpr-18019.bin" size="2097152" crc="355e8c39" sha1="c08c48236c38263df8ea38a5820d16644bddb1a2" offset="000000" /> |
| 570 | | </dataarea> |
| 571 | | </part> |
| 572 | | </software> |
| 573 | | |
| 574 | 1000 | <software name="advbatrp1" cloneof="advbatr"> |
| 575 | 1001 | <description>The Adventures of Batman & Robin (Prototype, 19950406)</description> |
| 576 | 1002 | <year>199?</year> |
| r9665 | r9666 | |
| 714 | 1140 | </part> |
| 715 | 1141 | </software> |
| 716 | 1142 | |
| 717 | | <software name="advemm"> |
| 718 | | <description>The Adventures of Mighty Max (Euro)</description> |
| 719 | | <year>199?</year> |
| 720 | | <publisher><unknown></publisher> |
| 721 | | <part name="cart" interface="megadriv_cart"> |
| 722 | | <dataarea name="rom" size="1048576"> |
| 723 | | <rom name="adventures of mighty max, the (euro).bin" size="1048576" crc="24f1a3bb" sha1="e60eec1d39b32ce5cc2125cffd3016b4070a65c3" offset="000000" /> |
| 724 | | </dataarea> |
| 725 | | </part> |
| 726 | | </software> |
| 727 | | |
| 728 | 1143 | <software name="advemmu" cloneof="advemm"> |
| 729 | 1144 | <description>The Adventures of Mighty Max (USA)</description> |
| 730 | 1145 | <year>199?</year> |
| r9665 | r9666 | |
| 978 | 1393 | </part> |
| 979 | 1394 | </software> |
| 980 | 1395 | |
| 981 | | <software name="alexkidd"> |
| 982 | | <description>Alex Kidd in the Enchanted Castle (Euro, Rev. A)</description> |
| 983 | | <year>199?</year> |
| 984 | | <publisher><unknown></publisher> |
| 985 | | <part name="cart" interface="megadriv_cart"> |
| 986 | | <dataarea name="rom" size="262144"> |
| 987 | | <rom name="mpr-12608a.bin" size="262144" crc="778a0f00" sha1="b7e96b33ab1715fe265ed0de81a26dde969698d5" offset="000000" /> |
| 988 | | </dataarea> |
| 989 | | </part> |
| 990 | | </software> |
| 991 | | |
| 992 | 1396 | <software name="alexkidd1" cloneof="alexkidd"> |
| 993 | 1397 | <description>Alex Kidd in the Enchanted Castle (Euro)</description> |
| 994 | 1398 | <year>199?</year> |
| r9665 | r9666 | |
| 1088 | 1492 | </part> |
| 1089 | 1493 | </software> |
| 1090 | 1494 | |
| 1091 | | <software name="alisiad"> |
| 1092 | | <description>Alisia Dragoon (Euro)</description> |
| 1093 | | <year>199?</year> |
| 1094 | | <publisher><unknown></publisher> |
| 1095 | | <part name="cart" interface="megadriv_cart"> |
| 1096 | | <dataarea name="rom" size="1048576"> |
| 1097 | | <rom name="alisia dragoon (euro).bin" size="1048576" crc="28165bd1" sha1="c8a3667631fdbd4d0073e42ada9f7199d09c0cfa" offset="000000" /> |
| 1098 | | </dataarea> |
| 1099 | | </part> |
| 1100 | | </software> |
| 1101 | | |
| 1102 | 1495 | <software name="alisiadj" cloneof="alisiad"> |
| 1103 | 1496 | <description>Alisia Dragoon (Jpn)</description> |
| 1104 | 1497 | <year>199?</year> |
| r9665 | r9666 | |
| 1165 | 1558 | </part> |
| 1166 | 1559 | </software> |
| 1167 | 1560 | |
| 1168 | | <software name="andreaga"> |
| 1169 | | <description>Andre Agassi Tennis (Euro)</description> |
| 1170 | | <year>199?</year> |
| 1171 | | <publisher><unknown></publisher> |
| 1172 | | <part name="cart" interface="megadriv_cart"> |
| 1173 | | <dataarea name="rom" size="524288"> |
| 1174 | | <rom name="mpr-15488.bin" size="524288" crc="224256c7" sha1="70fa6185a4ebbbc9a6b2c7428c489ba5303859b0" offset="000000" /> |
| 1175 | | </dataarea> |
| 1176 | | </part> |
| 1177 | | </software> |
| 1178 | | |
| 1179 | 1561 | <software name="andreagau" cloneof="andreaga"> |
| 1180 | 1562 | <description>Andre Agassi Tennis (USA)</description> |
| 1181 | 1563 | <year>199?</year> |
| r9665 | r9666 | |
| 1220 | 1602 | </part> |
| 1221 | 1603 | </software> |
| 1222 | 1604 | |
| 1223 | | <software name="anotherw"> |
| 1224 | | <description>Another World (Euro)</description> |
| 1225 | | <year>199?</year> |
| 1226 | | <publisher><unknown></publisher> |
| 1227 | | <part name="cart" interface="megadriv_cart"> |
| 1228 | | <dataarea name="rom" size="1048576"> |
| 1229 | | <rom name="another world (euro).bin" size="1048576" crc="e9742041" sha1="9d98d6817b3e3651837bb2692f7a2a60a608c055" offset="000000" /> |
| 1230 | | </dataarea> |
| 1231 | | </part> |
| 1232 | | </software> |
| 1233 | | |
| 1234 | 1605 | <software name="ootw" cloneof="anotherw"> |
| 1235 | 1606 | <description>Out of This World (USA)</description> |
| 1236 | 1607 | <year>199?</year> |
| r9665 | r9666 | |
| 1286 | 1657 | </part> |
| 1287 | 1658 | </software> |
| 1288 | 1659 | |
| 1289 | | <software name="arcadecl"> |
| 1290 | | <description>Arcade Classics (Euro, USA)</description> |
| 1291 | | <year>199?</year> |
| 1292 | | <publisher><unknown></publisher> |
| 1293 | | <part name="cart" interface="megadriv_cart"> |
| 1294 | | <dataarea name="rom" size="524288"> |
| 1295 | | <rom name="mpr-18815.bin" size="524288" crc="8aed2090" sha1="ec29aec7848dbcea6678adb4b31deba0a6ecf1e2" offset="000000" /> |
| 1296 | | </dataarea> |
| 1297 | | </part> |
| 1298 | | </software> |
| 1299 | | |
| 1300 | 1660 | <software name="archriv"> |
| 1301 | 1661 | <description>Arch Rivals - The Arcade Game (Euro, USA)</description> |
| 1302 | 1662 | <year>199?</year> |
| r9665 | r9666 | |
| 1385 | 1745 | </part> |
| 1386 | 1746 | </software> |
| 1387 | 1747 | |
| 1388 | | <software name="artalive"> |
| 1389 | | <description>Art Alive (World)</description> |
| 1390 | | <year>199?</year> |
| 1391 | | <publisher><unknown></publisher> |
| 1392 | | <part name="cart" interface="megadriv_cart"> |
| 1393 | | <dataarea name="rom" size="131072"> |
| 1394 | | <rom name="mpr-14384.bin" size="131072" crc="f1b72cdd" sha1="2c57e38592a206a1847e9e202341595832798587" offset="000000" /> |
| 1395 | | </dataarea> |
| 1396 | | </part> |
| 1397 | | </software> |
| 1398 | | |
| 1399 | 1748 | <software name="aof"> |
| 1400 | 1749 | <description>Art of Fighting (Euro)</description> |
| 1401 | 1750 | <year>199?</year> |
| r9665 | r9666 | |
| 1969 | 2318 | </part> |
| 1970 | 2319 | </software> |
| 1971 | 2320 | |
| 1972 | | <software name="batman"> |
| 1973 | | <description>Batman (Euro)</description> |
| 1974 | | <year>199?</year> |
| 1975 | | <publisher><unknown></publisher> |
| 1976 | | <part name="cart" interface="megadriv_cart"> |
| 1977 | | <dataarea name="rom" size="524288"> |
| 1978 | | <rom name="mpr-14561.bin" size="524288" crc="61c60c35" sha1="c7279c6d45e6533f9de14f65098c289b7534beb3" offset="000000" /> |
| 1979 | | </dataarea> |
| 1980 | | </part> |
| 1981 | | </software> |
| 1982 | | |
| 1983 | 2321 | <software name="batmanj" cloneof="batman"> |
| 1984 | 2322 | <description>Batman (Jpn)</description> |
| 1985 | 2323 | <year>199?</year> |
| r9665 | r9666 | |
| 6969 | 7307 | </part> |
| 6970 | 7308 | </software> |
| 6971 | 7309 | |
| 6972 | | <software name="ferrari"> |
| 6973 | | <description>Ferrari Grand Prix Challenge (Euro, Rev. A)</description> |
| 6974 | | <year>199?</year> |
| 6975 | | <publisher><unknown></publisher> |
| 6976 | | <part name="cart" interface="megadriv_cart"> |
| 6977 | | <dataarea name="rom" size="1048576"> |
| 6978 | | <rom name="mpr-14770a.bin" size="1048576" crc="250111df" sha1="0e33965994a6f53aca93c3cb164726b913789fc1" offset="000000" /> |
| 6979 | | </dataarea> |
| 6980 | | </part> |
| 6981 | | </software> |
| 6982 | | |
| 6983 | 7310 | <software name="ferrarip" cloneof="ferrari"> |
| 6984 | 7311 | <description>Ferrari Grand Prix Challenge (Prototype)</description> |
| 6985 | 7312 | <year>199?</year> |
| r9665 | r9666 | |
| 7706 | 8033 | </part> |
| 7707 | 8034 | </software> |
| 7708 | 8035 | |
| 7709 | | <software name="ghouls"> |
| 7710 | | <description>Ghouls 'n Ghosts (Euro, USA, Kor, Rev. A)</description> |
| 7711 | | <year>199?</year> |
| 7712 | | <publisher><unknown></publisher> |
| 7713 | | <part name="cart" interface="megadriv_cart"> |
| 7714 | | <dataarea name="rom" size="655360"> |
| 7715 | | <rom name="mpr-12605a+mpr-12606a.bin" size="655360" crc="4f2561d5" sha1="aab6d20f01db51576b1d7cafab46e613dddf7f8a" offset="000000" /> |
| 7716 | | </dataarea> |
| 7717 | | </part> |
| 7718 | | </software> |
| 7719 | | |
| 7720 | | <software name="ghouls1" cloneof="ghouls"> |
| 7721 | | <description>Ghouls 'n Ghosts (Euro, USA)</description> |
| 7722 | | <year>199?</year> |
| 7723 | | <publisher><unknown></publisher> |
| 7724 | | <part name="cart" interface="megadriv_cart"> |
| 7725 | | <dataarea name="rom" size="655360"> |
| 7726 | | <rom name="mpr-12605+mpr-12606.bin" size="655360" crc="d31bd910" sha1="3a3e9eb5caaf6cfb75e99ed2843d58b3dda7284f" offset="000000" /> |
| 7727 | | </dataarea> |
| 7728 | | </part> |
| 7729 | | </software> |
| 7730 | | |
| 7731 | 8036 | <software name="daimakai" cloneof="ghouls"> |
| 7732 | 8037 | <description>Dai Makaimura (Jpn)</description> |
| 7733 | 8038 | <year>199?</year> |
| r9665 | r9666 | |
| 8016 | 8321 | </part> |
| 8017 | 8322 | </software> |
| 8018 | 8323 | |
| 8019 | | <software name="ghw"> |
| 8020 | | <description>Greatest Heavyweights (Euro)</description> |
| 8021 | | <year>199?</year> |
| 8022 | | <publisher><unknown></publisher> |
| 8023 | | <part name="cart" interface="megadriv_cart"> |
| 8024 | | <dataarea name="rom" size="2097152"> |
| 8025 | | <rom name="mpr-16211.bin" size="2097152" crc="9778c181" sha1="db28d70f9b744004cadd06eb77d6223534f59215" offset="000000" /> |
| 8026 | | </dataarea> |
| 8027 | | </part> |
| 8028 | | </software> |
| 8029 | | |
| 8030 | 8324 | <software name="ghwj" cloneof="ghw"> |
| 8031 | 8325 | <description>Greatest Heavyweights (Jpn)</description> |
| 8032 | 8326 | <year>199?</year> |
| r9665 | r9666 | |
| 8390 | 8684 | </part> |
| 8391 | 8685 | </software> |
| 8392 | 8686 | |
| 8393 | | <software name="homea"> |
| 8394 | | <description>Home Alone (Euro, USA)</description> |
| 8395 | | <year>199?</year> |
| 8396 | | <publisher><unknown></publisher> |
| 8397 | | <part name="cart" interface="megadriv_cart"> |
| 8398 | | <dataarea name="rom" size="524288"> |
| 8399 | | <rom name="mpr-14996.bin" size="524288" crc="aa0d4387" sha1="c3794ef25d53cb7811dd0df73ba6fadd4cecb116" offset="000000" /> |
| 8400 | | </dataarea> |
| 8401 | | </part> |
| 8402 | | </software> |
| 8403 | | |
| 8404 | 8687 | <software name="homeap" cloneof="homea"> |
| 8405 | 8688 | <description>Home Alone (USA, Prototype)</description> |
| 8406 | 8689 | <year>199?</year> |
| r9665 | r9666 | |
| 8622 | 8905 | </part> |
| 8623 | 8906 | </software> |
| 8624 | 8907 | |
| 8625 | | <software name="incred"> |
| 8626 | | <description>The Incredible Crash Dummies (Euro, USA)</description> |
| 8627 | | <year>199?</year> |
| 8628 | | <publisher><unknown></publisher> |
| 8629 | | <part name="cart" interface="megadriv_cart"> |
| 8630 | | <dataarea name="rom" size="1048576"> |
| 8631 | | <rom name="mpr-16259.bin" size="1048576" crc="1f6e574a" sha1="ca0115dd843e072815c4be86a7a491b26e3c4762" offset="000000" /> |
| 8632 | | </dataarea> |
| 8633 | | </part> |
| 8634 | | </software> |
| 8635 | | |
| 8636 | 8908 | <software name="incredp" cloneof="incred"> |
| 8637 | 8909 | <description>The Incredible Crash Dummies (USA, Prototype)</description> |
| 8638 | 8910 | <year>199?</year> |
| r9665 | r9666 | |
| 9129 | 9401 | </part> |
| 9130 | 9402 | </software> |
| 9131 | 9403 | |
| 9132 | | <software name="joemont2a" cloneof="joemont2"> |
| 9133 | | <description>Joe Montana II Sports Talk Football (World)</description> |
| 9134 | | <year>199?</year> |
| 9135 | | <publisher><unknown></publisher> |
| 9136 | | <part name="cart" interface="megadriv_cart"> |
| 9137 | | <dataarea name="rom" size="1048576"> |
| 9138 | | <rom name="mpr-14356.bin" size="1048576" crc="f2363a4a" sha1="3925623fafb79a7e8467e9b6fe70361c147cbfd3" offset="000000" /> |
| 9139 | | </dataarea> |
| 9140 | | </part> |
| 9141 | | </software> |
| 9142 | | |
| 9143 | 9404 | <software name="madden92"> |
| 9144 | 9405 | <description>John Madden Football '92 (Euro, USA)</description> |
| 9145 | 9406 | <year>199?</year> |
| r9665 | r9666 | |
| 10859 | 11120 | </part> |
| 10860 | 11121 | </software> |
| 10861 | 11122 | |
| 10862 | | <software name="megabomb"> |
| 10863 | | <description>Mega Bomberman (Euro, Kor)</description> |
| 10864 | | <year>199?</year> |
| 10865 | | <publisher><unknown></publisher> |
| 10866 | | <part name="cart" interface="megadriv_cart"> |
| 10867 | | <dataarea name="rom" size="1048576"> |
| 10868 | | <rom name="mpr-17108.bin" size="1048576" crc="54ab3beb" sha1="01f76e2f719bdae5f21ff0e5a1ac1262c2def279" offset="000000" /> |
| 10869 | | </dataarea> |
| 10870 | | </part> |
| 10871 | | </software> |
| 10872 | | |
| 10873 | 11123 | <software name="megabombu" cloneof="megabomb"> |
| 10874 | 11124 | <description>Mega Bomberman (USA)</description> |
| 10875 | 11125 | <year>199?</year> |
| r9665 | r9666 | |
| 10947 | 11197 | </part> |
| 10948 | 11198 | </software> |
| 10949 | 11199 | |
| 10950 | | <software name="megaga63"> |
| 10951 | | <description>Mega Games 6 Vol. 3 (Euro)</description> |
| 10952 | | <year>199?</year> |
| 10953 | | <publisher><unknown></publisher> |
| 10954 | | <part name="cart" interface="megadriv_cart"> |
| 10955 | | <dataarea name="rom" size="3145728"> |
| 10956 | | <rom name="mpr-18871.bin" size="3145728" crc="fe3e7e4f" sha1="cca818d624e95c2d07cfc1b22c44eb53e4bdcd02" offset="000000" /> |
| 10957 | | </dataarea> |
| 10958 | | </part> |
| 10959 | | </software> |
| 10960 | | |
| 10961 | 11200 | <software name="megaga10"> |
| 10962 | 11201 | <description>Mega Games 10 (Bra)</description> |
| 10963 | 11202 | <year>199?</year> |
| r9665 | r9666 | |
| 11288 | 11527 | </part> |
| 11289 | 11528 | </software> |
| 11290 | 11529 | |
| 11291 | | <software name="micro96"> |
| 11292 | | <description>Micro Machines Turbo Tournament 96 (Euro, v1.1, J-Cart)</description> |
| 11293 | | <year>199?</year> |
| 11294 | | <publisher><unknown></publisher> |
| 11295 | | <part name="cart" interface="megadriv_cart"> |
| 11296 | | <dataarea name="rom" size="1048576"> |
| 11297 | | <rom name="mm96mdeddb.bin" size="1048576" crc="23319d0d" sha1="e8ff759679a0df2b3f9ece37ef686f248d3cf37b" offset="000000" /> |
| 11298 | | </dataarea> |
| 11299 | | </part> |
| 11300 | | </software> |
| 11301 | | |
| 11302 | 11530 | <software name="micro96a" cloneof="micro96"> |
| 11303 | 11531 | <description>Micro Machines Turbo Tournament 96 (Euro, J-Cart)</description> |
| 11304 | 11532 | <year>199?</year> |
| r9665 | r9666 | |
| 11310 | 11538 | </part> |
| 11311 | 11539 | </software> |
| 11312 | 11540 | |
| 11313 | | <software name="microm2"> |
| 11314 | | <description>Micro Machines 2 - Turbo Tournament (Euro, J-Cart)</description> |
| 11315 | | <year>199?</year> |
| 11316 | | <publisher><unknown></publisher> |
| 11317 | | <part name="cart" interface="megadriv_cart"> |
| 11318 | | <dataarea name="rom" size="1048576"> |
| 11319 | | <rom name="mdm_2bead.bin" size="1048576" crc="42bfb7eb" sha1="ab29077a6a5c2ccc777b0bf22f4d5908401f4d47" offset="000000" /> |
| 11320 | | </dataarea> |
| 11321 | | </part> |
| 11322 | | </software> |
| 11323 | | |
| 11324 | 11541 | <software name="microm2a" cloneof="microm2"> |
| 11325 | 11542 | <description>Micro Machines 2 - Turbo Tournament (Euro, J-Cart, Alt)</description> |
| 11326 | 11543 | <year>199?</year> |
| r9665 | r9666 | |
| 13930 | 14147 | </part> |
| 13931 | 14148 | </software> |
| 13932 | 14149 | |
| 13933 | | <software name="psampras"> |
| 13934 | | <description>Pete Sampras Tennis (Euro, USA, J-Cart)</description> |
| 13935 | | <year>199?</year> |
| 13936 | | <publisher><unknown></publisher> |
| 13937 | | <part name="cart" interface="megadriv_cart"> |
| 13938 | | <dataarea name="rom" size="1048576"> |
| 13939 | | <rom name="mdst6636.bin" size="1048576" crc="94e505b2" sha1="4c830ace4590294bb374b4cab71ebebf44d9a07a" offset="000000" /> |
| 13940 | | </dataarea> |
| 13941 | | </part> |
| 13942 | | </software> |
| 13943 | | |
| 13944 | 14150 | <software name="psampras1" cloneof="psampras"> |
| 13945 | 14151 | <description>Pete Sampras Tennis (Euro, USA, J-Cart, Alt)</description> |
| 13946 | 14152 | <year>199?</year> |
| r9665 | r9666 | |
| 14040 | 14246 | </part> |
| 14041 | 14247 | </software> |
| 14042 | 14248 | |
| 14043 | | <software name="pstar2"> |
| 14044 | | <description>Phantasy Star II (Euro, USA, Rev. A)</description> |
| 14045 | | <year>199?</year> |
| 14046 | | <publisher><unknown></publisher> |
| 14047 | | <part name="cart" interface="megadriv_cart"> |
| 14048 | | <dataarea name="rom" size="786432"> |
| 14049 | | <rom name="mpr-12851a+mpr-12852a.bin" size="786432" crc="904fa047" sha1="0711080e968490a6b8c5fafbb9db3e62ba597231" offset="000000" /> |
| 14050 | | </dataarea> |
| 14051 | | </part> |
| 14052 | | </software> |
| 14053 | | |
| 14054 | 14249 | <software name="pstar2a" cloneof="pstar2"> |
| 14055 | 14250 | <description>Phantasy Star II (Euro, USA)</description> |
| 14056 | 14251 | <year>199?</year> |
| r9665 | r9666 | |
| 16540 | 16735 | </part> |
| 16541 | 16736 | </software> |
| 16542 | 16737 | |
| 16543 | | <software name="shinfrc2"> |
| 16544 | | <description>Shining Force II (Euro)</description> |
| 16545 | | <year>199?</year> |
| 16546 | | <publisher><unknown></publisher> |
| 16547 | | <part name="cart" interface="megadriv_cart"> |
| 16548 | | <dataarea name="rom" size="2097152"> |
| 16549 | | <rom name="mpr-16933.bin" size="2097152" crc="83cb46d1" sha1="a2ba86f4d756f98886f8f9a56f20cbf8c3b2945e" offset="000000" /> |
| 16550 | | </dataarea> |
| 16551 | | </part> |
| 16552 | | </software> |
| 16553 | | |
| 16554 | 16738 | <software name="shinfrc2j" cloneof="shinfrc2"> |
| 16555 | 16739 | <description>Shining Force II - Koe no Fuuin (Jpn)</description> |
| 16556 | 16740 | <year>199?</year> |
| r9665 | r9666 | |
| 16947 | 17131 | </part> |
| 16948 | 17132 | </software> |
| 16949 | 17133 | |
| 16950 | | <software name="smurfs"> |
| 16951 | | <description>The Smurfs (Euro, Rev. A)</description> |
| 16952 | | <year>199?</year> |
| 16953 | | <publisher><unknown></publisher> |
| 16954 | | <part name="cart" interface="megadriv_cart"> |
| 16955 | | <dataarea name="rom" size="1048576"> |
| 16956 | | <rom name="mpr-17019a.bin" size="1048576" crc="88b30eff" sha1="0da7e621e05dc9160122d728e1fca645ff11e670" offset="000000" /> |
| 16957 | | </dataarea> |
| 16958 | | </part> |
| 16959 | | </software> |
| 16960 | | |
| 16961 | 17134 | <software name="smurfs2"> |
| 16962 | 17135 | <description>The Smurfs Travel the World (Euro)</description> |
| 16963 | 17136 | <year>199?</year> |
| r9665 | r9666 | |
| 17057 | 17230 | </part> |
| 17058 | 17231 | </software> |
| 17059 | 17232 | |
| 17060 | | <software name="soleils" cloneof="soleil"> |
| 17061 | | <description>Soleil (Spa)</description> |
| 17062 | | <year>199?</year> |
| 17063 | | <publisher><unknown></publisher> |
| 17064 | | <part name="cart" interface="megadriv_cart"> |
| 17065 | | <dataarea name="rom" size="2097152"> |
| 17066 | | <rom name="soleil (spain).bin" size="2097152" crc="9ed4c323" sha1="95ae529cecb7dbca281df25c3c4e7cb8f48d936c" offset="000000" /> |
| 17067 | | </dataarea> |
| 17068 | | </part> |
| 17069 | | </software> |
| 17070 | | |
| 17071 | 17233 | <software name="crusader" cloneof="soleil"> |
| 17072 | 17234 | <description>Crusader of Centy (USA)</description> |
| 17073 | 17235 | <year>199?</year> |
| r9665 | r9666 | |
| 17431 | 17593 | </part> |
| 17432 | 17594 | </software> |
| 17433 | 17595 | |
| 17434 | | <software name="soniccmp1" cloneof="soniccmp"> |
| 17435 | | <description>Sonic Compilation (Euro, Earlier)</description> |
| 17436 | | <year>199?</year> |
| 17437 | | <publisher><unknown></publisher> |
| 17438 | | <part name="cart" interface="megadriv_cart"> |
| 17439 | | <dataarea name="rom" size="3145728"> |
| 17440 | | <rom name="mpr-18203+mpr-18204.bin" size="3145728" crc="8c70b84e" sha1="109e6d7b31d00fbdb9d4ecb304d4ea19e96c8607" offset="000000" /> |
| 17441 | | </dataarea> |
| 17442 | | </part> |
| 17443 | | </software> |
| 17444 | | |
| 17445 | 17596 | <software name="scrack"> |
| 17446 | 17597 | <description>Sonic Crackers (Jpn, Prototype)</description> |
| 17447 | 17598 | <year>199?</year> |
| r9665 | r9666 | |
| 17486 | 17637 | </part> |
| 17487 | 17638 | </software> |
| 17488 | 17639 | |
| 17489 | | <software name="sspin"> |
| 17490 | | <description>Sonic Spinball (Euro)</description> |
| 17491 | | <year>199?</year> |
| 17492 | | <publisher><unknown></publisher> |
| 17493 | | <part name="cart" interface="megadriv_cart"> |
| 17494 | | <dataarea name="rom" size="1048576"> |
| 17495 | | <rom name="mpr-16077.bin" size="1048576" crc="aea0786d" sha1="f61a568314133b60de82ac162b5b52473adc9e1c" offset="000000" /> |
| 17496 | | </dataarea> |
| 17497 | | </part> |
| 17498 | | </software> |
| 17499 | | |
| 17500 | 17640 | <software name="sspinb" cloneof="sspin"> |
| 17501 | 17641 | <description>Sonic Spinball (Prototype)</description> |
| 17502 | 17642 | <year>199?</year> |
| r9665 | r9666 | |
| 17706 | 17846 | </part> |
| 17707 | 17847 | </software> |
| 17708 | 17848 | |
| 17709 | | <software name="sonic3"> |
| 17710 | | <description>Sonic the Hedgehog 3 (Euro)</description> |
| 17711 | | <year>199?</year> |
| 17712 | | <publisher><unknown></publisher> |
| 17713 | | <part name="cart" interface="megadriv_cart"> |
| 17714 | | <dataarea name="rom" size="2097152"> |
| 17715 | | <rom name="mpr-16342.bin" size="2097152" crc="6a632503" sha1="2ff45bb056ede0f745e52f8d02c54b4ca724ca4c" offset="000000" /> |
| 17716 | | </dataarea> |
| 17717 | | </part> |
| 17718 | | </software> |
| 17719 | | |
| 17720 | 17849 | <software name="sonic3j" cloneof="sonic3"> |
| 17721 | 17850 | <description>Sonic the Hedgehog 3 (Jpn, Kor)</description> |
| 17722 | 17851 | <year>199?</year> |
| r9665 | r9666 | |
| 17805 | 17934 | </part> |
| 17806 | 17935 | </software> |
| 17807 | 17936 | |
| 17808 | | <software name="sharr"> |
| 17809 | | <description>Space Harrier II (World)</description> |
| 17810 | | <year>199?</year> |
| 17811 | | <publisher><unknown></publisher> |
| 17812 | | <part name="cart" interface="megadriv_cart"> |
| 17813 | | <dataarea name="rom" size="524288"> |
| 17814 | | <rom name="mpr-12355.bin" size="524288" crc="e5c9cbb0" sha1="db4285e4ffb69aa9f1ca68c4103fbfd0843f7b86" offset="000000" /> |
| 17815 | | </dataarea> |
| 17816 | | </part> |
| 17817 | | </software> |
| 17818 | | |
| 17819 | 17937 | <software name="sharrj" cloneof="sharr"> |
| 17820 | 17938 | <description>Space Harrier II (Jpn, Launch Cart)</description> |
| 17821 | 17939 | <year>199?</year> |
| r9665 | r9666 | |
| 18366 | 18484 | </part> |
| 18367 | 18485 | </software> |
| 18368 | 18486 | |
| 18369 | | <software name="storythof" cloneof="storytho"> |
| 18370 | | <description>La Legende de Thor (Fra)</description> |
| 18371 | | <year>199?</year> |
| 18372 | | <publisher><unknown></publisher> |
| 18373 | | <part name="cart" interface="megadriv_cart"> |
| 18374 | | <dataarea name="rom" size="3145728"> |
| 18375 | | <rom name="mpr-17720+mpr-17721.bin" size="3145728" crc="b97cca1c" sha1="677e1fbf2f6f90dd5a016f3bd5f305547249205a" offset="000000" /> |
| 18376 | | </dataarea> |
| 18377 | | </part> |
| 18378 | | </software> |
| 18379 | | |
| 18380 | 18487 | <software name="storythog" cloneof="storytho"> |
| 18381 | 18488 | <description>The Story of Thor (Ger)</description> |
| 18382 | 18489 | <year>199?</year> |
| r9665 | r9666 | |
| 18555 | 18662 | </part> |
| 18556 | 18663 | </software> |
| 18557 | 18664 | |
| 18558 | | <software name="sor"> |
| 18559 | | <description>Streets of Rage / Bare Knuckle - Ikari no Tetsuken (World, Rev. A)</description> |
| 18560 | | <year>199?</year> |
| 18561 | | <publisher><unknown></publisher> |
| 18562 | | <part name="cart" interface="megadriv_cart"> |
| 18563 | | <dataarea name="rom" size="524288"> |
| 18564 | | <rom name="mpr-14125a.bin" size="524288" crc="4052e845" sha1="731cdf182fe647e4977477ba4dd2e2b46b9b878a" offset="000000" /> |
| 18565 | | </dataarea> |
| 18566 | | </part> |
| 18567 | | </software> |
| 18568 | | |
| 18569 | | <software name="sora" cloneof="sor"> |
| 18570 | | <description>Streets of Rage / Bare Knuckle - Ikari no Tetsuken (World)</description> |
| 18571 | | <year>199?</year> |
| 18572 | | <publisher><unknown></publisher> |
| 18573 | | <part name="cart" interface="megadriv_cart"> |
| 18574 | | <dataarea name="rom" size="524288"> |
| 18575 | | <rom name="mpr-14125.bin" size="524288" crc="bff227c6" sha1="3d74dbc81f3472a5bde45bf265e636a72a314667" offset="000000" /> |
| 18576 | | </dataarea> |
| 18577 | | </part> |
| 18578 | | </software> |
| 18579 | | |
| 18580 | 18665 | <software name="sor2"> |
| 18581 | 18666 | <description>Streets of Rage II / Bare Knuckle II - Shitou e no Chingonka (Euro, Jpn)</description> |
| 18582 | 18667 | <year>199?</year> |
| r9665 | r9666 | |
| 19286 | 19371 | </part> |
| 19287 | 19372 | </software> |
| 19288 | 19373 | |
| 19289 | | <software name="smgp"> |
| 19290 | | <description>Super Monaco GP (Euro, Jpn, Rev. A)</description> |
| 19291 | | <year>199?</year> |
| 19292 | | <publisher><unknown></publisher> |
| 19293 | | <part name="cart" interface="megadriv_cart"> |
| 19294 | | <dataarea name="rom" size="524288"> |
| 19295 | | <rom name="mpr-13250a.bin" size="524288" crc="be91b28a" sha1="1e49a449367f0ec7ba0331b7b0d074f796e48d58" offset="000000" /> |
| 19296 | | </dataarea> |
| 19297 | | </part> |
| 19298 | | </software> |
| 19299 | | |
| 19300 | 19374 | <software name="smgp1" cloneof="smgp"> |
| 19301 | 19375 | <description>Super Monaco GP (Euro, Jpn)</description> |
| 19302 | 19376 | <year>199?</year> |
| r9665 | r9666 | |
| 19385 | 19459 | </part> |
| 19386 | 19460 | </software> |
| 19387 | 19461 | |
| 19388 | | <software name="ssmashtv"> |
| 19389 | | <description>Super Smash TV (Euro, USA)</description> |
| 19390 | | <year>199?</year> |
| 19391 | | <publisher><unknown></publisher> |
| 19392 | | <part name="cart" interface="megadriv_cart"> |
| 19393 | | <dataarea name="rom" size="524288"> |
| 19394 | | <rom name="mpr-15040.bin" size="524288" crc="f22412b6" sha1="0459f7c61f152fa0afa98d96ef9fbe4964641f34" offset="000000" /> |
| 19395 | | </dataarea> |
| 19396 | | </part> |
| 19397 | | </software> |
| 19398 | | |
| 19399 | 19462 | <software name="ssf2"> |
| 19400 | 19463 | <description>Super Street Fighter II - The New Challengers (Euro)</description> |
| 19401 | 19464 | <year>199?</year> |
| r9665 | r9666 | |
| 19693 | 19756 | </part> |
| 19694 | 19757 | </software> |
| 19695 | 19758 | |
| 19696 | | <software name="talmit"> |
| 19697 | | <description>Talmit's Adventure (Euro)</description> |
| 19698 | | <year>199?</year> |
| 19699 | | <publisher><unknown></publisher> |
| 19700 | | <part name="cart" interface="megadriv_cart"> |
| 19701 | | <dataarea name="rom" size="1048576"> |
| 19702 | | <rom name="talmit's adventure (euro).bin" size="1048576" crc="05dc3ffc" sha1="be80f96bee64bab159614d29f882442abef9de76" offset="000000" /> |
| 19703 | | </dataarea> |
| 19704 | | </part> |
| 19705 | | </software> |
| 19706 | | |
| 19707 | 19759 | <software name="mvlnd" cloneof="talmit"> |
| 19708 | 19760 | <description>Marvel Land (USA)</description> |
| 19709 | 19761 | <year>199?</year> |
| r9665 | r9666 | |
| 19715 | 19767 | </part> |
| 19716 | 19768 | </software> |
| 19717 | 19769 | |
| 19718 | | <software name="mvlndj" cloneof="talmit"> |
| 19719 | | <description>Marvel Land (Jpn)</description> |
| 19720 | | <year>199?</year> |
| 19721 | | <publisher><unknown></publisher> |
| 19722 | | <part name="cart" interface="megadriv_cart"> |
| 19723 | | <dataarea name="rom" size="1048576"> |
| 19724 | | <rom name="marvel land (jpn).bin" size="1048576" crc="5d162d21" sha1="2f7ef2f956d62373dcd5f3808e7501e3660c0658" offset="000000" /> |
| 19725 | | </dataarea> |
| 19726 | | </part> |
| 19727 | | </software> |
| 19728 | | |
| 19729 | 19770 | <software name="targetea"> |
| 19730 | 19771 | <description>Target Earth (USA)</description> |
| 19731 | 19772 | <year>199?</year> |
| r9665 | r9666 | |
| 23846 | 23887 | </part> |
| 23847 | 23888 | </software> |
| 23848 | 23889 | |
| 23849 | | <!-- Id: G-4503 --> |
| 23850 | | <software name="gameto"> |
| 23851 | | <description>Game Toshokan (Jpn, Rev. A)</description> |
| 23852 | | <year>199?</year> |
| 23853 | | <publisher><unknown></publisher> |
| 23854 | | <part name="cart" interface="megadriv_cart"> |
| 23855 | | <dataarea name="rom" size="131072"> |
| 23856 | | <rom name="mpr-12750a.bin" size="131072" crc="c185c819" sha1="9673b519c16883c146924c347ec6764281fa3a57" offset="000000" /> |
| 23857 | | </dataarea> |
| 23858 | | </part> |
| 23859 | | </software> |
| 23860 | | |
| 23861 | 23890 | <!-- Id: G-4502 --> |
| 23862 | 23891 | <software name="megaan"> |
| 23863 | 23892 | <description>Mega Anser (Jpn)</description> |
src/mess/machine/genesis.c
| r9665 | r9666 | |
| 4 | 4 | |
| 5 | 5 | Machine file to handle emulation of the Sega Mega Drive & Genesis. |
| 6 | 6 | |
| 7 | | i2c games mapping table: |
| 7 | i2c games mapping table: |
| 8 | 8 | |
| 9 | | game name | SDA_IN | SDA_OUT | SCL | SIZE_MASK | PAGE_MASK | |
| 10 | | ----------------------------------|------------|------------|------------|----------------|-----------| |
| 11 | | NBA Jam | 0x200001-0 | 0x200001-0 | 0x200001-1 | 0x00ff (24C02) | 0x03 | xx |
| 9 | game name | SDA_IN | SDA_OUT | SCL | SIZE_MASK | PAGE_MASK | |
| 10 | ----------------------------------|------------|------------|------------|----------------|-----------| |
| 11 | NBA Jam | 0x200001-0 | 0x200001-0 | 0x200001-1 | 0x00ff (24C02) | 0x03 | xx |
| 12 | 12 | NBA Jam TE | 0x200001-0 | 0x200001-0 | 0x200000-0 | 0x00ff (24C02) | 0x03 | xx |
| 13 | 13 | NBA Jam TE (32x) | 0x200001-0 | 0x200001-0 | 0x200000-0 | 0x00ff (24C02) | 0x03 | |
| 14 | 14 | NFL Quarterback Club | 0x200001-0 | 0x200001-0 | 0x200000-0 | 0x00ff (24C02) | 0x03 | xx |
| r9665 | r9666 | |
| 28 | 28 | Brian Lara Cricket 96 | 0x380001-7 | 0x300000-0*| 0x300000-1*| 0x1fff (24C64) | 0x??* | |
| 29 | 29 | ----------------------------------|------------|------------|------------|----------------|-----------| |
| 30 | 30 | |
| 31 | | * Notes: check these |
| 32 | | ** original Rockman Mega World (J) set uses normal backup RAM |
| 31 | * Notes: check these |
| 32 | ** original Rockman Mega World (J) set uses normal backup RAM |
| 33 | 33 | |
| 34 | 34 | 2008-09: Moved here cart code and custom mapper handlers. Hopefully, |
| 35 | 35 | it will make painless the future merging with HazeMD |
| r9665 | r9666 | |
| 50 | 50 | |
| 51 | 51 | #include "devices/cartslot.h" |
| 52 | 52 | #include "includes/genesis.h" |
| 53 | #include "genesis_pcb.h" |
| 53 | 54 | |
| 54 | 55 | |
| 55 | 56 | #define MAX_MD_CART_SIZE 0x500000 |
| r9665 | r9666 | |
| 676 | 677 | |
| 677 | 678 | static READ16_HANDLER( nba_jam_eeprom_r ) |
| 678 | 679 | { |
| 679 | | // i2c_mem = (i2cmem_sda_read(space->machine->device("i2cmem")) & 1); |
| 680 | // i2c_mem = (i2cmem_sda_read(space->machine->device("i2cmem")) & 1); |
| 680 | 681 | |
| 681 | 682 | return i2c_mem & 1; |
| 682 | 683 | } |
| r9665 | r9666 | |
| 686 | 687 | i2c_clk = (data & 0x0002) >> 1; |
| 687 | 688 | i2c_mem = (data & 0x0001); |
| 688 | 689 | |
| 689 | | // i2cmem_sda_write(space->machine->device("i2cmem"), i2c_clk); |
| 690 | | // i2cmem_scl_write(space->machine->device("i2cmem"), i2c_mem); |
| 690 | // i2cmem_sda_write(space->machine->device("i2cmem"), i2c_clk); |
| 691 | // i2cmem_scl_write(space->machine->device("i2cmem"), i2c_mem); |
| 691 | 692 | } |
| 692 | 693 | |
| 693 | 694 | static READ16_HANDLER( nba_jam_te_eeprom_r ) |
| 694 | 695 | { |
| 695 | | // i2c_mem = (i2cmem_sda_read(space->machine->device("i2cmem")) & 1); |
| 696 | // i2c_mem = (i2cmem_sda_read(space->machine->device("i2cmem")) & 1); |
| 696 | 697 | |
| 697 | 698 | return (i2c_mem & 1); |
| 698 | 699 | } |
| r9665 | r9666 | |
| 702 | 703 | i2c_clk = ((data & 0x0100) >> 8); |
| 703 | 704 | i2c_mem = data & 0x0001; |
| 704 | 705 | |
| 705 | | // i2cmem_sda_write(space->machine->device("i2cmem"), i2c_clk); |
| 706 | | // i2cmem_scl_write(space->machine->device("i2cmem"), i2c_mem); |
| 706 | // i2cmem_sda_write(space->machine->device("i2cmem"), i2c_clk); |
| 707 | // i2cmem_scl_write(space->machine->device("i2cmem"), i2c_mem); |
| 707 | 708 | } |
| 708 | 709 | |
| 709 | 710 | static READ16_HANDLER( ea_nhlpa_eeprom_r ) |
| 710 | 711 | { |
| 711 | | // i2c_mem = (i2cmem_sda_read(space->machine->device("i2cmem")) & 1); |
| 712 | // i2c_mem = (i2cmem_sda_read(space->machine->device("i2cmem")) & 1); |
| 712 | 713 | |
| 713 | 714 | return (i2c_mem & 1) << 7; |
| 714 | 715 | } |
| r9665 | r9666 | |
| 718 | 719 | i2c_clk = ((data & 0x0040) >> 6); |
| 719 | 720 | i2c_mem = ((data & 0x0080) >> 7); |
| 720 | 721 | |
| 721 | | // i2cmem_sda_write(space->machine->device("i2cmem"), i2c_clk); |
| 722 | | // i2cmem_scl_write(space->machine->device("i2cmem"), i2c_mem); |
| 722 | // i2cmem_sda_write(space->machine->device("i2cmem"), i2c_clk); |
| 723 | // i2cmem_scl_write(space->machine->device("i2cmem"), i2c_mem); |
| 723 | 724 | } |
| 724 | 725 | |
| 725 | 726 | /* TODO: identical as NBA Jam, used as kludge */ |
| 726 | 727 | static READ16_HANDLER( wboy_v_eeprom_r ) |
| 727 | 728 | { |
| 728 | | // i2c_mem = (i2cmem_sda_read(space->machine->device("i2cmem")) & 1); |
| 729 | // i2c_mem = (i2cmem_sda_read(space->machine->device("i2cmem")) & 1); |
| 729 | 730 | |
| 730 | 731 | return ~i2c_mem & 1; |
| 731 | 732 | } |
| r9665 | r9666 | |
| 735 | 736 | i2c_clk = (data & 0x0002) >> 1; |
| 736 | 737 | i2c_mem = (data & 0x0001); |
| 737 | 738 | |
| 738 | | // i2cmem_sda_write(space->machine->device("i2cmem"), i2c_clk); |
| 739 | | // i2cmem_scl_write(space->machine->device("i2cmem"), i2c_mem); |
| 739 | // i2cmem_sda_write(space->machine->device("i2cmem"), i2c_clk); |
| 740 | // i2cmem_scl_write(space->machine->device("i2cmem"), i2c_mem); |
| 740 | 741 | } |
| 741 | 742 | |
| 742 | 743 | static READ16_HANDLER( codemasters_eeprom_r ) |
| 743 | 744 | { |
| 744 | | // i2c_mem = (i2cmem_sda_read(space->machine->device("i2cmem")) & 1); |
| 745 | // i2c_mem = (i2cmem_sda_read(space->machine->device("i2cmem")) & 1); |
| 745 | 746 | |
| 746 | 747 | return (i2c_mem & 1) << 7; |
| 747 | 748 | } |
| r9665 | r9666 | |
| 751 | 752 | i2c_clk = (data & 0x0200) >> 9; |
| 752 | 753 | i2c_mem = (data & 0x0100) >> 8; |
| 753 | 754 | |
| 754 | | // i2cmem_sda_write(space->machine->device("i2cmem"), i2c_clk); |
| 755 | | // i2cmem_scl_write(space->machine->device("i2cmem"), i2c_mem); |
| 755 | // i2cmem_sda_write(space->machine->device("i2cmem"), i2c_clk); |
| 756 | // i2cmem_scl_write(space->machine->device("i2cmem"), i2c_mem); |
| 756 | 757 | } |
| 757 | 758 | |
| 758 | 759 | /************************************* |
| r9665 | r9666 | |
| 1136 | 1137 | unsigned char fliptemp; |
| 1137 | 1138 | #endif |
| 1138 | 1139 | |
| 1139 | | rawROM = memory_region(image.device().machine, "maincpu"); |
| 1140 | | ROM = rawROM /*+ 512 */; |
| 1140 | genesis_sram = NULL; |
| 1141 | sram_detected = 0; |
| 1142 | genesis_sram_start = genesis_sram_end = 0; |
| 1143 | has_serial_eeprom = 0; |
| 1144 | cart_type = STANDARD; |
| 1141 | 1145 | |
| 1142 | | genesis_last_loaded_image_length = -1; |
| 1143 | | |
| 1144 | 1146 | if (image.software_entry() == NULL) |
| 1145 | | length = image.fread( rawROM + 0x2000, 0x600000); |
| 1146 | | else |
| 1147 | 1147 | { |
| 1148 | | length = image.get_software_region_length("rom"); |
| 1149 | | memcpy(rawROM + 0x2000, image.get_software_region("rom"), length); |
| 1150 | | } |
| 1148 | rawROM = memory_region(image.device().machine, "maincpu"); |
| 1149 | ROM = rawROM /*+ 512 */; |
| 1151 | 1150 | |
| 1152 | | logerror("image length = 0x%x\n", length); |
| 1151 | genesis_last_loaded_image_length = -1; |
| 1153 | 1152 | |
| 1154 | | /* is this a SMD file? */ |
| 1155 | | if (genesis_is_SMD(&rawROM[0x2200], (unsigned)length)) |
| 1156 | | { |
| 1157 | | tmpROMnew = ROM; |
| 1158 | | tmpROM = ROM + 0x2000 + 512; |
| 1153 | length = image.fread( rawROM + 0x2000, 0x600000); |
| 1159 | 1154 | |
| 1160 | | for (ptr = 0; ptr < MAX_MD_CART_SIZE / (8192); ptr += 2) |
| 1155 | logerror("image length = 0x%x\n", length); |
| 1156 | |
| 1157 | /* is this a SMD file? */ |
| 1158 | if (genesis_is_SMD(&rawROM[0x2200], (unsigned)length)) |
| 1161 | 1159 | { |
| 1162 | | for (x = 0; x < 8192; x++) |
| 1160 | tmpROMnew = ROM; |
| 1161 | tmpROM = ROM + 0x2000 + 512; |
| 1162 | |
| 1163 | for (ptr = 0; ptr < MAX_MD_CART_SIZE / (8192); ptr += 2) |
| 1163 | 1164 | { |
| 1164 | | *tmpROMnew++ = *(tmpROM + ((ptr + 1) * 8192) + x); |
| 1165 | | *tmpROMnew++ = *(tmpROM + ((ptr + 0) * 8192) + x); |
| 1165 | for (x = 0; x < 8192; x++) |
| 1166 | { |
| 1167 | *tmpROMnew++ = *(tmpROM + ((ptr + 1) * 8192) + x); |
| 1168 | *tmpROMnew++ = *(tmpROM + ((ptr + 0) * 8192) + x); |
| 1169 | } |
| 1166 | 1170 | } |
| 1167 | | } |
| 1168 | 1171 | |
| 1169 | 1172 | #ifdef LSB_FIRST |
| 1170 | | tmpROMnew = ROM; |
| 1171 | | for (ptr = 0; ptr < length; ptr += 2) |
| 1172 | | { |
| 1173 | | fliptemp = tmpROMnew[ptr]; |
| 1174 | | tmpROMnew[ptr] = tmpROMnew[ptr + 1]; |
| 1175 | | tmpROMnew[ptr + 1] = fliptemp; |
| 1176 | | } |
| 1173 | tmpROMnew = ROM; |
| 1174 | for (ptr = 0; ptr < length; ptr += 2) |
| 1175 | { |
| 1176 | fliptemp = tmpROMnew[ptr]; |
| 1177 | tmpROMnew[ptr] = tmpROMnew[ptr + 1]; |
| 1178 | tmpROMnew[ptr + 1] = fliptemp; |
| 1179 | } |
| 1177 | 1180 | #endif |
| 1178 | | genesis_last_loaded_image_length = length - 512; |
| 1179 | | memcpy(&ROM[VIRGIN_COPY_GEN], &ROM[0x000000], MAX_MD_CART_SIZE); /* store a copy of data for MACHINE_RESET processing */ |
| 1181 | genesis_last_loaded_image_length = length - 512; |
| 1182 | memcpy(&ROM[VIRGIN_COPY_GEN], &ROM[0x000000], MAX_MD_CART_SIZE); /* store a copy of data for MACHINE_RESET processing */ |
| 1180 | 1183 | |
| 1181 | | relocate = 0; |
| 1184 | relocate = 0; |
| 1182 | 1185 | |
| 1183 | | } |
| 1184 | | |
| 1185 | | /* is this a MD file? */ |
| 1186 | | else if ((rawROM[0x2080] == 'E') && (rawROM[0x2081] == 'A') && |
| 1187 | | (rawROM[0x2082] == 'M' || rawROM[0x2082] == 'G')) |
| 1188 | | { |
| 1189 | | tmpROMnew = (unsigned char *)osd_malloc(length); |
| 1190 | | secondhalf = &tmpROMnew[length >> 1]; |
| 1191 | | |
| 1192 | | if (!tmpROMnew) |
| 1193 | | { |
| 1194 | | logerror("Memory allocation failed reading roms!\n"); |
| 1195 | | return IMAGE_INIT_FAIL; |
| 1196 | 1186 | } |
| 1197 | 1187 | |
| 1198 | | memcpy(tmpROMnew, ROM + 0x2000, length); |
| 1199 | | for (ptr = 0; ptr < length; ptr += 2) |
| 1188 | /* is this a MD file? */ |
| 1189 | else if ((rawROM[0x2080] == 'E') && (rawROM[0x2081] == 'A') && |
| 1190 | (rawROM[0x2082] == 'M' || rawROM[0x2082] == 'G')) |
| 1200 | 1191 | { |
| 1192 | tmpROMnew = (unsigned char *)osd_malloc(length); |
| 1193 | secondhalf = &tmpROMnew[length >> 1]; |
| 1201 | 1194 | |
| 1202 | | ROM[ptr] = secondhalf[ptr >> 1]; |
| 1203 | | ROM[ptr + 1] = tmpROMnew[ptr >> 1]; |
| 1204 | | } |
| 1205 | | free(tmpROMnew); |
| 1195 | if (!tmpROMnew) |
| 1196 | { |
| 1197 | logerror("Memory allocation failed reading roms!\n"); |
| 1198 | return IMAGE_INIT_FAIL; |
| 1199 | } |
| 1206 | 1200 | |
| 1201 | memcpy(tmpROMnew, ROM + 0x2000, length); |
| 1202 | for (ptr = 0; ptr < length; ptr += 2) |
| 1203 | { |
| 1204 | |
| 1205 | ROM[ptr] = secondhalf[ptr >> 1]; |
| 1206 | ROM[ptr + 1] = tmpROMnew[ptr >> 1]; |
| 1207 | } |
| 1208 | free(tmpROMnew); |
| 1209 | |
| 1207 | 1210 | #ifdef LSB_FIRST |
| 1208 | | for (ptr = 0; ptr < length; ptr += 2) |
| 1209 | | { |
| 1210 | | fliptemp = ROM[ptr]; |
| 1211 | | ROM[ptr] = ROM[ptr+1]; |
| 1212 | | ROM[ptr+1] = fliptemp; |
| 1213 | | } |
| 1211 | for (ptr = 0; ptr < length; ptr += 2) |
| 1212 | { |
| 1213 | fliptemp = ROM[ptr]; |
| 1214 | ROM[ptr] = ROM[ptr+1]; |
| 1215 | ROM[ptr+1] = fliptemp; |
| 1216 | } |
| 1214 | 1217 | #endif |
| 1215 | | genesis_last_loaded_image_length = length; |
| 1216 | | memcpy(&ROM[VIRGIN_COPY_GEN], &ROM[0x000000], MAX_MD_CART_SIZE); /* store a copy of data for MACHINE_RESET processing */ |
| 1217 | | relocate = 0; |
| 1218 | genesis_last_loaded_image_length = length; |
| 1219 | memcpy(&ROM[VIRGIN_COPY_GEN], &ROM[0x000000], MAX_MD_CART_SIZE); /* store a copy of data for MACHINE_RESET processing */ |
| 1220 | relocate = 0; |
| 1218 | 1221 | |
| 1219 | | } |
| 1222 | } |
| 1220 | 1223 | |
| 1221 | | /* BIN it is, then */ |
| 1222 | | else |
| 1223 | | { |
| 1224 | | relocate = 0x2000; |
| 1225 | | genesis_last_loaded_image_length = length; |
| 1224 | /* BIN it is, then */ |
| 1225 | else |
| 1226 | { |
| 1227 | relocate = 0x2000; |
| 1228 | genesis_last_loaded_image_length = length; |
| 1226 | 1229 | |
| 1227 | | for (ptr = 0; ptr < MAX_MD_CART_SIZE + relocate; ptr += 2) /* mangle bytes for little endian machines */ |
| 1228 | | { |
| 1230 | for (ptr = 0; ptr < MAX_MD_CART_SIZE + relocate; ptr += 2) /* mangle bytes for little endian machines */ |
| 1231 | { |
| 1229 | 1232 | #ifdef LSB_FIRST |
| 1230 | | int temp = ROM[relocate + ptr]; |
| 1233 | int temp = ROM[relocate + ptr]; |
| 1231 | 1234 | |
| 1232 | | ROM[ptr] = ROM[relocate + ptr + 1]; |
| 1233 | | ROM[ptr + 1] = temp; |
| 1235 | ROM[ptr] = ROM[relocate + ptr + 1]; |
| 1236 | ROM[ptr + 1] = temp; |
| 1234 | 1237 | #else |
| 1235 | | ROM[ptr] = ROM[relocate + ptr]; |
| 1236 | | ROM[ptr + 1] = ROM[relocate + ptr + 1]; |
| 1238 | ROM[ptr] = ROM[relocate + ptr]; |
| 1239 | ROM[ptr + 1] = ROM[relocate + ptr + 1]; |
| 1237 | 1240 | #endif |
| 1241 | } |
| 1242 | |
| 1243 | memcpy(&ROM[VIRGIN_COPY_GEN], &ROM[0x000000], MAX_MD_CART_SIZE); /* store a copy of data for MACHINE_RESET processing */ |
| 1238 | 1244 | } |
| 1239 | 1245 | |
| 1240 | | memcpy(&ROM[VIRGIN_COPY_GEN], &ROM[0x000000], MAX_MD_CART_SIZE); /* store a copy of data for MACHINE_RESET processing */ |
| 1241 | | } |
| 1246 | /* Default cartridge type */ |
| 1247 | cart_type = STANDARD; |
| 1242 | 1248 | |
| 1243 | | /* Default cartridge type */ |
| 1244 | | cart_type = STANDARD; |
| 1245 | | |
| 1246 | | /* Detect carts which need additional handlers */ |
| 1247 | | { |
| 1248 | | static const unsigned char smouse_sig[] = { 0x4d, 0xf9, 0x00, 0x40, 0x00, 0x02 }, |
| 1249 | /* Detect carts which need additional handlers */ |
| 1250 | { |
| 1251 | static const unsigned char smouse_sig[] = { 0x4d, 0xf9, 0x00, 0x40, 0x00, 0x02 }, |
| 1249 | 1252 | mjlover_sig[] = { 0x13, 0xf9, 0x00, 0x40, 0x00, 0x00 }, // move.b ($400000).l,($FFFF0C).l (partial) |
| 1250 | 1253 | squir_sig[] = { 0x26, 0x79, 0x00, 0xff, 0x00, 0xfa }, |
| 1251 | 1254 | bugsl_sig[] = { 0x20, 0x12, 0x13, 0xc0, 0x00, 0xff }, |
| r9665 | r9666 | |
| 1266 | 1269 | radica_sig[] = { 0x4e, 0xd0, 0x30, 0x39, 0x00, 0xa1 }, // jmp (a0) move.w ($a130xx),d0 |
| 1267 | 1270 | soulb_sig[] = { 0x33, 0xfc, 0x00, 0x0c, 0x00, 0xff }, // move.w #$C,($FF020A).l (what happens if check fails) |
| 1268 | 1271 | s19in1_sig[] = { 0x13, 0xc0, 0x00, 0xa1, 0x30, 0x38 }, |
| 1269 | | rockman_sig[] = { 0xea, 0x80 }; |
| 1272 | rockman_sig[] = { 0xea, 0x80 }; |
| 1270 | 1273 | |
| 1271 | | switch (genesis_last_loaded_image_length) |
| 1272 | | { |
| 1274 | switch (genesis_last_loaded_image_length) |
| 1275 | { |
| 1273 | 1276 | case 0x80000: |
| 1274 | | if (!allendianmemcmp(&ROM[0x08c8], &smouse_sig[0], sizeof(smouse_sig))) |
| 1275 | | cart_type = SMOUSE; |
| 1277 | if (!allendianmemcmp(&ROM[0x08c8], &smouse_sig[0], sizeof(smouse_sig))) |
| 1278 | cart_type = SMOUSE; |
| 1276 | 1279 | |
| 1277 | | if (!allendianmemcmp((char *)&ROM[0x7e30e], "SEGA", 4) || |
| 1278 | | !allendianmemcmp((char *)&ROM[0x7e100], "SEGA", 4) || |
| 1279 | | !allendianmemcmp((char *)&ROM[0x7e1e6], "SEGA", 4)) |
| 1280 | | cart_type = REALTEC; |
| 1280 | if (!allendianmemcmp((char *)&ROM[0x7e30e], "SEGA", 4) || |
| 1281 | !allendianmemcmp((char *)&ROM[0x7e100], "SEGA", 4) || |
| 1282 | !allendianmemcmp((char *)&ROM[0x7e1e6], "SEGA", 4)) |
| 1283 | cart_type = REALTEC; |
| 1281 | 1284 | |
| 1282 | | if (!allendianmemcmp((char *)&ROM[0x0180], "GM T-50396", 10)) // NHLPA Hockey 93 |
| 1283 | | cart_type = EA_NHLPA; |
| 1285 | if (!allendianmemcmp((char *)&ROM[0x0180], "GM T-50396", 10)) // NHLPA Hockey 93 |
| 1286 | cart_type = EA_NHLPA; |
| 1284 | 1287 | |
| 1285 | | if (!allendianmemcmp((char *)&ROM[0x0180], "GM MK-1215", 10)) // Evander Holyfield |
| 1286 | | cart_type = WBOY_V; |
| 1288 | if (!allendianmemcmp((char *)&ROM[0x0180], "GM MK-1215", 10)) // Evander Holyfield |
| 1289 | cart_type = WBOY_V; |
| 1287 | 1290 | |
| 1288 | | break; |
| 1291 | break; |
| 1289 | 1292 | |
| 1290 | 1293 | case 0xc0000: |
| 1291 | 1294 | |
| 1292 | | if (!allendianmemcmp((char *)&ROM[0x0180], "GM G-4060 ", 8)) // Wonder Boy V |
| 1293 | | cart_type = WBOY_V; |
| 1295 | if (!allendianmemcmp((char *)&ROM[0x0180], "GM G-4060 ", 8)) // Wonder Boy V |
| 1296 | cart_type = WBOY_V; |
| 1294 | 1297 | |
| 1295 | | break; |
| 1298 | break; |
| 1296 | 1299 | |
| 1297 | 1300 | case 0x100000: |
| 1298 | | if (!allendianmemcmp(&ROM[0x01b24], &mjlover_sig[0], sizeof(mjlover_sig))) |
| 1299 | | cart_type = MJLOVER; |
| 1301 | if (!allendianmemcmp(&ROM[0x01b24], &mjlover_sig[0], sizeof(mjlover_sig))) |
| 1302 | cart_type = MJLOVER; |
| 1300 | 1303 | |
| 1301 | | if (!allendianmemcmp(&ROM[0x03b4], &squir_sig[0], sizeof(squir_sig))) |
| 1302 | | cart_type = SQUIRRELK; |
| 1304 | if (!allendianmemcmp(&ROM[0x03b4], &squir_sig[0], sizeof(squir_sig))) |
| 1305 | cart_type = SQUIRRELK; |
| 1303 | 1306 | |
| 1304 | | if (!allendianmemcmp(&ROM[0xee0d0], &bugsl_sig[0], sizeof(bugsl_sig))) |
| 1305 | | cart_type = BUGSLIFE; |
| 1307 | if (!allendianmemcmp(&ROM[0xee0d0], &bugsl_sig[0], sizeof(bugsl_sig))) |
| 1308 | cart_type = BUGSLIFE; |
| 1306 | 1309 | |
| 1307 | | if (!allendianmemcmp((char *)&ROM[0x0172], "GAME : ELF WOR", 14)) |
| 1308 | | cart_type = ELFWOR; |
| 1310 | if (!allendianmemcmp((char *)&ROM[0x0172], "GAME : ELF WOR", 14)) |
| 1311 | cart_type = ELFWOR; |
| 1309 | 1312 | |
| 1310 | | if (!allendianmemcmp(&ROM[0x123e4], &sbub_sig[0], sizeof(sbub_sig))) |
| 1311 | | cart_type = SBUBBOB; |
| 1313 | if (!allendianmemcmp(&ROM[0x123e4], &sbub_sig[0], sizeof(sbub_sig))) |
| 1314 | cart_type = SBUBBOB; |
| 1312 | 1315 | |
| 1313 | | if (!allendianmemcmp((char *)&ROM[0x0180], "GM T-50176", 10)) // Rings of Power |
| 1314 | | cart_type = EA_NHLPA; |
| 1316 | if (!allendianmemcmp((char *)&ROM[0x0180], "GM T-50176", 10)) // Rings of Power |
| 1317 | cart_type = EA_NHLPA; |
| 1315 | 1318 | |
| 1316 | | if (!allendianmemcmp((char *)&ROM[0x0180], "MK 00001211-00", 14)) // Sports Talk Baseball |
| 1317 | | cart_type = WBOY_V; |
| 1319 | if (!allendianmemcmp((char *)&ROM[0x0180], "MK 00001211-00", 14)) // Sports Talk Baseball |
| 1320 | cart_type = WBOY_V; |
| 1318 | 1321 | |
| 1319 | | if (!allendianmemcmp((char *)&ROM[0x0180], "GM T-120096-", 12)) // Micro Machines 2 |
| 1320 | | cart_type = CODE_MASTERS; |
| 1322 | if (!allendianmemcmp((char *)&ROM[0x0180], "GM T-120096-", 12)) // Micro Machines 2 |
| 1323 | cart_type = CODE_MASTERS; |
| 1321 | 1324 | |
| 1322 | | if (!allendianmemcmp((char *)&ROM[0x0180], "GM T-120146-", 12)) // Brian Lara Cricket 96 / Shane Wayne Cricket 96 |
| 1323 | | cart_type = CODE_MASTERS; |
| 1325 | if (!allendianmemcmp((char *)&ROM[0x0180], "GM T-120146-", 12)) // Brian Lara Cricket 96 / Shane Wayne Cricket 96 |
| 1326 | cart_type = CODE_MASTERS; |
| 1324 | 1327 | |
| 1325 | | if (!allendianmemcmp((char *)&ROM[0x0190], "OJKRPTBVFCA ", 0x10)) // Micro Machines '96 / Military TODO: better way to recognize these? |
| 1326 | | cart_type = CODE_MASTERS; |
| 1327 | | break; |
| 1328 | if (!allendianmemcmp((char *)&ROM[0x0190], "OJKRPTBVFCA ", 0x10)) // Micro Machines '96 / Military TODO: better way to recognize these? |
| 1329 | cart_type = CODE_MASTERS; |
| 1330 | break; |
| 1328 | 1331 | |
| 1329 | 1332 | case 0x200000: |
| 1330 | | if (!allendianmemcmp(&ROM[0x18c6], &lk3_sig[0], sizeof(lk3_sig))) |
| 1331 | | cart_type = LIONK3; |
| 1333 | if (!allendianmemcmp(&ROM[0x18c6], &lk3_sig[0], sizeof(lk3_sig))) |
| 1334 | cart_type = LIONK3; |
| 1332 | 1335 | |
| 1333 | | if (!allendianmemcmp(&ROM[0x220], &sdk_sig[0], sizeof(sdk_sig))) |
| 1334 | | cart_type = SKINGKONG; |
| 1336 | if (!allendianmemcmp(&ROM[0x220], &sdk_sig[0], sizeof(sdk_sig))) |
| 1337 | cart_type = SKINGKONG; |
| 1335 | 1338 | |
| 1336 | | if (!allendianmemcmp(&ROM[0xce560], &redcliff_sig[0], sizeof(redcliff_sig))) |
| 1337 | | cart_type = REDCLIFF; |
| 1339 | if (!allendianmemcmp(&ROM[0xce560], &redcliff_sig[0], sizeof(redcliff_sig))) |
| 1340 | cart_type = REDCLIFF; |
| 1338 | 1341 | |
| 1339 | | if (!allendianmemcmp(&ROM[0xc8cb0], &smb_sig[0], sizeof(smb_sig))) |
| 1340 | | cart_type = SMB; |
| 1342 | if (!allendianmemcmp(&ROM[0xc8cb0], &smb_sig[0], sizeof(smb_sig))) |
| 1343 | cart_type = SMB; |
| 1341 | 1344 | |
| 1342 | | if (!allendianmemcmp(&ROM[0xf24d6], &smb2_sig[0], sizeof(smb2_sig))) |
| 1343 | | cart_type = SMB2; |
| 1345 | if (!allendianmemcmp(&ROM[0xf24d6], &smb2_sig[0], sizeof(smb2_sig))) |
| 1346 | cart_type = SMB2; |
| 1344 | 1347 | |
| 1345 | | if (!allendianmemcmp(&ROM[0x674e], &kaiju_sig[0], sizeof(kaiju_sig))) |
| 1346 | | cart_type = KAIJU; |
| 1348 | if (!allendianmemcmp(&ROM[0x674e], &kaiju_sig[0], sizeof(kaiju_sig))) |
| 1349 | cart_type = KAIJU; |
| 1347 | 1350 | |
| 1348 | | if (!allendianmemcmp(&ROM[0x1780], &chifi3_sig[0], sizeof(chifi3_sig))) |
| 1349 | | cart_type = CHINFIGHT3; |
| 1351 | if (!allendianmemcmp(&ROM[0x1780], &chifi3_sig[0], sizeof(chifi3_sig))) |
| 1352 | cart_type = CHINFIGHT3; |
| 1350 | 1353 | |
| 1351 | | if (!allendianmemcmp(&ROM[0x03c2], &lionk2_sig[0], sizeof(lionk2_sig))) |
| 1352 | | cart_type = LIONK2; |
| 1354 | if (!allendianmemcmp(&ROM[0x03c2], &lionk2_sig[0], sizeof(lionk2_sig))) |
| 1355 | cart_type = LIONK2; |
| 1353 | 1356 | |
| 1354 | | if (!allendianmemcmp(&ROM[0xc8b90], &rx3_sig[0], sizeof(rx3_sig))) |
| 1355 | | cart_type = ROCKMANX3; |
| 1357 | if (!allendianmemcmp(&ROM[0xc8b90], &rx3_sig[0], sizeof(rx3_sig))) |
| 1358 | cart_type = ROCKMANX3; |
| 1356 | 1359 | |
| 1357 | | if (!allendianmemcmp(&ROM[0x56ae2], &kof98_sig[0], sizeof(kof98_sig))) |
| 1358 | | cart_type = KOF98; |
| 1360 | if (!allendianmemcmp(&ROM[0x56ae2], &kof98_sig[0], sizeof(kof98_sig))) |
| 1361 | cart_type = KOF98; |
| 1359 | 1362 | |
| 1360 | | if (!allendianmemcmp(&ROM[0x17bb2], &s15in1_sig[0], sizeof(s15in1_sig))) |
| 1361 | | cart_type = SUP15IN1; |
| 1363 | if (!allendianmemcmp(&ROM[0x17bb2], &s15in1_sig[0], sizeof(s15in1_sig))) |
| 1364 | cart_type = SUP15IN1; |
| 1362 | 1365 | |
| 1363 | | if (!allendianmemcmp((char *)&ROM[0x0180], "GM T-081326 ", 12)) // NBA Jam |
| 1364 | | cart_type = NBA_JAM; |
| 1366 | if (!allendianmemcmp((char *)&ROM[0x0180], "GM T-081326 ", 12)) // NBA Jam |
| 1367 | cart_type = NBA_JAM; |
| 1365 | 1368 | |
| 1366 | | if (!allendianmemcmp((char *)&ROM[0x0180], "GM MK-1228", 10)) // Greatest Heavyweight of the Ring |
| 1367 | | cart_type = WBOY_V; |
| 1369 | if (!allendianmemcmp((char *)&ROM[0x0180], "GM MK-1228", 10)) // Greatest Heavyweight of the Ring |
| 1370 | cart_type = WBOY_V; |
| 1368 | 1371 | |
| 1369 | | if ((!allendianmemcmp((char *)&ROM[0x0180], "GM T-12046", 10)) || // Mega Man |
| 1370 | | (!allendianmemcmp((char *)&ROM[0x0180], "GM T-12053", 10) && !allendianmemcmp(&ROM[0x18e], &rockman_sig[0], sizeof(rockman_sig)))) // / Rock Man (EEPROM version) |
| 1371 | | cart_type = WBOY_V; |
| 1372 | if ((!allendianmemcmp((char *)&ROM[0x0180], "GM T-12046", 10)) || // Mega Man |
| 1373 | (!allendianmemcmp((char *)&ROM[0x0180], "GM T-12053", 10) && !allendianmemcmp(&ROM[0x18e], &rockman_sig[0], sizeof(rockman_sig)))) // / Rock Man (EEPROM version) |
| 1374 | cart_type = WBOY_V; |
| 1372 | 1375 | |
| 1373 | | break; |
| 1376 | break; |
| 1374 | 1377 | |
| 1375 | 1378 | case 0x200005: |
| 1376 | | if (!allendianmemcmp(&ROM[0xce564], &redcl_en_sig[0], sizeof(redcliff_sig))) |
| 1377 | | cart_type = REDCL_EN; |
| 1378 | | break; |
| 1379 | if (!allendianmemcmp(&ROM[0xce564], &redcl_en_sig[0], sizeof(redcliff_sig))) |
| 1380 | cart_type = REDCL_EN; |
| 1381 | break; |
| 1379 | 1382 | |
| 1380 | 1383 | case 0x300000: |
| 1381 | | if (!allendianmemcmp(&ROM[0x220], &sdk_sig[0], sizeof(sdk_sig))) |
| 1382 | | cart_type = SDK99; |
| 1384 | if (!allendianmemcmp(&ROM[0x220], &sdk_sig[0], sizeof(sdk_sig))) |
| 1385 | cart_type = SDK99; |
| 1383 | 1386 | |
| 1384 | | if (!allendianmemcmp(&ROM[0x1fd0d2], &kof99_sig[0], sizeof(kof99_sig))) |
| 1385 | | cart_type = KOF99; |
| 1387 | if (!allendianmemcmp(&ROM[0x1fd0d2], &kof99_sig[0], sizeof(kof99_sig))) |
| 1388 | cart_type = KOF99; |
| 1386 | 1389 | |
| 1387 | | if (!allendianmemcmp((char *)&ROM[0x0180], "GM T-81406", 10)) // NBA Jam TE |
| 1388 | | cart_type = NBA_JAM_TE; |
| 1390 | if (!allendianmemcmp((char *)&ROM[0x0180], "GM T-81406", 10)) // NBA Jam TE |
| 1391 | cart_type = NBA_JAM_TE; |
| 1389 | 1392 | |
| 1390 | | if (!allendianmemcmp((char *)&ROM[0x0180], "GM T-081276 ", 12)) // NFL Quarterback Club |
| 1391 | | cart_type = NBA_JAM_TE; |
| 1393 | if (!allendianmemcmp((char *)&ROM[0x0180], "GM T-081276 ", 12)) // NFL Quarterback Club |
| 1394 | cart_type = NBA_JAM_TE; |
| 1392 | 1395 | |
| 1393 | | break; |
| 1396 | break; |
| 1394 | 1397 | |
| 1395 | 1398 | case 0x400000: |
| 1396 | | if (!allendianmemcmp(&ROM[0x3c031c], &radica_sig[0], sizeof(radica_sig)) || |
| 1397 | | !allendianmemcmp(&ROM[0x3f031c], &radica_sig[0], sizeof(radica_sig))) // ssf+gng + radica vol1 |
| 1398 | | cart_type = RADICA; |
| 1399 | if (!allendianmemcmp(&ROM[0x3c031c], &radica_sig[0], sizeof(radica_sig)) || |
| 1400 | !allendianmemcmp(&ROM[0x3f031c], &radica_sig[0], sizeof(radica_sig))) // ssf+gng + radica vol1 |
| 1401 | cart_type = RADICA; |
| 1399 | 1402 | |
| 1400 | | if (!allendianmemcmp(&ROM[0x028460], &soulb_sig[0], sizeof(soulb_sig))) |
| 1401 | | cart_type = SOULBLAD; |
| 1403 | if (!allendianmemcmp(&ROM[0x028460], &soulb_sig[0], sizeof(soulb_sig))) |
| 1404 | cart_type = SOULBLAD; |
| 1402 | 1405 | |
| 1403 | | if (!allendianmemcmp(&ROM[0x1e700], &s19in1_sig[0], sizeof(s19in1_sig))) |
| 1404 | | cart_type = SUP19IN1; |
| 1406 | if (!allendianmemcmp(&ROM[0x1e700], &s19in1_sig[0], sizeof(s19in1_sig))) |
| 1407 | cart_type = SUP19IN1; |
| 1405 | 1408 | |
| 1406 | | if (!allendianmemcmp((char *)&ROM[0x0180], "GM T-081586-", 12)) // NFL Quarterback Club 96 |
| 1407 | | cart_type = NFL_QB_96; |
| 1409 | if (!allendianmemcmp((char *)&ROM[0x0180], "GM T-081586-", 12)) // NFL Quarterback Club 96 |
| 1410 | cart_type = NFL_QB_96; |
| 1408 | 1411 | |
| 1409 | | if (!allendianmemcmp((char *)&ROM[0x0180], "GM T-081576 ", 12)) // College Slam |
| 1410 | | cart_type = C_SLAM; |
| 1412 | if (!allendianmemcmp((char *)&ROM[0x0180], "GM T-081576 ", 12)) // College Slam |
| 1413 | cart_type = C_SLAM; |
| 1411 | 1414 | |
| 1412 | | if (!allendianmemcmp((char *)&ROM[0x0180], "GM T-81476", 10)) // Big Hurt Baseball |
| 1413 | | cart_type = C_SLAM; |
| 1415 | if (!allendianmemcmp((char *)&ROM[0x0180], "GM T-81476", 10)) // Big Hurt Baseball |
| 1416 | cart_type = C_SLAM; |
| 1414 | 1417 | |
| 1415 | | break; |
| 1418 | break; |
| 1416 | 1419 | |
| 1417 | 1420 | case 0x500000: |
| 1418 | | if (!allendianmemcmp((char *)&ROM[0x0120], "SUPER STREET FIGHTER2 ", 22)) |
| 1419 | | cart_type = SSF2; |
| 1420 | | break; |
| 1421 | if (!allendianmemcmp((char *)&ROM[0x0120], "SUPER STREET FIGHTER2 ", 22)) |
| 1422 | cart_type = SSF2; |
| 1423 | break; |
| 1421 | 1424 | |
| 1422 | 1425 | default: |
| 1423 | | break; |
| 1426 | break; |
| 1427 | } |
| 1424 | 1428 | } |
| 1425 | | } |
| 1426 | 1429 | |
| 1427 | | logerror("cart type: %d\n", cart_type); |
| 1430 | logerror("cart type: %d\n", cart_type); |
| 1428 | 1431 | |
| 1429 | | genesis_sram = NULL; |
| 1430 | | sram_detected = 0; |
| 1431 | | genesis_sram_start = genesis_sram_end = 0; |
| 1432 | | has_serial_eeprom = 0; |
| 1432 | genesis_sram = NULL; |
| 1433 | sram_detected = 0; |
| 1434 | genesis_sram_start = genesis_sram_end = 0; |
| 1435 | has_serial_eeprom = 0; |
| 1433 | 1436 | |
| 1434 | | /* check if cart has battery save */ |
| 1437 | /* check if cart has battery save */ |
| 1435 | 1438 | |
| 1436 | | /* For games using SRAM, unfortunately there are ROMs without info |
| 1437 | | about it in header. The solution adopted is do the mapping anyway, |
| 1438 | | then active SRAM later if the game will access it. */ |
| 1439 | /* For games using SRAM, unfortunately there are ROMs without info |
| 1440 | about it in header. The solution adopted is do the mapping anyway, |
| 1441 | then active SRAM later if the game will access it. */ |
| 1439 | 1442 | |
| 1440 | | if (ROM[0x1b1] == 'R' && ROM[0x1b0] == 'A') |
| 1441 | | { |
| 1442 | | /* SRAM info found in header */ |
| 1443 | | genesis_sram_start = (ROM[0x1b5] << 24 | ROM[0x1b4] << 16 | ROM[0x1b7] << 8 | ROM[0x1b6]); |
| 1444 | | genesis_sram_end = (ROM[0x1b9] << 24 | ROM[0x1b8] << 16 | ROM[0x1bb] << 8 | ROM[0x1ba]); |
| 1443 | if (ROM[0x1b1] == 'R' && ROM[0x1b0] == 'A') |
| 1444 | { |
| 1445 | /* SRAM info found in header */ |
| 1446 | genesis_sram_start = (ROM[0x1b5] << 24 | ROM[0x1b4] << 16 | ROM[0x1b7] << 8 | ROM[0x1b6]); |
| 1447 | genesis_sram_end = (ROM[0x1b9] << 24 | ROM[0x1b8] << 16 | ROM[0x1bb] << 8 | ROM[0x1ba]); |
| 1445 | 1448 | |
| 1446 | | if ((genesis_sram_start > genesis_sram_end) || ((genesis_sram_end - genesis_sram_start) >= 0x10000)) // we assume at most 64k of SRAM (HazeMD uses at most 64k). is this correct? |
| 1447 | | genesis_sram_end = genesis_sram_start + 0x0FFFF; |
| 1449 | if ((genesis_sram_start > genesis_sram_end) || ((genesis_sram_end - genesis_sram_start) >= 0x10000)) // we assume at most 64k of SRAM (HazeMD uses at most 64k). is this correct? |
| 1450 | genesis_sram_end = genesis_sram_start + 0x0FFFF; |
| 1448 | 1451 | |
| 1449 | | /* for some games using serial EEPROM, difference between SRAM |
| 1450 | | end to start is 0 or 1. Currently EEPROM is not emulated. */ |
| 1451 | | if ((genesis_sram_end - genesis_sram_start) < 2) |
| 1452 | | has_serial_eeprom = 1; |
| 1452 | /* for some games using serial EEPROM, difference between SRAM |
| 1453 | end to start is 0 or 1. Currently EEPROM is not emulated. */ |
| 1454 | if ((genesis_sram_end - genesis_sram_start) < 2) |
| 1455 | has_serial_eeprom = 1; |
| 1456 | else |
| 1457 | sram_detected = 1; |
| 1458 | } |
| 1453 | 1459 | else |
| 1454 | | sram_detected = 1; |
| 1460 | { |
| 1461 | /* set default SRAM positions, with size = 64k */ |
| 1462 | genesis_sram_start = 0x200000; |
| 1463 | genesis_sram_end = genesis_sram_start + 0xffff; |
| 1464 | } |
| 1465 | |
| 1466 | if (genesis_sram_start & 1) |
| 1467 | genesis_sram_start -= 1; |
| 1468 | |
| 1469 | if (!(genesis_sram_end & 1)) |
| 1470 | genesis_sram_end += 1; |
| 1471 | |
| 1472 | /* calculate backup RAM location */ |
| 1473 | megadriv_backupram = (UINT16*) (ROM + (genesis_sram_start & 0x3fffff)); |
| 1474 | |
| 1475 | /* Until serial EEPROM is emulated, clears one byte at beginning of |
| 1476 | backup RAM, but only if the value is 0xFFFF, to not break MLBPA Sports |
| 1477 | Talk Baseball. With this hack some games at least run (NBA Jam, Evander |
| 1478 | Holyfield's Real Deal Boxing, Greatest Heavyweights of the Ring) */ |
| 1479 | //if (has_serial_eeprom && megadriv_backupram[0] == 0xffff) |
| 1480 | // megadriv_backupram[0] = 0xff00; |
| 1481 | |
| 1482 | if (sram_detected) |
| 1483 | logerror("SRAM detected from header: starting location %X - SRAM Length %X\n", genesis_sram_start, genesis_sram_end - genesis_sram_start + 1); |
| 1455 | 1484 | } |
| 1456 | | else |
| 1485 | else /* Handle pcb with the softlist info */ |
| 1457 | 1486 | { |
| 1458 | | /* set default SRAM positions, with size = 64k */ |
| 1459 | | genesis_sram_start = 0x200000; |
| 1460 | | genesis_sram_end = genesis_sram_start + 0xffff; |
| 1461 | | } |
| 1487 | int pcb_id; |
| 1488 | const char *pcb_name; |
| 1462 | 1489 | |
| 1463 | | if (genesis_sram_start & 1) |
| 1464 | | genesis_sram_start -= 1; |
| 1490 | length = image.get_software_region_length("rom"); |
| 1491 | ROM = memory_region(image.device().machine, "maincpu"); |
| 1492 | memcpy(ROM, image.get_software_region("rom"), length); |
| 1465 | 1493 | |
| 1466 | | if (!(genesis_sram_end & 1)) |
| 1467 | | genesis_sram_end += 1; |
| 1494 | genesis_last_loaded_image_length = length; |
| 1495 | megadriv_backupram = NULL; |
| 1496 | if ((pcb_name = image.get_feature("pcb")) == NULL) |
| 1497 | pcb_id = STD_ROM; |
| 1498 | else |
| 1499 | pcb_id = md_get_pcb_id(pcb_name); |
| 1468 | 1500 | |
| 1469 | | /* calculate backup RAM location */ |
| 1470 | | megadriv_backupram = (UINT16*) (ROM + (genesis_sram_start & 0x3fffff)); |
| 1501 | switch (pcb_id) |
| 1502 | { |
| 1503 | /* Sega PCB */ |
| 1504 | case SEGA_6584A: |
| 1505 | fatalerror("Need Serial EEPROM emulation"); |
| 1506 | break; |
| 1507 | case SEGA_5921: |
| 1508 | case SEGA_6278A: |
| 1509 | genesis_sram_start = 0x200000; |
| 1510 | genesis_sram_end = genesis_sram_start + 0x3fff; |
| 1511 | sram_detected = 1; |
| 1512 | megadriv_backupram = (UINT16*) (ROM + (genesis_sram_start & 0x3fffff)); |
| 1513 | break; |
| 1514 | case SEGA_6658A: |
| 1515 | genesis_sram_start = 0x200000; |
| 1516 | genesis_sram_end = genesis_sram_start + 0x3ff; |
| 1517 | sram_detected = 1; |
| 1518 | megadriv_backupram = (UINT16*) (ROM + (genesis_sram_start & 0x3fffff)); |
| 1519 | break; |
| 1471 | 1520 | |
| 1472 | | /* Until serial EEPROM is emulated, clears one byte at beginning of |
| 1473 | | backup RAM, but only if the value is 0xFFFF, to not break MLBPA Sports |
| 1474 | | Talk Baseball. With this hack some games at least run (NBA Jam, Evander |
| 1475 | | Holyfield's Real Deal Boxing, Greatest Heavyweights of the Ring) */ |
| 1476 | | //if (has_serial_eeprom && megadriv_backupram[0] == 0xffff) |
| 1477 | | // megadriv_backupram[0] = 0xff00; |
| 1521 | /* Codemasters PCB (J-Carts) */ |
| 1522 | case CM_JCART: |
| 1523 | memory_install_read16_handler(cputag_get_address_space(image.device().machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0x38FFFE, 0x38FFFF, 0, 0, jcart_ctrl_r); |
| 1524 | memory_install_write16_handler(cputag_get_address_space(image.device().machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0x38FFFE, 0x38FFFF, 0, 0, jcart_ctrl_w); |
| 1525 | break; |
| 1526 | case CM_JCART_SEPROM: |
| 1527 | memory_install_read16_handler(cputag_get_address_space(image.device().machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0x38FFFE, 0x38FFFF, 0, 0, jcart_ctrl_r); |
| 1528 | memory_install_write16_handler(cputag_get_address_space(image.device().machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0x38FFFE, 0x38FFFF, 0, 0, jcart_ctrl_w); |
| 1529 | /* TODO add SEPROM part */ |
| 1530 | break; |
| 1531 | } |
| 1532 | } |
| 1478 | 1533 | |
| 1479 | | if (sram_detected) |
| 1480 | | logerror("SRAM detected from header: starting location %X - SRAM Length %X\n", genesis_sram_start, genesis_sram_end - genesis_sram_start + 1); |
| 1481 | | |
| 1482 | 1534 | return IMAGE_INIT_PASS; |
| 1483 | 1535 | } |
| 1484 | 1536 | |