Previous 15994 Revisions Next

r14372 Tuesday 7th February, 2012 at 08:31:10 UTC by Miodrag Milanović
Sync with MAME r15330 (no whatsnew)
[src/emu]audit.c cheat.c clifront.c diexec.c diimage.c fileio.c info.c input.c machine.c mame.c memory.c rendlay.c romload.c schedule.c softlist.c sound.c speaker.c tilemap.c timer.c ui.c uiimage.c uiinput.c uimain.c uiswlist.c validity.c
[src/emu/cpu/mips]mips3.c mips3drc.c
[src/emu/cpu/powerpc]ppcdrc.c
[src/emu/cpu/rsp]rspdrc.c
[src/emu/cpu/sh2]sh2drc.c
[src/emu/debugint]debugint.c
[src/emu/drivers]empty.c
[src/emu/video]voodoo.c
[src/ldplayer]ldplayer.c
[src/lib]lib.mak
[src/mame/drivers]bntyhunt.c coolridr.c ddenlovr.c igspc.c pinkiri8.c
[src/mame/machine]irobot.c n64.c vectrex.c
[src/mame/video]artmagic.c buggychl.c dc.c itech32.c jaguar.c mcatadv.c midtunit.c midyunit.c ppu2c0x.c psikyosh.c segas32.c shangha3.c snes.c stvvdp2.c taito_b.c vertigo.c

