trunk/src/mame/drivers/asuka.c
| r29475 | r29476 | |
| 778 | 778 | MACHINE DRIVERS |
| 779 | 779 | ***********************************************************/ |
| 780 | 780 | |
| 781 | | static const tc0100scn_interface asuka_tc0100scn_intf = |
| 782 | | { |
| 783 | | 1, 2, /* gfxnum, txnum */ |
| 784 | | 0, 0, /* x_offset, y_offset */ |
| 785 | | 0, 0, /* flip_xoff, flip_yoff */ |
| 786 | | 0, 0, /* flip_text_xoff, flip_text_yoff */ |
| 787 | | 0, 0 |
| 788 | | }; |
| 789 | | |
| 790 | | static const tc0100scn_interface cadash_tc0100scn_intf = |
| 791 | | { |
| 792 | | 1, 2, /* gfxnum, txnum */ |
| 793 | | 1, 0, /* x_offset, y_offset */ |
| 794 | | 0, 0, /* flip_xoff, flip_yoff */ |
| 795 | | 0, 0, /* flip_text_xoff, flip_text_yoff */ |
| 796 | | 0, 0 |
| 797 | | }; |
| 798 | | |
| 799 | | |
| 800 | 781 | void asuka_state::machine_start() |
| 801 | 782 | { |
| 802 | 783 | /* configure the banks */ |
| r29475 | r29476 | |
| 869 | 850 | MCFG_PC090OJ_GFXDECODE("gfxdecode") |
| 870 | 851 | MCFG_PC090OJ_PALETTE("palette") |
| 871 | 852 | |
| 872 | | MCFG_TC0100SCN_ADD("tc0100scn", asuka_tc0100scn_intf) |
| 853 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 854 | MCFG_TC0100SCN_GFX_REGION(1) |
| 855 | MCFG_TC0100SCN_TX_REGION(2) |
| 873 | 856 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 874 | 857 | MCFG_TC0100SCN_PALETTE("palette") |
| 858 | |
| 875 | 859 | MCFG_TC0110PCR_ADD("tc0110pcr") |
| 876 | 860 | MCFG_TC0110PCR_PALETTE("palette") |
| 877 | 861 | |
| r29475 | r29476 | |
| 928 | 912 | MCFG_PC090OJ_GFXDECODE("gfxdecode") |
| 929 | 913 | MCFG_PC090OJ_PALETTE("palette") |
| 930 | 914 | |
| 931 | | MCFG_TC0100SCN_ADD("tc0100scn", asuka_tc0100scn_intf) |
| 915 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 916 | MCFG_TC0100SCN_GFX_REGION(1) |
| 917 | MCFG_TC0100SCN_TX_REGION(2) |
| 932 | 918 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 933 | 919 | MCFG_TC0100SCN_PALETTE("palette") |
| 920 | |
| 934 | 921 | MCFG_TC0110PCR_ADD("tc0110pcr") |
| 935 | 922 | MCFG_TC0110PCR_PALETTE("palette") |
| 936 | 923 | |
| r29475 | r29476 | |
| 996 | 983 | MCFG_PC090OJ_GFXDECODE("gfxdecode") |
| 997 | 984 | MCFG_PC090OJ_PALETTE("palette") |
| 998 | 985 | |
| 999 | | MCFG_TC0100SCN_ADD("tc0100scn", cadash_tc0100scn_intf) |
| 986 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 987 | MCFG_TC0100SCN_GFX_REGION(1) |
| 988 | MCFG_TC0100SCN_TX_REGION(2) |
| 989 | MCFG_TC0100SCN_OFFSETS(1, 0) |
| 1000 | 990 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 1001 | 991 | MCFG_TC0100SCN_PALETTE("palette") |
| 992 | |
| 1002 | 993 | MCFG_TC0110PCR_ADD("tc0110pcr") |
| 1003 | 994 | MCFG_TC0110PCR_PALETTE("palette") |
| 1004 | 995 | |
| r29475 | r29476 | |
| 1054 | 1045 | MCFG_PC090OJ_GFXDECODE("gfxdecode") |
| 1055 | 1046 | MCFG_PC090OJ_PALETTE("palette") |
| 1056 | 1047 | |
| 1057 | | MCFG_TC0100SCN_ADD("tc0100scn", cadash_tc0100scn_intf) |
| 1048 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 1049 | MCFG_TC0100SCN_GFX_REGION(1) |
| 1050 | MCFG_TC0100SCN_TX_REGION(2) |
| 1051 | MCFG_TC0100SCN_OFFSETS(1, 0) |
| 1058 | 1052 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 1059 | 1053 | MCFG_TC0100SCN_PALETTE("palette") |
| 1054 | |
| 1060 | 1055 | MCFG_TC0110PCR_ADD("tc0110pcr") |
| 1061 | 1056 | MCFG_TC0110PCR_PALETTE("palette") |
| 1062 | 1057 | |
| r29475 | r29476 | |
| 1117 | 1112 | MCFG_PC090OJ_GFXDECODE("gfxdecode") |
| 1118 | 1113 | MCFG_PC090OJ_PALETTE("palette") |
| 1119 | 1114 | |
| 1120 | | MCFG_TC0100SCN_ADD("tc0100scn", cadash_tc0100scn_intf) |
| 1115 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 1116 | MCFG_TC0100SCN_GFX_REGION(1) |
| 1117 | MCFG_TC0100SCN_TX_REGION(2) |
| 1118 | MCFG_TC0100SCN_OFFSETS(1, 0) |
| 1121 | 1119 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 1122 | 1120 | MCFG_TC0100SCN_PALETTE("palette") |
| 1121 | |
| 1123 | 1122 | MCFG_TC0110PCR_ADD("tc0110pcr") |
| 1124 | 1123 | MCFG_TC0110PCR_PALETTE("palette") |
| 1125 | 1124 | |
| r29475 | r29476 | |
| 1175 | 1174 | MCFG_PC090OJ_GFXDECODE("gfxdecode") |
| 1176 | 1175 | MCFG_PC090OJ_PALETTE("palette") |
| 1177 | 1176 | |
| 1178 | | MCFG_TC0100SCN_ADD("tc0100scn", cadash_tc0100scn_intf) |
| 1177 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 1178 | MCFG_TC0100SCN_GFX_REGION(1) |
| 1179 | MCFG_TC0100SCN_TX_REGION(2) |
| 1180 | MCFG_TC0100SCN_OFFSETS(1, 0) |
| 1179 | 1181 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 1180 | 1182 | MCFG_TC0100SCN_PALETTE("palette") |
| 1183 | |
| 1181 | 1184 | MCFG_TC0110PCR_ADD("tc0110pcr") |
| 1182 | 1185 | MCFG_TC0110PCR_PALETTE("palette") |
| 1183 | 1186 | |
trunk/src/mame/drivers/taito_z.c
| r29475 | r29476 | |
| 2955 | 2955 | |
| 2956 | 2956 | ***********************************************************/ |
| 2957 | 2957 | |
| 2958 | | |
| 2959 | | static const tc0100scn_interface taitoz_tc0100scn_intf = |
| 2960 | | { |
| 2961 | | 1, 2, /* gfxnum, txnum */ |
| 2962 | | 0, 0, /* x_offset, y_offset */ |
| 2963 | | 0, 0, /* flip_xoff, flip_yoff */ |
| 2964 | | 0, 0, /* flip_text_xoff, flip_text_yoff */ |
| 2965 | | 0, 0 |
| 2966 | | }; |
| 2967 | | |
| 2968 | | static const tc0100scn_interface chasehq_tc0100scn_intf = |
| 2969 | | { |
| 2970 | | 1, 3, /* gfxnum, txnum */ |
| 2971 | | 0, 0, /* x_offset, y_offset */ |
| 2972 | | 0, 0, /* flip_xoff, flip_yoff */ |
| 2973 | | 0, 0, /* flip_text_xoff, flip_text_yoff */ |
| 2974 | | 0, 0 |
| 2975 | | }; |
| 2976 | | |
| 2977 | | static const tc0100scn_interface spacegun_tc0100scn_intf = |
| 2978 | | { |
| 2979 | | 1, 2, /* gfxnum, txnum */ |
| 2980 | | 4, 0, /* x_offset, y_offset */ |
| 2981 | | 0, 0, /* flip_xoff, flip_yoff */ |
| 2982 | | 0, 0, /* flip_text_xoff, flip_text_yoff */ |
| 2983 | | 0, 0 |
| 2984 | | }; |
| 2985 | | |
| 2986 | 2958 | static const tc0480scp_interface taitoz_tc0480scp_intf = |
| 2987 | 2959 | { |
| 2988 | 2960 | 1, 2, /* gfxnum, txnum */ |
| r29475 | r29476 | |
| 3075 | 3047 | |
| 3076 | 3048 | MCFG_VIDEO_START_OVERRIDE(taitoz_state,taitoz) |
| 3077 | 3049 | |
| 3078 | | MCFG_TC0100SCN_ADD("tc0100scn", taitoz_tc0100scn_intf) |
| 3050 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3051 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3052 | MCFG_TC0100SCN_TX_REGION(2) |
| 3079 | 3053 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3080 | 3054 | MCFG_TC0100SCN_PALETTE("palette") |
| 3081 | 3055 | |
| r29475 | r29476 | |
| 3152 | 3126 | |
| 3153 | 3127 | MCFG_VIDEO_START_OVERRIDE(taitoz_state,taitoz) |
| 3154 | 3128 | |
| 3155 | | MCFG_TC0100SCN_ADD("tc0100scn", chasehq_tc0100scn_intf) |
| 3129 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3130 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3131 | MCFG_TC0100SCN_TX_REGION(3) |
| 3156 | 3132 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3157 | 3133 | MCFG_TC0100SCN_PALETTE("palette") |
| 3158 | 3134 | |
| r29475 | r29476 | |
| 3231 | 3207 | |
| 3232 | 3208 | MCFG_VIDEO_START_OVERRIDE(taitoz_state,taitoz) |
| 3233 | 3209 | |
| 3234 | | MCFG_TC0100SCN_ADD("tc0100scn", taitoz_tc0100scn_intf) |
| 3210 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3211 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3212 | MCFG_TC0100SCN_TX_REGION(2) |
| 3235 | 3213 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3236 | 3214 | MCFG_TC0100SCN_PALETTE("palette") |
| 3237 | 3215 | |
| r29475 | r29476 | |
| 3306 | 3284 | |
| 3307 | 3285 | MCFG_VIDEO_START_OVERRIDE(taitoz_state,taitoz) |
| 3308 | 3286 | |
| 3309 | | MCFG_TC0100SCN_ADD("tc0100scn", taitoz_tc0100scn_intf) |
| 3287 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3288 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3289 | MCFG_TC0100SCN_TX_REGION(2) |
| 3310 | 3290 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3311 | 3291 | MCFG_TC0100SCN_PALETTE("palette") |
| 3312 | 3292 | |
| r29475 | r29476 | |
| 3386 | 3366 | |
| 3387 | 3367 | MCFG_VIDEO_START_OVERRIDE(taitoz_state,taitoz) |
| 3388 | 3368 | |
| 3389 | | MCFG_TC0100SCN_ADD("tc0100scn", taitoz_tc0100scn_intf) |
| 3369 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3370 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3371 | MCFG_TC0100SCN_TX_REGION(2) |
| 3390 | 3372 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3391 | 3373 | MCFG_TC0100SCN_PALETTE("palette") |
| 3392 | 3374 | |
| r29475 | r29476 | |
| 3461 | 3443 | |
| 3462 | 3444 | MCFG_VIDEO_START_OVERRIDE(taitoz_state,taitoz) |
| 3463 | 3445 | |
| 3464 | | MCFG_TC0100SCN_ADD("tc0100scn", chasehq_tc0100scn_intf) |
| 3446 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3447 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3448 | MCFG_TC0100SCN_TX_REGION(3) |
| 3465 | 3449 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3466 | 3450 | MCFG_TC0100SCN_PALETTE("palette") |
| 3467 | 3451 | |
| r29475 | r29476 | |
| 3540 | 3524 | |
| 3541 | 3525 | MCFG_VIDEO_START_OVERRIDE(taitoz_state,taitoz) |
| 3542 | 3526 | |
| 3543 | | MCFG_TC0100SCN_ADD("tc0100scn", taitoz_tc0100scn_intf) |
| 3527 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3528 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3529 | MCFG_TC0100SCN_TX_REGION(2) |
| 3544 | 3530 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3545 | 3531 | MCFG_TC0100SCN_PALETTE("palette") |
| 3546 | 3532 | |
| r29475 | r29476 | |
| 3614 | 3600 | MCFG_PALETTE_ADD("palette", 4096) |
| 3615 | 3601 | MCFG_PALETTE_FORMAT(xBBBBBGGGGGRRRRR) |
| 3616 | 3602 | |
| 3617 | | MCFG_TC0100SCN_ADD("tc0100scn", spacegun_tc0100scn_intf) |
| 3603 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3604 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3605 | MCFG_TC0100SCN_TX_REGION(2) |
| 3606 | MCFG_TC0100SCN_OFFSETS(4, 0) |
| 3618 | 3607 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3619 | 3608 | MCFG_TC0100SCN_PALETTE("palette") |
| 3620 | 3609 | |
trunk/src/mame/drivers/taito_f2.c
| r29475 | r29476 | |
| 2833 | 2833 | MACHINE DRIVERS |
| 2834 | 2834 | ***********************************************************/ |
| 2835 | 2835 | |
| 2836 | | static const tc0100scn_interface taitof2_tc0100scn_intf = |
| 2837 | | { |
| 2838 | | 1, 2, /* gfxnum, txnum */ |
| 2839 | | 0, 0, /* x_offset, y_offset */ |
| 2840 | | 0, 0, /* flip_xoff, flip_yoff */ |
| 2841 | | 0, 0, /* flip_text_xoff, flip_text_yoff */ |
| 2842 | | 0, 0 |
| 2843 | | }; |
| 2844 | | |
| 2845 | | static const tc0100scn_interface liquidk_tc0100scn_intf = |
| 2846 | | { |
| 2847 | | 1, 2, /* gfxnum, txnum */ |
| 2848 | | 3, 0, /* x_offset, y_offset */ |
| 2849 | | 0, 0, /* flip_xoff, flip_yoff */ |
| 2850 | | 0, 0, /* flip_text_xoff, flip_text_yoff */ |
| 2851 | | 0, 0 |
| 2852 | | }; |
| 2853 | | |
| 2854 | | static const tc0100scn_interface dondokod_tc0100scn_intf = |
| 2855 | | { |
| 2856 | | 1, 3, /* gfxnum, txnum */ |
| 2857 | | 3, 0, /* x_offset, y_offset */ |
| 2858 | | 0, 0, /* flip_xoff, flip_yoff */ |
| 2859 | | 0, 0, /* flip_text_xoff, flip_text_yoff */ |
| 2860 | | 0, 0 |
| 2861 | | }; |
| 2862 | | |
| 2863 | | static const tc0100scn_interface finalb_tc0100scn_intf = |
| 2864 | | { |
| 2865 | | 1, 2, /* gfxnum, txnum */ |
| 2866 | | 1, 0, /* x_offset, y_offset */ |
| 2867 | | 0, 0, /* flip_xoff, flip_yoff */ |
| 2868 | | 0, 0, /* flip_text_xoff, flip_text_yoff */ |
| 2869 | | 0, 0 |
| 2870 | | }; |
| 2871 | | |
| 2872 | | #if 0 |
| 2873 | | static const tc0100scn_interface ninjak_tc0100scn_intf = |
| 2874 | | { |
| 2875 | | 1, 2, /* gfxnum, txnum */ |
| 2876 | | 0, 0, /* x_offset, y_offset */ |
| 2877 | | 0, 0, /* flip_xoff, flip_yoff */ |
| 2878 | | 1, 2, /* flip_text_xoff, flip_text_yoff */ |
| 2879 | | 0, 0 |
| 2880 | | }; |
| 2881 | | #endif |
| 2882 | | |
| 2883 | | static const tc0100scn_interface qzchikyu_tc0100scn_intf = |
| 2884 | | { |
| 2885 | | 1, 2, /* gfxnum, txnum */ |
| 2886 | | 0, 0, /* x_offset, y_offset */ |
| 2887 | | -4, 0, /* flip_xoff, flip_yoff */ |
| 2888 | | -11, 0, /* flip_text_xoff, flip_text_yoff */ |
| 2889 | | 0, 0 |
| 2890 | | }; |
| 2891 | | |
| 2892 | | static const tc0100scn_interface solfigtr_tc0100scn_intf = |
| 2893 | | { |
| 2894 | | 1, 2, /* gfxnum, txnum */ |
| 2895 | | 3, 0, /* x_offset, y_offset */ |
| 2896 | | 6, 0, /* flip_xoff, flip_yoff */ |
| 2897 | | 6, 0, /* flip_text_xoff, flip_text_yoff */ |
| 2898 | | 0, 0 |
| 2899 | | }; |
| 2900 | | |
| 2901 | | static const tc0100scn_interface koshien_tc0100scn_intf = |
| 2902 | | { |
| 2903 | | 1, 2, /* gfxnum, txnum */ |
| 2904 | | 1, 0, /* x_offset, y_offset */ |
| 2905 | | 2, 0, /* flip_xoff, flip_yoff */ |
| 2906 | | 0, 0, /* flip_text_xoff, flip_text_yoff */ |
| 2907 | | 0, 0 |
| 2908 | | }; |
| 2909 | | |
| 2910 | | static const tc0100scn_interface thundfox_tc0100scn_intf_1 = |
| 2911 | | { |
| 2912 | | 1, 3, /* gfxnum, txnum */ |
| 2913 | | 3, 0, /* x_offset, y_offset */ |
| 2914 | | 5, 0, /* flip_xoff, flip_yoff */ |
| 2915 | | 4, 1, /* flip_text_xoff, flip_text_yoff */ |
| 2916 | | 0, 0 |
| 2917 | | }; |
| 2918 | | |
| 2919 | | static const tc0100scn_interface thundfox_tc0100scn_intf_2 = |
| 2920 | | { |
| 2921 | | 2, 4, /* gfxnum, txnum */ |
| 2922 | | 3, 0, /* x_offset, y_offset */ |
| 2923 | | 5, 0, /* flip_xoff, flip_yoff */ |
| 2924 | | 4, 1, /* flip_text_xoff, flip_text_yoff */ |
| 2925 | | TC0100SCN_SINGLE_VDU, 1 |
| 2926 | | }; |
| 2927 | | |
| 2928 | 2836 | static const tc0480scp_interface footchmp_tc0480scp_intf = |
| 2929 | 2837 | { |
| 2930 | 2838 | 1, 2, /* gfxnum, txnum */ |
| r29475 | r29476 | |
| 3067 | 2975 | MCFG_SCREEN_MODIFY("screen") |
| 3068 | 2976 | MCFG_SCREEN_VBLANK_DRIVER(taitof2_state, screen_eof_taitof2_partial_buffer_delayed) |
| 3069 | 2977 | |
| 3070 | | MCFG_TC0100SCN_ADD("tc0100scn", finalb_tc0100scn_intf) |
| 2978 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 2979 | MCFG_TC0100SCN_GFX_REGION(1) |
| 2980 | MCFG_TC0100SCN_TX_REGION(2) |
| 2981 | MCFG_TC0100SCN_OFFSETS(1, 0) |
| 3071 | 2982 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3072 | 2983 | MCFG_TC0100SCN_PALETTE("palette") |
| 3073 | 2984 | |
| r29475 | r29476 | |
| 3089 | 3000 | MCFG_SCREEN_VBLANK_DRIVER(taitof2_state, screen_eof_taitof2_partial_buffer_delayed) |
| 3090 | 3001 | MCFG_SCREEN_UPDATE_DRIVER(taitof2_state, screen_update_taitof2_pri_roz) |
| 3091 | 3002 | |
| 3092 | | MCFG_TC0100SCN_ADD("tc0100scn", dondokod_tc0100scn_intf) |
| 3003 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3004 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3005 | MCFG_TC0100SCN_TX_REGION(3) |
| 3006 | MCFG_TC0100SCN_OFFSETS(3, 0) |
| 3093 | 3007 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3094 | 3008 | MCFG_TC0100SCN_PALETTE("palette") |
| 3095 | 3009 | |
| r29475 | r29476 | |
| 3097 | 3011 | MCFG_TC0280GRD_GFX_REGION(2) |
| 3098 | 3012 | MCFG_TC0280GRD_GFXDECODE("gfxdecode"); |
| 3099 | 3013 | |
| 3100 | | MCFG_TC0360PRI_ADD("tc0360pri") |
| 3014 | MCFG_TC0360PRI_ADD("tc0360pri") |
| 3101 | 3015 | MACHINE_CONFIG_END |
| 3102 | 3016 | |
| 3103 | 3017 | |
| r29475 | r29476 | |
| 3112 | 3026 | MCFG_SCREEN_MODIFY("screen") |
| 3113 | 3027 | MCFG_SCREEN_UPDATE_DRIVER(taitof2_state, screen_update_taitof2_pri) |
| 3114 | 3028 | |
| 3115 | | MCFG_TC0100SCN_ADD("tc0100scn", liquidk_tc0100scn_intf) |
| 3029 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3030 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3031 | MCFG_TC0100SCN_TX_REGION(2) |
| 3032 | MCFG_TC0100SCN_OFFSETS(3, 0) |
| 3116 | 3033 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3117 | 3034 | MCFG_TC0100SCN_PALETTE("palette") |
| 3118 | 3035 | |
| r29475 | r29476 | |
| 3133 | 3050 | MCFG_SCREEN_UPDATE_DRIVER(taitof2_state, screen_update_taitof2_thundfox) |
| 3134 | 3051 | MCFG_SCREEN_VBLANK_DRIVER(taitof2_state, screen_eof_taitof2_partial_buffer_delayed_thundfox) |
| 3135 | 3052 | |
| 3136 | | MCFG_TC0100SCN_ADD("tc0100scn_1", thundfox_tc0100scn_intf_1) |
| 3053 | MCFG_DEVICE_ADD("tc0100scn_1", TC0100SCN, 0) |
| 3054 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3055 | MCFG_TC0100SCN_TX_REGION(3) |
| 3056 | MCFG_TC0100SCN_OFFSETS(3, 0) |
| 3057 | MCFG_TC0100SCN_OFFSETS_FLIP(5, 0) |
| 3058 | MCFG_TC0100SCN_OFFSETS_FLIPTX(4, 1) |
| 3137 | 3059 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3138 | 3060 | MCFG_TC0100SCN_PALETTE("palette") |
| 3139 | 3061 | |
| 3140 | | MCFG_TC0100SCN_ADD("tc0100scn_2", thundfox_tc0100scn_intf_2) |
| 3062 | MCFG_DEVICE_ADD("tc0100scn_2", TC0100SCN, 0) |
| 3063 | MCFG_TC0100SCN_GFX_REGION(2) |
| 3064 | MCFG_TC0100SCN_TX_REGION(4) |
| 3065 | MCFG_TC0100SCN_OFFSETS(3, 0) |
| 3066 | MCFG_TC0100SCN_OFFSETS_FLIP(5, 0) |
| 3067 | MCFG_TC0100SCN_OFFSETS_FLIPTX(4, 1) |
| 3068 | MCFG_TC0100SCN_MULTISCR_XOFFS(TC0100SCN_SINGLE_VDU) |
| 3069 | MCFG_TC0100SCN_MULTISCR_HACK(1) |
| 3141 | 3070 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3142 | 3071 | MCFG_TC0100SCN_PALETTE("palette") |
| 3143 | 3072 | |
| r29475 | r29476 | |
| 3157 | 3086 | MCFG_SCREEN_MODIFY("screen") |
| 3158 | 3087 | MCFG_SCREEN_UPDATE_DRIVER(taitof2_state, screen_update_taitof2_pri_roz) |
| 3159 | 3088 | |
| 3160 | | MCFG_TC0100SCN_ADD("tc0100scn", dondokod_tc0100scn_intf) |
| 3089 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3090 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3091 | MCFG_TC0100SCN_TX_REGION(3) |
| 3092 | MCFG_TC0100SCN_OFFSETS(3, 0) |
| 3161 | 3093 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3162 | 3094 | MCFG_TC0100SCN_PALETTE("palette") |
| 3163 | 3095 | |
| r29475 | r29476 | |
| 3180 | 3112 | MCFG_SCREEN_MODIFY("screen") |
| 3181 | 3113 | MCFG_SCREEN_VBLANK_DRIVER(taitof2_state, screen_eof_taitof2_partial_buffer_delayed) |
| 3182 | 3114 | |
| 3183 | | MCFG_TC0100SCN_ADD("tc0100scn", taitof2_tc0100scn_intf) |
| 3115 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3116 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3117 | MCFG_TC0100SCN_TX_REGION(2) |
| 3184 | 3118 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3185 | 3119 | MCFG_TC0100SCN_PALETTE("palette") |
| 3186 | 3120 | |
| r29475 | r29476 | |
| 3201 | 3135 | MCFG_SCREEN_UPDATE_DRIVER(taitof2_state, screen_update_taitof2_pri) |
| 3202 | 3136 | MCFG_SCREEN_VBLANK_DRIVER(taitof2_state, screen_eof_taitof2_partial_buffer_delayed) |
| 3203 | 3137 | |
| 3204 | | MCFG_TC0100SCN_ADD("tc0100scn", liquidk_tc0100scn_intf) |
| 3138 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3139 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3140 | MCFG_TC0100SCN_TX_REGION(2) |
| 3141 | MCFG_TC0100SCN_OFFSETS(3, 0) |
| 3205 | 3142 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3206 | 3143 | MCFG_TC0100SCN_PALETTE("palette") |
| 3207 | 3144 | |
| r29475 | r29476 | |
| 3220 | 3157 | MCFG_SCREEN_MODIFY("screen") |
| 3221 | 3158 | MCFG_SCREEN_VBLANK_DRIVER(taitof2_state, screen_eof_taitof2_partial_buffer_delayed) |
| 3222 | 3159 | |
| 3223 | | MCFG_TC0100SCN_ADD("tc0100scn", taitof2_tc0100scn_intf) |
| 3160 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3161 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3162 | MCFG_TC0100SCN_TX_REGION(2) |
| 3224 | 3163 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3225 | 3164 | MCFG_TC0100SCN_PALETTE("palette") |
| 3226 | 3165 | |
| r29475 | r29476 | |
| 3244 | 3183 | MCFG_SCREEN_UPDATE_DRIVER(taitof2_state, screen_update_taitof2_ssi) |
| 3245 | 3184 | MCFG_SCREEN_VBLANK_DRIVER(taitof2_state, screen_eof_taitof2_partial_buffer_delayed_thundfox) |
| 3246 | 3185 | |
| 3247 | | MCFG_TC0100SCN_ADD("tc0100scn", liquidk_tc0100scn_intf) |
| 3186 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3187 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3188 | MCFG_TC0100SCN_TX_REGION(2) |
| 3189 | MCFG_TC0100SCN_OFFSETS(3, 0) |
| 3248 | 3190 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3249 | 3191 | MCFG_TC0100SCN_PALETTE("palette") |
| 3250 | 3192 | MACHINE_CONFIG_END |
| r29475 | r29476 | |
| 3265 | 3207 | MCFG_SCREEN_UPDATE_DRIVER(taitof2_state, screen_update_taitof2_pri) |
| 3266 | 3208 | MCFG_SCREEN_VBLANK_DRIVER(taitof2_state, screen_eof_taitof2_partial_buffer_delayed) |
| 3267 | 3209 | |
| 3268 | | MCFG_TC0100SCN_ADD("tc0100scn", liquidk_tc0100scn_intf) |
| 3210 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3211 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3212 | MCFG_TC0100SCN_TX_REGION(2) |
| 3213 | MCFG_TC0100SCN_OFFSETS(3, 0) |
| 3269 | 3214 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3270 | 3215 | MCFG_TC0100SCN_PALETTE("palette") |
| 3271 | 3216 | |
| r29475 | r29476 | |
| 3284 | 3229 | MCFG_SCREEN_MODIFY("screen") |
| 3285 | 3230 | MCFG_SCREEN_UPDATE_DRIVER(taitof2_state, screen_update_taitof2_pri) |
| 3286 | 3231 | |
| 3287 | | MCFG_TC0100SCN_ADD("tc0100scn", liquidk_tc0100scn_intf) |
| 3232 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3233 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3234 | MCFG_TC0100SCN_TX_REGION(2) |
| 3235 | MCFG_TC0100SCN_OFFSETS(3, 0) |
| 3288 | 3236 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3289 | 3237 | MCFG_TC0100SCN_PALETTE("palette") |
| 3290 | 3238 | |
| r29475 | r29476 | |
| 3301 | 3249 | /* video hardware */ |
| 3302 | 3250 | MCFG_VIDEO_START_OVERRIDE(taitof2_state,taitof2_mjnquest) |
| 3303 | 3251 | |
| 3304 | | MCFG_TC0100SCN_ADD("tc0100scn", taitof2_tc0100scn_intf) |
| 3252 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3253 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3254 | MCFG_TC0100SCN_TX_REGION(2) |
| 3305 | 3255 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3306 | 3256 | MCFG_TC0100SCN_PALETTE("palette") |
| 3307 | 3257 | |
| r29475 | r29476 | |
| 3370 | 3320 | MCFG_SCREEN_MODIFY("screen") |
| 3371 | 3321 | MCFG_SCREEN_UPDATE_DRIVER(taitof2_state, screen_update_taitof2_pri) |
| 3372 | 3322 | |
| 3373 | | MCFG_TC0100SCN_ADD("tc0100scn", koshien_tc0100scn_intf) |
| 3323 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3324 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3325 | MCFG_TC0100SCN_TX_REGION(2) |
| 3326 | MCFG_TC0100SCN_OFFSETS(1, 0) |
| 3327 | MCFG_TC0100SCN_OFFSETS_FLIP(2, 0) |
| 3374 | 3328 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3375 | 3329 | MCFG_TC0100SCN_PALETTE("palette") |
| 3376 | 3330 | |
| r29475 | r29476 | |
| 3393 | 3347 | MCFG_SCREEN_MODIFY("screen") |
| 3394 | 3348 | MCFG_SCREEN_UPDATE_DRIVER(taitof2_state, screen_update_taitof2_yesnoj) |
| 3395 | 3349 | |
| 3396 | | MCFG_TC0100SCN_ADD("tc0100scn", liquidk_tc0100scn_intf) |
| 3350 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3351 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3352 | MCFG_TC0100SCN_TX_REGION(2) |
| 3353 | MCFG_TC0100SCN_OFFSETS(3, 0) |
| 3397 | 3354 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3398 | 3355 | MCFG_TC0100SCN_PALETTE("palette") |
| 3399 | 3356 | MACHINE_CONFIG_END |
| r29475 | r29476 | |
| 3410 | 3367 | MCFG_SCREEN_MODIFY("screen") |
| 3411 | 3368 | MCFG_SCREEN_UPDATE_DRIVER(taitof2_state, screen_update_taitof2_pri) |
| 3412 | 3369 | |
| 3413 | | MCFG_TC0100SCN_ADD("tc0100scn", finalb_tc0100scn_intf) |
| 3370 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3371 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3372 | MCFG_TC0100SCN_TX_REGION(2) |
| 3373 | MCFG_TC0100SCN_OFFSETS(1, 0) |
| 3414 | 3374 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3415 | 3375 | MCFG_TC0100SCN_PALETTE("palette") |
| 3416 | 3376 | |
| r29475 | r29476 | |
| 3429 | 3389 | MCFG_SCREEN_MODIFY("screen") |
| 3430 | 3390 | MCFG_SCREEN_UPDATE_DRIVER(taitof2_state, screen_update_taitof2_pri) |
| 3431 | 3391 | |
| 3432 | | MCFG_TC0100SCN_ADD("tc0100scn", solfigtr_tc0100scn_intf) |
| 3392 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3393 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3394 | MCFG_TC0100SCN_TX_REGION(2) |
| 3395 | MCFG_TC0100SCN_OFFSETS(3, 0) |
| 3396 | MCFG_TC0100SCN_OFFSETS_FLIP(6, 0) |
| 3397 | MCFG_TC0100SCN_OFFSETS_FLIPTX(6, 0) |
| 3433 | 3398 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3434 | 3399 | MCFG_TC0100SCN_PALETTE("palette") |
| 3435 | 3400 | |
| r29475 | r29476 | |
| 3447 | 3412 | MCFG_SCREEN_MODIFY("screen") |
| 3448 | 3413 | MCFG_SCREEN_VBLANK_DRIVER(taitof2_state, screen_eof_taitof2_partial_buffer_delayed) |
| 3449 | 3414 | |
| 3450 | | MCFG_TC0100SCN_ADD("tc0100scn", taitof2_tc0100scn_intf) |
| 3415 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3416 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3417 | MCFG_TC0100SCN_TX_REGION(2) |
| 3451 | 3418 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3452 | 3419 | MCFG_TC0100SCN_PALETTE("palette") |
| 3453 | 3420 | MACHINE_CONFIG_END |
| r29475 | r29476 | |
| 3465 | 3432 | MCFG_SCREEN_MODIFY("screen") |
| 3466 | 3433 | MCFG_SCREEN_UPDATE_DRIVER(taitof2_state, screen_update_taitof2_pri_roz) |
| 3467 | 3434 | |
| 3468 | | MCFG_TC0100SCN_ADD("tc0100scn", dondokod_tc0100scn_intf) |
| 3435 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3436 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3437 | MCFG_TC0100SCN_TX_REGION(3) |
| 3438 | MCFG_TC0100SCN_OFFSETS(3, 0) |
| 3469 | 3439 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3470 | 3440 | MCFG_TC0100SCN_PALETTE("palette") |
| 3471 | 3441 | |
| r29475 | r29476 | |
| 3511 | 3481 | MCFG_SCREEN_MODIFY("screen") |
| 3512 | 3482 | MCFG_SCREEN_VBLANK_DRIVER(taitof2_state, screen_eof_taitof2_partial_buffer_delayed_qzchikyu) |
| 3513 | 3483 | |
| 3514 | | MCFG_TC0100SCN_ADD("tc0100scn", qzchikyu_tc0100scn_intf) |
| 3484 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3485 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3486 | MCFG_TC0100SCN_TX_REGION(2) |
| 3487 | MCFG_TC0100SCN_OFFSETS(0, 0) |
| 3488 | MCFG_TC0100SCN_OFFSETS_FLIP(-4, 0) |
| 3489 | MCFG_TC0100SCN_OFFSETS_FLIPTX(-11, 0) |
| 3515 | 3490 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3516 | 3491 | MCFG_TC0100SCN_PALETTE("palette") |
| 3517 | 3492 | MACHINE_CONFIG_END |
| r29475 | r29476 | |
| 3529 | 3504 | MCFG_SCREEN_MODIFY("screen") |
| 3530 | 3505 | MCFG_SCREEN_UPDATE_DRIVER(taitof2_state, screen_update_taitof2_yesnoj) |
| 3531 | 3506 | |
| 3532 | | MCFG_TC0100SCN_ADD("tc0100scn", liquidk_tc0100scn_intf) |
| 3507 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3508 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3509 | MCFG_TC0100SCN_TX_REGION(2) |
| 3510 | MCFG_TC0100SCN_OFFSETS(3, 0) |
| 3533 | 3511 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3534 | 3512 | MCFG_TC0100SCN_PALETTE("palette") |
| 3535 | 3513 | MACHINE_CONFIG_END |
| r29475 | r29476 | |
| 3589 | 3567 | MCFG_PALETTE_MODIFY("palette") |
| 3590 | 3568 | MCFG_PALETTE_FORMAT(RRRRGGGGBBBBxxxx) |
| 3591 | 3569 | |
| 3592 | | MCFG_TC0100SCN_ADD("tc0100scn", liquidk_tc0100scn_intf) |
| 3570 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3571 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3572 | MCFG_TC0100SCN_TX_REGION(2) |
| 3573 | MCFG_TC0100SCN_OFFSETS(3, 0) |
| 3593 | 3574 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3594 | 3575 | MCFG_TC0100SCN_PALETTE("palette") |
| 3595 | 3576 | |
| r29475 | r29476 | |
| 3611 | 3592 | MCFG_PALETTE_MODIFY("palette") |
| 3612 | 3593 | MCFG_PALETTE_FORMAT(RRRRGGGGBBBBxxxx) |
| 3613 | 3594 | |
| 3614 | | MCFG_TC0100SCN_ADD("tc0100scn", liquidk_tc0100scn_intf) |
| 3595 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3596 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3597 | MCFG_TC0100SCN_TX_REGION(2) |
| 3598 | MCFG_TC0100SCN_OFFSETS(3, 0) |
| 3615 | 3599 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3616 | 3600 | MCFG_TC0100SCN_PALETTE("palette") |
| 3617 | 3601 | |
| r29475 | r29476 | |
| 3633 | 3617 | MCFG_PALETTE_MODIFY("palette") |
| 3634 | 3618 | MCFG_PALETTE_FORMAT(RRRRGGGGBBBBxxxx) |
| 3635 | 3619 | |
| 3636 | | MCFG_TC0100SCN_ADD("tc0100scn", liquidk_tc0100scn_intf) |
| 3620 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3621 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3622 | MCFG_TC0100SCN_TX_REGION(2) |
| 3623 | MCFG_TC0100SCN_OFFSETS(3, 0) |
| 3637 | 3624 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3638 | 3625 | MCFG_TC0100SCN_PALETTE("palette") |
| 3639 | 3626 | |
| r29475 | r29476 | |
| 3655 | 3642 | MCFG_PALETTE_MODIFY("palette") |
| 3656 | 3643 | MCFG_PALETTE_FORMAT(RRRRGGGGBBBBxxxx) |
| 3657 | 3644 | |
| 3658 | | MCFG_TC0100SCN_ADD("tc0100scn", liquidk_tc0100scn_intf) |
| 3645 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3646 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3647 | MCFG_TC0100SCN_TX_REGION(2) |
| 3648 | MCFG_TC0100SCN_OFFSETS(3, 0) |
| 3659 | 3649 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3660 | 3650 | MCFG_TC0100SCN_PALETTE("palette") |
| 3661 | 3651 | |
| r29475 | r29476 | |
| 3675 | 3665 | MCFG_SCREEN_MODIFY("screen") |
| 3676 | 3666 | MCFG_SCREEN_UPDATE_DRIVER(taitof2_state, screen_update_taitof2_pri_roz) |
| 3677 | 3667 | |
| 3678 | | MCFG_TC0100SCN_ADD("tc0100scn", dondokod_tc0100scn_intf) |
| 3668 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3669 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3670 | MCFG_TC0100SCN_TX_REGION(3) |
| 3671 | MCFG_TC0100SCN_OFFSETS(3, 0) |
| 3679 | 3672 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3680 | 3673 | MCFG_TC0100SCN_PALETTE("palette") |
| 3681 | 3674 | |
| r29475 | r29476 | |
| 3722 | 3715 | |
| 3723 | 3716 | MCFG_VIDEO_START_OVERRIDE(taitof2_state,taitof2_dondokod) |
| 3724 | 3717 | |
| 3725 | | MCFG_TC0100SCN_ADD("tc0100scn", dondokod_tc0100scn_intf) |
| 3718 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3719 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3720 | MCFG_TC0100SCN_TX_REGION(3) |
| 3721 | MCFG_TC0100SCN_OFFSETS(3, 0) |
| 3726 | 3722 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3727 | 3723 | MCFG_TC0100SCN_PALETTE("palette") |
| 3728 | 3724 | |
| r29475 | r29476 | |
| 3787 | 3783 | |
| 3788 | 3784 | MCFG_VIDEO_START_OVERRIDE(taitof2_state,taitof2_driftout) |
| 3789 | 3785 | |
| 3790 | | MCFG_TC0100SCN_ADD("tc0100scn", dondokod_tc0100scn_intf) |
| 3786 | MCFG_DEVICE_ADD("tc0100scn", TC0100SCN, 0) |
| 3787 | MCFG_TC0100SCN_GFX_REGION(1) |
| 3788 | MCFG_TC0100SCN_TX_REGION(3) |
| 3789 | MCFG_TC0100SCN_OFFSETS(3, 0) |
| 3791 | 3790 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 3792 | 3791 | MCFG_TC0100SCN_PALETTE("palette") |
| 3793 | 3792 | |
trunk/src/mame/drivers/ninjaw.c
| r29475 | r29476 | |
| 724 | 724 | Darius2: arbitrary interleaving of 10 to keep cpus synced. |
| 725 | 725 | *************************************************************/ |
| 726 | 726 | |
| 727 | | static const tc0100scn_interface darius2_tc0100scn_intf_l = |
| 728 | | { |
| 729 | | 1, 3, /* gfxnum, txnum */ |
| 730 | | 22, 0, /* x_offset, y_offset */ |
| 731 | | 0, 0, /* flip_xoff, flip_yoff */ |
| 732 | | 0, 0, /* flip_text_xoff, flip_text_yoff */ |
| 733 | | 0, 0 |
| 734 | | }; |
| 735 | | |
| 736 | | static const tc0100scn_interface darius2_tc0100scn_intf_m = |
| 737 | | { |
| 738 | | 2, 3, /* gfxnum, txnum */ |
| 739 | | 22, 0, /* x_offset, y_offset */ |
| 740 | | 0, 0, /* flip_xoff, flip_yoff */ |
| 741 | | 0, 0, /* flip_text_xoff, flip_text_yoff */ |
| 742 | | 2, 1 |
| 743 | | }; |
| 744 | | |
| 745 | | static const tc0100scn_interface darius2_tc0100scn_intf_r = |
| 746 | | { |
| 747 | | 2, 3, /* gfxnum, txnum */ |
| 748 | | 22, 0, /* x_offset, y_offset */ |
| 749 | | 0, 0, /* flip_xoff, flip_yoff */ |
| 750 | | 0, 0, /* flip_text_xoff, flip_text_yoff */ |
| 751 | | 4, 1 |
| 752 | | }; |
| 753 | | |
| 754 | 727 | void ninjaw_state::ninjaw_postload() |
| 755 | 728 | { |
| 756 | 729 | parse_control(); |
| r29475 | r29476 | |
| 832 | 805 | MCFG_SCREEN_UPDATE_DRIVER(ninjaw_state, screen_update_ninjaw_right) |
| 833 | 806 | MCFG_SCREEN_PALETTE("palette3") |
| 834 | 807 | |
| 835 | | MCFG_TC0100SCN_ADD("tc0100scn_1", darius2_tc0100scn_intf_l) |
| 808 | MCFG_DEVICE_ADD("tc0100scn_1", TC0100SCN, 0) |
| 809 | MCFG_TC0100SCN_GFX_REGION(1) |
| 810 | MCFG_TC0100SCN_TX_REGION(3) |
| 811 | MCFG_TC0100SCN_OFFSETS(22, 0) |
| 812 | MCFG_TC0100SCN_MULTISCR_XOFFS(0) |
| 813 | MCFG_TC0100SCN_MULTISCR_HACK(0) |
| 836 | 814 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 837 | 815 | MCFG_TC0100SCN_PALETTE("palette") |
| 838 | | MCFG_TC0100SCN_ADD("tc0100scn_2", darius2_tc0100scn_intf_m) |
| 816 | |
| 817 | MCFG_TC0110PCR_ADD("tc0110pcr_1") |
| 818 | MCFG_TC0110PCR_PALETTE("palette") |
| 819 | |
| 820 | MCFG_DEVICE_ADD("tc0100scn_2", TC0100SCN, 0) |
| 821 | MCFG_TC0100SCN_GFX_REGION(2) |
| 822 | MCFG_TC0100SCN_TX_REGION(3) |
| 823 | MCFG_TC0100SCN_OFFSETS(22, 0) |
| 824 | MCFG_TC0100SCN_MULTISCR_XOFFS(2) |
| 825 | MCFG_TC0100SCN_MULTISCR_HACK(1) |
| 839 | 826 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 840 | 827 | MCFG_TC0100SCN_PALETTE("palette2") |
| 841 | | MCFG_TC0100SCN_ADD("tc0100scn_3", darius2_tc0100scn_intf_r) |
| 828 | |
| 829 | MCFG_TC0110PCR_ADD("tc0110pcr_2") |
| 830 | MCFG_TC0110PCR_PALETTE("palette2") |
| 831 | |
| 832 | MCFG_DEVICE_ADD("tc0100scn_3", TC0100SCN, 0) |
| 833 | MCFG_TC0100SCN_GFX_REGION(2) |
| 834 | MCFG_TC0100SCN_TX_REGION(3) |
| 835 | MCFG_TC0100SCN_OFFSETS(22, 0) |
| 836 | MCFG_TC0100SCN_MULTISCR_XOFFS(4) |
| 837 | MCFG_TC0100SCN_MULTISCR_HACK(1) |
| 842 | 838 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 843 | 839 | MCFG_TC0100SCN_PALETTE("palette3") |
| 844 | 840 | |
| 845 | | MCFG_TC0110PCR_ADD("tc0110pcr_1") |
| 846 | | MCFG_TC0110PCR_PALETTE("palette") |
| 847 | | MCFG_TC0110PCR_ADD("tc0110pcr_2") |
| 848 | | MCFG_TC0110PCR_PALETTE("palette2") |
| 849 | 841 | MCFG_TC0110PCR_ADD("tc0110pcr_3") |
| 850 | 842 | MCFG_TC0110PCR_PALETTE("palette3") |
| 851 | 843 | |
| r29475 | r29476 | |
| 933 | 925 | MCFG_SCREEN_UPDATE_DRIVER(ninjaw_state, screen_update_ninjaw_right) |
| 934 | 926 | MCFG_SCREEN_PALETTE("palette3") |
| 935 | 927 | |
| 936 | | MCFG_TC0100SCN_ADD("tc0100scn_1", darius2_tc0100scn_intf_l) |
| 928 | MCFG_DEVICE_ADD("tc0100scn_1", TC0100SCN, 0) |
| 929 | MCFG_TC0100SCN_GFX_REGION(1) |
| 930 | MCFG_TC0100SCN_TX_REGION(3) |
| 931 | MCFG_TC0100SCN_OFFSETS(22, 0) |
| 932 | MCFG_TC0100SCN_MULTISCR_XOFFS(0) |
| 933 | MCFG_TC0100SCN_MULTISCR_HACK(0) |
| 937 | 934 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 938 | 935 | MCFG_TC0100SCN_PALETTE("palette") |
| 939 | | MCFG_TC0100SCN_ADD("tc0100scn_2", darius2_tc0100scn_intf_m) |
| 936 | |
| 937 | MCFG_TC0110PCR_ADD("tc0110pcr_1") |
| 938 | MCFG_TC0110PCR_PALETTE("palette") |
| 939 | |
| 940 | MCFG_DEVICE_ADD("tc0100scn_2", TC0100SCN, 0) |
| 941 | MCFG_TC0100SCN_GFX_REGION(2) |
| 942 | MCFG_TC0100SCN_TX_REGION(3) |
| 943 | MCFG_TC0100SCN_OFFSETS(22, 0) |
| 944 | MCFG_TC0100SCN_MULTISCR_XOFFS(2) |
| 945 | MCFG_TC0100SCN_MULTISCR_HACK(1) |
| 940 | 946 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 941 | 947 | MCFG_TC0100SCN_PALETTE("palette2") |
| 942 | | MCFG_TC0100SCN_ADD("tc0100scn_3", darius2_tc0100scn_intf_r) |
| 948 | |
| 949 | MCFG_TC0110PCR_ADD("tc0110pcr_2") |
| 950 | MCFG_TC0110PCR_PALETTE("palette2") |
| 951 | |
| 952 | MCFG_DEVICE_ADD("tc0100scn_3", TC0100SCN, 0) |
| 953 | MCFG_TC0100SCN_GFX_REGION(2) |
| 954 | MCFG_TC0100SCN_TX_REGION(3) |
| 955 | MCFG_TC0100SCN_OFFSETS(22, 0) |
| 956 | MCFG_TC0100SCN_MULTISCR_XOFFS(4) |
| 957 | MCFG_TC0100SCN_MULTISCR_HACK(1) |
| 943 | 958 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 944 | 959 | MCFG_TC0100SCN_PALETTE("palette3") |
| 945 | 960 | |
| 946 | | MCFG_TC0110PCR_ADD("tc0110pcr_1") |
| 947 | | MCFG_TC0110PCR_PALETTE("palette") |
| 948 | | MCFG_TC0110PCR_ADD("tc0110pcr_2") |
| 949 | | MCFG_TC0110PCR_PALETTE("palette2") |
| 950 | 961 | MCFG_TC0110PCR_ADD("tc0110pcr_3") |
| 951 | 962 | MCFG_TC0110PCR_PALETTE("palette3") |
| 952 | 963 | |
trunk/src/mame/drivers/warriorb.c
| r29475 | r29476 | |
| 423 | 423 | MACHINE DRIVERS |
| 424 | 424 | ***********************************************************/ |
| 425 | 425 | |
| 426 | | static const tc0100scn_interface darius2d_tc0100scn_intf_l = |
| 427 | | { |
| 428 | | 1, 3, /* gfxnum, txnum */ |
| 429 | | 4, 0, /* x_offset, y_offset */ |
| 430 | | 0, 0, /* flip_xoff, flip_yoff */ |
| 431 | | 0, 0, /* flip_text_xoff, flip_text_yoff */ |
| 432 | | 0, 0 |
| 433 | | }; |
| 434 | | |
| 435 | | static const tc0100scn_interface darius2d_tc0100scn_intf_r = |
| 436 | | { |
| 437 | | 2, 3, /* gfxnum, txnum */ |
| 438 | | 4, 0, /* x_offset, y_offset */ |
| 439 | | 0, 0, /* flip_xoff, flip_yoff */ |
| 440 | | 0, 0, /* flip_text_xoff, flip_text_yoff */ |
| 441 | | 0, 1 |
| 442 | | }; |
| 443 | | |
| 444 | | static const tc0100scn_interface warriorb_tc0100scn_intf_l = |
| 445 | | { |
| 446 | | 1, 3, /* gfxnum, txnum */ |
| 447 | | 4, 0, /* x_offset, y_offset */ |
| 448 | | 0, 0, /* flip_xoff, flip_yoff */ |
| 449 | | 0, 0, /* flip_text_xoff, flip_text_yoff */ |
| 450 | | 0, 0 |
| 451 | | }; |
| 452 | | |
| 453 | | static const tc0100scn_interface warriorb_tc0100scn_intf_r = |
| 454 | | { |
| 455 | | 2, 3, /* gfxnum, txnum */ |
| 456 | | 4, 0, /* x_offset, y_offset */ |
| 457 | | 0, 0, /* flip_xoff, flip_yoff */ |
| 458 | | 0, 0, /* flip_text_xoff, flip_text_yoff */ |
| 459 | | 1, 1 |
| 460 | | }; |
| 461 | | |
| 462 | | |
| 463 | 426 | void warriorb_state::machine_start() |
| 464 | 427 | { |
| 465 | 428 | membank("bank10")->configure_entries(0, 8, memregion("audiocpu")->base() + 0xc000, 0x4000); |
| r29475 | r29476 | |
| 509 | 472 | MCFG_SCREEN_UPDATE_DRIVER(warriorb_state, screen_update_warriorb_left) |
| 510 | 473 | MCFG_SCREEN_PALETTE("palette") |
| 511 | 474 | |
| 475 | MCFG_DEVICE_ADD("tc0100scn_1", TC0100SCN, 0) |
| 476 | MCFG_TC0100SCN_GFX_REGION(1) |
| 477 | MCFG_TC0100SCN_TX_REGION(3) |
| 478 | MCFG_TC0100SCN_OFFSETS(4, 0) |
| 479 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 480 | MCFG_TC0100SCN_PALETTE("palette") |
| 481 | |
| 482 | MCFG_TC0110PCR_ADD("tc0110pcr_1") |
| 483 | MCFG_TC0110PCR_PALETTE("palette") |
| 484 | |
| 512 | 485 | MCFG_SCREEN_ADD("rscreen", RASTER) |
| 513 | 486 | MCFG_SCREEN_REFRESH_RATE(60) |
| 514 | 487 | MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0)) |
| r29475 | r29476 | |
| 517 | 490 | MCFG_SCREEN_UPDATE_DRIVER(warriorb_state, screen_update_warriorb_right) |
| 518 | 491 | MCFG_SCREEN_PALETTE("palette2") |
| 519 | 492 | |
| 520 | | MCFG_TC0100SCN_ADD("tc0100scn_1", darius2d_tc0100scn_intf_l) |
| 493 | MCFG_DEVICE_ADD("tc0100scn_2", TC0100SCN, 0) |
| 494 | MCFG_TC0100SCN_GFX_REGION(2) |
| 495 | MCFG_TC0100SCN_TX_REGION(3) |
| 496 | MCFG_TC0100SCN_OFFSETS(4, 0) |
| 497 | MCFG_TC0100SCN_MULTISCR_HACK(1) |
| 521 | 498 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 522 | | MCFG_TC0100SCN_PALETTE("palette") |
| 523 | | |
| 524 | | MCFG_TC0100SCN_ADD("tc0100scn_2", darius2d_tc0100scn_intf_r) |
| 525 | | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 526 | 499 | MCFG_TC0100SCN_PALETTE("palette2") |
| 527 | 500 | |
| 528 | | MCFG_TC0110PCR_ADD("tc0110pcr_1") |
| 529 | | MCFG_TC0110PCR_PALETTE("palette") |
| 530 | 501 | MCFG_TC0110PCR_ADD("tc0110pcr_2") |
| 531 | 502 | MCFG_TC0110PCR_PALETTE("palette2") |
| 532 | 503 | |
| r29475 | r29476 | |
| 589 | 560 | MCFG_SCREEN_UPDATE_DRIVER(warriorb_state, screen_update_warriorb_left) |
| 590 | 561 | MCFG_SCREEN_PALETTE("palette") |
| 591 | 562 | |
| 563 | MCFG_DEVICE_ADD("tc0100scn_1", TC0100SCN, 0) |
| 564 | MCFG_TC0100SCN_GFX_REGION(1) |
| 565 | MCFG_TC0100SCN_TX_REGION(3) |
| 566 | MCFG_TC0100SCN_OFFSETS(4, 0) |
| 567 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 568 | MCFG_TC0100SCN_PALETTE("palette") |
| 569 | |
| 570 | MCFG_TC0110PCR_ADD("tc0110pcr_1") |
| 571 | MCFG_TC0110PCR_PALETTE("palette") |
| 572 | |
| 592 | 573 | MCFG_SCREEN_ADD("rscreen", RASTER) |
| 593 | 574 | MCFG_SCREEN_REFRESH_RATE(60) |
| 594 | 575 | MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0)) |
| r29475 | r29476 | |
| 597 | 578 | MCFG_SCREEN_UPDATE_DRIVER(warriorb_state, screen_update_warriorb_right) |
| 598 | 579 | MCFG_SCREEN_PALETTE("palette2") |
| 599 | 580 | |
| 600 | | MCFG_TC0100SCN_ADD("tc0100scn_1", warriorb_tc0100scn_intf_l) |
| 581 | MCFG_DEVICE_ADD("tc0100scn_2", TC0100SCN, 0) |
| 582 | MCFG_TC0100SCN_GFX_REGION(2) |
| 583 | MCFG_TC0100SCN_TX_REGION(3) |
| 584 | MCFG_TC0100SCN_OFFSETS(4, 0) |
| 585 | MCFG_TC0100SCN_MULTISCR_XOFFS(1) |
| 586 | MCFG_TC0100SCN_MULTISCR_HACK(1) |
| 601 | 587 | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 602 | | MCFG_TC0100SCN_PALETTE("palette") |
| 603 | | |
| 604 | | MCFG_TC0100SCN_ADD("tc0100scn_2", warriorb_tc0100scn_intf_r) |
| 605 | | MCFG_TC0100SCN_GFXDECODE("gfxdecode") |
| 606 | 588 | MCFG_TC0100SCN_PALETTE("palette2") |
| 607 | 589 | |
| 608 | | MCFG_TC0110PCR_ADD("tc0110pcr_1") |
| 609 | | MCFG_TC0110PCR_PALETTE("palette") |
| 610 | 590 | MCFG_TC0110PCR_ADD("tc0110pcr_2") |
| 611 | 591 | MCFG_TC0110PCR_PALETTE("palette2") |
| 612 | 592 | |