trunk/src/mame/drivers/yunsun16.c
r241739 | r241740 | |
578 | 578 | static MACHINE_CONFIG_START( magicbub, yunsun16_state ) |
579 | 579 | |
580 | 580 | /* basic machine hardware */ |
581 | | MCFG_CPU_ADD("maincpu", M68000, 16000000) |
| 581 | MCFG_CPU_ADD("maincpu", M68000, XTAL_16MHz) |
582 | 582 | MCFG_CPU_PROGRAM_MAP(main_map) |
583 | 583 | MCFG_CPU_VBLANK_INT_DRIVER("screen", yunsun16_state, irq2_line_hold) |
584 | 584 | |
585 | | MCFG_CPU_ADD("audiocpu", Z80, 3000000) /* ? */ |
| 585 | MCFG_CPU_ADD("audiocpu", Z80, XTAL_16MHz/4) |
586 | 586 | MCFG_CPU_PROGRAM_MAP(sound_map) |
587 | 587 | MCFG_CPU_IO_MAP(sound_port_map) |
588 | 588 | |
r241739 | r241740 | |
601 | 601 | /* sound hardware */ |
602 | 602 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
603 | 603 | |
604 | | MCFG_SOUND_ADD("ymsnd", YM3812, 4000000) |
| 604 | MCFG_SOUND_ADD("ymsnd", YM3812, XTAL_16MHz/4) |
605 | 605 | MCFG_YM3812_IRQ_HANDLER(WRITELINE(yunsun16_state, soundirq)) |
606 | 606 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.80) |
607 | 607 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.80) |
608 | 608 | |
609 | | MCFG_OKIM6295_ADD("oki", 1056000, OKIM6295_PIN7_HIGH) |
| 609 | MCFG_OKIM6295_ADD("oki", XTAL_16MHz/16, OKIM6295_PIN7_HIGH) |
610 | 610 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.80) |
611 | 611 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.80) |
612 | 612 | MACHINE_CONFIG_END |
r241739 | r241740 | |
619 | 619 | static MACHINE_CONFIG_START( shocking, yunsun16_state ) |
620 | 620 | |
621 | 621 | /* basic machine hardware */ |
622 | | MCFG_CPU_ADD("maincpu", M68000, 16000000) |
| 622 | MCFG_CPU_ADD("maincpu", M68000, XTAL_16MHz) |
623 | 623 | MCFG_CPU_PROGRAM_MAP(main_map) |
624 | 624 | MCFG_CPU_VBLANK_INT_DRIVER("screen", yunsun16_state, irq2_line_hold) |
625 | 625 | |
r241739 | r241740 | |
637 | 637 | /* sound hardware */ |
638 | 638 | MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") |
639 | 639 | |
640 | | MCFG_OKIM6295_ADD("oki", 1000000, OKIM6295_PIN7_HIGH) |
| 640 | MCFG_OKIM6295_ADD("oki", XTAL_16MHz/16, OKIM6295_PIN7_HIGH) |
641 | 641 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0) |
642 | 642 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.0) |
643 | 643 | MACHINE_CONFIG_END |
r241739 | r241740 | |
715 | 715 | ROM_LOAD16_BYTE( "magbuble.u32", 0x000001, 0x040000, CRC(f6ea7004) SHA1(069541e37b60370810451616ee66bbd05dc10137) ) |
716 | 716 | |
717 | 717 | ROM_REGION( 0x10000, "audiocpu", 0 ) /* Z80 Code */ |
718 | | ROM_LOAD( "magbuble.143", 0x00000, 0x10000, CRC(04192753) SHA1(9c56ba70e1d074906ea1dc593c2a8516c6ba2074) ) |
| 718 | ROM_LOAD( "u143.bin", 0x00000, 0x10000, CRC(04192753) SHA1(9c56ba70e1d074906ea1dc593c2a8516c6ba2074) ) |
719 | 719 | |
720 | 720 | ROM_REGION( 0x200000*8, "gfx1", ROMREGION_ERASEFF ) /* 16x16x8 */ |
721 | 721 | ROMX_LOAD( "magbuble.u67", 0x000000, 0x080000, CRC(6355e57d) SHA1(5e9234dd474ddcf0a9e1001080f3de11c7d0ee55) , ROM_GROUPWORD | ROM_SKIP(6)) |
r241739 | r241740 | |
724 | 724 | ROMX_LOAD( "magbuble.u70", 0x000006, 0x080000, CRC(37794837) SHA1(11597614e1e048544326fbbe281b364278d6350d) , ROM_GROUPWORD | ROM_SKIP(6)) |
725 | 725 | |
726 | 726 | ROM_REGION( 0x080000, "gfx2", 0 ) /* 16x16x4 */ |
727 | | ROM_LOAD( "magbuble.u20", 0x000000, 0x020000, CRC(f70e3b8c) SHA1(d925c27bbd0f915228d22589a98e3ea7181a87ca) ) |
728 | | ROM_LOAD( "magbuble.u21", 0x020000, 0x020000, CRC(ad082cf3) SHA1(0bc3cf6c54d47be4f1940192fc1585cb48767e97) ) |
729 | | ROM_LOAD( "magbuble.u22", 0x040000, 0x020000, CRC(7c68df7a) SHA1(88acf9dd43892a790415b418f77d88c747aa84f5) ) |
730 | | ROM_LOAD( "magbuble.u23", 0x060000, 0x020000, CRC(c7763fc1) SHA1(ed68b3c3c5155073afb7b55d6d92d3057e40df6c) ) |
| 727 | ROM_LOAD( "u20.bin", 0x000000, 0x020000, CRC(f70e3b8c) SHA1(d925c27bbd0f915228d22589a98e3ea7181a87ca) ) |
| 728 | ROM_LOAD( "u21.bin", 0x020000, 0x020000, CRC(ad082cf3) SHA1(0bc3cf6c54d47be4f1940192fc1585cb48767e97) ) |
| 729 | ROM_LOAD( "u22.bin", 0x040000, 0x020000, CRC(7c68df7a) SHA1(88acf9dd43892a790415b418f77d88c747aa84f5) ) |
| 730 | ROM_LOAD( "u23.bin", 0x060000, 0x020000, CRC(c7763fc1) SHA1(ed68b3c3c5155073afb7b55d6d92d3057e40df6c) ) |
731 | 731 | |
732 | 732 | ROM_REGION( 0x40000, "oki", 0 ) /* Samples */ |
733 | | ROM_LOAD( "magbuble.131", 0x000000, 0x020000, CRC(03e04e89) SHA1(7d80e6a7be2322e32e40acae72bedd8d7e90ad33) ) |
| 733 | ROM_LOAD( "u131.bin", 0x000000, 0x020000, CRC(03e04e89) SHA1(7d80e6a7be2322e32e40acae72bedd8d7e90ad33) ) |
734 | 734 | |
735 | 735 | ROM_END |
736 | 736 | |
r241739 | r241740 | |
741 | 741 | ROM_LOAD16_BYTE( "u32.bin", 0x000001, 0x040000, CRC(58f885ad) SHA1(e66f5bb1ac0acd9abc2def439af7f932c3a09cbd) ) |
742 | 742 | |
743 | 743 | ROM_REGION( 0x10000, "audiocpu", 0 ) /* Z80 Code */ |
744 | | ROM_LOAD( "magbuble.143", 0x00000, 0x10000, CRC(04192753) SHA1(9c56ba70e1d074906ea1dc593c2a8516c6ba2074) ) |
| 744 | ROM_LOAD( "u143.bin", 0x00000, 0x10000, CRC(04192753) SHA1(9c56ba70e1d074906ea1dc593c2a8516c6ba2074) ) |
745 | 745 | |
746 | 746 | ROM_REGION( 0x200000*8, "gfx1", ROMREGION_ERASEFF ) /* 16x16x8 */ |
747 | 747 | ROMX_LOAD( "u67.bin", 0x000000, 0x080000, CRC(89523dcd) SHA1(edea2bbec615aa253d940bbc3bbdb33f6873a8ee) , ROM_GROUPWORD | ROM_SKIP(6)) |
r241739 | r241740 | |
754 | 754 | ROMX_LOAD( "u74.bin", 0x200006, 0x080000, CRC(81ff4910) SHA1(69241fe2d20b53984aa67f17d8da32e1b74ce696) , ROM_GROUPWORD | ROM_SKIP(6)) |
755 | 755 | |
756 | 756 | ROM_REGION( 0x080000, "gfx2", 0 ) /* 16x16x4 */ |
757 | | ROM_LOAD( "magbuble.u20", 0x000000, 0x020000, CRC(f70e3b8c) SHA1(d925c27bbd0f915228d22589a98e3ea7181a87ca) ) |
758 | | ROM_LOAD( "magbuble.u21", 0x020000, 0x020000, CRC(ad082cf3) SHA1(0bc3cf6c54d47be4f1940192fc1585cb48767e97) ) |
759 | | ROM_LOAD( "magbuble.u22", 0x040000, 0x020000, CRC(7c68df7a) SHA1(88acf9dd43892a790415b418f77d88c747aa84f5) ) |
760 | | ROM_LOAD( "magbuble.u23", 0x060000, 0x020000, CRC(c7763fc1) SHA1(ed68b3c3c5155073afb7b55d6d92d3057e40df6c) ) |
| 757 | ROM_LOAD( "u20.bin", 0x000000, 0x020000, CRC(f70e3b8c) SHA1(d925c27bbd0f915228d22589a98e3ea7181a87ca) ) |
| 758 | ROM_LOAD( "u21.bin", 0x020000, 0x020000, CRC(ad082cf3) SHA1(0bc3cf6c54d47be4f1940192fc1585cb48767e97) ) |
| 759 | ROM_LOAD( "u22.bin", 0x040000, 0x020000, CRC(7c68df7a) SHA1(88acf9dd43892a790415b418f77d88c747aa84f5) ) |
| 760 | ROM_LOAD( "u23.bin", 0x060000, 0x020000, CRC(c7763fc1) SHA1(ed68b3c3c5155073afb7b55d6d92d3057e40df6c) ) |
761 | 761 | |
762 | 762 | ROM_REGION( 0x40000, "oki", 0 ) /* Samples */ |
763 | | ROM_LOAD( "magbuble.131", 0x000000, 0x020000, CRC(03e04e89) SHA1(7d80e6a7be2322e32e40acae72bedd8d7e90ad33) ) |
| 763 | ROM_LOAD( "u131.bin", 0x000000, 0x020000, CRC(03e04e89) SHA1(7d80e6a7be2322e32e40acae72bedd8d7e90ad33) ) |
764 | 764 | |
765 | 765 | ROM_END |
766 | 766 | |
| 767 | ROM_START( magicbubb ) /* Found on a YS-0211 PCB like below */ |
767 | 768 | |
| 769 | ROM_REGION( 0x080000, "maincpu", 0 ) /* 68000 Code */ |
| 770 | ROM_LOAD16_BYTE( "u33", 0x000000, 0x040000, CRC(db651555) SHA1(41dbf35147e1c646db585437b378529559d3decb) ) |
| 771 | ROM_LOAD16_BYTE( "u32", 0x000001, 0x040000, CRC(c9cb4d88) SHA1(ee41b9b307b423db7a9d706dfa9718efefa3b625) ) |
| 772 | |
| 773 | ROM_REGION( 0x200000*8, "gfx1", ROMREGION_ERASEFF ) /* 16x16x8 */ |
| 774 | ROMX_LOAD( "u67.bin", 0x000000, 0x080000, CRC(89523dcd) SHA1(edea2bbec615aa253d940bbc3bbdb33f6873a8ee) , ROM_GROUPWORD | ROM_SKIP(6)) |
| 775 | ROMX_LOAD( "u68.bin", 0x000002, 0x080000, CRC(30e01a70) SHA1(3a98c2ef61307b44bf4e155663117199587ff4a4) , ROM_GROUPWORD | ROM_SKIP(6)) |
| 776 | ROMX_LOAD( "u69.bin", 0x000004, 0x080000, CRC(fe357f52) SHA1(5aff9a0bf70fc8a78820c4d13838ad238852c594) , ROM_GROUPWORD | ROM_SKIP(6)) |
| 777 | ROMX_LOAD( "u70.bin", 0x000006, 0x080000, CRC(1398a473) SHA1(f58bda6cbf5f553a9632d910b2ffef5d5bfedf18) , ROM_GROUPWORD | ROM_SKIP(6)) |
| 778 | ROMX_LOAD( "u71.bin", 0x200000, 0x080000, CRC(0844e017) SHA1(2ae5c9da521fea7aa5811627d7b3eca82cdc0821) , ROM_GROUPWORD | ROM_SKIP(6)) |
| 779 | ROMX_LOAD( "u72.bin", 0x200002, 0x080000, CRC(591db1cb) SHA1(636fbfe9e048d6418d43f947004b281f61081fd8) , ROM_GROUPWORD | ROM_SKIP(6)) |
| 780 | ROMX_LOAD( "u73.bin", 0x200004, 0x080000, CRC(cb4f3c3c) SHA1(fbd804bb70f09c2471557675af4c5b4abedea3b2) , ROM_GROUPWORD | ROM_SKIP(6)) |
| 781 | ROMX_LOAD( "u74.bin", 0x200006, 0x080000, CRC(81ff4910) SHA1(69241fe2d20b53984aa67f17d8da32e1b74ce696) , ROM_GROUPWORD | ROM_SKIP(6)) |
| 782 | |
| 783 | ROM_REGION( 0x080000, "gfx2", 0 ) /* 16x16x4 */ |
| 784 | ROM_LOAD( "u20.bin", 0x000000, 0x020000, CRC(f70e3b8c) SHA1(d925c27bbd0f915228d22589a98e3ea7181a87ca) ) |
| 785 | ROM_LOAD( "u21.bin", 0x020000, 0x020000, CRC(ad082cf3) SHA1(0bc3cf6c54d47be4f1940192fc1585cb48767e97) ) |
| 786 | ROM_LOAD( "u22.bin", 0x040000, 0x020000, CRC(7c68df7a) SHA1(88acf9dd43892a790415b418f77d88c747aa84f5) ) |
| 787 | ROM_LOAD( "u23.bin", 0x060000, 0x020000, CRC(c7763fc1) SHA1(ed68b3c3c5155073afb7b55d6d92d3057e40df6c) ) |
| 788 | |
| 789 | ROM_REGION( 0x080000 * 2, "oki", 0 ) /* Samples */ |
| 790 | ROM_LOAD( "u131", 0x000000, 0x040000, CRC(9bdb08e4) SHA1(4d8bdeb9b503b0959a6ae3f3fb3574350b01b1a1) ) |
| 791 | ROM_RELOAD( 0x040000, 0x040000 ) |
| 792 | ROM_RELOAD( 0x080000, 0x040000 ) |
| 793 | ROM_RELOAD( 0x0c0000, 0x040000 ) |
| 794 | |
| 795 | ROM_END |
| 796 | |
| 797 | |
768 | 798 | /*************************************************************************** |
769 | 799 | |
770 | 800 | YunSung YS-0211 based games: |
r241739 | r241740 | |
772 | 802 | Paparazzi (c) 1996 (no PCB label but looks identical) |
773 | 803 | Shocking (c) 1997 |
774 | 804 | Bomb Kick (c) 1998 |
| 805 | Magic Bubble (c) 199? |
775 | 806 | |
776 | 807 | PCB Layout |
777 | 808 | ---------- |
r241739 | r241740 | |
956 | 987 | |
957 | 988 | ***************************************************************************/ |
958 | 989 | |
959 | | GAME( 199?, magicbub, 0, magicbub, magicbub, yunsun16_state, magicbub, ROT0, "Yun Sung", "Magic Bubble", GAME_NO_COCKTAIL | GAME_SUPPORTS_SAVE ) |
960 | | GAME( 199?, magicbuba, magicbub, magicbub, magicbua, yunsun16_state, magicbub, ROT0, "Yun Sung", "Magic Bubble (Adult version)", GAME_NO_COCKTAIL | GAME_SUPPORTS_SAVE ) |
961 | | GAME( 1996, paprazzi, 0, shocking, paprazzi, driver_device, 0, ROT270, "Yun Sung", "Paparazzi", GAME_NO_COCKTAIL | GAME_SUPPORTS_SAVE ) |
962 | | GAME( 1997, shocking, 0, shocking, shocking, driver_device, 0, ROT0, "Yun Sung", "Shocking", GAME_NO_COCKTAIL | GAME_SUPPORTS_SAVE ) |
963 | | GAME( 1997, shockingk, shocking, shocking, shocking, driver_device, 0, ROT0, "Yun Sung", "Shocking (Korea)", GAME_NO_COCKTAIL | GAME_SUPPORTS_SAVE ) |
964 | | GAME( 1998, bombkick, 0, shocking, bombkick, driver_device, 0, ROT0, "Yun Sung", "Bomb Kick (set 1)", GAME_NO_COCKTAIL | GAME_SUPPORTS_SAVE ) |
965 | | GAME( 1998, bombkicka, bombkick, shocking, bombkick, driver_device, 0, ROT0, "Yun Sung", "Bomb Kick (set 2)", GAME_NO_COCKTAIL | GAME_SUPPORTS_SAVE ) |
| 990 | GAME( 199?, magicbub, 0, magicbub, magicbub, yunsun16_state, magicbub, ROT0, "Yun Sung", "Magic Bubble", GAME_NO_COCKTAIL | GAME_SUPPORTS_SAVE ) |
| 991 | GAME( 199?, magicbuba, magicbub, magicbub, magicbua, yunsun16_state, magicbub, ROT0, "Yun Sung", "Magic Bubble (Adult version, YS-1302 PCB)", GAME_NO_COCKTAIL | GAME_SUPPORTS_SAVE ) |
| 992 | GAME( 199?, magicbubb, magicbub, shocking, magicbua, driver_device, 0, ROT0, "Yun Sung", "Magic Bubble (Adult version, YS-0211 PCB)", GAME_NO_COCKTAIL | GAME_SUPPORTS_SAVE ) |
| 993 | GAME( 1996, paprazzi, 0, shocking, paprazzi, driver_device, 0, ROT270, "Yun Sung", "Paparazzi", GAME_NO_COCKTAIL | GAME_SUPPORTS_SAVE ) |
| 994 | GAME( 1997, shocking, 0, shocking, shocking, driver_device, 0, ROT0, "Yun Sung", "Shocking", GAME_NO_COCKTAIL | GAME_SUPPORTS_SAVE ) |
| 995 | GAME( 1997, shockingk, shocking, shocking, shocking, driver_device, 0, ROT0, "Yun Sung", "Shocking (Korea)", GAME_NO_COCKTAIL | GAME_SUPPORTS_SAVE ) |
| 996 | GAME( 1998, bombkick, 0, shocking, bombkick, driver_device, 0, ROT0, "Yun Sung", "Bomb Kick (set 1)", GAME_NO_COCKTAIL | GAME_SUPPORTS_SAVE ) |
| 997 | GAME( 1998, bombkicka, bombkick, shocking, bombkick, driver_device, 0, ROT0, "Yun Sung", "Bomb Kick (set 2)", GAME_NO_COCKTAIL | GAME_SUPPORTS_SAVE ) |