src/mame/machine/irobot.c
r14371r14372
55***************************************************************************/
66
77#include "emu.h"
8#include "profiler.h"
98#include "cpu/m6809/m6809.h"
109#include "includes/irobot.h"
1110
src/mame/machine/vectrex.c
r14371r14372
33#include "machine/6522via.h"
44#include "cpu/m6809/m6809.h"
55#include "sound/ay8910.h"
6#include "image.h"
76
87#include "includes/vectrex.h"
98
src/mame/machine/n64.c
r14371r14372
55#include "cpu/mips/mips3.h"
66#include "cpu/mips/mips3com.h"
77#include "includes/n64.h"
8#include "profiler.h"
98
109UINT32 *rdram;
1110UINT32 *rsp_imem;
src/mame/video/midyunit.c
r14371r14372
55**************************************************************************/
66
77#include "emu.h"
8#include "profiler.h"
98#include "cpu/tms34010/tms34010.h"
109#include "includes/midyunit.h"
1110
src/mame/video/artmagic.c
r14371r14372
55***************************************************************************/
66
77#include "emu.h"
8#include "profiler.h"
98#include "cpu/tms34010/tms34010.h"
109#include "video/tlc34076.h"
1110#include "includes/artmagic.h"
src/mame/video/midtunit.c
r14371r14372
55**************************************************************************/
66
77#include "emu.h"
8#include "profiler.h"
98#include "cpu/tms34010/tms34010.h"
109#include "includes/midtunit.h"
1110
src/mame/video/stvvdp2.c
r14371r14372
102102*/
103103
104104#include "emu.h"
105#include "profiler.h"
106105#include "includes/stv.h"
107#include "drawgfxm.h"
108106
109107static UINT8 get_vblank(running_machine &machine);
110108static UINT8 get_hblank(running_machine &machine);
r14371r14372
24382436{
24392437   UINT32 rb = (a & 0xff00ff) + (b & 0xff00ff);
24402438   UINT32 g = (a & 0x00ff00) + (b & 0x00ff00);
2441   if (rb & 0x1000000) rb |= 0xff0000;
2442   if (g & 0x10000) g = 0xff00;
2443   if (rb & 0x100) rb |= 0xff;
2444   return (rb & 0xff00ff) | g;
2439   return MAKE_RGB((rb & 0x1000000) ? 0xff : RGB_RED(rb),
2440      (g & 0x0010000) ? 0xff : RGB_GREEN(g),
2441      (rb & 0x0000100) ? 0xff : RGB_BLUE(rb)
2442   );
24452443}
24462444
24472445static void stv_vdp2_drawgfxzoom(
r14371r14372
26922690   saturn_state *state = machine.driver_data<saturn_state>();
26932691   rectangle myclip;
26942692   UINT8* gfxdata;
2695   int t_pen;
26962693   int sprite_screen_width, sprite_screen_height;
26972694
26982695   gfxdata = state->m_vdp2.gfx_decode + code * 0x20;
r14371r14372
27722769               int r,g,b;
27732770
27742771               data = (source[(x_index>>16)*2] << 8) | source[(x_index>>16)*2+1];
2775               t_pen = (data & 0x8000) || ( transparency == STV_TRANSPARENCY_NONE );
2776               if (t_pen)
2772               if ((data & 0x8000) || (transparency == STV_TRANSPARENCY_NONE))
27772773               {
2778                  b = (data & 0x7c00) >> 7;
2779                  g = (data & 0x03e0) >> 2;
2780                  r = (data & 0x001f) << 3;
2774                  b = pal5bit((data & 0x7c00) >> 10);
2775                  g = pal5bit((data & 0x03e0) >> 5);
2776                  r = pal5bit( data & 0x001f);
27812777                  if(stv2_current_tilemap.fade_control & 1)
27822778                     stv_vdp2_compute_color_offset(machine,&r,&g,&b,stv2_current_tilemap.fade_control & 2);
27832779
r14371r14372
28052801   saturn_state *state = machine.driver_data<saturn_state>();
28062802   rectangle myclip;
28072803   UINT8* gfxdata;
2808   int t_pen;
28092804   int sprite_screen_width, sprite_screen_height;
28102805
28112806   gfxdata = state->m_vdp2.gfx_decode + code * 0x20;
r14371r14372
28852880               int r,g,b;
28862881
28872882               data = (source[(x_index>>16)*4+0] << 24) | (source[(x_index>>16)*4+1] << 16) | (source[(x_index>>16)*4+2] << 8) | (source[(x_index>>16)*4+3] << 0);
2888               t_pen = (data & 0x80000000) || ( transparency == STV_TRANSPARENCY_NONE );
2889               if (t_pen)
2883               if ((data & 0x80000000) || (transparency == STV_TRANSPARENCY_NONE))
28902884               {
28912885                  b = (data & 0xff0000) >> 16;
28922886                  g = (data & 0x00ff00) >> 8;
r14371r14372
29252919   int xlinesize = 0/*, xpixelsize = 0*/;
29262920   int xcnt,ycnt;
29272921   UINT8* gfxdata = state->m_vdp2.gfx_decode;
2928   static UINT32 *destline;
2922   UINT32 *destline;
29292923   UINT16 pal_color_offset = 0;
29302924   UINT8* gfxdatalow, *gfxdatahigh;
2931   /*Window effect 1=no draw*/
2932   int tw = 0;
2933   /*Transparency code 1=opaque,0=transparent*/
2934   int t_pen;
29352925   int screen_x,screen_y;
29362926
29372927   if (!stv2_current_tilemap.enabled) return;
r14371r14372
29932983         {
29942984            for (xcnt = 0; xcnt <xsize;xcnt+=2)
29952985            {
2996               tw = stv_vdp2_window_process(machine,xcnt+1,ycnt);
2997               if(tw == 0)
2986               if (!stv_vdp2_window_process(machine,xcnt+1,ycnt))
29982987               {
2999                  t_pen = (((gfxdata[0] & 0x0f) >> 0) != 0) ? (1) : (0);
3000                  if(stv2_current_tilemap.transparency == STV_TRANSPARENCY_NONE) t_pen = 1;
3001                  if(t_pen)
2988                  if ((gfxdata[0] & 0x0f) || (stv2_current_tilemap.transparency == STV_TRANSPARENCY_NONE))
30022989                  {
30032990                     if (((xcnt + 1) <= screen_x) && (ycnt <= screen_y))
30042991                     {
3005                     if ( stv2_current_tilemap.colour_calculation_enabled == 0 )
3006                        bitmap.pix32(ycnt, xcnt+1) = machine.pens[((gfxdata[0] & 0x0f) >> 0) | (stv2_current_tilemap.bitmap_palette_number * 0x100) | pal_color_offset];
3007                     else
3008                        bitmap.pix32(ycnt, xcnt+1) = alpha_blend_r32(bitmap.pix32(ycnt, xcnt+1), machine.pens[((gfxdata[0] & 0x0f) >> 0) | (stv2_current_tilemap.bitmap_palette_number * 0x100) | pal_color_offset], stv2_current_tilemap.alpha);
2992                        if ( stv2_current_tilemap.colour_calculation_enabled == 0 )
2993                           bitmap.pix32(ycnt, xcnt+1) = machine.pens[((gfxdata[0] & 0x0f) >> 0) | (stv2_current_tilemap.bitmap_palette_number * 0x100) | pal_color_offset];
2994                        else
2995                           bitmap.pix32(ycnt, xcnt+1) = alpha_blend_r32(bitmap.pix32(ycnt, xcnt+1), machine.pens[((gfxdata[0] & 0x0f) >> 0) | (stv2_current_tilemap.bitmap_palette_number * 0x100) | pal_color_offset], stv2_current_tilemap.alpha);
30092996                     }
30102997                  }
30112998               }
3012               tw = stv_vdp2_window_process(machine,xcnt,ycnt);
3013               if(tw == 0)
2999               if (!stv_vdp2_window_process(machine,xcnt,ycnt))
30143000               {
3015                  t_pen = (((gfxdata[0] & 0xf0) >> 4) != 0) ? (1) : (0);
3016                  if(stv2_current_tilemap.transparency == STV_TRANSPARENCY_NONE) t_pen = 1;
3017                  if(t_pen)
3001                  if ((gfxdata[0] & 0xf0) || (stv2_current_tilemap.transparency == STV_TRANSPARENCY_NONE))
30183002                  {
30193003                     if (((xcnt + 0) <= screen_x) && (ycnt <= screen_y))
30203004                     {
3021                     if ( stv2_current_tilemap.colour_calculation_enabled == 0 )
3022                        bitmap.pix32(ycnt, xcnt) = machine.pens[((gfxdata[0] & 0xf0) >> 4) | (stv2_current_tilemap.bitmap_palette_number * 0x100) | pal_color_offset];
3023                     else
3024                        bitmap.pix32(ycnt, xcnt) = alpha_blend_r32(bitmap.pix32(ycnt, xcnt), machine.pens[((gfxdata[0] & 0xf0) >> 4) | (stv2_current_tilemap.bitmap_palette_number * 0x100) | pal_color_offset], stv2_current_tilemap.alpha);
3005                        if ( stv2_current_tilemap.colour_calculation_enabled == 0 )
3006                           bitmap.pix32(ycnt, xcnt) = machine.pens[((gfxdata[0] & 0xf0) >> 4) | (stv2_current_tilemap.bitmap_palette_number * 0x100) | pal_color_offset];
3007                        else
3008                           bitmap.pix32(ycnt, xcnt) = alpha_blend_r32(bitmap.pix32(ycnt, xcnt), machine.pens[((gfxdata[0] & 0xf0) >> 4) | (stv2_current_tilemap.bitmap_palette_number * 0x100) | pal_color_offset], stv2_current_tilemap.alpha);
30253009                     }
30263010                  }
30273011               }
r14371r14372
30433027               {
30443028                  int xs = xcnt & xsizemask;
30453029
3046                  tw = stv_vdp2_window_process(machine,xcnt,ycnt);
3047                  if(tw == 0)
3030                  if (!stv_vdp2_window_process(machine,xcnt,ycnt))
30483031                  {
30493032                     //60aee2c = $0013 at @605d838
3050                     t_pen = ((gfxdata[xs] & 0xff) != 0) ? (1) : (0);
3051                     if(stv2_current_tilemap.transparency == STV_TRANSPARENCY_NONE) t_pen = 1;
3052                     if(t_pen)
3033                     if ((gfxdata[xs] & 0xff) || (stv2_current_tilemap.transparency == STV_TRANSPARENCY_NONE))
30533034                     {
30543035                        if (((xcnt + 0) <= screen_x) && (ycnt <= screen_y))
30553036                        {
3056                        if ( stv2_current_tilemap.colour_calculation_enabled == 0 )
3057                           bitmap.pix32(ycnt, xcnt) = machine.pens[(gfxdata[xs] & 0xff) | (stv2_current_tilemap.bitmap_palette_number * 0x100) | pal_color_offset];
3058                        else
3059                           bitmap.pix32(ycnt, xcnt) = alpha_blend_r32(bitmap.pix32(ycnt, xcnt), machine.pens[(gfxdata[xs] & 0xff) | (stv2_current_tilemap.bitmap_palette_number * 0x100) | pal_color_offset], stv2_current_tilemap.alpha);
3037                           if ( stv2_current_tilemap.colour_calculation_enabled == 0 )
3038                              bitmap.pix32(ycnt, xcnt) = machine.pens[(gfxdata[xs] & 0xff) | (stv2_current_tilemap.bitmap_palette_number * 0x100) | pal_color_offset];
3039                           else
3040                              bitmap.pix32(ycnt, xcnt) = alpha_blend_r32(bitmap.pix32(ycnt, xcnt), machine.pens[(gfxdata[xs] & 0xff) | (stv2_current_tilemap.bitmap_palette_number * 0x100) | pal_color_offset], stv2_current_tilemap.alpha);
30603041                        }
30613042                     }
30623043                  }
r14371r14372
30853066               gfxdata += xlinesize*(yy>>16);
30863067               yy &= 0xffff;
30873068
3088               destline = &bitmap.pix32(ycnt);
30893069               xx = 0;
30903070               for (xcnt = cliprect.min_x; xcnt <= cliprect.max_x; xx+=stv2_current_tilemap.incx, xcnt++)
30913071               {
30923072                  xs = xx >> 16;
3093                  tw = stv_vdp2_window_process(machine,xcnt,ycnt);
3094                  if(tw == 0)
3073                  if (!stv_vdp2_window_process(machine,xcnt,ycnt))
30953074                  {
3096                     t_pen = ((gfxdata[xs] & 0xff) != 0) ? 1 : 0;
3097                     if(stv2_current_tilemap.transparency == STV_TRANSPARENCY_NONE) t_pen = 1;
3098                     if(t_pen)
3075                     if ((gfxdata[xs] & 0xff) || (stv2_current_tilemap.transparency == STV_TRANSPARENCY_NONE))
30993076                     {
31003077                        if (((xcnt + 0) <= screen_x) && (ycnt <= screen_y))
31013078                        {
3102                        if ( stv2_current_tilemap.colour_calculation_enabled == 0 )
3103                           bitmap.pix32(ycnt, xcnt) = machine.pens[(gfxdata[xs] & 0xff) | (stv2_current_tilemap.bitmap_palette_number * 0x100) | pal_color_offset];
3104                        else
3105                           bitmap.pix32(ycnt, xcnt) = alpha_blend_r32(bitmap.pix32(ycnt, xcnt), machine.pens[(gfxdata[xs] & 0xff) | (stv2_current_tilemap.bitmap_palette_number * 0x100) | pal_color_offset], stv2_current_tilemap.alpha);
3079                           if ( stv2_current_tilemap.colour_calculation_enabled == 0 )
3080                              bitmap.pix32(ycnt, xcnt) = machine.pens[(gfxdata[xs] & 0xff) | (stv2_current_tilemap.bitmap_palette_number * 0x100) | pal_color_offset];
3081                           else
3082                              bitmap.pix32(ycnt, xcnt) = alpha_blend_r32(bitmap.pix32(ycnt, xcnt), machine.pens[(gfxdata[xs] & 0xff) | (stv2_current_tilemap.bitmap_palette_number * 0x100) | pal_color_offset], stv2_current_tilemap.alpha);
31063083                        }
31073084                     }
31083085                  }
r14371r14372
31183095         {
31193096            for (xcnt = 0; xcnt <xsize;xcnt++)
31203097            {
3121               tw = stv_vdp2_window_process(machine,xcnt,ycnt);
3122               if(tw == 0)
3098               if (!stv_vdp2_window_process(machine,xcnt,ycnt))
31233099               {
3124                  t_pen = ((((gfxdata[0] & 0x07) * 0x100) | (gfxdata[1] & 0xff)) != 0) ? (1) : (0);
3125                  if(stv2_current_tilemap.transparency == STV_TRANSPARENCY_NONE) t_pen = 1;
3126                  if(t_pen)
3100                  if (((gfxdata[0] & 0x07) | (gfxdata[1] & 0xff)) || (stv2_current_tilemap.transparency == STV_TRANSPARENCY_NONE))
31273101                  {
31283102                     if (((xcnt + 0) <= screen_x) && (ycnt <= screen_y))
31293103                     {
3130                     if ( stv2_current_tilemap.colour_calculation_enabled == 0 )
3131                        bitmap.pix32(ycnt, xcnt) = machine.pens[((gfxdata[0] & 0x07) * 0x100) | (gfxdata[1] & 0xff) | pal_color_offset];
3132                     else
3133                        bitmap.pix32(ycnt, xcnt) = alpha_blend_r32(bitmap.pix32(ycnt, xcnt), machine.pens[((gfxdata[0] & 0x07) * 0x100) | (gfxdata[1] & 0xff) | pal_color_offset], stv2_current_tilemap.alpha);
3104                        if ( stv2_current_tilemap.colour_calculation_enabled == 0 )
3105                           bitmap.pix32(ycnt, xcnt) = machine.pens[((gfxdata[0] & 0x07) * 0x100) | (gfxdata[1] & 0xff) | pal_color_offset];
3106                        else
3107                           bitmap.pix32(ycnt, xcnt) = alpha_blend_r32(bitmap.pix32(ycnt, xcnt), machine.pens[((gfxdata[0] & 0x07) * 0x100) | (gfxdata[1] & 0xff) | pal_color_offset], stv2_current_tilemap.alpha);
31343108                     }
31353109                  }
31363110               }
r14371r14372
31623136                  int r,g,b;
31633137                  int xs = xcnt & xsizemask;
31643138
3165                  t_pen = ((gfxdata[2*xs] & 0x80) >> 7) || (stv2_current_tilemap.transparency == STV_TRANSPARENCY_NONE);
3166
3167                  if(t_pen)
3139                  if ((gfxdata[2*xs] & 0x80) || (stv2_current_tilemap.transparency == STV_TRANSPARENCY_NONE))
31683140                  {
3169                     b = ((gfxdata[2*xs] & 0x7c) << 1);
3170                     g = ((gfxdata[2*xs] & 0x03) << 6) | ((gfxdata[2*xs+1] & 0xe0) >> 2);
3171                     r = ((gfxdata[2*xs+1] & 0x1f) << 3);
3141                     b = pal5bit(((gfxdata[2*xs] & 0x7c) >> 2));
3142                     g = pal5bit(((gfxdata[2*xs] & 0x03) << 3) | ((gfxdata[2*xs+1] & 0xe0) >> 5));
3143                     r = pal5bit(gfxdata[2*xs+1] & 0x1f);
31723144                     if(stv2_current_tilemap.fade_control & 1)
31733145                        stv_vdp2_compute_color_offset(machine,&r,&g,&b,stv2_current_tilemap.fade_control & 2);
3174                     tw = stv_vdp2_window_process(machine,xcnt,ycnt);
3175                     if(tw == 0)
3146
3147                     if (!stv_vdp2_window_process(machine,xcnt,ycnt))
31763148                     {
31773149                        if (((xcnt + 0) <= screen_x) && (ycnt <= screen_y))
31783150                        {
3179                        if ( stv2_current_tilemap.colour_calculation_enabled == 0 )
3180                           destline[xcnt] = MAKE_RGB(r, g, b);
3181                        else
3182                           destline[xcnt] = alpha_blend_r32( destline[xcnt], MAKE_RGB(r, g, b), stv2_current_tilemap.alpha );
3151                           if ( stv2_current_tilemap.colour_calculation_enabled == 0 )
3152                              destline[xcnt] = MAKE_RGB(r, g, b);
3153                           else
3154                              destline[xcnt] = alpha_blend_r32( destline[xcnt], MAKE_RGB(r, g, b), stv2_current_tilemap.alpha );
31833155                        }
31843156                     }
31853157                  }
r14371r14372
32083180                  int r,g,b;
32093181
32103182                  xs = xx >> 16;
3211                  t_pen = ((gfxdata[2*xs] & 0x80) >> 7);
3212                  if(stv2_current_tilemap.transparency == STV_TRANSPARENCY_NONE) t_pen = 1;
3213                  b = ((gfxdata[2*xs] & 0x7c) << 1);
3214                  g = ((gfxdata[2*xs] & 0x03) << 6) | ((gfxdata[2*xs+1] & 0xe0) >> 2);
3215                  r = ((gfxdata[2*xs+1] & 0x1f) << 3);
3183                  b = pal5bit(((gfxdata[2*xs] & 0x7c) >> 2));
3184                  g = pal5bit(((gfxdata[2*xs] & 0x03) << 3) | ((gfxdata[2*xs+1] & 0xe0) >> 5));
3185                  r = pal5bit(gfxdata[2*xs+1] & 0x1f);
32163186                  if(stv2_current_tilemap.fade_control & 1)
32173187                     stv_vdp2_compute_color_offset(machine, &r,&g,&b,stv2_current_tilemap.fade_control & 2);
3218                  tw = stv_vdp2_window_process(machine,xcnt,ycnt);
3219                  if(tw == 0)
3188
3189                  if (!stv_vdp2_window_process(machine,xcnt,ycnt))
32203190                  {
3221                     if(t_pen)
3191                     if ((gfxdata[2*xs] & 0x80) || (stv2_current_tilemap.transparency == STV_TRANSPARENCY_NONE))
32223192                     {
32233193                        if (((xcnt + 0) <= screen_x) && (ycnt <= screen_y))
32243194                        {
r14371r14372
32603230               UINT32 dot_data;
32613231
32623232               dot_data = (gfxdata[4*xs+0]<<24)|(gfxdata[4*xs+1]<<16)|(gfxdata[4*xs+2]<<8)|(gfxdata[4*xs+3]<<0);
3263
3264               t_pen = (dot_data & 0x80000000) >> 31;
3265               if(stv2_current_tilemap.transparency == STV_TRANSPARENCY_NONE) t_pen = 1;
3266
3267               if(t_pen)
3233               if ((dot_data & 0x80000000) || (stv2_current_tilemap.transparency == STV_TRANSPARENCY_NONE))
32683234               {
32693235                  b = ((dot_data & 0x00ff0000) >> 16);
32703236                  g = ((dot_data & 0x0000ff00) >> 8);
r14371r14372
32723238
32733239                  if(stv2_current_tilemap.fade_control & 1)
32743240                     stv_vdp2_compute_color_offset(machine,&r,&g,&b,stv2_current_tilemap.fade_control & 2);
3275                  tw = stv_vdp2_window_process(machine,xcnt,ycnt);
3276                  if(tw == 0)
3241
3242                  if (!stv_vdp2_window_process(machine,xcnt,ycnt))
32773243                  {
32783244                     if (((xcnt + 0) <= screen_x) && (ycnt <= screen_y))
32793245                     {
r14371r14372
45064472            switch( stv2_current_tilemap.transparency )
45074473            {
45084474               case STV_TRANSPARENCY_PEN:
4509                  if ( pix != 0x0000 )
4475                  if (pix & 0xffffff)
45104476                  {
45114477                     if(stv2_current_tilemap.fade_control & 1)
45124478                        stv_vdp2_compute_color_offset_UINT32(machine,&pix,stv2_current_tilemap.fade_control & 2);
r14371r14372
45214487                  line[hcnt] = pix;
45224488                  break;
45234489               case STV_TRANSPARENCY_ALPHA:
4524                  if ( pix != 0x000 )
4490                  if (pix & 0xffffff)
45254491                  {
45264492                     if(stv2_current_tilemap.fade_control & 1)
45274493                        stv_vdp2_compute_color_offset_UINT32(machine,&pix,stv2_current_tilemap.fade_control & 2);
r14371r14372
45304496                  }
45314497                  break;
45324498               case STV_TRANSPARENCY_ADD_BLEND:
4533                  if ( pix != 0x0000 )
4499                  if (pix & 0xffffff)
45344500                  {
45354501                     if(stv2_current_tilemap.fade_control & 1)
45364502                        stv_vdp2_compute_color_offset_UINT32(machine,&pix,stv2_current_tilemap.fade_control & 2);
r14371r14372
46174583            switch( stv2_current_tilemap.transparency )
46184584            {
46194585               case STV_TRANSPARENCY_PEN:
4620                  if ( pix != 0x0000 )
4586                  if (pix & 0xffffff)
46214587                  {
46224588                     if(stv2_current_tilemap.fade_control & 1)
46234589                        stv_vdp2_compute_color_offset_UINT32(machine,&pix,stv2_current_tilemap.fade_control & 2);
r14371r14372
46324598                  line[hcnt] = pix;
46334599                  break;
46344600               case STV_TRANSPARENCY_ALPHA:
4635                  if ( pix != 0x000 )
4601                  if (pix & 0xffffff)
46364602                  {
46374603                     if(stv2_current_tilemap.fade_control & 1)
46384604                        stv_vdp2_compute_color_offset_UINT32(machine,&pix,stv2_current_tilemap.fade_control & 2);
r14371r14372
46414607                  }
46424608                  break;
46434609               case STV_TRANSPARENCY_ADD_BLEND:
4644                  if ( pix != 0x0000 )
4610                  if (pix & 0xffffff)
46454611                  {
46464612                     if(stv2_current_tilemap.fade_control & 1)
46474613                        stv_vdp2_compute_color_offset_UINT32(machine,&pix,stv2_current_tilemap.fade_control & 2);
r14371r14372
53805346            UINT16 dot;
53815347
53825348            dot = (gfxdata[base_offs+0]<<8)|gfxdata[base_offs+1];
5383            b = (dot & 0x7c00) >> 7;
5384            g = (dot & 0x03e0) >> 2;
5385            r = (dot & 0x001f) << 3;
5349            b = pal5bit((dot & 0x7c00) >> 10);
5350            g = pal5bit((dot & 0x03e0) >> 5);
5351            r = pal5bit( dot & 0x001f);
53865352            if(STV_VDP2_BKCOEN)
53875353               stv_vdp2_compute_color_offset( machine, &r, &g, &b, STV_VDP2_BKCOSL );
53885354
r14371r14372
55845550         palette_set_color_rgb(space->machine(),(offset*2)+1,pal5bit(r),pal5bit(g),pal5bit(b));
55855551         if(cmode0)
55865552            palette_set_color_rgb(space->machine(),((offset*2)+1)^0x400,pal5bit(r),pal5bit(g),pal5bit(b));
5553
55875554         b = ((state->m_vdp2_cram[offset] & 0x7c000000) >> 26);
55885555         g = ((state->m_vdp2_cram[offset] & 0x03e00000) >> 21);
55895556         r = ((state->m_vdp2_cram[offset] & 0x001f0000) >> 16);
r14371r14372
57345701
57355702static UINT8 get_hblank(running_machine &machine)
57365703{
5737   static int cur_h;
57385704   const rectangle &visarea = machine.primary_screen->visible_area();
5739   cur_h = machine.primary_screen->hpos();
5705   int cur_h = machine.primary_screen->hpos();
57405706
57415707   if (cur_h > visarea.max_x) //TODO
57425708      return 1;
r14371r14372
63216287                  if(STV_VDP2_SPWINEN && pix == 0x8000) /* Pukunpa */
63226288                     continue;
63236289
6324                  b = (pix & 0x7c00) >> 7;
6325                  g = (pix & 0x03e0) >> 2;
6326                  r = (pix & 0x1f) << 3;
6327
6290                  b = pal5bit((pix & 0x7c00) >> 10);
6291                  g = pal5bit((pix & 0x03e0) >> 5);
6292                  r = pal5bit( pix & 0x001f);
63286293                  if ( color_offset_pal )
63296294                  {
63306295                     stv_vdp2_compute_color_offset( machine, &r, &g, &b, STV_VDP2_SPCOSL );
r14371r14372
63466311                  {
63476312                     if ( pix & ~sprite_shadow )
63486313                     {
6349                        bitmap_line[x] = (bitmap_line[x] & ~0x010101) >> 1;
6314                        UINT32 p = bitmap_line[x];
6315                        bitmap_line[x] = MAKE_RGB(RGB_RED(p) >> 1, RGB_GREEN(p) >> 1, RGB_BLUE(p) >> 1);
63506316                     }
63516317                  }
63526318                  else
r14371r14372
63576323                        /*shadow - in reality, we should check from what layer pixel beneath comes...*/
63586324                        if ( STV_VDP2_SDCTL & 0x3f )
63596325                        {
6360                           bitmap_line[x] = (bitmap_line[x] & ~0x010101) >> 1;
6326                           UINT32 p = bitmap_line[x];
6327                           bitmap_line[x] = MAKE_RGB(RGB_RED(p) >> 1, RGB_GREEN(p) >> 1, RGB_BLUE(p) >> 1);
63616328                        }
63626329                        /* note that when shadows are disabled, "shadow" palette entries are not drawn */
63636330                     }
r14371r14372
63966363                     continue;
63976364                  };
63986365
6399                  b = (pix & 0x7c00) >> 7;
6400                  g = (pix & 0x03e0) >> 2;
6401                  r = (pix & 0x1f) << 3;
6366                  b = pal5bit((pix & 0x7c00) >> 10);
6367                  g = pal5bit((pix & 0x03e0) >> 5);
6368                  r = pal5bit( pix & 0x001f);
64026369                  if ( color_offset_pal )
64036370                  {
64046371                     stv_vdp2_compute_color_offset( machine, &r, &g, &b, STV_VDP2_SPCOSL );
r14371r14372
64366403                  {
64376404                     if ( pix & ~sprite_shadow )
64386405                     {
6439                        bitmap_line[x] = (bitmap_line[x] & ~0x010101) >> 1;
6406                        UINT32 p = bitmap_line[x];
6407                        bitmap_line[x] = MAKE_RGB(RGB_RED(p) >> 1, RGB_GREEN(p) >> 1, RGB_BLUE(p) >> 1);
64406408                     }
64416409                  }
64426410                  else
r14371r14372
64476415                        /*shadow - in reality, we should check from what layer pixel beneath comes...*/
64486416                        if ( STV_VDP2_SDCTL & 0x3f )
64496417                        {
6450                           bitmap_line[x] = (bitmap_line[x] & ~0x010101) >> 1;
6418                           UINT32 p = bitmap_line[x];
6419                           bitmap_line[x] = MAKE_RGB(RGB_RED(p) >> 1, RGB_GREEN(p) >> 1, RGB_BLUE(p) >> 1);
64516420                        }
64526421                        /* note that when shadows are disabled, "shadow" palette entries are not drawn */
64536422                     } else if ( pix )
r14371r14372
65056474                  stv_sprite_priorities_in_fb_line[y][sprite_priorities[0]] = 1;
65066475                  continue;
65076476               };
6508               b = (pix & 0x7c00) >> 7;
6509               g = (pix & 0x03e0) >> 2;
6510               r = (pix & 0x1f) << 3;
6477
6478               b = pal5bit((pix & 0x7c00) >> 10);
6479               g = pal5bit((pix & 0x03e0) >> 5);
6480               r = pal5bit( pix & 0x001f);
65116481               if ( color_offset_pal )
65126482               {
65136483                  stv_vdp2_compute_color_offset( machine, &r, &g, &b, STV_VDP2_SPCOSL );
r14371r14372
65886558               {
65896559                  if ( pix & ~sprite_shadow )
65906560                  {
6591                     bitmap_line[x] = (bitmap_line[x] & ~0x010101) >> 1;
6561                     UINT32 p = bitmap_line[x];
6562                     bitmap_line[x] = MAKE_RGB(RGB_RED(p) >> 1, RGB_GREEN(p) >> 1, RGB_BLUE(p) >> 1);
65926563                  }
65936564               }
65946565               else
r14371r14372
65996570                     /*shadow - in reality, we should check from what layer pixel beneath comes...*/
66006571                     if ( STV_VDP2_SDCTL & 0x3f )
66016572                     {
6602                        bitmap_line[x] = (bitmap_line[x] & ~0x010101) >> 1;
6573                        UINT32 p = bitmap_line[x];
6574                        bitmap_line[x] = MAKE_RGB(RGB_RED(p) >> 1, RGB_GREEN(p) >> 1, RGB_BLUE(p) >> 1);
66036575                     }
66046576                     /* note that when shadows are disabled, "shadow" palette entries are not drawn */
66056577                  } else if ( pix )
r14371r14372
66686640SCREEN_UPDATE_RGB32( stv_vdp2 )
66696641{
66706642   saturn_state *state = screen.machine().driver_data<saturn_state>();
6671   static UINT8 pri;
66726643
66736644   stv_vdp2_fade_effects(screen.machine());
66746645
r14371r14372
67096680
67106681   if(STV_VDP2_DISP)
67116682   {
6683      UINT8 pri;
6684
67126685      stv_sprite_priorities_usage_valid = 0;
67136686      memset(stv_sprite_priorities_used, 0, sizeof(stv_sprite_priorities_used));
67146687      memset(stv_sprite_priorities_in_fb_line, 0, sizeof(stv_sprite_priorities_in_fb_line));
src/mame/video/itech32.c
r14371r14372
66***************************************************************************/
77
88#include "emu.h"
9#include "profiler.h"
109#include "cpu/m68000/m68000.h"
1110#include "includes/itech32.h"
1211
src/mame/video/vertigo.c
r14371r14372
4444*************************************************************************/
4545
4646#include "emu.h"
47#include "profiler.h"
4847#include "video/vector.h"
4948#include "includes/vertigo.h"
5049
src/mame/video/taito_b.c
r14371r14372
11#include "emu.h"
2#include "profiler.h"
32#include "video/hd63484.h"
43#include "video/taitoic.h"
54#include "includes/taito_b.h"
src/mame/video/dc.c
r14371r14372
88#include "cpu/sh4/sh4.h"
99#include "render.h"
1010#include "rendutil.h"
11#include "profiler.h"
1211#include "video/rgbutil.h"
1312
1413#define DEBUG_FIFO_POLY (0)
src/mame/video/snes.c
r14371r14372
7171***************************************************************************/
7272
7373#include "emu.h"
74#include "profiler.h"
7574#include "includes/snes.h"
7675
7776#define SNES_MAINSCREEN    0
src/mame/video/mcatadv.c
r14371r14372
1111*/
1212
1313#include "emu.h"
14#include "profiler.h"
1514#include "includes/mcatadv.h"
1615
1716static TILE_GET_INFO( get_mcatadv_tile_info1 )
src/mame/video/jaguar.c
r14371r14372
136136
137137#include "emu.h"
138138#include "memconv.h"
139#include "profiler.h"
140139#include "machine/atarigen.h"
141140#include "cpu/mips/r3000.h"
142141#include "cpu/m68000/m68000.h"
src/mame/video/segas32.c
r14371r14372
142142*/
143143
144144#include "emu.h"
145#include "profiler.h"
146145#include "includes/segas32.h"
147146
148147
src/mame/video/psikyosh.c
r14371r14372
6363*/
6464
6565#include "emu.h"
66#include "profiler.h"
6766#include "drawgfxm.h"
6867#include "includes/psikyosh.h"
6968#include "ui.h"
src/mame/video/ppu2c0x.c
r14371r14372
2525
2626#define ADDRESS_MAP_MODERN
2727#include "emu.h"
28#include "profiler.h"
2928#include "video/ppu2c0x.h"
3029
3130
src/mame/video/buggychl.c
r14371r14372
11#include "emu.h"
2#include "profiler.h"
32#include "includes/buggychl.h"
43
54
src/mame/video/shangha3.c
r14371r14372
5959***************************************************************************/
6060
6161#include "emu.h"
62#include "profiler.h"
6362#include "includes/shangha3.h"
6463
6564
src/mame/drivers/ddenlovr.c
r14371r14372
102102#include "sound/okim6295.h"
103103#include "sound/2413intf.h"
104104#include "machine/msm6242.h"
105#include "profiler.h"
106105#include "includes/dynax.h"
107106
108107
src/mame/drivers/pinkiri8.c
r14371r14372
3333#include "emu.h"
3434#include "cpu/z180/z180.h"
3535#include "sound/okim6295.h"
36#include "video/generic.h"
3736
3837
3938class pinkiri8_state : public driver_device
src/mame/drivers/igspc.c
r14371r14372
102102   ROM_LOAD( "szz_v116cn.rom", 0x000000, 0x80000, CRC(8c443a89) SHA1(efdbaa832def812e0786cab95ebf60cdc226d3c4))
103103
104104   DISK_REGION( "disks" )
105   DISK_IMAGE( "szz_cf", 0, SHA1(2f19b68b1db8a0b5e85ad43dc3b5bf651d465bd9) )
105   DISK_IMAGE( "szz_cf", 0, SHA1(d02cb1af0f03ce83719870d8a66244dde9795b2e) )
106106ROM_END
107107
108108
src/mame/drivers/coolridr.c
r14371r14372
257257public:
258258   coolridr_state(const machine_config &mconfig, device_type type, const char *tag)
259259      : driver_device(mconfig, type, tag),
260        m_textBytesToWrite(0x00),
261      m_blitterSerialCount(0x00),
262      m_blitterMode(0x00),
263      m_textOffset(0x0000),
264      m_colorNumber(0x00000000),
265      m_vCellCount(0x0000),
266      m_hCellCount(0x0000),
267      m_vPosition(0x0000),
268      m_hPosition(0x0000),
260269      m_maincpu(*this, "maincpu"),
261270      m_subcpu(*this,"sub"),
262271      m_soundcpu(*this,"soundcpu")
r14371r14372
273282   UINT32 m_test_offs;
274283   int m_color;
275284   UINT8 m_vblank;
276   UINT16 m_cmd;
277   UINT16 m_param;
278   UINT32 m_dst_addr;
279   UINT32 m_txt_buff[0x10];
280   UINT32 m_attr_buff[0x10];
281   UINT8 m_txt_index;
282   UINT8 m_attr_index;
283285
286   // Blitter state
287   UINT16 m_textBytesToWrite;
288   INT16  m_blitterSerialCount;
289   UINT8  m_blitterMode;
290   UINT16 m_textOffset;
291   UINT32 m_colorNumber;
292   UINT16 m_vCellCount;
293   UINT16 m_hCellCount;
294   UINT16 m_vPosition;
295   UINT16 m_hPosition;
296
284297   required_device<cpu_device> m_maincpu;
285298   required_device<cpu_device> m_subcpu;
286299   required_device<cpu_device> m_soundcpu;
r14371r14372
402415   COMBINE_DATA(&h1_ioga[offset]);
403416}
404417#endif
405/*
406CMD = 03f4 PARAM = 0230 | ?
407CMD = ac90 PARAM = 0001 DATA = 00000000
408CMD = ac90 PARAM = 0001 DATA = 00000059
409CMD = ac90 PARAM = 0001 DATA = 00000000
410CMD = ac90 PARAM = 0001 DATA = 00000000
411CMD = ac90 PARAM = 0001 DATA = 07000000
412CMD = ac90 PARAM = 0001 DATA = 00010000
413CMD = ac90 PARAM = 0001 DATA = 00010001
414CMD = ac90 PARAM = 0001 DATA = 00000000
415CMD = ac90 PARAM = 0001 DATA = 00400040
416CMD = ac90 PARAM = 0001 DATA = 01200050
417CMD = ac90 PARAM = 0001 DATA = 00000000
418CMD = ac90 PARAM = 0001 DATA = 03f40230
419418
420CMD = 03f4 PARAM = 0170 | ?
421CMD = ac90 PARAM = 0001 DATA = 00000000
422CMD = ac90 PARAM = 0001 DATA = 00000059
423CMD = ac90 PARAM = 0001 DATA = 00000000
424CMD = ac90 PARAM = 0001 DATA = 00000000
425CMD = ac90 PARAM = 0001 DATA = 07000000
426CMD = ac90 PARAM = 0001 DATA = 00010000
427CMD = ac90 PARAM = 0001 DATA = 00010001
428CMD = ac90 PARAM = 0001 DATA = 00000000
429CMD = ac90 PARAM = 0001 DATA = 00400040
430CMD = ac90 PARAM = 0001 DATA = 00800050
431CMD = ac90 PARAM = 0001 DATA = 00000000
432CMD = ac90 PARAM = 0001 DATA = 03f40170
433*/
434/* this looks like an exotic I/O-based tilemap / sprite blitter, very unusual from Sega... */
419
420/* This is a RLE-based sprite blitter (US Patent #6,141,122), very unusual from Sega... */
435421static WRITE32_HANDLER( sysh1_txt_blit_w )
436422{
437423   coolridr_state *state = space->machine().driver_data<coolridr_state>();
r14371r14372
440426
441427   switch(offset)
442428   {
443      case 0x10/4: //state->m_cmd + state->m_param?
444         state->m_cmd = (state->m_sysh1_txt_blit[offset] & 0xffff0000) >> 16;
445         state->m_param = (state->m_sysh1_txt_blit[offset] & 0x0000ffff) >> 0;
446         state->m_dst_addr = 0x3f40000;
447         state->m_txt_index = 0;
448         state->m_attr_index = 0;
429      // The mode register
430      case 0x04:
431      {
432         state->m_blitterMode = (data & 0x00ff0000) >> 16;
433         
434         if (state->m_blitterMode == 0xf4)
435         {
436            // Some sort of addressing state.
437            // In the case of text, simply writes 4 characters per 32-bit word.
438            // These values may be loaded into RAM somewhere as they are written.
439            // The number of characters is determined by the upper-most 8 bits.
440            state->m_textBytesToWrite = (data & 0xff000000) >> 24;
441            state->m_textOffset = (data & 0x0000ffff);
442            state->m_blitterSerialCount = 0;
443         }
444         else if (state->m_blitterMode == 0x30 || state->m_blitterMode == 0x90)
445         {
446            // The blitter function(s).
447            // After this is set a fixed count of 11 32-bit words are sent to the data register.
448            // The lower word always seems to be 0x0001 and the upper byte always 0xac.
449            state->m_blitterSerialCount = 0;
450         }
451         else if (state->m_blitterMode == 0x10)
452         {
453            // Could be a full clear of VRAM?
454            for(UINT32 vramAddr = 0x3f40000; vramAddr < 0x3f4ffff; vramAddr+=4)
455               space->write_dword(vramAddr, 0x00000000);
456         }
449457         break;
450      case 0x14/4: //data
451         /*  "THIS MACHINE IS STAND-ALONE." / disclaimer written with this CMD */
452         if((state->m_cmd & 0xff) == 0xf4)
458      }
459         
460      // The data register
461      case 0x05:
462      {
463         if (state->m_blitterMode == 0xf4)
453464         {
454            state->m_txt_buff[state->m_txt_index++] = data;
465            // Uploads a series of bytes that index into the encoded sprite table
466            const size_t memOffset = 0x03f40000 + state->m_textOffset + state->m_blitterSerialCount;
467            space->write_dword(memOffset, data);
468            state->m_blitterSerialCount += 0x04;
455469
456            //printf("CMD = %04x PARAM = %04x | %c%c%c%c\n",state->m_cmd,state->m_param,(data >> 24) & 0xff,(data >> 16) & 0xff,(data >> 8) & 0xff,(data >> 0) & 0xff);
470            // DEBUG: Uncomment to see the ASCII strings as they are being blitted
471            //if (state->m_blitterSerialCount >= state->m_textBytesToWrite)
472            //{
473            //   for (int i = 0; i < state->m_textBytesToWrite+1; i++)
474            //      printf("%c", space->read_byte(0x03f40000 + state->m_textOffset + i));
475            //   printf("\n");
476            //}
457477         }
458         else if((state->m_cmd & 0xff) == 0x90 || (state->m_cmd & 0xff) == 0x30)
478         else if (state->m_blitterMode == 0x30 || state->m_blitterMode == 0x90)
459479         {
460            state->m_attr_buff[state->m_attr_index++] = data;
480            // Serialized 32-bit words in order of appearance:
481            //  0: 00000000 - totally unknown : always seems to be zero
482            //  1: xxxxxxxx - "Color Number" (all bits or just lower 16/8?)
483            //  2: 00000000 - unknown : OT flag?  (transparency)
484            //  3: 00000000 - unknown : RF flag?  (90 degree rotation)
485            //  4: 07000000 - unknown : VF flag?  (vertically flipped)
486            //  5: 00010000 - unknown : HF flag?  (horizontally flipped)
487            //  6: vvvv---- - "Vertical Cell Count"
488            //  6: ----hhhh - "Horizontal Cell Count"
489            //  7: 00000000 - unknown : "Vertical|Horizontal Zoom Centers"?
490            //  8: 00400040 - unknown : "Vertical|Horizontal Zoom Ratios"?
491            //  9: xxxx---- - "Display Vertical Position"
492            //  9: ----yyyy - "Display Horizontal Position"
493            // 10: 00000000 - unknown : always seems to be zero
494            // 11: ........ - complex - likely an address into bytes uploaded by mode 0xf4
495            //                (See ifdef'ed out code below for a closer examination)
461496
462            if(state->m_attr_index == 0xa)
497            // Serialized counts
498            if (state->m_blitterSerialCount == 1)
463499            {
464               UINT16 x,y;
465
466               y = (state->m_attr_buff[9] & 0x01f00000) >> 20;
467               x = (state->m_attr_buff[9] & 0x1f0) >> 4;
468               state->m_dst_addr = 0x3f40000 | y*0x40 | x;
469
470               {
471                  int x2,y2;
472                  const gfx_element *gfx = space->machine().gfx[1];
473                  rectangle clip;
474
475                  y2 = (state->m_attr_buff[9] & 0x01ff0000) >> 16;
476                  x2 = (state->m_attr_buff[9] & 0x000001ff);
477                  clip = state->m_temp_bitmap_sprites.cliprect();
478
479                  drawgfx_opaque(state->m_temp_bitmap_sprites,clip,gfx,1,1,0,0,x2,y2);
480               }
500               state->m_colorNumber = (data & 0x000000ff);   // Probably more bits
481501            }
482            if(state->m_attr_index == 0xc)
502            else if (state->m_blitterSerialCount == 6)
483503            {
484               UINT8 size;
504               state->m_vCellCount = (data & 0xffff0000) >> 16;
505               state->m_hCellCount = (data & 0x0000ffff);
506            }
507            else if (state->m_blitterSerialCount == 9)
508            {
509               state->m_vPosition = (data & 0xffff0000) >> 16;
510               state->m_hPosition = (data & 0x0000ffff);
511            }
512            else if (state->m_blitterSerialCount == 11)
513            {
514               const UINT32 memOffset = data;
515               
516               // Splat some sprites
517               for (int h = 0; h < state->m_hCellCount; h++)
518               {
519                  for (int v = 0; v < state->m_vCellCount; v++)
520                  {
521                     const int pixelOffsetX = state->m_hPosition + (h*16);
522                     const int pixelOffsetY = state->m_vPosition + (v*16);
523                     
524                     // It's unknown if it's row-major or column-major
525                     // TODO: Study the CRT test and "Cool Riders" logo for clues.
526                     UINT8 spriteNumber = space->read_byte(memOffset + h + (v*h));
527                     
528                     // DEBUG: For demo purposes, skip spaces and NULL characters
529                     if (spriteNumber == 0x20 || spriteNumber == 0x00)
530                        continue;
485531
486               size = (state->m_attr_buff[6] / 4)+1;
487               for(state->m_txt_index = 0;state->m_txt_index < size; state->m_txt_index++)
488               {
489                  space->write_dword((state->m_dst_addr),state->m_txt_buff[state->m_txt_index]);
490                  state->m_dst_addr+=4;
532                     // DEBUG: Draw 16x16 block
533                     for (int x = 1; x < 15; x++)
534                     {
535                        for (int y = 1; y < 15; y++)
536                        {
537                           UINT32 color;
538                           if (state->m_colorNumber == 0x5b)
539                              color = 0xffff0000;
540                           else if (state->m_colorNumber == 0x5d)
541                              color = 0xff00ff00;
542                           else if (state->m_colorNumber == 0x5e)
543                              color = 0xff0000ff;
544                           else
545                              color = 0xff00ffff;
546                           state->m_temp_bitmap_sprites.pix32(pixelOffsetY+y, pixelOffsetX+x) = color;
547                        }
548                     }
549                  }
491550               }
492551            }
552           
553            state->m_blitterSerialCount++;
493554         }
494         else if((state->m_cmd & 0xff) == 0x10)
495         {
496            UINT32 clear_vram;
497            for(clear_vram=0x3f40000;clear_vram < 0x3f4ffff;clear_vram+=4)
498               space->write_dword((clear_vram),0x00000000);
499         }
500         //else
501         //  printf("CMD = %04x PARAM = %04x DATA = %08x\n",state->m_cmd,state->m_param,data);
502555         break;
556      }
503557   }
504558}
505559
src/mame/drivers/bntyhunt.c
r14371r14372
11/* Bounty Hunter
22
3 PC hardware.. no dumps of the bios roms tho
3 PC hardware.. no dumps of the bios roms are currently available
44
55*/
66
r14371r14372
4949
5050static MACHINE_CONFIG_START( bntyhunt, bntyhunt_state )
5151   /* basic machine hardware */
52   MCFG_CPU_ADD("maincpu", PENTIUM, 2000000000) /* Probably a Pentium or higher .. ?? Mhz*/
52   MCFG_CPU_ADD("maincpu", PENTIUM, 200000000) /* Probably a Pentium or higher .. ?? Mhz*/
5353   MCFG_CPU_PROGRAM_MAP(bntyhunt_map)
5454
5555   /* video hardware */
r14371r14372
6969   ROM_LOAD("bntyhunt.pcbios", 0x000000, 0x10000, NO_DUMP )
7070
7171   DISK_REGION( "disks" )
72   DISK_IMAGE( "bntyhunt", 0, SHA1(f5c737aaf3da5b57de3fb6bb5dfb85f8f3d4b1b1) )
72   DISK_IMAGE( "bntyhunt", 0, SHA1(e50937d14d5c6adfb5e0012db5a7df090eebc2e1) )
7373ROM_END
7474
7575
src/emu/cpu/rsp/rspdrc.c
r14371r14372
2020
2121#include "emu.h"
2222#include "debugger.h"
23#include "profiler.h"
2423#include "rsp.h"
2524#include "rspdiv.h"
2625#include "rspfe.h"
src/emu/cpu/powerpc/ppcdrc.c
r14371r14372
1818
1919#include "emu.h"
2020#include "debugger.h"
21#include "profiler.h"
2221#include "ppccom.h"
2322#include "ppcfe.h"
2423#include "cpu/drcfe.h"
src/emu/cpu/sh2/sh2drc.c
r14371r14372
1919#include "debugger.h"
2020#include "sh2.h"
2121#include "sh2comn.h"
22#include "profiler.h"
2322
2423CPU_DISASSEMBLE( sh2 );
2524extern unsigned DasmSH2(char *buffer, unsigned pc, UINT16 opcode);
src/emu/cpu/mips/mips3drc.c
r14371r14372
5454
5555#include "emu.h"
5656#include "debugger.h"
57#include "profiler.h"
5857#include "mips3com.h"
5958#include "mips3fe.h"
6059#include "cpu/drcfe.h"
src/emu/cpu/mips/mips3.c
r14371r14372
1111
1212#include "emu.h"
1313#include "debugger.h"
14#include "profiler.h"
1514#include "mips3.h"
1615#include "mips3com.h"
1716
src/emu/video/voodoo.c
r14371r14372
174174#define EXPAND_RASTERIZERS
175175
176176#include "emu.h"
177#include "profiler.h"
178177#include "video/poly.h"
179178#include "video/rgbutil.h"
180179#include "voodoo.h"
src/emu/tilemap.c
r14371r14372
3838***************************************************************************/
3939
4040#include "emu.h"
41#include "profiler.h"
4241
4342
4443//**************************************************************************
src/emu/rendlay.c
r14371r14372
8181#include "rendfont.h"
8282#include "rendlay.h"
8383#include "rendutil.h"
84#include "output.h"
8584#include "xmlfile.h"
8685#include "png.h"
8786
src/emu/diimage.c
r14371r14372
4040#include "emu.h"
4141#include "ui.h"
4242#include "zippath.h"
43#include "uimenu.h"
4443#include "uiimage.h"
4544#include "uiswlist.h"
4645
src/emu/machine.c
r14371r14372
105105#include "osdepend.h"
106106#include "config.h"
107107#include "debugger.h"
108#include "image.h"
109#include "profiler.h"
110108#include "render.h"
111109#include "cheat.h"
112#include "ui.h"
113#include "uimenu.h"
114110#include "uimain.h"
115111#include "uiinput.h"
116112#include "crsshair.h"
src/emu/ui.c
r14371r14372
1313#include "emuopts.h"
1414#include "video/vector.h"
1515#include "machine/laserdsc.h"
16#include "profiler.h"
1716#include "render.h"
1817#include "cheat.h"
1918#include "rendfont.h"
2019#include "ui.h"
2120#include "uiinput.h"
22#include "uimenu.h"
2321#include "uimain.h"
2422#include "uigfx.h"
2523#include <ctype.h>
src/emu/uiimage.c
r14371r14372
1818#include <stdlib.h>
1919
2020#include "emu.h"
21#include "image.h"
2221#include "ui.h"
23#include "uimenu.h"
2422#include "uiswlist.h"
2523#include "uiimage.h"
2624#include "zippath.h"
27#include "unicode.h"
2825#include "imagedev/floppy.h"
2926#include "imagedev/cassette.h"
3027#include "imagedev/bitbngr.h"
src/emu/clifront.c
r14371r14372
3939
4040#include "emu.h"
4141#include "emuopts.h"
42#include "hash.h"
4342#include "jedparse.h"
4443#include "audit.h"
4544#include "info.h"
src/emu/uimain.c
r14371r14372
1717#include "cheat.h"
1818#include "uiimage.h"
1919#include "uiinput.h"
20#include "uimenu.h"
2120#include "uimain.h"
2221#include "audit.h"
2322#include "crsshair.h"
src/emu/uiswlist.c
r14371r14372
1111
1212#include "emu.h"
1313#include "ui.h"
14#include "uimenu.h"
1514#include "uiswlist.h"
16#include "softlist.h"
1715
1816
1917/***************************************************************************
src/emu/cheat.c
r14371r14372
105105#include "emuopts.h"
106106#include "xmlfile.h"
107107#include "ui.h"
108#include "uimenu.h"
109108#include "cheat.h"
110109#include "debug/debugcpu.h"
111110
src/emu/validity.c
r14371r14372
3838***************************************************************************/
3939
4040#include "emu.h"
41#include "hash.h"
4241#include "validity.h"
4342#include "emuopts.h"
44#include "softlist.h"
4543#include <ctype.h>
4644
4745
src/emu/speaker.c
r14371r14372
4141#include "emuopts.h"
4242#include "osdepend.h"
4343#include "config.h"
44#include "profiler.h"
4544#include "sound/wavwrite.h"
4645
4746
src/emu/schedule.c
r14371r14372
3838***************************************************************************/
3939
4040#include "emu.h"
41#include "profiler.h"
4241#include "debugger.h"
4342
4443
src/emu/drivers/empty.c
r14371r14372
3939
4040#include "emu.h"
4141#include "render.h"
42#include "uimenu.h"
4342#include "uimain.h"
4443
4544
src/emu/romload.c
r14371r14372
1111
1212#include "emu.h"
1313#include "emuopts.h"
14#include "hash.h"
1514#include "png.h"
1615#include "harddisk.h"
1716#include "config.h"
src/emu/softlist.c
r14371r14372
1010#include "emu.h"
1111#include "pool.h"
1212#include "emuopts.h"
13#include "hash.h"
1413#include "softlist.h"
1514#include "clifront.h"
1615
src/emu/info.c
r14371r14372
4343#include "sound/samples.h"
4444#include "info.h"
4545#include "xmlfile.h"
46#include "hash.h"
4746#include "config.h"
4847
4948#include <ctype.h>
src/emu/uiinput.c
r14371r14372
1111
1212#include "emu.h"
1313#include "uiinput.h"
14#include "profiler.h"
1514#include "render.h"
1615
1716
src/emu/audit.c
r14371r14372
3939
4040#include "emu.h"
4141#include "emuopts.h"
42#include "hash.h"
4342#include "audit.h"
4443#include "harddisk.h"
4544#include "sound/samples.h"
src/emu/memory.c
r14371r14372
204204#include <map>
205205
206206#include "emu.h"
207#include "profiler.h"
208207#include "debug/debugcpu.h"
209208
210209
src/emu/mame.c
r14371r14372
7777#include "osdepend.h"
7878#include "config.h"
7979#include "debugger.h"
80#include "image.h"
81#include "profiler.h"
8280#include "render.h"
8381#include "cheat.h"
8482#include "ui.h"
85#include "uimenu.h"
8683#include "uiinput.h"
8784#include "crsshair.h"
8885#include "validity.h"
src/emu/diexec.c
r14371r14372
3838***************************************************************************/
3939
4040#include "emu.h"
41#include "profiler.h"
4241#include "debugger.h"
4342
4443
src/emu/sound.c
r14371r14372
4141#include "emuopts.h"
4242#include "osdepend.h"
4343#include "config.h"
44#include "profiler.h"
4544#include "sound/wavwrite.h"
4645
4746
src/emu/input.c
r14371r14372
4848
4949#include "emu.h"
5050#include "emuopts.h"
51#include "profiler.h"
5251
5352
5453
src/emu/fileio.c
r14371r14372
3838***************************************************************************/
3939
4040#include "emu.h"
41#include "hash.h"
4241#include "unzip.h"
4342#include "fileio.h"
4443
src/emu/debugint/debugint.c
r14371r14372
1212#include "emu.h"
1313#include "ui.h"
1414#include "rendfont.h"
15#include "uimenu.h"
1615#include "uiinput.h"
17#include "video.h"
1816#include "osdepend.h"
1917
2018#include "debug/debugvw.h"
src/emu/timer.c
r14371r14372
3838***************************************************************************/
3939
4040#include "emu.h"
41#include "profiler.h"
4241
4342
4443/***************************************************************************
src/lib/lib.mak
r14371r14372
307307# $(OBJ)/libflac++.a: $(LIBFLACPPOBJS)
308308
309309# $(LIBOBJ)/libflacpp/%.o: $(LIBSRC)/libflac/libflac++/%.cpp | $(OSPREBUILD)
310#   @echo Compiling $<...
310#    @echo Compiling $<...
311311#   $(CC) $(CDEFS) $(FLACOPTS) $(CPPONLYFLAGS) -I$(LIBSRC)/libflac/include -c $< -o $@
src/ldplayer/ldplayer.c
r14371r14372
1111
1212#include "emu.h"
1313#include "emuopts.h"
14#include "uimenu.h"
1514#include "cpu/mcs48/mcs48.h"
1615#include "machine/ldpr8210.h"
1716#include "machine/ldv1000.h"

Previous 15994 Revisions Next


© 1998-2018 The MESS Team