src/mame/audio/dkong.c
| r1418 | r1419 | |
| 6 | 6 | #include "sound/discrete.h" |
| 7 | 7 | #include "sound/dac.h" |
| 8 | 8 | |
| 9 | #include "sound/m58817.h" |
| 10 | |
| 9 | 11 | #include "includes/dkong.h" |
| 10 | 12 | |
| 11 | 13 | /**************************************************************** |
| r1418 | r1419 | |
| 14 | 16 | * |
| 15 | 17 | ****************************************************************/ |
| 16 | 18 | |
| 17 | | #define DEBUG_SPEECH (0) |
| 19 | /* Set to 1 to use speech synthesizer instead of samples. |
| 20 | * Disabled by default since M58817 emulation is not |
| 21 | * complete due to missing information about coefficients. |
| 22 | */ |
| 18 | 23 | |
| 24 | #define RADARSC1_USE_M58817 (0) |
| 25 | |
| 19 | 26 | #define ACTIVELOW_PORT_BIT(P,A,D) (((P) & (~(1 << (A)))) | (((D) ^ 1) << (A))) |
| 20 | 27 | |
| 21 | 28 | /* Needed for dkongjr ... FIXME */ |
| 22 | | #define I8035_T_R(N) ((portT >> (N)) & 1) |
| 23 | | #define I8035_T_W_AL(N,D) do { portT = ACTIVELOW_PORT_BIT(portT,N,D); soundlatch2_w(0, portT); } while (0) |
| 29 | //#define I8035_T_R(N) ((portT >> (N)) & 1) |
| 30 | #define I8035_T_R(N) ((soundlatch2_r(0) >> (N)) & 1) |
| 31 | #define I8035_T_W_AL(N,D) do { state->portT = ACTIVELOW_PORT_BIT(state->portT,N,D); soundlatch2_w(0, state->portT); } while (0) |
| 24 | 32 | |
| 25 | 33 | #define I8035_P1_R() (soundlatch3_r(0)) |
| 26 | 34 | #define I8035_P2_R() (soundlatch4_r(0)) |
| r1418 | r1419 | |
| 85 | 93 | * |
| 86 | 94 | ****************************************************************/ |
| 87 | 95 | |
| 88 | | static UINT8 dkongjr_latch[10]; |
| 89 | | static UINT8 sh_climb_count; |
| 90 | 96 | |
| 91 | | static UINT8 has_discrete_interface; |
| 92 | 97 | |
| 93 | | static UINT8 page,mcustatus; |
| 94 | | static double envelope,tt; |
| 95 | | static UINT8 decay; |
| 96 | | static UINT8 sh1_count; |
| 97 | | static UINT8 portT; |
| 98 | | |
| 99 | | enum { |
| 100 | | WAIT_CMD, |
| 101 | | WAIT_WRITE, |
| 102 | | WAIT_DONE1, |
| 103 | | WAIT_DONE2 |
| 104 | | } m58817_states; |
| 105 | | |
| 106 | | static UINT8 m58817_state; |
| 107 | | static UINT8 m58817_drq; |
| 108 | | static UINT8 m58817_nibbles[4]; |
| 109 | | static INT32 m58817_count; |
| 110 | | static INT32 m58817_address; |
| 111 | | |
| 112 | 98 | /**************************************************************** |
| 113 | 99 | * |
| 114 | 100 | * Dkong Discrete Sound Interface |
| r1418 | r1419 | |
| 669 | 655 | |
| 670 | 656 | static SOUND_START( dkong ) |
| 671 | 657 | { |
| 672 | | state_save_register_global(page); |
| 673 | | state_save_register_global(mcustatus); |
| 674 | | state_save_register_global(envelope); |
| 675 | | state_save_register_global(tt); |
| 676 | | state_save_register_global(decay); |
| 677 | | state_save_register_global(sh1_count); |
| 678 | | state_save_register_global(portT); |
| 658 | dkong_state *state = machine->driver_data; |
| 679 | 659 | |
| 680 | | has_discrete_interface = 1; |
| 660 | state_save_register_global(state->page); |
| 661 | state_save_register_global(state->mcustatus); |
| 662 | state_save_register_global(state->portT); |
| 681 | 663 | |
| 664 | state->has_discrete_interface = 1; |
| 682 | 665 | |
| 666 | |
| 683 | 667 | } |
| 684 | 668 | |
| 685 | | static SOUND_RESET( dkong ) |
| 669 | static SOUND_START( dkongjr ) |
| 686 | 670 | { |
| 671 | dkong_state *state = machine->driver_data; |
| 687 | 672 | |
| 688 | | sh1_count = 0; |
| 689 | | mcustatus = 0; |
| 690 | | envelope = 0; |
| 691 | | tt = 0; |
| 692 | | decay = 0; |
| 673 | sound_start_dkong(machine); |
| 693 | 674 | |
| 694 | | page = 0; |
| 675 | state_save_register_global(state->sh_climb_count); |
| 676 | state_save_register_global_array(state->dkongjr_latch); |
| 677 | state_save_register_global(state->envelope); |
| 678 | state_save_register_global(state->tt); |
| 679 | state_save_register_global(state->decay); |
| 695 | 680 | |
| 696 | | I8035_T_W_AL(0,0); |
| 697 | | I8035_T_W_AL(1,0); |
| 698 | | I8035_P1_W(255); |
| 699 | | I8035_P2_W(255); |
| 700 | | |
| 681 | state->has_discrete_interface = 0; |
| 701 | 682 | } |
| 702 | 683 | |
| 703 | | static SOUND_START( dkongjr ) |
| 684 | static SOUND_START( radarsc1 ) |
| 704 | 685 | { |
| 686 | dkong_state *state = machine->driver_data; |
| 687 | |
| 705 | 688 | sound_start_dkong(machine); |
| 706 | 689 | |
| 707 | | state_save_register_global(sh_climb_count); |
| 708 | | state_save_register_global_array(dkongjr_latch); |
| 709 | | |
| 710 | | sh_climb_count = 0; |
| 711 | | |
| 712 | | has_discrete_interface = 0; |
| 690 | state->has_discrete_interface = 1; |
| 713 | 691 | } |
| 714 | 692 | |
| 715 | | static SOUND_START( radarsc1 ) |
| 693 | static SOUND_RESET( dkong ) |
| 716 | 694 | { |
| 717 | | sound_start_dkong(machine); |
| 695 | dkong_state *state = machine->driver_data; |
| 718 | 696 | |
| 719 | | state_save_register_global(m58817_state); |
| 720 | | state_save_register_global(m58817_drq); |
| 721 | | state_save_register_global_array(m58817_nibbles); |
| 722 | | state_save_register_global(m58817_count); |
| 723 | | state_save_register_global(m58817_address); |
| 697 | state->mcustatus = 0; |
| 698 | state->page = 0; |
| 724 | 699 | |
| 725 | | has_discrete_interface = 1; |
| 700 | I8035_T_W_AL(0,0); |
| 701 | I8035_T_W_AL(1,0); |
| 702 | I8035_P1_W(255); |
| 703 | I8035_P2_W(255); |
| 726 | 704 | } |
| 727 | 705 | |
| 728 | | static SOUND_RESET( radarsc1 ) |
| 706 | static SOUND_RESET( dkongjr ) |
| 729 | 707 | { |
| 708 | dkong_state *state = machine->driver_data; |
| 709 | int i; |
| 710 | |
| 730 | 711 | sound_reset_dkong(machine); |
| 731 | 712 | |
| 732 | | m58817_state=WAIT_CMD; |
| 733 | | m58817_drq=0; |
| 734 | | m58817_count=0; |
| 735 | | m58817_address=0; |
| 713 | state->envelope = 0; |
| 714 | state->tt = 0; |
| 715 | state->decay = 0; |
| 716 | state->sh_climb_count = 0; |
| 736 | 717 | |
| 718 | for (i=0;i<10;i++) |
| 719 | state->dkongjr_latch[i]=0; |
| 737 | 720 | } |
| 738 | 721 | |
| 739 | 722 | /**************************************************************** |
| 740 | 723 | * |
| 741 | 724 | * M58817 Speech |
| 742 | 725 | * |
| 743 | | * Fixme: Move to src/emu/audio |
| 744 | | * |
| 745 | 726 | ****************************************************************/ |
| 746 | 727 | |
| 747 | | /* @0x510, cpu2 |
| 728 | /* |
| 729 | |
| 730 | http://www.freepatentsonline.com/4633500.html |
| 731 | |
| 732 | |
| 733 | @0x510, cpu2 |
| 748 | 734 | 10: 0000 00 00000000 ... 50 53 01010000 01010011 "scramble" |
| 749 | 735 | 12: 007a 44 01000100 ... 00 0f 00000000 00001111 "all pilots climb up" |
| 750 | 736 | 14: 018b 13 00010011 ... dc f0 11011100 11110000 |
| r1418 | r1419 | |
| 778 | 764 | 7: 20 engine trouble |
| 779 | 765 | */ |
| 780 | 766 | |
| 781 | | #if DEBUG_SPEECH |
| 782 | | static UINT8 m58817_getbit(int bitnum) |
| 783 | | { |
| 784 | | const UINT8 *table = memory_region(REGION_SOUND1); |
| 785 | | return (table[bitnum >> 3] >> (0x07 - (bitnum & 0x07))) & 1; |
| 786 | | } |
| 787 | | |
| 788 | | static UINT32 m58817_getbits(int startbit, int num) |
| 789 | | { |
| 790 | | int i; |
| 791 | | UINT32 r=0; |
| 792 | | |
| 793 | | for (i=0;i<num;i++) |
| 794 | | { |
| 795 | | r = r << 1; |
| 796 | | r = r | m58817_getbit(startbit++); |
| 797 | | } |
| 798 | | return r; |
| 799 | | } |
| 800 | | |
| 801 | | static int m58817_decodeframe(int startbit) |
| 802 | | { |
| 803 | | int energy; |
| 804 | | int pitch; |
| 805 | | int repeat; |
| 806 | | UINT32 kx; |
| 807 | | |
| 808 | | energy = m58817_getbits(startbit, 4); |
| 809 | | logerror("frame @ bit %04d (%02x):", startbit, startbit>>3); |
| 810 | | logerror(" energy = %d ", energy); |
| 811 | | startbit += 4; |
| 812 | | if (energy==0) |
| 813 | | { |
| 814 | | logerror(" - silence\n"); |
| 815 | | return startbit; |
| 816 | | } |
| 817 | | if (energy==15) |
| 818 | | { |
| 819 | | logerror(" - stop\n"); |
| 820 | | return -1; /* stop ... */ |
| 821 | | } |
| 822 | | repeat = m58817_getbits(startbit, 1); |
| 823 | | startbit += 1; |
| 824 | | pitch = m58817_getbits(startbit, 6); |
| 825 | | startbit += 6; |
| 826 | | logerror(" pitch = %d ", pitch); |
| 827 | | if (repeat) |
| 828 | | { |
| 829 | | logerror(" - repeat\n"); |
| 830 | | return startbit; |
| 831 | | } |
| 832 | | if (pitch == 0) |
| 833 | | { |
| 834 | | logerror(" - unvoiced skip %d\n", 18); |
| 835 | | kx = m58817_getbits(startbit, 18); |
| 836 | | startbit += 18; |
| 837 | | return startbit; |
| 838 | | } |
| 839 | | else |
| 840 | | { |
| 841 | | logerror(" - voiced skip %d\n", 37); |
| 842 | | kx = m58817_getbits(startbit, 30); |
| 843 | | startbit += 30; |
| 844 | | kx = m58817_getbits(startbit, 7); |
| 845 | | startbit += 7; |
| 846 | | return startbit; |
| 847 | | } |
| 848 | | } |
| 849 | | |
| 850 | | static int m58817_dumpframe(int startbit) |
| 851 | | { |
| 852 | | while (startbit>=0) |
| 853 | | startbit=m58817_decodeframe(startbit); |
| 854 | | logerror("\n"); |
| 855 | | return startbit; |
| 856 | | } |
| 857 | | #endif |
| 858 | | |
| 859 | | static void m58817_sampleframe(int addr) |
| 860 | | { |
| 861 | | printf("0x%x\n", addr); |
| 862 | | switch (addr) |
| 863 | | { |
| 864 | | case 0x0000: /* 10 */ |
| 865 | | sample_start (0,0,0); |
| 866 | | break; |
| 867 | | case 0x007a: /* 12 */ |
| 868 | | sample_start (0,1,0); |
| 869 | | break; |
| 870 | | case 0x018b: /* 14 */ |
| 871 | | sample_start (0,2,0); |
| 872 | | break; |
| 873 | | case 0x0320: /* 16 */ |
| 874 | | sample_start (0,3,0); |
| 875 | | break; |
| 876 | | case 0x036c: /* 18 */ |
| 877 | | sample_start (0,4,0); |
| 878 | | break; |
| 879 | | case 0x03c4: /* 1A */ |
| 880 | | sample_start (0,5,0); |
| 881 | | break; |
| 882 | | case 0x041c: /* 1C */ |
| 883 | | sample_start (0,6,0); |
| 884 | | break; |
| 885 | | case 0x0520: /* 1E */ |
| 886 | | sample_start (0,7,0); |
| 887 | | break; |
| 888 | | case 0x063e: /* 20 */ |
| 889 | | sample_start (0,8,0); |
| 890 | | break; |
| 891 | | } |
| 892 | | } |
| 893 | | |
| 894 | | static void m58817_state_loop(int data) |
| 895 | | { |
| 896 | | int i; |
| 897 | | switch (m58817_state) |
| 898 | | { |
| 899 | | case WAIT_CMD: |
| 900 | | switch (data) |
| 901 | | { |
| 902 | | case 0x00: // reset ???? |
| 903 | | m58817_count=0; |
| 904 | | break; |
| 905 | | case 0x02: // latch next nibbel |
| 906 | | m58817_state=WAIT_WRITE; |
| 907 | | break; |
| 908 | | case 0x08: // play ???? |
| 909 | | m58817_state=WAIT_DONE1; |
| 910 | | break; |
| 911 | | default: |
| 912 | | logerror("m58817: unknown cmd : 0x%02x\n", data); |
| 913 | | } |
| 914 | | break; |
| 915 | | case WAIT_WRITE: |
| 916 | | m58817_nibbles[m58817_count++] = data & 0x0f; |
| 917 | | m58817_state=WAIT_CMD; |
| 918 | | break; |
| 919 | | case WAIT_DONE1: |
| 920 | | if (data != 0x0A) |
| 921 | | logerror("m58817: expected 0x0A got 0x%02x\n", data); |
| 922 | | m58817_address = 0; |
| 923 | | for (i=0;i<m58817_count;i++) |
| 924 | | { |
| 925 | | m58817_address |= (m58817_nibbles[i] << (i*4)); |
| 926 | | } |
| 927 | | logerror("m58817: address: 0x%04x\n", m58817_address); |
| 928 | | //m58817_dumpframe(m58817_address * 8); |
| 929 | | m58817_sampleframe(m58817_address); |
| 930 | | m58817_state=WAIT_CMD; |
| 931 | | break; |
| 932 | | } |
| 933 | | } |
| 934 | | |
| 935 | | |
| 936 | | static READ8_HANDLER( M58817_status_r ) |
| 937 | | { |
| 938 | | //return !(m58817_state == WAIT_CMD); |
| 939 | | return sample_playing(0); |
| 940 | | } |
| 941 | | |
| 942 | 767 | static WRITE8_HANDLER( M58817_command_w ) |
| 943 | 768 | { |
| 944 | | int drq = (data>>4) & 0x01; // FIXME 0x20 ?? |
| 945 | | int dat = data & 0x0f; |
| 946 | 769 | logerror("PA Write %x\n", data); |
| 947 | | if (!drq & m58817_drq) |
| 948 | | m58817_state_loop(dat); |
| 949 | | m58817_drq = drq; |
| 770 | |
| 771 | m58817_CTL_w(0, data & 0x0f); |
| 772 | m58817_DRQ_w(0, (data>>4) & 0x01); // FIXME 0x20 ?? |
| 950 | 773 | } |
| 951 | 774 | |
| 952 | 775 | /**************************************************************** |
| r1418 | r1419 | |
| 977 | 800 | |
| 978 | 801 | static READ8_HANDLER( dkong_sh_tune_r ) |
| 979 | 802 | { |
| 803 | dkong_state *state = Machine->driver_data; |
| 980 | 804 | UINT8 *SND = memory_region(REGION_CPU2); |
| 981 | | if ( page & 0x40 ) |
| 805 | |
| 806 | if ( state->page & 0x40 ) |
| 982 | 807 | { |
| 983 | | return soundlatch_r(0); |
| 808 | return soundlatch_r(0) & 0x0F; |
| 984 | 809 | } |
| 985 | 810 | else |
| 986 | | return (SND[2048+(page & 7)*256+offset]); |
| 811 | return (SND[0x1000+(state->page & 7)*256+offset]); |
| 987 | 812 | } |
| 988 | 813 | |
| 814 | static READ8_HANDLER( dkongjr_sh_tune_r ) |
| 815 | { |
| 816 | return soundlatch_r(0) & 0x01F; |
| 817 | } |
| 818 | |
| 989 | 819 | #define TSTEP 0.001 |
| 990 | 820 | |
| 991 | 821 | static WRITE8_HANDLER( dkong_sh_p1_w ) |
| 992 | 822 | { |
| 823 | dkong_state *state = Machine->driver_data; |
| 993 | 824 | |
| 994 | | if (has_discrete_interface) |
| 825 | if (state->has_discrete_interface) |
| 995 | 826 | discrete_sound_w(DS_DAC,data); |
| 996 | 827 | else |
| 997 | 828 | { |
| 998 | | envelope=exp(-tt); |
| 999 | | DAC_data_w(0,(int)(data*envelope)); |
| 1000 | | if (decay) |
| 1001 | | tt+=TSTEP; |
| 829 | state->envelope=exp(-state->tt); |
| 830 | DAC_data_w(0,(int)(data*state->envelope)); |
| 831 | if (state->decay) |
| 832 | state->tt+=TSTEP; |
| 1002 | 833 | else |
| 1003 | | tt=0; |
| 834 | state->tt=0; |
| 1004 | 835 | } |
| 1005 | 836 | } |
| 1006 | 837 | |
| r1418 | r1419 | |
| 1008 | 839 | static READ8_HANDLER( radarsc1_sh_p1_r ) |
| 1009 | 840 | { |
| 1010 | 841 | int r; |
| 1011 | | r = (I8035_P1_R() & 0x80) | (M58817_status_r(0)<<6); |
| 842 | |
| 843 | r = (I8035_P1_R() & 0x80) | (m58817_status_r(0)<<6); |
| 1012 | 844 | return r; |
| 1013 | 845 | } |
| 1014 | 846 | |
| 1015 | | static WRITE8_HANDLER( radarsc1_sh_p1_w ) |
| 1016 | | { |
| 1017 | | M58817_command_w(0,data); |
| 1018 | | } |
| 1019 | | |
| 1020 | | static WRITE8_HANDLER( radarsc1_sh_p2_w ) |
| 1021 | | { |
| 1022 | | /* If P2.Bit7 -> external signal decay |
| 1023 | | * If P2.Bit6 -> not connected |
| 1024 | | * If P2.Bit5 -> Signal ANSN ==> Grid enable |
| 1025 | | * If P2.Bit4 -> status code to main cpu |
| 1026 | | * P2.Bit2-0 -> select the 256 byte bank for external ROM |
| 1027 | | */ |
| 1028 | | |
| 1029 | | if (has_discrete_interface) |
| 1030 | | discrete_sound_w(DS_DAC_DISCHARGE, (data & 0x80) ? 0 : 1 ); |
| 1031 | | else |
| 1032 | | decay = !(data & 0x80); |
| 1033 | | page = (data & 0x07); |
| 1034 | | mcustatus = ((~data & 0x10) >> 4); |
| 1035 | | radarsc1_ansn_w(0, (data & 0x20) >> 5); |
| 1036 | | } |
| 1037 | | |
| 1038 | 847 | static WRITE8_HANDLER( dkong_sh_p2_w ) |
| 1039 | 848 | { |
| 1040 | 849 | /* If P2.Bit7 -> is apparently an external signal decay or other output control |
| 1041 | | * If P2.Bit6 -> activates the external compressed sample ROM |
| 850 | * If P2.Bit6 -> activates the external compressed sample ROM (not radarsc1) |
| 851 | * If P2.Bit5 -> Signal ANSN ==> Grid enable (radarsc1) |
| 1042 | 852 | * If P2.Bit4 -> status code to main cpu |
| 1043 | 853 | * P2.Bit2-0 -> select the 256 byte bank for external ROM |
| 1044 | 854 | */ |
| 1045 | 855 | |
| 1046 | | if (has_discrete_interface) |
| 856 | dkong_state *state = Machine->driver_data; |
| 857 | |
| 858 | if (state->has_discrete_interface) |
| 1047 | 859 | discrete_sound_w(DS_DAC_DISCHARGE, (data & 0x80) ? 0 : 1 ); |
| 1048 | 860 | else |
| 1049 | | decay = !(data & 0x80); |
| 1050 | | page = (data & 0x47); |
| 1051 | | mcustatus = ((~data & 0x10) >> 4); |
| 861 | state->decay = !(data & 0x80); |
| 862 | state->mcustatus = ((~data & 0x10) >> 4); |
| 863 | radarsc1_ansn_w(0, (data & 0x20) >> 5); |
| 864 | state->page = (data & 0x47); |
| 1052 | 865 | } |
| 1053 | 866 | |
| 1054 | | static READ8_HANDLER( radarsc1_sh_tune_r ) |
| 1055 | | { |
| 1056 | | return soundlatch_r(0); |
| 1057 | | } |
| 1058 | | |
| 1059 | | |
| 1060 | 867 | /**************************************************************** |
| 1061 | 868 | * |
| 1062 | 869 | * I/O Handlers - global |
| r1418 | r1419 | |
| 1076 | 883 | |
| 1077 | 884 | READ8_HANDLER( dkong_audio_status_r ) |
| 1078 | 885 | { |
| 1079 | | return mcustatus; |
| 886 | dkong_state *state = Machine->driver_data; |
| 887 | |
| 888 | return state->mcustatus; |
| 1080 | 889 | } |
| 1081 | 890 | |
| 1082 | 891 | WRITE8_HANDLER( dkong_audio_irq_w ) |
| r1418 | r1419 | |
| 1091 | 900 | { |
| 1092 | 901 | dkong_state *state = Machine->driver_data; |
| 1093 | 902 | |
| 1094 | | if (!has_discrete_interface && (offset<3)) |
| 903 | if (!state->has_discrete_interface && (offset<3)) |
| 1095 | 904 | { |
| 1096 | 905 | logerror("dkong.c: Write to snd port %d (%d)\n", offset, data); |
| 1097 | 906 | return; |
| r1418 | r1419 | |
| 1122 | 931 | I8035_T_W_AL(0, data & 1); |
| 1123 | 932 | break; |
| 1124 | 933 | case 6: |
| 1125 | | if (has_discrete_interface) |
| 934 | if (state->has_discrete_interface) |
| 1126 | 935 | discrete_sound_w(DS_SOUND6_INP,data & 1); |
| 1127 | 936 | break; |
| 1128 | 937 | case 7: |
| 1129 | | if (has_discrete_interface) |
| 938 | if (state->has_discrete_interface) |
| 1130 | 939 | discrete_sound_w(DS_SOUND7_INP,data & 1); |
| 1131 | 940 | break; |
| 1132 | 941 | } |
| r1418 | r1419 | |
| 1140 | 949 | |
| 1141 | 950 | WRITE8_HANDLER( dkongjr_snd_w1 ) |
| 1142 | 951 | { |
| 952 | dkong_state *state = Machine->driver_data; |
| 1143 | 953 | static const int sample_order[7] = {1,2,1,2,0,1,0}; |
| 1144 | 954 | |
| 1145 | | if (dkongjr_latch[offset] != data) |
| 955 | if (state->dkongjr_latch[offset] != data) |
| 1146 | 956 | { |
| 1147 | 957 | switch (offset) |
| 1148 | 958 | { |
| 1149 | 959 | case 0: /* climb */ |
| 1150 | | if (data && dkongjr_latch[7] == 0) |
| 960 | if (data && state->dkongjr_latch[7] == 0) |
| 1151 | 961 | { |
| 1152 | | sample_start (3,sample_order[sh_climb_count]+3,0); |
| 1153 | | sh_climb_count++; |
| 1154 | | if (sh_climb_count == 7) sh_climb_count = 0; |
| 962 | sample_start (3,sample_order[state->sh_climb_count]+3,0); |
| 963 | state->sh_climb_count++; |
| 964 | if (state->sh_climb_count == 7) state->sh_climb_count = 0; |
| 1155 | 965 | } |
| 1156 | | else if (data && dkongjr_latch[7] == 1) |
| 966 | else if (data && state->dkongjr_latch[7] == 1) |
| 1157 | 967 | { |
| 1158 | | sample_start (3,sample_order[sh_climb_count]+8,0); |
| 1159 | | sh_climb_count++; |
| 1160 | | if (sh_climb_count == 7) sh_climb_count = 0; |
| 968 | sample_start (3,sample_order[state->sh_climb_count]+8,0); |
| 969 | state->sh_climb_count++; |
| 970 | if (state->sh_climb_count == 7) state->sh_climb_count = 0; |
| 1161 | 971 | } |
| 1162 | 972 | break; |
| 1163 | 973 | case 1: /* jump */ |
| r1418 | r1419 | |
| 1169 | 979 | sample_stop (7); |
| 1170 | 980 | sample_start (4,1,0); |
| 1171 | 981 | break; |
| 982 | case 3: /* Port 3 write ==> PB 5 */ |
| 983 | I8035_P2_W_AL(5,data & 1); |
| 984 | break; |
| 985 | #if 0 // above verified from schematics |
| 1172 | 986 | case 3: /* roar */ |
| 1173 | 987 | if (data) |
| 1174 | 988 | sample_start (7,2,0); |
| 1175 | 989 | break; |
| 990 | #endif |
| 1176 | 991 | case 4: /* Port 4 write */ |
| 1177 | 992 | I8035_T_W_AL(1, data & 1); |
| 1178 | 993 | break; |
| 1179 | 994 | case 5: /* Port 5 write */ |
| 1180 | 995 | I8035_T_W_AL(0, data & 1); |
| 1181 | 996 | break; |
| 997 | case 6: /* Port 6 write ==> PB 4 */ |
| 998 | I8035_P2_W_AL(4,data & 1); |
| 999 | break; |
| 1000 | #if 0 // above verified from schematics |
| 1182 | 1001 | case 6: /* snapjaw */ |
| 1183 | 1002 | if (data) |
| 1184 | 1003 | sample_stop (7); |
| 1185 | 1004 | sample_start (4,11,0); |
| 1186 | 1005 | break; |
| 1006 | #endif |
| 1187 | 1007 | case 7: /* walk */ |
| 1188 | 1008 | //walk = data; |
| 1189 | 1009 | break; |
| 1190 | 1010 | } |
| 1191 | | dkongjr_latch[offset] = data; |
| 1011 | state->dkongjr_latch[offset] = data; |
| 1192 | 1012 | } |
| 1193 | 1013 | } |
| 1194 | 1014 | |
| 1195 | 1015 | WRITE8_HANDLER( dkongjr_snd_w2 ) |
| 1196 | 1016 | { |
| 1197 | | if (dkongjr_latch[offset+8] != data) |
| 1017 | dkong_state *state = Machine->driver_data; |
| 1018 | if (state->dkongjr_latch[offset+8] != data) |
| 1198 | 1019 | { |
| 1199 | 1020 | switch (offset) |
| 1200 | 1021 | { |
| 1022 | case 0: |
| 1023 | dkong_audio_irq_w(0, data & 1); |
| 1024 | break; |
| 1025 | #if 0 // above verified from schematics |
| 1201 | 1026 | case 0: /* death */ |
| 1202 | 1027 | if (data) |
| 1203 | 1028 | sample_stop (7); |
| 1204 | 1029 | sample_start (6, 6, 0); |
| 1205 | 1030 | break; |
| 1031 | #endif |
| 1206 | 1032 | case 1: /* drop */ |
| 1207 | 1033 | if (data) |
| 1208 | 1034 | sample_start (7, 7, 0); |
| 1209 | 1035 | break; |
| 1210 | 1036 | } |
| 1211 | | dkongjr_latch[offset+8] = data; |
| 1037 | state->dkongjr_latch[offset+8] = data; |
| 1212 | 1038 | } |
| 1213 | 1039 | } |
| 1214 | 1040 | |
| r1418 | r1419 | |
| 1233 | 1059 | AM_RANGE(I8039_t1, I8039_t1) AM_READ(dkong_sh_t1_r) |
| 1234 | 1060 | ADDRESS_MAP_END |
| 1235 | 1061 | |
| 1062 | static ADDRESS_MAP_START( dkongjr_sound_io_map, ADDRESS_SPACE_IO, 8 ) |
| 1063 | AM_RANGE(0x00, 0xff) AM_READ(dkongjr_sh_tune_r) |
| 1064 | AM_RANGE(I8039_p1, I8039_p1) AM_READWRITE(dkong_sh_p1_r, dkong_sh_p1_w) |
| 1065 | AM_RANGE(I8039_p2, I8039_p2) AM_READWRITE(dkong_sh_p2_r, dkong_sh_p2_w) |
| 1066 | AM_RANGE(I8039_t0, I8039_t0) AM_READ(dkong_sh_t0_r) |
| 1067 | AM_RANGE(I8039_t1, I8039_t1) AM_READ(dkong_sh_t1_r) |
| 1068 | ADDRESS_MAP_END |
| 1069 | |
| 1236 | 1070 | static ADDRESS_MAP_START( radarsc1_sound_io_map, ADDRESS_SPACE_IO, 8 ) |
| 1237 | | AM_RANGE(0x00, 0xff) AM_READ(radarsc1_sh_tune_r) |
| 1071 | AM_RANGE(0x00, 0xff) AM_READ(soundlatch_r) |
| 1238 | 1072 | AM_RANGE(0x00, 0xff) AM_WRITE(dkong_sh_p1_w) // DAC here |
| 1239 | | AM_RANGE(I8039_p1, I8039_p1) AM_READWRITE(radarsc1_sh_p1_r, radarsc1_sh_p1_w) |
| 1240 | | AM_RANGE(I8039_p2, I8039_p2) AM_READWRITE(dkong_sh_p2_r, radarsc1_sh_p2_w) |
| 1073 | AM_RANGE(I8039_p1, I8039_p1) AM_READWRITE(radarsc1_sh_p1_r, M58817_command_w) |
| 1074 | AM_RANGE(I8039_p2, I8039_p2) AM_READWRITE(dkong_sh_p2_r, dkong_sh_p2_w) |
| 1241 | 1075 | AM_RANGE(I8039_t0, I8039_t0) AM_READ(dkong_sh_t0_r) |
| 1242 | 1076 | AM_RANGE(I8039_t1, I8039_t1) AM_READ(dkong_sh_t1_r) |
| 1243 | 1077 | ADDRESS_MAP_END |
| r1418 | r1419 | |
| 1265 | 1099 | * |
| 1266 | 1100 | *************************************/ |
| 1267 | 1101 | |
| 1268 | | static const char *const dkongjr_sample_names[] = |
| 1102 | static const char *dkongjr_sample_names[] = |
| 1269 | 1103 | { |
| 1270 | 1104 | "*dkongjr", |
| 1271 | 1105 | "jump.wav", |
| r1418 | r1419 | |
| 1283 | 1117 | 0 /* end of array */ |
| 1284 | 1118 | }; |
| 1285 | 1119 | |
| 1286 | | static const struct Samplesinterface dkongjr_samples_interface = |
| 1120 | static struct Samplesinterface dkongjr_samples_interface = |
| 1287 | 1121 | { |
| 1288 | 1122 | 8, /* 8 channels */ |
| 1289 | 1123 | dkongjr_sample_names |
| 1290 | 1124 | }; |
| 1291 | 1125 | |
| 1292 | | static const char *const radarsc1_sample_names[] = |
| 1126 | #if !RADARSC1_USE_M58817 |
| 1127 | static const char *radarsc1_sample_names[] = |
| 1293 | 1128 | { |
| 1294 | 1129 | "*radarsc1", |
| 1295 | 1130 | "10.wav", |
| r1418 | r1419 | |
| 1304 | 1139 | 0 /* end of array */ |
| 1305 | 1140 | }; |
| 1306 | 1141 | |
| 1307 | | static const struct Samplesinterface radarsc1_samples_interface = |
| 1142 | static struct Samplesinterface radarsc1_samples_interface = |
| 1308 | 1143 | { |
| 1309 | 1144 | 8, /* 8 channels */ |
| 1310 | 1145 | radarsc1_sample_names |
| 1311 | 1146 | }; |
| 1147 | #endif |
| 1312 | 1148 | |
| 1313 | | static const struct NESinterface nes_interface_1 = { REGION_CPU2 }; |
| 1314 | | static const struct NESinterface nes_interface_2 = { REGION_CPU3 }; |
| 1149 | static struct NESinterface nes_interface_1 = { REGION_CPU2 }; |
| 1150 | static struct NESinterface nes_interface_2 = { REGION_CPU3 }; |
| 1315 | 1151 | |
| 1152 | static struct M58817interface m58817_interface = |
| 1153 | { |
| 1154 | #if !RADARSC1_USE_M58817 |
| 1155 | -1, |
| 1156 | #else |
| 1157 | REGION_SOUND1, /* Sample Rom */ |
| 1158 | #endif |
| 1159 | { 0x0000, 0x007a, 0x018b, 0x0320, 0x036c, 0x03c4, 0x041c, 0x0520, 0x063e } /* sample address map */ |
| 1160 | }; |
| 1161 | |
| 1316 | 1162 | /************************************* |
| 1317 | 1163 | * |
| 1318 | 1164 | * Machine driver |
| r1418 | r1419 | |
| 1352 | 1198 | MDRV_CPU_IO_MAP(radarsc1_sound_io_map, 0) |
| 1353 | 1199 | |
| 1354 | 1200 | MDRV_SOUND_START(radarsc1) |
| 1355 | | MDRV_SOUND_RESET(radarsc1) |
| 1356 | 1201 | |
| 1202 | MDRV_SOUND_ADD(M58817, 640000) |
| 1203 | MDRV_SOUND_CONFIG(m58817_interface) |
| 1204 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.7) |
| 1205 | |
| 1206 | #if !RADARSC1_USE_M58817 |
| 1357 | 1207 | MDRV_SOUND_ADD(SAMPLES, 0) |
| 1358 | 1208 | MDRV_SOUND_CONFIG(radarsc1_samples_interface) |
| 1359 | 1209 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 3.0) |
| 1210 | #endif |
| 1360 | 1211 | |
| 1361 | 1212 | MACHINE_DRIVER_END |
| 1362 | 1213 | |
| 1363 | 1214 | MACHINE_DRIVER_START( dkongjr_audio ) |
| 1364 | 1215 | |
| 1365 | | MDRV_CPU_ADD(I8035,I8035_CLOCK) |
| 1216 | MDRV_CPU_ADD_TAG("sound", I8035,I8035_CLOCK) |
| 1366 | 1217 | MDRV_CPU_PROGRAM_MAP(dkong_sound_map,0) |
| 1367 | | MDRV_CPU_IO_MAP(dkong_sound_io_map, 0) |
| 1218 | MDRV_CPU_IO_MAP(dkongjr_sound_io_map, 0) |
| 1368 | 1219 | |
| 1369 | 1220 | MDRV_SOUND_START(dkongjr) |
| 1370 | | MDRV_SOUND_RESET(dkong) |
| 1221 | MDRV_SOUND_RESET(dkongjr) |
| 1371 | 1222 | |
| 1372 | 1223 | MDRV_SPEAKER_STANDARD_MONO("mono") |
| 1373 | 1224 | MDRV_SOUND_ADD(DAC, 0) |
src/mame/drivers/dkong.c
| r1418 | r1419 | |
| 9 | 9 | Clarify |
| 10 | 10 | - 8ballact: read 1507 no mapped |
| 11 | 11 | - drakton - add dkongjr conversion |
| 12 | - dkong3 dma (Z80 dma) |
| 12 | 13 | - implement 74LS259 (8bit addressable latches), 74LS175 (QUAD D FlipFlop), 74LS373 (Octal transparent latch) |
| 13 | 14 | |
| 14 | | |
| 15 | 15 | Done: |
| 16 | 16 | - when i am retired: implement 8257 DMA controller |
| 17 | 17 | - radarscp_grid_color_w() is wrong, it probably isn't supposed to change |
| r1418 | r1419 | |
| 54 | 54 | Schematics show, that these boards actually were based on TRS-02 |
| 55 | 55 | - TKG-4 is a 2 board set. |
| 56 | 56 | |
| 57 | Couriersud: 12/2007 |
| 58 | |
| 59 | - changed dkong/radarscp based games to use hardware-conformant I8035 memory maps |
| 60 | - Added drakton clone drktnjr on dkongjr hardware |
| 61 | - wrote M58817 sound driver and hooked it up |
| 62 | Uses tms5110 speech synthesis. LPC format is identical, however coefficients |
| 63 | seem to be different. Until coefficients are known, samples are used. |
| 64 | - moved address remapping proms to REGION_USER1 (hunchbkd & co) |
| 65 | - Service now adds credit |
| 66 | - Hooked up coin_counters |
| 67 | - remove GAME_NOT_WORKING GAME_WRONG_COLORS from hunchbkd |
| 68 | - fixed shootgal0121u4red |
| 69 | - dkongjr: mapped more interface lines between sound board and cpu board |
| 70 | - tagged all inputs, all reads use tag names |
| 71 | - moved more static vars into dkong_state |
| 72 | |
| 73 | General notes |
| 74 | |
| 75 | The dma8257 is responsible for copying sprite data from 0x6900 (or where ever it is located) to 0x7400 (sprite banks). |
| 76 | 2650 based games had a rom for address lookups. This is needed for proper operation of the 8257 code. |
| 77 | Where this was missing, I copied the entry from hunchbkd and marked it as BAD_DUMP. |
| 78 | Additional protection was done by pals. The only driver with a PAL entry is herbiedk. |
| 79 | I added NO_DUMP entries for the other 2650 games. |
| 80 | |
| 81 | Thanks to Mike I was able to closer analyze TKG02/03/04 schematics. The radar scope to donkey kong conversions done |
| 82 | should lead to the same discrete sound as TKG04 (2 board boards). However the colours are different. |
| 83 | Red girders are back. Until the release of TKG04, the 2 board release, schematics were largely identical with radar scope. |
| 84 | There were slight modifications from release to release in the analog video logic. Already at TKG2-02(03) the |
| 85 | darlington amplifier for the blue channel was replaced with a emitter one by leaving away (OMIT in schematics) |
| 86 | a resistor and transistor. Later on, TKG3-06, 4066 switches and background generation circuits for radarscope were removed. |
| 87 | I have added a driver configuration switch to switch between TKG4 and TKG2-01 (radarscope) palettes. |
| 88 | At a later stage, a TKG2-02 will be added as well. |
| 89 | |
| 90 | |
| 57 | 91 | Donkey Kong and Donkey Kong Jr. memory map (preliminary) (DKong 3 follows) |
| 58 | 92 | |
| 59 | 93 | 0000-3fff ROM (Donkey Kong Jr.and Donkey Kong 3: 0000-5fff) |
| r1418 | r1419 | |
| 290 | 324 | |
| 291 | 325 | static MACHINE_START( hunchbkd ) |
| 292 | 326 | { |
| 293 | | UINT8 *p = memory_region(REGION_PROMS); |
| 327 | UINT8 *p = memory_region(REGION_USER1); |
| 294 | 328 | int i; |
| 295 | 329 | |
| 296 | 330 | dkong_state *state = Machine->driver_data; |
| r1418 | r1419 | |
| 301 | 335 | for (i=0;i<0x200;i++) |
| 302 | 336 | state->rev_map[i] = -1; |
| 303 | 337 | for (i=0;i<0x200;i++) |
| 304 | | state->rev_map[p[0x300+i]] = i; |
| 338 | state->rev_map[p[0x0000+i]] = i; |
| 305 | 339 | |
| 306 | 340 | state_save_register_global(state->hunchloopback); |
| 307 | 341 | |
| r1418 | r1419 | |
| 438 | 472 | * |
| 439 | 473 | *************************************/ |
| 440 | 474 | |
| 475 | static WRITE8_HANDLER( dkong3_coin_counter_w ) |
| 476 | { |
| 477 | coin_counter_w(offset, data & 0x01); |
| 478 | } |
| 479 | |
| 441 | 480 | static WRITE8_HANDLER( p8257_drq_w ) |
| 442 | 481 | { |
| 443 | 482 | dma8257_drq_write(0, 0, data & 0x01); |
| r1418 | r1419 | |
| 446 | 485 | |
| 447 | 486 | static READ8_HANDLER( dkong_in2_r ) |
| 448 | 487 | { |
| 449 | | return (readinputportbytag("IN2") & 0xBF) | (dkong_audio_status_r(0) << 6); |
| 488 | UINT8 r; |
| 489 | |
| 490 | r = (readinputportbytag("IN2") & 0xBF) | (dkong_audio_status_r(0) << 6); |
| 491 | coin_counter_w(offset, r >> 7); |
| 492 | if (r & 0x10) |
| 493 | r = (r & ~0x10) | 0x80; /* service ==> coint */ |
| 494 | return r; |
| 450 | 495 | } |
| 451 | 496 | |
| 452 | 497 | static READ8_HANDLER( hunchbkd_mirror_r ) |
| r1418 | r1419 | |
| 574 | 619 | } |
| 575 | 620 | } |
| 576 | 621 | |
| 577 | | /************************************* |
| 578 | | * |
| 579 | | * NVRAM handling |
| 580 | | * |
| 581 | | *************************************/ |
| 582 | 622 | |
| 583 | | |
| 584 | | |
| 585 | 623 | /************************************* |
| 586 | 624 | * |
| 587 | 625 | * Main CPU memory handlers |
| r1418 | r1419 | |
| 591 | 629 | static ADDRESS_MAP_START( dkong_map, ADDRESS_SPACE_PROGRAM, 8 ) |
| 592 | 630 | AM_RANGE(0x0000, 0x3fff) AM_ROM |
| 593 | 631 | AM_RANGE(0x6000, 0x6bff) AM_RAM |
| 594 | | AM_RANGE(0x7000, 0x73ff) AM_RAM AM_BASE(&spriteram) AM_SIZE(&spriteram_size) /* sprite set 1 */ |
| 632 | AM_RANGE(0x7000, 0x73ff) AM_RAM AM_BASE(&spriteram) AM_SIZE(&spriteram_size) /* sprite set 1 */ |
| 595 | 633 | AM_RANGE(0x7400, 0x77ff) AM_READWRITE(MRA8_RAM, dkong_videoram_w) AM_BASE(&videoram) |
| 596 | | AM_RANGE(0x7800, 0x780f) AM_READWRITE(dma8257_0_r, dma8257_0_w) /* P8257 control registers */ |
| 597 | | AM_RANGE(0x7c00, 0x7c00) AM_READWRITE(input_port_0_r, dkong_sh_tuneselect_w) /* IN0, sound CPU intf */ |
| 598 | | AM_RANGE(0x7c80, 0x7c80) AM_READWRITE(input_port_1_r, radarscp_grid_color_w) /* IN1 */ |
| 599 | | AM_RANGE(0x7d00, 0x7d00) AM_READ(dkong_in2_r) /* IN2/DSW2 */ |
| 600 | | AM_RANGE(0x7d00, 0x7d07) AM_WRITE(dkong_snd_disc_w) /* Sound signals */ |
| 601 | | AM_RANGE(0x7d80, 0x7d80) AM_READWRITE(input_port_3_r, dkong_audio_irq_w) /* DSW1 */ |
| 634 | AM_RANGE(0x7800, 0x780f) AM_READWRITE(dma8257_0_r, dma8257_0_w) /* P8257 control registers */ |
| 635 | AM_RANGE(0x7c00, 0x7c00) AM_READ_PORT("IN0") AM_WRITE(dkong_sh_tuneselect_w) /* IN0, sound CPU intf */ |
| 636 | AM_RANGE(0x7c80, 0x7c80) AM_READ_PORT("IN1") AM_WRITE(radarscp_grid_color_w) /* IN1 */ |
| 637 | AM_RANGE(0x7d00, 0x7d00) AM_READ(dkong_in2_r) /* IN2 */ |
| 638 | AM_RANGE(0x7d00, 0x7d07) AM_WRITE(dkong_snd_disc_w) /* Sound signals */ |
| 639 | AM_RANGE(0x7d80, 0x7d80) AM_READ_PORT("DSW0") AM_WRITE(dkong_audio_irq_w) /* DSW0 */ |
| 602 | 640 | AM_RANGE(0x7d81, 0x7d81) AM_WRITE(radarscp_grid_enable_w) |
| 603 | 641 | AM_RANGE(0x7d82, 0x7d82) AM_WRITE(dkong_flipscreen_w) |
| 604 | | AM_RANGE(0x7d83, 0x7d83) AM_WRITE(dkong_spritebank_w) /* 2 PSL Signal */ |
| 642 | AM_RANGE(0x7d83, 0x7d83) AM_WRITE(dkong_spritebank_w) /* 2 PSL Signal */ |
| 605 | 643 | AM_RANGE(0x7d84, 0x7d84) AM_WRITE(interrupt_enable_w) |
| 606 | | AM_RANGE(0x7d85, 0x7d85) AM_WRITE(p8257_drq_w) /* P8257 ==> /DRQ0 /DRQ1 */ |
| 644 | AM_RANGE(0x7d85, 0x7d85) AM_WRITE(p8257_drq_w) /* P8257 ==> /DRQ0 /DRQ1 */ |
| 607 | 645 | AM_RANGE(0x7d86, 0x7d87) AM_WRITE(dkong_palettebank_w) |
| 608 | 646 | ADDRESS_MAP_END |
| 609 | 647 | |
| r1418 | r1419 | |
| 614 | 652 | |
| 615 | 653 | static ADDRESS_MAP_START( hunchbkd_map, ADDRESS_SPACE_PROGRAM, 8 ) |
| 616 | 654 | AM_RANGE(0x0000, 0x0fff) AM_ROM |
| 617 | | AM_RANGE(0x1000, 0x13ff) AM_RAM AM_BASE(&spriteram) AM_SIZE(&spriteram_size) /* 0x7000 */ |
| 618 | | AM_RANGE(0x1400, 0x1400) AM_READWRITE(input_port_0_r, dkong_sh_tuneselect_w) |
| 619 | | AM_RANGE(0x1480, 0x1480) AM_READ(input_port_1_r) |
| 620 | | AM_RANGE(0x1500, 0x1500) AM_READ(input_port_2_r) /* IN2/DSW2 */ |
| 621 | | AM_RANGE(0x1580, 0x1580) AM_READWRITE(input_port_3_r, dkong_audio_irq_w) /* DSW1 */ |
| 655 | AM_RANGE(0x1000, 0x13ff) AM_RAM AM_BASE(&spriteram) AM_SIZE(&spriteram_size) /* 0x7000 */ |
| 656 | AM_RANGE(0x1400, 0x1400) AM_READ_PORT("IN0") AM_WRITE(dkong_sh_tuneselect_w) |
| 657 | AM_RANGE(0x1480, 0x1480) AM_READ_PORT("IN1") |
| 658 | AM_RANGE(0x1500, 0x1500) AM_READ(dkong_in2_r) /* IN2 */ |
| 659 | AM_RANGE(0x1500, 0x1507) AM_WRITE(dkong_snd_disc_w) /* Sound signals */ |
| 660 | AM_RANGE(0x1580, 0x1580) AM_READ_PORT("DSW0") AM_WRITE(dkong_audio_irq_w) /* DSW0 */ |
| 622 | 661 | AM_RANGE(0x1582, 0x1582) AM_WRITE(dkong_flipscreen_w) |
| 623 | | AM_RANGE(0x1584, 0x1584) AM_NOP /* Possibly still interupt enable */ |
| 624 | | AM_RANGE(0x1585, 0x1585) AM_WRITE(p8257_drq_w) /* P8257 ==> /DRQ0 /DRQ1 */ |
| 662 | AM_RANGE(0x1583, 0x1583) AM_WRITE(dkong_spritebank_w) /* 2 PSL Signal */ |
| 663 | AM_RANGE(0x1584, 0x1584) AM_NOP /* Possibly still interupt enable */ |
| 664 | AM_RANGE(0x1585, 0x1585) AM_WRITE(p8257_drq_w) /* P8257 ==> /DRQ0 /DRQ1 */ |
| 625 | 665 | AM_RANGE(0x1586, 0x1587) AM_WRITE(dkong_palettebank_w) |
| 626 | | AM_RANGE(0x1600, 0x17ff) AM_RAM /* 0x6400 spriteram location */ |
| 666 | AM_RANGE(0x1600, 0x17ff) AM_RAM /* 0x6400 spriteram location */ |
| 627 | 667 | AM_RANGE(0x1800, 0x1bff) AM_READWRITE(MRA8_RAM, dkong_videoram_w) AM_BASE(&videoram) /* 0x7400 */ |
| 628 | | AM_RANGE(0x1C00, 0x1f7f) AM_RAM /* 0x6000 */ |
| 629 | | AM_RANGE(0x1f80, 0x1f8f) AM_READWRITE(dma8257_0_r, dma8257_0_w) /* P8257 control registers */ |
| 668 | AM_RANGE(0x1C00, 0x1f7f) AM_RAM /* 0x6000 */ |
| 669 | AM_RANGE(0x1f80, 0x1f8f) AM_READWRITE(dma8257_0_r, dma8257_0_w) /* P8257 control registers */ |
| 630 | 670 | /* 0x6800 not remapped */ |
| 631 | 671 | AM_RANGE(0x2000, 0x2fff) AM_ROM |
| 632 | 672 | AM_RANGE(0x3000, 0x3fff) AM_READWRITE(hunchbkd_mirror_r, hunchbkd_mirror_w) |
| r1418 | r1419 | |
| 639 | 679 | static ADDRESS_MAP_START( hunchbkd_io_map, ADDRESS_SPACE_IO, 8 ) |
| 640 | 680 | AM_RANGE(0x00, 0x00) AM_READ(hunchbkd_port0_r) |
| 641 | 681 | AM_RANGE(0x01, 0x01) AM_READ(hunchbkd_port1_r) |
| 642 | | AM_RANGE(S2650_SENSE_PORT, S2650_SENSE_PORT) AM_READ(input_port_4_r) |
| 682 | AM_RANGE(S2650_SENSE_PORT, S2650_SENSE_PORT) AM_READ_PORT("SENSE") |
| 643 | 683 | AM_RANGE(S2650_DATA_PORT, S2650_DATA_PORT) AM_WRITE(hunchbkd_data_w) |
| 644 | 684 | ADDRESS_MAP_END |
| 645 | 685 | |
| 646 | 686 | static ADDRESS_MAP_START( herbiedk_io_map, ADDRESS_SPACE_IO, 8 ) |
| 647 | 687 | AM_RANGE(0x01, 0x01) AM_READ(herbiedk_port1_r) |
| 648 | | AM_RANGE(S2650_SENSE_PORT, S2650_SENSE_PORT) AM_READ(input_port_4_r) |
| 688 | AM_RANGE(S2650_SENSE_PORT, S2650_SENSE_PORT) AM_READ_PORT("SENSE") |
| 649 | 689 | AM_RANGE(S2650_DATA_PORT, S2650_DATA_PORT) AM_WRITE(hunchbkd_data_w) |
| 650 | 690 | ADDRESS_MAP_END |
| 651 | 691 | |
| 652 | 692 | static ADDRESS_MAP_START( spclforc_io_map, ADDRESS_SPACE_IO, 8 ) |
| 653 | 693 | AM_RANGE(0x00, 0x00) AM_READ(spclforc_port0_r) |
| 654 | | AM_RANGE(S2650_SENSE_PORT, S2650_SENSE_PORT) AM_READ(input_port_4_r) |
| 694 | AM_RANGE(S2650_SENSE_PORT, S2650_SENSE_PORT) AM_READ_PORT("SENSE") |
| 655 | 695 | AM_RANGE(S2650_DATA_PORT, S2650_DATA_PORT) AM_WRITE(hunchbkd_data_w) |
| 656 | 696 | ADDRESS_MAP_END |
| 657 | 697 | |
| 658 | 698 | static ADDRESS_MAP_START( eightact_io_map, ADDRESS_SPACE_IO, 8 ) |
| 659 | 699 | AM_RANGE(0x01, 0x01) AM_READ(eightact_port1_r) |
| 660 | | AM_RANGE(S2650_SENSE_PORT, S2650_SENSE_PORT) AM_READ(input_port_4_r) |
| 700 | AM_RANGE(S2650_SENSE_PORT, S2650_SENSE_PORT)AM_READ_PORT("SENSE") |
| 661 | 701 | AM_RANGE(S2650_DATA_PORT, S2650_DATA_PORT) AM_WRITE(hunchbkd_data_w) |
| 662 | 702 | ADDRESS_MAP_END |
| 663 | 703 | |
| 664 | 704 | static ADDRESS_MAP_START( shootgal_io_map, ADDRESS_SPACE_IO, 8 ) |
| 665 | 705 | AM_RANGE(0x00, 0x00) AM_READ(shootgal_port0_r) |
| 666 | | AM_RANGE(S2650_SENSE_PORT, S2650_SENSE_PORT) AM_READ(input_port_4_r) |
| 706 | AM_RANGE(S2650_SENSE_PORT, S2650_SENSE_PORT) AM_READ_PORT("SENSE") |
| 667 | 707 | AM_RANGE(S2650_DATA_PORT, S2650_DATA_PORT) AM_WRITE(hunchbkd_data_w) |
| 668 | 708 | ADDRESS_MAP_END |
| 669 | 709 | |
| r1418 | r1419 | |
| 674 | 714 | AM_RANGE(0x6a80, 0x6cff) AM_RAM /* 0x6b00: sprite set 2 */ |
| 675 | 715 | AM_RANGE(0x6d00, 0x6fff) AM_RAM /* ???? */ |
| 676 | 716 | AM_RANGE(0x7400, 0x77ff) AM_READWRITE(MRA8_RAM, dkong_videoram_w) AM_BASE(&videoram) |
| 677 | | AM_RANGE(0x7c00, 0x7c00) AM_READWRITE(input_port_0_r, soundlatch_w) |
| 678 | | AM_RANGE(0x7c80, 0x7c80) AM_READWRITE(input_port_1_r, soundlatch2_w) |
| 679 | | AM_RANGE(0x7d00, 0x7d00) AM_READWRITE(input_port_2_r, soundlatch3_w) |
| 680 | | AM_RANGE(0x7d80, 0x7d80) AM_READWRITE(input_port_3_r, dkong3_2a03_reset_w) |
| 717 | AM_RANGE(0x7c00, 0x7c00) AM_READ_PORT("IN0") AM_WRITE(soundlatch_w) |
| 718 | AM_RANGE(0x7c80, 0x7c80) AM_READ_PORT("IN1") AM_WRITE(soundlatch2_w) |
| 719 | AM_RANGE(0x7d00, 0x7d00) AM_READ_PORT("DSW0") AM_WRITE(soundlatch3_w) |
| 720 | AM_RANGE(0x7d80, 0x7d80) AM_READ_PORT("DSW1") AM_WRITE(dkong3_2a03_reset_w) |
| 721 | AM_RANGE(0x7e80, 0x7e80) AM_WRITE(dkong3_coin_counter_w) |
| 681 | 722 | AM_RANGE(0x7e81, 0x7e81) AM_WRITE(dkong3_gfxbank_w) |
| 682 | 723 | AM_RANGE(0x7e82, 0x7e82) AM_WRITE(dkong_flipscreen_w) |
| 724 | AM_RANGE(0x7e83, 0x7e83) AM_WRITE(dkong_spritebank_w) /* 2 PSL Signal */ |
| 683 | 725 | AM_RANGE(0x7e84, 0x7e84) AM_WRITE(interrupt_enable_w) |
| 684 | 726 | AM_RANGE(0x7e85, 0x7e85) AM_NOP /* ==> DMA Chip */ |
| 685 | 727 | AM_RANGE(0x7e86, 0x7e87) AM_WRITE(dkong_palettebank_w) |
| 686 | | AM_RANGE(0x8000, 0x9fff) AM_ROM /* DK3 and bootleg DKjr only */ |
| 728 | AM_RANGE(0x8000, 0x9fff) AM_ROM /* DK3 and bootleg DKjr only */ |
| 687 | 729 | ADDRESS_MAP_END |
| 688 | 730 | |
| 689 | 731 | static ADDRESS_MAP_START( dkong3_io_map, ADDRESS_SPACE_IO, 8 ) |
| r1418 | r1419 | |
| 694 | 736 | static ADDRESS_MAP_START( dkongjr_map, ADDRESS_SPACE_PROGRAM, 8 ) |
| 695 | 737 | AM_RANGE(0x0000, 0x5fff) AM_ROM |
| 696 | 738 | AM_RANGE(0x6000, 0x6bff) AM_RAM |
| 697 | | AM_RANGE(0x6c00, 0x6fff) AM_RAM /* DK3 bootleg only */ |
| 739 | AM_RANGE(0x6c00, 0x6fff) AM_RAM /* DK3 bootleg only */ |
| 698 | 740 | AM_RANGE(0x7000, 0x73ff) AM_RAM AM_BASE(&spriteram) AM_SIZE(&spriteram_size) /* sprite set 1 */ |
| 699 | 741 | AM_RANGE(0x7400, 0x77ff) AM_READWRITE(MRA8_RAM, dkong_videoram_w) AM_BASE(&videoram) |
| 700 | 742 | AM_RANGE(0x7800, 0x780f) AM_READWRITE(dma8257_0_r, dma8257_0_w) /* P8257 control registers */ |
| 701 | | AM_RANGE(0x7c00, 0x7c00) AM_READWRITE(input_port_0_r, dkongjr_sh_tuneselect_w) |
| 702 | | AM_RANGE(0x7c80, 0x7c80) AM_READWRITE(input_port_1_r, dkongjr_gfxbank_w) |
| 743 | AM_RANGE(0x7c00, 0x7c00) AM_READ_PORT("IN0") AM_WRITE(dkongjr_sh_tuneselect_w) |
| 744 | AM_RANGE(0x7c80, 0x7c80) AM_READ_PORT("IN1") AM_WRITE(dkongjr_gfxbank_w) |
| 703 | 745 | AM_RANGE(0x7c81, 0x7c81) AM_WRITE(dkongjr_sh_test6_w) |
| 704 | | AM_RANGE(0x7d00, 0x7d00) AM_READ(dkong_in2_r) /* IN2/DSW2 */ |
| 705 | | AM_RANGE(0x7d00, 0x7d07) AM_WRITE(dkongjr_snd_w1) /* Sound addrs */ |
| 706 | | AM_RANGE(0x7d80, 0x7d80) AM_READ(input_port_3_r) /* DSW1 */ |
| 707 | | AM_RANGE(0x7d80, 0x7d81) AM_WRITE(dkongjr_snd_w2) /* Sound addrs */ |
| 746 | AM_RANGE(0x7d00, 0x7d00) AM_READ(dkong_in2_r) /* IN2 */ |
| 747 | AM_RANGE(0x7d80, 0x7d80) AM_READ_PORT("DSW0") /* DSW0 */ |
| 748 | AM_RANGE(0x7d00, 0x7d07) AM_WRITE(dkongjr_snd_w1) /* Sound addrs */ |
| 749 | AM_RANGE(0x7d80, 0x7d81) AM_WRITE(dkongjr_snd_w2) /* Sound addrs */ |
| 708 | 750 | AM_RANGE(0x7d82, 0x7d82) AM_WRITE(dkong_flipscreen_w) |
| 709 | 751 | AM_RANGE(0x7d83, 0x7d83) AM_WRITE(dkong_spritebank_w) /* 2 PSL Signal */ |
| 710 | 752 | AM_RANGE(0x7d84, 0x7d84) AM_WRITE(interrupt_enable_w) |
| 711 | 753 | AM_RANGE(0x7d85, 0x7d85) AM_WRITE(p8257_drq_w) /* P8257 ==> /DRQ0 /DRQ1 */ |
| 712 | 754 | AM_RANGE(0x7d86, 0x7d87) AM_WRITE(dkong_palettebank_w) |
| 713 | | AM_RANGE(0x8000, 0x9fff) AM_ROM /* bootleg DKjr only */ |
| 714 | | AM_RANGE(0xb000, 0xbfff) AM_ROM /* pestplce only */ |
| 715 | | AM_RANGE(0xd000, 0xdfff) AM_ROM /* DK3 bootleg only */ |
| 755 | AM_RANGE(0x8000, 0x9fff) AM_ROM /* bootleg DKjr only */ |
| 756 | AM_RANGE(0xb000, 0xbfff) AM_ROM /* pestplce only */ |
| 757 | AM_RANGE(0xd000, 0xdfff) AM_ROM /* DK3 bootleg only */ |
| 716 | 758 | ADDRESS_MAP_END |
| 717 | 759 | |
| 718 | 760 | |
| r1418 | r1419 | |
| 800 | 842 | * It should be a IPT_UNKNOWN. In fact, it will reset the game. |
| 801 | 843 | */ |
| 802 | 844 | PORT_START_TAG("IN2") /* IN2 */ |
| 803 | | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME(DEF_STR( Service_Mode )) PORT_CODE(KEYCODE_F2) |
| 804 | | PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN ) /* connection not labeled in schematics */ |
| 805 | | /* This may freeze or reset dkong */ |
| 845 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN ) /* connection not labeled in schematics - reset */ |
| 846 | PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN ) /* connection not labeled in schematics - freeze or reset */ |
| 806 | 847 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 ) |
| 807 | 848 | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_START2 ) |
| 808 | | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN ) /* not connected - held to high */ |
| 849 | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_SERVICE ) /* not connected - held to high - used as service */ |
| 809 | 850 | PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN ) /* not connected - held to high */ |
| 810 | 851 | PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_SPECIAL ) /* status from sound cpu */ |
| 811 | 852 | PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_COIN1 ) |
| r1418 | r1419 | |
| 860 | 901 | static INPUT_PORTS_START( radarscp ) |
| 861 | 902 | PORT_INCLUDE( radarscp_in0_2 ) |
| 862 | 903 | PORT_INCLUDE( radarscp_in1_2 ) |
| 863 | | /* Bit 0x80 is (SERVICE OR COIN) ! |
| 864 | | * Bit 0x01 is going to the connector and is labeled test switch |
| 865 | | * It should be a IPT_UNUSED. In fact, it will reset the game. |
| 866 | | */ |
| 904 | |
| 867 | 905 | PORT_INCLUDE( dkong_in2 ) |
| 868 | | PORT_MODIFY("IN2") |
| 869 | | PORT_DIPNAME( 0x10, 0x10, "TP3" ) |
| 870 | | PORT_DIPSETTING( 0x00, "Gnd" ) |
| 871 | | PORT_DIPSETTING( 0x10, "Open" ) |
| 872 | | PORT_DIPNAME( 0x20, 0x20, "TP5" ) |
| 873 | | PORT_DIPSETTING( 0x00, "Gnd" ) |
| 874 | | PORT_DIPSETTING( 0x20, "Open" ) |
| 875 | 906 | |
| 876 | 907 | PORT_INCLUDE( dkong_dsw0 ) |
| 877 | 908 | |
| r1418 | r1419 | |
| 1007 | 1038 | PORT_DIPSETTING( 0x08, "40000" ) |
| 1008 | 1039 | PORT_DIPSETTING( 0x0c, "80000" ) |
| 1009 | 1040 | |
| 1010 | | PORT_START /* Sense */ |
| 1041 | PORT_START_TAG("SENSE") /* Sense */ |
| 1011 | 1042 | PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_VBLANK ) |
| 1012 | 1043 | |
| 1013 | 1044 | PORT_INCLUDE( dkong_config ) |
| r1418 | r1419 | |
| 1022 | 1053 | |
| 1023 | 1054 | PORT_INCLUDE( dkong_in2 ) |
| 1024 | 1055 | PORT_MODIFY("IN2") |
| 1025 | | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN ) |
| 1026 | | PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN ) |
| 1056 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("Start 1 / P1 Button 1") PORT_PLAYER(1) |
| 1057 | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_NAME("Start 2 / P1 Button 2") PORT_PLAYER(1) |
| 1058 | //PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN ) |
| 1059 | //PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN ) |
| 1027 | 1060 | |
| 1028 | 1061 | PORT_START_TAG("DSW0") /* DSW0 */ |
| 1029 | 1062 | PORT_DIPNAME( 0x01, 0x00, "1" ) |
| r1418 | r1419 | |
| 1171 | 1204 | PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN ) |
| 1172 | 1205 | |
| 1173 | 1206 | PORT_INCLUDE( dkong_in2 ) |
| 1174 | | PORT_MODIFY("IN2") |
| 1175 | | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN ) |
| 1176 | 1207 | |
| 1177 | 1208 | PORT_START_TAG("DSW0") /* DSW0 */ |
| 1178 | 1209 | PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) ) |
| r1418 | r1419 | |
| 1288 | 1319 | PORT_INCLUDE( dkong_in1_4 ) |
| 1289 | 1320 | |
| 1290 | 1321 | PORT_INCLUDE( dkong_in2 ) |
| 1291 | | PORT_MODIFY("IN2") |
| 1292 | | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN ) |
| 1293 | 1322 | |
| 1294 | 1323 | PORT_START_TAG("DSW0") /* DSW0 */ |
| 1295 | 1324 | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Demo_Sounds ) ) |
| r1418 | r1419 | |
| 1343 | 1372 | PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN ) |
| 1344 | 1373 | |
| 1345 | 1374 | PORT_INCLUDE( dkong_in2 ) |
| 1346 | | PORT_MODIFY("IN2") |
| 1347 | | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN ) |
| 1348 | 1375 | |
| 1349 | 1376 | PORT_START_TAG("DSW0") /* DSW0 */ |
| 1350 | 1377 | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Demo_Sounds ) ) |
| r1418 | r1419 | |
| 1387 | 1414 | * |
| 1388 | 1415 | *************************************/ |
| 1389 | 1416 | |
| 1390 | | static const gfx_layout charlayout = |
| 1391 | | { |
| 1392 | | 8,8, /* 8*8 characters */ |
| 1393 | | RGN_FRAC(1,2), |
| 1394 | | 2, /* 2 bits per pixel */ |
| 1395 | | { RGN_FRAC(1,2), RGN_FRAC(0,2) }, /* the two bitplanes are separated */ |
| 1396 | | { 0, 1, 2, 3, 4, 5, 6, 7 }, /* pretty straightforward layout */ |
| 1397 | | { 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8 }, |
| 1398 | | 8*8 /* every char takes 8 consecutive bytes */ |
| 1399 | | }; |
| 1400 | | |
| 1401 | 1417 | static const gfx_layout spritelayout = |
| 1402 | 1418 | { |
| 1403 | | 16,16, /* 16*16 sprites */ |
| 1404 | | RGN_FRAC(1,4), /* 128 sprites */ |
| 1405 | | 2, /* 2 bits per pixel */ |
| 1406 | | { RGN_FRAC(1,2), RGN_FRAC(0,2) }, /* the two bitplanes are separated */ |
| 1407 | | { 0, 1, 2, 3, 4, 5, 6, 7, /* the two halves of the sprite are separated */ |
| 1408 | | RGN_FRAC(1,4)+0, RGN_FRAC(1,4)+1, RGN_FRAC(1,4)+2, RGN_FRAC(1,4)+3, RGN_FRAC(1,4)+4, RGN_FRAC(1,4)+5, RGN_FRAC(1,4)+6, RGN_FRAC(1,4)+7 }, |
| 1409 | | { 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8, |
| 1410 | | 8*8, 9*8, 10*8, 11*8, 12*8, 13*8, 14*8, 15*8 }, |
| 1411 | | 16*8 /* every sprite takes 16 consecutive bytes */ |
| 1419 | 16,16, /* 16*16 sprites */ |
| 1420 | RGN_FRAC(1,4), /* 128 sprites */ |
| 1421 | 2, /* 2 bits per pixel */ |
| 1422 | { RGN_FRAC(1,2), RGN_FRAC(0,2) }, /* the two bitplanes are separated */ |
| 1423 | { STEP8(0,1), STEP8(RGN_FRAC(1,4),1) }, /* the two halves of the sprite are separated */ |
| 1424 | { STEP16(0,8) }, |
| 1425 | 16*8 /* every sprite takes 16 consecutive bytes */ |
| 1412 | 1426 | }; |
| 1413 | 1427 | |
| 1414 | 1428 | static const gfx_layout pestplce_spritelayout = |
| 1415 | 1429 | { |
| 1416 | | 16,16, /* 16*16 sprites */ |
| 1417 | | 256, /* 256 sprites */ |
| 1418 | | 2, /* 2 bits per pixel */ |
| 1419 | | { 0, 256*16*16 }, /* the two bitplanes are separated */ |
| 1420 | | { 0, 1, 2, 3, 4, 5, 6, 7, /* the two halves of the sprite are separated */ |
| 1421 | | 256*16*8+0, 256*16*8+1, 256*16*8+2, 256*16*8+3, 256*16*8+4, 256*16*8+5, 256*16*8+6, 256*16*8+7 }, |
| 1422 | | { 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8, |
| 1423 | | 8*8, 9*8, 10*8, 11*8, 12*8, 13*8, 14*8, 15*8 }, |
| 1424 | | 16*8 /* every sprite takes 16 consecutive bytes */ |
| 1430 | 16,16, /* 16*16 sprites */ |
| 1431 | RGN_FRAC(1,2), /* 256 sprites */ |
| 1432 | 2, /* 2 bits per pixel */ |
| 1433 | { RGN_FRAC(1,2), RGN_FRAC(0,2) }, /* the two bitplanes are separated */ |
| 1434 | { STEP8(0,1), STEP8(RGN_FRAC(1,4),1) }, /* the two halves of the sprite are separated */ |
| 1435 | { STEP16(0,8) }, |
| 1436 | 16*8 /* every sprite takes 16 consecutive bytes */ |
| 1425 | 1437 | }; |
| 1426 | 1438 | |
| 1427 | 1439 | static GFXDECODE_START( dkong ) |
| 1428 | | GFXDECODE_ENTRY( REGION_GFX1, 0x0000, charlayout, 0, 64 ) |
| 1429 | | GFXDECODE_ENTRY( REGION_GFX2, 0x0000, spritelayout, 0, 64 ) |
| 1440 | GFXDECODE_ENTRY( REGION_GFX1, 0x0000, gfx_8x8x2_planar, 0, 64 ) |
| 1441 | GFXDECODE_ENTRY( REGION_GFX2, 0x0000, spritelayout, 0, 64 ) |
| 1430 | 1442 | GFXDECODE_END |
| 1431 | 1443 | |
| 1432 | 1444 | static GFXDECODE_START( pestplce ) |
| 1433 | | GFXDECODE_ENTRY( REGION_GFX1, 0x0000, charlayout, 0, 64 ) |
| 1434 | | GFXDECODE_ENTRY( REGION_GFX2, 0x0000, pestplce_spritelayout, 0, 64 ) |
| 1445 | GFXDECODE_ENTRY( REGION_GFX1, 0x0000, gfx_8x8x2_planar, 0, 64 ) |
| 1446 | GFXDECODE_ENTRY( REGION_GFX2, 0x0000, pestplce_spritelayout, 0, 64 ) |
| 1435 | 1447 | GFXDECODE_END |
| 1436 | 1448 | |
| 1437 | | /************************************* |
| 1438 | | * |
| 1439 | | * Sound interfaces |
| 1440 | | * |
| 1441 | | *************************************/ |
| 1442 | 1449 | |
| 1443 | | |
| 1444 | 1450 | /************************************* |
| 1445 | 1451 | * |
| 1446 | 1452 | * Machine driver |
| r1418 | r1419 | |
| 1527 | 1533 | |
| 1528 | 1534 | MACHINE_DRIVER_END |
| 1529 | 1535 | |
| 1530 | | static MACHINE_DRIVER_START( epos ) |
| 1531 | | |
| 1532 | | MDRV_IMPORT_FROM(dkong2b) |
| 1533 | | |
| 1534 | | MDRV_CPU_MODIFY("main") |
| 1535 | | MDRV_CPU_IO_MAP(epos_readport,0) |
| 1536 | | |
| 1537 | | MACHINE_DRIVER_END |
| 1538 | | |
| 1539 | 1536 | static MACHINE_DRIVER_START( dkong3 ) |
| 1540 | 1537 | |
| 1541 | 1538 | /* driver data */ |
| 1542 | 1539 | MDRV_DRIVER_DATA(dkong_state) |
| 1543 | 1540 | |
| 1544 | 1541 | /* basic machine hardware */ |
| 1545 | | MDRV_CPU_ADD(Z80,8000000/2) /* 4 MHz */ |
| 1542 | MDRV_CPU_ADD_TAG("main", Z80, 8000000/2) /* 4 MHz */ |
| 1546 | 1543 | MDRV_CPU_PROGRAM_MAP(dkong3_map, 0) |
| 1547 | 1544 | MDRV_CPU_IO_MAP(0, dkong3_io_map) |
| 1548 | 1545 | MDRV_CPU_VBLANK_INT(nmi_line_pulse,1) |
| r1418 | r1419 | |
| 1628 | 1625 | MDRV_CPU_IO_MAP(shootgal_io_map, 0) |
| 1629 | 1626 | MACHINE_DRIVER_END |
| 1630 | 1627 | |
| 1631 | | |
| 1632 | 1628 | static MACHINE_DRIVER_START( dkong3b ) |
| 1633 | 1629 | |
| 1634 | 1630 | /* basic machine hardware */ |
| r1418 | r1419 | |
| 1636 | 1632 | MDRV_PALETTE_INIT(dkong3) |
| 1637 | 1633 | MACHINE_DRIVER_END |
| 1638 | 1634 | |
| 1639 | | |
| 1640 | 1635 | static MACHINE_DRIVER_START( strtheat ) |
| 1641 | 1636 | /* basic machine hardware */ |
| 1642 | | MDRV_IMPORT_FROM(epos) |
| 1637 | MDRV_IMPORT_FROM(dkong2b) |
| 1638 | |
| 1639 | MDRV_CPU_MODIFY("main") |
| 1640 | MDRV_CPU_IO_MAP(epos_readport,0) |
| 1641 | |
| 1643 | 1642 | MDRV_MACHINE_RESET(strtheat) |
| 1644 | 1643 | MACHINE_DRIVER_END |
| 1645 | 1644 | |
| 1646 | 1645 | static MACHINE_DRIVER_START( drakton ) |
| 1647 | 1646 | /* basic machine hardware */ |
| 1648 | | MDRV_IMPORT_FROM(epos) |
| 1647 | MDRV_IMPORT_FROM(dkong2b) |
| 1648 | |
| 1649 | MDRV_CPU_MODIFY("main") |
| 1650 | MDRV_CPU_IO_MAP(epos_readport,0) |
| 1651 | |
| 1649 | 1652 | MDRV_MACHINE_RESET(drakton) |
| 1650 | 1653 | MACHINE_DRIVER_END |
| 1651 | 1654 | |
| 1655 | static MACHINE_DRIVER_START( drktnjr ) |
| 1656 | /* basic machine hardware */ |
| 1657 | MDRV_IMPORT_FROM(dkongjr) |
| 1652 | 1658 | |
| 1659 | MDRV_CPU_MODIFY("main") |
| 1660 | MDRV_CPU_IO_MAP(epos_readport,0) |
| 1661 | |
| 1662 | MDRV_MACHINE_RESET(drakton) |
| 1663 | MACHINE_DRIVER_END |
| 1664 | |
| 1653 | 1665 | /************************************* |
| 1654 | 1666 | * |
| 1655 | 1667 | * ROM definitions |
| r1418 | r1419 | |
| 1664 | 1676 | ROM_LOAD( "trs2c5kc", 0x3000, 0x1000, CRC(1f0101f7) SHA1(b9f988847fdefa64dfeae06c2244215cb0d64dbe) ) |
| 1665 | 1677 | /* space for diagnostic ROM */ |
| 1666 | 1678 | |
| 1667 | | ROM_REGION( 0x1000, REGION_CPU2, 0 ) /* sound */ |
| 1679 | ROM_REGION( 0x1800, REGION_CPU2, 0 ) /* sound */ |
| 1668 | 1680 | ROM_LOAD( "trs2s3i", 0x0000, 0x0800, CRC(78034f14) SHA1(548b44ac69f39df6687da1c0f60968009b1e0767) ) |
| 1681 | ROM_RELOAD( 0x0800, 0x0800 ) |
| 1682 | ROM_FILL( 0x1000, 0x0800, 0xFF ) |
| 1669 | 1683 | /* socket 3J is empty */ |
| 1670 | 1684 | |
| 1671 | 1685 | ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE ) |
| r1418 | r1419 | |
| 1695 | 1709 | ROM_LOAD( "trs01_5k", 0x3000, 0x1000, CRC(1f0101f7) SHA1(b9f988847fdefa64dfeae06c2244215cb0d64dbe) ) |
| 1696 | 1710 | /* space for diagnostic ROM */ |
| 1697 | 1711 | |
| 1698 | | //FIXME other drivers need to be updated |
| 1699 | | ROM_REGION( 0x1000, REGION_CPU2, 0 ) /* sound */ |
| 1700 | | ROM_LOAD( "trs015aa.bin", 0x0000, 0x0800, CRC(5166554c) SHA1(00bf501ca448929f6187598da6fdbc1ea488745a) ) |
| 1712 | ROM_REGION( 0x1800, REGION_CPU2, 0 ) /* sound */ |
| 1713 | ROM_LOAD( "trs015aa.bin", 0x0000, 0x0800, CRC(5166554c) SHA1(00bf501ca448929f6187598da6fdbc1ea488745a) ) |
| 1714 | ROM_RELOAD( 0x0800, 0x0800 ) |
| 1715 | ROM_FILL( 0x1000, 0x0800, 0xFF ) |
| 1701 | 1716 | |
| 1702 | 1717 | ROM_REGION( 0x0800, REGION_SOUND1, 0 ) /* speech rom */ |
| 1703 | 1718 | ROM_LOAD( "trs014ha.bin", 0x0000, 0x0800, CRC(d1f1b48c) SHA1(ee5584368d2e9f7bde271f5004585b53f5ff5c3f) ) // speech rom |
| r1418 | r1419 | |
| 1736 | 1751 | ROM_LOAD( "c_5at_g.bin", 0x3000, 0x1000, CRC(b9005ac0) SHA1(3fe3599f6fa7c496f782053ddf7bacb453d197c4) ) |
| 1737 | 1752 | /* space for diagnostic ROM */ |
| 1738 | 1753 | |
| 1739 | | ROM_REGION( 0x1000, REGION_CPU2, 0 ) /* sound */ |
| 1754 | ROM_REGION( 0x1800, REGION_CPU2, 0 ) /* sound */ |
| 1740 | 1755 | ROM_LOAD( "s_3i_b.bin", 0x0000, 0x0800, CRC(45a4ed06) SHA1(144d24464c1f9f01894eb12f846952290e6e32ef) ) |
| 1741 | | ROM_LOAD( "s_3j_b.bin", 0x0800, 0x0800, CRC(4743fe92) SHA1(6c82b57637c0212a580591397e6a5a1718f19fd2) ) |
| 1756 | ROM_RELOAD( 0x0800, 0x0800 ) |
| 1757 | ROM_LOAD( "s_3j_b.bin", 0x1000, 0x0800, CRC(4743fe92) SHA1(6c82b57637c0212a580591397e6a5a1718f19fd2) ) |
| 1742 | 1758 | |
| 1743 | 1759 | ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE ) |
| 1744 | 1760 | ROM_LOAD( "v_5h_b.bin", 0x0000, 0x0800, CRC(12c8c95d) SHA1(a57ff5a231c45252a63b354137c920a1379b70a3) ) |
| r1418 | r1419 | |
| 1764 | 1780 | ROM_LOAD( "tkg3c.5k", 0x3000, 0x1000, CRC(553b89bb) SHA1(61611df9e2748fdcd31821038dcc0e16dc933873) ) |
| 1765 | 1781 | /* space for diagnostic ROM */ |
| 1766 | 1782 | |
| 1767 | | ROM_REGION( 0x1000, REGION_CPU2, 0 ) /* sound */ |
| 1783 | ROM_REGION( 0x1800, REGION_CPU2, 0 ) /* sound */ |
| 1768 | 1784 | ROM_LOAD( "s_3i_b.bin", 0x0000, 0x0800, CRC(45a4ed06) SHA1(144d24464c1f9f01894eb12f846952290e6e32ef) ) |
| 1769 | | ROM_LOAD( "s_3j_b.bin", 0x0800, 0x0800, CRC(4743fe92) SHA1(6c82b57637c0212a580591397e6a5a1718f19fd2) ) |
| 1785 | ROM_RELOAD( 0x0800, 0x0800 ) |
| 1786 | ROM_LOAD( "s_3j_b.bin", 0x1000, 0x0800, CRC(4743fe92) SHA1(6c82b57637c0212a580591397e6a5a1718f19fd2) ) |
| 1770 | 1787 | |
| 1771 | 1788 | ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE ) |
| 1772 | 1789 | ROM_LOAD( "v_5h_b.bin", 0x0000, 0x0800, CRC(12c8c95d) SHA1(a57ff5a231c45252a63b354137c920a1379b70a3) ) |
| r1418 | r1419 | |
| 1791 | 1808 | ROM_LOAD( "5h.cpu", 0x2000, 0x1000, CRC(ff31ac89) SHA1(9626a9e6df0d1b0ff273dbbe986f670200f91f75) ) |
| 1792 | 1809 | ROM_LOAD( "c_5k_b.bin", 0x3000, 0x1000, CRC(394d6007) SHA1(57e5ae76ef5d4a2fa9cd860b6c6be03b6d5ed5ba) ) |
| 1793 | 1810 | |
| 1794 | | ROM_REGION( 0x1000, REGION_CPU2, 0 ) /* sound */ |
| 1811 | ROM_REGION( 0x1800, REGION_CPU2, 0 ) /* sound */ |
| 1795 | 1812 | ROM_LOAD( "s_3i_b.bin", 0x0000, 0x0800, CRC(45a4ed06) SHA1(144d24464c1f9f01894eb12f846952290e6e32ef) ) |
| 1796 | | ROM_LOAD( "s_3j_b.bin", 0x0800, 0x0800, CRC(4743fe92) SHA1(6c82b57637c0212a580591397e6a5a1718f19fd2) ) |
| 1813 | ROM_RELOAD( 0x0800, 0x0800 ) |
| 1814 | ROM_LOAD( "s_3j_b.bin", 0x1000, 0x0800, CRC(4743fe92) SHA1(6c82b57637c0212a580591397e6a5a1718f19fd2) ) |
| 1797 | 1815 | |
| 1798 | 1816 | ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE ) |
| 1799 | 1817 | ROM_LOAD( "v_5h_b.bin", 0x0000, 0x0800, CRC(12c8c95d) SHA1(a57ff5a231c45252a63b354137c920a1379b70a3) ) |
| r1418 | r1419 | |
| 1818 | 1836 | ROM_LOAD( "c_5h_b.bin", 0x2000, 0x1000, CRC(1d28895d) SHA1(63792cab215fc2a7b0e8ee61d8115045571e9d42) ) |
| 1819 | 1837 | ROM_LOAD( "c_5k_b.bin", 0x3000, 0x1000, CRC(394d6007) SHA1(57e5ae76ef5d4a2fa9cd860b6c6be03b6d5ed5ba) ) |
| 1820 | 1838 | |
| 1821 | | ROM_REGION( 0x1000, REGION_CPU2, 0 ) /* sound */ |
| 1839 | ROM_REGION( 0x1800, REGION_CPU2, 0 ) /* sound */ |
| 1822 | 1840 | ROM_LOAD( "s_3i_b.bin", 0x0000, 0x0800, CRC(45a4ed06) SHA1(144d24464c1f9f01894eb12f846952290e6e32ef) ) |
| 1823 | | ROM_LOAD( "s_3j_b.bin", 0x0800, 0x0800, CRC(4743fe92) SHA1(6c82b57637c0212a580591397e6a5a1718f19fd2) ) |
| 1841 | ROM_RELOAD( 0x0800, 0x0800 ) |
| 1842 | ROM_LOAD( "s_3j_b.bin", 0x1000, 0x0800, CRC(4743fe92) SHA1(6c82b57637c0212a580591397e6a5a1718f19fd2) ) |
| 1824 | 1843 | |
| 1825 | 1844 | ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE ) |
| 1826 | 1845 | ROM_LOAD( "v_5h_b.bin", 0x0000, 0x0800, CRC(12c8c95d) SHA1(a57ff5a231c45252a63b354137c920a1379b70a3) ) |
| r1418 | r1419 | |
| 1845 | 1864 | ROM_LOAD( "c_5h_b.bin", 0x2000, 0x1000, CRC(1d28895d) SHA1(63792cab215fc2a7b0e8ee61d8115045571e9d42) ) |
| 1846 | 1865 | ROM_LOAD( "5k.bin", 0x3000, 0x1000, CRC(7961599c) SHA1(698a4c2b8d67840dca7526efb1ac0d3370a86925) ) |
| 1847 | 1866 | |
| 1848 | | ROM_REGION( 0x1000, REGION_CPU2, 0 ) /* sound */ |
| 1867 | ROM_REGION( 0x1800, REGION_CPU2, 0 ) /* sound */ |
| 1849 | 1868 | ROM_LOAD( "s_3i_b.bin", 0x0000, 0x0800, CRC(45a4ed06) SHA1(144d24464c1f9f01894eb12f846952290e6e32ef) ) |
| 1850 | | ROM_LOAD( "s_3j_b.bin", 0x0800, 0x0800, CRC(4743fe92) SHA1(6c82b57637c0212a580591397e6a5a1718f19fd2) ) |
| 1869 | ROM_RELOAD( 0x0800, 0x0800 ) |
| 1870 | ROM_LOAD( "s_3j_b.bin", 0x1000, 0x0800, CRC(4743fe92) SHA1(6c82b57637c0212a580591397e6a5a1718f19fd2) ) |
| 1851 | 1871 | |
| 1852 | 1872 | ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE ) |
| 1853 | 1873 | ROM_LOAD( "v_5h_b.bin", 0x0000, 0x0800, CRC(12c8c95d) SHA1(a57ff5a231c45252a63b354137c920a1379b70a3) ) |
| r1418 | r1419 | |
| 2160 | 2180 | ROM_LOAD( "hb.5b", 0x4000, 0x1000, CRC(4cde80f3) SHA1(3d93d8e454b2c517971a99c5700b6e943f975a11) ) |
| 2161 | 2181 | ROM_LOAD( "hb.5a", 0x6000, 0x1000, CRC(d60ef5b2) SHA1(b2b5528cb837d58ef632d7670820ad8b07e5af1b) ) |
| 2162 | 2182 | |
| 2163 | | ROM_REGION( 0x1000, REGION_CPU2, 0 ) /* sound */ |
| 2183 | ROM_REGION( 0x1800, REGION_CPU2, 0 ) /* sound */ |
| 2164 | 2184 | ROM_LOAD( "hb.3h", 0x0000, 0x0800, CRC(a3c240d4) SHA1(8cb6057ca617909c73b09988ba65a1176696cb5d) ) |
| 2185 | ROM_RELOAD( 0x0800, 0x0800 ) |
| 2186 | ROM_FILL( 0x1000, 0x0800, 0xFF ) |
| 2165 | 2187 | |
| 2166 | 2188 | ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE ) |
| 2167 | 2189 | ROM_LOAD( "hb.3n", 0x0000, 0x0800, CRC(443ed5ac) SHA1(febed689e03abf25452aab6eff85ea01883e929c) ) |
| r1418 | r1419 | |
| 2173 | 2195 | ROM_LOAD( "hb.7e", 0x1000, 0x0800, CRC(f845e8ca) SHA1(4bedbbc74a637f6d60b3b2dbf41efc7390ee9091) ) |
| 2174 | 2196 | ROM_LOAD( "hb.7f", 0x1800, 0x0800, CRC(52d20fea) SHA1(e3825f75f312d1e256f78a89098e328e8f307577) ) |
| 2175 | 2197 | |
| 2176 | | ROM_REGION( 0x0500, REGION_PROMS, 0 ) |
| 2198 | ROM_REGION( 0x0300, REGION_PROMS, 0 ) |
| 2177 | 2199 | ROM_LOAD( "hbprom.2e", 0x0000, 0x0100, CRC(37aab98f) SHA1(0b002ab82158854bdd4a9db05eee037711017313) ) /* palette low 4 bits (inverted) */ |
| 2178 | 2200 | ROM_LOAD( "hbprom.2f", 0x0100, 0x0100, CRC(845b8dcc) SHA1(eebd0c024172e54b509f1f99d9159438d5f3a905) ) /* palette high 4 bits (inverted) */ |
| 2179 | 2201 | ROM_LOAD( "hbprom.2n", 0x0200, 0x0100, CRC(dff9070a) SHA1(307b95749343b5106247d842f773b2b445faa156) ) /* character color codes on a per-column basis */ |
| 2180 | | ROM_LOAD( "82s147.prm", 0x0300, 0x0200, CRC(46e5bc92) SHA1(f4171f8650818c017d58ad7131a7aff100b1b99c) ) /* address mapping */ |
| 2181 | 2202 | |
| 2203 | ROM_REGION( 0x0200, REGION_USER1, 0 ) |
| 2204 | ROM_LOAD( "82s147.prm", 0x0000, 0x0200, CRC(46e5bc92) SHA1(f4171f8650818c017d58ad7131a7aff100b1b99c) ) /* address mapping */ |
| 2205 | |
| 2182 | 2206 | ROM_REGION( 0x0100, REGION_PLDS, ROMREGION_DISPOSE ) |
| 2183 | 2207 | ROM_LOAD( "pls153h.bin", 0x0000, 0x00eb, NO_DUMP ) /* missing - pls153 ??? */ |
| 2184 | 2208 | ROM_END |
| r1418 | r1419 | |
| 2190 | 2214 | ROM_LOAD( "sb-dk.as", 0x4000, 0x1000, CRC(e6d200f3) SHA1(3787334df76e629baa9ef5362495cd3af7777358) ) |
| 2191 | 2215 | ROM_LOAD( "sb-dk.5a", 0x6000, 0x1000, CRC(ca41ca56) SHA1(d862172b1cc6639d540efc140b63d1a598f75656) ) |
| 2192 | 2216 | |
| 2193 | | ROM_REGION( 0x1000, REGION_CPU2, 0 ) /* sound */ |
| 2217 | ROM_REGION( 0x1800, REGION_CPU2, 0 ) /* sound */ |
| 2194 | 2218 | ROM_LOAD( "sb-dk.3h", 0x0000, 0x0800, CRC(13e60b6e) SHA1(f5dca15db0f1a225ff0116726bb055bb7b9655cc) ) |
| 2219 | ROM_RELOAD( 0x0800, 0x0800 ) |
| 2220 | ROM_FILL( 0x1000, 0x0800, 0xFF ) |
| 2195 | 2221 | |
| 2196 | 2222 | ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE ) |
| 2197 | 2223 | ROM_LOAD( "sb-dk.3n", 0x0000, 0x0800, CRC(b1d76b59) SHA1(aed57ec67d80abdff1a4bfc3a713fa01c0dd15a2) ) |
| r1418 | r1419 | |
| 2207 | 2233 | ROM_LOAD( "sb.2e", 0x0000, 0x0100, CRC(4f06f789) SHA1(0b2775dd8da1c20121639871ed291a015a34e1f6) ) |
| 2208 | 2234 | ROM_LOAD( "sb.2f", 0x0100, 0x0100, CRC(2c15b1b2) SHA1(7c80eb77ba47e2f4d889fc10663a0391d4329a1d) ) |
| 2209 | 2235 | ROM_LOAD( "sb.2n", 0x0200, 0x0100, CRC(dff9070a) SHA1(307b95749343b5106247d842f773b2b445faa156) ) |
| 2210 | | ROM_LOAD( "82s147.prm", 0x0300, 0x0200, CRC(46e5bc92) SHA1(f4171f8650818c017d58ad7131a7aff100b1b99c) ) /* address mapping */ |
| 2211 | 2236 | |
| 2237 | ROM_REGION( 0x0200, REGION_USER1, 0 ) |
| 2238 | ROM_LOAD( "82s147.prm", 0x0000, 0x0200, CRC(46e5bc92) SHA1(f4171f8650818c017d58ad7131a7aff100b1b99c) ) /* address mapping */ |
| 2239 | |
| 2212 | 2240 | ROM_REGION( 0x0100, REGION_PLDS, ROMREGION_DISPOSE ) |
| 2213 | 2241 | ROM_LOAD( "pls153h.bin", 0x0000, 0x00eb, NO_DUMP ) /* missing - pls153 ??? */ |
| 2214 | 2242 | ROM_END |
| r1418 | r1419 | |
| 2220 | 2248 | ROM_LOAD( "5h.cpu", 0x4000, 0x1000, CRC(c0daf551) SHA1(f39058fa05ad69e839e7c0281cb1fad80cfa3134) ) |
| 2221 | 2249 | ROM_LOAD( "5k.cpu", 0x6000, 0x1000, CRC(67442242) SHA1(0241281e8cc721f7fe22822f2cf168c2eed7983d) ) |
| 2222 | 2250 | |
| 2223 | | ROM_REGION( 0x1000, REGION_CPU2, 0 ) /* sound */ |
| 2251 | ROM_REGION( 0x1800, REGION_CPU2, 0 ) /* sound */ |
| 2224 | 2252 | ROM_LOAD( "3i.snd", 0x0000, 0x0800, CRC(20e30406) SHA1(e2b9c6b731e53651d26455c2753a6dc3d5e9d066) ) |
| 2253 | ROM_RELOAD( 0x0800, 0x0800 ) |
| 2254 | ROM_FILL( 0x1000, 0x0800, 0xFF ) |
| 2225 | 2255 | |
| 2226 | 2256 | ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE ) |
| 2227 | 2257 | ROM_LOAD( "5h.vid", 0x0000, 0x0800, CRC(ea2a2547) SHA1(ec714abe43ab86ef615e1105688bf3df209c8f5f) ) |
| r1418 | r1419 | |
| 2237 | 2267 | ROM_LOAD( "74s287.2k", 0x0000, 0x0100, CRC(7dc0a381) SHA1(7d974b2249392160e3b800e7113d4899c3600b7f) ) /* palette high 4 bits (inverted) */ |
| 2238 | 2268 | ROM_LOAD( "74s287.2j", 0x0100, 0x0100, CRC(0a440c00) SHA1(e3249a646cd8aa50739e09ae101e796ea3aac37a) ) /* palette low 4 bits (inverted) */ |
| 2239 | 2269 | ROM_LOAD( "74s287.vid", 0x0200, 0x0100, CRC(5a3446cc) SHA1(158de015006e6c400cb7ee758fda7ff760eb5835) ) /* character color codes on a per-column basis */ |
| 2240 | | ROM_LOAD( "82s147.hh", 0x0300, 0x0200, CRC(46e5bc92) SHA1(f4171f8650818c017d58ad7131a7aff100b1b99c) ) /* address mapping */ |
| 2241 | 2270 | |
| 2271 | ROM_REGION( 0x0200, REGION_USER1, 0 ) |
| 2272 | ROM_LOAD( "82s147.hh", 0x0000, 0x0200, CRC(46e5bc92) SHA1(f4171f8650818c017d58ad7131a7aff100b1b99c) ) /* address mapping */ |
| 2273 | |
| 2242 | 2274 | ROM_REGION( 0x0100, REGION_PLDS, ROMREGION_DISPOSE ) |
| 2243 | 2275 | ROM_LOAD( "pls153h.bin", 0x0000, 0x00eb, CRC(d6a04bcc) SHA1(ef1ed4311869d46dec95c2bfb31875c2f022da4f) ) |
| 2244 | 2276 | ROM_END |
| r1418 | r1419 | |
| 2255 | 2287 | ROM_CONTINUE( 0x6000, 0x0e00 ) |
| 2256 | 2288 | ROM_CONTINUE( 0x2e00, 0x0200 ) |
| 2257 | 2289 | |
| 2258 | | ROM_REGION( 0x1000, REGION_CPU2, 0 ) /* sound */ |
| 2290 | ROM_REGION( 0x1800, REGION_CPU2, 0 ) /* sound */ |
| 2259 | 2291 | ROM_LOAD( "silver.3h", 0x0000, 0x0800, CRC(67863ce9) SHA1(2b78e3d32a64cdef34afc476fed7ff0ab6a0277c) ) |
| 2292 | ROM_RELOAD( 0x0800, 0x0800 ) |
| 2293 | ROM_FILL( 0x1000, 0x0800, 0xFF ) |
| 2260 | 2294 | |
| 2261 | 2295 | ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE ) |
| 2262 | 2296 | ROM_LOAD( "pnk.3n", 0x0000, 0x0800, CRC(574dfd7a) SHA1(78bbe4ea83fdaec14ca92ceae03e8a3d0877d14b) ) |
| r1418 | r1419 | |
| 2272 | 2306 | ROM_LOAD( "82s129.2e", 0x0000, 0x0100, CRC(da4b47e6) SHA1(2cfc7d489002113eb91048cc29d24831dadbfabb) ) /* palette low 4 bits (inverted) */ |
| 2273 | 2307 | ROM_LOAD( "82s129.2f", 0x0100, 0x0100, CRC(96e213a4) SHA1(38f21e7bce96fd2159aa61e64d66aa574d85873c) ) /* palette high 4 bits (inverted) */ |
| 2274 | 2308 | ROM_LOAD( "82s126.2n", 0x0200, 0x0100, CRC(37aece4b) SHA1(08dbb470644278132b8126649fe41d70e7750bee) ) /* character color codes on a per-column basis */ |
| 2275 | | ROM_LOAD( "82s147.prm", 0x0300, 0x0200, BAD_DUMP CRC(46e5bc92) SHA1(f4171f8650818c017d58ad7131a7aff100b1b99c) ) /* no dump - taken from hunchbkd */ |
| 2276 | 2309 | |
| 2310 | ROM_REGION( 0x0200, REGION_USER1, 0 ) |
| 2311 | ROM_LOAD( "82s147.prm", 0x0000, 0x0200, BAD_DUMP CRC(46e5bc92) SHA1(f4171f8650818c017d58ad7131a7aff100b1b99c) ) /* no dump - taken from hunchbkd */ |
| 2312 | |
| 2277 | 2313 | ROM_REGION( 0x0100, REGION_PLDS, ROMREGION_DISPOSE ) |
| 2278 | 2314 | ROM_LOAD( "pls153h.bin", 0x0000, 0x00eb, NO_DUMP ) /* missing - pls153 ??? */ |
| 2279 | 2315 | ROM_END |
| r1418 | r1419 | |
| 2288 | 2324 | ROM_LOAD( "2764.8f", 0x4000, 0x1000, CRC(835e0074) SHA1(187358973f595033a4745759f554a3dfd398889b) ) |
| 2289 | 2325 | ROM_CONTINUE( 0x6000, 0x1000 ) |
| 2290 | 2326 | |
| 2291 | | ROM_REGION( 0x1000, REGION_CPU2, 0 ) /* sound */ |
| 2327 | ROM_REGION( 0x1800, REGION_CPU2, 0 ) /* sound */ |
| 2292 | 2328 | ROM_LOAD( "2716.3h", 0x0000, 0x0800, CRC(caf57bef) SHA1(60c19c65bf312b36c68631ccea5434ad8cf0f3df) ) |
| 2329 | ROM_RELOAD( 0x0800, 0x0800 ) |
| 2330 | ROM_FILL( 0x1000, 0x0800, 0xFF ) |
| 2293 | 2331 | |
| 2294 | 2332 | ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE ) |
| 2295 | 2333 | ROM_LOAD( "pnk.3n", 0x0000, 0x0800, CRC(574dfd7a) SHA1(78bbe4ea83fdaec14ca92ceae03e8a3d0877d14b) ) |
| r1418 | r1419 | |
| 2305 | 2343 | ROM_LOAD( "82s129.2e", 0x0000, 0x0100, CRC(da4b47e6) SHA1(2cfc7d489002113eb91048cc29d24831dadbfabb) ) /* palette low 4 bits (inverted) */ |
| 2306 | 2344 | ROM_LOAD( "82s129.2f", 0x0100, 0x0100, CRC(96e213a4) SHA1(38f21e7bce96fd2159aa61e64d66aa574d85873c) ) /* palette high 4 bits (inverted) */ |
| 2307 | 2345 | ROM_LOAD( "82s126.2n", 0x0200, 0x0100, CRC(37aece4b) SHA1(08dbb470644278132b8126649fe41d70e7750bee) ) /* character color codes on a per-column basis */ |
| 2308 | | ROM_LOAD( "82s147.prm", 0x0300, 0x0200, BAD_DUMP CRC(46e5bc92) SHA1(f4171f8650818c017d58ad7131a7aff100b1b99c) ) /* no dump - taken from hunchbkd */ |
| 2309 | 2346 | |
| 2347 | ROM_REGION( 0x0200, REGION_USER1, 0 ) |
| 2348 | ROM_LOAD( "82s147.prm", 0x0000, 0x0200, BAD_DUMP CRC(46e5bc92) SHA1(f4171f8650818c017d58ad7131a7aff100b1b99c) ) /* no dump - taken from hunchbkd */ |
| 2349 | |
| 2310 | 2350 | ROM_REGION( 0x0100, REGION_PLDS, ROMREGION_DISPOSE ) |
| 2311 | 2351 | ROM_LOAD( "pls153h.bin", 0x0000, 0x00eb, NO_DUMP ) /* missing - pls153 ??? */ |
| 2312 | 2352 | ROM_END |
| r1418 | r1419 | |
| 2332 | 2372 | ROM_LOAD( "82s126.2e", 0x0000, 0x0100, CRC(b3751a25) SHA1(4b444e8fd02ac8674ecaba2fee083cb9feb99fa0) ) |
| 2333 | 2373 | ROM_LOAD( "82s126.2f", 0x0100, 0x0100, CRC(1026d438) SHA1(927009e6ed520c39c36c1d7966589c6778df1a3a) ) |
| 2334 | 2374 | ROM_LOAD( "82s126.2n", 0x0200, 0x0100, CRC(9735998d) SHA1(c3f50f97369547b1fd25da64507a5c8b725de6d0) ) |
| 2335 | | ROM_LOAD( "82s147.prm", 0x0300, 0x0200, BAD_DUMP CRC(46e5bc92) SHA1(f4171f8650818c017d58ad7131a7aff100b1b99c) ) /* no dump - taken from hunchbkd */ |
| 2336 | 2375 | |
| 2376 | ROM_REGION( 0x0200, REGION_USER1, 0 ) |
| 2377 | ROM_LOAD( "82s147.prm", 0x0000, 0x0200, BAD_DUMP CRC(46e5bc92) SHA1(f4171f8650818c017d58ad7131a7aff100b1b99c) ) /* no dump - taken from hunchbkd */ |
| 2378 | |
| 2337 | 2379 | ROM_REGION( 0x0100, REGION_PLDS, ROMREGION_DISPOSE ) |
| 2338 | 2380 | ROM_LOAD( "pls153h.bin", 0x0000, 0x00eb, NO_DUMP ) /* missing - pls153 ??? */ |
| 2339 | 2381 | ROM_END |
| r1418 | r1419 | |
| 2359 | 2401 | ROM_LOAD( "spfc2.2e", 0x0000, 0x0100, CRC(b3751a25) SHA1(4b444e8fd02ac8674ecaba2fee083cb9feb99fa0) ) |
| 2360 | 2402 | ROM_LOAD( "spfc2.2f", 0x0100, 0x0100, CRC(1026d438) SHA1(927009e6ed520c39c36c1d7966589c6778df1a3a) ) |
| 2361 | 2403 | ROM_LOAD( "spfc2.2n", 0x0200, 0x0100, CRC(9735998d) SHA1(c3f50f97369547b1fd25da64507a5c8b725de6d0) ) |
| 2362 | | ROM_LOAD( "82s147.prm", 0x0300, 0x0200, BAD_DUMP CRC(46e5bc92) SHA1(f4171f8650818c017d58ad7131a7aff100b1b99c) ) /* no dump - taken from hunchbkd */ |
| 2363 | 2404 | |
| 2405 | ROM_REGION( 0x0200, REGION_USER1, 0 ) |
| 2406 | ROM_LOAD( "82s147.prm", 0x0000, 0x0200, BAD_DUMP CRC(46e5bc92) SHA1(f4171f8650818c017d58ad7131a7aff100b1b99c) ) /* no dump - taken from hunchbkd */ |
| 2407 | |
| 2364 | 2408 | ROM_REGION( 0x0100, REGION_PLDS, ROMREGION_DISPOSE ) |
| 2365 | 2409 | ROM_LOAD( "pls153h.bin", 0x0000, 0x00eb, NO_DUMP ) /* missing - pls153 ??? */ |
| 2366 | 2410 | ROM_END |
| r1418 | r1419 | |
| 2375 | 2419 | ROM_LOAD( "8b-dk.5b", 0x4000, 0x1000, CRC(f836a962) SHA1(5a45514ea59cd92092523d116b0dc4a1f8fc46b7) ) |
| 2376 | 2420 | ROM_LOAD( "8b-dk.5a", 0x6000, 0x1000, CRC(d45866d4) SHA1(5dfb121aa87bc5e6efadd9412b9f8d360c3dabd3) ) |
| 2377 | 2421 | |
| 2378 | | ROM_REGION( 0x1000, REGION_CPU2, 0 ) /* sound */ |
| 2422 | ROM_REGION( 0x1800, REGION_CPU2, 0 ) /* sound */ |
| 2379 | 2423 | ROM_LOAD( "8b-dk.3h", 0x0000, 0x0800, CRC(a8752c60) SHA1(0d7d35fd271d796e884a33071b83c000b91208a0) ) |
| 2424 | ROM_RELOAD( 0x0800, 0x0800 ) |
| 2425 | ROM_FILL( 0x1000, 0x0800, 0xFF ) |
| 2380 | 2426 | |
| 2381 | 2427 | ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE ) |
| 2382 | 2428 | ROM_LOAD( "8b-dk.3n", 0x0000, 0x0800, CRC(44830867) SHA1(29d34792b9193edcdac427367c360d6f01e1e094) ) |
| r1418 | r1419 | |
| 2392 | 2438 | ROM_LOAD( "8b.2e", 0x0000, 0x0100, CRC(c7379a12) SHA1(e128e7d7c71ec61b934651c29648d0d2fc69e306) ) |
| 2393 | 2439 | ROM_LOAD( "8b.2f", 0x0100, 0x0100, CRC(116612b4) SHA1(9a7c5329f211b13d5a757fdac761d7096d78b65a) ) |
| 2394 | 2440 | ROM_LOAD( "8b.2n", 0x0200, 0x0100, CRC(30586988) SHA1(a9c246fd01cb3ff371ad33b55d5b2fe4898c4d1b) ) |
| 2395 | | ROM_LOAD( "82s147.prm", 0x0300, 0x0200, BAD_DUMP CRC(46e5bc92) SHA1(f4171f8650818c017d58ad7131a7aff100b1b99c) ) /* no dump - taken from hunchbkd */ |
| 2396 | 2441 | |
| 2442 | ROM_REGION( 0x0200, REGION_USER1, 0 ) |
| 2443 | ROM_LOAD( "82s147.prm", 0x0000, 0x0200, BAD_DUMP CRC(46e5bc92) SHA1(f4171f8650818c017d58ad7131a7aff100b1b99c) ) /* no dump - taken from hunchbkd */ |
| 2444 | |
| 2397 | 2445 | ROM_REGION( 0x0100, REGION_PLDS, ROMREGION_DISPOSE ) |
| 2398 | 2446 | ROM_LOAD( "pls153h.bin", 0x0000, 0x00eb, NO_DUMP ) /* missing - pls153 ??? */ |
| 2399 | 2447 | ROM_END |
| r1418 | r1419 | |
| 2425 | 2473 | ROM_LOAD( "8b.2e", 0x0000, 0x0100, CRC(c7379a12) SHA1(e128e7d7c71ec61b934651c29648d0d2fc69e306) ) |
| 2426 | 2474 | ROM_LOAD( "8b.2f", 0x0100, 0x0100, CRC(116612b4) SHA1(9a7c5329f211b13d5a757fdac761d7096d78b65a) ) |
| 2427 | 2475 | ROM_LOAD( "8b.2n", 0x0200, 0x0100, CRC(30586988) SHA1(a9c246fd01cb3ff371ad33b55d5b2fe4898c4d1b) ) |
| 2428 | | ROM_LOAD( "82s147.prm", 0x0300, 0x0200, BAD_DUMP CRC(46e5bc92) SHA1(f4171f8650818c017d58ad7131a7aff100b1b99c) ) /* no dump - taken from hunchbkd */ |
| 2429 | 2476 | |
| 2477 | ROM_REGION( 0x0200, REGION_USER1, 0 ) |
| 2478 | ROM_LOAD( "82s147.prm", 0x0000, 0x0200, BAD_DUMP CRC(46e5bc92) SHA1(f4171f8650818c017d58ad7131a7aff100b1b99c) ) /* no dump - taken from hunchbkd */ |
| 2479 | |
| 2430 | 2480 | ROM_REGION( 0x0100, REGION_PLDS, ROMREGION_DISPOSE ) |
| 2431 | 2481 | ROM_LOAD( "pls153h.bin", 0x0000, 0x00eb, NO_DUMP ) /* missing - pls153 ??? */ |
| 2432 | 2482 | ROM_END |
| r1418 | r1419 | |
| 2437 | 2487 | ROM_LOAD( "2764.u2", 0x0000, 0x2000, CRC(d9a33205) SHA1(06dc96412e7162fd8a4f6ef4d14d1510c06b1d00) ) |
| 2438 | 2488 | ROM_LOAD( "2764.u3", 0x2000, 0x2000, CRC(69583a35) SHA1(061271be4e9ddfd8dff4217f1434215ad35ba505) ) |
| 2439 | 2489 | |
| 2440 | | ROM_REGION( 0x1000, REGION_CPU2, 0 ) /* sound */ |
| 2441 | 2490 | /* one is used for dkong conversions, the other one for dkongjr conversions */ |
| 2491 | ROM_REGION( 0x1800, REGION_CPU2, 0 ) /* sound */ |
| 2442 | 2492 | ROM_LOAD( "2716.3h", 0x0000, 0x0800, CRC(3489a35b) SHA1(9ebcf4b20b212d54e6b1a6d9abbda3109298631b) ) /* dkong */ |
| 2443 | | ROM_LOAD( "2716.3h1", 0x0800, 0x0800, CRC(2a6ec016) SHA1(c95e185a39c8029f00798ce0a00759a4deb45677) ) /* dkongjr */ |
| 2493 | ROM_RELOAD( 0x0800, 0x0800 ) |
| 2494 | ROM_FILL( 0x1000, 0x0800, 0x00 ) |
| 2444 | 2495 | |
| 2445 | 2496 | ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE ) |
| 2446 | 2497 | ROM_LOAD( "2716.3n", 0x0000, 0x0800, CRC(ea0e7f9a) SHA1(a8e2b43e15281d45e414eaae98e5248bad79c41b) ) |
| r1418 | r1419 | |
| 2459 | 2510 | ROM_END |
| 2460 | 2511 | |
| 2461 | 2512 | /* encrypted */ |
| 2513 | ROM_START( drktnjr ) |
| 2514 | ROM_REGION( 0x20000, REGION_CPU1, 0 ) /* 64k for code + 4*16k for decrypted code */ |
| 2515 | ROM_LOAD( "2764.u2", 0x0000, 0x2000, CRC(d9a33205) SHA1(06dc96412e7162fd8a4f6ef4d14d1510c06b1d00) ) |
| 2516 | ROM_LOAD( "2764.u3", 0x2000, 0x2000, CRC(69583a35) SHA1(061271be4e9ddfd8dff4217f1434215ad35ba505) ) |
| 2517 | |
| 2518 | ROM_REGION( 0x1000, REGION_CPU2, 0 ) /* sound */ |
| 2519 | /* one is used for dkong conversions, the other one for dkongjr conversions */ |
| 2520 | ROM_LOAD( "2716.3h1", 0x0000, 0x0800, CRC(2a6ec016) SHA1(c95e185a39c8029f00798ce0a00759a4deb45677) ) /* dkongjr */ |
| 2521 | //ROM_RELOAD( 0x0800, 0x0800 ) |
| 2522 | //ROM_FILL( 0x0800, 0x0800, 0xFF ) |
| 2523 | |
| 2524 | ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE ) |
| 2525 | ROM_LOAD( "2716.3n", 0x0000, 0x0800, CRC(ea0e7f9a) SHA1(a8e2b43e15281d45e414eaae98e5248bad79c41b) ) |
| 2526 | ROM_LOAD( "2716.3p", 0x0800, 0x0800, CRC(46f51b68) SHA1(7d1c3a61cdd0ad471cb0064c0cbaf758325fc267) ) |
| 2527 | |
| 2528 | ROM_REGION( 0x2000, REGION_GFX2, ROMREGION_DISPOSE ) |
| 2529 | ROM_LOAD( "2716.7c", 0x0000, 0x0800, CRC(2925dc2d) SHA1(721748031714ba488191eb074643093c906e8ce2) ) |
| 2530 | ROM_LOAD( "2716.7d", 0x0800, 0x0800, CRC(bdf6b1b4) SHA1(ea9076a2bba909bfae8a10a92d857e8f0644fc8b) ) |
| 2531 | ROM_LOAD( "2716.7e", 0x1000, 0x0800, CRC(4d62e62f) SHA1(01e757110edcb24600a27b1505f54e3bd04b9e58) ) |
| 2532 | ROM_LOAD( "2716.7f", 0x1800, 0x0800, CRC(81d200e5) SHA1(5eb74f319756ba3fbc6d0d918799337f911e9419) ) |
| 2533 | |
| 2534 | ROM_REGION( 0x0300, REGION_PROMS, 0 ) |
| 2535 | ROM_LOAD( "82s126.2e", 0x0000, 0x0100, CRC(3ff45f76) SHA1(4068b5568f9e22e54f0df8a9e02bfed0bfb00db7) ) |
| 2536 | ROM_LOAD( "82s126.2f", 0x0100, 0x0100, CRC(38f905be) SHA1(a963aea9a92ac95850c90c43085376cb4e06696b) ) |
| 2537 | ROM_LOAD( "82s126.2n", 0x0200, 0x0100, CRC(3c343b9b) SHA1(f84f5fddcccc8499a2511877f5d706b37ddc7db8) ) |
| 2538 | ROM_END |
| 2539 | |
| 2540 | /* encrypted */ |
| 2462 | 2541 | ROM_START( strtheat ) |
| 2463 | 2542 | ROM_REGION( 0x20000, REGION_CPU1, 0 ) /* 64k for code + 4*16k for decrypted code */ |
| 2464 | 2543 | ROM_LOAD( "2764.u2", 0x0000, 0x2000, CRC(8d3e82c3) SHA1(ec26fb1c6015721da1f61eca76a4b3390d8dcc76) ) |
| 2465 | 2544 | ROM_LOAD( "2764.u3", 0x2000, 0x2000, CRC(f0759e76) SHA1(e086f02d1861269194c4cd2ada71696b48ed1a1d) ) |
| 2466 | 2545 | |
| 2467 | | ROM_REGION( 0x1000, REGION_CPU2, 0 ) /* sound */ |
| 2546 | ROM_REGION( 0x1800, REGION_CPU2, 0 ) /* sound */ |
| 2468 | 2547 | ROM_LOAD( "2716.3h", 0x0000, 0x0800, CRC(4cd17174) SHA1(5ed9b5275b0779d1ca05d6e62d3ad8a682ebde37) ) |
| 2469 | 2548 | ROM_RELOAD( 0x0800, 0x0800 ) |
| 2549 | ROM_FILL( 0x1000, 0x0800, 0xFF ) |
| 2470 | 2550 | |
| 2471 | 2551 | ROM_REGION( 0x2000, REGION_GFX1, ROMREGION_DISPOSE ) |
| 2472 | 2552 | ROM_LOAD( "2716.3n", 0x0000, 0x0800, CRC(29e57678) SHA1(cbbb980c44c7f5c45d5f0b85209658f53b7ba4a7) ) |
| r1418 | r1419 | |
| 2560 | 2640 | ROM_LOAD( "sg-01snd", 0x0000, 0x1000, CRC(644a0728) SHA1(e249fd57bc49572a2246aaf7c68a547f319f51bc) ) //sg-01-snd |
| 2561 | 2641 | ROM_LOAD( "sg-01spk", 0x1000, 0x0800, CRC(aacaf730) SHA1(cd562093ab8931d165cb0877e332474fce131c67) ) //sg-01-spk |
| 2562 | 2642 | |
| 2563 | | ROM_REGION( 0x2000, REGION_USER1, 0 ) // gun proms? |
| 2643 | ROM_REGION( 0x2000, REGION_USER2, 0 ) // gun proms? |
| 2564 | 2644 | ROM_LOAD( "sg-1", 0x0000, 0x0200, CRC(fda82517) SHA1(b36bac69b6f8218b280aae59133ea0d22d7a99f6) ) |
| 2565 | 2645 | ROM_LOAD( "sg-2", 0x0200, 0x091d, CRC(6e065613) SHA1(26d048af5c302f921de8e2c1bc7c7bf48dc21b5a) ) |
| 2566 | 2646 | |
| r1418 | r1419 | |
| 2578 | 2658 | ROM_LOAD( "sg-01-2e", 0x0000, 0x0200, CRC(34fb23ea) SHA1(6bd6de791c9e0a5f9c833c287663e9755e01c573) ) |
| 2579 | 2659 | ROM_LOAD( "sg-01-2f", 0x0100, 0x0200, CRC(c29b880a) SHA1(950017a0298f91e41db9865ed8ce388f4095f6cf) ) |
| 2580 | 2660 | ROM_LOAD( "sg-01-2n", 0x0200, 0x0200, CRC(e08ed788) SHA1(6982f6bcc70dbf4c75ff538a5df70da11bc89bb4) ) |
| 2661 | |
| 2662 | ROM_REGION( 0x0200, REGION_USER1, 0 ) |
| 2663 | ROM_LOAD( "82s147.prm", 0x0000, 0x0200, BAD_DUMP CRC(46e5bc92) SHA1(f4171f8650818c017d58ad7131a7aff100b1b99c) ) /* no dump - taken from hunchbkd */ |
| 2581 | 2664 | ROM_END |
| 2582 | 2665 | |
| 2583 | 2666 | /************************************* |
| r1418 | r1419 | |
| 2633 | 2716 | |
| 2634 | 2717 | GAME( 1984, herbiedk, huncholy, herbiedk, herbiedk, 0, ROT90, "CVS", "Herbie at the Olympics (DK conversion)", GAME_SUPPORTS_SAVE ) |
| 2635 | 2718 | |
| 2636 | | GAME( 1983, hunchbkd, hunchbak, hunchbkd, hunchbkd, 0, ROT90, "Century Electronics", "Hunchback (DK conversion)", GAME_WRONG_COLORS | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) |
| 2719 | GAME( 1983, hunchbkd, hunchbak, hunchbkd, hunchbkd, 0, ROT90, "Century Electronics", "Hunchback (DK conversion)", GAME_SUPPORTS_SAVE ) |
| 2637 | 2720 | |
| 2638 | 2721 | GAME( 1984, sbdk, superbik, hunchbkd, sbdk, 0, ROT90, "Century Electronics", "Super Bike (DK conversion)", GAME_SUPPORTS_SAVE ) |
| 2639 | 2722 | |
| r1418 | r1419 | |
| 2650 | 2733 | GAME( 1985, spclforc, 0, spclforc, spclforc, 0, ROT90, "Senko Industries (Magic Eletronics Inc. licence)", "Special Forces", GAME_NO_SOUND | GAME_SUPPORTS_SAVE ) |
| 2651 | 2734 | GAME( 1985, spcfrcii, 0, spclforc, spclforc, 0, ROT90, "Senko Industries (Magic Eletronics Inc. licence)", "Special Forces II", GAME_NO_SOUND | GAME_SUPPORTS_SAVE ) |
| 2652 | 2735 | |
| 2653 | | //FIXME: move DRIVER_INIT here |
| 2654 | | GAME( 1984, drakton, 0, drakton, drakton, drakton, ROT90, "Epos Corporation", "Drakton", GAME_SUPPORTS_SAVE ) |
| 2736 | GAME( 1984, drakton, 0, drakton, drakton, drakton, ROT90, "Epos Corporation", "Drakton (DK conversion)", GAME_SUPPORTS_SAVE ) |
| 2737 | GAME( 1984, drktnjr, drakton, drktnjr, drakton, drakton, ROT90, "Epos Corporation", "Drakton (DKJr conversion)", GAME_SUPPORTS_SAVE ) |
| 2655 | 2738 | GAME( 1985, strtheat, 0, strtheat, strtheat, strtheat, ROT90, "Epos Corporation", "Street Heat - Cardinal Amusements", GAME_SUPPORTS_SAVE ) |
src/mame/drivers/seta.c
| r1418 | r1419 | |
| 55 | 55 | P0-100-A 93 Quiz Kokology 2 Tecmo |
| 56 | 56 | P0-101-1 94 Pro Mahjong Kiwame Athena |
| 57 | 57 | PO-102-A 93 Mad Shark Allumer |
| 58 | PO-107-A (prototype?) 94 Orbs (prototype?) American Sammy |
| 58 | 59 | P0-114-A (SKB-001) 94 Krazy Bowl American Sammy |
| 59 | 60 | P0-117-A (DH-01) 95 Extreme Downhill Sammy Japan |
| 60 | 61 | P0-117-A? 95 Sokonuke Taisen Game Sammy Industries |
| r1418 | r1419 | |
| 1992 | 1993 | AM_RANGE(0xf00000, 0xf00001) AM_WRITE(MWA16_NOP ) // ? Sound IRQ Ack |
| 1993 | 1994 | ADDRESS_MAP_END |
| 1994 | 1995 | |
| 1996 | /*************************************************************************** |
| 1997 | orbs |
| 1998 | ***************************************************************************/ |
| 1995 | 1999 | |
| 2000 | static ADDRESS_MAP_START( orbs_readmem, ADDRESS_SPACE_PROGRAM, 16 ) |
| 2001 | AM_RANGE(0x000000, 0x07ffff) AM_READ(MRA16_ROM ) // ROM |
| 2002 | AM_RANGE(0xf00000, 0xf0ffff) AM_READ(MRA16_RAM ) // RAM |
| 2003 | AM_RANGE(0x100000, 0x100001) AM_READ(MRA16_NOP ) // ? |
| 2004 | AM_RANGE(0x200000, 0x200001) AM_READ(MRA16_NOP ) // ? |
| 2005 | AM_RANGE(0x300000, 0x300003) AM_READ(seta_dsw_r ) // DSW |
| 2006 | AM_RANGE(0x500000, 0x500001) AM_READ(input_port_0_word_r ) // P1 |
| 2007 | AM_RANGE(0x500002, 0x500003) AM_READ(input_port_1_word_r ) // P2 |
| 2008 | AM_RANGE(0x500004, 0x500005) AM_READ(input_port_2_word_r ) // Coins |
| 2009 | //AM_RANGE(0x600000, 0x60000f) AM_READ(krzybowl_input_r ) // P1 |
| 2010 | AM_RANGE(0x8000f0, 0x8000f1) AM_READ(MRA16_RAM ) // NVRAM |
| 2011 | AM_RANGE(0x800100, 0x8001ff) AM_READ(MRA16_RAM ) // NVRAM |
| 2012 | AM_RANGE(0xa00000, 0xa03fff) AM_READ(seta_sound_word_r ) // Sound |
| 2013 | AM_RANGE(0xb00000, 0xb003ff) AM_READ(MRA16_RAM ) // Palette |
| 2014 | AM_RANGE(0xc00000, 0xc03fff) AM_READ(MRA16_RAM ) // Sprites Code + X + Attr |
| 2015 | /**/AM_RANGE(0xd00000, 0xd00001) AM_READ(MRA16_RAM ) // ? 0x4000 |
| 2016 | /**/AM_RANGE(0xe00000, 0xe00607) AM_READ(MRA16_RAM ) // Sprites Y |
| 2017 | ADDRESS_MAP_END |
| 1996 | 2018 | |
| 2019 | static ADDRESS_MAP_START( orbs_writemem, ADDRESS_SPACE_PROGRAM, 16 ) |
| 2020 | AM_RANGE(0x000000, 0x07ffff) AM_WRITE(MWA16_ROM ) // ROM |
| 2021 | AM_RANGE(0xf00000, 0xf0ffff) AM_WRITE(MWA16_RAM ) // RAM |
| 2022 | AM_RANGE(0x400000, 0x400001) AM_WRITE(MWA16_NOP ) // ? |
| 2023 | AM_RANGE(0x8000f0, 0x8000f1) AM_WRITE(MWA16_RAM ) // NVRAM |
| 2024 | AM_RANGE(0x800100, 0x8001ff) AM_WRITE(MWA16_RAM ) // NVRAM |
| 2025 | AM_RANGE(0xa00000, 0xa03fff) AM_WRITE(seta_sound_word_w ) // Sound |
| 2026 | AM_RANGE(0xb00000, 0xb003ff) AM_WRITE(paletteram16_xRRRRRGGGGGBBBBB_word_w) AM_BASE(&paletteram16 ) // Palette |
| 2027 | AM_RANGE(0xc00000, 0xc03fff) AM_WRITE(MWA16_RAM) AM_BASE(&spriteram16_2 ) // Sprites Code + X + Attr |
| 2028 | AM_RANGE(0xd00000, 0xd00001) AM_WRITE(MWA16_RAM ) // ? 0x4000 |
| 2029 | AM_RANGE(0xe00000, 0xe00607) AM_WRITE(MWA16_RAM) AM_BASE(&spriteram16 ) // Sprites Y |
| 2030 | ADDRESS_MAP_END |
| 2031 | |
| 2032 | |
| 1997 | 2033 | /*************************************************************************** |
| 1998 | 2034 | Block Carnival |
| 1999 | 2035 | ***************************************************************************/ |
| r1418 | r1419 | |
| 6026 | 6062 | PORT_DIPSETTING( 0x0000, DEF_STR( Free_Play ) ) |
| 6027 | 6063 | INPUT_PORTS_END |
| 6028 | 6064 | |
| 6065 | /*************************************************************************** |
| 6066 | Orbs |
| 6067 | ***************************************************************************/ |
| 6029 | 6068 | |
| 6069 | static INPUT_PORTS_START( orbs ) |
| 6070 | PORT_START_TAG("IN0") //Player 1 |
| 6071 | JOY_TYPE1_1BUTTON(1) |
| 6072 | |
| 6073 | PORT_START_TAG("IN1") //Player 2 ?? |
| 6074 | JOY_TYPE1_1BUTTON(2) |
| 6075 | |
| 6076 | PORT_START_TAG("IN2") //Coins |
| 6077 | PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(5) |
| 6078 | PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(5) |
| 6079 | PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_SERVICE1 ) PORT_IMPULSE(5) |
| 6080 | PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 6081 | PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 6082 | PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 6083 | PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 6084 | PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 6085 | |
| 6086 | PORT_START_TAG("IN3") //2 DSWs - $600001 & 3.b |
| 6087 | PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Flip_Screen ) ) |
| 6088 | PORT_DIPSETTING( 0x0001, DEF_STR( Off ) ) |
| 6089 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) |
| 6090 | PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Demo_Sounds ) ) |
| 6091 | PORT_DIPSETTING( 0x0000, DEF_STR( Off ) ) |
| 6092 | PORT_DIPSETTING( 0x0002, DEF_STR( On ) ) |
| 6093 | PORT_DIPNAME( 0x000c, 0x000c, DEF_STR( Difficulty ) ) |
| 6094 | PORT_DIPSETTING( 0x0008, DEF_STR( Easy ) ) |
| 6095 | PORT_DIPSETTING( 0x000c, DEF_STR( Normal ) ) |
| 6096 | PORT_DIPSETTING( 0x0004, DEF_STR( Hard ) ) |
| 6097 | PORT_DIPSETTING( 0x0000, DEF_STR( Hardest ) ) |
| 6098 | PORT_DIPNAME( 0x0010, 0x0010, "Stock" ) |
| 6099 | PORT_DIPSETTING( 0x0010, "1" ) |
| 6100 | PORT_DIPSETTING( 0x0000, "2" ) |
| 6101 | PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Level_Select ) ) |
| 6102 | PORT_DIPSETTING( 0x0020, DEF_STR( Off ) ) |
| 6103 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) |
| 6104 | PORT_DIPNAME( 0x0040, 0x0040, "Timer speed" ) |
| 6105 | PORT_DIPSETTING( 0x0040, DEF_STR( Normal ) ) |
| 6106 | PORT_DIPSETTING( 0x0000, "Fast" ) |
| 6107 | PORT_SERVICE( 0x0080, IP_ACTIVE_LOW ) |
| 6108 | |
| 6109 | PORT_DIPNAME( 0x0700, 0x0700, DEF_STR( Coin_A ) ) |
| 6110 | PORT_DIPSETTING( 0x0500, DEF_STR( 3C_1C ) ) |
| 6111 | PORT_DIPSETTING( 0x0600, DEF_STR( 2C_1C ) ) |
| 6112 | PORT_DIPSETTING( 0x0700, DEF_STR( 1C_1C ) ) |
| 6113 | PORT_DIPSETTING( 0x0400, DEF_STR( 1C_2C ) ) |
| 6114 | PORT_DIPSETTING( 0x0300, DEF_STR( 1C_3C ) ) |
| 6115 | PORT_DIPSETTING( 0x0200, DEF_STR( 1C_4C ) ) |
| 6116 | PORT_DIPSETTING( 0x0100, DEF_STR( 1C_5C ) ) |
| 6117 | PORT_DIPSETTING( 0x0000, DEF_STR( 1C_6C ) ) |
| 6118 | PORT_DIPNAME( 0x3800, 0x3800, DEF_STR( Coin_B ) ) |
| 6119 | PORT_DIPSETTING( 0x2800, DEF_STR( 3C_1C ) ) |
| 6120 | PORT_DIPSETTING( 0x3000, DEF_STR( 2C_1C ) ) |
| 6121 | PORT_DIPSETTING( 0x3800, DEF_STR( 1C_1C ) ) |
| 6122 | PORT_DIPSETTING( 0x2000, DEF_STR( 1C_2C ) ) |
| 6123 | PORT_DIPSETTING( 0x1800, DEF_STR( 1C_3C ) ) |
| 6124 | PORT_DIPSETTING( 0x1000, DEF_STR( 1C_4C ) ) |
| 6125 | PORT_DIPSETTING( 0x0800, DEF_STR( 1C_5C ) ) |
| 6126 | PORT_DIPSETTING( 0x0000, DEF_STR( 1C_6C ) ) |
| 6127 | PORT_DIPNAME( 0x4000, 0x4000, "Force Coinage (Half Coinn)" ) |
| 6128 | PORT_DIPSETTING( 0x4000, DEF_STR( No ) ) |
| 6129 | PORT_DIPSETTING( 0x0000, DEF_STR( 2C_1C ) ) |
| 6130 | PORT_DIPNAME( 0x8000, 0x8000, "Unknown 2-7" ) |
| 6131 | PORT_DIPSETTING( 0x8000, DEF_STR( Off ) ) |
| 6132 | PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) |
| 6133 | INPUT_PORTS_END |
| 6134 | |
| 6030 | 6135 | /*************************************************************************** |
| 6031 | 6136 | Crazy Fight |
| 6032 | 6137 | ***************************************************************************/ |
| r1418 | r1419 | |
| 6278 | 6383 | GFXDECODE_END |
| 6279 | 6384 | |
| 6280 | 6385 | /*************************************************************************** |
| 6386 | Orbs |
| 6387 | ***************************************************************************/ |
| 6388 | |
| 6389 | static GFXDECODE_START( orbs ) |
| 6390 | GFXDECODE_ENTRY( REGION_GFX1, 0, layout_planes, 512*0, 32 ) // [0] Sprites |
| 6391 | GFXDECODE_END |
| 6392 | |
| 6393 | /*************************************************************************** |
| 6281 | 6394 | Wiggie Waggle |
| 6282 | 6395 | ****************************************************************************/ |
| 6283 | 6396 | |
| r1418 | r1419 | |
| 7148 | 7261 | MDRV_SOUND_ROUTE(1, "right", 1.0) |
| 7149 | 7262 | MACHINE_DRIVER_END |
| 7150 | 7263 | |
| 7264 | /*************************************************************************** |
| 7265 | Orbs |
| 7266 | ***************************************************************************/ |
| 7151 | 7267 | |
| 7268 | static MACHINE_DRIVER_START( orbs ) |
| 7269 | |
| 7270 | /* basic machine hardware */ |
| 7271 | MDRV_CPU_ADD(M68000, 14318180) |
| 7272 | MDRV_CPU_PROGRAM_MAP(orbs_readmem,orbs_writemem) |
| 7273 | MDRV_CPU_VBLANK_INT(seta_interrupt_1_and_2,SETA_INTERRUPTS_NUM) |
| 7274 | |
| 7275 | MDRV_SCREEN_REFRESH_RATE(60) |
| 7276 | MDRV_SCREEN_VBLANK_TIME(DEFAULT_60HZ_VBLANK_DURATION) |
| 7277 | |
| 7278 | /* video hardware */ |
| 7279 | MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER) |
| 7280 | MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16) |
| 7281 | MDRV_SCREEN_SIZE(64*8, 32*8) |
| 7282 | MDRV_SCREEN_VISIBLE_AREA(1*8, 39*8-1, 1*8, 31*8-1) |
| 7283 | MDRV_GFXDECODE(orbs) |
| 7284 | MDRV_PALETTE_LENGTH(512) /* sprites only */ |
| 7285 | |
| 7286 | MDRV_VIDEO_START(seta_no_layers) |
| 7287 | MDRV_VIDEO_UPDATE(seta_no_layers) /* just draw the sprites */ |
| 7288 | |
| 7289 | /* sound hardware */ |
| 7290 | MDRV_SPEAKER_STANDARD_STEREO("left", "right") |
| 7291 | |
| 7292 | MDRV_SOUND_ADD(X1_010, 16000000) |
| 7293 | MDRV_SOUND_CONFIG(seta_sound_intf) |
| 7294 | MDRV_SOUND_ROUTE(0, "left", 1.0) |
| 7295 | MDRV_SOUND_ROUTE(1, "right", 1.0) |
| 7296 | MACHINE_DRIVER_END |
| 7297 | |
| 7298 | |
| 7152 | 7299 | /*************************************************************************** |
| 7153 | 7300 | Krazy Bowl |
| 7154 | 7301 | ***************************************************************************/ |
| r1418 | r1419 | |
| 8609 | 8756 | ROM_LOAD( "fv001.006", 0x080000, 0x080000, CRC(572a15e7) SHA1(b6a3e99e14a473b78ff48d1a46b20a0862d128e9) ) |
| 8610 | 8757 | ROM_END |
| 8611 | 8758 | |
| 8759 | ROM_START( orbs ) |
| 8760 | //all eproms are socketed and labelled (handwritten) "ORBS 10\7\94" |
| 8761 | //most of rom space is unused (filled with sound samples - same data in all roms) |
| 8762 | |
| 8763 | ROM_REGION( 0x100000, REGION_CPU1, 0 ) /* 68000 Code */ |
| 8764 | ROM_LOAD16_BYTE( "orbs.u10", 0x000000, 0x080000, CRC(10f079c8) SHA1(0baf2b7e1e8be116a6fab609481c87fc7c86f305) ) |
| 8765 | ROM_LOAD16_BYTE( "orbs.u9", 0x000001, 0x080000, CRC(f269d16f) SHA1(34f38789cb3256e334b0ac8acd9f339d14481578) ) |
| 8766 | |
| 8767 | ROM_REGION( 0x200000, REGION_GFX1, ROMREGION_DISPOSE ) /* Sprites */ |
| 8768 | ROM_LOAD( "orbs.u14", 0x000000, 0x080000, CRC(1cc76541) SHA1(d8a233212bfb9a9c686a40e470524f95b34417fa) ) |
| 8769 | ROM_LOAD( "orbs.u13", 0x080000, 0x080000, CRC(784bdc1a) SHA1(de2c5b38561b8ba6bd800126d010b734c2751575) ) |
| 8770 | ROM_LOAD( "orbs.u12", 0x100000, 0x080000, CRC(b8c352c2) SHA1(7d6fd1425d9d5cf6a14a1ddceba0ad10e472dfa5) ) |
| 8771 | ROM_LOAD( "orbs.u11", 0x180000, 0x080000, CRC(58cb38ba) SHA1(1c6c5f7ccb9c81b71bc1cbad080799b97962f262) ) |
| 8772 | |
| 8773 | ROM_REGION( 0x100000, REGION_SOUND1, 0 ) /* Samples */ |
| 8774 | ROM_LOAD( "orbs.u15", 0x000000, 0x080000, CRC(bc0e9fe3) SHA1(758a44d07d59af8bbc87602df25dfcdc6cb8d9b3) ) |
| 8775 | ROM_LOAD( "orbs.u16", 0x080000, 0x080000, CRC(aecd8373) SHA1(5620bcb281a9ea4920cfe81d163827013289c5bf) ) |
| 8776 | ROM_END |
| 8777 | |
| 8612 | 8778 | ROM_START( extdwnhl ) |
| 8613 | 8779 | ROM_REGION( 0x100000, REGION_CPU1, 0 ) /* 68000 Code */ |
| 8614 | 8780 | ROM_LOAD16_BYTE( "fw001002.201", 0x000000, 0x080000, CRC(24d21924) SHA1(9914a68a578f884b06305ffcd9aeed7d83df1c7b) ) |
| r1418 | r1419 | |
| 9086 | 9252 | GAME( 1994, eightfrc, 0, eightfrc, eightfrc, eightfrc, ROT90, "Tecmo", "Eight Forces", 0 ) |
| 9087 | 9253 | GAME( 1994, kiwame, 0, kiwame, kiwame, kiwame, ROT0, "Athena", "Pro Mahjong Kiwame", 0 ) |
| 9088 | 9254 | GAME( 1994, krzybowl, 0, krzybowl, krzybowl, 0, ROT270, "American Sammy", "Krazy Bowl", 0 ) |
| 9255 | GAME( 1994, orbs, 0, orbs, orbs, 0, ROT0, "American Sammy", "Orbs (10/7/94 prototype?)", 0 ) |
| 9089 | 9256 | GAME( 1995, extdwnhl, 0, extdwnhl, extdwnhl, 0, ROT0, "Sammy Industries Japan", "Extreme Downhill (v1.5)", GAME_IMPERFECT_GRAPHICS ) |
| 9090 | 9257 | GAME( 1995, gundhara, 0, gundhara, gundhara, 0, ROT270, "Banpresto", "Gundhara", 0 ) |
| 9091 | 9258 | GAME( 1995, sokonuke, 0, extdwnhl, sokonuke, 0, ROT0, "Sammy Industries", "Sokonuke Taisen Game (Japan)", GAME_IMPERFECT_SOUND ) |
src/mame/drivers/neodrvr.c
| r1418 | r1419 | |
| 309 | 309 | ROM_SYSTEM_BIOS( 7, "japan-s1", "Japan MVS (Ver. 1)" ) \ |
| 310 | 310 | ROM_LOAD16_WORD_SWAP_BIOS( 7, "sp1.jipan.1024",0x00000, 0x020000, CRC(9fb0abe4) SHA1(18a987ce2229df79a8cf6a84f968f0e42ce4e59d) ) /* Japan, Older */ \ |
| 311 | 311 | |
| 312 | | // ROM_SYSTEM_BIOS( 8, "uni-bios.10","Unibios MVS (Hack, Ver. 1.0)" ) |
| 313 | | // ROM_LOAD16_WORD_SWAP_BIOS( 8, "uni-bios.10", 0x00000, 0x020000, CRC(0ce453a0) SHA1(3b4c0cd26c176fc6b26c3a2f95143dd478f6abf9) ) /* Universe Bios v1.0 (hack) */ |
| 314 | | // ROM_SYSTEM_BIOS( 9, "uni-bios.11","Unibios MVS (Hack, Ver. 1.1)" ) |
| 315 | | // ROM_LOAD16_WORD_SWAP_BIOS( 9, "uni-bios.11", 0x00000, 0x020000, CRC(5dda0d84) SHA1(4153d533c02926a2577e49c32657214781ff29b7) ) /* Universe Bios v1.1 (hack) */ |
| 316 | | // ROM_SYSTEM_BIOS(10, "debug", "Debug MVS (Hack?)" ) |
| 317 | | // ROM_LOAD16_WORD_SWAP_BIOS(10, "neodebug.rom", 0x00000, 0x020000, CRC(698ebb7d) SHA1(081c49aa8cc7dad5939833dc1b18338321ea0a07) ) /* Debug (Development) Bios */ |
| 318 | | // ROM_SYSTEM_BIOS(11, "asia-aes", "Asia AES" ) |
| 319 | | // ROM_LOAD16_WORD_SWAP_BIOS(11, "aes-bios.bin", 0x00000, 0x020000, CRC(d27a71f1) SHA1(1b3b22092f30c4d1b2c15f04d1670eb1e9fbea07) ) /* AES Console (Asia?) Bios */ |
| 312 | // ROM_SYSTEM_BIOS( 8, "uni-bios","Universe Bios (Hack, Ver. 2.3)" ) |
| 313 | // ROM_LOAD16_WORD_SWAP_BIOS( 8, "uni-bios.rom", 0x00000, 0x020000, CRC(601720ae) SHA1(1b8a72c720cdb5ee3f1d735bbcf447b09204b8d9) ) /* Universe Bios v2.3 (hack) */ |
| 314 | // ROM_SYSTEM_BIOS( 9, "debug", "Debug MVS (Hack?)" ) |
| 315 | // ROM_LOAD16_WORD_SWAP_BIOS( 9, "neodebug.rom", 0x00000, 0x020000, CRC(698ebb7d) SHA1(081c49aa8cc7dad5939833dc1b18338321ea0a07) ) /* Debug (Development) Bios */ |
| 316 | // ROM_SYSTEM_BIOS(10, "asia-aes", "Asia AES" ) |
| 317 | // ROM_LOAD16_WORD_SWAP_BIOS(10, "neo-epo.bin", 0x00000, 0x020000, CRC(d27a71f1) SHA1(1b3b22092f30c4d1b2c15f04d1670eb1e9fbea07) ) /* AES Console (Asia?) Bios */ |
| 318 | // ROM_SYSTEM_BIOS(11, "jap-aes", "Japan AES" ) |
| 319 | // ROM_LOAD16_WORD_SWAP_BIOS(11, "neo-po.bin", 0x00000, 0x020000, CRC(16d0c132) SHA1(4e4a440cae46f3889d20234aebd7f8d5f522e22c) ) /* AES Console (Japan) Bios */ |
| 320 | 320 | |
| 321 | 321 | /* note you'll have to modify the last for lines of each block to use the extra bios roms, |
| 322 | 322 | they're hacks / homebrew / console bios roms so MAME doesn't list them by default */ |
| r1418 | r1419 | |
| 404 | 404 | ROM_LOAD( "000-lo.lo", 0x00000, 0x10000, CRC(e09e253c) SHA1(2b1c719531dac9bb503f22644e6e4236b91e7cfc) ) |
| 405 | 405 | |
| 406 | 406 | |
| 407 | /*************************************************************************** |
| 407 | 408 | |
| 408 | | /******************************************************************************/ |
| 409 | Neo-Geo game pcb infos: |
| 410 | ======================= |
| 409 | 411 | |
| 412 | The Neo-Geo games for AES (home) and MVS (arcade) systems are cartridge based. |
| 413 | |
| 414 | Each cartridge consists of two pcb's: CHA and PROG. |
| 415 | |
| 416 | CHA pcb contains gfx data ('C' - rom), text layer data ('S' - rom) and sound driver ('M' - rom). |
| 417 | PROG pcb contains sample data ('V' - rom) and program code ('P' - rom). |
| 418 | |
| 419 | On most pcb's various custom/protection chips can also be found: |
| 420 | |
| 421 | CHA: |
| 422 | . NEO-273 |
| 423 | . NEO-CMC |
| 424 | . NEO-ZMC |
| 425 | . NEO-ZMC2 |
| 426 | . PRO-CT0 |
| 427 | . SNK-9201 |
| 428 | |
| 429 | PROG: |
| 430 | . ALTERA |
| 431 | . NEO-COMA |
| 432 | . NEO-PCM2 (SNK 1999) |
| 433 | . NEO-PCM2 (PLAYMORE 2002) |
| 434 | . NEO-PVC |
| 435 | . NEO-SMA |
| 436 | . PCM |
| 437 | |
| 438 | |
| 439 | Known pcb's: |
| 440 | ============ |
| 441 | |
| 442 | MVS CHA: |
| 443 | . NEO-MVS CHA-8M |
| 444 | . NEO-MVS CHA42G |
| 445 | . NEO-MVS CHA42G-1 |
| 446 | . NEO-MVS CHA42G-2 |
| 447 | . NEO-MVS CHA42G-3B |
| 448 | . NEO-MVS CHA256 |
| 449 | . NEO-MVS CHA256B |
| 450 | . NEO-MVS PSTM CHA136 |
| 451 | . NEO-MVS CHA512Y |
| 452 | . NEO-MVS CHAFIO |
| 453 | |
| 454 | MVS PROG: |
| 455 | . NEO-MVS PROG8M42 |
| 456 | . NEO-MVS PROG16 |
| 457 | . NEO-MVS PROG42G |
| 458 | . NEO-MVS PROG42G-1 |
| 459 | . NEO-MVS PROGGSC |
| 460 | . NEO-MVS PROGTOP |
| 461 | . NEO-MVS PROGSF1 |
| 462 | . NEO-MVS PROGEOP |
| 463 | . NEO-MVS PROGLBA - LBA-SUB (2000.2.24) |
| 464 | . NEO-MVS PROGBK1 |
| 465 | . NEO-MVS PROGBK2 |
| 466 | . NEO-MVS PROGBK2R |
| 467 | . NEO-MVS PROGBK3R |
| 468 | . NEO-MVS PROGBK3S |
| 469 | |
| 470 | AES CHA: |
| 471 | . NEO-AEG CHA-32 |
| 472 | . NEO-AEG CHA42G-1 |
| 473 | . NEO-AEG CHA42G-3 |
| 474 | . NEO-AEG CHA42G-4 |
| 475 | . NEO-AEG CHA256 |
| 476 | . NEO-AEG CHA256[B] |
| 477 | . NEO-AEG CHA256RY |
| 478 | . NEO-AEG CHA512Y |
| 479 | . NEO-AEG CHAFIO (SNK 1999.8.10) |
| 480 | |
| 481 | AES PROG: |
| 482 | . NEO-AEG PROG-NAM |
| 483 | . NEO-AEG PROG-HERO |
| 484 | . NEO-AEG PROG B |
| 485 | . NEO-AEG PROG-4A |
| 486 | . NEO-AEG PROG-4B |
| 487 | . NEO-AEG PROG16 |
| 488 | . NEO-AEG PROG42G-COM |
| 489 | . NEO-AEG PROG42G-1 |
| 490 | . NEO-AEG PROG4096B |
| 491 | . NEO-AEG PROGGS |
| 492 | . NEO-AEG PROGLBA |
| 493 | . NEO-AEG PROGRK |
| 494 | . NEO-AEG PROGRKB |
| 495 | . NEO-AEG PROGBK1Y |
| 496 | . NEO-AEG PROGBK2 |
| 497 | . NEO-AEG PROGBK3R |
| 498 | |
| 499 | The above only covers SNK / SNK-PLAYMORE pcb's. There also exists a |
| 500 | wide range of 'bootleg' pcb's. |
| 501 | |
| 502 | ****************************************************************************/ |
| 503 | |
| 504 | |
| 410 | 505 | ROM_START( nam1975 ) |
| 411 | 506 | ROM_REGION( 0x100000, NEOGEO_REGION_MAIN_CPU_CARTRIDGE, 0 ) |
| 412 | 507 | ROM_LOAD16_WORD_SWAP( "001-p1.bin", 0x000000, 0x080000, CRC(cc9fc951) SHA1(92f4e6ddeeb825077d92dbb70b50afea985f15c0) ) |
| r1418 | r1419 | |
| 710 | 805 | ROM_START( superspy ) |
| 711 | 806 | ROM_REGION( 0x100000, NEOGEO_REGION_MAIN_CPU_CARTRIDGE, 0 ) |
| 712 | 807 | ROM_LOAD16_WORD_SWAP( "011-p1.bin", 0x000000, 0x080000, CRC(c7f944b5) SHA1(da7560e09187c68f1d9f7656218497b4464c56c9) ) |
| 713 | | ROM_LOAD16_WORD_SWAP( "011-p2.bin", 0x080000, 0x020000, CRC(811a4faf) SHA1(8169dfaf79f52d80ecec402ce1b1ab9cafb7ebdd) ) |
| 808 | ROM_LOAD16_WORD_SWAP( "011-sp2.bin", 0x080000, 0x020000, CRC(811a4faf) SHA1(8169dfaf79f52d80ecec402ce1b1ab9cafb7ebdd) ) |
| 714 | 809 | |
| 715 | 810 | NEO_SFIX_128K( "011-s1.bin", CRC(ec5fdb96) SHA1(8003028025ac7bf531e568add6ba66c02d0b7e84) ) |
| 716 | 811 | |
| 717 | | NEO_BIOS_AUDIO_128K( "011-m1.bin", BAD_DUMP CRC(d59d5d12) SHA1(0692b6f35c9ee3840f945703c4eb51ab83eb0714) ) |
| 812 | NEO_BIOS_AUDIO_128K( "011-m1.bin", CRC(6f737b5a) SHA1(d52f7b6786b6e33f09ba0cf30889082c1dfb9336) ) |
| 718 | 813 | |
| 719 | | ROM_REGION( 0x200000, NEOGEO_REGION_AUDIO_DATA_1, 0 ) |
| 814 | ROM_REGION( 0x180000, NEOGEO_REGION_AUDIO_DATA_1, 0 ) |
| 720 | 815 | ROM_LOAD( "011-v11.bin", 0x000000, 0x100000, CRC(5c674d5c) SHA1(d7b9beddeb247b584cea9ca6c43ec6869809b673) ) |
| 721 | | ROM_LOAD( "011-v12.bin", 0x100000, 0x100000, CRC(7df8898b) SHA1(23dd6df47fa51b210af800ae551295300e125106) ) |
| 816 | ROM_LOAD( "011-v12.bin", 0x100000, 0x080000, CRC(9f513d5a) SHA1(37b04962f0b8e2a74abd35c407337a6151dc4e95) ) |
| 722 | 817 | |
| 723 | | ROM_REGION( 0x100000, NEOGEO_REGION_AUDIO_DATA_2, 0 ) |
| 724 | | ROM_LOAD( "011-v21.bin", 0x000000, 0x100000, CRC(1ebe94c7) SHA1(c186810523a7df880cb080c62aa322bbcaefca17) ) |
| 818 | ROM_REGION( 0x080000, NEOGEO_REGION_AUDIO_DATA_2, 0 ) |
| 819 | ROM_LOAD( "011-v21.bin", 0x000000, 0x080000, CRC(426cd040) SHA1(b2b45189837c8287223c2b8bd4df9525b72a3f16) ) |
| 725 | 820 | |
| 726 | 821 | ROM_REGION( 0x400000, NEOGEO_REGION_SPRITES, ROMREGION_DISPOSE ) |
| 727 | 822 | ROM_LOAD16_BYTE( "011-c1.bin", 0x000000, 0x100000, CRC(cae7be57) SHA1(43b35b349594535689c358d9f324adda55e5281a) ) /* Plane 0,1 */ |
| r1418 | r1419 | |
| 924 | 1019 | ROM_LOAD16_BYTE( "020-c4.bin", 0x200001, 0x100000, CRC(edde439b) SHA1(79be7b10ecdab54c2f77062b8f5fda0e299fa982) ) |
| 925 | 1020 | ROM_END |
| 926 | 1021 | |
| 927 | | ROM_START( joyjoy ) |
| 1022 | ROM_START( joyjoy ) /* MVS AND AES VERSION */ |
| 928 | 1023 | ROM_REGION( 0x100000, NEOGEO_REGION_MAIN_CPU_CARTRIDGE, 0 ) |
| 929 | 1024 | ROM_LOAD16_WORD_SWAP( "021-p1.bin", 0x000000, 0x080000, CRC(39c3478f) SHA1(06ebe54c9c4e14c5c31e770013d58b7162359ecc) ) |
| 930 | 1025 | |
| r1418 | r1419 | |
| 1134 | 1229 | |
| 1135 | 1230 | NEO_SFIX_128K( "031-s1.bin", CRC(4c117174) SHA1(26e52c4f628338a9aa1c159517cdf873f738fb98) ) |
| 1136 | 1231 | |
| 1137 | | NEO_BIOS_AUDIO_64K( "031-m1.bin", BAD_DUMP CRC(2f38d5d3) SHA1(0fc01750277e554978e68e7e6d596f8bd6b1e178) ) |
| 1232 | NEO_BIOS_AUDIO_128K( "031-m1.bin", CRC(3aa4e9e1) SHA1(65e53d799a0cb55b5bc55d57773e4682a72d7c2d) ) |
| 1138 | 1233 | |
| 1139 | 1234 | ROM_REGION( 0x200000, NEOGEO_REGION_AUDIO_DATA_1, 0 ) |
| 1140 | 1235 | ROM_LOAD( "031-v1.bin", 0x000000, 0x100000, CRC(cc78497e) SHA1(895bd647150fae9b2259ef043ed681f4c4de66ea) ) |
| r1418 | r1419 | |
| 1149 | 1244 | ROM_LOAD16_BYTE( "031-c4.bin", 0x200001, 0x080000, CRC(ed297de8) SHA1(616f8fa4c86231f3e79faf9f69f8bb909cbc35f0) ) /* Plane 2,3 */ |
| 1150 | 1245 | ROM_END |
| 1151 | 1246 | |
| 1247 | ROM_START( socbrala ) /* MVS VERSION */ |
| 1248 | ROM_REGION( 0x100000, NEOGEO_REGION_MAIN_CPU_CARTRIDGE, 0 ) |
| 1249 | ROM_LOAD16_WORD_SWAP( "031-pg1.bin", 0x000000, 0x080000, CRC(17f034a7) SHA1(2e66c7bd93a08efe63c4894494db50bbf58f60e4) ) |
| 1250 | |
| 1251 | NEO_SFIX_128K( "031-s1.bin", CRC(4c117174) SHA1(26e52c4f628338a9aa1c159517cdf873f738fb98) ) |
| 1252 | |
| 1253 | NEO_BIOS_AUDIO_128K( "031-m1.bin", CRC(3aa4e9e1) SHA1(65e53d799a0cb55b5bc55d57773e4682a72d7c2d) ) |
| 1254 | |
| 1255 | ROM_REGION( 0x200000, NEOGEO_REGION_AUDIO_DATA_1, 0 ) |
| 1256 | ROM_LOAD( "031-v1.bin", 0x000000, 0x100000, CRC(cc78497e) SHA1(895bd647150fae9b2259ef043ed681f4c4de66ea) ) |
| 1257 | ROM_LOAD( "031-v2.bin", 0x100000, 0x100000, CRC(dda043c6) SHA1(08165a59700ab6b1e523079dd2a3549e520cc594) ) |
| 1258 | |
| 1259 | NO_DELTAT_REGION |
| 1260 | |
| 1261 | ROM_REGION( 0x300000, NEOGEO_REGION_SPRITES, ROMREGION_DISPOSE ) |
| 1262 | ROM_LOAD16_BYTE( "031-c1.bin", 0x000000, 0x100000, CRC(bd0a4eb8) SHA1(b67988cb3e550d083e81c9bd436da55b242785ed) ) /* Plane 0,1 */ |
| 1263 | ROM_LOAD16_BYTE( "031-c2.bin", 0x000001, 0x100000, CRC(efde5382) SHA1(e42789c8d87ee3d4549d0a903e990c03338cbbd8) ) /* Plane 2,3 */ |
| 1264 | ROM_LOAD16_BYTE( "031-c3.bin", 0x200000, 0x080000, CRC(580f7f33) SHA1(f4f95a7c8de00e1366a723fc4cd0e8c1905af636) ) /* Plane 0,1 */ |
| 1265 | ROM_LOAD16_BYTE( "031-c4.bin", 0x200001, 0x080000, CRC(ed297de8) SHA1(616f8fa4c86231f3e79faf9f69f8bb909cbc35f0) ) /* Plane 2,3 */ |
| 1266 | ROM_END |
| 1267 | |
| 1152 | 1268 | ROM_START( roboarmy ) |
| 1153 | 1269 | ROM_REGION( 0x100000, NEOGEO_REGION_MAIN_CPU_CARTRIDGE, 0 ) |
| 1154 | 1270 | ROM_LOAD16_WORD_SWAP( "032-p1.bin", 0x000000, 0x080000, CRC(cd11cbd4) SHA1(23163e3da2f07e830a7f4a02aea1cb01a54ccbf3) ) |
| r1418 | r1419 | |
| 1213 | 1329 | ROM_LOAD16_BYTE( "033-c4.bin", 0x200001, 0x100000, CRC(9397476a) SHA1(a12dbb74020aeb6ebf24ec2abbfba5129cabcb7d) ) /* Plane 2,3 */ |
| 1214 | 1330 | ROM_END |
| 1215 | 1331 | |
| 1216 | | ROM_START( fbfrenzy ) |
| 1332 | ROM_START( fbfrenzy ) /* MVS AND AES VERSION */ |
| 1217 | 1333 | ROM_REGION( 0x100000, NEOGEO_REGION_MAIN_CPU_CARTRIDGE, 0 ) |
| 1218 | 1334 | ROM_LOAD16_WORD_SWAP( "034-p1.bin", 0x000000, 0x080000, CRC(cdef6b19) SHA1(97482db0dffc6d625fb41fa38449c0a74d741a72) ) |
| 1219 | 1335 | |
| 1220 | 1336 | NEO_SFIX_128K( "034-s1.bin", CRC(8472ed44) SHA1(42e1a9671dddd090d2a634cff986f6c73ba08b70) ) |
| 1221 | 1337 | |
| 1222 | | NEO_BIOS_AUDIO_128K( "034-m1.bin", BAD_DUMP CRC(f41b16b8) SHA1(f3e1cfc4cd2c5baece176f169906aa796367d303) ) |
| 1338 | NEO_BIOS_AUDIO_128K( "034-m1.bin", CRC(f41b16b8) SHA1(f3e1cfc4cd2c5baece176f169906aa796367d303) ) |
| 1223 | 1339 | |
| 1224 | 1340 | ROM_REGION( 0x200000, NEOGEO_REGION_AUDIO_DATA_1, 0 ) |
| 1225 | 1341 | ROM_LOAD( "034-v1.bin", 0x000000, 0x100000, CRC(50c9d0dd) SHA1(2b3f2875b00e5f307d274128bd73c1521a7d901b) ) |
| r1418 | r1419 | |
| 1582 | 1698 | ROM_REGION( 0x100000, NEOGEO_REGION_AUDIO_DATA_1, 0 ) |
| 1583 | 1699 | ROM_LOAD( "049-v1.bin", 0x000000, 0x080000, CRC(577c85b3) SHA1(2c3072401fe73497dca0e9009ae2ba4053fe936d) ) |
| 1584 | 1700 | ROM_LOAD( "049-v2.bin", 0x080000, 0x080000, CRC(e14551c4) SHA1(763a9912b9df55defb190af3f29ae034f6dd78d6) ) |
| 1701 | /* The MVS version has only v1 rom, size 8mbit. */ |
| 1585 | 1702 | |
| 1586 | 1703 | NO_DELTAT_REGION |
| 1587 | 1704 | |
| r1418 | r1419 | |
| 1912 | 2029 | ROM_LOAD16_WORD_SWAP( "060-p1.bin", 0x000000, 0x080000, CRC(3032041b) SHA1(4b8ed2e6f74579ea35a53e06ccac42d6905b0f51) ) |
| 1913 | 2030 | ROM_LOAD16_WORD_SWAP( "060-p2.bin", 0x080000, 0x080000, CRC(b0801d5f) SHA1(085746d8f5d271d5f84ccbb7f577193c391f88d4) ) |
| 1914 | 2031 | |
| 1915 | | NEO_SFIX_128K( "060-s1.bin", CRC(70727a1e) SHA1(e0d226be0578adbe7c1d41baba79e61d4d8fac39) ) |
| 2032 | NEO_SFIX_128K( "060-s1.bin", CRC(7f012104) SHA1(f366dcc3923655dff16ec08a40d5fce22a84257d) ) |
| 1916 | 2033 | |
| 1917 | 2034 | NEO_BIOS_AUDIO_128K( "060-m1.bin", CRC(0b7c4e65) SHA1(999a1e784de18db3f1332b30bc425836ea6970be) ) |
| 1918 | 2035 | |
| r1418 | r1419 | |
| 1929 | 2046 | ROM_LOAD16_BYTE( "060-c4.bin", 0x0400001, 0x200000, CRC(026f3b62) SHA1(d608483b70d60e7aa0e41f25a8b3fed508129eb7) ) /* Plane 2,3 */ |
| 1930 | 2047 | ROM_END |
| 1931 | 2048 | |
| 1932 | | ROM_START( fightfva ) |
| 2049 | ROM_START( fightfva ) /* MVS VERSION */ |
| 1933 | 2050 | ROM_REGION( 0x200000, NEOGEO_REGION_MAIN_CPU_CARTRIDGE, 0 ) |
| 1934 | | ROM_LOAD16_WORD_SWAP( "060-p1a.bin", 0x0000000, 0x100000, CRC(2a104b50) SHA1(3eb663d3df7074e1cdf4c0e450a35c9cf55d8979) ) |
| 2051 | ROM_LOAD16_WORD_SWAP( "060-p1.rom", 0x0000000, 0x100000, CRC(2a104b50) SHA1(3eb663d3df7074e1cdf4c0e450a35c9cf55d8979) ) |
| 1935 | 2052 | /* there was also a copy of the 060-p1.bin with the name 060-p2.bin maybe it should be loaded over the top or this |
| 1936 | 2053 | larger rom is an older revision... */ |
| 1937 | 2054 | |
| 1938 | | NEO_SFIX_128K( "060-s1.bin", CRC(70727a1e) SHA1(e0d226be0578adbe7c1d41baba79e61d4d8fac39) ) |
| 2055 | NEO_SFIX_128K( "060-s1.bin", CRC(7f012104) SHA1(f366dcc3923655dff16ec08a40d5fce22a84257d) ) |
| 1939 | 2056 | |
| 1940 | 2057 | NEO_BIOS_AUDIO_128K( "060-m1.bin", CRC(0b7c4e65) SHA1(999a1e784de18db3f1332b30bc425836ea6970be) ) |
| 1941 | 2058 | |
| r1418 | r1419 | |
| 2849 | 2966 | |
| 2850 | 2967 | NEO_BIOS_AUDIO_128K( "097-m1.bin", CRC(b20e4291) SHA1(0e891ab53f9fded510295dfc7818bc59b4a9dd97) ) |
| 2851 | 2968 | |
| 2852 | | ROM_REGION( 0x500000, NEOGEO_REGION_AUDIO_DATA_1, 0 ) |
| 2969 | ROM_REGION( 0x600000, NEOGEO_REGION_AUDIO_DATA_1, 0 ) |
| 2853 | 2970 | ROM_LOAD( "097-v1.bin", 0x000000, 0x400000, CRC(6f885152) SHA1(8175804d5c1420c5d37b733d4a8fa2aa81e59f1b) ) |
| 2854 | | ROM_LOAD( "097-v2.bin", 0x400000, 0x100000, CRC(32187ccd) SHA1(35a93de2a23bdec181c504d9c21a871bf86edee1) ) |
| 2971 | ROM_LOAD( "097-v2.bin", 0x400000, 0x200000, CRC(3359e868) SHA1(b7efd9f1a6dab33271fe8356bcc863aeae1d3ed8) ) |
| 2855 | 2972 | |
| 2856 | 2973 | NO_DELTAT_REGION |
| 2857 | 2974 | |
| r1418 | r1419 | |
| 2928 | 3045 | ROM_REGION( 0x100000, NEOGEO_REGION_MAIN_CPU_CARTRIDGE, 0 ) |
| 2929 | 3046 | ROM_LOAD16_WORD_SWAP( "203-p1.bin", 0x000000, 0x100000, CRC(7ba70e2d) SHA1(945f472cc3e7706f613c52df18de35c986d166e7) ) |
| 2930 | 3047 | |
| 2931 | | NEO_SFIX_128K( "203-s1.bin", CRC(4e132fac) SHA1(ecc5552880cc0a771121efe2a60810b70f6121ff) ) |
| 3048 | NEO_SFIX_128K( "203-s1.bin", CRC(bfdc8309) SHA1(781337eab932a130b396a6c1080611d6f9c24c6e) ) |
| 2932 | 3049 | |
| 2933 | 3050 | NEO_BIOS_AUDIO_128K( "203-m1.bin", CRC(a602c2c2) SHA1(19fd5d0379244c528b58343f6cbf78b4766fb23d) ) |
| 2934 | 3051 | |
| r1418 | r1419 | |
| 3898 | 4015 | |
| 3899 | 4016 | ROM_START( kof98 ) /* encrypted code + protection */ |
| 3900 | 4017 | ROM_REGION( 0x600000, NEOGEO_REGION_MAIN_CPU_CARTRIDGE, 0 ) |
| 3901 | | ROM_LOAD16_WORD_SWAP( "yz98-p1.160", 0x000000, 0x200000, CRC(8893df89) SHA1(0452828785110601c65f667209fc2d2926cd3751) ) |
| 4018 | ROM_LOAD16_WORD_SWAP( "242-p1.bin", 0x000000, 0x200000, CRC(8893df89) SHA1(0452828785110601c65f667209fc2d2926cd3751) ) |
| 3902 | 4019 | ROM_LOAD16_WORD_SWAP( "242-p2.bin", 0x200000, 0x400000, CRC(980aba4c) SHA1(5e735929ec6c3ca5b2efae3c7de47bcbb8ade2c5) ) |
| 3903 | 4020 | |
| 3904 | 4021 | NEO_SFIX_128K( "242-s1.bin", CRC(7f7b4805) SHA1(80ee6e5d0ece9c34ebca54b043a7cb33f9ff6b92) ) |
| r1418 | r1419 | |
| 3926 | 4043 | |
| 3927 | 4044 | ROM_START( kof98k ) /* encrypted code + protection, only z80 rom is different to kof98 */ |
| 3928 | 4045 | ROM_REGION( 0x600000, NEOGEO_REGION_MAIN_CPU_CARTRIDGE, 0 ) |
| 3929 | | ROM_LOAD16_WORD_SWAP( "yz98-p1.160", 0x000000, 0x200000, CRC(8893df89) SHA1(0452828785110601c65f667209fc2d2926cd3751) ) |
| 4046 | ROM_LOAD16_WORD_SWAP( "242-p1.bin", 0x000000, 0x200000, CRC(8893df89) SHA1(0452828785110601c65f667209fc2d2926cd3751) ) |
| 3930 | 4047 | ROM_LOAD16_WORD_SWAP( "242-p2.bin", 0x200000, 0x400000, CRC(980aba4c) SHA1(5e735929ec6c3ca5b2efae3c7de47bcbb8ade2c5) ) |
| 3931 | 4048 | |
| 3932 | 4049 | NEO_SFIX_128K( "242-s1.bin", CRC(7f7b4805) SHA1(80ee6e5d0ece9c34ebca54b043a7cb33f9ff6b92) ) |
| r1418 | r1419 | |
| 4185 | 4302 | ROM_LOAD16_BYTE( "250-c6.bin", 0x2000001, 0x800000, CRC(83e3e69d) SHA1(39be66287696829d243fb71b3fb8b7dc2bc3298f) ) /* Plane 0,1 */ |
| 4186 | 4303 | ROM_END |
| 4187 | 4304 | |
| 4188 | | ROM_START( kof99 ) /* Original Version - Encrypted Code & GFX */ |
| 4305 | ROM_START( kof99 ) /* Original Version - Encrypted Code & GFX */ /* AES VERSION */ |
| 4189 | 4306 | ROM_REGION( 0x900000, NEOGEO_REGION_MAIN_CPU_CARTRIDGE, 0 ) |
| 4190 | 4307 | ROM_LOAD16_WORD_SWAP( "251-sma.kc", 0x0c0000, 0x040000, CRC(6c9d0647) SHA1(2a0ce62ca6c18007e8fbe1b60475c7874ab79389) ) /* stored in the custom chip */ |
| 4191 | 4308 | ROM_LOAD16_WORD_SWAP( "251-p1.bin", 0x100000, 0x400000, CRC(006e4532) SHA1(47791ab4044ad55988b1d3412d95b65b91a163c8) ) |
| r1418 | r1419 | |
| 4221 | 4338 | ROM_LOAD16_BYTE( "251-c8.bin", 0x3000001, 0x800000, CRC(8d921c68) SHA1(42acf1d27d52a8e3b6262eb7df50693c0b135565) ) /* Plane 2,3 */ |
| 4222 | 4339 | ROM_END |
| 4223 | 4340 | |
| 4224 | | ROM_START( kof99a ) /* Original Version - Encrypted Code & GFX */ |
| 4341 | ROM_START( kof99a ) /* Original Version - Encrypted Code & GFX */ /* MVS VERSION */ |
| 4225 | 4342 | ROM_REGION( 0x900000, NEOGEO_REGION_MAIN_CPU_CARTRIDGE, 0 ) |
| 4226 | 4343 | ROM_LOAD16_WORD_SWAP( "251-sma.ka", 0x0c0000, 0x040000, CRC(7766d09e) SHA1(4e0a49d1ad669a62676cb30f527c6590cde80194) ) /* stored in the custom chip */ |
| 4227 | 4344 | ROM_LOAD16_WORD_SWAP( "251-p1.bin", 0x100000, 0x400000, CRC(006e4532) SHA1(47791ab4044ad55988b1d3412d95b65b91a163c8) ) |
| r1418 | r1419 | |
| 5289 | 5406 | ROM_LOAD16_BYTE( "267-c2.bin", 0x0000001, 0x800000, CRC(2b67187b) SHA1(149c3efd3c444fd0d35a97fa2268102bf76be3ed) ) /* Plane 2,3 */ |
| 5290 | 5407 | ROM_END |
| 5291 | 5408 | |
| 5292 | | ROM_START( mslug5 ) /* Encrypted Set */ |
| 5409 | ROM_START( mslug5 ) /* Encrypted Set */ /* MVS VERSION */ |
| 5293 | 5410 | ROM_REGION( 0x800000, NEOGEO_REGION_MAIN_CPU_CARTRIDGE, 0 ) |
| 5294 | 5411 | ROM_LOAD32_WORD_SWAP( "268-p1cr.bin", 0x000000, 0x400000, CRC(d0466792) SHA1(880819933d997fab398f91061e9dbccb959ae8a1) ) |
| 5295 | 5412 | ROM_LOAD32_WORD_SWAP( "268-p2cr.bin", 0x000002, 0x400000, CRC(fbf6b61e) SHA1(9ec743d5988b5e3183f37f8edf45c72a8c0c893e) ) |
| r1418 | r1419 | |
| 5302 | 5419 | ROM_REGION( 0x20000, NEOGEO_REGION_FIXED_LAYER_BIOS, 0 ) |
| 5303 | 5420 | ROM_LOAD( "sfix.sfx", 0x000000, 0x20000, CRC(354029fc) SHA1(4ae4bf23b4c2acff875775d4cbff5583893ce2a1) ) |
| 5304 | 5421 | |
| 5305 | | ROM_REGION( 0x10000, NEOGEO_REGION_AUDIO_CPU_ENCRYPTED, 0 ) |
| 5422 | ROM_REGION( 0x80000, NEOGEO_REGION_AUDIO_CPU_ENCRYPTED, 0 ) |
| 5306 | 5423 | /* Encrypted, we load it here for reference and replace with decrypted ROM */ |
| 5307 | | ROM_LOAD( "268-m1.bin", 0x00000, 0x10000, CRC(58b107d0) SHA1(cc7fe66ff4f9c026cde4df06f86c848eb21f7af8) ) |
| 5424 | ROM_LOAD( "268-m1.bin", 0x00000, 0x80000, CRC(4a5a6e0e) SHA1(df0f660f2465e1db7be5adfcaf5e88ad61a74a42) ) |
| 5308 | 5425 | /* Decrypted */ |
| 5309 | | NEO_BIOS_AUDIO_64K( "268-m1_decrypted.bin", CRC(3c0655a7) SHA1(ae839d4c2b87a7aa3dd8e5caddc43eb75ee9b732) ) //Incorrect data |
| 5426 | NEO_BIOS_AUDIO_64K( "268-m1_decrypted.bin", CRC(3c0655a7) SHA1(ae839d4c2b87a7aa3dd8e5caddc43eb75ee9b732) ) /* not a 100% match for encrypted version */ |
| 5310 | 5427 | |
| 5311 | 5428 | ROM_REGION( 0x1000000, NEOGEO_REGION_AUDIO_DATA_1, 0 ) |
| 5312 | 5429 | /* Encrypted */ |
| r1418 | r1419 | |
| 7041 | 7158 | GAME( 1991, 2020bb, neogeo, neogeo_s, neogeo, neogeo, ROT0, "SNK / Pallas", "2020 Super Baseball (set 1)", 0 ) |
| 7042 | 7159 | GAME( 1991, 2020bba, 2020bb, neogeo_s, neogeo, neogeo, ROT0, "SNK / Pallas", "2020 Super Baseball (set 2)", 0 ) |
| 7043 | 7160 | GAME( 1991, 2020bbh, 2020bb, neogeo_s, neogeo, neogeo, ROT0, "SNK / Pallas", "2020 Super Baseball (set 3)", 0 ) |
| 7044 | | GAME( 1991, socbrawl, neogeo, neogeo_s, neogeo, neogeo, ROT0, "SNK", "Soccer Brawl", 0 ) |
| 7161 | GAME( 1991, socbrawl, neogeo, neogeo_s, neogeo, neogeo, ROT0, "SNK", "Soccer Brawl (set 1)", 0 ) |
| 7162 | GAME( 1991, socbrala, socbrawl, neogeo_s, neogeo, neogeo, ROT0, "SNK", "Soccer Brawl (set 2)", 0 ) |
| 7045 | 7163 | GAME( 1991, fatfury1, neogeo, neogeo, neogeo, neogeo, ROT0, "SNK", "Fatal Fury - King of Fighters / Garou Densetsu - shukumei no tatakai", 0 ) |
| 7046 | 7164 | GAME( 1991, roboarmy, neogeo, neogeo_s, neogeo, neogeo, ROT0, "SNK", "Robo Army (set 1)", 0 ) |
| 7047 | 7165 | GAME( 1991, roboarma, roboarmy, neogeo_s, neogeo, neogeo, ROT0, "SNK", "Robo Army (set 2)", 0 ) |
| r1418 | r1419 | |
| 7134 | 7252 | GAME( 2003, mslug5, neogeo, neogeo_s, neogeo, mslug5, ROT0, "SNK Playmore", "Metal Slug 5", 0 ) |
| 7135 | 7253 | GAME ( 2003, ms5pcb, 0, neogeo_s, neogeo, ms5pcb, ROT0, "SNK Playmore", "Metal Slug 5 (JAMMA PCB)", 0 ) |
| 7136 | 7254 | GAME( 2003, ms5plus, mslug5, neogeo_s, neogeo, ms5plus, ROT0, "bootleg", "Metal Slug 5 Plus (bootleg)",0 ) |
| 7137 | | GAME ( 2003, svcpcb, 0, neogeo_s, svcpcb, svcpcb, ROT0, "Playmore", "SNK vs. CAPCOM SVC CHAOS (JAMMA PCB)", 0 ) // not a clone of neogeo because it's NOT a neogeo cart. |
| 7138 | | GAME ( 2003, svcpcba, svcpcb, neogeo_s, svcpcb, svcpcb, ROT0, "Playmore", "SNK vs. CAPCOM SVC CHAOS (JAMMA PCB, set 2)" , 0 ) /* Encrypted Code */ |
| 7139 | | GAME( 2003, svc, neogeo, neogeo_s, neogeo, svc, ROT0, "Playmore", "SNK vs. CAPCOM SVC CHAOS", 0 ) |
| 7255 | GAME ( 2003, svcpcb, 0, neogeo_s, svcpcb, svcpcb, ROT0, "SNK Playmore", "SNK vs. CAPCOM SVC CHAOS (JAMMA PCB)", 0 ) // not a clone of neogeo because it's NOT a neogeo cart. |
| 7256 | GAME ( 2003, svcpcba, svcpcb, neogeo_s, svcpcb, svcpcb, ROT0, "SNK Playmore", "SNK vs. CAPCOM SVC CHAOS (JAMMA PCB, set 2)" , 0 ) /* Encrypted Code */ |
| 7257 | GAME( 2003, svc, neogeo, neogeo_s, neogeo, svc, ROT0, "SNK Playmore", "SNK vs. CAPCOM SVC CHAOS", 0 ) |
| 7140 | 7258 | GAME( 2003, svcboot, svc, neogeo_s, neogeo, svcboot, ROT0, "bootleg", "SNK vs. CAPCOM SVC CHAOS (bootleg)",0 ) |
| 7141 | 7259 | GAME( 2003, svcplus, svc, neogeo_s, neogeo, svcplus, ROT0, "bootleg", "SNK vs. CAPCOM SVC CHAOS Plus (set 1, bootleg)",0 ) |
| 7142 | 7260 | GAME( 2003, svcplusa, svc, neogeo_s, neogeo, svcplusa, ROT0, "bootleg", "SNK vs. CAPCOM SVC CHAOS Plus (set 2, bootleg)",0 ) |
| r1418 | r1419 | |
| 7194 | 7312 | |
| 7195 | 7313 | /* Eleven */ |
| 7196 | 7314 | GAME( 2000, nitd, neogeo, neogeo, neogeo, nitd, ROT0, "Eleven / Gavaking", "Nightmare in the Dark" , 0) /* Encrypted GFX */ |
| 7197 | | GAME( 2001, nitdbl, nitd, neogeo, neogeo, neogeo, ROT0, "Eleven / Gavaking", "Nightmare in the Dark (bootleg)" , 0) |
| 7315 | GAME( 2001, nitdbl, nitd, neogeo, neogeo, neogeo, ROT0, "bootleg", "Nightmare in the Dark (bootleg)" , 0) |
| 7198 | 7316 | |
| 7199 | 7317 | /* Face */ |
| 7200 | 7318 | GAME( 1994, gururin, neogeo, neogeo_s, neogeo, neogeo, ROT0, "Face", "Gururin", 0 ) |
src/mame/drivers/cave.c
| r1418 | r1419 | |
| 1488 | 1488 | |
| 1489 | 1489 | /* Most games use this */ |
| 1490 | 1490 | static INPUT_PORTS_START( cave ) |
| 1491 | | PORT_START // IN0 - Player 1 |
| 1491 | PORT_START_TAG("IN0") // IN0 - Player 1 |
| 1492 | 1492 | PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(1) |
| 1493 | 1493 | PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(1) |
| 1494 | 1494 | PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(1) |
| r1418 | r1419 | |
| 1507 | 1507 | PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1508 | 1508 | PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1509 | 1509 | |
| 1510 | | PORT_START // IN1 - Player 2 |
| 1510 | PORT_START_TAG("IN1") // IN1 - Player 2 |
| 1511 | 1511 | PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(2) |
| 1512 | 1512 | PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(2) |
| 1513 | 1513 | PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(2) |
| r1418 | r1419 | |
| 1529 | 1529 | |
| 1530 | 1530 | /* Gaia Crusaders, no EEPROM. Has DIPS */ |
| 1531 | 1531 | static INPUT_PORTS_START( gaia ) |
| 1532 | | PORT_START // IN0 - Player 1 + 2 |
| 1533 | | PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(1) |
| 1534 | | PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(1) |
| 1535 | | PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(1) |
| 1536 | | PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(1) |
| 1537 | | PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) |
| 1538 | | PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) |
| 1539 | | PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1) |
| 1532 | PORT_INCLUDE( cave ) |
| 1533 | |
| 1534 | PORT_MODIFY("IN0") // IN0 - Player 1 + 2 |
| 1540 | 1535 | PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(1) |
| 1541 | 1536 | |
| 1542 | 1537 | PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(2) |
| r1418 | r1419 | |
| 1548 | 1543 | PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2) |
| 1549 | 1544 | PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(2) |
| 1550 | 1545 | |
| 1551 | | PORT_START // IN1 - Coins |
| 1546 | PORT_MODIFY("IN1") // IN1 - Coins |
| 1552 | 1547 | PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(6) |
| 1553 | 1548 | PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(6) |
| 1554 | 1549 | PORT_SERVICE_NO_TOGGLE(0x0004, IP_ACTIVE_LOW ) |
| r1418 | r1419 | |
| 1560 | 1555 | |
| 1561 | 1556 | PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1562 | 1557 | PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1563 | | PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1564 | 1558 | PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1565 | | PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1566 | | PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1567 | | PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1568 | | PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1569 | 1559 | |
| 1570 | 1560 | PORT_START_TAG("DSW1") // Dips bank 1 |
| 1571 | 1561 | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("SW1:1") |
| r1418 | r1419 | |
| 1626 | 1616 | INPUT_PORTS_END |
| 1627 | 1617 | |
| 1628 | 1618 | static INPUT_PORTS_START( theroes ) |
| 1629 | | PORT_INCLUDE(gaia) |
| 1619 | PORT_INCLUDE( gaia ) |
| 1630 | 1620 | |
| 1631 | 1621 | PORT_MODIFY("DSW1") |
| 1632 | 1622 | PORT_DIPNAME( 0x04, 0x00, DEF_STR( Language ) ) PORT_DIPLOCATION("SW1:3") |
| r1418 | r1419 | |
| 1652 | 1642 | |
| 1653 | 1643 | /* Mazinger Z (has region stored in Eeprom) */ |
| 1654 | 1644 | static INPUT_PORTS_START( mazinger ) |
| 1655 | | PORT_START // IN0 - Player 1 |
| 1656 | | PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(1) |
| 1657 | | PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(1) |
| 1658 | | PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(1) |
| 1659 | | PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(1) |
| 1660 | | PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) |
| 1661 | | PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) |
| 1662 | | PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1) |
| 1663 | | PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_START1 ) |
| 1645 | PORT_INCLUDE( cave ) |
| 1664 | 1646 | |
| 1665 | | PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(6) |
| 1666 | | PORT_SERVICE_NO_TOGGLE(0x0200, IP_ACTIVE_LOW ) |
| 1667 | | PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_UNKNOWN ) // sw? exit service mode |
| 1668 | | PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_UNKNOWN ) // sw? enter & exit service mode |
| 1669 | | PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1670 | | PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1671 | | PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1672 | | PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1673 | | |
| 1674 | | PORT_START // IN1 - Player 2 |
| 1675 | | PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(2) |
| 1676 | | PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(2) |
| 1677 | | PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(2) |
| 1678 | | PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(2) |
| 1679 | | PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) |
| 1680 | | PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2) |
| 1681 | | PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2) |
| 1682 | | PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_START2 ) |
| 1683 | | |
| 1684 | | PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(6) |
| 1685 | | PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_SERVICE1) |
| 1686 | | PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1687 | | PORT_BIT( 0x0800, IP_ACTIVE_HIGH, IPT_SPECIAL ) // eeprom bit |
| 1688 | | PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1689 | | PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1690 | | PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1691 | | PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1692 | | |
| 1693 | | PORT_START // Eeprom Region |
| 1647 | PORT_START_TAG("EEPROM") // Eeprom Region |
| 1694 | 1648 | PORT_DIPNAME( 0xff, 0x31, DEF_STR( Region ) ) |
| 1695 | 1649 | PORT_DIPSETTING( 0x30, DEF_STR( Japan ) ) |
| 1696 | 1650 | PORT_DIPSETTING( 0x31, DEF_STR( World ) ) |
| r1418 | r1419 | |
| 1698 | 1652 | |
| 1699 | 1653 | /* Sailor Moon / Air Gallet (has region stored in Eeprom) */ |
| 1700 | 1654 | static INPUT_PORTS_START( sailormn ) |
| 1701 | | PORT_START // IN0 - Player 1 |
| 1702 | | PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(1) |
| 1703 | | PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(1) |
| 1704 | | PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(1) |
| 1705 | | PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(1) |
| 1706 | | PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) |
| 1707 | | PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) |
| 1708 | | PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1) |
| 1709 | | PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_START1 ) |
| 1655 | PORT_INCLUDE( cave ) |
| 1710 | 1656 | |
| 1711 | | PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(6) |
| 1712 | | PORT_SERVICE_NO_TOGGLE(0x0200, IP_ACTIVE_LOW ) |
| 1713 | | PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_UNKNOWN ) // sw? exit service mode |
| 1714 | | PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_UNKNOWN ) // sw? enter & exit service mode |
| 1715 | | PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1716 | | PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1717 | | PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1718 | | PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1719 | | |
| 1720 | | PORT_START // IN1 - Player 2 |
| 1721 | | PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(2) |
| 1722 | | PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(2) |
| 1723 | | PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(2) |
| 1724 | | PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(2) |
| 1725 | | PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) |
| 1726 | | PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2) |
| 1727 | | PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2) |
| 1728 | | PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_START2 ) |
| 1729 | | |
| 1730 | | PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(6) |
| 1731 | | PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_SERVICE1) |
| 1732 | | PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1733 | | PORT_BIT( 0x0800, IP_ACTIVE_HIGH, IPT_SPECIAL ) // eeprom bit |
| 1734 | | PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1735 | | PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1736 | | PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1737 | | PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1738 | | |
| 1739 | | PORT_START // Eeprom Region |
| 1657 | PORT_START_TAG("EEPROM") // Eeprom Region |
| 1740 | 1658 | PORT_DIPNAME( 0xff, 0x02, DEF_STR( Region ) ) |
| 1741 | 1659 | PORT_DIPSETTING( 0x00, DEF_STR( Japan ) ) |
| 1742 | 1660 | PORT_DIPSETTING( 0x01, DEF_STR( USA ) ) |
| r1418 | r1419 | |
| 1746 | 1664 | PORT_DIPSETTING( 0x05, "Korea" ) |
| 1747 | 1665 | INPUT_PORTS_END |
| 1748 | 1666 | |
| 1667 | /* Normal layout but with 4 buttons */ |
| 1668 | static INPUT_PORTS_START( metmqstr ) |
| 1669 | PORT_INCLUDE( cave ) |
| 1670 | |
| 1671 | PORT_MODIFY("IN0") // IN0 - Player 1 |
| 1672 | PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(1) |
| 1673 | |
| 1674 | PORT_MODIFY("IN0") // IN1 - Player 2 |
| 1675 | PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(2) |
| 1676 | INPUT_PORTS_END |
| 1677 | |
| 1749 | 1678 | /* Different layout */ |
| 1750 | 1679 | static INPUT_PORTS_START( guwange ) |
| 1751 | | PORT_START // IN0 - Player 1 & 2 |
| 1680 | PORT_START_TAG("IN0") // IN0 - Player 1 & 2 |
| 1752 | 1681 | PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_START1 ) |
| 1753 | 1682 | PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(1) |
| 1754 | 1683 | PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(1) |
| r1418 | r1419 | |
| 1767 | 1696 | PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2) |
| 1768 | 1697 | PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2) |
| 1769 | 1698 | |
| 1770 | | PORT_START // IN1 - Coins |
| 1699 | PORT_START_TAG("IN1") // IN1 - Coins |
| 1771 | 1700 | PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(6) |
| 1772 | 1701 | PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(6) |
| 1773 | 1702 | PORT_SERVICE_NO_TOGGLE(0x0004, IP_ACTIVE_LOW ) |
| r1418 | r1419 | |
| 1787 | 1716 | PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1788 | 1717 | INPUT_PORTS_END |
| 1789 | 1718 | |
| 1790 | | /* Normal layout but with 4 buttons */ |
| 1791 | | static INPUT_PORTS_START( metmqstr ) |
| 1792 | | PORT_START // IN0 - Player 1 |
| 1793 | | PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(1) |
| 1794 | | PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(1) |
| 1795 | | PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(1) |
| 1796 | | PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(1) |
| 1797 | | PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) |
| 1798 | | PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) |
| 1799 | | PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1) |
| 1800 | | PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_START1 ) |
| 1801 | 1719 | |
| 1802 | | PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(6) |
| 1803 | | PORT_SERVICE_NO_TOGGLE(0x0200, IP_ACTIVE_LOW ) |
| 1804 | | PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(1) |
| 1805 | | PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_UNKNOWN ) // sw? enter & exit service mode |
| 1806 | | PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1807 | | PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1808 | | PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1809 | | PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1810 | | |
| 1811 | | PORT_START // IN1 - Player 2 |
| 1812 | | PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(2) |
| 1813 | | PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(2) |
| 1814 | | PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(2) |
| 1815 | | PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(2) |
| 1816 | | PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) |
| 1817 | | PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2) |
| 1818 | | PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2) |
| 1819 | | PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_START2 ) |
| 1820 | | |
| 1821 | | PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(6) |
| 1822 | | PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_SERVICE1) |
| 1823 | | PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(2) |
| 1824 | | PORT_BIT( 0x0800, IP_ACTIVE_HIGH, IPT_SPECIAL ) // eeprom bit |
| 1825 | | PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1826 | | PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1827 | | PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1828 | | PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1829 | | INPUT_PORTS_END |
| 1830 | | |
| 1831 | | |
| 1832 | 1720 | static INPUT_PORTS_START( korokoro ) |
| 1833 | | PORT_START // IN0 |
| 1721 | PORT_START_TAG("IN0") // IN0 |
| 1834 | 1722 | PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(10) // bit 0x0010 of leds (coin) |
| 1835 | 1723 | PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(10) // bit 0x0020 of leds (does coin sound) |
| 1836 | 1724 | PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(10) // bit 0x0080 of leds |
| r1418 | r1419 | |
| 1849 | 1737 | PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_SERVICE1) // service coin |
| 1850 | 1738 | PORT_BIT( 0x8000, IP_ACTIVE_HIGH, IPT_SPECIAL) // motor / hopper status ??? |
| 1851 | 1739 | |
| 1852 | | PORT_START // IN1 |
| 1740 | PORT_START_TAG("IN1") // IN1 |
| 1853 | 1741 | PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1854 | 1742 | PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1855 | 1743 | PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| r1418 | r1419 | |
| 4480 | 4368 | |
| 4481 | 4369 | ***************************************************************************/ |
| 4482 | 4370 | |
| 4483 | | GAME( 1994, pwrinst2, 0, pwrinst2, metmqstr, pwrinst2, ROT0, "Atlus/Cave", "Power Instinct 2 (USA)" , 0 ) /* 94.04.08 */ |
| 4484 | | GAME( 1994, pwrins2j, pwrinst2, pwrinst2, metmqstr, pwrins2j, ROT0, "Atlus/Cave", "Gouketsuji Ichizoku 2 (Japan)" , 0 ) /* 94.04.08 */ |
| 4485 | | GAME( 1994, mazinger, 0, mazinger, mazinger, mazinger, ROT90, "Banpresto/Dynamic Pl. Toei Animation", "Mazinger Z" , 0 ) // region in eeprom |
| 4486 | | GAME( 1995, donpachi, 0, donpachi, cave, donpachi, ROT270, "Atlus/Cave", "DonPachi (US)" , 0 ) |
| 4487 | | GAME( 1995, donpacjp, donpachi, donpachi, cave, donpachi, ROT270, "Atlus/Cave", "DonPachi (Japan)" , 0 ) |
| 4488 | | GAME( 1995, donpackr, donpachi, donpachi, cave, donpachi, ROT270, "Atlus/Cave", "DonPachi (Korea)" , 0 ) |
| 4489 | | GAME( 1995, donpachk, donpachi, donpachi, cave, donpachi, ROT270, "Atlus/Cave", "DonPachi (Hong Kong)" , 0 ) |
| 4490 | | GAME( 1995, metmqstr, 0, metmqstr, metmqstr, metmqstr, ROT0, "Banpresto/Pandorabox", "Metamoqester" , 0 ) |
| 4491 | | GAME( 1995, nmaster, metmqstr, metmqstr, metmqstr, metmqstr, ROT0, "Banpresto/Pandorabox", "Oni - The Ninja Master (Japan)" , 0 ) |
| 4492 | | GAME( 1995, plegends, 0, pwrinst2, metmqstr, pwrins2j, ROT0, "Atlus/Cave", "Power Instinct Legends (USA)" , 0 ) /* 95.06.20 */ |
| 4493 | | GAME( 1995, plegendj, plegends, pwrinst2, metmqstr, pwrins2j, ROT0, "Atlus/Cave", "Gouketsuji Ichizoku Saikyou Densetsu (Japan)", 0 ) /* 95.06.20 */ |
| 4494 | | GAME( 1995, sailormn, 0, sailormn, sailormn, sailormn, ROT0, "Banpresto", "Pretty Soldier Sailor Moon (95/03/22B)" , 0 ) // region in eeprom |
| 4495 | | GAME( 1995, sailormo, sailormn, sailormn, sailormn, sailormn, ROT0, "Banpresto", "Pretty Soldier Sailor Moon (95/03/22)" , 0 ) // region in eeprom |
| 4496 | | GAME( 1996, agallet, 0, sailormn, sailormn, agallet, ROT270, "Banpresto / Gazelle", "Air Gallet" , 0 ) // board was taiwan, region in eeprom |
| 4497 | | GAME( 1996, hotdogst, 0, hotdogst, cave, hotdogst, ROT90, "Marble", "Hotdog Storm" , 0 ) |
| 4498 | | GAME( 1997, ddonpach, 0, ddonpach, cave, ddonpach, ROT270, "Atlus/Cave", "DoDonPachi (International)" , 0 ) |
| 4499 | | GAME( 1997, ddonpchj, ddonpach, ddonpach, cave, ddonpach, ROT270, "Atlus/Cave", "DoDonPachi (Japan)" , 0 ) |
| 4500 | | GAME( 1998, dfeveron, 0, dfeveron, cave, dfeveron, ROT270, "Cave (Nihon System license)", "Dangun Feveron (Japan)" , 0 ) |
| 4501 | | GAME( 1998, feversos, dfeveron, dfeveron, cave, feversos, ROT270, "Cave (Nihon System license)", "Fever SOS (International)" , 0 ) |
| 4502 | | GAME( 1998, esprade, 0, esprade, cave, esprade, ROT270, "Atlus/Cave", "ESP Ra.De. (International Ver 1998 4/22)", 0 ) |
| 4503 | | GAME( 1998, espradej, esprade, esprade, cave, esprade, ROT270, "Atlus/Cave", "ESP Ra.De. (Japan Ver 1998 4/21)" , 0 ) |
| 4504 | | GAME( 1998, espradeo, esprade, esprade, cave, esprade, ROT270, "Atlus/Cave", "ESP Ra.De. (Japan Ver 1998 4/14)" , 0 ) |
| 4505 | | GAME( 1998, uopoko, 0, uopoko, cave, uopoko, ROT0, "Cave (Jaleco license)", "Puzzle Uo Poko (International)" , 0 ) |
| 4506 | | GAME( 1998, uopokoj, uopoko, uopoko, cave, uopoko, ROT0, "Cave (Jaleco license)", "Puzzle Uo Poko (Japan)" , 0 ) |
| 4507 | | GAME( 1999, guwange, 0, guwange, guwange, guwange, ROT270, "Atlus/Cave", "Guwange (Japan)" , 0 ) |
| 4508 | | GAME( 1999, gaia, 0, gaia, gaia, gaia, ROT0, "Noise Factory", "Gaia Crusaders", GAME_IMPERFECT_SOUND ) // cuts out occasionally |
| 4509 | | GAME( 2001, theroes, 0, gaia, theroes, gaia, ROT0, "Primetek Investments", "Thunder Heroes", GAME_IMPERFECT_SOUND ) // cuts out occasionally |
| 4371 | GAME( 1994, pwrinst2, 0, pwrinst2, metmqstr, pwrinst2, ROT0, "Atlus/Cave", "Power Instinct 2 (US, Ver. 94/04/08)" , 0 ) |
| 4372 | GAME( 1994, pwrins2j, pwrinst2, pwrinst2, metmqstr, pwrins2j, ROT0, "Atlus/Cave", "Gouketsuji Ichizoku 2 (Japan, Ver. 94/04/08)" , 0 ) |
| 4373 | GAME( 1994, mazinger, 0, mazinger, mazinger, mazinger, ROT90, "Banpresto/Dynamic Pl. Toei Animation", "Mazinger Z (International/Japan)" , 0 ) // region in eeprom |
| 4374 | GAME( 1995, donpachi, 0, donpachi, cave, donpachi, ROT270, "Atlus/Cave", "DonPachi (US)" , 0 ) |
| 4375 | GAME( 1995, donpacjp, donpachi, donpachi, cave, donpachi, ROT270, "Atlus/Cave", "DonPachi (Japan)" , 0 ) |
| 4376 | GAME( 1995, donpackr, donpachi, donpachi, cave, donpachi, ROT270, "Atlus/Cave", "DonPachi (Korea)" , 0 ) |
| 4377 | GAME( 1995, donpachk, donpachi, donpachi, cave, donpachi, ROT270, "Atlus/Cave", "DonPachi (Hong Kong)" , 0 ) |
| 4378 | GAME( 1995, metmqstr, 0, metmqstr, metmqstr, metmqstr, ROT0, "Banpresto/Pandorabox", "Metamoqester (International)" , 0 ) |
| 4379 | GAME( 1995, nmaster, metmqstr, metmqstr, metmqstr, metmqstr, ROT0, "Banpresto/Pandorabox", "Oni - The Ninja Master (Japan)" , 0 ) |
| 4380 | GAME( 1995, plegends, 0, pwrinst2, metmqstr, pwrins2j, ROT0, "Atlus/Cave", "Power Instinct Legends (US, Ver. 95/06/20)" , 0 ) |
| 4381 | GAME( 1995, plegendj, plegends, pwrinst2, metmqstr, pwrins2j, ROT0, "Atlus/Cave", "Gouketsuji Ichizoku Saikyou Densetsu (Japan, Ver. 95/06/20)", 0 ) |
| 4382 | GAME( 1995, sailormn, 0, sailormn, sailormn, sailormn, ROT0, "Banpresto", "Pretty Soldier Sailor Moon (JUEHTK, Ver. 95/03/22B)" , 0 ) // region in eeprom |
| 4383 | GAME( 1995, sailormo, sailormn, sailormn, sailormn, sailormn, ROT0, "Banpresto", "Pretty Soldier Sailor Moon (JUEHTK, Ver. 95/03/22)" , 0 ) // region in eeprom |
| 4384 | GAME( 1996, agallet, 0, sailormn, sailormn, agallet, ROT270, "Banpresto / Gazelle", "Air Gallet (JUEHTK)" , 0 ) // board was taiwan, region in eeprom |
| 4385 | GAME( 1996, hotdogst, 0, hotdogst, cave, hotdogst, ROT90, "Marble", "Hotdog Storm (International)" , 0 ) |
| 4386 | GAME( 1997, ddonpach, 0, ddonpach, cave, ddonpach, ROT270, "Atlus/Cave", "DoDonPachi (International, Master Ver. 97/02/05)" , 0 ) |
| 4387 | GAME( 1997, ddonpchj, ddonpach, ddonpach, cave, ddonpach, ROT270, "Atlus/Cave", "DoDonPachi (Japan, Master Ver. 97/02/05)" , 0 ) |
| 4388 | GAME( 1998, dfeveron, feversos, dfeveron, cave, dfeveron, ROT270, "Cave (Nihon System license)", "Dangun Feveron (Japan, Ver. 98/09/17)" , 0 ) |
| 4389 | GAME( 1998, feversos, 0, dfeveron, cave, feversos, ROT270, "Cave (Nihon System license)", "Fever SOS (International, Ver. 98/09/25)" , 0 ) |
| 4390 | GAME( 1998, esprade, 0, esprade, cave, esprade, ROT270, "Atlus/Cave", "ESP Ra.De. (International, Ver. 98/04/22)" , 0 ) |
| 4391 | GAME( 1998, espradej, esprade, esprade, cave, esprade, ROT270, "Atlus/Cave", "ESP Ra.De. (Japan, Ver. 98/04/21)" , 0 ) |
| 4392 | GAME( 1998, espradeo, esprade, esprade, cave, esprade, ROT270, "Atlus/Cave", "ESP Ra.De. (Japan, Ver. 98/04/14)" , 0 ) |
| 4393 | GAME( 1998, uopoko, 0, uopoko, cave, uopoko, ROT0, "Cave (Jaleco license)", "Puzzle Uo Poko (International)" , 0 ) |
| 4394 | GAME( 1998, uopokoj, uopoko, uopoko, cave, uopoko, ROT0, "Cave (Jaleco license)", "Puzzle Uo Poko (Japan)" , 0 ) |
| 4395 | GAME( 1999, guwange, 0, guwange, guwange, guwange, ROT270, "Atlus/Cave", "Guwange (Japan, Master Ver. 99/06/24)" , 0 ) |
| 4396 | GAME( 1999, gaia, 0, gaia, gaia, gaia, ROT0, "Noise Factory", "Gaia Crusaders", GAME_IMPERFECT_SOUND ) // cuts out occasionally |
| 4397 | GAME( 2001, theroes, 0, gaia, theroes, gaia, ROT0, "Primetek Investments", "Thunder Heroes", GAME_IMPERFECT_SOUND ) // cuts out occasionally |
| 4510 | 4398 | |
| 4511 | | GAME( 1999, korokoro, 0, korokoro, korokoro, korokoro, ROT0, "Takumi", "Koro Koro Quest (Japan)" , 0 ) |
| 4399 | GAME( 1999, korokoro, 0, korokoro, korokoro, korokoro, ROT0, "Takumi", "Koro Koro Quest (Japan)" , 0 ) |
src/mame/drivers/rpunch.c
| r1418 | r1419 | |
| 302 | 302 | *************************************/ |
| 303 | 303 | |
| 304 | 304 | static INPUT_PORTS_START( rpunch ) |
| 305 | | PORT_START /* c0018 lower 8 bits */ |
| 305 | PORT_START_TAG("P1") /* c0018 lower 8 bits */ |
| 306 | 306 | PORT_BIT( 0x0001, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |
| 307 | 307 | PORT_BIT( 0x0002, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) |
| 308 | 308 | PORT_BIT( 0x0004, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) |
| r1418 | r1419 | |
| 311 | 311 | PORT_BIT( 0x0020, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_PLAYER(1) |
| 312 | 312 | PORT_BIT( 0xffc0, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 313 | 313 | |
| 314 | | PORT_START /* c001a lower 8 bits */ |
| 314 | PORT_START_TAG("P2") /* c001a lower 8 bits */ |
| 315 | 315 | PORT_BIT( 0x0001, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) |
| 316 | 316 | PORT_BIT( 0x0002, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) |
| 317 | 317 | PORT_BIT( 0x0004, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) |
| r1418 | r1419 | |
| 320 | 320 | PORT_BIT( 0x0020, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_PLAYER(2) |
| 321 | 321 | PORT_BIT( 0xffc0, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 322 | 322 | |
| 323 | | PORT_START /* c0018/c001a upper 8 bits */ |
| 323 | PORT_START_TAG("SERVICE") /* c0018/c001a upper 8 bits */ |
| 324 | 324 | PORT_BIT( 0x00ff, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 325 | | PORT_BIT( 0x0100, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 326 | | PORT_SERVICE( 0x0200, IP_ACTIVE_HIGH ) |
| 327 | | PORT_BIT( 0x0400, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 325 | PORT_BIT( 0x0100, IP_ACTIVE_HIGH, IPT_SERVICE1 ) |
| 326 | PORT_BIT( 0x0200, IP_ACTIVE_HIGH, IPT_SERVICE ) /* Hold F2 at bootup */ |
| 327 | PORT_BIT( 0x0400, IP_ACTIVE_HIGH, IPT_UNUSED ) /* Freeze game */ |
| 328 | 328 | PORT_BIT( 0x0800, IP_ACTIVE_HIGH, IPT_COIN2 ) |
| 329 | 329 | PORT_BIT( 0x1000, IP_ACTIVE_HIGH, IPT_COIN1 ) |
| 330 | 330 | PORT_BIT( 0x2000, IP_ACTIVE_HIGH, IPT_START1 ) |
| 331 | 331 | PORT_BIT( 0x4000, IP_ACTIVE_HIGH, IPT_START2 ) |
| 332 | 332 | PORT_BIT( 0x8000, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 333 | 333 | |
| 334 | | PORT_START /* c001c DIP switches */ |
| 335 | | PORT_DIPNAME( 0x000f, 0x0000, DEF_STR( Coin_A )) |
| 334 | PORT_START_TAG("DSW") /* c001c DIP switches */ |
| 335 | PORT_DIPNAME( 0x000f, 0x0000, DEF_STR( Coin_A )) PORT_DIPLOCATION("SWA:1,2,3,4") |
| 336 | 336 | PORT_DIPSETTING( 0x000d, DEF_STR( 3C_1C )) |
| 337 | 337 | PORT_DIPSETTING( 0x000c, DEF_STR( 2C_1C )) |
| 338 | 338 | PORT_DIPSETTING( 0x0005, "6 Coins/4 Credits") |
| r1418 | r1419 | |
| 345 | 345 | PORT_DIPSETTING( 0x000a, DEF_STR( 1C_4C )) |
| 346 | 346 | PORT_DIPSETTING( 0x000b, DEF_STR( 1C_5C )) |
| 347 | 347 | PORT_DIPSETTING( 0x0004, DEF_STR( 1C_6C )) |
| 348 | | PORT_DIPNAME( 0x00f0, 0x0000, DEF_STR( Coin_B )) |
| 348 | PORT_DIPNAME( 0x00f0, 0x0000, DEF_STR( Coin_B )) PORT_DIPLOCATION("SWA:5,6,7,8") |
| 349 | 349 | PORT_DIPSETTING( 0x00d0, DEF_STR( 3C_1C )) |
| 350 | 350 | PORT_DIPSETTING( 0x00c0, DEF_STR( 2C_1C )) |
| 351 | 351 | PORT_DIPSETTING( 0x0050, "6 Coins/4 Credits") |
| r1418 | r1419 | |
| 358 | 358 | PORT_DIPSETTING( 0x00a0, DEF_STR( 1C_4C )) |
| 359 | 359 | PORT_DIPSETTING( 0x00b0, DEF_STR( 1C_5C )) |
| 360 | 360 | PORT_DIPSETTING( 0x0040, DEF_STR( 1C_6C )) |
| 361 | | PORT_DIPNAME( 0x0300, 0x0000, DEF_STR( Difficulty )) |
| 361 | |
| 362 | |
| 363 | PORT_DIPNAME( 0x0300, 0x0000, DEF_STR( Difficulty )) PORT_DIPLOCATION("SWB:1,2") |
| 362 | 364 | PORT_DIPSETTING( 0x0200, DEF_STR( Easy ) ) |
| 363 | 365 | PORT_DIPSETTING( 0x0000, DEF_STR( Normal ) ) |
| 364 | 366 | PORT_DIPSETTING( 0x0100, DEF_STR( Hard ) ) |
| 365 | 367 | PORT_DIPSETTING( 0x0300, DEF_STR( Hardest ) ) |
| 366 | | PORT_DIPNAME( 0x0400, 0x0400, DEF_STR( Lives )) |
| 368 | PORT_DIPNAME( 0x0400, 0x0000, DEF_STR( Lives )) PORT_DIPLOCATION("SWB:3") |
| 367 | 369 | PORT_DIPSETTING( 0x0000, "2" ) |
| 368 | 370 | PORT_DIPSETTING( 0x0400, "3" ) |
| 369 | | PORT_DIPNAME( 0x0800, 0x0000, "Laser" ) |
| 371 | PORT_DIPNAME( 0x0800, 0x0000, "Laser" ) PORT_DIPLOCATION("SWB:4") |
| 370 | 372 | PORT_DIPSETTING( 0x0000, "Manual" ) |
| 371 | 373 | PORT_DIPSETTING( 0x0800, "Semi-Automatic" ) |
| 372 | | PORT_DIPNAME( 0x1000, 0x0000, "Extended Play" ) |
| 374 | PORT_DIPNAME( 0x1000, 0x0000, "Extended Play" ) PORT_DIPLOCATION("SWB:5") |
| 373 | 375 | PORT_DIPSETTING( 0x0000, "500000 points" ) |
| 374 | 376 | PORT_DIPSETTING( 0x1000, DEF_STR( None ) ) |
| 375 | | PORT_DIPNAME( 0x2000, 0x2000, DEF_STR( Demo_Sounds )) |
| 377 | PORT_DIPNAME( 0x2000, 0x2000, DEF_STR( Demo_Sounds )) PORT_DIPLOCATION("SWB:6") |
| 376 | 378 | PORT_DIPSETTING( 0x0000, DEF_STR( Off )) |
| 377 | 379 | PORT_DIPSETTING( 0x2000, DEF_STR( On )) |
| 378 | | PORT_DIPNAME( 0x4000, 0x0000, DEF_STR( Continues ) ) |
| 380 | PORT_DIPNAME( 0x4000, 0x0000, DEF_STR( Continues ) ) PORT_DIPLOCATION("SWB:7") |
| 379 | 381 | PORT_DIPSETTING( 0x4000, DEF_STR( Off )) |
| 380 | 382 | PORT_DIPSETTING( 0x0000, DEF_STR( On )) |
| 381 | | PORT_DIPNAME( 0x8000, 0x0000, DEF_STR( Flip_Screen )) |
| 383 | PORT_DIPNAME( 0x8000, 0x0000, DEF_STR( Flip_Screen )) PORT_DIPLOCATION("SWB:8") |
| 382 | 384 | PORT_DIPSETTING( 0x0000, DEF_STR( Off )) |
| 383 | 385 | PORT_DIPSETTING( 0x8000, DEF_STR( On )) |
| 384 | 386 | INPUT_PORTS_END |
| 385 | 387 | |
| 386 | 388 | |
| 387 | 389 | static INPUT_PORTS_START( rabiolep ) |
| 388 | | PORT_START /* c0018 lower 8 bits */ |
| 389 | | PORT_BIT( 0x0001, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |
| 390 | | PORT_BIT( 0x0002, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) |
| 391 | | PORT_BIT( 0x0004, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) |
| 392 | | PORT_BIT( 0x0008, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1) |
| 393 | | PORT_BIT( 0x0010, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_PLAYER(1) |
| 394 | | PORT_BIT( 0x0020, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_PLAYER(1) |
| 395 | | PORT_BIT( 0xffc0, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 390 | PORT_INCLUDE( rpunch ) |
| 396 | 391 | |
| 397 | | PORT_START /* c001a lower 8 bits */ |
| 398 | | PORT_BIT( 0x0001, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) |
| 399 | | PORT_BIT( 0x0002, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) |
| 400 | | PORT_BIT( 0x0004, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) |
| 401 | | PORT_BIT( 0x0008, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2) |
| 402 | | PORT_BIT( 0x0010, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_PLAYER(2) |
| 403 | | PORT_BIT( 0x0020, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_PLAYER(2) |
| 404 | | PORT_BIT( 0xffc0, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 405 | | |
| 406 | | PORT_START /* c0018/c001a upper 8 bits */ |
| 407 | | PORT_BIT( 0x00ff, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 408 | | PORT_BIT( 0x0100, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 409 | | PORT_SERVICE( 0x0200, IP_ACTIVE_HIGH ) |
| 410 | | PORT_BIT( 0x0400, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 411 | | PORT_BIT( 0x0800, IP_ACTIVE_HIGH, IPT_COIN2 ) |
| 412 | | PORT_BIT( 0x1000, IP_ACTIVE_HIGH, IPT_COIN1 ) |
| 413 | | PORT_BIT( 0x2000, IP_ACTIVE_HIGH, IPT_START1 ) |
| 414 | | PORT_BIT( 0x4000, IP_ACTIVE_HIGH, IPT_START2 ) |
| 415 | | PORT_BIT( 0x8000, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 416 | | |
| 417 | | PORT_START /* c001c DIP switches */ |
| 418 | | PORT_DIPNAME( 0x000f, 0x0000, DEF_STR( Coin_A )) |
| 419 | | PORT_DIPSETTING( 0x000d, DEF_STR( 3C_1C )) |
| 420 | | PORT_DIPSETTING( 0x000c, DEF_STR( 2C_1C )) |
| 421 | | PORT_DIPSETTING( 0x0005, "6 Coins/4 Credits") |
| 422 | | PORT_DIPSETTING( 0x0000, DEF_STR( 1C_1C )) |
| 423 | | PORT_DIPSETTING( 0x0003, "5 Coins/6 Credits" ) |
| 424 | | PORT_DIPSETTING( 0x0002, DEF_STR( 4C_5C )) |
| 425 | | PORT_DIPSETTING( 0x0006, DEF_STR( 2C_3C )) |
| 426 | | PORT_DIPSETTING( 0x0008, DEF_STR( 1C_2C )) |
| 427 | | PORT_DIPSETTING( 0x0009, DEF_STR( 1C_3C )) |
| 428 | | PORT_DIPSETTING( 0x000a, DEF_STR( 1C_4C )) |
| 429 | | PORT_DIPSETTING( 0x000b, DEF_STR( 1C_5C )) |
| 430 | | PORT_DIPSETTING( 0x0004, DEF_STR( 1C_6C )) |
| 431 | | PORT_DIPNAME( 0x00f0, 0x0000, DEF_STR( Coin_B )) |
| 432 | | PORT_DIPSETTING( 0x00d0, DEF_STR( 3C_1C )) |
| 433 | | PORT_DIPSETTING( 0x00c0, DEF_STR( 2C_1C )) |
| 434 | | PORT_DIPSETTING( 0x0050, "6 Coins/4 Credits") |
| 435 | | PORT_DIPSETTING( 0x0000, DEF_STR( 1C_1C )) |
| 436 | | PORT_DIPSETTING( 0x0030, "5 Coins/6 Credits" ) |
| 437 | | PORT_DIPSETTING( 0x0020, DEF_STR( 4C_5C )) |
| 438 | | PORT_DIPSETTING( 0x0060, DEF_STR( 2C_3C )) |
| 439 | | PORT_DIPSETTING( 0x0080, DEF_STR( 1C_2C )) |
| 440 | | PORT_DIPSETTING( 0x0090, DEF_STR( 1C_3C )) |
| 441 | | PORT_DIPSETTING( 0x00a0, DEF_STR( 1C_4C )) |
| 442 | | PORT_DIPSETTING( 0x00b0, DEF_STR( 1C_5C )) |
| 443 | | PORT_DIPSETTING( 0x0040, DEF_STR( 1C_6C )) |
| 444 | | PORT_DIPNAME( 0x0300, 0x0000, DEF_STR( Difficulty )) |
| 445 | | PORT_DIPSETTING( 0x0200, DEF_STR( Easy ) ) |
| 446 | | PORT_DIPSETTING( 0x0000, DEF_STR( Normal ) ) |
| 447 | | PORT_DIPSETTING( 0x0100, DEF_STR( Hard ) ) |
| 448 | | PORT_DIPSETTING( 0x0300, DEF_STR( Hardest ) ) |
| 449 | | PORT_DIPNAME( 0x0400, 0x0000, DEF_STR( Lives )) |
| 450 | | PORT_DIPSETTING( 0x0400, "2" ) |
| 392 | PORT_MODIFY("DSW") |
| 393 | PORT_DIPNAME( 0x0400, 0x0000, DEF_STR( Lives )) PORT_DIPLOCATION("SWB:3") |
| 451 | 394 | PORT_DIPSETTING( 0x0000, "3" ) |
| 452 | | PORT_DIPNAME( 0x0800, 0x0000, "Laser" ) |
| 453 | | PORT_DIPSETTING( 0x0800, "Manual" ) |
| 395 | PORT_DIPSETTING( 0x0400, "2" ) |
| 396 | PORT_DIPNAME( 0x0800, 0x0000, "Laser" ) PORT_DIPLOCATION("SWB:4") |
| 454 | 397 | PORT_DIPSETTING( 0x0000, "Semi-Automatic" ) |
| 455 | | PORT_DIPNAME( 0x1000, 0x0000, "Extended Play" ) |
| 398 | PORT_DIPSETTING( 0x0800, "Manual" ) |
| 399 | PORT_DIPNAME( 0x1000, 0x0000, "Extended Play" ) PORT_DIPLOCATION("SWB:5") |
| 456 | 400 | PORT_DIPSETTING( 0x0000, "500000 points" ) |
| 457 | 401 | PORT_DIPSETTING( 0x1000, "300000 points" ) |
| 458 | | PORT_DIPNAME( 0x2000, 0x0000, DEF_STR( Demo_Sounds )) |
| 402 | PORT_DIPNAME( 0x2000, 0x0000, DEF_STR( Demo_Sounds )) PORT_DIPLOCATION("SWB:6") |
| 459 | 403 | PORT_DIPSETTING( 0x2000, DEF_STR( Off )) |
| 460 | 404 | PORT_DIPSETTING( 0x0000, DEF_STR( On )) |
| 461 | | PORT_DIPNAME( 0x4000, 0x0000, DEF_STR( Continues ) ) |
| 462 | | PORT_DIPSETTING( 0x4000, DEF_STR( Off )) |
| 463 | | PORT_DIPSETTING( 0x0000, DEF_STR( On )) |
| 464 | | PORT_DIPNAME( 0x8000, 0x0000, DEF_STR( Flip_Screen )) |
| 465 | | PORT_DIPSETTING( 0x0000, DEF_STR( Off )) |
| 466 | | PORT_DIPSETTING( 0x8000, DEF_STR( On )) |
| 467 | 405 | INPUT_PORTS_END |
| 468 | 406 | |
| 469 | 407 | |
| 470 | 408 | |
| 471 | 409 | static INPUT_PORTS_START( svolley ) |
| 472 | | PORT_START /* c0018 lower 8 bits */ |
| 473 | | PORT_BIT( 0x0001, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |
| 474 | | PORT_BIT( 0x0002, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) |
| 475 | | PORT_BIT( 0x0004, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) |
| 476 | | PORT_BIT( 0x0008, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1) |
| 477 | | PORT_BIT( 0x0010, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_PLAYER(1) |
| 478 | | PORT_BIT( 0x0020, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_PLAYER(1) |
| 479 | | PORT_BIT( 0xffc0, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 410 | PORT_INCLUDE( rpunch ) |
| 480 | 411 | |
| 481 | | PORT_START /* c001a lower 8 bits */ |
| 482 | | PORT_BIT( 0x0001, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) |
| 483 | | PORT_BIT( 0x0002, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) |
| 484 | | PORT_BIT( 0x0004, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) |
| 485 | | PORT_BIT( 0x0008, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2) |
| 486 | | PORT_BIT( 0x0010, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_PLAYER(2) |
| 487 | | PORT_BIT( 0x0020, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_PLAYER(2) |
| 488 | | PORT_BIT( 0xffc0, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 412 | PORT_MODIFY("SERVICE") |
| 413 | PORT_BIT( 0x0200, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 489 | 414 | |
| 490 | | PORT_START /* c0018/c001a upper 8 bits */ |
| 491 | | PORT_BIT( 0x00ff, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 492 | | PORT_BIT( 0x0700, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 493 | | PORT_BIT( 0x0800, IP_ACTIVE_HIGH, IPT_COIN2 ) |
| 494 | | PORT_BIT( 0x1000, IP_ACTIVE_HIGH, IPT_COIN1 ) |
| 495 | | PORT_BIT( 0x2000, IP_ACTIVE_HIGH, IPT_START1 ) |
| 496 | | PORT_BIT( 0x4000, IP_ACTIVE_HIGH, IPT_START2 ) |
| 497 | | PORT_BIT( 0x8000, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 498 | | |
| 499 | | PORT_START /* c001c DIP switches */ |
| 500 | | PORT_DIPNAME( 0x000f, 0x0000, DEF_STR( Coin_A )) |
| 501 | | PORT_DIPSETTING( 0x000d, DEF_STR( 3C_1C )) |
| 502 | | PORT_DIPSETTING( 0x000c, DEF_STR( 2C_1C )) |
| 503 | | PORT_DIPSETTING( 0x0005, "6 Coins/4 Credits") |
| 504 | | PORT_DIPSETTING( 0x0000, DEF_STR( 1C_1C )) |
| 505 | | PORT_DIPSETTING( 0x0003, "5 Coins/6 Credits" ) |
| 506 | | PORT_DIPSETTING( 0x0002, DEF_STR( 4C_5C )) |
| 507 | | PORT_DIPSETTING( 0x0006, DEF_STR( 2C_3C )) |
| 508 | | PORT_DIPSETTING( 0x0008, DEF_STR( 1C_2C )) |
| 509 | | PORT_DIPSETTING( 0x0009, DEF_STR( 1C_3C )) |
| 510 | | PORT_DIPSETTING( 0x000a, DEF_STR( 1C_4C )) |
| 511 | | PORT_DIPSETTING( 0x000b, DEF_STR( 1C_5C )) |
| 512 | | PORT_DIPSETTING( 0x0004, DEF_STR( 1C_6C )) |
| 513 | | PORT_DIPNAME( 0x00f0, 0x0000, DEF_STR( Coin_B )) |
| 514 | | PORT_DIPSETTING( 0x00d0, DEF_STR( 3C_1C )) |
| 515 | | PORT_DIPSETTING( 0x00c0, DEF_STR( 2C_1C )) |
| 516 | | PORT_DIPSETTING( 0x0050, "6 Coins/4 Credits") |
| 517 | | PORT_DIPSETTING( 0x0000, DEF_STR( 1C_1C )) |
| 518 | | PORT_DIPSETTING( 0x0030, "5 Coins/6 Credits" ) |
| 519 | | PORT_DIPSETTING( 0x0020, DEF_STR( 4C_5C )) |
| 520 | | PORT_DIPSETTING( 0x0060, DEF_STR( 2C_3C )) |
| 521 | | PORT_DIPSETTING( 0x0080, DEF_STR( 1C_2C )) |
| 522 | | PORT_DIPSETTING( 0x0090, DEF_STR( 1C_3C )) |
| 523 | | PORT_DIPSETTING( 0x00a0, DEF_STR( 1C_4C )) |
| 524 | | PORT_DIPSETTING( 0x00b0, DEF_STR( 1C_5C )) |
| 525 | | PORT_DIPSETTING( 0x0040, DEF_STR( 1C_6C )) |
| 526 | | PORT_DIPNAME( 0x0100, 0x0000, DEF_STR( Game_Time )) |
| 415 | PORT_MODIFY("DSW") |
| 416 | PORT_DIPNAME( 0x0100, 0x0000, DEF_STR( Game_Time )) PORT_DIPLOCATION("SWB:1") |
| 527 | 417 | PORT_DIPSETTING( 0x0100, "2 min/1 min" ) |
| 528 | 418 | PORT_DIPSETTING( 0x0000, "3 min/1.5 min" ) |
| 529 | | PORT_DIPNAME( 0x0600, 0x0000, "2P Starting Score" ) |
| 419 | PORT_DIPNAME( 0x0600, 0x0000, "2P Starting Score" ) PORT_DIPLOCATION("SWB:2,3") |
| 530 | 420 | PORT_DIPSETTING( 0x0600, "0-0" ) |
| 531 | 421 | PORT_DIPSETTING( 0x0400, "5-5" ) |
| 532 | 422 | PORT_DIPSETTING( 0x0000, "7-7" ) |
| 533 | 423 | PORT_DIPSETTING( 0x0200, "9-9" ) |
| 534 | | PORT_DIPNAME( 0x1800, 0x0000, "1P Starting Score" ) |
| 424 | PORT_DIPNAME( 0x1800, 0x0000, "1P Starting Score" ) PORT_DIPLOCATION("SWB:4,5") |
| 535 | 425 | PORT_DIPSETTING( 0x1000, "9-11" ) |
| 536 | 426 | PORT_DIPSETTING( 0x1800, "10-10" ) |
| 537 | 427 | PORT_DIPSETTING( 0x0800, "10-11" ) |
| 538 | 428 | PORT_DIPSETTING( 0x0000, "11-11" ) |
| 539 | | PORT_SERVICE( 0x2000, IP_ACTIVE_HIGH ) |
| 540 | | PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( Demo_Sounds )) |
| 429 | PORT_SERVICE_DIPLOC( 0x2000, IP_ACTIVE_HIGH, "SWB:6" ) |
| 430 | PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( Demo_Sounds )) PORT_DIPLOCATION("SWB:7") |
| 541 | 431 | PORT_DIPSETTING( 0x0000, DEF_STR( Off )) |
| 542 | 432 | PORT_DIPSETTING( 0x4000, DEF_STR( On )) |
| 543 | | PORT_DIPNAME( 0x8000, 0x0000, DEF_STR( Flip_Screen )) |
| 544 | | PORT_DIPSETTING( 0x0000, DEF_STR( Off )) |
| 545 | | PORT_DIPSETTING( 0x8000, DEF_STR( On )) |
| 546 | 433 | INPUT_PORTS_END |
| 547 | 434 | |
| 548 | 435 | |
whatsnew.txt
| r1418 | r1419 | |
| 1 | | 0.121 |
| 1 | 0.122 |
| 2 | 2 | ----- |
| 3 | 3 | |
| 4 | 4 | |
| 5 | 5 | MAMETesters Bugs Fixed |
| 6 | 6 | ---------------------- |
| 7 | | dunhuang0120u3gra [Vas Crabb] |
| 7 | fightfev37b2gre [johnboy] |
| 8 | shootgal0121u4red [couriersud] |
| 9 | mk4_0121u4ora [Aaron Giles] |
| 10 | tmnt2_0121u4ora [Aaron Giles] |
| 11 | lcdlightgun0121u3gra [Aaron Giles] |
| 8 | 12 | |
| 9 | 13 | |
| 10 | 14 | |
| 11 | 15 | Source Changes |
| 12 | 16 | -------------- |
| 13 | | Updated DIP locations in the following drivers: [Vas Crabb] |
| 14 | | - bublbobl.c: bublbobl, tokio |
| 15 | | - cps1.c: all games |
| 16 | | - dunhuang.c: dunhuang |
| 17 | | - mario.c: marked all as active high (confirmed from manuals) |
| 18 | | - segag80r.c: astrob2, astrob1, spaceod and pignewt |
| 19 | | - segag80v.c: all games, fixed switch ordering |
| 20 | | |
| 21 | | Made more functions static to reduce namespace pollution. |
| 17 | Continued to add const qualifiers on remaining items in the project. |
| 22 | 18 | [Atari Ace] |
| 23 | 19 | |
| 24 | | Improvements to the Touchmaster driver, still labelled not working. |
| 25 | | You can actually play tm and tm3k, but sometimes you have to reset |
| 26 | | because they stop registering the touchscreen input. tm4k is |
| 27 | | protected and hence totally unplayable. [Luca Elia] |
| 20 | Added explicit clears on Neo Geo initialization. [Haze] |
| 28 | 21 | |
| 29 | | Fixed compilation problems with altivec accelerators. [Vas Crabb] |
| 22 | Neo Geo updates: [johnboy] |
| 23 | * Added Neo-Geo game pcb info |
| 24 | * Corrected a number of incorrect ROMs |
| 25 | * Added MVS VERSION tag to fightfva, renamed 'P'-rom |
| 26 | * Added MVS AND AES VERSION tag to joyjoy |
| 27 | * Added AES VERSION tag to kof99 |
| 28 | * Added MVS VERSION tag to kof99a |
| 30 | 29 | |
| 31 | | Fixed bug in Voodoo statistics accumulation. [Atari Ace] |
| 30 | Cleaned up input ports for cave.c and rpunch.c. [Sonikos] |
| 32 | 31 | |
| 33 | | Reverted to old behavior where even with -switchres disabled, |
| 34 | | MAME will use exclusive mode when rendering with Direct3D. This |
| 35 | | means some of the switching to/from fullscreen mode problems will |
| 36 | | come back, but should prevent confusion over poor performance by |
| 37 | | default. [Aaron Giles] |
| 32 | Another big dkong.c driver update: [couriersud] |
| 33 | - wrote M58817 sound driver and hooked it up |
| 34 | Uses tms5110 speech synthesis. LPC format is identical, however |
| 35 | coefficients seem to be different. Until coefficients are known, |
| 36 | samples are used. |
| 37 | - changed dkong/radarscp based games to use hardware-conformant |
| 38 | I8035 memory maps |
| 39 | - Added drakton clone drktnjr on dkongjr hardware |
| 40 | - moved address remapping proms to REGION_USER1 (hunchbkd & co) |
| 41 | - Service now adds credit |
| 42 | - Hooked up coin_counters |
| 43 | - remove GAME_NOT_WORKING GAME_WRONG_COLORS from hunchbkd |
| 44 | - dkongjr: mapped more interface lines between sound and cpu boards |
| 45 | - tagged all inputs, all reads use tag names |
| 46 | - moved more static vars into dkong_state |
| 38 | 47 | |
| 39 | | Made it a non-fatal error if we are unable to change a joystick to |
| 40 | | absolute mode in the Windows input code. Some drivers apparently |
| 41 | | freak out about this. [Aaron Giles] |
| 48 | More major SCSP fixes: [kingshriek] |
| 49 | - Rewrote much of the interpolation code |
| 50 | - Improved key-rate scaling calculation |
| 51 | - Fixed playback of non-looping samples with a zero loop-end address |
| 52 | - Fixed backwards looping mode so that it initially reads forward |
| 53 | until encountering the loop-start address |
| 54 | - Preliminary but reasonable-sounding FM support |
| 55 | - Fixed overflow in frequency calculation |
| 56 | - Improved FM, but it's disabled for now because it doesn't sound |
| 57 | right yet |
| 58 | - Improved DSP wet/dry mix (should be correct now) |
| 59 | - Fixed a minor LPSLNK problem |
| 42 | 60 | |
| 43 | | Defined a couple more inline functions: div_64x32_rem and the |
| 44 | | unsigned equivalent divu_64x32_rem. Added inline implementations |
| 45 | | for GCC x86 and MSVC. [Aaron Giles, Vas Crabb] |
| 61 | Fixed Hopper Empty and Coin-Out Timeout issues in the peplus.c driver. |
| 62 | [Jim Stolis] |
| 46 | 63 | |
| 47 | | Cleaned up timer interfaces. Created new module attotime which manages |
| 48 | | a new structure type attotime, equivalent to the old mame_time. All |
| 49 | | time math functions are now implemented in attotime and have been |
| 50 | | removed from timer.h. The following search/replace over the code has |
| 51 | | been made: |
| 64 | Removed obsolete crosshair code. [Oliver Stoneberg] |
| 52 | 65 | |
| 53 | | mame_time -> attotime |
| 54 | | subseconds_t -> attoseconds_t |
| 55 | | time_zero -> attotime_zero |
| 56 | | time_never -> attotime_never |
| 57 | | |
| 58 | | make_mame_make -> attotime_make |
| 59 | | mame_time_to_subseconds-> attotime_to_attoseconds |
| 60 | | mame_time_to_double -> attotime_to_double |
| 61 | | double_to_mame_time -> double_to_attotime |
| 62 | | add_mame_times -> attotime_add |
| 63 | | add_subseconds_to_mame_time -> attotime_add_subseconds |
| 64 | | sub_mame_times -> attotime_sub |
| 65 | | sub_subseconds_from_mame_time -> attotime_sub_subseconds |
| 66 | | scale_up_mame_time -> attotime_mul |
| 67 | | scale_down_mame_time -> attotime_div |
| 68 | | compare_mame_times -> attotime_compare |
| 66 | Fixed several minor memory leaks. [Oliver Stoneberg] |
| 69 | 67 | |
| 70 | | SUBSECONDS_TO_DOUBLE -> ATTOSECONDS_TO_DOUBLE |
| 71 | | DOUBLE_TO_SUBSECONDS -> DOUBLE_TO_ATTOSECONDS |
| 72 | | USEC_TO_SUBSECONDS -> ATTOSECONDS_IN_USEC |
| 73 | | SUBSECONDS_TO_HZ -> ATTOSECONDS_TO_HZ |
| 74 | | HZ_TO_SUBSECONDS -> HZ_TO_ATTOSECONDS |
| 75 | | MAME_TIME_IN_HZ -> ATTOTIME_IN_HZ |
| 76 | | MAME_TIME_IN_SEC -> ATTOTIME_IN_SEC |
| 77 | | MAME_TIME_IN_MSEC -> ATTOTIME_IN_MSEC |
| 78 | | MAME_TIME_IN_USEC -> ATTOTIME_IN_USEC |
| 79 | | MAME_TIME_IN_NSEC -> ATTOTIME_IN_NSEC |
| 80 | | MAME_TIME_TO_CYCLES -> ATTOTIME_TO_CYCLES |
| 81 | | MAME_TIME_IN_CYCLES -> ATTOTIME_IN_CYCLES |
| 82 | | |
| 83 | | In addition, all the mame_timer_* functions have been renamed back to |
| 84 | | their original names timer_*, so it is timer_set() instead of |
| 85 | | mame_timer_set() once again. The mame_timer object itself has been |
| 86 | | renamed to emu_timer. |
| 87 | 68 | |
| 88 | 69 | |
| 89 | | |
| 90 | 70 | New games added or promoted from NOT_WORKING status |
| 91 | 71 | --------------------------------------------------- |
| 92 | | Best Of Best [Luca Elia] |
| 72 | Orbs (10/7/94 prototype?) [Tomasz Slanina] |
| 93 | 73 | |
| 94 | 74 | |
| 95 | 75 | |
| 96 | 76 | New clones added |
| 97 | 77 | ---------------- |
| 98 | | Cluedo (prod. 2) [James Wallace] |
| 78 | Soccer Brawl (set 2) [johnboy] |
| 79 | Drakton (DKJr conversion) [couriersud] |
| 99 | 80 | |
| 100 | 81 | |
| 101 | 82 | |
| 102 | | 0.120u4 |
| 83 | 0.121u4 |
| 103 | 84 | ------- |
| 104 | 85 | |
| 105 | 86 | |
| 106 | 87 | MAMETesters Bugs Fixed |
| 107 | 88 | ---------------------- |
| 108 | | gradius4_0120u3yel [Aaron Giles] |
| 109 | | vegas.c0120u3yel [Aaron Giles] |
| 89 | namcos22.c_0121u1red [Aaron Giles] |
| 110 | 90 | |
| 111 | 91 | |
| 112 | 92 | |
| 113 | 93 | Source Changes |
| 114 | 94 | -------------- |
| 115 | | Made some minor changes in the inline code. The result of |
| 116 | | atomic_add32 isn't used a lot of the time, so the final addition was |
| 117 | | brought out to allow it to be optimized away. Removed the unnecessary |
| 118 | | delta argument from atomic_increment32 and atomic_decrement32 in |
| 119 | | eminline.h, and added implementations. Changed the condition for |
| 120 | | using rgbsse.h to include 32-bit platforms with SSE enabled. |
| 121 | | [Vas Crabb] |
| 95 | Added new option -update_in_pause which enables updating the screen |
| 96 | bitmap while the game is paused. This is useful for debuggin in |
| 97 | some scenarios (and gets in the way in others). [Olivier Galibert] |
| 122 | 98 | |
| 123 | | Did a major clean-up of the input ports in ssv.c. Brought out the |
| 124 | | common joystick, mahjong and quiz input setups, and then used |
| 125 | | PORT_INCLUDE to pull them in when needed. Also brought out the |
| 126 | | common coinage settings, to avoid needless repetition. [Vas Crabb] |
| 99 | Added new VIDEO_TYPE_NONE to indicate that there is no screen, and |
| 100 | fixed internal UI displays to ignore resolution parameters if it is |
| 101 | specified. [Dirk Best] |
| 127 | 102 | |
| 128 | | Analyzed all driver interfaces (DRIVER_INIT, READ8_HANDLER, etc.) to |
| 129 | | determine which ones should be made static and properly tagged them |
| 130 | | all to reduce global namespace pollution. Some cases turned out to be |
| 131 | | dead code, which was also properly tagged. [Atari Ace] |
| 103 | Added missing consts to the files in the emu, lib, and osd |
| 104 | directories. [Atari Ace] |
| 132 | 105 | |
| 133 | | Updated the Tube Panic driver, fixing the background scroll-in (it's |
| 134 | | smooth again now). The problem was caused by wrong synchronization |
| 135 | | between main and slave CPUs. Also modified the video driver to be |
| 136 | | scanline accurate and implemented more accurate interrupt handling. |
| 137 | | [Jarek Burczynski] |
| 106 | Updated drivers to use const structs and arrays where possible. |
| 107 | [Atari Ace] |
| 138 | 108 | |
| 139 | | Altered TTL low high levels in res_net.c. This will broaden the color |
| 140 | | range a bit. Since the results are normalized, there is only a limited |
| 141 | | effect visible. [couriersud] |
| 109 | shisen improvements: [Sonikos] |
| 110 | - added dips location |
| 111 | - added dips condition |
| 112 | - remove fake dips coinage |
| 113 | - fix tow dips in matchit |
| 142 | 114 | |
| 143 | | Cleaned up inputs and added dip locations in ms32.c. Also fixed dips |
| 144 | | in "47pie2" and "akiss". [Sonikos] |
| 115 | Updated inputs in qrouka to support the 3rd and 4th stick. [Sonikos] |
| 145 | 116 | |
| 146 | | Fixed bug that caused incorrect input to be read if multiple inputs |
| 147 | | were mapped to the same mouse input under Windows. [Nathan Woods] |
| 117 | Fixed crash in mngwrite if the game does not have a palette. |
| 118 | [Nathan Woods] |
| 148 | 119 | |
| 149 | | Fixed a bug in the i8051 core that improperly fired the Timer2 |
| 150 | | interrupt when it wasn't enabled. [Jim Stolis] |
| 120 | SCSP updates: [kingshriek] |
| 121 | - Added effect-in mixer |
| 122 | - Added DSP floating-point support |
| 123 | - Added bounds check to the DECAY1 EG output |
| 124 | - Fixed the saw PLFO waveform |
| 125 | - Fixed loop points so loops no longer go out of tune/include |
| 126 | garbage samples |
| 151 | 127 | |
| 152 | | Updates to the peplus driver: [Jim Stolis] |
| 153 | | * Added lightpen support |
| 154 | | * Added PE+ Superboard support |
| 155 | | * Added ABC coin optics support |
| 156 | | * Added full I2C eeprom support |
| 157 | | * Added NVRAM support |
| 158 | | * Corrected door closure issues |
| 159 | | * Removed most memory hacks |
| 160 | | * Consolidated machines and inputs |
| 161 | | * New layout for pepp0158 |
| 128 | Fixed missing profiler call in video.c. [Christophe Jaillet] |
| 162 | 129 | |
| 163 | | Split up the MPU4 driver into a core and driver set up a la NeoGeo. |
| 164 | | Also made some timer fixes, and added some new ROMs added. |
| 165 | | [James Wallace] |
| 130 | Implemented status flag in Star Wars matrix processor, which affects |
| 131 | gameplay speed. [Mathis Rosenhauer] |
| 166 | 132 | |
| 167 | | Fixed problems introduced when the junofrst blitter code was |
| 168 | | simplified. [Chris Hardy] |
| 133 | Changed M37710 CPU to use the CPU clock for its internal timer rather |
| 134 | than a hard-coded value. Fixes tempo in Namco NA-1 games. |
| 135 | [Phillip Bennett] |
| 169 | 136 | |
| 170 | | American Poker II major rewrite: [Roberto Fresca] |
| 171 | | - Properly dervied clocks from crystals |
| 172 | | - Reworked TILE_GET_INFO to handle the proper tiles/color codes. |
| 173 | | - Fixed interrupts (NMI). |
| 174 | | - Corrected AY8910 frequency to 1.5 MHz to match the real thing. |
| 175 | | - Arranged the AY8910 volume in all games avoiding clips. |
| 176 | | - Corrected the screen visible area. |
| 177 | | - Added NVRAM support. |
| 178 | | - Reworked the memory map, mapping all the hardware I/O ports. |
| 179 | | - Reworked the Inputs for all sets. |
| 180 | | - Added implementation of Operator and Supervisor Keys. |
| 181 | | - Fixed some timing troubles. |
| 182 | | - Added partial DIP switch support with diplocations to all sets. |
| 183 | | - Removed the hack in DRIVER_INIT. |
| 184 | | - Hooked write handlers for output ports. |
| 185 | | - Added watchdog routines. |
| 186 | | - Dumped, hooked, wired and decoded the color PROM in all sets. |
| 187 | | - Modified the refresh rate according to hardware measurements. |
| 188 | | - Wired the lamps for all sets. Created their respective layouts. |
| 189 | | - Splitted the driver to driver/video. |
| 190 | | - Other minor fixes. |
| 137 | Fixed accidentally included change that allowed MAME to run in |
| 138 | windowed mode if switchres was off. [Aaron Giles] |
| 191 | 139 | |
| 192 | | SCSP fixes: [kingshriek] |
| 193 | | * Fixed DECAY1 envelope state to not exit immediately |
| 194 | | * Improved support for LPSLNK and SBCTL |
| 195 | | * Fixed panning calculation bug |
| 196 | | * Fixed case where key-rate scaling is off |
| 140 | Midway Zeus improvements: [Aaron Giles] |
| 141 | * Cleaned up video code, removed unnecessary math |
| 142 | * Added bilinear filtering |
| 143 | * Removed perspective correction |
| 144 | * Added proper video timing configuration |
| 145 | * Added lightgun support to invasn |
| 146 | * Increased resolution on fixed point math to prevent overflows |
| 147 | * Fixed texture addresses to only count even rows |
| 148 | * Added missing U/V scale factors |
| 149 | * Added solid polygon rendering support |
| 150 | * Fixed screen clear trigger |
| 151 | * Implemented fade out effect |
| 152 | * Added Z offsets |
| 153 | * Added support for splitting model commands |
| 154 | * Hooked up FIFO empty IRQ to make invasn work nicely |
| 155 | * Correct PIC values for invasn |
| 156 | * Implemented per-quad texture offsets |
| 157 | * Hooked up writes to registers during model data processing |
| 197 | 158 | |
| 198 | | Added support for indicating that DIP switches are reversed in the |
| 199 | | DIP locations view. [Vas Crabb] |
| 200 | 159 | |
| 201 | | Added DIP locations for Midway Tron and the Nintendo Donkey Kong |
| 202 | | series (dkong.c). [Vas Crabb] |
| 203 | 160 | |
| 204 | | Added an Altivec/VMX implementation of the RGB utilities for our |
| 205 | | friends with G4, G5 and POWER5 CPUs (rgbvmx.h) and added |
| 206 | | rgbint_bilinear_filter and rgbaint_bilinear_filter to rgbsse.h (based |
| 207 | | on rgb_bilinear_filter/rgba_bilinear_filter) for completeness, as |
| 208 | | these functions exist in rgbgen.h. [Vas Crabb] |
| 209 | | |
| 210 | | Updated model2.c, taitojc.c, and gticlub.c to use the new polygon |
| 211 | | routines. Deprecated the old poly.c and renamed polynew.* to poly.*. |
| 212 | | [Aaron Giles] |
| 213 | | |
| 214 | | Unified poly.c callbacks so that tri and quad callbacks work the |
| 215 | | same way. [Aaron Giles] |
| 216 | | |
| 217 | | Fixed display of floating point TMS32031 registers in the debugger. |
| 218 | | [Aaron Giles] |
| 219 | | |
| 220 | | Fixed TMS32031 ABSF opcode to work as documented and not produce a |
| 221 | | proper negative. [Aaron Giles] |
| 222 | | |
| 223 | | |
| 224 | | |
| 225 | 161 | New games added or promoted from NOT_WORKING status |
| 226 | 162 | --------------------------------------------------- |
| 227 | | Player's Edge Plus (PP0516) Double Bonus Poker [Jim Stolis] |
| 228 | | Player's Edge Plus (PP0158) 4 of a Kind Bonus Poker [Jim Stolis] |
| 229 | | Player's Edge Plus (PP0188) Standard Draw Poker [Jim Stolis] |
| 230 | | Player's Edge Plus (Set038) Set Chip [Jim Stolis] |
| 231 | | Player's Edge Plus (BE0014) Blackjack [Jim Stolis] |
| 232 | | Player's Edge Plus (KE1012) Keno [Jim Stolis] |
| 233 | | Player's Edge Plus (PS0615) Video Slots [Jim Stolis] |
| 234 | | Player's Edge Plus (PS0716) Video Slots [Jim Stolis] |
| 235 | | Player's Edge Plus (XP000019) Deuces Wild Poker [Jim Stolis] |
| 236 | | Player's Edge Plus (XS000006) Triple Triple Diamond Slots [Jim Stolis] |
| 237 | | MPU4 Unit Test [James Wallace] |
| 238 | | Sigma Poker [Roberto Fresca] |
| 163 | Mortal Kombat 4 [Aaron Giles] |
| 164 | Shin Nihon Pro Wrestling Toukon Retsuden 3 Arcade Edition |
| 165 | [R. Belmont, smf, Guru] |
| 166 | Super World Stadium '98 [R. Belmont, smf, Guru] |
| 239 | 167 | |
| 240 | 168 | |
| 241 | 169 | |
| 242 | 170 | New clones added |
| 243 | 171 | ---------------- |
| 244 | | Slipstream (950515 HISPANIC) [Guru] |
| 245 | | Kick and Run (US) [Brian Troha] |
| 246 | | American Poker 95 [Roberto Fresca] |
| 247 | | Poker De Win [Roberto Fresca] |
| 172 | Trivia Master (set 3) [Eric Marks] |
| 248 | 173 | |
| 249 | 174 | |
| 250 | 175 | |
| 251 | 176 | New games marked as GAME_NOT_WORKING |
| 252 | 177 | ------------------------------------ |
| 253 | | Vegas Poker (Prototype) [James Wallace] |
| 254 | | Sigma Poker 2000 [Roberto Fresca] |
| 178 | Kaiun Quiz [R. Belmont, smf, Guru] |
| 179 | Super World Stadium 2000 [R. Belmont, smf, Guru] |
| 255 | 180 | |
| 256 | 181 | |
| 257 | 182 | |
| 258 | | 0.120u3 |
| 183 | 0.121u3 |
| 259 | 184 | ------- |
| 260 | 185 | |
| 261 | 186 | |
| 262 | | MAMETesters Bugs Fixed |
| 263 | | ---------------------- |
| 264 | | neodriv0117u3red [Hairu] |
| 265 | | kof10th0120u2yel [Robbbert] |
| 266 | | 6800basedgames0120u2red [Curt Coder] |
| 267 | | mpatrol0120u2yel [Curt Coder] |
| 268 | | |
| 269 | | |
| 270 | | |
| 271 | 187 | Source Changes |
| 272 | 188 | -------------- |
| 273 | | Cleaned up the inline assembly for both x86 and PPC, enabled the |
| 274 | | mul32 family assembly stuff on 32-bit x86, and fixed some compiler |
| 275 | | warnings on 64-bit GCC. In addition: [Vas Crabb] |
| 276 | | * Provided single-precision reciprocal approximation code for |
| 277 | | PowerPC and x86 with SSE2. |
| 278 | | * Filled in all other TBD functions in eigccx86.h for completeness. |
| 279 | | * Conditionalised some code in eigccppc.h so that it isn't used |
| 280 | | when the compiler has 64-bit instructions available. |
| 189 | Fixed colors in loverboy. [David Haywood] |
| 281 | 190 | |
| 282 | | Added static qualifiers and renamed symbols in MAME in an effort |
| 283 | | to further tidy up the global namespace. Generally generic names were |
| 284 | | targeted and some symbols that were both static and extern. Some |
| 285 | | specifics: [Atari Ace] |
| 286 | | * K053247_ram was made static throughout and the existing |
| 287 | | K053247_export_config was used to obtain the value in xmen.c. |
| 288 | | * The enums DS1991_STATE and DSP_TYPE were unused and were therefore |
| 289 | | removed. |
| 290 | | * Dead code in cps3.c and thayers.c was discovered and commented out. |
| 191 | Fixed buffer overflow in K054539. [BUT] |
| 291 | 192 | |
| 292 | | Made almost all input port definitions static. [Aaron Giles] |
| 193 | SCSP improvements: [kingshriek] |
| 194 | - Added logarithmic envelope table |
| 195 | - Set envelope level to start at 0x17f in the ATTACK state |
| 196 | (0x3ff-0x280) as per Neill's notes |
| 197 | - Changed EG_SHIFT from 8 to 16 - more precision is needed to |
| 198 | differentiate the longer decay envelope times |
| 199 | - In the DECAY1-->DECAY2 transition, changed the "<=" to "<" |
| 200 | - Decreased the output of the effect out mixer a bit |
| 201 | - Fixed unaligned 16-bit samples |
| 202 | - Prevented keyoffs from killing slots when already in the release |
| 203 | state |
| 204 | - Envelope steps in the attack state are apparently exponential. To |
| 205 | account for this, I change the envelope output to linear for |
| 206 | attacks. |
| 207 | - Change the release rate calculation to use the decay table instead |
| 208 | of the attack one. |
| 293 | 209 | |
| 294 | | Obsoleted the GAMEB macro, which is no longer necessary. [Atari Ace] |
| 210 | Fixed uninitialized variable in h6280 core. [Wilbert Pol] |
| 295 | 211 | |
| 296 | | Fixed casting issues in new inline validity checks. [R. Belmont] |
| 212 | Added meter support to the Cobra games. Cleaned up some of the |
| 213 | steppers code. [James Wallace] |
| 297 | 214 | |
| 298 | | Some build-related improvements to the sound cores: [Atari Ace] |
| 299 | | * The SCSP dependency on mame/drivers/stv.c was removed allowing it |
| 300 | | to built independent of the driver. |
| 301 | | * The WAVE dependency on MESS code was made explicit, so it can be |
| 302 | | built independentally of MESS. |
| 303 | | * VOTRAX can now be built independentally of SAMPLES. |
| 304 | | * The YM2612 core now can be built without including the YM3438 core. |
| 305 | | * Unnecessary uses of BUILD_ and HAS_ macros have been removed. |
| 306 | | * BUILD_ instead of HAS_ macros are used in 3812intf.c for |
| 307 | | consistency with the other fm cores. |
| 215 | Const-ified a number of data structures in the MAME system. |
| 216 | [Atari Ace] |
| 308 | 217 | |
| 309 | | Added DIP locations to several SSV games (in ssv.c). [Vas Crabb] |
| 218 | Added PowerPC 604 processor support. Moved PowerPC opcode tables to |
| 219 | the CPU context to allow multiple simultaneous processors with |
| 220 | different opcode tables. [Ville Linde] |
| 310 | 221 | |
| 311 | | Corrected some errors in the SH4 core and implemented store queues |
| 312 | | and the basics of DMA. Added a call to simulate dma transfers with |
| 313 | | external devices. [Samuele Zannoli] |
| 222 | dkong driver updates: [couriersud] |
| 223 | - Added configuration switch to change palette between TKG02 |
| 224 | (radarscp conversion) and TKG04 (dkong 2board) |
| 225 | - Added speech support (samples) to radarsc1 |
| 226 | - Fixed sound for drakton and strtheat |
| 227 | - Hooked up and written 8257 dma controller |
| 228 | All dkong and dkongjr based games now use the 8257 |
| 229 | All epos and 2650 based games now use the 8257 |
| 230 | - Fixed 2650 games to use dkong audio as well - only cpu replaced |
| 231 | by addon board ... |
| 232 | - Updated game flags and added missing rom entries |
| 233 | - straightened memory maps |
| 234 | - Fixed bug in dkong3b memory map |
| 235 | - Externalized sound drivers to MACHINE_START in audio/dkong.c |
| 236 | - DAC Filter now uses lowpass sallen key filter |
| 237 | - Reorganized INPUT_PORTS |
| 238 | - Added Dip-Switch locations to 8ballact |
| 239 | - Fixed 8ballact according to conversion manual |
| 240 | - Reorganized code |
| 314 | 241 | |
| 315 | | Expanded polynew.c to support quad rendering. Converted midvunit.c |
| 316 | | over to using the new quad rendering, which fixes a number of |
| 317 | | rendering issues that have plagued the driver since the start. |
| 318 | | [Aaron Giles] |
| 242 | Corrected a potential issue if more than one 8039/8035 is used by |
| 243 | a driver. Also should fix a potential inconsistency between saving |
| 244 | and loading a state. [couriersud] |
| 319 | 245 | |
| 320 | | Added Z-clipping logic to polynew.c. Converted namcos22 over to using |
| 321 | | that code. Simplified namcos22 significantly, working in quads |
| 322 | | throughout the lower-level pipeline and then handing the results off |
| 323 | | to polynew.c. [Aaron Giles] |
| 246 | Added an assert to ensure that the sound clear latch value is only |
| 247 | set at init time, since its value is not saved. [Aaron Giles] |
| 324 | 248 | |
| 325 | | Updated model3.c to use the new poly code, and changed much of the |
| 326 | | low-level implementation to make things easier. [Aaron Giles] |
| 249 | Modified src2html to sort by filename rather than assuming that the |
| 250 | osd file finding routines would do so. [Aaron Giles] |
| 327 | 251 | |
| 328 | | Defined a couple of new functions in eminline.h: atomic_increment32 |
| 329 | | and atomic_decrement32. [Aaron Giles] |
| 252 | Fix memory system regression caused by recent optimization. Fixed |
| 253 | another bug uncovered as a result in the decrypted opcode management. |
| 254 | [Aaron Giles] |
| 330 | 255 | |
| 256 | More Zeus improvements. Converted over to 64-bit data and simplified |
| 257 | the logic to work more like the hardware. [Aaron Giles] |
| 331 | 258 | |
| 332 | 259 | |
| 260 | |
| 333 | 261 | New games added or promoted from NOT_WORKING status |
| 334 | 262 | --------------------------------------------------- |
| 335 | | Every Second Counts [Philip Bennett] |
| 336 | | Treble Top [Philip Bennett] |
| 337 | | Quizvaders [Philip Bennett] |
| 263 | The Block Kuzushi (JAPAN) [Guru, smf] |
| 264 | Wrestle War (Mega-Tech) [Mame Italia] |
| 338 | 265 | |
| 339 | 266 | |
| 340 | 267 | |
| 341 | 268 | New clones added |
| 342 | 269 | ---------------- |
| 343 | | Extermination (Japan) [Corrado Tomaselli] |
| 344 | | Gang Busters (set 2) [Patrik Styrnell] |
| 345 | | Trog (rev LA5 03/29/91) [icronnya77] |
| 270 | Puzzle & Action: BoMulEul Chajara (Korea) [Guru, David Haywood] |
| 271 | DaeJeon! SanJeon SuJeon (Korea) [Guru, David Haywood] |
| 272 | Success Joe (World) [Corrado Tomaselli] |
| 346 | 273 | |
| 347 | 274 | |
| 348 | 275 | |
| 349 | 276 | New games marked as GAME_NOT_WORKING |
| 350 | 277 | ------------------------------------ |
| 351 | | Inquizitor [Philip Bennett] |
| 278 | Stress Busters [Guru, David Haywood] |
| 279 | Magical Zunou Power [Guru, David Haywood] |
| 280 | Draw 80 Poker [Jim Stolis] |
| 281 | 1 on 1 Government (JAPAN) [Guru, smf] |
| 352 | 282 | |
| 353 | 283 | |
| 354 | 284 | |
| 355 | | 0.120u2 |
| 285 | 0.121u2 |
| 356 | 286 | ------- |
| 357 | 287 | |
| 358 | 288 | |
| 359 | 289 | MAMETesters Bugs Fixed |
| 360 | 290 | ---------------------- |
| 361 | | hornet0120u1red [Ville Linde] |
| 362 | | srmp6_0120u1ora [Aaron Giles] |
| 363 | 291 | |
| 364 | 292 | |
| 365 | | |
| 366 | 293 | Source Changes |
| 367 | 294 | -------------- |
| 368 | | Rewrote ACIA6850 implementation. [Curt Coder] |
| 295 | Added speedup hack to the mosaicf2 driver. [David Haywood] |
| 369 | 296 | |
| 370 | | Did a complete overhaul of the Mad Alien driver. [Stefan Jokish] |
| 371 | | - merged memory maps and added mirror addresses |
| 372 | | - doubled sound chip frequency |
| 373 | | - implemented IRQ acknowledge for the sound CPU |
| 374 | | - added stub functions for missing discrete sounds |
| 375 | | - re-implemented tilemaps (now the tunnel walls scroll into view) |
| 376 | | - hooked up 6845 CRT controller |
| 377 | | - made several fixes related to color handling |
| 378 | | - cleaned up inputs and added dip switch locations |
| 379 | | - raised main CPU speed (guesswork) |
| 380 | | - added save state support |
| 297 | Fixed BCD math error in i8051 core. [stephh] |
| 381 | 298 | |
| 382 | | Repaired the IC24 timer behaviour to fix some of Deal 'Em's bugs, |
| 383 | | and also added inputs. [James Wallace] |
| 299 | Fixed the m6800 cpu core so that the cpu variants can be compiled |
| 300 | independently once again. [Atari Ace] |
| 384 | 301 | |
| 385 | | Added save state support to skykid. [Mike Haaland] |
| 302 | More formally separated the RSP core from the N64 driver. [Atari Ace] |
| 386 | 303 | |
| 387 | | Fixed tiny.mak based on new source reorg. [Tiago Pierezan Camargo] |
| 304 | Fixed invalid dips in panicr and added dip locations. [Sonikos] |
| 388 | 305 | |
| 389 | | Added support for CR-589 firmware to the System 573 driver. Made |
| 390 | | substantial changes to the SCSI support, making it require fewer |
| 391 | | hacks, and allowing one device to be derived from another. Also |
| 392 | | added save state support. [smf] |
| 306 | Switched some #defines in the core over to enums. Also adjusted the |
| 307 | GAME macro so that it results in const data, and that it is defined |
| 308 | in terms of the more generic GAMEL macro. [Atari Ace] |
| 393 | 309 | |
| 394 | | Added SCI support to M6803/HD63701. [Curt Coder] |
| 310 | Converted some more unnecessary globals into statics. [Atari Ace] |
| 395 | 311 | |
| 396 | | Fixed several misnamed sound samples interfaces. [Atari Ace] |
| 312 | Fixes the M68008 data bus to properly use 8-bit accesses. [Curt Coder] |
| 397 | 313 | |
| 398 | | Switched model1 lookup functions to be index based rather than |
| 399 | | requiring a linear scan. [Atari Ace] |
| 314 | Cleaned up the peplus.c driver. Added MACHINE_RESET to fix autohold |
| 315 | option. Added layouts for several types of games. [stephh] |
| 400 | 316 | |
| 401 | | Added generic I2C bus memory support. Hooked up to the cubocd32 |
| 402 | | driver. [smf] |
| 317 | Fix array overrun in get_num_dips. [Nathan Woods, Michael Zapf] |
| 403 | 318 | |
| 404 | | Cleaned up inline assembly support: [Aaron Giles] |
| 405 | | * moved all inlinable functions into new module eminline.h |
| 406 | | * defined a number of new inline functions, including: |
| 407 | | - 32x32 -> 64 bit multiply |
| 408 | | - fast approximate floating point reciprocal |
| 409 | | * removed old inline definitions from osinline.h, osd_cpu.h, etc. |
| 410 | | * eminline.h contains C implementations of everything |
| 411 | | * new module eigccx86.h contains GCC-compatible x86/64 versions |
| 412 | | * new module eigccppc.h contains GCC-compatible PowerPC versions |
| 413 | | * eminline.h automatically detects GCC environments and includes |
| 414 | | appropriate file |
| 415 | | * osinline.h now only used in non-GCC environments |
| 416 | | * updated osd/windows/osinline.h to contain MSVC-compatible versions |
| 319 | Moved redundant check for bank switching out of inline code, which |
| 320 | nets a small speedup in the midwunit driver. [Christophe Jaillet] |
| 417 | 321 | |
| 418 | | Added NORM implementation to the TMS32031 core. [Aaron Giles] |
| 322 | Added save state support to a number of Konami custom chips. [Lei Wu] |
| 419 | 323 | |
| 420 | | Created new rgbutil module which consists of inline functions for |
| 421 | | common RGB manipulation. This module can be accelerated with SSE2 or |
| 422 | | other SIMD operations. By default, only 64-bit Intel builds make use |
| 423 | | of SSE, since it can be assumed on those platforms. Reimplemented the |
| 424 | | namcos22 rasterizer in terms of these inline functions. Also updated |
| 425 | | the gaelco3d rasterizer to use this module for faster bilinear |
| 426 | | filtering. [Aaron Giles] |
| 324 | Add -pipe flag for GCC in makefile (GCC will pipe between cpp, cc and |
| 325 | as rather than using temporary files, which speeds up compiling). |
| 326 | [Vas Crabb] |
| 427 | 327 | |
| 428 | | Made some progress on the Midway Zeus-based system. The 3d command |
| 429 | | stream is now parsed and the format is partially understood, enough to |
| 430 | | display some polygons but with incorrect textures in Mortal Kombat 4. |
| 431 | | [Aaron Giles] |
| 328 | Cleanups to the inline functions: [Vas Crabb] |
| 329 | * Add attributes to functions in eigccppc.h and eigccx86.h to cause |
| 330 | GCC to always inline them, and to treat them as arithmetic |
| 331 | operators when appropriate (so GCC can identify loop invariants |
| 332 | or common subexpressions involving these functions) |
| 333 | * Mark locals in functions in eigccppc.h and eigccx86.h as register, |
| 334 | so GCC won't always allocate stack space even at O0 optimisation |
| 335 | level |
| 336 | * Add dummy +m operands to atomic access functions in eigccppc.h so |
| 337 | that GCC will not cache values across calls even if values are |
| 338 | not volatile - this will cause GCC to allocate an additional |
| 339 | register at O0 optimisation, but not if optimisation is on |
| 340 | * Don't include <altivec.h> in rgbvmx.h if __APPLE_ALTIVEC__ is |
| 341 | defined, as this will cause a compiler warning. |
| 432 | 342 | |
| 343 | Cleaned up inputs in the System 24 driver: [Sonikos] |
| 344 | - Fixed dips in qrouka, sgmastc, sgmastcj, roughrac, qsww |
| 345 | - Fixed input in dcclub, sgmastc, sgmastj, qrouka (the last is still |
| 346 | missing input for the 3rd & 4th player) |
| 347 | - Added more description for each game: region, system (rom or floppy |
| 348 | based), version |
| 349 | |
| 350 | Removed useless pen_array in the midtunit driver, saving some memory |
| 351 | and getting a small speed boost. [Christophe Jaillet] |
| 433 | 352 | |
| 353 | Added 3D glasses support to the tceptor driver. [BUT] |
| 434 | 354 | |
| 435 | | New games added or promoted from NOT_WORKING status |
| 436 | | --------------------------------------------------- |
| 437 | | Konami CD-ROM Drive Updater (700A04) [smf] |
| 438 | | Vs. Janshi Brandnew Stars [sonikos] |
| 355 | Unified timer callbacks. All timer callbacks are now passed both a |
| 356 | pointer and a parameter. The pointer can only be set at timer |
| 357 | allocation time; the parameter can be changed whenever the timer |
| 358 | is adjusted. Removed most explicit uses of timer_*_ptr functions in |
| 359 | favor of the more generic routines. [Aaron Giles] |
| 439 | 360 | |
| 361 | Deprecated cpu_yield* functions except for cpu_yield() itself, which |
| 362 | yields for the current timeslice only. Drivers that relied on the |
| 363 | other yielding functions should be updated to use |
| 364 | cpu_boost_interleave() instead, as it does not have the same negative |
| 365 | side effects on time management. [Aaron Giles] |
| 440 | 366 | |
| 367 | Changed video_frame_update() internally to accept a debug parameter |
| 368 | which forces updates and does not meddle with synchronization/time |
| 369 | accountiing. [Aaron Giles] |
| 441 | 370 | |
| 442 | | New clones added |
| 443 | | ---------------- |
| 444 | | Eco Fighters (USA 940215) [Nicola Salmoria, Razoola] |
| 371 | Some more internal improvements to the midzeus driver. [Aaron Giles] |
| 445 | 372 | |
| 373 | Removed the burgeoning list of architecture optimization options. |
| 374 | Instead, if you want to make a build optimized for a specific |
| 375 | architecture, you explicitly specify the options in a new ARCHOPTS |
| 376 | variable. You can control the name of the final executable via the |
| 377 | existing PREFIX and SUFFIX variables, which are now documented. |
| 378 | [Aaron Giles] |
| 446 | 379 | |
| 380 | MSVC-based builds now automatically get a 'v' prefix unless otherwise |
| 381 | specified. [Aaron Giles] |
| 447 | 382 | |
| 448 | | New games marked as GAME_NOT_WORKING |
| 449 | | ------------------------------------ |
| 450 | | Time Machine v2.0 [James Wallace] |
| 451 | | Jet Wave [Ville Linde, Guru] |
| 452 | 383 | |
| 453 | 384 | |
| 385 | New games added or promoted from NOT_WORKING status |
| 386 | --------------------------------------------------- |
| 387 | Maze Invaders (prototype) [Aaron Giles] |
| 388 | Guts 'n Glory (prototype) [Aaron Giles] |
| 389 | Jumbo Ozaki Super Masters Golf [Sonikos] |
| 454 | 390 | |
| 455 | | 0.120u1 |
| 456 | | ------- |
| 457 | 391 | |
| 458 | 392 | |
| 459 | | MAMETesters Bugs Fixed |
| 460 | | ---------------------- |
| 461 | | ikki0120yel [robiza] |
| 462 | | buckrog0118u2yel [couriersud] |
| 393 | New clones added |
| 394 | ---------------- |
| 395 | Sky Kid (Manufactured by Sipem) [Corrado Tomaselli] |
| 396 | Next Fase (bootleg of Phoenix) [David Haywood] |
| 397 | Hang-On (Rev A) [Tony Beason] |
| 398 | Shooting Master (set 2, 8751 315-5159a) [Kevin Eshbach] |
| 399 | Super Burger Time (World, set 2) [Patrik Styrnell] |
| 463 | 400 | |
| 464 | 401 | |
| 465 | 402 | |
| 403 | 0.121u1 |
| 404 | ------- |
| 405 | |
| 406 | |
| 466 | 407 | Source Changes |
| 467 | 408 | -------------- |
| 468 | | Documented information about the various Cannonball sets. |
| 469 | | [stephh] |
| 409 | Added an API to access the current amiga_machine_interface. |
| 410 | [Nathan Woods] |
| 470 | 411 | |
| 471 | | Hooked up the roz layer, fg layer and sprites to f1gpb. Still |
| 472 | | missing some video offsets, oki banking and sprites priority. |
| 473 | | [Pierpaolo Prazzoli] |
| 412 | Added more static qualifiers to core files. [Atari Ace] |
| 474 | 413 | |
| 475 | | Updates for the dominob.c driver: [stephh] |
| 476 | | - fixed dip switches |
| 477 | | - fixed inputs |
| 478 | | - added a couple of notes |
| 414 | Fixed reversed clock speeds in mexico86. [Brian Troha] |
| 479 | 415 | |
| 480 | | Updated peplus driver and related components: [Jim Stolis] |
| 481 | | - added internal layouts for the games |
| 482 | | - fixed several i8051 issues... |
| 483 | | * Fixed a bug with some opcodes having the wrong cycle counts |
| 484 | | * Fixed a bug where determining the proper timer mode |
| 485 | | * Fixed a bug where determining the proper serial transmit mode |
| 486 | | * Added support for split timer mode |
| 416 | Changed malloc tracking to be decided at runtime in a function |
| 417 | use_malloc_tracking(). This makes it easy to turn it on or off by |
| 418 | recompiling only a single file. [Nathan Woods] |
| 487 | 419 | |
| 488 | | Improved multiprocessor Voodoo performance by reducing contention |
| 489 | | during rendering. Extended the system to allow for more overlap |
| 490 | | between rendering and emulation. [couriersud, Aaron Giles] |
| 420 | Split up MSVC inline assembler functions into MSVC specific headers, |
| 421 | and removed the assumption that Window's osinline.h would only be |
| 422 | used by MSVC. [Nathan Woods] |
| 491 | 423 | |
| 492 | | Fixed a crash in the input system when you configure joypads and |
| 493 | | then unplug them and press Esc on the system info screen. |
| 494 | | [R. Belmont] |
| 495 | | |
| 496 | | Defined strict types for CPU and sound chips. Removed unnecessary |
| 497 | | cpu_ prefix from several structure members. [Atari Ace] |
| 498 | | |
| 499 | | Fixed the m4510 cpu core from not updating the instruction cycle |
| 500 | | counter. [Wilbert Pol] |
| 501 | | |
| 502 | | Fixed memory access for m6509 instructions 91 and b1. [Wilbert Pol] |
| 503 | | |
| 504 | | Changed osdcore.h to include osinline.h and allow for external |
| 505 | | inline definitions of synchronization primitives. Also added a new |
| 506 | | work queue hint WORK_QUEUE_FLAG_HIGH_FREQ which indicates that we |
| 507 | | should spin aggressively waiting for new items. |
| 508 | | [couriersud, Vas Crabb] |
| 509 | | |
| 510 | | Enabled common linker warnings in the makefile. [Oliver Stoneberg] |
| 511 | | |
| 512 | | Fixed a corner case in the SCSP involving timers which are polled |
| 513 | | with their IRQ enable shut off. [R. Belmont] |
| 514 | | |
| 515 | | Namco System 21 update: [Phil Stroffolino] |
| 516 | | - namconb1 sprites no longer broken |
| 517 | | - fixed missing 3d gfx in Cybersled |
| 518 | | - gradient colors in starblade |
| 519 | | - more accurate depth cueing |
| 520 | | - fixed crash in 2nd stage of Starblade |
| 521 | | - fixed lockups in Air Combat and Solvalou |
| 522 | | - fixes to sprite priority (see Solvalou mountain range) |
| 523 | | - hooked up translucency (palette shift) effect |
| 524 | | |
| 525 | | Changed Model 2 rendering to use pre-clipped Z values for sorting. |
| 424 | Optimized the hyperstone core, gaining ~50% speed improvement in most |
| 425 | games. Implemented clock prescaling and corrected interrupt priority |
| 426 | handling. Then fixed the clock speeds on the most of the games and |
| 427 | killed most of the speed gains in quite a number of them. (Sorry!) |
| 526 | 428 | [Aaron Giles] |
| 527 | 429 | |
| 528 | | Properly identified bill inputs in Midway Y-unit driver games. |
| 529 | | [Aaron Giles] |
| 430 | Added explicit Core2 architecuture support to the makefile (CORE2=1). |
| 431 | Note that gcc 4.2.0 doesn't understand core 2, so this is equivalent |
| 432 | to compiling with pentium-m architecture and -sse3. Also note that |
| 433 | compiling native on a Core2 is not what you want because native will |
| 434 | think you are on a Prescott, which is P4-era hardware. [Aaron Giles] |
| 530 | 435 | |
| 531 | | Added more instrumentation and added some extra paranoia to the |
| 532 | | winwork code. [Aaron Giles] |
| 436 | Changed alignment of rgbint values in the namcos22 driver to work |
| 437 | around 32-bit gcc's lack of proper alignment handling. [Aaron Giles] |
| 533 | 438 | |
| 534 | | Fixed some incorrect code in the ADSP2100 external flag handling. |
| 535 | | [Aaron Giles] |
| 439 | Fixed attotime routines to use unsigned math for multiply/divide, |
| 440 | solving problems with some games which errantly passed in -1 for the |
| 441 | factor. The new behavior matches the original behavior. [Aaron Giles] |
| 536 | 442 | |
| 537 | | Created new module polynew.c which combines triangle setup, |
| 538 | | rasterization, and Voodoo-like multiprocessor support. Coverted |
| 539 | | Gaelco3D, Midway V-Unit, Namco System 22, and Voodoo drivers over |
| 540 | | to the new system. [Aaron Giles] |
| 443 | Renamed colortable to colortable_t. Added a Machine->colortable |
| 444 | entry to hold the global colortable for games that use it. Updated |
| 445 | several more drivers to just use palettes directly rather than |
| 446 | hacking colortables. [Aaron Giles] |
| 541 | 447 | |
| 542 | | Added threadid parameter to work item callbacks. This allows for |
| 543 | | keeping per-thread information by the callbacks. [Aaron Giles] |
| 544 | 448 | |
| 545 | 449 | |
| 546 | | |
| 547 | | New games added or promoted from NOT_WORKING status |
| 548 | | --------------------------------------------------- |
| 549 | | Mahjong Hot Gimmick Integral (Japan) [Guru, David Haywood] |
| 550 | | Tottemo E Jong [David Haywood, Team Japump!] |
| 551 | | Good E Jong -Kachinuki Mahjong Syoukin Oh!!- |
| 552 | | [David Haywood, Team Japump!] |
| 553 | | Teraburst [icronnya77, Ville Linde] |
| 554 | | |
| 555 | | |
| 556 | | |
| 557 | 450 | New clones added |
| 558 | 451 | ---------------- |
| 559 | | Tube Panic (bootleg) [sonikos] |
| 560 | | Player's Edge Plus (PP0188) Standard Draw Poker [Jim Stolis] |
| 561 | | Player's Edge Plus (Set038) Set Chip [Jim Stolis] |
| 562 | | Mortal Kombat 4 (set 2) [icronnya77] |
| 563 | | Meteor [Andreas] |
| 564 | | |
| 565 | | |
| 566 | | |
| 567 | | New games marked as GAME_NOT_WORKING |
| 568 | | ------------------------------------ |
| 569 | | GameCristal [f205v, R. Belmont] |
| 452 | Fighting Soccer (version 4) [Corrado Tomaselli] |
| 453 | Stadium Cross (US) [Arzeno Fabrice] |