Previous 15994 Revisions Next

r5296 Wednesday 22nd July, 2009 at 23:52:37 UTC by Nathan Woods
Updated to MAME 0.133 core
[ROOT]whatsnew.txt
[docs]messnew.txt
[src/emu/cpu]drcbex64.c drcfe.c
[src/emu/cpu/arm7]arm7.c arm7core.h arm7dasm.c arm7exec.c
[src/emu/cpu/cdp1802]cdp1802.c
[src/emu/cpu/powerpc]ppc.h ppccom.c
[src/mame]mame.mak mamedriv.c
[src/mame/drivers]cidelsa.c cischeat.c cliffhgr.c darkhors.c deco_ld.c gottlieb.c mappy.c mpoker.c multfish.c murogem.c namcos2.c namcos22.c naomi.c sfkick.c taitogn.c tmmjprd.c toypop.c viper.c vsnes.c
[src/mame/layout]mpoker.lay*
[src/mame/machine]naomibd.c
[src/mame/video]cischeat.c mappy.c

src/mame/machine/naomibd.c
r5295r5296
33    Naomi plug-in board emulator
44
55    emulator by Samuele Zannoli
6    protection chip by R. Belmont, reverse engineering by Deunan Knute
67
78**************************************************************************/
89
r5295r5296
4041    NAOMI_DIMM_STATUS     = 5f704c  14000024 (16 bit):
4142        bit 0: when 0 signal interrupt from naomi to dimm board
4243        bit 8: when 0 signal interrupt from dimm board to naomi
44
45
46    Cartridge protection info from Deunan Knute:
47
48    NAOMI cart can hold up to 256MB of data (well, 512 is possible too I guess), so the highest bits are used for other, dark and scary purposes.
49    I call those bits "mode selector".
50
51    First it's important to note that DMA and PIO seem to have separate address counters, as well as separate mode selector registers.
52
53    * bit 31 (mode bit 3) is auto-advance bit
54    When set to one the address will be automatically incremented when data is read, so you need only set it once and can just keep polling
55    the PIO port. When zero it will stay on current address.  Now this works exactly the same for DMA, and even if DMA engine is 32-byte
56    per block it will repeatedly read only the first 16-bit word.
57
58    * bit 30 (mode bit 2) is most often as special mode switch
59    DMA transfer with this bit set will hang. PIO will return semi-random data (floating bus?). So one function of that bit is "disable".
60    PIO read will return all ones if DMA mode has this bit cleared, so it seems you can do either PIO or DMA but not both at the same time.
61    In other words, disable DMA once before using PIO (most games using both access types do that when the DMA terminates).
62    This bit is also used to reset the chip's internal protection mechanism on "Oh! My Goddess" to a known state.
63
64    * bit 29 (mode bit 1) is address shuffle bit
65    It's actually the opposite, when set the addressing is following the chip layout and when cleared the protection chip will have it's fun
66    with address lines 10 to 23(?). It's not a simple swap function, rather a lookup table and one with repeating results too.
67    The few games I got to work never made any use of that bit, it's always set for all normal reads.
68
69    * bit 28 (mode bit 0) is unused (so far)
70    Or it could really be the last address bit to allow up to 512MB of data on a cart?
71
72    Normal address starts with 0xa0000000 to enable auto-advance and standard addressing mode.
4373*/
4474
4575// NOTE: all accesses are 16 or 32 bits wide but only 16 bits are valid
r5295r5296
5282#include "cdrom.h"
5383#include "naomibd.h"
5484
85#define NAOMIBD_FLAG_AUTO_ADVANCE   (8)   // address auto-advances on read
86#define NAOMIBD_FLAG_SPECIAL_MODE   (4)   // used to access protection registers
87#define NAOMIBD_FLAG_ADDRESS_SHUFFLE   (2)   // 0 to let protection chip scramble address lines, 1 for normal
5588
5689/*************************************
5790 *
r5295r5296
68101 *
69102 *************************************/
70103
104#define MAX_PROT_REGIONS   (32)
105
106typedef struct _naomibd_config_table naomibd_config_table;
107struct _naomibd_config_table
108{
109   const char *name;
110   UINT32   transtbl[MAX_PROT_REGIONS*2];
111};
112
71113typedef struct _naomibd_state naomibd_state;
72114struct _naomibd_state
73115{
r5295r5296
76118   const device_config *device;            /* pointer to our containing device */
77119
78120   UINT8 *            memory;
121   UINT8 *            protdata;
79122   chd_file *         gdromchd;
80123   UINT8 *            picdata;
81124   UINT32            rom_offset, rom_offset_flags, dma_count;
82   UINT32            dma_offset;
125   UINT32            dma_offset, dma_offset_flags;
126   UINT32            prot_offset, prot_key;
127
128   UINT32            *prot_translate;
83129};
84130
131// maps protection offsets to real addresses
132static naomibd_config_table naomibd_translate_tbl[] =
133{
134   { "doa2", { 0x500, 0, 0x20504, 0x20000, 0x40508, 0x40000, 0x6050c, 0x60000, 0x80510, 0x80000,
135          0xa0514, 0xa0000, 0xc0518, 0xc0000, 0xe051c, 0xe0000, 0x100520,0x100000, 0x118a3a, 0x120000,
136          0x12c0d8, 0x140000, 0x147e22, 0x160000, 0x1645ce, 0x180000, 0x17c6b2, 0x1a0000,
137          0x19902e, 0x1c0000, 0x1b562a, 0x1e0000, 0xffffffff, 0xffffffff } },
138   { "doa2m", { 0x500, 0, 0x20504, 0x20000, 0x40508, 0x40000, 0x6050c, 0x60000, 0x80510, 0x80000,
139          0xa0514, 0xa0000, 0xc0518, 0xc0000, 0xe051c, 0xe0000, 0x100520,0x100000, 0x11a5b4, 0x120000,
140          0x12e7c4, 0x140000, 0x1471f6, 0x160000, 0x1640c4, 0x180000, 0x1806ca, 0x1a0000,
141          0x199df4, 0x1c0000, 0x1b5d0a, 0x1e0000, 0xffffffff, 0xffffffff } },
142};
85143
86
87144/***************************************************************************
88145    INLINE FUNCTIONS
89146***************************************************************************/
r5295r5296
152209   state_save_register_device_item(device, 0, v->rom_offset_flags);
153210   state_save_register_device_item(device, 0, v->dma_count);
154211   state_save_register_device_item(device, 0, v->dma_offset);
212   state_save_register_device_item(device, 0, v->dma_offset_flags);
213   state_save_register_device_item(device, 0, v->prot_offset);
214   state_save_register_device_item(device, 0, v->prot_key);
155215}
156216
157217
r5295r5296
182242   // ROM_DATA
183243   if ((offset == 1) && ACCESSING_BITS_0_15)
184244   {
185      UINT64 ret;
245      UINT64 ret = 0;
186246
187      ret = (UINT64)(ROM[v->rom_offset] | (ROM[v->rom_offset+1]<<8));
247      if (v->rom_offset_flags & NAOMIBD_FLAG_SPECIAL_MODE)
248      {
249         if (v->rom_offset == 0x1fffe)
250         {
251            UINT8 *prot = (UINT8 *)v->protdata;
252            UINT32 byte_offset = v->prot_offset*2;
188253
189      v->rom_offset += 2;
254            if (!prot)
255            {
256               logerror("naomibd: reading protection data, but none was supplied\n");
257               return 0;
258            }
190259
260            ret = (UINT64)(prot[byte_offset] | (prot[byte_offset+1]<<8));
261
262            v->prot_offset++;
263         }
264         else
265         {
266            mame_printf_verbose("Bad protection offset read %x\n", v->rom_offset);
267         }
268      }
269      else
270      {
271         ret = (UINT64)(ROM[v->rom_offset] | (ROM[v->rom_offset+1]<<8));
272      }
273
274      if (v->rom_offset_flags & NAOMIBD_FLAG_AUTO_ADVANCE)
275      {
276         v->rom_offset += 2;
277      }
278
191279      return ret;
192280   }
193281   else if ((offset == 7) && ACCESSING_BITS_32_47)
r5295r5296
239327WRITE64_DEVICE_HANDLER( naomibd_w )
240328{
241329   naomibd_state *v = get_safe_token(device);
330   INT32 i;
242331
243332   switch(offset)
244333   {
r5295r5296
249338            // ROM_OFFSETH
250339            v->rom_offset &= 0xffff;
251340            v->rom_offset |= (data & 0x1fff)<<16;
252            v->rom_offset_flags = data >> 13;
341            v->rom_offset_flags = data >> 12;
253342         }
254343         if(ACCESSING_BITS_32_47)
255344         {
r5295r5296
266355            // DMA_OFFSETH
267356            v->dma_offset &= 0xffff;
268357            v->dma_offset |= (data >> 16) & 0x1fff0000;
358            v->dma_offset_flags = (data>>28);
269359         }
270360         if(ACCESSING_BITS_0_15)
271361         {
272            // ROM_DATA
273            // Doa2 writes here (16 bit decryption key ?)
274            //mame_printf_verbose("%s:ROM: write %llx to 5f7008\n", cpuexec_describe_context(machine), data);
362            // ROM_DATA - used to access registers in the protection chip
363            switch (v->rom_offset)
364            {
365               case 0x1fff8:   // offset low
366                  v->prot_offset &= 0xffff0000;
367                  v->prot_offset |= (UINT32)data;
368                  break;
369
370               case 0x1fffa:   // offset high
371                  v->prot_offset &= 0xffff;
372                  v->prot_offset |= (UINT32)data<<16;
373                  break;
374
375               case 0x1fffc:   // decryption key
376                  v->prot_key = data;
377
378                  mame_printf_verbose("Protection: set up read @ %x, key %x [%s]\n", v->prot_offset, v->prot_key, cpuexec_describe_context(device->machine));
379
380                  // translate address if necessary
381                  if (v->prot_translate != NULL)
382                  {
383                     i = 0;
384                     while (v->prot_translate[i] != 0xffffffff)
385                     {
386                        if (v->prot_translate[i] == (v->prot_offset*2))
387                        {
388                           mame_printf_verbose("Protection: got offset %x, translated to %x\n", v->prot_offset, v->prot_translate[i+1]);
389                           v->prot_offset = v->prot_translate[i+1]/2;
390                           break;
391                        }
392                        else
393                        {
394                           i += 2;
395                        }
396                     }
397                  }
398                  break;
399
400               default:
401                  mame_printf_verbose("naomibd: unknown protection write %x @ %x\n", (UINT32)data, offset);
402                  break;
403            }
275404         }
276405      }
277406      break;
r5295r5296
327456      }
328457      break;
329458      default:
330         //mame_printf_verbose("%s: ROM: write %llx to %x, mask %llx\n", cpuexec_describe_context(machine), data, offset, mem_mask);
459         mame_printf_verbose("%s: ROM: write %llx to %x, mask %llx\n", cpuexec_describe_context(device->machine), data, offset, mem_mask);
331460         break;
332461   }
333462}
r5295r5296
524653{
525654   const naomibd_config *config = (const naomibd_config *)device->inline_config;
526655   naomibd_state *v = get_safe_token(device);
656   int i;
527657
528658   /* validate some basic stuff */
529659   assert(device->static_config == NULL);
r5295r5296
537667   /* store a pointer back to the device */
538668   v->device = device;
539669
670   /* find the protection address translation for this game */
671   v->prot_translate = (UINT32 *)0;
672   for (i=0; i<ARRAY_LENGTH(naomibd_translate_tbl); i++)
673   {
674      if (!strcmp(device->machine->gamedrv->name, naomibd_translate_tbl[i].name))
675      {
676         v->prot_translate = &naomibd_translate_tbl[i].transtbl[0];
677         break;
678      }
679   }
680
540681   /* configure type-specific values */
541682   switch (config->type)
542683   {
543684      case ROM_BOARD:
544685         v->memory = (UINT8 *)memory_region(device->machine, config->regiontag);
686         v->protdata = (UINT8 *)memory_region(device->machine, "naomibd_prot");
545687         break;
546688
547689      case DIMM_BOARD:
r5295r5296
565707   v->rom_offset_flags = 0;
566708   v->dma_count = 0;
567709   v->dma_offset = 0;
710   v->dma_offset_flags = 0;
711   v->prot_offset = 0;
568712
569713   /* do a soft reset to reset everything else */
570714   soft_reset(v);
r5295r5296
604748{
605749   //naomibd_state *v = get_safe_token(device);
606750   static UINT8 eeprom_romboard[20+48] = {0x19,0x00,0xaa,0x55,0,0,0,0,0,0,0,0,0x69,0x79,0x68,0x6b,0x74,0x6d,0x68,0x6d};
751   UINT8 *games_contents;
607752
608753   if (read_or_write)
609754      /*eeprom_save(file)*/;
r5295r5296
612757      /*if (file)
613758            eeprom_load(file);
614759        else*/
615      x76f100_init( device->machine, 0, eeprom_romboard );
616      memcpy(eeprom_romboard+20,"\241\011                              0000000000000000",48);
760      games_contents = memory_region(device->machine, "naomibd_eeprom");
761
762      if (games_contents)
763      {
764         x76f100_init( device->machine, 0, games_contents );
765      }
766      else
767      {
768         x76f100_init( device->machine, 0, eeprom_romboard );
769         memcpy(eeprom_romboard+20,"\241\011                              0000000000000000",48);
770      }
771
617772   }
618773}
619774
r5295r5296
658813      case DEVINFO_STR_CREDITS:            strcpy(info->s, "Copyright Nicola Salmoria and the MAME Team"); break;
659814   }
660815}
816
src/mame/mamedriv.c
r5295r5296
420420   DRIVER( jngolady )   /* (c) 1984 */
421421   DRIVER( cntrygrl )   /* (c) 1984 Royal Denshi */
422422   DRIVER( fruitbun )   /* (c) 1984 */
423   DRIVER( luckygrl )  /* (c) 1984 Wing? */
424   DRIVER( nightgal )  /* (c) 1984 */
425   DRIVER( ngtbunny )  /* (c) 1984 */
426   DRIVER( royalngt )  /* (c) 1984 Royal Denshi */
427   DRIVER( sexygal  )  /* (c) 1985 */
428   DRIVER( sweetgal )  /* (c) 1985 */
429   DRIVER( ngalsumr )  /* (c) 1985 */
423   DRIVER( luckygrl )   /* (c) 1984 Wing? */
424   DRIVER( nightgal )   /* (c) 1984 */
425   DRIVER( ngtbunny )   /* (c) 1984 */
426   DRIVER( royalngt )   /* (c) 1984 Royal Denshi */
427   DRIVER( sexygal  )   /* (c) 1985 */
428   DRIVER( sweetgal )   /* (c) 1985 */
429   DRIVER( ngalsumr )   /* (c) 1985 */
430430
431431   DRIVER( pastelg )   /* (c) 1985 */
432   DRIVER( 3ds )       /* (c) 1985 */
432   DRIVER( 3ds )      /* (c) 1985 */
433433
434434   DRIVER( crystalg )   /* (c) 1986 */
435435   DRIVER( crystal2 )   /* (c) 1986 */
r5295r5296
438438   DRIVER( mcitylov )   /* (c) 1986 */
439439   DRIVER( apparel )   /* (c) 1986 Central Denshi */
440440   DRIVER( secolove )   /* (c) 1986 */
441   DRIVER( barline )   /* (c) 1986?*/
441   DRIVER( barline )   /* (c) 1986?*/
442442   DRIVER( housemnq )   /* (c) 1987 */
443443   DRIVER( housemn2 )   /* (c) 1987 */
444444   DRIVER( livegal )   /* (c) 1987 */
r5295r5296
11301130   /* NES-based hacks */
11311131   DRIVER( multigam )   /* 1992 */
11321132   DRIVER( multigmb )   /* 1992 */
1133   DRIVER( multigm2 )  /* 1992 */
1134   DRIVER( multigm3 )  /* 19?? */
1133   DRIVER( multigm2 )   /* 1992 */
1134   DRIVER( multigm3 )   /* 19?? */
11351135   DRIVER( cham24 )   /* 2002 */
11361136
11371137   /* Nintendo Super System Games */
r5295r5296
11571157   /* Midway 8080 b/w games */
11581158   DRIVER( seawolf )   /* 596 [1976] */
11591159   DRIVER( gunfight )   /* 597 [1975] */
1160            /* 603 - Top Gun [1976] */
1160                  /* 603 - Top Gun [1976] */
11611161   DRIVER( tornbase )   /* 605 [1976] */
11621162   DRIVER( 280zzzap )   /* 610 [1976] */
11631163   DRIVER( maze )      /* 611 [1976] */
r5295r5296
11711171   DRIVER( m4 )      /* 626 [1977] */
11721172   DRIVER( clowns )   /* 630 [1978] */
11731173   DRIVER( clowns1 )   /* 630 [1978] */
1174            /* 640 - Space Walk [1978] */
1174                  /* 640 - Space Walk [1978] */
11751175   DRIVER( einning )   /* 642 [1978] Midway */
11761176   DRIVER( shuffle )   /* 643 [1978] */
11771177   DRIVER( dogpatch )   /* 644 [1977] */
r5295r5296
11841184   DRIVER( invadpt2 )   /* 852 [1980] Taito */
11851185   DRIVER( invaddlx )   /* 852 [1980] Midway */
11861186   DRIVER( moonbase )   /* Zeta - Nichibutsu */
1187            /* 870 - Space Invaders Deluxe cocktail */
1187                  /* 870 - Space Invaders Deluxe cocktail */
11881188   DRIVER( searthin )   /* bootleg */
11891189   DRIVER( searthia )   /* bootleg */
11901190   DRIVER( invadrmr )   /* (c) 1978 Model Racing */
r5295r5296
12501250   DRIVER( sspeedr )   /* 1979 Midway */
12511251
12521252   /* Similar but with a M6800 instead of an 8080 */
1253   DRIVER( sflush ) /* (c)1979 Taito */
1253   DRIVER( sflush )   /* (c)1979 Taito */
12541254
12551255   /* Meadows S2650 games */
12561256   DRIVER( lazercmd )   /* [1976?] */
r5295r5296
14541454   DRIVER( rtypej )   /* (c) 1987 (Japan) */
14551455   DRIVER( rtypejp )   /* (c) 1987 (Japan) */
14561456   DRIVER( rtypeu )   /* (c) 1987 + Nintendo USA license (US) */
1457   DRIVER( rtypeb )      /* bootleg  */
1457   DRIVER( rtypeb )   /* bootleg  */
14581458   DRIVER( bchopper )   /* (c) 1987 */
14591459   DRIVER( mrheli )   /* (c) 1987 (Japan) */
14601460   DRIVER( nspirit )   /* (c) 1988 */
r5295r5296
18301830   DRIVER( tnzs )      /* B53 (c) 1988 Taito Corporation Japan (World) (new logo) */
18311831   DRIVER( tnzsj )      /* B53 (c) 1988 Taito Corporation (Japan) (new logo) */
18321832   DRIVER( tnzsjo )   /* B53 (c) 1988 Taito Corporation (Japan) (new logo) */
1833   DRIVER( tnzso    )   /* B53 (c) 1988 Taito Corporation Japan (World) (old logo) */
1833   DRIVER( tnzso )      /* B53 (c) 1988 Taito Corporation Japan (World) (old logo) */
18341834   DRIVER( tnzsop )   /* B53?(c) 1988 Taito Corporation Japan (World) (old logo) */
18351835   DRIVER( insectx )   /* B97 (c) 1989 Taito Corporation Japan (World) */
1836   DRIVER( cchance )   /* (c)1987 Taito? */
1836   DRIVER( cchance )   /* (c)1987 Taito? */
18371837   DRIVER( champbwl )   /* (c)1989 Romstar.  not Taito, but the same Seta video chips */
18381838
18391839   /* Taito L-System games */
r5295r5296
32273227   DRIVER( bmiidx8 )
32283228
32293229   /* Konami Viper games */
3230   DRIVER( kviper )      /* 1999 */
3231   DRIVER( ppp2nd )      /* 2001 */
3232   DRIVER( boxingm )      /* 2001 */
3233   DRIVER( code1d )      /* 2000 */
3234   DRIVER( code1db )      /* 2000 */
3235   DRIVER( gticlub2 )      /* 2001 */
3236   DRIVER( gticlub2ea )   /* 2001 */
3237   DRIVER( jpark3 )      /* 2001 */
3238   DRIVER( mocapglf )      /* 2001 */
3239   DRIVER( mocapb )      /* 2001 */
3240   DRIVER( mocapbj )      /* 2001 */
3241   DRIVER( p911 )         /* 2001 */
3242   DRIVER( p911uc )      /* 2001 */
3243   DRIVER( p911kc )      /* 2001 */
3244   DRIVER( p911e )         /* 2001 */
3245   DRIVER( p911j )         /* 2001 */
3246   DRIVER( p9112 )         /* 2001 */
3247   DRIVER( popn9 )         /* 2003 */
3248   DRIVER( sscopex )      /* 2001 */
3249   DRIVER( sogeki )      /* 2001 */
3250   DRIVER( thrild2 )      /* 2001 */
3251   DRIVER( thrild2a )      /* 2001 */
3252   DRIVER( thrild2c )      /* 2001 */
3253   DRIVER( tsurugi )      /* 2001 */
3254   DRIVER( tsurugij )      /* 2001 */
3255   DRIVER( wcombat )      /* 2002 */
3256   DRIVER( wcombatk )      /* 2002 */
3257   DRIVER( wcombatj )      /* 2002 */
3258   DRIVER( xtrial )      /* 2002 */
3259   DRIVER( mfightc )      /* 2002 */
3260   DRIVER( mfightcc )      /* 2002 */
3230   DRIVER( kviper )   /* 1999 */
3231   DRIVER( ppp2nd )   /* 2001 */
3232   DRIVER( boxingm )   /* 2001 */
3233   DRIVER( code1d )   /* 2000 */
3234   DRIVER( code1db )   /* 2000 */
3235   DRIVER( gticlub2 )   /* 2001 */
3236   DRIVER( gticlub2ea )/* 2001 */
3237   DRIVER( jpark3 )   /* 2001 */
3238   DRIVER( mocapglf )   /* 2001 */
3239   DRIVER( mocapb )   /* 2001 */
3240   DRIVER( mocapbj )   /* 2001 */
3241   DRIVER( p911 )      /* 2001 */
3242   DRIVER( p911uc )   /* 2001 */
3243   DRIVER( p911kc )   /* 2001 */
3244   DRIVER( p911e )      /* 2001 */
3245   DRIVER( p911j )      /* 2001 */
3246   DRIVER( p9112 )      /* 2001 */
3247   DRIVER( popn9 )      /* 2003 */
3248   DRIVER( sscopex )   /* 2001 */
3249   DRIVER( sogeki )   /* 2001 */
3250   DRIVER( thrild2 )   /* 2001 */
3251   DRIVER( thrild2a )   /* 2001 */
3252   DRIVER( thrild2c )   /* 2001 */
3253   DRIVER( tsurugi )   /* 2001 */
3254   DRIVER( tsurugij )   /* 2001 */
3255   DRIVER( wcombat )   /* 2002 */
3256   DRIVER( wcombatk )   /* 2002 */
3257   DRIVER( wcombatj )   /* 2002 */
3258   DRIVER( xtrial )   /* 2002 */
3259   DRIVER( mfightc )   /* 2002 */
3260   DRIVER( mfightcc )   /* 2002 */
32613261
32623262   /* Mitchell games */
32633263   DRIVER( mgakuen )   /* (c) 1988 Yuga */
r5295r5296
32673267   DRIVER( pkladiel )   /* (c) 1989 Leprechaun */
32683268   DRIVER( pkladila )   /* (c) 1989 Leprechaun */
32693269   DRIVER( dokaben )   /*  3/1989 (c) 1989 Capcom (Japan) */
3270            /*  8/1989 Dokaben 2 (baseball) */
3270                  /*  8/1989 Dokaben 2 (baseball) */
32713271   DRIVER( pang )      /* (c) 1989 Mitchell (World) */
32723272   DRIVER( pangb )      /* bootleg */
32733273   DRIVER( pangbold )   /* bootleg */
r5295r5296
32833283   DRIVER( sbbros )   /* 01/10/1990 (c) 1990 Mitchell + Capcom (US) not listed on Capcom's site */
32843284   DRIVER( marukin )   /* 17/10/1990 (c) 1990 Yuga (Japan) */
32853285   DRIVER( qtono1 )   /* 25/12/1990 (QUIZ 3) (c) 1991 Capcom (Japan) */
3286            /*  4/1991 Ashita Tenki ni Naare (golf) */
3286                  /*  4/1991 Ashita Tenki ni Naare (golf) */
32873287   DRIVER( qsangoku )   /* 07/06/1991 (QUIZ 4) (c) 1991 Capcom (Japan) */
32883288   DRIVER( block )      /* 10/09/1991 (c) 1991 Capcom (World) */
32893289   DRIVER( blockj )   /* 10/09/1991 (c) 1991 Capcom (Japan) */
r5295r5296
34493449   DRIVER( supcrash )   /* bootleg */
34503450   DRIVER( headon2 )   /* ???-??? (c) 1979 Sega */
34513451   DRIVER( car2 )      /* bootleg */
3452            /* ???-??? Fortress */
3453            /* ???-??? Gee Bee */
3454            /* 255-270  Head On 2 / Deep Scan */
3452                  /* ???-??? Fortress */
3453                  /* ???-??? Gee Bee */
3454                  /* 255-270  Head On 2 / Deep Scan */
34553455   DRIVER( invho2 )   /* 271-286 (c) 1979 Sega */
34563456   DRIVER( nsub )      /* 268-275 (c) 1980 Sega */
34573457   DRIVER( samurai )   /* 289-302 + upgrades (c) 1980 Sega */
34583458   DRIVER( invinco )   /* 310-318 (c) 1979 Sega */
34593459   DRIVER( invds )      /* 367-382 (c) 1979 Sega */
34603460   DRIVER( tranqgun )   /* 413-428 (c) 1980 Sega */
3461            /* 450-465  Tranquilizer Gun (different version?) */
3462            /* ???-??? Car Hunt / Deep Scan */
3461                  /* 450-465  Tranquilizer Gun (different version?) */
3462                  /* ???-??? Car Hunt / Deep Scan */
34633463   DRIVER( spacetrk )   /* 630-645 (c) 1980 Sega */
34643464   DRIVER( sptrekct )   /* (c) 1980 Sega */
34653465   DRIVER( carnival )   /* 651-666 (c) 1980 Sega */
r5295r5296
35133513   /* Sega "LaserDisc hardware" games */
35143514   DRIVER( astron )   /* (c) 1983 */
35153515   DRIVER( astronp )   /* (c) 1983 */
3516   DRIVER( galaxyr )   /* (c) 1983 */
3517   DRIVER( galaxyrp )  /* (c) 1983 */
3518   DRIVER( sblazerp )  /* (c) 1983 */
3519   DRIVER( cobraseg )  /* (c) ???? */
3516   DRIVER( galaxyr )   /* (c) 1983 */
3517   DRIVER( galaxyrp )   /* (c) 1983 */
3518   DRIVER( sblazerp )   /* (c) 1983 */
3519   DRIVER( cobraseg )   /* (c) ???? */
35203520   DRIVER( gpworld )   /* (c) 1984 */
35213521   DRIVER( timetrv )   /* (c) 1991.10 Virtual Image Productions */
35223522
r5295r5296
35793579   DRIVER( wboy4 )      /* 834-5984 (c) 1986 + Escape license (S1) */
35803580   DRIVER( wboyu )      /* 834-5753 (? maybe a conversion) (c) 1986 + Escape license (S1) */
35813581   DRIVER( wbdeluxe )   /* (c) 1986 + Escape license (S1) */
3582   DRIVER( wboysys2 )      /* 834-5984  (c) 1986 + Escape license (S1) */
3582   DRIVER( wboysys2 )   /* 834-5984  (c) 1986 + Escape license (S1) */
35833583   DRIVER( gardia )   /* 834-6119 (S2?) */
35843584   DRIVER( gardiab )   /* bootleg */
35853585   DRIVER( nob )      /* (c) Data East */
r5295r5296
36303630   DRIVER( calorieb )   /* (c) 1986 Sega (but bootleg) */
36313631
36323632   /* Bingo-based games */
3633   DRIVER( bingoc )    /* (c) 1989 Sega */
3633   DRIVER( bingoc )   /* (c) 1989 Sega */
36343634   /* Bingo Fantasy  *//* (c) 19?? Sega */
36353635   /* Bingo Star     *//* (c) 19?? Sega */
36363636   /* Bingo Party    *//* (c) 1993 Sega */
r5295r5296
37563756
37573757
37583758   /* S16 Bootlegs */
3759   DRIVER( bayrouteb1 )   /* (c) 1989 (protected) (bootleg) */
3760   DRIVER( bayrouteb2 )   /* (c) 1989 (protected) (bootleg) */
3759   DRIVER( bayrouteb1 )/* (c) 1989 (protected) (bootleg) */
3760   DRIVER( bayrouteb2 )/* (c) 1989 (protected) (bootleg) */
37613761   DRIVER( dduxbl )   /* (c) 1989 (Datsu bootleg) */
37623762   DRIVER( eswatbl )   /* BOOTLEG */
37633763   DRIVER( fpointbl )   /* (c) 1989 (Datsu bootleg) */
37643764   DRIVER( fpointbj )   /* (c) 1989 (Datsu bootleg, Japan) */
3765   DRIVER( goldnaxeb1 )   /* BOOTLEG  */
3766   DRIVER( goldnaxeb2 )   /* BOOTLEG  */
3765   DRIVER( goldnaxeb1 )/* BOOTLEG  */
3766   DRIVER( goldnaxeb2 )/* BOOTLEG  */
37673767   DRIVER( passht4b )   /* bootleg */
37683768   DRIVER( passshtb )   /* bootleg */
37693769   DRIVER( shinoblb )   /* (c) 1987 (but bootleg) */
37703770   DRIVER( shinobld )   /* (c) 1987 (but bootleg) */
37713771   DRIVER( tetrisbl )   /* (c) 1988 (but bootleg) */
37723772   DRIVER( beautyb )   /* (c) 1991 AMT */
3773   DRIVER( iqpipe )    /* (c) 1991 AMT */
3773   DRIVER( iqpipe )   /* (c) 1991 AMT */
37743774   DRIVER( tturfbl )   /* (c) 1989 (Datsu bootleg) */
37753775   DRIVER( wb3bbl )   /* BOOTLEG */
37763776
r5295r5296
42414241   DRIVER( mt_orun )   /* 06 */
42424242   DRIVER( mt_asyn )   /* 07 */
42434243   DRIVER( mt_shnbi )   /* 08 */
4244            /* 09 */
4244                  /* 09 */
42454245   DRIVER( mt_aftrb )   /* 10 */
42464246   DRIVER( mt_tfor2 )   /* 11 */
4247            /* 12 */
4247                  /* 12 */
42484248   DRIVER( mt_astro )   /* 13 */
4249            /* 14 */
4250            /* 15 */
4251            /* 16 */
4252            /* 17 */
4253            /* 18 */
4254            /* 19 */
4249                  /* 14 */
4250                  /* 15 */
4251                  /* 16 */
4252                  /* 17 */
4253                  /* 18 */
4254                  /* 19 */
42554255   DRIVER( mt_lastb )   /* 20 */
42564256   DRIVER( mt_wcsoc )   /* 21 */
42574257   DRIVER( mt_tetri )   /* 22 */
r5295r5296
42624262   DRIVER( mt_mystd )   /* 27 */
42634263   DRIVER( mt_revsh )   /* 28 */
42644264   DRIVER( mt_parlg )   /* 29 */
4265            /* 30 */
4265                  /* 30 */
42664266   DRIVER( mt_tgolf )   /* 31 */
42674267   DRIVER( mt_srbb )   /* 32 */
4268            /* 33 */
4269            /* 34 */
4268                  /* 33 */
4269                  /* 34 */
42704270   DRIVER( mt_tlbba )   /* 35 */
42714271   DRIVER( mt_cols )   /* 36 */
4272            /* 37 */
4272                  /* 37 */
42734273   DRIVER( mt_eswat )   /* 38 */
42744274   DRIVER( mt_smgp )   /* 39 */
42754275   DRIVER( mt_mwalk )   /* 40 */
42764276   DRIVER( mt_crack )   /* 41 */
4277            /* 42 */
4277                  /* 42 */
42784278   DRIVER( mt_shado )   /* 43 */
42794279   DRIVER( mt_arrow )   /* 44 */
4280            /* 45 */
4281            /* 46 */
4280                  /* 45 */
4281                  /* 46 */
42824282   DRIVER( mt_astrm )   /* 47 */
42834283   DRIVER( mt_wwar )   /* 48 */
42844284   DRIVER( mt_bbros )   /* 49 */
4285            /* 50 */
4285                  /* 50 */
42864286   DRIVER( mt_srage )   /* 51 */
42874287   DRIVER( mt_sonic )   /* 52 */
42884288   DRIVER( mt_sonia )   /* ^^ */
42894289   DRIVER( mt_fshrk )   /* 53 */
4290            /* 54 */
4291            /* 55 */
4292            /* 56 */
4290                  /* 54 */
4291                  /* 55 */
4292                  /* 56 */
42934293   DRIVER( mt_gaxe2 )   /* 57 */
42944294   DRIVER( mt_stf )   /* 58 */
42954295   DRIVER( mt_mlh )   /* 59 */
42964296   DRIVER( mt_kcham )   /* 60 */
4297            /* 61 */
4297                  /* 61 */
42984298   DRIVER( mt_soni2 )   /* 62 */
4299//  DRIVER( mt_comp1 )  /* ?? */
4300//  DRIVER( mt_comp2 )  /* ?? */
4299   //DRIVER( mt_comp1 )    /* ?? */
4300   //DRIVER( mt_comp2 )    /* ?? */
43014301
43024302   /* Sega MegaPlay */
43034303   DRIVER( megaplay )
r5295r5296
43084308   DRIVER( mp_sor2 )   /* 05 */
43094309   DRIVER( mp_bio )   /* 06 */
43104310   DRIVER( mp_soni2 )   /* 07 */
4311            /* 08 */
4311                  /* 08 */
43124312   DRIVER( mp_shnb3 )   /* 09 */
4313            /* 10 */
4313                  /* 10 */
43144314   DRIVER( mp_mazin )   /* 11 */
43154315   DRIVER( mp_col3 )   /* ?? */
43164316
r5295r5296
44314431   DRIVER( usagui )   /* 2003.06 Usagi Yamashiro Mahjong Hen */
44324432                  /* 2003.07 Yonin Uchi Mahjong MJ Network Taisen ver. NEW */
44334433   DRIVER( psyvar2 )   /* 2003.11 Psyvariar 2 */
4434   DRIVER( puyofev   )   /* 2003.11 Puyopuyo Fever */
4434   DRIVER( puyofev )   /* 2003.11 Puyopuyo Fever */
44354435   DRIVER( shootpl )   /* 2003.xx Shootout Pool / Shootout Pool Prize */
44364436   DRIVER( tetkiwam )   /* 2004.06 Tetris Kiwamemichi (Arcade TV Game List - P.88, Right, 11 from bottom) */
44374437   DRIVER( cfield )   /* 2004.06 Chaos Field */
r5295r5296
46504650   DRIVER( btime )      /* (c) 1982 */
46514651   DRIVER( btime2 )   /* (c) 1982 */
46524652   DRIVER( btimem )   /* (c) 1982 + Midway */
4653   DRIVER( tisland )   /* (c) 1982 */
4654   DRIVER( protennb )  /* bootleg */
4653   DRIVER( tisland )   /* (c) 1982 */
4654   DRIVER( protennb )   /* bootleg */
46554655   DRIVER( cookrace )   /* bootleg */
46564656   DRIVER( wtennis )   /* bootleg 1982 */
46574657   DRIVER( brubber )   /* (c) 1982 */
r5295r5296
49174917   DRIVER( captavuu )   /* MAN (c) 1991 Data East Corporation (US) */
49184918   DRIVER( captavua )   /* MAN (c) 1991 Data East Corporation (US) */
49194919   DRIVER( captavnj )   /* MAN (c) 1991 Data East Corporation (Japan) */
4920            /* MAO ?? */
4920                  /* MAO ?? */
49214921   DRIVER( tumblep )   /* MAP (c) 1991 Data East Corporation (World) */
49224922   DRIVER( tumblepj )   /* MAP (c) 1991 Data East Corporation (Japan) */
49234923   DRIVER( tumbleb )   /* bootleg */
r5295r5296
49394939   DRIVER( dquizgo )   /* (c) 1998 SemiCom */
49404940   DRIVER( suprtrio )   /* (c) 1994 GameAce */
49414941   DRIVER( lemmings )   /* prototype (c) 1991 Data East USA (US) */
4942            /* MAQ ?? */
4942                  /* MAQ ?? */
49434943   DRIVER( dragngun )   /* MAR (c) 1992 Data East Corporation (US) */
49444944   DRIVER( wizdfire )   /* MAS (c) 1992 Data East Corporation (Over Sea) */
49454945   DRIVER( wizdfiru )   /* MAS (c) 1992 Data East Corporation (US) */
49464946   DRIVER( darksel2 )   /* MAS (c) 1992 Data East Corporation (Japan) */
49474947   DRIVER( funkyjet )   /* MAT (c) 1992 Mitchell */
49484948   DRIVER( funkyjej )   /* MAT (c) 1992 Mitchell */
4949            /* MAU ?? */
4949                  /* MAU ?? */
49504950   DRIVER( nitrobal )   /* MAV (c) 1992 Data East Corporation (US) */
49514951   DRIVER( gunball )   /* MAV (c) 1992 Data East Corporation (Japan) */
4952            /* MAW ?? */
4953            /* MAX ?? */
4952                  /* MAW ?? */
4953                  /* MAX ?? */
49544954   DRIVER( dietgo )   /* MAY (c) 1993 */
49554955   DRIVER( dietgoe )   /* MAY (c) 1993 */
49564956   DRIVER( dietgou )   /* MAY (c) 1993 */
r5295r5296
49584958   DRIVER( pktgaldx )   /* MAZ (c) 1993 Data East (Euro v3.00) */
49594959   DRIVER( pktgaldj )   /* MAZ (c) 1993 */
49604960   DRIVER( pktgaldb )   /* bootleg */
4961            /* MBA ?? */
4962            /* MBB ?? */
4963            /* MBC ?? */
4961                  /* MBA ?? */
4962                  /* MBB ?? */
4963                  /* MBC ?? */
49644964   DRIVER( boogwing )   /* MBD (c) 1992 (Euro) */
49654965   DRIVER( boogwina )   /* MBD (c) 1992 (Asia) */
49664966   DRIVER( ragtime )   /* MBD (c) 1992 (Japan) */
r5295r5296
49764976   DRIVER( nslasher )   /* MBH (c) 1993 Data East Corporation */
49774977   DRIVER( nslashej )   /* MBH (c) 1993 Data East Corporation (Japan)*/
49784978   DRIVER( nslashes )   /* MBH (c) 1993 Data East Corporation (Japan)*/
4979            /* MBI ?? */
4980            /* MBJ ?? */
4981            /* MBK ?? */
4982            /* MBL ?? */
4979                  /* MBI ?? */
4980                  /* MBJ ?? */
4981                  /* MBK ?? */
4982                  /* MBL ?? */
49834983   DRIVER( lockload )   /* MBM (c) 1994 Data East Corporation (US) */
49844984   DRIVER( locklodu )   /* MBM (c) 1994 Data East Corporation (US) */
49854985   DRIVER( joemacr )   /* MBN (c) 1994 */
49864986   DRIVER( joemacra )   /* MBN (c) 1994 */
4987            /* MBO ?? */
4988            /* MBP ?? */
4989            /* MBQ ?? */
4987                  /* MBO ?? */
4988                  /* MBP ?? */
4989                  /* MBQ ?? */
49904990   DRIVER( tattass )   /* prototype (c) 1994 Data East Pinball (US) */
49914991   DRIVER( tattassa )   /* prototype (c) 1994 Data East Pinball (Asia) */
49924992   DRIVER( charlien )   /* MBR (c) 1994 Mitchell */
4993            /* MBS ?? */
4994            /* MBT ?? */
4995            /* MBU ?? */
4996            /* MBV ?? */
4997            /* MBW ?? */
4993                  /* MBS ?? */
4994                  /* MBT ?? */
4995                  /* MBU ?? */
4996                  /* MBV ?? */
4997                  /* MBW ?? */
49984998   DRIVER( wcvol95 )   /* MBX (c) 1993 Data East */
4999            /* MBY ?? */
4999                  /* MBY ?? */
50005000   DRIVER( backfire )   /* MBZ (c) 1995 */
50015001   DRIVER( backfira )   /* MBZ (c) 1995 */
5002            /* MCA ?? */
5002                  /* MCA ?? */
50035003   DRIVER( prtytime )   /* MCB (c) 1995 Mitchell */
50045004   DRIVER( gangonta )   /* MCB (c) 1995 Mitchell */
50055005   DRIVER( chainrec )   /* MCC (c) 1994 */
50065006   DRIVER( magdrop )   /* MCC (c) 1995 Data East */
50075007   DRIVER( magdropp )   /* MCC (c) 1995 Data East */
5008            /* MCD ?? */
5009            /* MCE Dunk Dream 95/Hoops96 See MLC games below */
5008                  /* MCD ?? */
5009   /* MCE Dunk Dream 95/Hoops96 See MLC games below */
50105010   DRIVER( osman )      /* MCF (c) 1996 Mitchell */
50115011   DRIVER( candance )   /* MCF (c) 1996 Mitchell */
50125012   DRIVER( sotsugyo )   /*     (c) 1995 Mitchell (Atlus license) */
r5295r5296
50375037   DRIVER( pbaction )   /* (c) 1985 Tehkan */
50385038   DRIVER( pbactio2 )   /* (c) 1985 Tehkan */
50395039   DRIVER( pbactio3 )   /* (c) 1985 Tehkan */
5040            /* 6009 Tank Busters */
5040                  /* 6009 Tank Busters */
50415041   DRIVER( ponttehk )   /* 6011 - (c) 1985 Tehkan */
50425042   DRIVER( lvpoker )   /* ???? - (c) 1985 Tehkan */
50435043   DRIVER( lvcards )   /* (c) 1985 Tehkan */
r5295r5296
50555055   DRIVER( gemini )   /* (c) 1987 Tecmo */
50565056   DRIVER( silkworm )   /* 6217 - (c) 1988 Tecmo */
50575057   DRIVER( silkwrm2 )   /* 6217 - (c) 1988 Tecmo */
5058   DRIVER( backfirt )   /* bootleg [(c) 1988 Tecmo] */
50585059   DRIVER( tbowl )      /* 6206 - (c) 1987 Tecmo */
50595060   DRIVER( tbowlj )   /* 6206 - (c) 1987 Tecmo */
50605061   DRIVER( shadoww )   /* 6215 - (c) 1988 Tecmo (World) */
r5295r5296
50715072   DRIVER( wc90a )      /* (c) 1989 Tecmo */
50725073   DRIVER( wc90b )      /* (c) 1989 Tecmo */
50735074   DRIVER( wc90t )      /* (c) 1989 Tecmo */
5074   DRIVER( wc90b1 )      /* bootleg */
5075   DRIVER( wc90b2 )      /* bootleg */
5075   DRIVER( wc90b1 )   /* bootleg */
5076   DRIVER( wc90b2 )   /* bootleg */
50765077   DRIVER( spbactn )   /* 9002 - (c) 1991 Tecmo */
50775078   DRIVER( spbactnj )   /* 9002 - (c) 1991 Tecmo */
50785079   DRIVER( fstarfrc )   /* (c) 1992 Tecmo */
r5295r5296
52505251   DRIVER( esckidsj )   /* GX975 (c) 1991 (Japan) */
52515252   DRIVER( vendetta )   /* GX081 (c) 1991 (World) */
52525253   DRIVER( vendettar )   /* GX081 (c) 1991 (World) */
5253   DRIVER( vendetta2p )   /* GX081 (c) 1991 (World) */
5254   DRIVER( vendetta2pu )   /* GX081 (c) 1991 (Asia) */
5255   DRIVER( vendetta2pd )   /* GX081 (c) 1991 (Asia) */
5254   DRIVER( vendetta2p )/* GX081 (c) 1991 (World) */
5255   DRIVER( vendetta2pu )/* GX081 (c) 1991 (Asia) */
5256   DRIVER( vendetta2pd )/* GX081 (c) 1991 (Asia) */
52565257   DRIVER( vendettaj )   /* GX081 (c) 1991 (Japan) */
52575258   DRIVER( mogura )   /* GX141 (c) 1991 */
52585259   DRIVER( wecleman )   /* GX602 (c) 1986 */
r5295r5296
57475748   DRIVER( marble2 )   /* 136033           (c) 1984 */
57485749   DRIVER( marble3 )   /* 136033           (c) 1984 */
57495750   DRIVER( marble4 )   /* 136033           (c) 1984 */
5750    DRIVER( marble5 )   /* 136033           (c) 1984   (LSI Cartridge) */
5751   DRIVER( marble5 )   /* 136033           (c) 1984   (LSI Cartridge) */
57515752   /* Indiana Jones and the Temple of Doom */
57525753   DRIVER( indytemp )   /* 136036           (c) 1985 */
57535754   DRIVER( indytem2 )   /* 136036           (c) 1985 */
r5295r5296
61576158   DRIVER( ridhero )   /* 0006 (c) 1990 SNK */
61586159   DRIVER( ridheroh )   /* 0006 (c) 1990 SNK */
61596160   DRIVER( alpham2 )   /* 0007 (c) 1991 SNK */
6160            /* 0008 Sunshine (prototype) 1990 SNK */
6161                  /* 0008 Sunshine (prototype) 1990 SNK */
61616162   DRIVER( ncombat )   /* 0009 (c) 1990 Alpha Denshi Co. */
61626163   DRIVER( ncombath )   /* 0009 (c) 1990 Alpha Denshi Co. */
61636164   DRIVER( cyberlip )   /* 0010 (c) 1990 SNK */
61646165   DRIVER( superspy )   /* 0011 (c) 1990 SNK */
6165            /* 0012 */
6166            /* 0013 */
6166                  /* 0012 */
6167                  /* 0013 */
61676168   DRIVER( mutnat )   /* 0014 (c) 1992 SNK */
6168            /* 0015 */
6169                  /* 0015 */
61696170   DRIVER( kotm )      /* 0016 (c) 1991 SNK */
61706171   DRIVER( kotmh )      /* 0016 (c) 1991 SNK */
61716172   DRIVER( sengoku )   /* 0017 (c) 1991 SNK */
r5295r5296
61806181   DRIVER( quizdais )   /* 0023 (c) 1991 SNK */
61816182   DRIVER( lresort )   /* 0024 (c) 1992 SNK */
61826183   DRIVER( eightman )   /* 0025 (c) 1991 SNK / Pallas */
6183            /* 0026 Fun Fun Brothers (prototype) 1991 Alpha */
6184                  /* 0026 Fun Fun Brothers (prototype) 1991 Alpha */
61846185   DRIVER( minasan )   /* 0027 (c) 1990 Monolith Corp. */
6185            /* 0028 Dunk Star (prototype) Sammy */
6186                  /* 0028 Dunk Star (prototype) Sammy */
61866187   DRIVER( legendos )   /* 0029 (c) 1991 SNK */
61876188   DRIVER( 2020bb )   /* 0030 (c) 1991 SNK / Pallas */
61886189   DRIVER( 2020bba )   /* 0030 (c) 1991 SNK / Pallas */
r5295r5296
61926193   DRIVER( roboarmy )   /* 0032 (c) 1991 SNK */
61936194   DRIVER( fatfury1 )   /* 0033 (c) 1991 SNK */
61946195   DRIVER( fbfrenzy )   /* 0034 (c) 1992 SNK */
6195            /* 0035 Mystic Wand (prototype) 1991 Alpha */
6196                  /* 0035 Mystic Wand (prototype) 1991 Alpha */
61966197   DRIVER( bakatono )   /* 0036 (c) 1991 Monolith Corp. */
61976198   DRIVER( crsword )   /* 0037 (c) 1991 Alpha Denshi Co. */
61986199   DRIVER( trally )   /* 0038 (c) 1991 Alpha Denshi Co. */
r5295r5296
62156216   DRIVER( wh1 )      /* 0053 (c) 1992 Alpha Denshi Co. */
62166217   DRIVER( wh1h )      /* 0053 (c) 1992 Alpha Denshi Co. */
62176218   DRIVER( wh1ha )      /* 0053 (c) 1992 Alpha Denshi Co. */
6218            /* 0054 Crossed Swords 2  (CD only? not confirmed, MVS might exist) */
6219                  /* 0054 Crossed Swords 2  (CD only? not confirmed, MVS might exist) */
62196220   DRIVER( kof94 )      /* 0055 (c) 1994 SNK */
62206221   DRIVER( aof2 )      /* 0056 (c) 1994 SNK */
62216222   DRIVER( aof2a )      /* 0056 (c) 1994 SNK */
r5295r5296
62346235   DRIVER( karnovr )   /* 0066 (c) 1994 Data East Corporation */
62356236   DRIVER( gururin )   /* 0067 (c) 1994 Face */
62366237   DRIVER( pspikes2 )   /* 0068 (c) 1994 Video System Co. */
6237            /* Super Volley '94 was once released in Mar.1994, and recalled. Then released as Power Spikes 2 (with some tweaks). */
6238                  /* Super Volley '94 was once released in Mar.1994, and recalled. Then released as Power Spikes 2 (with some tweaks). */
62386239   DRIVER( fatfury3 )   /* 0069 (c) 1995 SNK */
62396240   DRIVER( zupapa )   /* 0070 Zupapa - released in 2001, 1994 prototype probably exists */
6240            /* 0071 Bang Bang Busters (prototype) 1994 Visco */
6241            /* 0072 Last Odyssey Pinball Fantasia (prototype) 1995 Monolith */
6241                  /* 0071 Bang Bang Busters (prototype) 1994 Visco */
6242                  /* 0072 Last Odyssey Pinball Fantasia (prototype) 1995 Monolith */
62426243   DRIVER( panicbom )   /* 0073 (c) 1994 Eighting / Hudson */
62436244   DRIVER( aodk )      /* 0074 (c) 1994 ADK / SNK */
62446245   DRIVER( sonicwi2 )   /* 0075 (c) 1994 Video System Co. */
62456246   DRIVER( zedblade )   /* 0076 (c) 1994 NMK */
6246            /* 0077 The Warlocks of the Fates (prototype) 1995 Astec */
6247                  /* 0077 The Warlocks of the Fates (prototype) 1995 Astec */
62476248   DRIVER( galaxyfg )   /* 0078 (c) 1995 Sunsoft */
62486249   DRIVER( strhoop )   /* 0079 (c) 1994 Data East Corporation */
62496250   DRIVER( quizkof )   /* 0080 (c) 1995 Saurus */
r5295r5296
62536254   DRIVER( pbobblena )   /* 0083 (c) 1994 Taito */
62546255   DRIVER( kof95 )      /* 0084 (c) 1995 SNK */
62556256   DRIVER( kof95h )   /* 0084 (c) 1995 SNK */
6256            /* 0085 Shinsetsu Samurai Spirits Bushidoretsuden / Samurai Shodown RPG (CD only) */
6257                  /* 0085 Shinsetsu Samurai Spirits Bushidoretsuden / Samurai Shodown RPG (CD only) */
62576258   DRIVER( tws96 )      /* 0086 (c) 1996 Tecmo */
62586259   DRIVER( samsho3 )   /* 0087 (c) 1995 SNK */
62596260   DRIVER( samsho3h )   /* 0087 (c) 1995 SNK */
r5295r5296
62616262   DRIVER( stakwin )   /* 0088 (c) 1995 Saurus */
62626263   DRIVER( pulstar )   /* 0089 (c) 1995 Aicom */
62636264   DRIVER( whp )      /* 0090 (c) 1995 ADK / SNK */
6264            /* 0091 */
6265                  /* 0091 */
62656266   DRIVER( kabukikl )   /* 0092 (c) 1995 Hudson */
62666267   DRIVER( neobombe )   /* 0093 (c) 1997 Hudson */
62676268   DRIVER( gowcaizr )   /* 0094 (c) 1995 Technos */
r5295r5296
62706271   DRIVER( aof3 )      /* 0096 (c) 1996 SNK */
62716272   DRIVER( aof3k )      /* Censored Korean release of aof3 */
62726273   DRIVER( sonicwi3 )   /* 0097 (c) 1995 Video System Co. */
6273            /* 0098 Idol Mahjong - final romance 2 (CD only? not confirmed, MVS might exist) */
6274            /* 0099 Neo Pool Masters */
6275            /* 0160 98 BEST 44 (c) 1997/1998 SNK */
6274                  /* 0098 Idol Mahjong - final romance 2 (CD only? not confirmed, MVS might exist) */
6275                  /* 0099 Neo Pool Masters */
6276                  /* 0160 98 BEST 44 (c) 1997/1998 SNK */
62766277   DRIVER( turfmast )   /* 0200 (c) 1996 Nazca */
62776278   DRIVER( mslug )      /* 0201 (c) 1996 Nazca */
62786279   DRIVER( puzzledp )   /* 0202 (c) 1995 Taito (Visco license) */
62796280   DRIVER( mosyougi )   /* 0203 (c) 1995 ADK / SNK */
6280            /* 0204 QP (prototype) */
6281            /* 0205 Neo-Geo CD Special (CD only) */
6281                  /* 0204 QP (prototype) */
6282                  /* 0205 Neo-Geo CD Special (CD only) */
62826283   DRIVER( marukodq )   /* 0206 (c) 1995 Takara */
62836284   DRIVER( neomrdo )   /* 0207 (c) 1996 Visco */
62846285   DRIVER( sdodgeb )   /* 0208 (c) 1996 Technos */
62856286   DRIVER( goalx3 )   /* 0209 (c) 1995 Visco */
6286            /* 0210 Karate Ninja Sho (prototype) 1995 Yumekobo */
6287            /* 0211 Oshidashi Zintrick (CD only? not confirmed, MVS might exist) 1996 SNK/ADK */
6287                  /* 0210 Karate Ninja Sho (prototype) 1995 Yumekobo */
6288                  /* 0211 Oshidashi Zintrick (CD only? not confirmed, MVS might exist) 1996 SNK/ADK */
62886289   DRIVER( zintrckb )   /* 0211 hack - this is not a genuine MVS proto, its a bootleg made from the CD version */
62896290   DRIVER( overtop )   /* 0212 (c) 1996 ADK */
62906291   DRIVER( neodrift )   /* 0213 (c) 1996 Visco */
r5295r5296
62926293   DRIVER( kof96h )   /* 0214 (c) 1996 SNK */
62936294   DRIVER( ssideki4 )   /* 0215 (c) 1996 SNK */
62946295   DRIVER( kizuna )   /* 0216 (c) 1996 SNK */
6295            /*  Fu-un Super Tag Battle Special Version (4-player battle available) exists */
6296                  /*  Fu-un Super Tag Battle Special Version (4-player battle available) exists */
62966297   DRIVER( ninjamas )   /* 0217 (c) 1996 ADK / SNK */
62976298   DRIVER( ragnagrd )   /* 0218 (c) 1996 Saurus */
62986299   DRIVER( pgoal )      /* 0219 (c) 1996 Saurus */
6299            /* 0220 Choutetsu Brikin'ger - iron clad (MVS existance seems to have been confirmed) */
6300                  /* 0220 Choutetsu Brikin'ger - iron clad (MVS existance seems to have been confirmed) */
63006301   DRIVER( magdrop2 )   /* 0221 (c) 1996 Data East Corporation */
63016302   DRIVER( samsho4 )   /* 0222 (c) 1996 SNK */
63026303   DRIVER( samsho4k )   /* Censored Korean release of samsho4 */
63036304   DRIVER( rbffspec )   /* 0223 (c) 1996 SNK */
63046305   DRIVER( twinspri )   /* 0224 (c) 1996 ADK */
63056306   DRIVER( wakuwak7 )   /* 0225 (c) 1996 Sunsoft */
6306            /* 0226 Pair Pair Wars (prototype) 1996 Sunsoft? */
6307                  /* 0226 Pair Pair Wars (prototype) 1996 Sunsoft? */
63076308   DRIVER( stakwin2 )   /* 0227 (c) 1996 Saurus */
63086309   DRIVER( ghostlop )   /* 0228 GhostLop (prototype) 1996? Data East */
6309            /* 0229 King of Fighters '96 CD Collection (CD only) */
6310                  /* 0229 King of Fighters '96 CD Collection (CD only) */
63106311   DRIVER( breakers )   /* 0230 (c) 1996 Visco */
63116312   DRIVER( miexchng )   /* 0231 (c) 1997 Face */
63126313   DRIVER( kof97 )      /* 0232 (c) 1997 SNK */
r5295r5296
63566357   DRIVER( mslug3b6 )   /* bootleg */
63576358   DRIVER( kof2000 )   /* 0257 (c) 2000 SNK */
63586359   DRIVER( kof2000n )   /* 0257 (c) 2000 SNK */
6359            /* 0258 SNK vs. Capcom? */
6360                  /* 0258 SNK vs. Capcom? */
63606361   DRIVER( bangbead )   /* 0259 (c) 2000 Visco */
63616362   DRIVER( nitd )      /* 0260 (c) 2000 Eleven / Gavaking */
63626363   DRIVER( nitdbl )   /* bootleg */
r5295r5296
65526553   DRIVER( wwfwfstj )   /* TA-0031 (c) 1991 (Japan) */
65536554   DRIVER( shadfrce )   /* TA-0032 (c) 1993 (US) */
65546555   DRIVER( shadfrcj )   /* TA-0032 (c) 1993 (Japan) */
6555   DRIVER( shadfrcjv2 )   /* TA-0032 (c) 1993 (Japan) */
6556   DRIVER( shadfrcjv2 )/* TA-0032 (c) 1993 (Japan) */
65566557
65576558   /* Stern "Berzerk hardware" games */
65586559   DRIVER( berzerk )   /* (c) 1980 */
r5295r5296
66536654
66546655   /* nmk16.c bootlegs using the Seibu Sound System */
66556656   DRIVER( mustangb )   /* bootleg */
6656   DRIVER( mustangb2 ) /* TAB Austria bootleg */
6657   DRIVER( mustangb2 )   /* TAB Austria bootleg */
66576658   DRIVER( tdragonb )   /* bootleg */
66586659
66596660   /* Comad games on unofficial hardware based on nmk16.c */
r5295r5296
68256826   DRIVER( tm7ka )      /* (c) 1999 Midway Games */
68266827   DRIVER( tm7keval )   /* (c) 1999 Midway Games */
68276828   DRIVER( tm8k )      /* (c) 2000 Midway Games */
6828   DRIVER( galgbios )  /* (c) 1998 Creative Electonics & Software (CES) */
6829   DRIVER( galgbios )   /* (c) 1998 Creative Electonics & Software (CES) */
68296830
68306831   /* Cinematronics raster games */
68316832   DRIVER( embargo )
r5295r5296
68886889   DRIVER( zaryavos )   /* (c) 1983 Nova Games of Canada (prototype) */
68896890   DRIVER( timelimt )   /* (c) 1983 Chuo Co. Ltd */
68906891   DRIVER( progress )   /* (c) 1984 Chuo Co. Ltd */
6891   DRIVER( koroleva )      /* (c) 1988 Terminal */
6892   DRIVER( koroleva )   /* (c) 1988 Terminal */
68926893   DRIVER( rtriv )      /* (c) 198? Romar */
68936894
68946895   /* TIA-MC1 hardware games */
68956896   DRIVER( konek )      /* (c) 1988 Terminal */
6896   DRIVER( sosterm )      /* (c) 1988 Terminal */
6897   DRIVER( sosterm )   /* (c) 1988 Terminal */
68976898
68986899   /* Valadon Automation games */
68996900   DRIVER( bagman )   /* (c) 1982 */
r5295r5296
70147015   DRIVER( rfjetj )   /* (c) 1998 Seibu Kaihatsu */
70157016   DRIVER( rfjetus )   /* (c) 1998 Seibu Kaihatsu (Fabtek license) */
70167017
7017   DRIVER( ejsakura )      /* (c) 1999 Seibu Kaihatsu */
7018   DRIVER( ejsakura )   /* (c) 1999 Seibu Kaihatsu */
70187019   DRIVER( ejsakura12 )   /* (c) 1999 Seibu Kaihatsu */
70197020
70207021   /* Seibu System SH2B games */
7021   DRIVER( feversoc )  /* (c) 2000 */
7022   DRIVER( feversoc )   /* (c) 2000 */
70227023
70237024   /* Tad games (Tad games run on Seibu hardware) */
70247025   DRIVER( cabal )      /* (c) 1988 Tad + Fabtek license */
r5295r5296
71537154   DRIVER( kirarast )   /* (c) 1996 */
71547155   DRIVER( tp2m32 )   /* (c) 1997 */
71557156   DRIVER( bnstars )   /* (c) 1997 */
7156   DRIVER( wpksocv2 )  /* (c) 1997 */
7157   DRIVER( wpksocv2 )   /* (c) 1997 */
71577158
71587159   DRIVER( f1superb )   /* (c) 1994 */
71597160
r5295r5296
72197220   DRIVER( gstrikea )   /* (c) [1993] Human */
72207221   DRIVER( vgoalsoc )   /* (c) 199? Temco */
72217222   DRIVER( vgoalsca )   /* (c) 199? Temco */
7222   DRIVER( twrldc94 )      /* (c) 1994 Tecmo */
7223   DRIVER( twrdc94a )      /* (c) 1994 Tecmo */
7223   DRIVER( twrldc94 )   /* (c) 1994 Tecmo */
7224   DRIVER( twrdc94a )   /* (c) 1994 Tecmo */
72247225   DRIVER( suprslam )   /* (c) 1995 Banpresto */
72257226   DRIVER( fromanc2 )   /* (c) 1995 Video System Co. (Japan) */
72267227   DRIVER( fromancr )   /* (c) 1995 Video System Co. (Japan) */
r5295r5296
73357336   DRIVER( snowbalt )   /* (c) 1996 - Ref 960419/1 */
73367337   DRIVER( bang )      /* (c) 1998 - Ref ??? */
73377338   DRIVER( bangj )      /* (c) 1999 - Ref ??? */
7338   DRIVER( grtesoro )  /* (c) 1999 - Ref ??? */
7339   DRIVER( grtesoro )   /* (c) 1999 - Ref ??? */
73397340
73407341   /* Gaelco 3D games */
73417342   DRIVER( speedup )   /* (c) 1996 - Ref ??? */
r5295r5296
78717872   DRIVER( openmj )   /* (c) 1982 Nichibutsu */
78727873   DRIVER( royalmah )   /* Falcon bootleg */
78737874   DRIVER( janyoup2 )   /* Falcon bootleg */
7874   DRIVER( janputer )  /* (c) 1982 Taito */
7875   DRIVER( janputer )   /* (c) 1982 Taito */
78757876   DRIVER( janoh )      /* (c) 1984 Toaplan */
78767877   DRIVER( janoha )   /* (c) 1984 Toaplan */
78777878   DRIVER( jansou )   /* (c) 1985 Dyna */
r5295r5296
85818582   DRIVER( eggvent7 )   /* (c) 1997 The Game Room */
85828583   DRIVER( eggventa )   /* (c) 1997 The Game Room (Allied Leisure license) */
85838584   DRIVER( eggvntdx )   /* (c) 1997 The Game Room */
8584   DRIVER( calchase )  /* (c) 1999 The Game Room */
8585   DRIVER( calchase )   /* (c) 1999 The Game Room */
85858586   DRIVER( ripribit )   /* (c) 1997 LAI Games */
85868587   DRIVER( cfarm )      /* (c) 1999 LAI Games */
85878588   DRIVER( cclownz )   /* (c) 1999 LAI Games */
r5295r5296
88308831   DRIVER( attckufo )   /* (c) 1980 Ryoto Electric Co. */
88318832   DRIVER( fortecar )
88328833   DRIVER( jackpool )   /* (c) 1997 Electronic Projects */
8833   DRIVER( murogem )      /* ??? */
8834   DRIVER( murogem )   /* ??? */
88348835   DRIVER( murogema )   /* ??? */
88358836   DRIVER( murogmbl )   /* ??? */
88368837   DRIVER( lasvegas )   /* hack */
r5295r5296
88798880   DRIVER( rcorsair )   /* (c) 1984 Nakasawa */
88808881   DRIVER( pzlestar )   /* (c) 199? Sang Ho Soft */
88818882   DRIVER( sexyboom )   /* (c) 1992 Sang Ho Soft */
8882   DRIVER( sfkick )   /* (c) 199? HEC */
8883   DRIVER( spinkick )   /* (c) 199? HEC */
8883   DRIVER( sfkick )   /* (c) 1988 Haesung/HJ Corp */
8884   DRIVER( sfkicka )   /* (c) 198? Haesung */
8885   DRIVER( spinkick )   /* (c) 1988 Haesung/Seojin */
88848886   DRIVER( 7mezzo )   /* (c) 198? Unknown */
88858887   DRIVER( magicfly )   /* (c) 198? P&A GAMES */
88868888   DRIVER( dynabomb )   /* (c) 2000 Limenko */
r5295r5296
91109112    DRIVER( girotutt )   /* (c) 2000 High Video */
91119113
91129114   /* M68k-based gambling games */
9113   DRIVER( steaser )   /* (c) 1993 unknown */
9115   DRIVER( steaser )   /* (c) 1993 unknown */
91149116   DRIVER( ilpag )      /* (c) 199? unknown */
91159117
91169118   /* Sure games */
r5295r5296
91229124   /* Mitsubishi/Renesas M16/62A italian gambling games */
91239125   DRIVER( ejollyx5 )   /* (c) 200? Solar Games */
91249126   DRIVER( grandprx )   /* (c) 200? 4fun */
9125   DRIVER( supjolly )  /* (c) 200? unknown */
9127   DRIVER( supjolly )   /* (c) 200? unknown */
91269128
91279129   /* Astro Corp. */
91289130   DRIVER( showhand )   /* (c) 1999? Astro Corp. */
r5295r5296
92139215   DRIVER( mtonic )   /* 198? (c) Tonic */
92149216
92159217   DRIVER( sfbonus )   /* (c) 199? Amcoe */
9216   DRIVER( sfbonusa )  /* (c) 199? Amcoe */
9218   DRIVER( sfbonusa )   /* (c) 199? Amcoe */
92179219   DRIVER( sfbonusb )
92189220   DRIVER( sfbonusd )
92199221   DRIVER( sfbonusv )
r5295r5296
95909592   DRIVER( roul )
95919593
95929594   /* Accept LTD. */
9593   DRIVER( hitpoker ) /* (c) 1997 */
9595   DRIVER( hitpoker )   /* (c) 1997 */
95949596
95959597   /* Play Mechanix */
95969598   DRIVER( jnero )      /* (c) 2004 */
src/mame/mame.mak
r5295r5296
17251725
17261726$(DRIVERS)/mcr3.o:      $(LAYOUT)/turbotag.lh
17271727
1728$(DRIVERS)/mpoker.o:   $(LAYOUT)/mpoker.lh
1729
17281730$(DRIVERS)/mpu4.o:      $(LAYOUT)/mpu4.lh \
17291731                  $(LAYOUT)/connect4.lh \
17301732                  $(LAYOUT)/gamball.lh
src/mame/video/cischeat.c
r5295r5296
13221322VIDEO_UPDATE( scudhamm )
13231323{
13241324   int megasys1_active_layers1, flag;
1325   megasys1_active_layers = 0x0d;
13261325   megasys1_active_layers1 = megasys1_active_layers;
1326   megasys1_active_layers = 0x0d;
13271327
13281328#ifdef MAME_DEBUG
13291329debugsprites = 0;
r5295r5296
13551355#endif
13561356
13571357   cischeat_tmap_SET_SCROLL(0)
1358//  cischeat_tmap_SET_SCROLL(1)
13591358   cischeat_tmap_SET_SCROLL(2)
13601359
13611360   bitmap_fill(bitmap,cliprect,0);
13621361
13631362   flag = 0;
13641363   cischeat_tmap_DRAW(0)
1365//  else bitmap_fill(bitmap,cliprect,0);
1366//  cischeat_tmap_DRAW(1)
1364   // no layer 1
13671365   if (megasys1_active_layers & 0x08)   cischeat_draw_sprites(screen->machine,bitmap,cliprect,0,15);
13681366   cischeat_tmap_DRAW(2)
13691367
src/mame/video/mappy.c
r5295r5296
341341   spriteram = mappy_spriteram + 0x780;
342342   spriteram_2 = spriteram + 0x800;
343343   spriteram_3 = spriteram_2 + 0x800;
344
345    state_save_register_global(machine, mappy_scroll);
344346}
345347
346348VIDEO_START( mappy )
src/mame/layout/mpoker.lay
r0r5296
1<?xml version="1.0"?>
2<mamelayout version="2">
3   <element name="L1" defstate="1">
4      <rect state="1">
5         <color red="1.0" green="1.0" blue="1.0" />
6      </rect>
7      <rect state="0">
8         <color red="0.3" green="0.3" blue="0.3" />
9      </rect>
10      <text string="BET">
11         <color red="0.0" green="0.0" blue="0.0" />
12         <bounds x="0" y="0.2" width="1" height="0.6" />
13      </text>
14   </element>
15
16   <element name="L2" defstate="1">
17      <rect state="1">
18         <color red="1.0" green="1.0" blue="1.0" />
19      </rect>
20      <rect state="0">
21         <color red="0.3" green="0.3" blue="0.3" />
22      </rect>
23      <text string="DEAL">
24         <color red="0.0" green="0.0" blue="0.0" />
25         <bounds x="0" y="0.2" width="1" height="0.6" />
26      </text>
27   </element>
28
29   <element name="L3" defstate="1">
30      <rect state="1">
31         <color red="1.0" green="1.0" blue="1.0" />
32      </rect>
33      <rect state="0">
34         <color red="0.3" green="0.3" blue="0.3" />
35      </rect>
36      <text string="CANCEL">
37         <color red="0.0" green="0.0" blue="0.0" />
38         <bounds x="0" y="0.2" width="1" height="0.6" />
39      </text>
40   </element>
41
42   <element name="L4" defstate="1">
43      <rect state="1">
44         <color red="1.0" green="1.0" blue="1.0" />
45      </rect>
46      <rect state="0">
47         <color red="0.3" green="0.3" blue="0.3" />
48      </rect>
49      <text string="STAND">
50         <color red="0.0" green="0.0" blue="0.0" />
51         <bounds x="0" y="0.2" width="1" height="0.6" />
52      </text>
53   </element>
54
55   <element name="L5" defstate="1">
56      <rect state="1">
57         <color red="1.0" green="0.0" blue="0.0" />
58      </rect>
59      <rect state="0">
60         <color red="0.3" green="0.0" blue="0.0" />
61      </rect>
62      <text string="HOLD1">
63         <color red="0.0" green="0.0" blue="0.0" />
64         <bounds x="0" y="0.2" width="1" height="0.6" />
65      </text>
66   </element>
67
68   <element name="L6" defstate="1">
69      <rect state="1">
70         <color red="1.0" green="0.0" blue="0.0" />
71      </rect>
72      <rect state="0">
73         <color red="0.3" green="0.0" blue="0.0" />
74      </rect>
75      <text string="HOLD2">
76         <color red="0.0" green="0.0" blue="0.0" />
77         <bounds x="0" y="0.2" width="1" height="0.6" />
78      </text>
79   </element>
80
81   <element name="L7" defstate="1">
82      <rect state="1">
83         <color red="1.0" green="0.0" blue="0.0" />
84      </rect>
85      <rect state="0">
86         <color red="0.3" green="0.0" blue="0.0" />
87      </rect>
88      <text string="HOLD3">
89         <color red="0.0" green="0.0" blue="0.0" />
90         <bounds x="0" y="0.2" width="1" height="0.6" />
91      </text>
92   </element>
93
94   <element name="L8" defstate="1">
95      <rect state="1">
96         <color red="1.0" green="0.0" blue="0.0" />
97      </rect>
98      <rect state="0">
99         <color red="0.3" green="0.0" blue="0.0" />
100      </rect>
101      <text string="HOLD4">
102         <color red="0.0" green="0.0" blue="0.0" />
103         <bounds x="0" y="0.2" width="1" height="0.6" />
104      </text>
105   </element>
106
107   <element name="L9" defstate="1">
108      <rect state="1">
109         <color red="1.0" green="0.0" blue="0.0" />
110      </rect>
111      <rect state="0">
112         <color red="0.3" green="0.0" blue="0.0" />
113      </rect>
114      <text string="HOLD5">
115         <color red="0.0" green="0.0" blue="0.0" />
116         <bounds x="0" y="0.2" width="1" height="0.6" />
117      </text>
118   </element>
119
120   <view name="Button Lamps">
121      <screen index="0">
122         <bounds left="0" top="0" right="4" bottom="3" />
123      </screen>
124      <bezel name="lamp1" element="L1">
125         <bounds x="0" y="3.13" width="0.35" height="0.24" />
126      </bezel>
127      <bezel name="lamp2" element="L2">
128         <bounds x="0.4" y="3.13" width="0.35" height="0.24" />
129      </bezel>
130      <bezel name="lamp3" element="L3">
131         <bounds x="0.8" y="3.13" width="0.35" height="0.24" />
132      </bezel>
133      <bezel name="lamp4" element="L4">
134         <bounds x="1.2" y="3.13" width="0.35" height="0.24" />
135      </bezel>
136
137      <bezel name="lamp5" element="L5">
138         <bounds x="2.05" y="3.13" width="0.35" height="0.24" />
139      </bezel>
140      <bezel name="lamp6" element="L6">
141         <bounds x="2.45" y="3.13" width="0.35" height="0.24" />
142      </bezel>
143      <bezel name="lamp7" element="L7">
144         <bounds x="2.85" y="3.13" width="0.35" height="0.24" />
145      </bezel>
146      <bezel name="lamp8" element="L8">
147         <bounds x="3.25" y="3.13" width="0.35" height="0.24" />
148      </bezel>
149      <bezel name="lamp9" element="L9">
150         <bounds x="3.65" y="3.13" width="0.35" height="0.24" />
151      </bezel>
152   </view>
153</mamelayout>
src/mame/drivers/murogem.c
r5295r5296
270270
271271ROM_END
272272
273GAME( 198?,   murogem,  0,       murogem, murogem, 0, ROT0, "unknown", "Muroge Monaco (set 1)", GAME_NO_SOUND|GAME_WRONG_COLORS )
273GAME( 198?, murogem,  0,       murogem, murogem, 0, ROT0, "unknown", "Muroge Monaco (set 1)", GAME_NO_SOUND|GAME_WRONG_COLORS )
274274GAME( 198?, murogema, murogem, murogem, murogem, 0, ROT0, "unknown", "Muroge Monaco (set 2)", GAME_NO_SOUND|GAME_WRONG_COLORS )
275GAME( 198?, lasvegas, murogem, murogem, murogem, 0, ROT0, "hack", "Las Vegas, Nevada", GAME_NO_SOUND|GAME_WRONG_COLORS )
275GAME( 198?, lasvegas, murogem, murogem, murogem, 0, ROT0, "hack",    "Las Vegas, Nevada", GAME_NO_SOUND|GAME_WRONG_COLORS )
src/mame/drivers/viper.c
r5295r5296
2626    G?C09         2002    Mahjong Fight Club
2727    G?C22         2002    World Combat (USA/Japan/Korea) / Warzaid (Europe)
2828
29DASM code snippets:
30
3100FE0B8C: addi      r31,r3,0x0000
3200FE0B90: lwz       r3,0x0040(r1)
3300FE0B94: cmpi      r31,0x0000 ;offending check, understand where r3 comes from!
3400FE0B98: lwz       r4,0x0044(r1)
3500FE0B9C: addic     r5,r1,0x0058
3600FE0BA0: bne       0x00FE0C00
37
2938*/
3039
3140#include "driver.h"
r5295r5296
782791   ROM_LOAD("a00uad_nvram.u39", 0x000000, 0x2000, CRC(cca056ca) SHA1(de1a00d84c1311d48bbe6d24f5b36e22ecf5e85a))
783792
784793   DISK_REGION( "ide" )
785   DISK_IMAGE( "a00d02", 0, SHA1(6acb8dc41920e7025b87034a3a62b185ef0109d9) )
794   DISK_IMAGE( "a00uad02", 0, SHA1(6acb8dc41920e7025b87034a3a62b185ef0109d9) )
786795ROM_END
787796
788797ROM_START(p911uc) //*
r5295r5296
792801   ROM_LOAD("a00uac_nvram.u39", 0x000000, 0x2000,  NO_DUMP )
793802
794803   DISK_REGION( "ide" )
795   DISK_IMAGE( "a00c02", 0, SHA1(b268789416dbf8886118a634b911f0ee254970de) )
804   DISK_IMAGE( "a00uac02", 0, SHA1(b268789416dbf8886118a634b911f0ee254970de) )
796805ROM_END
797806
798807ROM_START(p911kc) //*
r5295r5296
812821   ROM_LOAD("a00eaa_nvram.u39", 0x000000, 0x2000,  NO_DUMP )
813822
814823   DISK_REGION( "ide" )
815   DISK_IMAGE( "a00a02", 0, SHA1(81565a2dce2e2b0a7927078a784354948af1f87c) )
824   DISK_IMAGE( "a00eaa02", 0, SHA1(81565a2dce2e2b0a7927078a784354948af1f87c) )
816825ROM_END
817826
818827ROM_START(p911j) //*
r5295r5296
822831   ROM_LOAD("a00jaa_nvram.u39", 0x000000, 0x2000, CRC(9ecf70dc) SHA1(4769a99b0cc28563e219860b8d480f32d1e21f60))
823832
824833   DISK_REGION( "ide" )
825   DISK_IMAGE( "a00c02", 0, SHA1(d962d3a8ea84c380767d0fe336296911c289c224) )
834   DISK_IMAGE( "a00jac02", 0, SHA1(d962d3a8ea84c380767d0fe336296911c289c224) )
826835ROM_END
827836
828837ROM_START(p9112) //*
src/mame/drivers/mpoker.c
r5295r5296
1/*
1/*********************************************************************************
22
3Merit Poker?
3  Merit Industries Multi-Poker (1981)
4  -----------------------------------
45
5*/
6  Driver by Angelo Salese, David Haywood & Roberto Fresca.
67
8  Maybe the first Merit videopoker.
9  The system has 4 different themed videopokers selectable through DIP switches:
10
11  * "The Frog Pond"
12  * "Pharaohs"
13  * "Wild Bulls"
14  * "The White Knight"
15
16**********************************************************************************
17
18  Hardware Notes:
19  ---------------
20
21  1x OSC = 18.000 MHz.
22  1x CPU = Zilog Z80 (Z0840006PSC / 9512 / 2K).
23  4x 74LS253N (multiplexers).
24  4x MM2114N-3 (4096-Bit Static RAM).
25  2x SCM5101E (256x4 Static RAM).
26
27  The PCB has a socket for two standard AA batteries
28
29
30  MAIN BOARD:
31   _________________________   ___________________   __________________________
32  |                         |_|||||||||||||||||||||_|                          |
33  |                                  J2                       -|4.7 Ohm 10% |- |
34  |                                                            |____________|  |
35  |                                                                            |
36  |         DSW (8)                 _|___|___|___|_               LM340K-5     |
37  |                                |   |   |   |   |              7805K        |
38  |                                | 4x4700uF 16V  |    KBL005                 |
39  |                                |   |   |   |   |     8137                  |
40  |                                |   |   |   |   |      AC                   |
41  |                                |___|___|___|___|                           |
42  |                                  |   |   |   |                             |
43  |                                                                            |
44  |    74LS253N  74LS253N 74LS253N 74LS253                                     |
45  |                                                _____________               |
46  |                                               | 4700uF 35V  |   MC7812CT   |
47  |                                              -|  Capacitor  |-             |
48  |                                               |_____________|              |
49  |                                                                            |
50  |                                                                            |
51  |                _____________________                                       |
52  |               |    B A T T E R Y    |                                -     |
53  |  _            |_____________________|                    74LS04N     -     |
54  | | |                                                                  - J1  |
55  | | |       74LS04N  74LS02N  74LS74N   74LS02N 74LS132N               -     |
56  | | |                                                                  -     |
57  | | |       74LS138N 74LS08N    7416N   74LS10N 74LS161N   74123N      -     |
58  | | |                                                                  -     |
59  | |J|       74LS00N  74LS11N  74LS161N 74LS157N 74LS161N    7416N            |
60  | |4|                                                                        |
61  | | |       74LS02N  74LS32N  74LS259N 74LS151N  74LS11N             LED     |
62  | | |                                                18.000 OSC              |
63  | | |                74LS367N 74LS161N 74LS161N  74LS04N    DM7404N          |
64  | | |                                                                        |
65  | | |        74LS245PC             _________     74LS74N    LM3302N          |
66  | | |                             | Z80 CPU |                                |
67  | | |        74LS245PC            |___U1____|   MM2114N-3  74LS174N 74LS166J |
68  | | |                                                                 _____  |
69  | |_|        74LS138N       74LS245PC 74LS245PC MM2114N-3  74LS157N  |_U68_| |
70  |                                                                            |
71  |            SCM5101E                 74LS245PC MM2114N-3  74LS174N   _____  |
72  |                             _____                                  |_U67_| |
73  |            SCM5101E        |_U18_|  74LS157N  MM2114N-3  74LS138N   _____  |
74  |     _____    _____          _____                                  |_U66_| |
75  |    |_U16_|  |_U13_|        |_U19_|  74LS157N             74LS161N          |
76  |     _____    _____          _____                                   _____  |
77  |    |_U15_|  |_U14_|        |_U17_|  74LS157N             74LS157N  |_U65_| |
78  |                                                                            |
79  |____________________________________________________________________________|
80
81
82  U13 = MLTI 0    U68 = CGM 0
83  U14 = MLTI 1    U67 = CGM 1
84  U15 = MLTI 2    U66 = CGM 2
85  U16 = MLTI 3    U65 = CGM 3
86  U17 = MLTI 4    U1 = Zilog Z0840006PSC Z80 CPU 9512 2K
87  U18 = MLTI 5
88
89  J4 = Conn to video I/O board
90  J1 = Jumpers bank? (see multiplexed port)
91
92
93  VIDEO I/O BOARD CRT810:
94                          ____________________
95   _______________________|||||||||||||||||||||______________________
96  |                                                                  |
97  |                                                          LM380N  |
98  |                                                                  |
99  |                                                          MC1455P |
100  |                                                                  |
101  |                                                                  |
102  | SW 7407-N    SW 7407-N    SW 7407-N    SW 7407-N                 |
103  | 21430 7301   21430 7301   21430 7301   21430 7301                |
104  |                                                                  |
105  | 74LS259N     74LS259N     74LS259N     74LS259N                  |
106  |                                                                  |
107  |________________                                  ________________|
108                   ||||||||||||||||||||||||||||||||||
109                   ---------------------------------
110                           To J4 on Main Board
111
112  LM380N = 2.5W Audio Power Amplifier.
113  MC1455P = Direct Replacement for NE555 Timers.
114
115  (Audio seems to be discrete).
116
117  4x 7407N (Buffer Gates Non-Inverting).
118  4x 74LS259N (8-Bit Addressable Latches).
119
120  4x 7301 (HDSP?)(RED Seven Segment Displays).
121
122  +---------+  Pin | Description
123  |    A    |  ----+------------
124  |   ---   |   01 | Anode (4).
125  | F|   |B |   02 | Cathode F.
126  |   -G-   |   03 | Cathode G.
127  | E|   |C |   04 | Cathode E.
128  |   ---   |   05 | Cathode D.
129  |    D .DP|   06 | Anode (4).
130  +---------+   07 | Cathode DP.
131                08 | Cathode C.
132                09 | Cathode B.
133                10 | Cathode A.
134
135
136**********************************************************************************
137
138  Dev Notes:
139  ----------
140
141  Additional work:
142
143  * Full Inputs.
144  * DIP Switches.
145  * Simulated spark-watchdog circuitery.
146  * Demuxed custom port.
147  * NVRAM support.
148  * CPU clock derived from #defined crystal.
149  * 8000-8007 Output ports.
150  * Coin related counters.
151  * Sound components and trigger found at 8000-8003, bit2.
152  * Full lamps support.
153  * PCBs layouts & technical notes.
154
155  Todo:
156
157  - Writes to offset 0x0158 (so many!)
158
159  - Still analyze 8000-8007 offset range remaining bits.
160    These writes sounds like a BCD valueset.
161    Maybe were intended formerly to send some data to 7seg display unit.
162
163  - Color system (no bipolar PROMs in the system)
164
165
166**********************************************************************************/
167
168#define MASTER_CLOCK   XTAL_18MHz
169
7170#include "driver.h"
8171#include "cpu/z80/z80.h"
172//#include "sound/dac.h"
173#include "mpoker.lh"
9174
175static UINT8 output[8];
176
10177static UINT8* mpoker_video;
11178
12179
r5295r5296
36203   return 0;
37204}
38205
39static READ8_HANDLER( test_r )
206static PALETTE_INIT( mpoker )   // WRONG... FIXME
40207{
41   return mame_rand(space->machine);
208   int i;
209
210   for (i = 0; i < 64; i++)
211   {
212      palette_set_color_rgb(machine, 2*i+0, pal1bit(i >> 2), pal1bit(i >> 0), pal1bit(i >> 1));
213      palette_set_color_rgb(machine, 2*i+1, pal1bit(i >> 5), pal1bit(i >> 3), pal1bit(i >> 4));
214   }
42215}
43216
217static READ8_HANDLER( mixport_r )
218{
219/*  - bits -
220    7654 3210
221    ---- ---x   Unknown.
222    ---- --x-   Spark-Watchdog...
223    ---- -x--   DIP Switch Bank #2.
224    ---- x---   DIP Switch Bank #2.
225    ---x ----   DIP Switch Bank #2.
226    xxx- ----   Unknown.
227
228    Spark-Watchdog... The system expect status changes on bit1, otherwise stop the hardware with an error message.
229    The line seems to be tied to a clock. We can't use XORed status due to the nested checks.
230    If you change the status *every* read, the HW stucks.
231*/
232   static int mixdata;
233
234   mixdata = (input_port_read(space->machine, "SW2") & 0xfd) | (mame_rand(space->machine) & 0x02);
235
236   return mixdata;
237}
238
239/***** Port 0158 *****
240
241    - bits -
242    7654 3210
243    ---- ---x   Unknown.
244    ---- --x-   Unknown.
245    ---- -x--   Unknown.
246    ---- x---   Unknown.
247    ---x ----   Unknown.
248    xxx- ----   Unknown.
249*/
250
251//static WRITE8_HANDLER( muxed_w )
252//{
253//  popmessage("written : %02X %02X %02X %02X %02X %02X %02X %02X", data & 0x01, data & 0x02, data & 0x04, data & 0x08, data & 0x10, data & 0x20, data & 0x40, data & 0x80);
254//}
255
256/***** Port 8000 *****
257
258    - bits -
259    7654 3210
260    ---- ---x   BET lamp.
261    ---- --x-   HOLD1 lamp.
262    ---- -x--   Sound component #1.
263    ---- x---   Unknown.
264    ---x ----   Unknown.
265    xxx- ----   Unknown.
266*/
267
268static WRITE8_HANDLER( outport0_w )
269{
270   output_set_lamp_value(1, (data & 1));         /* Lamp 1 - BET */
271   output_set_lamp_value(5, (data >> 1) & 1);      /* Lamp 5 - HOLD 1 */
272
273   output[0] = data;
274   popmessage("outport0 : %02X %02X %02X %02X %02X %02X %02X %02X", output[0], output[1], output[2], output[3], output[4], output[5], output[6], output[7]);
275}
276
277/***** Port 8001 *****
278
279    - bits -
280    7654 3210
281    ---- ---x   DEAL lamp.
282    ---- --x-   HOLD2 lamp.
283    ---- -x--   Sound component #2.
284    ---- x---   Unknown.
285    ---x ----   Unknown.
286    xxx- ----   Unknown.
287*/
288
289static WRITE8_HANDLER( outport1_w )
290{
291   output_set_lamp_value(2, (data & 1));         /* Lamp 2 - DEAL */
292   output_set_lamp_value(6, (data >> 1) & 1);      /* Lamp 6 - HOLD 2 */
293
294   output[1] = data;
295   popmessage("outport1 : %02X %02X %02X %02X %02X %02X %02X %02X", output[0], output[1], output[2], output[3], output[4], output[5], output[6], output[7]);
296}
297
298/***** Port 8002 *****
299
300    - bits -
301    7654 3210
302    ---- ---x   CANCEL lamp.
303    ---- --x-   HOLD3 lamp.
304    ---- -x--   Sound component #3.
305    ---- x---   Unknown.
306    ---x ----   Unknown.
307    xxx- ----   Unknown.
308*/
309
310static WRITE8_HANDLER( outport2_w )
311{
312   output_set_lamp_value(3, (data & 1));         /* Lamp 3 - CANCEL */
313   output_set_lamp_value(7, (data >> 1) & 1);      /* Lamp 7 - HOLD 3 */
314
315   output[2] = data;
316   popmessage("outport2 : %02X %02X %02X %02X %02X %02X %02X %02X", output[0], output[1], output[2], output[3], output[4], output[5], output[6], output[7]);
317}
318
319/***** Port 8003 *****
320
321    - bits -
322    7654 3210
323    ---- ---x   Unknown lamp.
324    ---- --x-   HOLD4 lamp.
325    ---- -x--   Sound trigger.
326    ---- x---   Unknown.
327    ---x ----   Unknown.
328    xxx- ----   Unknown.
329*/
330
331static WRITE8_HANDLER( outport3_w )
332{
333   output_set_lamp_value(4, (data & 1));         /* Lamp 4 - STAND */
334   output_set_lamp_value(8, (data >> 1) & 1);      /* Lamp 8 - HOLD 4 */
335
336   output[3] = data;
337   popmessage("outport3 : %02X %02X %02X %02X %02X %02X %02X %02X", output[0], output[1], output[2], output[3], output[4], output[5], output[6], output[7]);
338}
339
340/***** Port 8004 *****
341
342    - bits -
343    7654 3210
344    ---- ---x   Unknown.
345    ---- --x-   HOLD5 lamp.
346    ---- -x--   Unknown.
347    ---- x---   Unknown.
348    ---x ----   Unknown.
349    xxx- ----   Unknown.
350*/
351
352static WRITE8_HANDLER( outport4_w )
353{
354   output_set_lamp_value(9, (data >> 1) & 1);      /* Lamp 9 - HOLD 5 */
355
356   output[4] = data;
357   popmessage("outport4 : %02X %02X %02X %02X %02X %02X %02X %02X", output[0], output[1], output[2], output[3], output[4], output[5], output[6], output[7]);
358}
359
360/***** Port 8005 *****
361
362    - bits -
363    7654 3210
364    ---- ---x   Unknown.
365    ---- --x-   Unknown.
366    ---- -x--   Unknown.
367    ---- x---   Unknown.
368    ---x ----   Unknown.
369    xxx- ----   Unknown.
370*/
371
372static WRITE8_HANDLER( outport5_w )
373{
374   output[5] = data;
375   popmessage("outport5 : %02X %02X %02X %02X %02X %02X %02X %02X", output[0], output[1], output[2], output[3], output[4], output[5], output[6], output[7]);
376}
377
378/***** Port 8006 *****
379
380    - bits -
381    7654 3210
382    ---- ---x   Unknown.
383    ---- --x-   Payout pulse.
384    ---- -x--   Unknown.
385    ---- x---   Unknown.
386    ---x ----   Unknown.
387    xxx- ----   Unknown.
388*/
389
390static WRITE8_HANDLER( outport6_w )
391{
392   coin_counter_w(1, data & 0x02);   /* Payout pulse */
393
394   output[6] = data;
395   popmessage("outport6 : %02X %02X %02X %02X %02X %02X %02X %02X", output[0], output[1], output[2], output[3], output[4], output[5], output[6], output[7]);
396}
397
398/***** Port 8007 *****
399
400    - bits -
401    7654 3210
402    ---- ---x   Unknown.
403    ---- --x-   Coin pulse.
404    ---- -x--   Unknown.
405    ---- x---   Unknown.
406    ---x ----   Unknown.
407    xxx- ----   Unknown.
408*/
409
410static WRITE8_HANDLER( outport7_w )
411{
412   coin_counter_w(0, data & 0x02);   /* Coin pulse */
413
414   output[7] = data;
415   popmessage("outport7 : %02X %02X %02X %02X %02X %02X %02X %02X", output[0], output[1], output[2], output[3], output[4], output[5], output[6], output[7]);
416}
417
418
419/********  Discrete Sound  ********
420
421  There are 3 components plus a trigger:
422
423  Component #1 = $8000, bit2.
424  Component #2 = $8001, bit2.
425  Component #3 = $8002, bit2.
426
427  Trigger = $8003, bit2.
428
429  All bits are inverted.
430
431
432  Sound | 8000 | 8001 | 8002 | 8003
433  ------+------+------+------+-----
434   01   | bit2 | bit2 | bit2 | bit2
435   02   | ---- | bit2 | bit2 | bit2
436   03   | bit2 | ---- | bit2 | bit2
437   04   | bit2 | bit2 | ---- | bit2
438   05   | ---- | ---- | ---- | bit2
439
440
441//static WRITE8_HANDLER( sound_w )
442//{
443//  dac_data_w(devtag_get_device(space->machine, "dac"), data);
444//}
445*/
446
44447static ADDRESS_MAP_START( main_map, ADDRESS_SPACE_PROGRAM, 8 )
45448   AM_RANGE(0x0000, 0x2fff) AM_ROM
46   AM_RANGE(0x3800, 0x3fff) AM_RAM
47   AM_RANGE(0x4000, 0x47ff) AM_RAM AM_BASE(&mpoker_video)
48   AM_RANGE(0x8000, 0x8000) AM_READ_PORT("IN0")
49   AM_RANGE(0x8001, 0x8001) AM_READ(test_r)
449//  AM_RANGE(0x0158, 0x0158) AM_WRITE (muxed_w)
450   AM_RANGE(0x3800, 0x38ff) AM_RAM AM_BASE(&generic_nvram) AM_SIZE(&generic_nvram_size)   /* NVRAM = 2x SCM5101E */
451   AM_RANGE(0x4000, 0x47ff) AM_RAM AM_BASE(&mpoker_video)   /* 4x MM2114N-3 */
452   AM_RANGE(0x8000, 0x8000) AM_READ_PORT("SW1")
453   AM_RANGE(0x8001, 0x8001) AM_READ (mixport_r) /* DIP switch bank 2 + a sort of watchdog */
50454   AM_RANGE(0x8002, 0x8002) AM_READ_PORT("IN1")
51455   AM_RANGE(0x8003, 0x8003) AM_READ_PORT("IN2")
52//  AM_RANGE(0x8004, 0x8004) AM_READ(test_r)
53//  AM_RANGE(0x8005, 0x8005) AM_READ(test_r)
54//  AM_RANGE(0x8006, 0x8006) AM_READ(test_r)
55//  AM_RANGE(0x8007, 0x8007) AM_READ(test_r)
456   AM_RANGE(0x8000, 0x8000) AM_WRITE (outport0_w)
457   AM_RANGE(0x8001, 0x8001) AM_WRITE (outport1_w)
458   AM_RANGE(0x8002, 0x8002) AM_WRITE (outport2_w)
459   AM_RANGE(0x8003, 0x8003) AM_WRITE (outport3_w)
460   AM_RANGE(0x8004, 0x8004) AM_WRITE (outport4_w)
461   AM_RANGE(0x8005, 0x8005) AM_WRITE (outport5_w)
462   AM_RANGE(0x8006, 0x8006) AM_WRITE (outport6_w)
463   AM_RANGE(0x8007, 0x8007) AM_WRITE (outport7_w)
464
56465ADDRESS_MAP_END
57466
58467static INPUT_PORTS_START( mpoker )
59   PORT_START("IN0")
60   PORT_DIPNAME( 0x01, 0x01, "IN0" )
61   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
62   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
63   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
64   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
65   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
66   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
67   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
68   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
69   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
70   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
71   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
72   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
73   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
74   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
75   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
76   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
77   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
78   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
79   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
80   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
81   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
82   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
83   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
468
84469   PORT_START("IN1")
85   PORT_DIPNAME( 0x01, 0x01, "IN1" )
86   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
87   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
88   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
89   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
90   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
91   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
92   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
93   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
94   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
95   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
96   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
97   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
98   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
99   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
100   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
101   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
102   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
103   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
104   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
105   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
106   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
107   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
108   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
470   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_1) PORT_NAME("Bet")
471   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_2) PORT_NAME("Deal/Draw")
472   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_N) PORT_NAME("Cancel Discards")
473   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_M) PORT_NAME("Stand (Hold all Cards)")
474   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_Z) PORT_NAME("Discard 1")
475   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_X) PORT_NAME("Discard 2")
476   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_CODE(KEYCODE_C) PORT_NAME("Discard 3")
477   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_CODE(KEYCODE_V) PORT_NAME("Discard 4")
478
109479   PORT_START("IN2")
110   PORT_DIPNAME( 0x01, 0x01, "IN2" )
480   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_CODE(KEYCODE_B) PORT_NAME("Discard 5")
481   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_9) PORT_NAME("Stats")
482   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_Q) PORT_NAME("Payout")
483   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(2)
484   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_IMPULSE(2)
485   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_0) PORT_NAME("Settings")
486   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
487   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
488
489   PORT_START("SW1")
490   PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Coin_A ) )
491   PORT_DIPSETTING(    0x00, "20 Coins/1 Credit" )
492   PORT_DIPSETTING(    0x01, "10 Coins/1 Credit" )
493   PORT_DIPSETTING(    0x02, DEF_STR( 8C_1C ) )
494   PORT_DIPSETTING(    0x03, DEF_STR( 5C_1C ) )
495   PORT_DIPSETTING(    0x04, DEF_STR( 4C_1C ) )
496   PORT_DIPSETTING(    0x05, "5 Coins/2 Credits" )
497   PORT_DIPSETTING(    0x06, DEF_STR( 2C_1C ) )
498//  PORT_DIPSETTING(    0x07, DEF_STR( 1C_1C ) ) --> damn check... you can't set 2 different bits pointing to the same coinage.
499   PORT_DIPSETTING(    0x0f, DEF_STR( 1C_1C ) )
500   PORT_DIPSETTING(    0x0e, DEF_STR( 1C_2C ) )
501   PORT_DIPSETTING(    0x0d, DEF_STR( 2C_5C ) )
502   PORT_DIPSETTING(    0x0c, DEF_STR( 1C_4C ) )
503   PORT_DIPSETTING(    0x0b, DEF_STR( 1C_5C ) )
504   PORT_DIPSETTING(    0x0a, DEF_STR( 1C_8C ) )
505   PORT_DIPSETTING(    0x09, "1 Coin/10 Credits" )
506   PORT_DIPSETTING(    0x08, "1 Coin/20 Credits" )
507   PORT_DIPNAME( 0x30, 0x30, "Game Select" )
508   PORT_DIPSETTING(    0x00, "The White Knight" )
509   PORT_DIPSETTING(    0x10, "Wild Bulls" )
510   PORT_DIPSETTING(    0x20, "Pharaohs" )
511   PORT_DIPSETTING(    0x30, "The Frog Pond" )
512   PORT_DIPNAME( 0xc0, 0xc0, "Maximun Bet" )
513   PORT_DIPSETTING(    0x40, "1" )
514   PORT_DIPSETTING(    0xc0, "10" )
515   PORT_DIPSETTING(    0x80, "20" )
516   PORT_DIPSETTING(    0x00, "50" )
517
518   PORT_START("SW2")
519   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
111520   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
112521   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
113   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
114   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
115   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
116   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
117   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
118   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
119   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
120   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
121   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
122   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
123   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
124   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
522   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER )      /* bit1 connected to a signal heartbeat */
523   PORT_DIPNAME( 0x1c, 0x1c, "Main Percentage" )
524   PORT_DIPSETTING(    0x18, "75%" )
525   PORT_DIPSETTING(    0x14, "80%" )
526   PORT_DIPSETTING(    0x00, "85%" )
527   PORT_DIPSETTING(    0x0c, "90%" )
125528   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
126529   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
127530   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
r5295r5296
131534   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
132535   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
133536   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
537
134538INPUT_PORTS_END
135539
136540
r5295r5296
152556
153557static MACHINE_DRIVER_START( mpoker )
154558   /* basic machine hardware */
155   MDRV_CPU_ADD("maincpu", Z80,4000000)       /* ? MHz */
559   MDRV_CPU_ADD("maincpu", Z80,MASTER_CLOCK/6)       /* 3 MHz? */
156560   MDRV_CPU_PROGRAM_MAP(main_map)
157561   MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
158562
563   MDRV_NVRAM_HANDLER(generic_0fill)
564
159565   /* video hardware */
160566   MDRV_SCREEN_ADD("screen", RASTER)
161567   MDRV_SCREEN_REFRESH_RATE(60)
r5295r5296
165571   MDRV_SCREEN_VISIBLE_AREA(0, 512-1, 0, 256-1)
166572
167573   MDRV_GFXDECODE(mpoker)
168   MDRV_PALETTE_LENGTH(0x100)
574   MDRV_PALETTE_LENGTH(2*64)
169575
576   MDRV_PALETTE_INIT(mpoker)
170577   MDRV_VIDEO_START(mpoker)
171578   MDRV_VIDEO_UPDATE(mpoker)
579
580   /* sound hardware */
581//  MDRV_SPEAKER_STANDARD_MONO("mono")
582//  MDRV_SOUND_ADD("dac", DAC, 0)
583//  MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
172584MACHINE_DRIVER_END
173585
174586ROM_START( mpoker )
r5295r5296
187599   ROM_LOAD( "u65_cgm3_mk2716j.bin", 0x1800, 0x0800, CRC(d61ae9d1) SHA1(219123518999fc925397db4f442ac444dfddffbe) )
188600ROM_END
189601
190GAME( 1983, mpoker,  0,    mpoker, mpoker,  0, ROT0, "Merit", "Merit Poker", GAME_NOT_WORKING|GAME_NO_SOUND )
602
603/*************************
604*      Game Drivers      *
605*************************/
606
607/*     YEAR  NAME      PARENT  MACHINE   INPUT     INIT   ROT    COMPANY             FULLNAME      FLAGS...                           LAYOUT  */
608GAMEL( 1981, mpoker,   0,      mpoker,   mpoker,   0,     ROT0, "Merit Industries", "Multi-Poker", GAME_WRONG_COLORS | GAME_NO_SOUND, layout_mpoker )
src/mame/drivers/cischeat.c
r5295r5296
17131713{
17141714   switch ( cpu_getiloops(device) )
17151715   {
1716      case 0:      cpu_set_input_line(device, 3, HOLD_LINE);   // update palette, layers etc. Not the sprites.
1717      case 14:   cpu_set_input_line(device, 2, HOLD_LINE);   // "real" vblank. It just sets a flag that
1718                                          // the main loop polls before updating the sprites.
1716      case 0:      cpu_set_input_line(device, 3, HOLD_LINE); break;   // update palette, layers etc. Not the sprites.
1717      case 14:   cpu_set_input_line(device, 2, HOLD_LINE); break;   // "real" vblank. It just sets a flag that
1718                                 // the main loop polls before updating the sprites.
1719      default: break;
17191720   }
17201721}
17211722
r5295r5296
17661767{
17671768   switch ( cpu_getiloops(device) )
17681769   {
1769      case 0:      cpu_set_input_line(device, 4, HOLD_LINE);
1770      case 14:   cpu_set_input_line(device, 2, HOLD_LINE);
1770      case 0:      cpu_set_input_line(device, 4, HOLD_LINE); break;
1771      case 14:   cpu_set_input_line(device, 2, HOLD_LINE); break;
1772
1773      default: break;
17711774   }
17721775}
17731776
src/mame/drivers/naomi.c
r5295r5296
20262026   ROM_LOAD("mpr-22118.ic19",0x9800000, 0x0800000, CRC(8d631cbf) SHA1(fe8a65d35b1cdaed650ddde931e59f0768ffff53) )
20272027   ROM_LOAD("mpr-22119.ic20",0xa000000, 0x0800000, CRC(d608fa86) SHA1(54c8107cccec8cbb536f13cda5b220b7972190b7) )
20282028   ROM_LOAD("mpr-22120.ic21",0xa800000, 0x0800000, CRC(a30facb4) SHA1(70415ca34095c795297486bce1f956f6a8d4817f) )
2029
2030   // on-cart X76F100 eeprom contents
2031   ROM_REGION( 0x100, "naomibd_eeprom", ROMREGION_ERASE00 )
2032   ROM_LOAD( "841-0003.sf",  0x000000, 0x000084, CRC(3a119a17) SHA1(d37a092cca7c9cfc5f2637b355af90a65d04013e) )
2033
2034   // trojaned protection data (filename is word offset)
2035   ROM_REGION( 0x200000, "naomibd_prot", ROMREGION_ERASE00 )
2036        ROM_LOAD( "00000500.bin", 0x000000, 0x020000, CRC(3751d50e) SHA1(08d56e7befd3e1bc2c29217c60dee0c862af65ed) )
2037        ROM_LOAD( "00020504.bin", 0x020000, 0x020000, CRC(6b4ab9f6) SHA1(205c355a5a55659f35645d3e66dc1dcff703727c) )
2038        ROM_LOAD( "00040508.bin", 0x040000, 0x020000, CRC(dae5d37d) SHA1(63d0cde73b86e77ea7b5e1d71643566c500f9933) )
2039        ROM_LOAD( "0006050c.bin", 0x060000, 0x020000, CRC(c2b7ea51) SHA1(59f1cb01b140e7fdea7d945acad464e08e3adf44) )
2040        ROM_LOAD( "00080510.bin", 0x080000, 0x020000, CRC(7b84acb4) SHA1(e48448795c058c0fc3a9e9108de18a3181db5417) )
2041        ROM_LOAD( "000a0514.bin", 0x0a0000, 0x020000, CRC(f954ffcd) SHA1(3015dfc298de1e16db07406e9ecb5fc0e2aae0a8) )
2042        ROM_LOAD( "000c0518.bin", 0x0c0000, 0x020000, CRC(28fce8ad) SHA1(180ae2dc9181bbe4215093e4e933c9e78d3af7a8) )
2043        ROM_LOAD( "000e051c.bin", 0x0e0000, 0x020000, CRC(a7f7a5c1) SHA1(6b39aa8f8a762ffe61b07f77713cca5c95a8dfcf) )
2044        ROM_LOAD( "00100520.bin", 0x100000, 0x020000, CRC(85417674) SHA1(0d35aa0f3d5f451bbf4daad343b9ad1ebd9d9551) )
2045        ROM_LOAD( "00118a3a.bin", 0x120000, 0x020000, CRC(72e58444) SHA1(09ae85c131f7b4a0638efd1dff0807cc20b59637) )
2046        ROM_LOAD( "0012c0d8.bin", 0x140000, 0x020000, CRC(84e8e517) SHA1(f1e81913181b9c6276a430988fefc00597e33e89) )
2047        ROM_LOAD( "00147e22.bin", 0x160000, 0x020000, CRC(66efd53e) SHA1(40cfc20df93f9ec1f260fc3f56bb5ac0be775cc6) )
2048        ROM_LOAD( "001645ce.bin", 0x180000, 0x020000, CRC(adc73d19) SHA1(4df4bd7db6bf2f9af06d9d3ec9466970bec7833c) )
2049        ROM_LOAD( "0017c6b2.bin", 0x1a0000, 0x020000, CRC(717f2e91) SHA1(e03d778a1c39cf01827f79a1b10c03a4a6047962) )
2050        ROM_LOAD( "0019902e.bin", 0x1c0000, 0x020000, CRC(f4882ea8) SHA1(a27e52062780e095675f749191e0ea22755152eb) )
2051        ROM_LOAD( "001b562a.bin", 0x1e0000, 0x013e00, CRC(01ae0721) SHA1(b9f24e0bb8609b8cb1a45e7c1e1dc1f271bbdcaf) )
20292052ROM_END
20302053
20312054/*
r5295r5296
20912114   ROM_LOAD("mpr-22118.ic19",0x9800000, 0x0800000, CRC(8d631cbf) SHA1(fe8a65d35b1cdaed650ddde931e59f0768ffff53) )
20922115   ROM_LOAD("mpr-22119.ic20",0xa000000, 0x0800000, CRC(d608fa86) SHA1(54c8107cccec8cbb536f13cda5b220b7972190b7) )
20932116   ROM_LOAD("mpr-22120.ic21",0xa800000, 0x0800000, CRC(a30facb4) SHA1(70415ca34095c795297486bce1f956f6a8d4817f) )
2117
2118   // on-cart X76F100 eeprom contents
2119   ROM_REGION( 0x100, "naomibd_eeprom", ROMREGION_ERASE00 )
2120   ROM_LOAD( "841-0003.sf",  0x000000, 0x000084, CRC(3a119a17) SHA1(d37a092cca7c9cfc5f2637b355af90a65d04013e) )
2121
2122   // trojaned protection data (filename is word offset)
2123   ROM_REGION( 0x200000, "naomibd_prot", ROMREGION_ERASE00 )
2124        ROM_LOAD( "00000500.bin", 0x000000, 0x020000, CRC(a42f0337) SHA1(0aaeff753a4e2f9b5d287cd80952533f0ced430c) )
2125        ROM_LOAD( "00020504.bin", 0x020000, 0x020000, CRC(3d3bfbe4) SHA1(4748ca4c14a31da623ebd3a1acff93635c039888) )
2126        ROM_LOAD( "00040508.bin", 0x040000, 0x020000, CRC(d0c3699c) SHA1(11a4e8b47cb6ae827307cd44689477ebfe23d690) )
2127        ROM_LOAD( "0006050c.bin", 0x060000, 0x020000, CRC(bc2e8e71) SHA1(253561a58caf15607d87d932d9b98d6ffa779669) )
2128        ROM_LOAD( "00080510.bin", 0x080000, 0x020000, CRC(a26a6159) SHA1(8e4f0a2091b5b2eb825bb9220c5e4dfe9ab935fe) )
2129        ROM_LOAD( "000a0514.bin", 0x0a0000, 0x020000, CRC(83138b3b) SHA1(6b69e43b6e6c4b75278045a883337cb7abcf9501) )
2130        ROM_LOAD( "000c0518.bin", 0x0c0000, 0x020000, CRC(9f246058) SHA1(bc54f3bdc23a278b14867e096c3f644447b9c0a6) )
2131        ROM_LOAD( "000e051c.bin", 0x0e0000, 0x020000, CRC(7cfd53d5) SHA1(d77ff8d3edbc2d41334d6416d17339ea2c764887) )
2132        ROM_LOAD( "00100520.bin", 0x100000, 0x020000, CRC(8dd856d3) SHA1(9952fdf9017bdb8c50b413de5817a746c24901e9) )
2133        ROM_LOAD( "0011a5b4.bin", 0x120000, 0x020000, CRC(484c511d) SHA1(02c8c1b46ce8a27b85652d3f032f4f42be5341ba) )
2134        ROM_LOAD( "0012e7c4.bin", 0x140000, 0x020000, CRC(ceffdd4b) SHA1(36dfa9fd4857429cf9b505d04d7a82d3bc161b90) )
2135        ROM_LOAD( "001471f6.bin", 0x160000, 0x020000, CRC(263d0706) SHA1(194e259b78d3006372ad007a7e3b9456f607b922) )
2136        ROM_LOAD( "001640c4.bin", 0x180000, 0x020000, CRC(3addb31e) SHA1(97794166b0811ff9535b3a3f598e0cb3da9fc7b3) )
2137        ROM_LOAD( "001806ca.bin", 0x1a0000, 0x020000, CRC(dbfddad2) SHA1(72696b5ed942fe3ef0bc271f6d66d5f089221192) )
2138        ROM_LOAD( "00199df4.bin", 0x1c0000, 0x020000, CRC(2ab0d0c3) SHA1(10642e9d8c9c24f366359fbe7890a0f1347a7a1a) )
2139        ROM_LOAD( "001b5d0a.bin", 0x1e0000, 0x017e00, CRC(c9c3bbd5) SHA1(6f3853e3e1614993b5d658ebec6bf5183577ab36) )
20942140ROM_END
20952141
20962142/*
src/mame/drivers/vsnes.c
r5295r5296
24962496/*    YEAR  NAME      PARENT    MACHINE  INPUT     INIT        MONITOR  */
24972497GAME( 1985, btlecity, 0,        vsnes,   btlecity, btlecity, ROT0, "Namco",     "Vs. Battle City", 0 )
24982498GAME( 1985, starlstr, 0,        vsnes,   starlstr, vsnormal, ROT0, "Namco",     "Vs. Star Luster", 0 )
2499GAME( 1987,   cstlevna, 0,        vsnes,   cstlevna, cstlevna, ROT0, "Konami",    "Vs. Castlevania", 0 )
2499GAME( 1987, cstlevna, 0,        vsnes,   cstlevna, cstlevna, ROT0, "Konami",    "Vs. Castlevania", 0 )
25002500GAME( 1984, cluclu,   0,        vsnes,   cluclu,   suprmrio, ROT0, "Nintendo",  "Vs. Clu Clu Land", 0 )
2501GAME( 1990,   drmario,  0,        vsnes,   drmario,  drmario,  ROT0, "Nintendo",  "Vs. Dr. Mario", 0 )
2501GAME( 1990, drmario,  0,        vsnes,   drmario,  drmario,  ROT0, "Nintendo",  "Vs. Dr. Mario", 0 )
25022502GAME( 1985, duckhunt, 0,        vsnes,   duckhunt, duckhunt, ROT0, "Nintendo",  "Vs. Duck Hunt", 0 )
25032503GAME( 1984, excitebk, 0,        vsnes,   excitebk, excitebk, ROT0, "Nintendo",  "Vs. Excitebike", 0 )
25042504GAME( 1984, excitbkj, excitebk, vsnes,   excitebk, excitbkj, ROT0, "Nintendo",  "Vs. Excitebike (Japan)", 0 )
2505GAME( 1986,   goonies,  0,        vsnes,   goonies,  goonies,  ROT0, "Konami",    "Vs. The Goonies", 0 )
2505GAME( 1986, goonies,  0,        vsnes,   goonies,  goonies,  ROT0, "Konami",    "Vs. The Goonies", 0 )
25062506GAME( 1985, hogalley, 0,        vsnes,   hogalley, hogalley, ROT0, "Nintendo",  "Vs. Hogan's Alley", 0 )
25072507GAME( 1984, iceclimb, 0,        vsnes,   iceclimb, suprmrio, ROT0, "Nintendo",  "Vs. Ice Climber", 0 )
25082508GAME( 1984, iceclmbj, iceclimb, vsnes,   iceclmbj, suprmrio, ROT0, "Nintendo",  "Vs. Ice Climber (Japan)", 0 )
25092509GAME( 1985, machridr, 0,        vsnes,   machridr, machridr, ROT0, "Nintendo",  "Vs. Mach Rider (Endurance Course Version)", GAME_IMPERFECT_GRAPHICS )
25102510GAME( 1985, machridj, machridr, vsnes,   machridj, vspinbal, ROT0, "Nintendo",  "Vs. Mach Rider (Japan, Fighting Course Version)", GAME_IMPERFECT_GRAPHICS )
25112511GAME( 1986, rbibb,    0,        vsnes,   rbibb,    rbibb,    ROT0, "Namco",     "Vs. Atari R.B.I. Baseball (set 1)", 0 )
2512GAME( 1986, rbibba,     rbibb,    vsnes,   rbibb,    rbibb,    ROT0, "Namco",     "Vs. Atari R.B.I. Baseball (set 2)", 0 )
2512GAME( 1986, rbibba,   rbibb,    vsnes,   rbibb,    rbibb,    ROT0, "Namco",     "Vs. Atari R.B.I. Baseball (set 2)", 0 )
25132513GAME( 1986, suprmrio, 0,        vsnes,   suprmrio, suprmrio, ROT0, "Nintendo",  "Vs. Super Mario Bros.", 0 )
25142514GAME( 1986, suprmria, suprmrio, vsnes,   suprmrio, suprmrio, ROT0, "Nintendo",  "Vs. Super Mario Bros. (alt)", 0 )
25152515GAME( 1988, skatekds, suprmrio, vsnes,   suprmrio, suprmrio, ROT0, "hack",      "Vs. Skate Kids. (Graphic hack of Super Mario Bros.)", 0 )
2516GAME( 1985, vsskykid, 0,        vsnes,   vsskykid, MMC3,    ROT0, "Namco",     "Vs. Super SkyKid" , 0 )
2516GAME( 1985, vsskykid, 0,        vsnes,   vsskykid, MMC3,    ROT0, "Namco",     "Vs. Super SkyKid" , 0 )
25172517GAME( 1987, tkoboxng, 0,        vsnes,   tkoboxng, tkoboxng, ROT0, "Namco LTD.","Vs. TKO Boxing", GAME_WRONG_COLORS | GAME_IMPERFECT_GRAPHICS )
25182518GAME( 1984, smgolf,   0,        vsnes,   golf4s,   machridr, ROT0, "Nintendo",  "Vs. Stroke & Match Golf (Men Version, set 1)", 0 )
25192519GAME( 1984, smgolfj,  smgolf,   vsnes,   golf,     vsnormal, ROT0, "Nintendo",  "Vs. Stroke & Match Golf (Men Version) (Japan)", 0 )
r5295r5296
25302530GAME( 1987, topgun,   0,        vsnes,   topgun,   topgun,   ROT0, "Konami",    "Vs. Top Gun", 0)
25312531GAME( 1985, bnglngby, 0,        vsnes,   bnglngby, bnglngby, ROT0, "Nintendo / Broderbund Software Inc.",  "Vs. Raid on Bungeling Bay (Japan)", 0 )
25322532GAME( 1986, supxevs,  0,        vsnes,   supxevs,  supxevs,  ROT0, "Namco",      "Vs. Super Xevious", 0 )
2533GAME( 1988, vsfdf,    0,        vsnes,   vsfdf,    vsfdf,    ROT0, "Sunsoft",   "Vs. Freedom Force", 0 )
2533GAME( 1988, vsfdf,    0,        vsnes,   vsfdf,    vsfdf,    ROT0, "Sunsoft",   "Vs. Freedom Force", 0 )
25342534GAME( 1986, vsgshoe,  0,        vsnes,   vsgshoe,  vsgshoe,  ROT0, "Nintendo",  "Vs. Gumshoe", 0 )
25352535
25362536/* Dual games */
src/mame/drivers/toypop.c
r5295r5296
352352   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
353353
354354   PORT_START("DSW1")   /* 56XX #1 pins 22-29 */
355   /* default setting: all OFF */
355356   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) ) PORT_DIPLOCATION("SWA:8,7")
356357   PORT_DIPSETTING(    0x02, "1" )
357358   PORT_DIPSETTING(    0x00, "2" )
358359   PORT_DIPSETTING(    0x03, "3" )
359360   PORT_DIPSETTING(    0x01, "5" )
361   PORT_DIPNAME( 0x1c, 0x1c, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SWA:6,5,4")
360362   // bonus scores for common
361363   PORT_DIPSETTING(    0x1c, "40k 120k 200k 400k 600k 1m" )
362364   PORT_DIPSETTING(    0x0c, "40k 140k 250k 400k 700k 1m" )
r5295r5296
449451   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )
450452
451453   PORT_START("DSW1")   /* 56XX #1 pins 22-29 */
454   /* default setting: all OFF */
452455   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) ) PORT_DIPLOCATION("SWA:8,7")
453456   PORT_DIPSETTING(    0x02, "1" )
454457   PORT_DIPSETTING(    0x01, "2" )
r5295r5296
479482   PORT_DIPNAME( 0x04, 0x04, "2 Players Game" ) PORT_DIPLOCATION("SWB:6")
480483   PORT_DIPSETTING(    0x00, "1 Credit" )
481484   PORT_DIPSETTING(    0x04, "2 Credits" )
482   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) )
485   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SWB:5")
483486   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
484487   PORT_DIPSETTING(    0x08, DEF_STR( On ) )
485488   PORT_DIPNAME( 0x10, 0x10, "Entering" ) PORT_DIPLOCATION("SWB:4")   // buy in
src/mame/drivers/gottlieb.c
r5295r5296
24262426   ROM_LOAD( "bh06",   0xc000, 0x2000, CRC(ab6c7cf1) SHA1(3625f2e00a333552036bff99af25edeac5915d78) )
24272427
24282428   DISK_REGION( "laserdisc" )
2429   DISK_IMAGE_READONLY( "cobracom", 0, SHA1(8390498294aca97a5d1769032e7b115d1a42f5d3) )
2429   DISK_IMAGE_READONLY( "cobra", 0, SHA1(8390498294aca97a5d1769032e7b115d1a42f5d3) )
24302430ROM_END
24312431
24322432
r5295r5296
26052605/* games using rev 2 sound board */
26062606GAME( 1983, screwloo, 0,        screwloo,  screwloo, screwloo, ROT0,   "Mylstar", "Screw Loose (prototype)", 0 )
26072607GAME( 1983, mach3,    0,        g2laser,   mach3,    romtiles, ROT0,   "Mylstar", "M.A.C.H. 3", 0 )
2608GAME( 1984, cobram3,  0,        g2laser,   mach3,    romtiles, ROT0,   "Data East","Cobra Command (M.A.C.H. 3 hardware)", 0 )
2608GAME( 1984, cobram3,  cobra,    g2laser,   mach3,    romtiles, ROT0,   "Data East","Cobra Command (M.A.C.H. 3 hardware)", 0 )
26092609GAME( 1984, usvsthem, 0,        g2laser,   usvsthem, romtiles, ROT0,   "Mylstar", "Us vs. Them", 0 )
26102610GAME( 1984, 3stooges, 0,        gottlieb2, 3stooges, stooges,  ROT0,   "Mylstar", "The Three Stooges In Brides Is Brides", 0 )
26112611GAME( 1984, vidvince, 0,        gottlieb2, vidvince, vidvince, ROT0,   "Mylstar", "Video Vince and the Game Factory (prototype)", GAME_IMPERFECT_GRAPHICS ) // sprite wrapping issues
src/mame/drivers/cliffhgr.c
r5295r5296
199199   /* if we have a valid code, trigger an IRQ */
200200   if (phillips_code & 0x800000)
201201   {
202      printf("%2d:code = %06X\n", param, phillips_code);
202//      printf("%2d:code = %06X\n", param, phillips_code);
203203      cputag_set_input_line(machine, "maincpu", 0, ASSERT_LINE);
204204   }
205205
r5295r5296
278278   PORT_DIPNAME( 0x10, 0x00, "Display Score and Lives During Animation" )   PORT_DIPLOCATION("E11:5")
279279   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
280280   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
281   PORT_DIPNAME( 0x08, 0x08, "Regular Length Scenes" )   PORT_DIPLOCATION("E11:4")
281   PORT_DIPNAME( 0x08, 0x00, "Regular Length Scenes" )   PORT_DIPLOCATION("E11:4")
282282   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
283283   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
284284   PORT_DIPNAME( 0x04, 0x04, "No Hanging Scene" )      PORT_DIPLOCATION("E11:3")
r5295r5296
747747   ROM_LOAD( "cliff_alt_3.bin",   0x6000, 0x2000, CRC(54cdb4a1) SHA1(6b1d73aec029af4a88ca2f883b4ed706d153592d) )
748748
749749   DISK_REGION( "laserdisc" )
750   DISK_IMAGE_READONLY( "cliffhgr", 0, NO_DUMP )
750   DISK_IMAGE_READONLY( "cliffhgr", 0, SHA1(4442995c824d7891a2a19c607bb3301d696fbdc8) )
751751ROM_END
752752
753753ROM_START( goaltogo )
src/mame/drivers/multfish.c
r5295r5296
12191219GAME(   2002, mfish_10, mfish,    multfish, multfish,  0, ROT0, "Igro", "Multi Fish (031117)",  0 )
12201220GAME(   2002, mfish_11, mfish,    multfish, multfish,  0, ROT0, "Igro", "Multi Fish (031124)",  0 )
12211221GAME(   2002, mfish_12, mfish,    multfish, multfish,  0, ROT0, "Igro", "Multi Fish (040308, set 1)",  0 )
1222GAME(   2002, mfish_12a mfish,    multfish, multfish,  0, ROT0, "Igro", "Multi Fish (040308, set 2, hack?)",  0 )
1222GAME(   2002, mfish_12a,mfish,    multfish, multfish,  0, ROT0, "Igro", "Multi Fish (040308, set 2, hack?)",  0 )
12231223GAME(   2002, mfish_13, mfish,    multfish, multfish,  0, ROT0, "Igro", "Multi Fish (040316)",  0 )
12241224
12251225#else /* Multifish sets for which SHA1 information is available */
src/mame/drivers/tmmjprd.c
r5295r5296
210210               dat = (rom[(tileaddr*32)+count] & 0xff);
211211               if (dat!=255)
212212               {
213                  dat += (colour<<8);
213                  dat += (colour<<8) & 0xf00;
214214                  dst = BITMAP_ADDR16(bitmap, drawy, drawx);
215215                  dst[0] = dat;
216216               }
r5295r5296
698698//  GFXDECODE_ENTRY( "gfx1", 0, tmmjprd_sprite_8x8x4_layout,   0x0, 0x1000  )
699699//  GFXDECODE_ENTRY( "gfx1", 0, rabbit_sprite_16x16x4_layout, 0x0, 0x1000  )
700700//  GFXDECODE_ENTRY( "gfx1", 0, tmmjprd_sprite_8x8x8_layout,   0x0, 0x1000  )
701   GFXDECODE_ENTRY( "gfx1", 0, rabbit_sprite_16x16x8_layout, 0x0, 0x1000  )
701   GFXDECODE_ENTRY( "gfx1", 0, rabbit_sprite_16x16x8_layout, 0x0, 0x10  )
702702GFXDECODE_END
703703
704704
src/mame/drivers/sfkick.c
r5295r5296
293293   }
294294}
295295
296
297
296298static ADDRESS_MAP_START( sfkick_map, ADDRESS_SPACE_PROGRAM, 8)
297299   AM_RANGE( 0x0000, 0x1fff) AM_ROMBANK(1)
298300   AM_RANGE( 0x2000, 0x3fff) AM_ROMBANK(2)
r5295r5296
317319   AM_RANGE( 0x9a, 0x9a) AM_WRITE( v9938_0_palette_w )
318320   AM_RANGE( 0x9b, 0x9b) AM_WRITE( v9938_0_register_w )
319321   AM_RANGE( 0xa8, 0xab) AM_DEVREADWRITE("ppi8255", ppi8255_r, ppi8255_w)
322   AM_RANGE( 0xb4, 0xb5) AM_RAM /* loopback ? req by sfkicka (MSX Bios leftover)*/
320323ADDRESS_MAP_END
321324
322325static ADDRESS_MAP_START( sfkick_sound_map, ADDRESS_SPACE_PROGRAM, 8 )
r5295r5296
500503   main_mem=auto_alloc_array(machine, UINT8, 0x4000);
501504}
502505
506
507
508
503509ROM_START( sfkick )
504510   ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
505511
r5295r5296
523529ROM_END
524530
525531
532ROM_START( sfkicka )
533   ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
534
535   ROM_REGION(0x20000,  "banked", ROMREGION_ERASEFF)
536   ROM_LOAD( "c145.bin", 0x00000, 0x8000, CRC(1dcaec5e) SHA1(7e063d46fb6606df2d772866cc55f207035b98c4) )
537   ROM_LOAD( "c146.bin", 0x08000, 0x8000, CRC(57afc4c6) SHA1(ee28b3f74e3175c22f542855b09f1673d048b1fa) )
538   ROM_LOAD( "c147.bin", 0x10000, 0x8000, CRC(ee1b344e) SHA1(d33fbad017cc4838192e9c540621537edb7e8dc4) )
539   /* 0x18000-0x1ffff = empty */
540
541   ROM_REGION(0x8000,  "extrom", 0)
542    ROM_LOAD( "c149.bin", 0x00000, 0x8000, CRC(2edbf61f) SHA1(23dcff43faf222a4b69001312ce4b1c920e2f4c2) )
543
544   ROM_REGION(0x8000,  "cartridge", 0)
545   ROM_LOAD( "c150.bin", 0x0000, 0x8000, CRC(20412918) SHA1(b0fefa957b20373ffb84d9ff97a2e84a9a3af56c) )
546
547   ROM_REGION(0x8000,  "bios", 0)
548   ROM_LOAD( "c151.bin", 0x00000, 0x8000, CRC(8cd94c63) SHA1(e6dba66c8716593b8ab88f79f7205211938d1598) )
549
550   ROM_REGION(0x10000,  "soundcpu", 0)
551   ROM_LOAD( "c130.bin", 0x00000, 0x8000, CRC(2f5e3b7a) SHA1(d2ff566b415ab10c0681fa1eb221a56e3c137ecf) )
552ROM_END
553
554
526555ROM_START( spinkick )
527556   ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
528557
r5295r5296
545574   ROM_LOAD( "spinkick.r1", 0x00000, 0x8000, CRC(2f5e3b7a) SHA1(d2ff566b415ab10c0681fa1eb221a56e3c137ecf) )
546575ROM_END
547576
548GAME( 1988, sfkick,   0,      sfkick, sfkick, sfkick, ROT90, "Haesung/HJ Corp", "Super Free Kick", 0 )
577
578GAME( 1988, sfkick,   0,      sfkick, sfkick, sfkick, ROT90, "Haesung/HJ Corp", "Super Free Kick (set 1)", 0 )
579GAME( 198?, sfkicka,  sfkick, sfkick, sfkick, sfkick, ROT90, "Haesung", "Super Free Kick (set 2)", 0 )
549580GAME( 1988, spinkick, sfkick, sfkick, sfkick, sfkick, ROT90, "Haesung/Seojin", "Hec's Spinkick", 0 )
581
src/mame/drivers/namcos22.c
r5295r5296
23572357      return xpos<<16;
23582358
23592359   case 1: /* 430004 */
2360      return (ypos>>1)<<16;
2361
23622360   case 2: /* 430008 */
2363      return (ypos>>1)<<16;
2361      return ((ypos>>1)+0x10)<<16;
23642362
23652363   case 3:
23662364   default:
r5295r5296
50655063   PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
50665064
50675065   PORT_START( "LIGHTX" )
5068   PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_X ) PORT_CROSSHAIR(X, 1.0, -0.1, 0) PORT_SENSITIVITY(50) PORT_KEYDELTA(4)
5066   PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_X ) PORT_CROSSHAIR(X, 1.0, 0.0, 0) PORT_SENSITIVITY(50) PORT_KEYDELTA(4)
50695067   PORT_START( "LIGHTY" )
5070   PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_Y ) PORT_CROSSHAIR(Y, 1.0, -0.184, 0) PORT_SENSITIVITY(50) PORT_KEYDELTA(4)
5068   PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_Y ) PORT_CROSSHAIR(Y, 1.0, 0.0, 0) PORT_SENSITIVITY(50) PORT_KEYDELTA(4)
50715069
50725070     PORT_START("MCUP5A")
50735071   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
src/mame/drivers/deco_ld.c
r5295r5296
99- video emulation is bare bones;
1010- i/os
1111
12***************************************************************************
13
14There are three hardware versions of Cobra Command (LD):
15
16Data East single PCB, Pioneer LD-V1000
17Data East 3-boardset, same hardware as Bega's Battle & Road Blaster, Sony
18LDP-1000
19MACH3 conversion kit (ROMs, disc, decals), Pioneer PR-8210
20
21There are four versions of the laserdisc.
22
23Pioneer (08359)
24Data East (Japan), LDS-301 with an orange label
25Data East (USA), LDS-301A with a green label
26Sony (a1090731704132a)
27
28The Data East labelled discs were released with the DE 3-boardset version
29and MACH3 conversion.
30The Pioneer Labelled disc was released with the DE single PCB version.
31Not sure what version the Sony disc came from. It was given to me by the
32copyright owner of Road Blaster, who also gave me a Road Blaster disc/kit
33which has a similar Sony label.
34
35I peeled the Data East labels off an orange and a green labelled disc and
36the labels underneath were identical to the Sony labelled disc (Sony Japan,
37disc No.a1090731704132a).
38
39Physical appearances aside, the Sony and Pioneer pressed discs have
40identical content.
41
1242***************************************************************************/
1343
1444#include "driver.h"
src/mame/drivers/namcos2.c
r5295r5296
4242    - gives ADSMISS error on startup
4343
4444    Bubble Trouble (Golly Ghost II)
45    - not dumped
45    - MCU not dumped
4646
4747The Namco System II board is a 5 ( only 4 are emulated ) CPU system. The
4848complete system consists of two boards: CPU + GRAPHICS. It contains a large
r5295r5296
942942
943943   NAMCOS2_MCU_PORT_C_DEFAULT
944944
945   // crosshair is required for gun calibration (hold 9, press F2)
945946   PORT_START("AN0")
946   PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_X ) PORT_SENSITIVITY(50) PORT_KEYDELTA(8)
947   PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_X ) PORT_CROSSHAIR(X, -1.0, 0.0, 0) PORT_SENSITIVITY(50) PORT_KEYDELTA(8)
947948   PORT_START("AN1")
948   PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_Y ) PORT_SENSITIVITY(50) PORT_KEYDELTA(8)
949   PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_Y ) PORT_CROSSHAIR(Y, -1.0, 0.0, 0) PORT_SENSITIVITY(50) PORT_KEYDELTA(8)
949950   PORT_START("AN2")
950   PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_X ) PORT_SENSITIVITY(50) PORT_KEYDELTA(8) PORT_PLAYER(2)
951   PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_X ) PORT_CROSSHAIR(X, -1.0, 0.0, 0) PORT_SENSITIVITY(50) PORT_KEYDELTA(8) PORT_PLAYER(2)
951952   PORT_START("AN3")
952   PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_Y ) PORT_SENSITIVITY(50) PORT_KEYDELTA(8) PORT_PLAYER(2)
953   PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_Y ) PORT_CROSSHAIR(Y, -1.0, 0.0, 0) PORT_SENSITIVITY(50) PORT_KEYDELTA(8) PORT_PLAYER(2)
953954   PORT_START("AN4")
954955   PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
955956   PORT_START("AN5")
r5295r5296
48964897GAME( 1991, sgunnr2j, sgunner2, sgunner,  sgunner,  sgunner2, ROT0,   "Namco", "Steel Gunner 2 (Japan)", 0 )
48974898GAME( 1991, cosmogng, 0,        default,  default,  cosmogng, ROT90,  "Namco", "Cosmo Gang the Video (US)", 0 )
48984899GAME( 1991, cosmognj, cosmogng, default,  default,  cosmogng, ROT90,  "Namco", "Cosmo Gang the Video (Japan)", 0 )
4899GAME( 1992, bubbletr, 0,        gollygho, bubbletr, bubbletr, ROT180, "Namco", "Bubble Trouble (Japan)",GAME_NOT_WORKING )
4900GAME( 1992, bubbletr, 0,        gollygho, bubbletr, bubbletr, ROT180, "Namco", "Bubble Trouble (Japan)", GAME_IMPERFECT_GRAPHICS )   /* missing external artwork */
49004901GAMEL(1992, finalap3, 0,        finallap, finalap3, finalap3, ROT0,   "Namco", "Final Lap 3 (World)", GAME_IMPERFECT_GRAPHICS, layout_finallap  )
49014902GAMEL(1992, finalp3j, finalap3, finallap, finalap3, finalap3, ROT0,   "Namco", "Final Lap 3 (Japan)", GAME_IMPERFECT_GRAPHICS, layout_finallap  )
49024903GAME( 1992, luckywld, 0,        luckywld, luckywld, luckywld, ROT0,   "Namco", "Lucky & Wild", 0 )
src/mame/drivers/taitogn.c
r5295r5296
306306      Super Puzzle Bobble (Japan)
307307      Usagi
308308
309Type 3 (PCMCIA Compact Flash Adaptor + Compact Flash card, sealed together with the game?s label)
310------
311
312       The Compact Flash card is read protected, it is a custom Sandisk SDCFB-64 Card (64MByte)
313
314       Confirmed usage on.... (not all games listed)
315       Otenami Haiken Final
316       Kollon
317       Zooo
309318*/
310319
311320#include "driver.h"
r5295r5296
315324#include "machine/intelfsh.h"
316325#include "machine/znsec.h"
317326#include "machine/idectrl.h"
327#include "machine/mb3773.h"
318328#include "sound/psx.h"
319329
320330
r5295r5296
328338static void rf5c296_reg_w(ATTR_UNUSED running_machine *machine, UINT8 reg, UINT8 data)
329339{
330340   //  fprintf(stderr, "rf5c296_reg_w %02x, %02x (%s)\n", reg, data, cpuexec_describe_context(machine));
341   switch (reg)
342   {
343      // Interrupt and General Control Register
344      case 0x03:
345         // Check for card reset
346         if (!(data & 0x40))
347         {
348            devtag_reset(machine, "card");
349            locked = 0x1ff;
350            ide_set_gnet_readlock (devtag_get_device(machine, "card"), 1);
351         }
352      break;
353
354      default:
355      break;
356   }
331357}
332358
333359static UINT8 rf5c296_reg_r(ATTR_UNUSED running_machine *machine, UINT8 reg)
r5295r5296
522548   // selection too, but they're always 0.
523549
524550   UINT32 p = control;
551   const device_config *mb3773 = devtag_get_device(space->machine, "mb3773");
552
525553   COMBINE_DATA(&control);
526554
555   mb3773_set_ck(mb3773, 0, (control & 0x20) >> 5);
556
527557#if 0
528558   if((p ^ control) & ~0x20)
529559      fprintf(stderr, "control = %c%c.%c %c%c%c%c (%s)\n",
r5295r5296
554584static WRITE32_HANDLER(control3_w)
555585{
556586   COMBINE_DATA(&control3);
557
558   /* Not card reset */
559   #if 0
560   // card reset, maybe
561   if(control3 & 2) {
562      devtag_reset(space->machine, "card");
563      locked = 0x1ff;
564   }
565   #endif
566587}
567588
568589static READ32_HANDLER(gn_1fb70000_r)
r5295r5296
925946   MDRV_AT28C16_ADD( "at28c16", 0 )
926947   MDRV_IDE_CONTROLLER_ADD( "card", 0 )
927948   MDRV_NVRAM_HANDLER( coh3002t )
949
950   MDRV_MB3773_ADD("mb3773")
928951MACHINE_DRIVER_END
929952
930953static INPUT_PORTS_START( coh3002t )
r5295r5296
12601283/* A dummy driver, so that the bios can be debugged, and to serve as */
12611284/* parent for the coh-3002t.353 file, so that we do not have to include */
12621285/* it in every zip file */
1263GAME( 1997, taitogn,  0, coh3002t, coh3002t, coh3002t, ROT0, "Sony/Taito", "Taito GNET", GAME_IS_BIOS_ROOT )
1286GAME( 1997, taitogn,  0,        coh3002t, coh3002t, coh3002t, ROT0,  "Sony/Taito", "Taito GNET", GAME_IS_BIOS_ROOT )
12641287
1265GAME( 1998, chaoshea, taitogn,  coh3002t, coh3002t, coh3002t, ROT0,   "Taito", "Chaos Heat (V2.09O)", 0 )
1266GAME( 1998, chaoshej, chaoshea, coh3002t, coh3002t, coh3002t, ROT0,   "Taito", "Chaos Heat (V2.08J)", 0 )
1267GAME( 1998, raycris,  taitogn,  coh3002t, coh3002t, coh3002t, ROT0,   "Taito", "Ray Crisis (V2.03J)", 0 )
1268GAME( 1999, spuzbobl, taitogn,  coh3002t, coh3002t, coh3002t, ROT0,   "Taito", "Super Puzzle Bobble (V2.05O)", 0 )
1269GAME( 1999, spuzbobj, spuzbobl, coh3002t, coh3002t, coh3002t, ROT0,   "Taito", "Super Puzzle Bobble (V2.04J)", 0 )
1270GAME( 1999, gobyrc,   taitogn,  coh3002t, coh3002t, coh3002t, ROT0,   "Taito", "Go By RC (V2.03O)", GAME_NOT_WORKING ) // custom inputs need calibrating
1271GAME( 1999, rcdego,   gobyrc,   coh3002t, coh3002t, coh3002t, ROT0,   "Taito", "RC De Go (V2.03J)", GAME_NOT_WORKING ) // custom inputs need calibrating
1272GAME( 1999, flipmaze, taitogn,  coh3002t, coh3002t, coh3002t, ROT0,   "Taito/Moss", "Flip Maze (V2.04J)", 0 )
1273GAME( 2001, shikigam, taitogn,  coh3002t, coh3002t, coh3002t, ROT270, "Taito/Alfa System", "Shikigami no Shiro (V2.03J)", 0 )
1274GAME( 2003, sianniv,  taitogn,  coh3002t, coh3002t, coh3002t, ROT270, "Taito", "Space Invaders Anniversary (V2.02J)", GAME_NOT_WORKING ) // IRQ at the wrong time
1275GAME( 2003, kollon,   taitogn,  coh3002t, coh3002t, coh3002t, ROT0,   "Taito", "Kollon (V2.04J)", 0 )
1288GAME( 1998, chaoshea, taitogn,  coh3002t, coh3002t, coh3002t, ROT0,   "Taito", "Chaos Heat (V2.09O)", GAME_IMPERFECT_SOUND )
1289GAME( 1998, chaoshej, chaoshea, coh3002t, coh3002t, coh3002t, ROT0,   "Taito", "Chaos Heat (V2.08J)", GAME_IMPERFECT_SOUND )
1290GAME( 1998, raycris,  taitogn,  coh3002t, coh3002t, coh3002t, ROT0,   "Taito", "Ray Crisis (V2.03J)", GAME_IMPERFECT_SOUND )
1291GAME( 1999, spuzbobl, taitogn,  coh3002t, coh3002t, coh3002t, ROT0,   "Taito", "Super Puzzle Bobble (V2.05O)", GAME_IMPERFECT_SOUND )
1292GAME( 1999, spuzbobj, spuzbobl, coh3002t, coh3002t, coh3002t, ROT0,   "Taito", "Super Puzzle Bobble (V2.04J)", GAME_IMPERFECT_SOUND )
1293GAME( 1999, gobyrc,   taitogn,  coh3002t, coh3002t, coh3002t, ROT0,   "Taito", "Go By RC (V2.03O)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND ) // custom inputs need calibrating
1294GAME( 1999, rcdego,   gobyrc,   coh3002t, coh3002t, coh3002t, ROT0,   "Taito", "RC De Go (V2.03J)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND ) // custom inputs need calibrating
1295GAME( 1999, flipmaze, taitogn,  coh3002t, coh3002t, coh3002t, ROT0,   "Taito/Moss", "Flip Maze (V2.04J)", GAME_IMPERFECT_SOUND )
1296GAME( 2001, shikigam, taitogn,  coh3002t, coh3002t, coh3002t, ROT270, "Taito/Alfa System", "Shikigami no Shiro (V2.03J)", GAME_IMPERFECT_SOUND )
1297GAME( 2003, sianniv,  taitogn,  coh3002t, coh3002t, coh3002t, ROT270, "Taito", "Space Invaders Anniversary (V2.02J)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND ) // IRQ at the wrong time
1298GAME( 2003, kollon,   taitogn,  coh3002t, coh3002t, coh3002t, ROT0,   "Taito", "Kollon (V2.04J)", GAME_IMPERFECT_SOUND )
12761299
1277GAME( 1999, otenamih, taitogn, coh3002t, coh3002t, coh3002t, ROT0,   "Success", "Otenami Haiken (V2.04J)", 0 )
1278GAME( 2005, otenamhf, taitogn, coh3002t, coh3002t, coh3002t, ROT0,   "Success/Warashi", "Otenami Haiken Final (V2.07JC)", 0 )
1279GAME( 2000, psyvaria, taitogn, coh3002t, coh3002t, coh3002t, ROT270, "Success", "Psyvariar -Medium Unit- (V2.04J)", 0 )
1280GAME( 2000, psyvarrv, taitogn, coh3002t, coh3002t, coh3002t, ROT270, "Success", "Psyvariar -Revision- (V2.04J)", 0 )
1281GAME( 2000, zokuoten, taitogn, coh3002t, coh3002t, coh3002t, ROT0,   "Success", "Zoku Otenamihaiken (V2.03J)", 0 )
1282GAME( 2004, zooo,     taitogn, coh3002t, coh3002t, coh3002t, ROT0,   "Success", "Zooo (V2.01J)", GAME_NOT_WORKING ) // missing most of the playfield
1300GAME( 1999, otenamih, taitogn,  coh3002t, coh3002t, coh3002t, ROT0,   "Success", "Otenami Haiken (V2.04J)", GAME_IMPERFECT_SOUND )
1301GAME( 2005, otenamhf, taitogn,  coh3002t, coh3002t, coh3002t, ROT0,   "Success/Warashi", "Otenami Haiken Final (V2.07JC)", GAME_IMPERFECT_SOUND )
1302GAME( 2000, psyvaria, taitogn,  coh3002t, coh3002t, coh3002t, ROT270, "Success", "Psyvariar -Medium Unit- (V2.04J)", GAME_IMPERFECT_SOUND )
1303GAME( 2000, psyvarrv, taitogn,  coh3002t, coh3002t, coh3002t, ROT270, "Success", "Psyvariar -Revision- (V2.04J)", GAME_IMPERFECT_SOUND )
1304GAME( 2000, zokuoten, taitogn,  coh3002t, coh3002t, coh3002t, ROT0,   "Success", "Zoku Otenamihaiken (V2.03J)", GAME_IMPERFECT_SOUND )
1305GAME( 2004, zooo,     taitogn,  coh3002t, coh3002t, coh3002t, ROT0,   "Success", "Zooo (V2.01J)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND ) // missing most of the playfield
12831306
1284GAME( 1999, mahjngoh, taitogn, coh3002t, coh3002t_mp, coh3002t_mp, ROT0, "Warashi/Mahjong Kobo/Taito", "Mahjong Oh (V2.06J)", 0 )
1285GAME( 2001, usagi,    taitogn, coh3002t, coh3002t_mp, coh3002t_mp, ROT0, "Warashi/Mahjong Kobo/Taito", "Usagi (V2.02J)", 0 )
1286GAME( 2000, soutenry, taitogn, coh3002t, coh3002t, coh3002t, ROT0,   "Warashi", "Soutenryu (V2.07J)", 0 )
1287GAME( 2000, shanghss, taitogn, coh3002t, coh3002t, coh3002t, ROT0,   "Warashi", "Shanghai Shoryu Sairin (V2.03J)", 0 )
1288GAME( 2002, shangtou, taitogn, coh3002t, coh3002t, coh3002t, ROT0,   "Warashi/Sunsoft/Taito", "Shanghai Sangokuhai Tougi (Ver 2.01J)", 0 )
1307GAME( 1999, mahjngoh, taitogn,  coh3002t, coh3002t_mp, coh3002t_mp, ROT0, "Warashi/Mahjong Kobo/Taito", "Mahjong Oh (V2.06J)", GAME_IMPERFECT_SOUND )
1308GAME( 2001, usagi,    taitogn,  coh3002t, coh3002t_mp, coh3002t_mp, ROT0, "Warashi/Mahjong Kobo/Taito", "Usagi (V2.02J)", GAME_IMPERFECT_SOUND )
1309GAME( 2000, soutenry, taitogn,  coh3002t, coh3002t, coh3002t, ROT0,   "Warashi", "Soutenryu (V2.07J)", GAME_IMPERFECT_SOUND )
1310GAME( 2000, shanghss, taitogn,  coh3002t, coh3002t, coh3002t, ROT0,   "Warashi", "Shanghai Shoryu Sairin (V2.03J)", GAME_IMPERFECT_SOUND )
1311GAME( 2002, shangtou, taitogn,  coh3002t, coh3002t, coh3002t, ROT0,   "Warashi/Sunsoft/Taito", "Shanghai Sangokuhai Tougi (Ver 2.01J)", GAME_IMPERFECT_SOUND )
12891312
1290GAME( 2001, nightrai, taitogn, coh3002t, coh3002t, coh3002t, ROT0, "Takumi", "Night Raid (V2.03J)", GAME_NOT_WORKING ) // no background / enemy sprites
1291GAME( 2001, otenki,   taitogn, coh3002t, coh3002t, coh3002t, ROT0, "Takumi", "Otenki Kororin (V2.01J)", 0 )
1313GAME( 2001, nightrai, taitogn,  coh3002t, coh3002t, coh3002t, ROT0,   "Takumi", "Night Raid (V2.03J)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND ) // no background / enemy sprites
1314GAME( 2001, otenki,   taitogn,  coh3002t, coh3002t, coh3002t, ROT0,   "Takumi", "Otenki Kororin (V2.01J)", GAME_IMPERFECT_SOUND )
12921315
1293GAME( 2002, xiistag,  taitogn, coh3002t, coh3002t, coh3002t, ROT270, "Triangle Service", "XII Stag (V2.01J)", 0 )
1294
1295
1296
1316GAME( 2002, xiistag,  taitogn,  coh3002t, coh3002t, coh3002t, ROT270, "Triangle Service", "XII Stag (V2.01J)", GAME_IMPERFECT_SOUND )
src/mame/drivers/mappy.c
r5295r5296
21472147
21482148
21492149/* 2x6809, static tilemap, 2bpp sprites (Super Pacman type)  */
2150GAME( 1982, superpac, 0,        superpac, superpac, 56_56,    ROT90, "Namco", "Super Pac-Man", 0 )
2151GAME( 1982, superpcm, superpac, superpac, superpac, 56_56,    ROT90, "[Namco] (Bally Midway license)", "Super Pac-Man (Midway)", 0 )
2152GAME( 1983, pacnpal,  0,        superpac, pacnpal,  56out_59, ROT90, "Namco", "Pac & Pal", 0 )
2153GAME( 1983, pacnpal2, pacnpal,  superpac, pacnpal,  56out_59, ROT90, "Namco", "Pac & Pal (older)", 0 )
2154GAME( 1983, pacnchmp, pacnpal,  superpac, pacnpal,  56out_59, ROT90, "Namco", "Pac-Man & Chomp Chomp", 0 )
2155GAME( 1984, grobda,   0,        grobda,   grobda,   grobda,   ROT90, "Namco", "Grobda (New Ver.)", 0 )
2156GAME( 1984, grobda2,  grobda,   grobda,   grobda,   grobda,   ROT90, "Namco", "Grobda (Old Ver. set 1)", 0 )
2157GAME( 1984, grobda3,  grobda,   grobda,   grobda,   grobda,   ROT90, "Namco", "Grobda (Old Ver. set 2)", 0 )
2150GAME( 1982, superpac, 0,        superpac, superpac, 56_56,    ROT90, "Namco", "Super Pac-Man", GAME_SUPPORTS_SAVE )
2151GAME( 1982, superpcm, superpac, superpac, superpac, 56_56,    ROT90, "[Namco] (Bally Midway license)", "Super Pac-Man (Midway)", GAME_SUPPORTS_SAVE )
2152GAME( 1983, pacnpal,  0,        superpac, pacnpal,  56out_59, ROT90, "Namco", "Pac & Pal", GAME_SUPPORTS_SAVE )
2153GAME( 1983, pacnpal2, pacnpal,  superpac, pacnpal,  56out_59, ROT90, "Namco", "Pac & Pal (older)", GAME_SUPPORTS_SAVE )
2154GAME( 1983, pacnchmp, pacnpal,  superpac, pacnpal,  56out_59, ROT90, "Namco", "Pac-Man & Chomp Chomp", GAME_SUPPORTS_SAVE )
2155GAME( 1984, grobda,   0,        grobda,   grobda,   grobda,   ROT90, "Namco", "Grobda (New Ver.)", GAME_SUPPORTS_SAVE )
2156GAME( 1984, grobda2,  grobda,   grobda,   grobda,   grobda,   ROT90, "Namco", "Grobda (Old Ver. set 1)", GAME_SUPPORTS_SAVE )
2157GAME( 1984, grobda3,  grobda,   grobda,   grobda,   grobda,   ROT90, "Namco", "Grobda (Old Ver. set 2)", GAME_SUPPORTS_SAVE )
21582158
21592159/* 3x6809, static tilemap, 2bpp sprites (Gaplus type) */
2160GAME( 1983, phozon,   0,        phozon,   phozon,   58_56i,   ROT90, "Namco", "Phozon (Japan)", 0 )
2160GAME( 1983, phozon,   0,        phozon,   phozon,   58_56i,   ROT90, "Namco", "Phozon (Japan)", GAME_SUPPORTS_SAVE )
21612161
21622162/* 2x6809, scroling tilemap, 4bpp sprites (Super Pacman type) */
2163GAME( 1983, mappy,    0,        mappy,    mappy,    58_58,    ROT90, "Namco", "Mappy (US)", 0 )
2164GAME( 1983, mappyj,   mappy,    mappy,    mappy,    58_58,    ROT90, "Namco", "Mappy (Japan)", 0 )
2165GAME( 1984, todruaga, 0,        todruaga, todruaga, 58_56,    ROT90, "Namco", "Tower of Druaga (New Ver.)", 0 )
2166GAME( 1984, todruago, todruaga, todruaga, todruaga, 58_56,    ROT90, "Namco", "Tower of Druaga (Old Ver.)", 0 )
2167GAME( 1985, digdug2,  0,        digdug2,  digdug2,  digdug2,  ROT90, "Namco", "Dig Dug II (New Ver.)", 0 )
2168GAME( 1985, digdug2o, digdug2,  digdug2,  digdug2,  digdug2,  ROT90, "Namco", "Dig Dug II (Old Ver.)", 0 )
2169GAME( 1985, motos,    0,        mappy,    motos,    56out_56, ROT90, "Namco", "Motos", 0 )
2163GAME( 1983, mappy,    0,        mappy,    mappy,    58_58,    ROT90, "Namco", "Mappy (US)", GAME_SUPPORTS_SAVE )
2164GAME( 1983, mappyj,   mappy,    mappy,    mappy,    58_58,    ROT90, "Namco", "Mappy (Japan)", GAME_SUPPORTS_SAVE )
2165GAME( 1984, todruaga, 0,        todruaga, todruaga, 58_56,    ROT90, "Namco", "Tower of Druaga (New Ver.)", GAME_SUPPORTS_SAVE )
2166GAME( 1984, todruago, todruaga, todruaga, todruaga, 58_56,    ROT90, "Namco", "Tower of Druaga (Old Ver.)", GAME_SUPPORTS_SAVE )
2167GAME( 1985, digdug2,  0,        digdug2,  digdug2,  digdug2,  ROT90, "Namco", "Dig Dug II (New Ver.)", GAME_SUPPORTS_SAVE )
2168GAME( 1985, digdug2o, digdug2,  digdug2,  digdug2,  digdug2,  ROT90, "Namco", "Dig Dug II (Old Ver.)", GAME_SUPPORTS_SAVE )
2169GAME( 1985, motos,    0,        mappy,    motos,    56out_56, ROT90, "Namco", "Motos", GAME_SUPPORTS_SAVE )
src/mame/drivers/darkhors.c
r5295r5296
328328   AM_RANGE(0x8c0130, 0x8c013f) AM_WRITE(SMH_RAM) AM_BASE(&darkhors_tmapscroll2)
329329ADDRESS_MAP_END
330330
331static UINT32* jclub2_tileram;
332static int jclub2_gfx_index;
331333
334WRITE32_HANDLER( jclub2_tileram_w )
335{
336   COMBINE_DATA(&jclub2_tileram[offset]);
337   gfx_element_mark_dirty(space->machine->gfx[jclub2_gfx_index], offset/(256/4));
338
339}
340
332341static ADDRESS_MAP_START( jclub2_map, ADDRESS_SPACE_PROGRAM, 32 )
333342   AM_RANGE(0x000000, 0x1fffff) AM_ROM
334343   AM_RANGE(0x400000, 0x41ffff) AM_RAM
r5295r5296
344353   AM_RANGE(0x580400, 0x580403) AM_READ_PORT("580400")
345354   AM_RANGE(0x580420, 0x580423) AM_READ_PORT("580420")
346355
347   AM_RANGE(0x800000, 0x87dfff) AM_RAM
348   AM_RANGE(0x87e000, 0x87ffff) AM_RAM AM_BASE(&spriteram32)
356   AM_RANGE(0x800000, 0x87ffff) AM_RAM AM_BASE(&spriteram32)
349357
350358   AM_RANGE(0x880000, 0x89ffff) AM_WRITE(paletteram32_xBBBBBGGGGGRRRRR_dword_w) AM_BASE(&paletteram32)
351359   AM_RANGE(0x8a0000, 0x8bffff) AM_WRITE(SMH_RAM)   // this should still be palette ram!
352360
353   AM_RANGE(0x900000, 0x90ffff) AM_RAM
361   AM_RANGE(0x8C0000, 0x8C01ff) AM_RAM
362   AM_RANGE(0x8E0000, 0x8E01ff) AM_RAM
363
364   AM_RANGE(0x900000, 0x90ffff) AM_RAM_WRITE(jclub2_tileram_w) AM_BASE(&jclub2_tileram) // tile data gets decompressed here by main cpu?
354365ADDRESS_MAP_END
355366
356367
r5295r5296
599610static const gfx_layout layout_16x16x8_jclub2 =
600611{
601612   16,16,
602   RGN_FRAC(1,1),
613   0x10000/256,
603614   8,
604615   { 0,1,2,3,4,5,6,7 },
605   { 0,8,16,24,32,40,48,56,64,72,80,88,96, 104, 112, 120},
616   { 24,16,8,0,  56,48,40,32,  88,80,72,64, 120, 112, 104, 96},
606617   { 0*128,1*128,2*128,3*128,4*128,5*128,6*128,7*128,8*128,9*128,10*128,11*128,12*128,13*128,14*128,15*128 },
607   16*128
618   256*8
608619};
609620
610621static GFXDECODE_START( jclub2 )
611   GFXDECODE_ENTRY( "maincpu", 0, layout_16x16x8_jclub2, 0, 0x10000/64 )   // color codes should be doubled
622   //GFXDECODE_ENTRY( "maincpu", 0, layout_16x16x8_jclub2, 0, 0x10000/64 ) // color codes should be doubled
612623GFXDECODE_END
613624
614625
r5295r5296
659670   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
660671MACHINE_DRIVER_END
661672
673
674
662675VIDEO_START(jclub2)
663676{
677    /* find first empty slot to decode gfx */
678   for (jclub2_gfx_index = 0; jclub2_gfx_index < MAX_GFX_ELEMENTS; jclub2_gfx_index++)
679      if (machine->gfx[jclub2_gfx_index] == 0)
680         break;
664681
682   assert(jclub2_gfx_index != MAX_GFX_ELEMENTS);
683
684   /* create the char set (gfx will then be updated dynamically from RAM) */
685   machine->gfx[jclub2_gfx_index] = gfx_element_alloc(machine, &layout_16x16x8_jclub2, (UINT8 *)jclub2_tileram, machine->config->total_colors / 16, 0);
686
687
665688}
666689
667690VIDEO_UPDATE(jclub2)
r5295r5296
715738   &st0016_charram
716739};
717740
741VIDEO_START(jclub2o)
742{
718743
744}
745
746VIDEO_UPDATE(jclub2o)
747{
748   return 0;
749}
750
719751static MACHINE_DRIVER_START( jclub2o )
720752   MDRV_CPU_ADD("st0016",Z80,8000000)
721753   MDRV_CPU_PROGRAM_MAP(st0016_mem)
r5295r5296
739771   MDRV_GFXDECODE(jclub2)
740772   MDRV_PALETTE_LENGTH(0x10000)
741773
742   MDRV_VIDEO_START(jclub2)
743   MDRV_VIDEO_UPDATE(jclub2)
774   MDRV_VIDEO_START(jclub2o)
775   MDRV_VIDEO_UPDATE(jclub2o)
744776
745777   MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
746778
src/mame/drivers/cidelsa.c
r5295r5296
2727   return input_port_read(device->machine, "EF");
2828}
2929
30static CDP1802_Q_WRITE( cidelsa_q_w )
30static WRITE_LINE_DEVICE_HANDLER( cidelsa_q_w )
3131{
32   cidelsa_state *state = (cidelsa_state *)device->machine->driver_data;
32   cidelsa_state *driver_state = (cidelsa_state *)device->machine->driver_data;
3333
34   state->cdp1802_q = level;
34   driver_state->cdp1802_q = state;
3535}
3636
3737static CDP1802_INTERFACE( cidelsa_cdp1802_config )
3838{
39   cidelsa_mode_r,      // MODE
40   cidelsa_ef_r,      // EF
41   NULL,            // SC
42   cidelsa_q_w,      // Q
43   NULL,            // DMA read
44   NULL            // DMA write
39   cidelsa_mode_r,            // MODE
40   cidelsa_ef_r,            // EF
41   NULL,                  // SC
42   DEVCB_LINE(cidelsa_q_w),   // Q
43   DEVCB_NULL,               // DMA read
44   DEVCB_NULL               // DMA write
4545};
4646
4747/* Sound Interface */
src/emu/cpu/drcfe.c
r5295r5296
294294      desc->flags |= OPFLAG_VALIDATE_TLB | OPFLAG_CAN_CAUSE_EXCEPTION;
295295
296296   /* validate stuff */
297   assert(desc->length > 0);
297   assert(desc->length > 0 || (desc->flags & OPFLAG_VIRTUAL_NOOP) != 0);
298298
299299   /* if we are a branch with delay slots, recursively walk those */
300300   if (desc->flags & OPFLAG_IS_BRANCH)
src/emu/cpu/cdp1802/cdp1802.c
r5295r5296
896896            /* execute initialization cycle */
897897            cpustate->state = CDP1802_STATE_1_INIT;
898898            cdp1802_run(device);
899           
899
900900            /* next state is IDLE */
901901            cpustate->state = CDP1802_STATE_1_EXECUTE;
902902         }
src/emu/cpu/drcbex64.c
r5295r5296
185185    DEBUGGING
186186***************************************************************************/
187187
188#define LOG_HASHJMPS      (0)
188#define LOG_HASHJMPS         (0)
189189
190#define USE_RCPSS_FOR_SINGLES   (0)
191#define USE_RSQRTSS_FOR_SINGLES   (0)
192#define USE_RCPSS_FOR_DOUBLES   (0)
193#define USE_RSQRTSS_FOR_DOUBLES   (0)
190194
191195
196
192197/***************************************************************************
193198    CONSTANTS
194199***************************************************************************/
r5295r5296
285290   UINT32               ssecontrol[4];         /* copy of the sse_control array */
286291   UINT32 *            absmask32;            /* absolute value mask (32-bit) */
287292   UINT64 *            absmask64;            /* absolute value mask (32-bit) */
293   float               single1;            /* 1.0 is single-precision */
294   double               double1;            /* 1.0 in double-precision */
288295
289296   void *               stacksave;            /* saved stack pointer */
290297   void *               hashstacksave;         /* saved stack pointer for hashjmp */
r5295r5296
723730   drcbe->absmask32[0] = drcbe->absmask32[1] = drcbe->absmask32[2] = drcbe->absmask32[3] = 0x7fffffff;
724731   drcbe->absmask64 = (UINT64 *)&drcbe->absmask32[4];
725732   drcbe->absmask64[0] = drcbe->absmask64[1] = U64(0x7fffffffffffffff);
733   drcbe->single1 = 1.0f;
734   drcbe->double1 = 1.0;
726735
727736   /* get pointers to C functions we need to call */
728737   drcbe->debug_cpu_instruction_hook = (x86code *)debug_cpu_instruction_hook;
r5295r5296
69286937   {
69296938      emit_movsd_r128_p64(drcbe, &dst, dstreg, &srcp);                        // movsd dstreg,srcp
69306939      emit_andpd_r128_m128(&dst, dstreg, MABS(drcbe, drcbe->absmask64));            // andpd dstreg,[absmask64]
6931      emit_movsd_p64_r128(drcbe, &dst, &srcp, dstreg);                        // movsd dstp,dstreg
6940      emit_movsd_p64_r128(drcbe, &dst, &dstp, dstreg);                        // movsd dstp,dstreg
69326941   }
69336942   return dst;
69346943}
r5295r5296
70007009   /* 32-bit form */
70017010   if (inst->size == 4)
70027011   {
7003      if (srcp.type == DRCUML_PTYPE_MEMORY)
7004         emit_rcpss_r128_m32(&dst, dstreg, MABS(drcbe, srcp.value));               // rcpss dstreg,[srcp]
7005      else if (srcp.type == DRCUML_PTYPE_FLOAT_REGISTER)
7006         emit_rcpss_r128_r128(&dst, dstreg, srcp.value);                        // rcpss dstreg,srcp
7007      emit_movss_p32_r128(drcbe, &dst, &dstp, dstreg);                        // movss dstp,dstreg
7012      if (USE_RCPSS_FOR_SINGLES)
7013      {
7014         if (srcp.type == DRCUML_PTYPE_MEMORY)
7015            emit_rcpss_r128_m32(&dst, dstreg, MABS(drcbe, srcp.value));            // rcpss dstreg,[srcp]
7016         else if (srcp.type == DRCUML_PTYPE_FLOAT_REGISTER)
7017            emit_rcpss_r128_r128(&dst, dstreg, srcp.value);                     // rcpss dstreg,srcp
7018         emit_movss_p32_r128(drcbe, &dst, &dstp, dstreg);                     // movss dstp,dstreg
7019      }
7020      else
7021      {
7022         emit_movss_r128_m32(&dst, REG_XMM1, MABS(drcbe, &drcbe->single1));         // movss xmm1,1.0
7023         if (srcp.type == DRCUML_PTYPE_MEMORY)
7024            emit_divss_r128_m32(&dst, REG_XMM1, MABS(drcbe, srcp.value));         // divss xmm1,[srcp]
7025         else if (srcp.type == DRCUML_PTYPE_FLOAT_REGISTER)
7026            emit_divss_r128_r128(&dst, REG_XMM1, srcp.value);                  // divss xmm1,srcp
7027         emit_movss_p32_r128(drcbe, &dst, &dstp, REG_XMM1);                     // movss dstp,xmm1
7028      }
70087029   }
70097030
70107031   /* 64-bit form */
70117032   else if (inst->size == 8)
70127033   {
7013      if (srcp.type == DRCUML_PTYPE_MEMORY)
7014         emit_cvtsd2ss_r128_m64(&dst, dstreg, MABS(drcbe, srcp.value));            // cvtsd2ss dstreg,[srcp]
7015      else if (srcp.type == DRCUML_PTYPE_FLOAT_REGISTER)
7016         emit_cvtsd2ss_r128_r128(&dst, dstreg, srcp.value);                     // cvtsd2ss dstreg,srcp
7017      emit_rcpss_r128_r128(&dst, dstreg, dstreg);                              // rcpss dstreg,dstreg
7018      emit_cvtss2sd_r128_r128(&dst, dstreg, dstreg);                           // cvtss2sd dstreg,dstreg
7019      emit_movsd_p64_r128(drcbe, &dst, &dstp, dstreg);                        // movsd dstp,dstreg
7034      if (USE_RCPSS_FOR_DOUBLES)
7035      {
7036         if (srcp.type == DRCUML_PTYPE_MEMORY)
7037            emit_cvtsd2ss_r128_m64(&dst, dstreg, MABS(drcbe, srcp.value));         // cvtsd2ss dstreg,[srcp]
7038         else if (srcp.type == DRCUML_PTYPE_FLOAT_REGISTER)
7039            emit_cvtsd2ss_r128_r128(&dst, dstreg, srcp.value);                  // cvtsd2ss dstreg,srcp
7040         emit_rcpss_r128_r128(&dst, dstreg, dstreg);                           // rcpss dstreg,dstreg
7041         emit_cvtss2sd_r128_r128(&dst, dstreg, dstreg);                        // cvtss2sd dstreg,dstreg
7042         emit_movsd_p64_r128(drcbe, &dst, &dstp, REG_XMM1);                     // movsd dstp,dstreg
7043      }
7044      else
7045      {
7046         emit_movsd_r128_m64(&dst, REG_XMM1, MABS(drcbe, &drcbe->double1));         // movsd xmm1,1.0
7047         if (srcp.type == DRCUML_PTYPE_MEMORY)
7048            emit_divsd_r128_m64(&dst, REG_XMM1, MABS(drcbe, srcp.value));         // divsd xmm1,[srcp]
7049         else if (srcp.type == DRCUML_PTYPE_FLOAT_REGISTER)
7050            emit_divsd_r128_r128(&dst, REG_XMM1, srcp.value);                  // divsd xmm1,srcp
7051         emit_movsd_p64_r128(drcbe, &dst, &dstp, REG_XMM1);                     // movsd dstp,xmm1
7052      }
70207053   }
70217054   return dst;
70227055}
r5295r5296
70457078   /* 32-bit form */
70467079   if (inst->size == 4)
70477080   {
7048      if (srcp.type == DRCUML_PTYPE_MEMORY)
7049         emit_rsqrtss_r128_m32(&dst, dstreg, MABS(drcbe, srcp.value));            // rsqrtss dstreg,[srcp]
7050      else if (srcp.type == DRCUML_PTYPE_FLOAT_REGISTER)
7051         emit_rsqrtss_r128_r128(&dst, dstreg, srcp.value);                     // rsqrtss dstreg,srcp
7081      if (USE_RSQRTSS_FOR_SINGLES)
7082      {
7083         if (srcp.type == DRCUML_PTYPE_MEMORY)
7084            emit_rsqrtss_r128_m32(&dst, dstreg, MABS(drcbe, srcp.value));         // rsqrtss dstreg,[srcp]
7085         else if (srcp.type == DRCUML_PTYPE_FLOAT_REGISTER)
7086            emit_rsqrtss_r128_r128(&dst, dstreg, srcp.value);                  // rsqrtss dstreg,srcp
7087      }
7088      else
7089      {
7090         if (srcp.type == DRCUML_PTYPE_MEMORY)
7091            emit_sqrtss_r128_m32(&dst, REG_XMM1, MABS(drcbe, srcp.value));         // sqrtss xmm1,[srcp]
7092         else if (srcp.type == DRCUML_PTYPE_FLOAT_REGISTER)
7093            emit_sqrtss_r128_r128(&dst, REG_XMM1, srcp.value);                  // sqrtss xmm1,srcp
7094         emit_movss_r128_m32(&dst, dstreg, MABS(drcbe, &drcbe->single1));         // movss dstreg,1.0
7095         emit_divss_r128_r128(&dst, dstreg, REG_XMM1);                        // divss dstreg,xmm1
7096      }
70527097      emit_movss_p32_r128(drcbe, &dst, &dstp, dstreg);                        // movss dstp,dstreg
70537098   }
70547099
70557100   /* 64-bit form */
70567101   else if (inst->size == 8)
70577102   {
7058      if (srcp.type == DRCUML_PTYPE_MEMORY)
7059         emit_cvtsd2ss_r128_m64(&dst, dstreg, MABS(drcbe, srcp.value));            // cvtsd2ss dstreg,[srcp]
7060      else if (srcp.type == DRCUML_PTYPE_FLOAT_REGISTER)
7061         emit_cvtsd2ss_r128_r128(&dst, dstreg, srcp.value);                     // cvtsd2ss dstreg,srcp
7062      emit_rsqrtss_r128_r128(&dst, dstreg, dstreg);                           // rsqrtss dstreg,dstreg
7063      emit_cvtss2sd_r128_r128(&dst, dstreg, dstreg);                           // cvtss2sd dstreg,dstreg
7103      if (USE_RSQRTSS_FOR_DOUBLES)
7104      {
7105         if (srcp.type == DRCUML_PTYPE_MEMORY)
7106            emit_cvtsd2ss_r128_m64(&dst, dstreg, MABS(drcbe, srcp.value));         // cvtsd2ss dstreg,[srcp]
7107         else if (srcp.type == DRCUML_PTYPE_FLOAT_REGISTER)
7108            emit_cvtsd2ss_r128_r128(&dst, dstreg, srcp.value);                  // cvtsd2ss dstreg,srcp
7109         emit_rsqrtss_r128_r128(&dst, dstreg, dstreg);                        // rsqrtss dstreg,dstreg
7110         emit_cvtss2sd_r128_r128(&dst, dstreg, dstreg);                        // cvtss2sd dstreg,dstreg
7111      }
7112      else
7113      {
7114         if (srcp.type == DRCUML_PTYPE_MEMORY)
7115            emit_sqrtsd_r128_m64(&dst, REG_XMM1, MABS(drcbe, srcp.value));         // sqrtsd xmm1,[srcp]
7116         else if (srcp.type == DRCUML_PTYPE_FLOAT_REGISTER)
7117            emit_sqrtsd_r128_r128(&dst, REG_XMM1, srcp.value);                  // sqrtsd xmm1,srcp
7118         emit_movsd_r128_m64(&dst, dstreg, MABS(drcbe, &drcbe->double1));         // movsd dstreg,1.0
7119         emit_divsd_r128_r128(&dst, dstreg, REG_XMM1);                        // divsd dstreg,xmm1
7120      }
70647121      emit_movsd_p64_r128(drcbe, &dst, &dstp, dstreg);                        // movsd dstp,dstreg
70657122   }
70667123   return dst;
src/emu/cpu/powerpc/ppccom.c
r5295r5296
12231223      case CPUINFO_INT_REGISTER + PPC_R30:         ppc->r[30] = info->i;               break;
12241224      case CPUINFO_INT_SP:
12251225      case CPUINFO_INT_REGISTER + PPC_R31:         ppc->r[31] = info->i;               break;
1226
1227      case CPUINFO_INT_REGISTER + PPC_F0:            ppc->f[0] = *(double *)&info->i;      break;
1228      case CPUINFO_INT_REGISTER + PPC_F1:            ppc->f[1] = *(double *)&info->i;      break;
1229      case CPUINFO_INT_REGISTER + PPC_F2:            ppc->f[2] = *(double *)&info->i;      break;
1230      case CPUINFO_INT_REGISTER + PPC_F3:            ppc->f[3] = *(double *)&info->i;      break;
1231      case CPUINFO_INT_REGISTER + PPC_F4:            ppc->f[4] = *(double *)&info->i;      break;
1232      case CPUINFO_INT_REGISTER + PPC_F5:            ppc->f[5] = *(double *)&info->i;      break;
1233      case CPUINFO_INT_REGISTER + PPC_F6:            ppc->f[6] = *(double *)&info->i;      break;
1234      case CPUINFO_INT_REGISTER + PPC_F7:            ppc->f[7] = *(double *)&info->i;      break;
1235      case CPUINFO_INT_REGISTER + PPC_F8:            ppc->f[8] = *(double *)&info->i;      break;
1236      case CPUINFO_INT_REGISTER + PPC_F9:            ppc->f[9] = *(double *)&info->i;      break;
1237      case CPUINFO_INT_REGISTER + PPC_F10:         ppc->f[10] = *(double *)&info->i;      break;
1238      case CPUINFO_INT_REGISTER + PPC_F11:         ppc->f[11] = *(double *)&info->i;      break;
1239      case CPUINFO_INT_REGISTER + PPC_F12:         ppc->f[12] = *(double *)&info->i;      break;
1240      case CPUINFO_INT_REGISTER + PPC_F13:         ppc->f[13] = *(double *)&info->i;      break;
1241      case CPUINFO_INT_REGISTER + PPC_F14:         ppc->f[14] = *(double *)&info->i;      break;
1242      case CPUINFO_INT_REGISTER + PPC_F15:         ppc->f[15] = *(double *)&info->i;      break;
1243      case CPUINFO_INT_REGISTER + PPC_F16:         ppc->f[16] = *(double *)&info->i;      break;
1244      case CPUINFO_INT_REGISTER + PPC_F17:         ppc->f[17] = *(double *)&info->i;      break;
1245      case CPUINFO_INT_REGISTER + PPC_F18:         ppc->f[18] = *(double *)&info->i;      break;
1246      case CPUINFO_INT_REGISTER + PPC_F19:         ppc->f[19] = *(double *)&info->i;      break;
1247      case CPUINFO_INT_REGISTER + PPC_F20:         ppc->f[20] = *(double *)&info->i;      break;
1248      case CPUINFO_INT_REGISTER + PPC_F21:         ppc->f[21] = *(double *)&info->i;      break;
1249      case CPUINFO_INT_REGISTER + PPC_F22:         ppc->f[22] = *(double *)&info->i;      break;
1250      case CPUINFO_INT_REGISTER + PPC_F23:         ppc->f[23] = *(double *)&info->i;      break;
1251      case CPUINFO_INT_REGISTER + PPC_F24:         ppc->f[24] = *(double *)&info->i;      break;
1252      case CPUINFO_INT_REGISTER + PPC_F25:         ppc->f[25] = *(double *)&info->i;      break;
1253      case CPUINFO_INT_REGISTER + PPC_F26:         ppc->f[26] = *(double *)&info->i;      break;
1254      case CPUINFO_INT_REGISTER + PPC_F27:         ppc->f[27] = *(double *)&info->i;      break;
1255      case CPUINFO_INT_REGISTER + PPC_F28:         ppc->f[28] = *(double *)&info->i;      break;
1256      case CPUINFO_INT_REGISTER + PPC_F29:         ppc->f[29] = *(double *)&info->i;      break;
1257      case CPUINFO_INT_REGISTER + PPC_F30:         ppc->f[30] = *(double *)&info->i;      break;
1258      case CPUINFO_INT_REGISTER + PPC_F31:         ppc->f[31] = *(double *)&info->i;      break;
1259      case CPUINFO_INT_REGISTER + PPC_FPSCR:         ppc->fpscr = info->i;               break;
12261260   }
12271261}
12281262
r5295r5296
13141348      case CPUINFO_INT_SP:
13151349      case CPUINFO_INT_REGISTER + PPC_R31:         info->i = ppc->r[31];               break;
13161350
1351      case CPUINFO_INT_REGISTER + PPC_F0:            info->i = *(UINT64 *)&ppc->f[0];      break;
1352      case CPUINFO_INT_REGISTER + PPC_F1:            info->i = *(UINT64 *)&ppc->f[1];      break;
1353      case CPUINFO_INT_REGISTER + PPC_F2:            info->i = *(UINT64 *)&ppc->f[2];      break;
1354      case CPUINFO_INT_REGISTER + PPC_F3:            info->i = *(UINT64 *)&ppc->f[3];      break;
1355      case CPUINFO_INT_REGISTER + PPC_F4:            info->i = *(UINT64 *)&ppc->f[4];      break;
1356      case CPUINFO_INT_REGISTER + PPC_F5:            info->i = *(UINT64 *)&ppc->f[5];      break;
1357      case CPUINFO_INT_REGISTER + PPC_F6:            info->i = *(UINT64 *)&ppc->f[6];      break;
1358      case CPUINFO_INT_REGISTER + PPC_F7:            info->i = *(UINT64 *)&ppc->f[7];      break;
1359      case CPUINFO_INT_REGISTER + PPC_F8:            info->i = *(UINT64 *)&ppc->f[8];      break;
1360      case CPUINFO_INT_REGISTER + PPC_F9:            info->i = *(UINT64 *)&ppc->f[9];      break;
1361      case CPUINFO_INT_REGISTER + PPC_F10:         info->i = *(UINT64 *)&ppc->f[10];      break;
1362      case CPUINFO_INT_REGISTER + PPC_F11:         info->i = *(UINT64 *)&ppc->f[11];      break;
1363      case CPUINFO_INT_REGISTER + PPC_F12:         info->i = *(UINT64 *)&ppc->f[12];      break;
1364      case CPUINFO_INT_REGISTER + PPC_F13:         info->i = *(UINT64 *)&ppc->f[13];      break;
1365      case CPUINFO_INT_REGISTER + PPC_F14:         info->i = *(UINT64 *)&ppc->f[14];      break;
1366      case CPUINFO_INT_REGISTER + PPC_F15:         info->i = *(UINT64 *)&ppc->f[15];      break;
1367      case CPUINFO_INT_REGISTER + PPC_F16:         info->i = *(UINT64 *)&ppc->f[16];      break;
1368      case CPUINFO_INT_REGISTER + PPC_F17:         info->i = *(UINT64 *)&ppc->f[17];      break;
1369      case CPUINFO_INT_REGISTER + PPC_F18:         info->i = *(UINT64 *)&ppc->f[18];      break;
1370      case CPUINFO_INT_REGISTER + PPC_F19:         info->i = *(UINT64 *)&ppc->f[19];      break;
1371      case CPUINFO_INT_REGISTER + PPC_F20:         info->i = *(UINT64 *)&ppc->f[20];      break;
1372      case CPUINFO_INT_REGISTER + PPC_F21:         info->i = *(UINT64 *)&ppc->f[21];      break;
1373      case CPUINFO_INT_REGISTER + PPC_F22:         info->i = *(UINT64 *)&ppc->f[22];      break;
1374      case CPUINFO_INT_REGISTER + PPC_F23:         info->i = *(UINT64 *)&ppc->f[23];      break;
1375      case CPUINFO_INT_REGISTER + PPC_F24:         info->i = *(UINT64 *)&ppc->f[24];      break;
1376      case CPUINFO_INT_REGISTER + PPC_F25:         info->i = *(UINT64 *)&ppc->f[25];      break;
1377      case CPUINFO_INT_REGISTER + PPC_F26:         info->i = *(UINT64 *)&ppc->f[26];      break;
1378      case CPUINFO_INT_REGISTER + PPC_F27:         info->i = *(UINT64 *)&ppc->f[27];      break;
1379      case CPUINFO_INT_REGISTER + PPC_F28:         info->i = *(UINT64 *)&ppc->f[28];      break;
1380      case CPUINFO_INT_REGISTER + PPC_F29:         info->i = *(UINT64 *)&ppc->f[29];      break;
1381      case CPUINFO_INT_REGISTER + PPC_F30:         info->i = *(UINT64 *)&ppc->f[30];      break;
1382      case CPUINFO_INT_REGISTER + PPC_F31:         info->i = *(UINT64 *)&ppc->f[31];      break;
1383      case CPUINFO_INT_REGISTER + PPC_FPSCR:         info->i = ppc->fpscr;               break;
1384
13171385      /* --- the following bits of info are returned as pointers to data or functions --- */
13181386      case CPUINFO_FCT_SET_INFO:                  /* provided by core */               break;
13191387      case CPUINFO_FCT_INIT:                     /* provided by core */               break;
r5295r5296
13861454      case CPUINFO_STR_REGISTER + PPC_R29:         sprintf(info->s, "R29:%08X", ppc->r[29]); break;
13871455      case CPUINFO_STR_REGISTER + PPC_R30:         sprintf(info->s, "R30:%08X", ppc->r[30]); break;
13881456      case CPUINFO_STR_REGISTER + PPC_R31:         sprintf(info->s, "R31:%08X", ppc->r[31]); break;
1457
1458      case CPUINFO_STR_REGISTER + PPC_F0:            sprintf(info->s, "F0: %12f", ppc->f[0]); break;
1459      case CPUINFO_STR_REGISTER + PPC_F1:            sprintf(info->s, "F1: %12f", ppc->f[1]); break;
1460      case CPUINFO_STR_REGISTER + PPC_F2:            sprintf(info->s, "F2: %12f", ppc->f[2]); break;
1461      case CPUINFO_STR_REGISTER + PPC_F3:            sprintf(info->s, "F3: %12f", ppc->f[3]); break;
1462      case CPUINFO_STR_REGISTER + PPC_F4:            sprintf(info->s, "F4: %12f", ppc->f[4]); break;
1463      case CPUINFO_STR_REGISTER + PPC_F5:            sprintf(info->s, "F5: %12f", ppc->f[5]); break;
1464      case CPUINFO_STR_REGISTER + PPC_F6:            sprintf(info->s, "F6: %12f", ppc->f[6]); break;
1465      case CPUINFO_STR_REGISTER + PPC_F7:            sprintf(info->s, "F7: %12f", ppc->f[7]); break;
1466      case CPUINFO_STR_REGISTER + PPC_F8:            sprintf(info->s, "F8: %12f", ppc->f[8]); break;
1467      case CPUINFO_STR_REGISTER + PPC_F9:            sprintf(info->s, "F9: %12f", ppc->f[9]); break;
1468      case CPUINFO_STR_REGISTER + PPC_F10:         sprintf(info->s, "F10:%12f", ppc->f[10]); break;
1469      case CPUINFO_STR_REGISTER + PPC_F11:         sprintf(info->s, "F11:%12f", ppc->f[11]); break;
1470      case CPUINFO_STR_REGISTER + PPC_F12:         sprintf(info->s, "F12:%12f", ppc->f[12]); break;
1471      case CPUINFO_STR_REGISTER + PPC_F13:         sprintf(info->s, "F13:%12f", ppc->f[13]); break;
1472      case CPUINFO_STR_REGISTER + PPC_F14:         sprintf(info->s, "F14:%12f", ppc->f[14]); break;
1473      case CPUINFO_STR_REGISTER + PPC_F15:         sprintf(info->s, "F15:%12f", ppc->f[15]); break;
1474      case CPUINFO_STR_REGISTER + PPC_F16:         sprintf(info->s, "F16:%12f", ppc->f[16]); break;
1475      case CPUINFO_STR_REGISTER + PPC_F17:         sprintf(info->s, "F17:%12f", ppc->f[17]); break;
1476      case CPUINFO_STR_REGISTER + PPC_F18:         sprintf(info->s, "F18:%12f", ppc->f[18]); break;
1477      case CPUINFO_STR_REGISTER + PPC_F19:         sprintf(info->s, "F19:%12f", ppc->f[19]); break;
1478      case CPUINFO_STR_REGISTER + PPC_F20:         sprintf(info->s, "F20:%12f", ppc->f[20]); break;
1479      case CPUINFO_STR_REGISTER + PPC_F21:         sprintf(info->s, "F21:%12f", ppc->f[21]); break;
1480      case CPUINFO_STR_REGISTER + PPC_F22:         sprintf(info->s, "F22:%12f", ppc->f[22]); break;
1481      case CPUINFO_STR_REGISTER + PPC_F23:         sprintf(info->s, "F23:%12f", ppc->f[23]); break;
1482      case CPUINFO_STR_REGISTER + PPC_F24:         sprintf(info->s, "F24:%12f", ppc->f[24]); break;
1483      case CPUINFO_STR_REGISTER + PPC_F25:         sprintf(info->s, "F25:%12f", ppc->f[25]); break;
1484      case CPUINFO_STR_REGISTER + PPC_F26:         sprintf(info->s, "F26:%12f", ppc->f[26]); break;
1485      case CPUINFO_STR_REGISTER + PPC_F27:         sprintf(info->s, "F27:%12f", ppc->f[27]); break;
1486      case CPUINFO_STR_REGISTER + PPC_F28:         sprintf(info->s, "F28:%12f", ppc->f[28]); break;
1487      case CPUINFO_STR_REGISTER + PPC_F29:         sprintf(info->s, "F29:%12f", ppc->f[29]); break;
1488      case CPUINFO_STR_REGISTER + PPC_F30:         sprintf(info->s, "F30:%12f", ppc->f[30]); break;
1489      case CPUINFO_STR_REGISTER + PPC_F31:         sprintf(info->s, "F31:%12f", ppc->f[31]); break;
1490      case CPUINFO_STR_REGISTER + PPC_FPSCR:         sprintf(info->s, "FPSCR:%08X", ppc->fpscr); break;
13891491   }
13901492}
13911493
src/emu/cpu/powerpc/ppc.h
r5295r5296
7777   PPC_LR,
7878   PPC_CTR,
7979   PPC_XER,
80
81   PPC_F0,
82   PPC_F1,
83   PPC_F2,
84   PPC_F3,
85   PPC_F4,
86   PPC_F5,
87   PPC_F6,
88   PPC_F7,
89   PPC_F8,
90   PPC_F9,
91   PPC_F10,
92   PPC_F11,
93   PPC_F12,
94   PPC_F13,
95   PPC_F14,
96   PPC_F15,
97   PPC_F16,
98   PPC_F17,
99   PPC_F18,
100   PPC_F19,
101   PPC_F20,
102   PPC_F21,
103   PPC_F22,
104   PPC_F23,
105   PPC_F24,
106   PPC_F25,
107   PPC_F26,
108   PPC_F27,
109   PPC_F28,
110   PPC_F29,
111   PPC_F30,
112   PPC_F31,
113   PPC_FPSCR,
114
80115   PPC_MSR,
81116   PPC_SRR0,
82117   PPC_SRR1,
src/emu/cpu/arm7/arm7core.h
r5295r5296
270270#define Z_BIT   30
271271#define C_BIT   29
272272#define V_BIT   28
273#define Q_BIT   27
273274#define I_BIT   7
274275#define F_BIT   6
275276#define T_BIT   5   // Thumb mode
r5295r5296
278279#define Z_MASK  ((UINT32)(1 << Z_BIT)) /* Zero flag */
279280#define C_MASK  ((UINT32)(1 << C_BIT)) /* Carry flag */
280281#define V_MASK  ((UINT32)(1 << V_BIT)) /* oVerflow flag */
282#define Q_MASK  ((UINT32)(1 << Q_BIT)) /* signed overflow for QADD, MAC */
281283#define I_MASK  ((UINT32)(1 << I_BIT)) /* Interrupt request disable */
282284#define F_MASK  ((UINT32)(1 << F_BIT)) /* Fast interrupt request disable */
283285#define T_MASK  ((UINT32)(1 << T_BIT)) /* Thumb Mode flag */
r5295r5296
286288#define Z_IS_SET(pc)    ((pc) & Z_MASK)
287289#define C_IS_SET(pc)    ((pc) & C_MASK)
288290#define V_IS_SET(pc)    ((pc) & V_MASK)
291#define Q_IS_SET(pc)    ((pc) & Q_MASK)
289292#define I_IS_SET(pc)    ((pc) & I_MASK)
290293#define F_IS_SET(pc)    ((pc) & F_MASK)
291294#define T_IS_SET(pc)    ((pc) & T_MASK)
r5295r5296
294297#define Z_IS_CLEAR(pc)  (!Z_IS_SET(pc))
295298#define C_IS_CLEAR(pc)  (!C_IS_SET(pc))
296299#define V_IS_CLEAR(pc)  (!V_IS_SET(pc))
300#define Q_IS_CLEAR(pc)  (!Q_IS_SET(pc))
297301#define I_IS_CLEAR(pc)  (!I_IS_SET(pc))
298302#define F_IS_CLEAR(pc)  (!F_IS_SET(pc))
299303#define T_IS_CLEAR(pc)  (!T_IS_SET(pc))
src/emu/cpu/arm7/arm7.c
r5295r5296
7373   return (arm_state *)device->token;
7474}
7575
76INLINE INT64 saturate_qbit_overflow(arm_state *cpustate, INT64 res)
77{
78   if (res > 2147483647)   // INT32_MAX
79   {   // overflow high? saturate and set Q
80      res = 2147483647;
81      SET_CPSR(GET_CPSR | Q_MASK);
82   }
83   else if (res < (-2147483647-1))   // INT32_MIN
84   {   // overflow low? saturate and set Q
85      res = (-2147483647-1);
86      SET_CPSR(GET_CPSR | Q_MASK);
87   }
88
89   return res;
90}
91
7692/* include the arm7 core */
7793#include "arm7core.c"
7894
r5295r5296
341357        case DEVINFO_STR_CREDITS:          strcpy(info->s, "Copyright Steve Ellenoff, sellenoff@hotmail.com"); break;
342358
343359        case CPUINFO_STR_FLAGS:
344            sprintf(info->s, "%c%c%c%c%c%c%c %s",
360            sprintf(info->s, "%c%c%c%c%c%c%c%c %s",
345361                    (ARM7REG(eCPSR) & N_MASK) ? 'N' : '-',
346362                    (ARM7REG(eCPSR) & Z_MASK) ? 'Z' : '-',
347363                    (ARM7REG(eCPSR) & C_MASK) ? 'C' : '-',
348364                    (ARM7REG(eCPSR) & V_MASK) ? 'V' : '-',
365                    (ARM7REG(eCPSR) & Q_MASK) ? 'Q' : '-',
349366                    (ARM7REG(eCPSR) & I_MASK) ? 'I' : '-',
350367                    (ARM7REG(eCPSR) & F_MASK) ? 'F' : '-',
351368                    (ARM7REG(eCPSR) & T_MASK) ? 'T' : '-',
r5295r5296
444461            LOG( ( "arm7_rt_r_callback CR%d, RESERVED\n", cReg ) );
445462            break;
446463        case 0:             // ID
447       switch (cpustate->archRev)
464       switch(op2)
448465       {
449          case 3:   // ARM6 32-bit
450         data = 0x41;
451         break;
466          case 0:
467          switch (cpustate->archRev)
468          {
469             case 3:   // ARM6 32-bit
470            data = 0x41;
471            break;
452472
453      case 4: // ARM7/SA11xx
454         data = 0x41 | (1 << 23) | (7 << 12);
455         break;
473         case 4: // ARM7/SA11xx
474            data = 0x41 | (1 << 23) | (7 << 12);
475            break;
456476
457      case 5:   // ARM9/10/XScale
458         data = 0x41 | (9 << 12);
459         if (cpustate->archFlags & eARM_ARCHFLAGS_T)
460         {
461            if (cpustate->archFlags & eARM_ARCHFLAGS_E)
477         case 5:   // ARM9/10/XScale
478            data = 0x41 | (9 << 12);
479            if (cpustate->archFlags & eARM_ARCHFLAGS_T)
462480            {
463               if (cpustate->archFlags & eARM_ARCHFLAGS_J)
481               if (cpustate->archFlags & eARM_ARCHFLAGS_E)
464482               {
465                  data |= (6<<16);   // v5TEJ
483                  if (cpustate->archFlags & eARM_ARCHFLAGS_J)
484                  {
485                     data |= (6<<16);   // v5TEJ
486                  }
487                  else
488                  {
489                     data |= (5<<16);   // v5TE
490                  }
466491               }
467492               else
468493               {
469                  data |= (5<<16);   // v5TE
494                  data |= (4<<16);   // v5T
470495               }
471496            }
472            else
473            {
474               data |= (4<<16);   // v5T
475            }
476         }
477         break;
497            break;
478498
479      case 6:   // ARM11
480         data = 0x41 | (10<< 12) | (7<<16);   // v6
499         case 6:   // ARM11
500            data = 0x41 | (10<< 12) | (7<<16);   // v6
501            break;
502          }
503          break;
504          case 1:   // cache type
505         data = 0x0f0d2112;   // HACK: value expected by ARMWrestler (probably Nintendo DS ARM9's value)
481506         break;
507      case 2: // TCM type
508         data = 0;
509         break;
510      case 3: // TLB type
511         data = 0;
512         break;
513      case 4:   // MPU type
514         data = 0;
515         break;
482516       }
483517            LOG( ( "arm7_rt_r_callback, ID\n" ) );
484518            break;
src/emu/cpu/arm7/arm7dasm.c
r5295r5296
231231      if ((opcode & 0x0f) == 14)
232232         dasmflags = DASMFLAG_STEP_OUT;
233233   }
234       else if ((opcode & 0x0ff000f0) == 0x01600010)   // CLZ - v5
235   {
236      pBuf += sprintf(pBuf, "CLZ");
237      pBuf = WritePadding( pBuf, pBuf0 );
238      pBuf += sprintf(pBuf, "R%d, R%d", (opcode>>12)&0xf, opcode&0xf);
239   }
240       else if ((opcode & 0x0ff000f0) == 0x01000050)   // QADD - v5
241   {
242      pBuf += sprintf(pBuf, "QADD");
243      pBuf = WritePadding( pBuf, pBuf0 );
244      pBuf += sprintf(pBuf, "R%d, R%d, R%d", (opcode>>12)&0xf, opcode&0xf, (opcode>>16)&0xf);
245   }
246       else if ((opcode & 0x0ff000f0) == 0x01400050)   // QDADD - v5
247   {
248      pBuf += sprintf(pBuf, "QDADD");
249      pBuf = WritePadding( pBuf, pBuf0 );
250      pBuf += sprintf(pBuf, "R%d, R%d, R%d", (opcode>>12)&0xf, opcode&0xf, (opcode>>16)&0xf);
251   }
252       else if ((opcode & 0x0ff000f0) == 0x01200050)   // QSUB - v5
253   {
254      pBuf += sprintf(pBuf, "QSUB");
255      pBuf = WritePadding( pBuf, pBuf0 );
256      pBuf += sprintf(pBuf, "R%d, R%d, R%d", (opcode>>12)&0xf, opcode&0xf, (opcode>>16)&0xf);
257   }
258       else if ((opcode & 0x0ff000f0) == 0x01600050)   // QDSUB - v5
259   {
260      pBuf += sprintf(pBuf, "QDSUB");
261      pBuf = WritePadding( pBuf, pBuf0 );
262      pBuf += sprintf(pBuf, "R%d, R%d, R%d", (opcode>>12)&0xf, opcode&0xf, (opcode>>16)&0xf);
263   }
264       else if ((opcode & 0x0ff00090) == 0x01000080)   // SMLAxy - v5
265   {
266      pBuf += sprintf(pBuf, "SMLA%c%c", (opcode&0x20) ? 'T' : 'B', (opcode&0x40) ? 'T' : 'B');
267      pBuf = WritePadding( pBuf, pBuf0 );
268      pBuf += sprintf(pBuf, "R%d, R%d, R%d, R%d", (opcode>>16)&0xf, (opcode>>12)&0xf, opcode&0xf, (opcode>>8)&0xf);
269   }
270       else if ((opcode & 0x0ff00090) == 0x01400080)   // SMLALxy - v5
271   {
272      pBuf += sprintf(pBuf, "SMLAL%c%c", (opcode&0x20) ? 'T' : 'B', (opcode&0x40) ? 'T' : 'B');
273      pBuf = WritePadding( pBuf, pBuf0 );
274      pBuf += sprintf(pBuf, "R%d, R%d, R%d, R%d", (opcode>>16)&0xf, (opcode>>12)&0xf, opcode&0xf, (opcode>>8)&0xf);
275   }
276       else if ((opcode & 0x0ff00090) == 0x01600080)   // SMULxy - v5
277   {
278      pBuf += sprintf(pBuf, "SMUL%c%c", (opcode&0x20) ? 'T' : 'B', (opcode&0x40) ? 'T' : 'B');
279      pBuf = WritePadding( pBuf, pBuf0 );
280      pBuf += sprintf(pBuf, "R%d, R%d, R%d", (opcode>>16)&0xf, opcode&0xf, (opcode>>12)&0xf);
281   }
282       else if ((opcode & 0x0ff000b0) == 0x012000a0)   // SMULWy - v5
283   {
284      pBuf += sprintf(pBuf, "SMULW%c", (opcode&0x40) ? 'T' : 'B');
285      pBuf = WritePadding( pBuf, pBuf0 );
286      pBuf += sprintf(pBuf, "R%d, R%d, R%d", (opcode>>16)&0xf, opcode&0xf, (opcode>>8)&0xf);
287   }
288       else if ((opcode & 0x0ff000b0) == 0x01200080)   // SMLAWy - v5
289   {
290      pBuf += sprintf(pBuf, "SMLAW%c", (opcode&0x40) ? 'T' : 'B');
291      pBuf = WritePadding( pBuf, pBuf0 );
292      pBuf += sprintf(pBuf, "R%d, R%d, R%d, R%d", (opcode>>16)&0xf, opcode&0xf, (opcode>>8)&0xf, (opcode>>12)&0xf);
293   }
234294   else if( (opcode&0x0e000000)==0 && (opcode&0x80) && (opcode&0x10) )   //bits 27-25 == 000, bit 7=1, bit 4=1
235295   {
236296      /* multiply or swap or half word data transfer */
src/emu/cpu/arm7/arm7exec.c
r5295r5296
12481248                            R15--;
12491249                        }
12501250                    }
1251          else if ((insn & 0x0ff000f0) == 0x01600010)   // CLZ - v5
1252          {
1253             UINT32 rm = insn&0xf;
1254         UINT32 rd = (insn>>12)&0xf;
1255
1256         SET_REGISTER(cpustate, rd, count_leading_zeros(GET_REGISTER(cpustate, rm)));
1257
1258         R15 += 4;
1259          }
1260          else if ((insn & 0x0ff000f0) == 0x01000050)   // QADD - v5
1261          {
1262             INT32 src1 = GET_REGISTER(cpustate, insn&0xf);
1263         INT32 src2 = GET_REGISTER(cpustate, (insn>>16)&0xf);
1264         INT64 res;
1265
1266         res = saturate_qbit_overflow(cpustate, (INT64)src1 + (INT64)src2);
1267
1268         SET_REGISTER(cpustate, (insn>>12)&0xf, (INT32)res);
1269         R15 += 4;
1270          }
1271          else if ((insn & 0x0ff000f0) == 0x01400050)   // QDADD - v5
1272          {
1273             INT32 src1 = GET_REGISTER(cpustate, insn&0xf);
1274         INT32 src2 = GET_REGISTER(cpustate, (insn>>16)&0xf);
1275         INT64 res;
1276
1277         // check if doubling operation will overflow
1278         res = (INT64)src2 * 2;
1279         saturate_qbit_overflow(cpustate, res);
1280
1281         src2 *= 2;
1282         res = saturate_qbit_overflow(cpustate, (INT64)src1 + (INT64)src2);
1283
1284         SET_REGISTER(cpustate, (insn>>12)&0xf, (INT32)res);
1285         R15 += 4;
1286          }
1287          else if ((insn & 0x0ff000f0) == 0x01200050)   // QSUB - v5
1288          {
1289             INT32 src1 = GET_REGISTER(cpustate, insn&0xf);
1290         INT32 src2 = GET_REGISTER(cpustate, (insn>>16)&0xf);
1291         INT64 res;
1292
1293         res = saturate_qbit_overflow(cpustate, (INT64)src1 - (INT64)src2);
1294
1295         SET_REGISTER(cpustate, (insn>>12)&0xf, (INT32)res);
1296         R15 += 4;
1297          }
1298          else if ((insn & 0x0ff000f0) == 0x01600050)   // QDSUB - v5
1299          {
1300             INT32 src1 = GET_REGISTER(cpustate, insn&0xf);
1301         INT32 src2 = GET_REGISTER(cpustate, (insn>>16)&0xf);
1302         INT64 res;
1303
1304         // check if doubling operation will overflow
1305         res = (INT64)src2 * 2;
1306         saturate_qbit_overflow(cpustate, res);
1307
1308         src2 *= 2;
1309         res = saturate_qbit_overflow(cpustate, (INT64)src1 - (INT64)src2);
1310
1311         SET_REGISTER(cpustate, (insn>>12)&0xf, (INT32)res);
1312         R15 += 4;
1313          }
1314          else if ((insn & 0x0ff00090) == 0x01000080)   // SMLAxy - v5
1315          {
1316             INT32 src1 = GET_REGISTER(cpustate, insn&0xf);
1317         INT32 src2 = GET_REGISTER(cpustate, (insn>>8)&0xf);
1318         INT32 res1;
1319
1320         // select top and bottom halves of src1/src2 and sign extend if necessary
1321         if (insn & 0x20)
1322         {
1323            src1 >>= 16;
1324         }
1325         else
1326         {
1327            src1 &= 0xffff;
1328            if (src1 & 0x8000)
1329            {
1330               src1 |= 0xffff;
1331            }
1332         }
1333
1334         if (insn & 0x40)
1335         {
1336            src2 >>= 16;
1337         }
1338         else
1339         {
1340            src2 &= 0xffff;
1341            if (src2 & 0x8000)
1342            {
1343               src2 |= 0xffff;
1344            }
1345         }
1346
1347         // do the signed multiply
1348         res1 = src1 * src2;
1349         // and the accumulate.  NOTE: only the accumulate can cause an overflow, which is why we do it this way.
1350         saturate_qbit_overflow(cpustate, (INT64)res1 + (INT64)GET_REGISTER(cpustate, (insn>>12)&0xf));
1351
1352         SET_REGISTER(cpustate, (insn>>16)&0xf, res1 + GET_REGISTER(cpustate, (insn>>12)&0xf));
1353         R15 += 4;
1354          }
1355          else if ((insn & 0x0ff00090) == 0x01400080)   // SMLALxy - v5
1356          {
1357             INT32 src1 = GET_REGISTER(cpustate, insn&0xf);
1358         INT32 src2 = GET_REGISTER(cpustate, (insn>>8)&0xf);
1359         INT64 dst;
1360
1361         // select top and bottom halves of src1/src2 and sign extend if necessary
1362         if (insn & 0x20)
1363         {
1364            src1 >>= 16;
1365         }
1366         else
1367         {
1368            src1 &= 0xffff;
1369            if (src1 & 0x8000)
1370            {
1371               src1 |= 0xffff;
1372            }
1373         }
1374
1375         if (insn & 0x40)
1376         {
1377            src2 >>= 16;
1378         }
1379         else
1380         {
1381            src2 &= 0xffff;
1382            if (src2 & 0x8000)
1383            {
1384               src2 |= 0xffff;
1385            }
1386         }
1387
1388         dst = (INT64)GET_REGISTER(cpustate, (insn>>12)&0xf);
1389         dst |= (INT64)GET_REGISTER(cpustate, (insn>>16)&0xf)<<32;
1390
1391         // do the multiply and accumulate
1392         dst += (INT64)src1 * (INT64)src2;
1393
1394         // write back the result
1395         SET_REGISTER(cpustart, (insn>>12)&0xf, (UINT32)(dst&0xffffffff));
1396         SET_REGISTER(cpustart, (insn>>16)&0xf, (UINT32)(dst>>32));
1397          }
1398          else if ((insn & 0x0ff00090) == 0x01600080)   // SMULxy - v5
1399          {
1400             INT32 src1 = GET_REGISTER(cpustate, insn&0xf);
1401         INT32 src2 = GET_REGISTER(cpustate, (insn>>8)&0xf);
1402         INT32 res;
1403
1404         // select top and bottom halves of src1/src2 and sign extend if necessary
1405         if (insn & 0x20)
1406         {
1407            src1 >>= 16;
1408         }
1409         else
1410         {
1411            src1 &= 0xffff;
1412            if (src1 & 0x8000)
1413            {
1414               src1 |= 0xffff;
1415            }
1416         }
1417
1418         if (insn & 0x40)
1419         {
1420            src2 >>= 16;
1421         }
1422         else
1423         {
1424            src2 &= 0xffff;
1425            if (src2 & 0x8000)
1426            {
1427               src2 |= 0xffff;
1428            }
1429         }
1430
1431         res = src1 * src2;
1432         SET_REGISTER(cpustart, (insn>>16)&0xf, res);
1433          }
1434          else if ((insn & 0x0ff000b0) == 0x012000a0)   // SMULWy - v5
1435          {
1436             INT32 src1 = GET_REGISTER(cpustate, insn&0xf);
1437         INT32 src2 = GET_REGISTER(cpustate, (insn>>8)&0xf);
1438         INT64 res;
1439
1440         if (insn & 0x40)
1441         {
1442            src2 >>= 16;
1443         }
1444         else
1445         {
1446            src2 &= 0xffff;
1447            if (src2 & 0x8000)
1448            {
1449               src2 |= 0xffff;
1450            }
1451         }
1452
1453         res = (INT64)src1 * (INT64)src2;
1454         res >>= 16;
1455         SET_REGISTER(cpustart, (insn>>16)&0xf, (UINT32)res);
1456          }
1457          else if ((insn & 0x0ff000b0) == 0x01200080)   // SMLAWy - v5
1458          {
1459             INT32 src1 = GET_REGISTER(cpustate, insn&0xf);
1460         INT32 src2 = GET_REGISTER(cpustate, (insn>>8)&0xf);
1461         INT32 src3 = GET_REGISTER(cpustate, (insn>>12)&0xf);
1462         INT64 res;
1463
1464         if (insn & 0x40)
1465         {
1466            src2 >>= 16;
1467         }
1468         else
1469         {
1470            src2 &= 0xffff;
1471            if (src2 & 0x8000)
1472            {
1473               src2 |= 0xffff;
1474            }
1475         }
1476
1477         res = (INT64)src1 * (INT64)src2;
1478         res >>= 16;
1479
1480         // check for overflow and set the Q bit
1481         saturate_qbit_overflow(cpustate, (INT64)src3 + res);
1482
1483         // do the real accumulate
1484         src3 += (INT32)res;
1485
1486         // write the result back
1487         SET_REGISTER(cpustart, (insn>>16)&0xf, (UINT32)res);
1488          }
12511489                    else
12521490                    /* Multiply OR Swap OR Half Word Data Transfer */
12531491                    if ((insn & 0x0e000000) == 0 && (insn & 0x80) && (insn & 0x10))  // bits 27-25=000 bit 7=1 bit 4=1
docs/messnew.txt
r5295r5296
10.132.1
10.133
22
33New System Drivers Supported (in no particular order):
44------------------------------------------------------
r5295r5296
129129
130130Source Changes:
131131----------------
132- The core is based on MAME 0.132u5.  This incorporates all features of the
132- The core is based on MAME 0.133.  This incorporates all features of the
133133  update to this core.  [MAME team]
134134
135135- Added support for passing around 'deleted address mark' information
whatsnew.txt
r5295r5296
10.132
10.133
22-----
33
44
55MAMETesters Bugs Fixed
66----------------------
7- 03013: [Misc.] [debug] "Error: free a non-existant block" on
8         TMS57002 source generation (Atari Ace)
9- 03241: [DIP/Input] aladbl: Unable to "Press Start" (Fabio Priuli)
10- 03238: [Crash/Freeze] gtmr and clones: Access Violation (Tafoid)
7- 03191: [Crash/Freeze] armchmp2: Allowing Demo to run triggersTest
8         Mode (hap)
9- 02916: [Crash/Freeze] srmvs: [debug] Assertion (Aaron Giles)
10- 03300: [Crash/Freeze] tmmjprd, tmpdoki: [debug] Crash after OK
11         (Aaron Giles)
12- 03310: [Misc.] cobram3, cobra: Parent/clone relationship missing
13         (Aaron Giles)
14- 03311: [Misc.] p911uc, p911j: chd a00c02 is used in both clones but
15         they use different hashes (Angelo Salese)
1116
1217
13
1418Source Changes
1519--------------
16Fixed colors in the Aristocrat Mark-IV driver. [Angelo Salese]
20Added GAME_IMPERFECT_SOUND flag to taitogn.c games since we don't
21emulate the sound CPU. [Fabio Priuli]
1722
18Hooked up 2nd player mahjong panel in mjkjidai. [Angelo Salese]
23CDP1802: [Curt Coder]
24 - refactored the Q and DMA callbacks to use devcb
25 - fixed state code output and load mode
1926
20Watchdog hooked up in twinkle.c so test mode exits. [smf]
27Added FP registers to PPC debugger interface. Fixed bugs in the x64
28back-end that prevented proper 3D rendering for Model 3 games.
29[Aaron Giles]
2130
22Fixed for good the colors in 86 Lions. [Angelo Salese]
31ARM7 improvements: [R. Belmont]
32 - Added ARMv5+ CLZ instruction.
33 - Added ARMv5TE instructions: QADD, QDADD, QSUB, QDSUB, SMLAxy,
34   SMLALxy, SMULxy, SMULWy, and SMLAWy
35 - Fixed disassembly of CLZ
2336
24Fixed address line swapping in Mirax. [Olivier Galibert]
37Improved DIP switches in toypop. [kanikani]
2538
26Fixed rom 2 decryption in Mirax. [Tomasz Slanina]
39Audited and added GAME_SUPPORTS_SAVE flag to all games in the mappy.c
40driver (superpac, pacnpal, grobda, phozon, mappy, todruaga, digdug2,
41motos and clones of each) [MooglyGuy]
2742
28Improved the video emulation in Mirax. [Angelo Salese]
43Naomi update [Deunan Knute, R. Belmont]
44 - Implemented cartridge protection chip mechanism
45 - Added protection data for doa2 and doa2m
46 - Added real dumped cartridge X76F100 data for doa2/doa2m
2947
30Fixed a minor typo in the SSEM debugging features. [MooglyGuy]
48Several MESS-specific snes fixes for rendering. [Angelo Salese]
3149
32Fixed a number of year listings known to be unknown or incorrect the
33current MAME source. The source for these changes come from the book:
34Arcade TV Game List (Edition: Domestic and Overseas, 1971 - 2005).
35[Tafoid, Fujix]
50Merit Multi-Poker improvements: [Roberto Fresca]
51 * Full Inputs.
52 * DIP Switches.
53 * Simulated spark-watchdog circuitery.
54 * Demuxed custom port.
55 * NVRAM support.
56 * CPU clock derived from #defined crystal.
57 * 8000-8007 Output ports.
58 * Coin related counters.
59 * Sound components and trigger found at 8000-8003, bit2.
60 * Full lamps support.
61 * PCBs layouts & technical notes.
62The 4 games are fully playable. Sound seems to be discrete, so the
63circuitery need to be traced. Colors are still wrong.
3664
37Update ghosteo driver with information out of eolith.c about QS1000
38and added the sample rom, with a note about it NOT being dumped from
39this PCB but is a common sample rom used by Eolith. [Brian Troha]
65Added documentation regarding different Cobra Command versions.
66[Ruben Panossian]
4067
41Fixed minor cycle counting inaccuracy in Z80 core. [Marshmellow]
68Fixed card reset in Taito g-net games. [Joerg Hartenberger]
4269
43Added the concept of device contracts. A contract is a well-defined
44set of interfaces supported by a device, and identified by a unique
45string identifier. A device may support any number of contracts,
46described in a list via the DEVICE_CONTRACT_LIST* macros. The purpose
47of contracts is to provide a means for devices to expose a standard
48set of interfaces to other parts of the system. For example, the PCI
49device should expose a contract that includes functions for
50configuration register access, and 32-bit I/O. Then any device with
51a PCI interface should implement the PCI contract, so that the PCI
52bus device can route things appropriately. [Aaron Giles]
70Fixed gun and crosshair positioning in TimeCrisis and Bubble Trouble.
71[hap]
5372
54Removed the MDRV_<devtype>_REMOVE macros. A simple DEVICE_REMOVE
55works now that device types are not needed. [Aaron Giles]
73Decoded some ram based tiles in jclub2. [David Haywood]
5674
57Verified clocks on Samurai Aces pcb. [Corrado Tomaselli]
75Fixed interrupts in the cischeat driver, fixing Scud Hammer and
76Arm Champs II. [hap]
5877
59Added missing static and const qualifiers throughout the source.
60[Atari Ace]
6178
62Changed several internal interfaces to be more consistent, namely
63(1) passing device_config as a const always, (2) passing
64running_machine as a non-const always, (3) eliminating running_machine
65where possible, (4) passing machine/device first, and (5) preferring
66(screen, bitmap, cliprect) over (machine, bitmap, cliprect) when all
67are needed for rendering. [Atari Ace]
6879
69
70
7180New games added or promoted from NOT_WORKING status
7281---------------------------------------------------
73Mirax [Olivier Galibert, Angelo Salese, Tomasz Slanina]
74Super Crowns Golf [Angelo Salese, Tomasz Slanina]
75Jockey Club [Andrew Welburn, Dumping Union]
82Multi-Poker [Roberto Fresca]
7683
7784
7885
7986New clones added
8087----------------
81Shadow Force (Japan Version 3) [Guru]
88Super Free Kick (set 2) [Klaus Sommers]
8289
8390
8491
85New games marked as GAME_NOT_WORKING
86------------------------------------
87Enchanted Forest [Palindrome]
88Janputer [alien_mame, Dumping Union]
89Dolphin Treasure [AGEMAME]
90
91
92
93
940.131u4
920.132u5
9593-------
9694
9795
9896MAMETesters Bugs Fixed
9997----------------------
100- 02730: [Crash/Freeze] fiveside: Doesn't past rom check
101         (Angelo Salese)
102- 03226: [Crash/Freeze] dadandrn, mmaulers: Game sits at black screen.
103         (Tafoid)
104- 03222: [Sound] ctribe + clones: Music is missing (ShimaPong)
105- 03221: [Crash/Freeze] demonwld + clones: Game fails to start
106         (Tafoid)
107- 03217: [Misc.] All sets in twinkle.c: Beatmania IIDX chds were
108         added in chdformat < 4 (smf)
109- 03218: [Crash/Freeze] anteatgb: Game sits at POST screen (Tafoid)
98- 03250: [DIP/Input] empcity and clones: Credits are registering twice
99         (Luigi30)
100- 03309: [Crash/Freeze] All Sets in ojankohs.c: When game issues a
101         sound/voice, the game crashes (Tafoid)
102- 03308: [Crash/Freeze] overdriv: Game Resets at "Ram Check" (Tafoid)
103- 03235: [Graphics] timecris and clones: Severe graphics corruption
104         (Skeleton081983)
105- 03299: [Core] tehkanwcc: double and wrong rom definition
106         (Roman Scherzer)
107- 03305: [Graphics] blockout, blckoutj, blckout2: The text in yellow
108         on the "blockmaster" screen is corrupted (Fabio Priuli)
109- 00772: [Gameplay] burnforc: The powerup item is always "L" in mame.
110         (hap)
111- 02197: [Gameplay] rthun2, rthun2j, finehour: Black screen, game does
112         not start (Phil Bennett)
113- 03298: [Compiling] Warning at devintrf.c:128 compiling with MSVC
114         (Aaron Giles)
110115
111116
112117
113118Source Changes
114119--------------
115Fixed megadrive PAL refresh rate (for MESS). [Enik Land]
120DIPSW update [kanikani]
121 - fixed default setting of jjsquawk, marked the game as
122    IMPERFECT_SOUND, and added some notes
123 - added DIPLOCATION for toypop and liblrabl
116124
117Simplified megadriv.c input reading. [Fabio Priuli]
125Intel 8255A PPI:
126 - Added a new implementation of the I8255A device. Rewritten from
127    scratch to properly support handshaking in modes 1 and 2.
128 - Refactored sg1000a.c to use the new implementation.
118129
119Fixed NMI firing in Goal 92 (same sound hook-up as Euro League).
120[Angelo Salese]
130Redumped Konami Viper CF and NVRAM for all games and updated drivers.
131[Guru, Angelo Salese]
121132
122Replaced almost all remaining cpu[num] occurrences in src/mame/ with
123tags. [Fabio Priuli]
133Fixed Aqua Jet sample ROM loading offset again. [Phil Bennett]
124134
125Converted Dallas DS1302 RTC to a device. [Fabio Priuli]
135Fixed screen masking and left screen call drawing in tmmjprd.
136[Angelo Salese]
126137
127Fix coin issue sqixr1. [ShimaPong]
138Added hardware notes to the Quake Arcade Tournament driver.
139[vidpro1, Andrew Gardner]
128140
129Updated Intruder & Moon Base roms with PCB locations. [Brian Troha]
141Added mechanism for the laserdisc core to return 0 for the philips
142codes if video is squelched. Updated the Gottlieb and Cliff Hanger
143drivers to request it this way, since they decode externally.
144[Aaron Giles]
130145
131Corrected some rom names & added some PCB locations to pipedrm. Added
132dipswitch locations. [Brian Troha]
146Made a couple of minor tweaks to the Cliff Hanger driver. Fixed
147interrupt timing (was not taking into account interlacing) to fix up
148glitches in playback and ensure the disk test passes. Added SHA1 and
149marked the game as working. [Aaron Giles]
133150
134Corrected dipswitches in Konami's Wizz Quiz and added dipswitch
135locations. [Brian Troha]
151Promoted Final Lap 2 & Final Lap 3 to working since they just require
152to init their analog controls (same sequence as Final Lap R).
153[Angelo Salese]
136154
137Significant improvements to the Super Crowns Golf video. Also hooked
138up inputs and DIP switches. [Angelo Salese, Yasuhiro Ogawa]
155Added basic support in bitmap.c for 64-bit indexed bitmaps. As a
156result, you will need a full recompile with this change, since the
157bitmap formats enum was altered. [Aaron Giles]
139158
140Decrypted Mirax main program roms. [Olivier Galibert]
159Introduced new feature -burnin, which can be used to generate a PNG
160that represents the overall brightness seen during the course of
161running a game. This PNG can be used as a fake "bezel" that overlays
162the screen via the artwork systems (with a low alpha, say 0.1 or 0.2)
163to simulate running a game with a monitor that has been burned in
164from another game. [Aaron Giles]
141165
142Cleaned up Namco 5xxx docs, listing both MB88xx pin IDs and Namco
143custom IDs where appropriate. [Aaron Giles]
166Fixed the -crsshairpath option to be spelled properly. [Aaron Giles]
144167
145Added clocks to the Namco 06xx in anticipation of improved device
146interconnection. [Aaron Giles]
168Made pr8210 serial processing a little more robust. [Aaron Giles]
147169
148Added new file devtempl.h which can be used to generate the
149DEVICE_GET_INFO function. Updated all the Namco I/O devices to use
150this, along with the 6821pia and voodoo. [Aaron Giles]
170Fixed year for Mighty Monkey (and clones) based on US Copyright
171Searches. [Braille]
151172
152Updated galaga driver to use computed video timing. [Aaron Giles]
173ARM7 updates [R. Belmont, Ryan Holtz]
174 - Prepped to support multiple architecture versions
175 - Added ARM9 CPU type (ARMv5TE)
176 - Added mostly-stubbed system coprocessor/MMU support
153177
154Added configuration settings and analog adjusters to xml output (see
155e.g. mario or crbaloon). Also, added port categories for MESS.
156[Fabio Priuli]
178Fixed resource leak in core_fload(). [Aaron Giles]
157179
158Correct BPROM names, added PCB location and documented the BPROM type
159for Moon Base. [Smitdogg, Dumping Union]
180Added flashv2.u30 (v2 bios) to the taitogn driver. [Joerg Hartenberger]
160181
161Corrected rom names for Wing Shooting Championship and added
162documentation of the new game features of v2.00.
163[Brian Troha, Dumping Union]
182Added IDE Lock mechanism to the IDE Driver in MAME, so games on gnet
183v2 bios are working correct now (idectrl.c / idectrl.h) & taitogn.c.
184[Joerg Hartenberger]
164185
165Converted DS1302 to use devtemplate. [Fabio Priuli]
186Further improvements for Shogun Warriors:
187[David Haywood, Tomasz Slanina]
188 -- decoded tables for several of the startup commands, made some
189   observations, was unable to properly decode table 0x80, second byte
190   scrambling is .. odd, so just using extract data right now.
191 -- properly mapped inputs in Shogun Warriors
192 -- decodes a block of data used by the Japanese version (fjbuster)
193   for the character select screen. Basically block 0x40 is the same
194   as mcu block/table 0x41, but using different encryption (inline
195   encryption table + additional overlay table instead of each byte
196   being bit shifted)
166197
167Converted ADC083x converters to be MAME devices. [Fabio Priuli]
198Updated Jockey Club II notes. [David Haywood, Gerald]
168199
169Converted Fujitsu MB3773 to be a MAME device. [Fabio Priuli]
200Verified Fruits & Bunny PROM. [f205v]
170201
171Converted NEC uPD4701 to be a MAME device. [Fabio Priuli]
202Added new split tool that can be used for splitting giant files
203with per-file hashes and without corrupting them. [Aaron Giles]
172204
173Tekken Tag Tournament Japanese versions: Mark the in-practice undumped
174roms as NO_DUMP. The versions used in the source were from where from
175the export version and they're incompatible with the japanese program
176roms. [Olivier Galibert]
177205
178Converted ADC1213x converters to be MAME devices. [Fabio Priuli]
179206
180Converted RP5H01 to be a MAME device. [Fabio Priuli]
207New games added or promoted from NOT_WORKING status
208---------------------------------------------------
209Cliff Hanger [Aaron Giles, Warren Ondras, Ernesto Corvi]
210Cobra Command (M.A.C.H. 3 conversion) [Aaron Giles, Warren Ondras]
211Otenami Haiken Final (V2.07JC) [Joerg Hartenberger]
212Back Fire (Tecmo) [Tirino73, David Haywood]
181213
182Added DIP Locations and verified defaults for Speed Rumbler/Rush and
183Crash (using Speed Rumbler manual). [Tafoid]
184214
185Fixed digitalker mode 2. [Olivier Galibert]
186215
187Partially converted NEC uPD4990A RTC to be a MAME device. Moved clock
188init to device_start. [Fabio Priuli]
216New clones added
217----------------
218Witch Card (german?) [Team Europe / Dumping Union]
189219
190Added CPU core for the Manchester Small-Scale Experimental Machine
191(SSEM) from 1948. [MooglyGuy]
192220
193Updated the dipswitches and listed the dipswitches in the hvyunit
194driver. [Brian Troha]
195221
196Added documentation about the Galaxian bootleg hardware known as
197Artic Multi-System. [Brian Troha]
222New games marked as GAME_NOT_WORKING
223------------------------------------
224Shootout Pool [f205v]
225Multipede [Angelo Salese]
226Cobra Command (Data East LD) [Angelo Salese]
227Road Blaster (Data East LD) [Angelo Salese]
228Time Traveller [Angelo Salese]
229Super Cherry Master [Team Europe / Dumping Union] (incomplete set)
198230
199Added alternate read/write handlers to the Z80 PIO implementation.
200[Curt Coder]
201231
202Converted Motorola 6840PTM to be a MAME device. [Fabio Priuli]
203232
204Fixed VIA address map in 86 Lions. [Palindrome]
205
206Fixed ROM filenames of CVS Hunchback and Logger. [Andrew Welburn]
207
208Verified clocks and corrected 6502 cpu speed on "the deep".
209[Corrado Tomaselli]
210
211
212
213New clones added
214----------------
215Off Road Challenge v1.63 [Tormod, Smitdogg, Dumping Union]
216Touchmaster 5000 (v7.10 California) [Tormod, Smitdogg, Dumping Union]
217Touchmaster 7000 (v8.1X Evaluation) [Incog, Smitdogg, Dumping Untion]
218Bucky O'Hare (ver AA) [Irongiant]
219Street Fighter II - The World Warrior (World 910214, TAB Austria
220   bootleg) [TeamEurope]
221
222
223
2240.131u3
2330.132u4
225234-------
226235
227236
228237MAMETesters Bugs Fixed
229238----------------------
230- 03101: [Sound] jantotsu: Game gives incorrect calls (Angelo Salese)
231- 03196: [DIP/Input] daisyari: Game resets itself after full strip of
232         girl (Tafoid)
233- 02329: [Graphics] iganinju, plusalph and others: Very bad sprite lag
234         (Angelo Salese)
235- 03190: [Documentation] 86lions: 'Wrong' colours seem fixed when you
236         swap R/B values (Angelo Salese)
237- 03149: [Crash/Freeze] All sets in cps3.c: Access Violation
238         (Aaron Giles)
239- 03187: [Documentation] scin: Game title is different as shown in
240         picture (Fabio Priuli)
241- 03176: [Graphics] cheekyms: Graphic Regression (Pierpaolo Prazzoli)
242- 03182: [Sound] Many sets in system1.c: Missing Sound (Aaron Giles)
243- 03178: [DIP/Input] dragngun: Unable to move Crosshair (Fabio Priuli)
239- 03277: [DIP/Input] batrid & clones: If you select freeplay, hit
240         score, music & sound dips are inverted vs MAME tab
241         (Fabio Priuli)
242- 03292: [Crash/Freeze] battles, gallag, gatsbee: [debug] assert:
243         src/mame/machine/namco06.c:240: state->device[2] != NULL ||
244         config->chip2 == NULL (Fabio Priuli)
245- 03019: [Core] Sets with added Shifters: Running with the Shifter
246         changes orientation in vertical games (Mr. Do)
244247
245248
246249
247250Source Changes
248251--------------
249Fixed Oki banking in Grand Cross. [Angelo Salese]
252Fixed sound in Seibu Cup Soccer bootleg [Angelo Salese]
250253
251Added basic ADPCM support to Grand Cross [Angelo Salese]
254Removed a kludge from Sengoku Mahjong sound comms [Angelo Salese]
252255
253Fixed title screen display in Joshi Volleyball [Angelo Salese]
256K053936 cleanup and some improvements for Racin' Force [David Haywood]
254257
255Fixed sound mute for system 2 games. [Aaron Giles]
258Marked siseikat prg rom as bad dump. [Angelo Salese]
256259
257The logic for detecting merged roms did not check all the rom sources
258in the parent, leading to cases where roms from devices aren't
259detected as merged (e.g. ldv1000 in superdqs). This fixes it.
260[Atari Ace]
260Added very basic SCC68070 implementation, currently is just a basic
261m68k with 32-bits of address lines. The plan is to add the on-chip
262peripherals on the magicard.c driver then, when I get some
263consistency, hardwire it to the cpu core. [Angelo Salese]
261264
262Added save state to artmagic.c and runaway.c. [Xander]
265Better fix for Amiga AGA ddf_stop_pixel, to avoid breaking Amiga 1200
266startup screen. [Mariusz Wojcieszek]
263267
264Added newly-dumped PROMs to Robocop. [Irongiant]
268Fixed Cubo CD32 framerate to 50 [Mariusz Wojcieszek]
265269
266Added static qualifiers to recently-added code. [Atari Ace]
270Confirmed Last Duel sets and changed to use genuine GFX ROMs
271[Team Japump]
267272
268Added missing coin lockout to lottofun. [Luigi30]
273Marked vf3tb CROM0 ROMs as BAD_DUMP (they should be 4MB). Updated game
274status notes. [Phil Bennett]
269275
270Improved lamp output in MPU4.c. Redrawing now only occurs on the peaks
271of the 50Hz AC Power. [AGEMAME]
276Allow skeetsht to put some gfxs. [Angelo Salese]
272277
273Updated the megatech.c parts list with info from more carts and
274fixed some errors in the notes for the rom definitions, and arranged
275them in correct order. [Smitdogg]
278SCC68070: hooked up basic registers in the memory map. [Angelo Salese]
276279
277Added LSHIFT and RSHIFT as alises to << and >> for cheat files.
278[Pugsy]
280Update to the lastduel.c driver:
281 * Better rom load / decode for Last Duel sets [David Haywood]
282 * Readme / PCB layout [Guru]
283 * Corrected rom labels and added PCB locations to Mad Gear / LED
284    Storm sets [Brian Troha]
279285
280Added Guru-readme(TM) for Triforce. [Guru]
286model3: masked CROM bank, fixes missing gfx in several games.
287[R. Belmont]
281288
282Added Guru-readme(TM) for Sega model3 and I/O board. [Guru]
289Adds DIP port locations to Last Duel & Mad Gear sets. [Brian Troha]
283290
284Moved the configuration of m6502-family callbacks to the cpu
285configuration. [Wilbert Pol]
291Added redumped vf3tb ROMs [Guru]
286292
287Split Naomi video ram access into 32-bit / 64-bit areas pending more
288information on how they actually mirror (it's not a straight mirror).
289[David Haywood]
293Tokimeki Mahjong Paradise driver improvements:
294 - split tmmjprd / tmpdoki from rabbit.c as it uses the graphic chip
295    in a very different way, and having them together was making it
296    more difficult to make progress on [David Haywood]
297 - changed them to use custom rendering code instead of tilemaps, as
298    they can address tile data at a sub-tile level, this fixes the
299    girls in the intro [David Haywood]
300 - added inputs [Angelo Salese]
301 - added some notes about a hang, and possible reason [David Haywood]
302 - marked the graphic roms of tmpdoki as BAD as it appears to be
303    using tiles which are not present in the tmmjprd roms for the
304    title screen [David Haywood]
290305
291psattack CF card redump and ID metadata added to create a CHD. [Guru]
306ARM (26-bit): TST/TEQ should only update flags. This eliminates the
307need for patches in poizone/ertictac, all deco32 games still run
308(including hvysmsh), and it better matches the documentation.
309[R. Belmont]
292310
293H8 series MCU updates: [R. Belmont]
294 - Implemented 8-bit timers and free-running counter for H8/3334
295 - Added bld #imm, @Rd instruction
296 - Improvements to interrupts and the serial ports
311Updated the Led Storm Rally 2011 set with the new roms as per the
312Guru's info. Marked this game as GAME_IPERFECT_GRAPHICS due to the
313bad sprite ect. [Brian Troha]
297314
298Namco System 23 update: [R. Belmont]
299 - Changes and documentation added on how the I/O board is hooked up.
300The H8/3334 based TSS-I/O board sometimes handshakes successfully in
301Time Crisis 2 now but timing-related problems remain.
315Corrected p911uc compact flash dump by Guru. [Angelo Salese]
302316
303Namco System Super 22 update: [R. Belmont]
304 - Reimplemented SPOT RAM - Tokyo Wars relied on some details not
305    previously seen
306 - Fixed uninitialized RAM area that caused random sprite colors
307    since 0.120 (thanks to Phil Bennett for debugging the problem)
308 - Updated Guru Readme(tm)
317Added fade in/fade out effects for tmmjprd [Angelo Salese]
309318
310Fixed Aliens P2 inputs. [stephh]
319Document the Pacman on Tecmo World Cup '90 hardware. Lists the roms
320plus CRC32 / SHA1 in the comment section to prevent it from turning
321up as a newly "found" game and to show users MAME is aware of it
322existence. [Brian Troha]
311323
312Gladiator coinage fix. [Tafoid]
324Add gun I/O board to Teraburst and hook up 68k/PPC comms. Not sure how
325the guns are read yet but this fixes the CALL ATTENDENT immediate
326death and the game runs fine now. [R. Belmont]
313327
314Fixed regressed sound in wc90b.c. Also fixed nested NMIs, improving
315msm sound, and converted memory maps to current standards.
316[Angelo Salese]
328Changes to support address maps for arbitrary devices: [Aaron Giles]
317329
318Corrected the 202 entry in the LFO Frequency Table (and comments for
319it) for the YMF271 based on a formula by Olivier Galibert.
320[Brian Troha, Roman Scherzer]
330- Moved address_map array from cpu_config to device_config. Added MDRV
331  macros in the device for specifying address maps. Changed the memory
332  system to fetch the maps from the new location.
321333
322Added PCB rom locations to Dog Fight (Thunderbolt) romdef as well as
323the bprom type. [Brian Troha]
334- Moved the address-space related get_info constants to devintrf
335  (including endianness). Removed space array from the CPU class
336  header. Made the memory system much more device-neutral. Various
337  other cleanups along the way.
324338
325Fixed ROM filename for Battle Zone. [Andrew Welburn]
339- Expanded address maps from 3 to 4. Moved ADDRESS_SPACE_PROGRAM/DATA/
340  IO constants to cpuintrf, as those names are really only applicable
341  to CPUs. Added new ADDRESS_MAP_0/1/2/3 constants to identify address
342  maps more generically.
326343
327Added basic MSM support for Super Crowns Golf, and fixed NMI
328generation. Also found & hooked up the flip screen bit, and cleaned
329up the memory maps. [Angelo Salese]
344- Updated memory system to be more general about address map handling.
345  Added the concept of default address maps (in addition to the
346  already existing internal memory maps). The difference between
347  internal and default memory maps is that internal memory maps always
348  override everything (including user-specified maps), but default
349  memory maps simply provide a default that can be overridden.
330350
331Hooked up sprite buffering in the Jaleco Mega System 1 driver.
332[Angelo Salese]
351- Converted the okim6295 sound driver to use address maps for access.
352  By default, it defines a ROM address map that overlays its full
353  region. As a result, the validity checks require all okim6295
354  regions to be at least 256k, unless you provide your own address
355  map. Updated all regions to meet this requirement.
333356
334Corrected Euro League clock speeds. [Mike Coates]
357- Updated the atarijsa code to use a custom address space for its
358  okim6295 accesses (which are banked on the first half and static on
359  the second half), as an example of configuring a device with a
360  custom address space.
335361
336Fixed ADPCM stop flag in Jantotsu, and cleaned up some routines in the
337driver. Added an heuristic table for the msm samples. Fixed MSM
338frequency. [Angelo Salese]
362- For now, attempts to use okim6295_set_bank_base() will still work,
363  though banking for the okim chips should be moved to custom address
364  maps in the drivers eventually. The first time
365  okim6295_set_bank_base() is called, it will install a banked memory
366  handler over the region and use memory_set_bankptr() to change the
367  base on subsequent bank switches.
339368
340Hooked up sound in Super Shanghai Dragon's Eye. [Angelo Salese]
369- Moved address map validity checks to be run for each device instead of
370  just each CPU.
341371
342Fixed some dip-switches quirks in the Mexico 86 driver and enabled the
343single board 4 players mode. [Angelo Salese]
372Removed PREDECODE_GFX compile flag, as the on-the-fly decoding seems
373to be working reliably. Deprecated the ROMREGION_DISPOSE flag, as 98%
374of the use of it no longer is applicable with on-the-fly decoding,
375and the remaining cases are difficult to identify among the others.
376[Aaron Giles]
344377
345Improved timing of communication between the main and sound cpus in
346the megadriv driver. [Wilbert Pol]
378Documentation updates: [Kevin Eshbach]
379 * For Super Basketball adds the rom locations for those that were
380    missing before and adds the jumper settings
381 * Documents the SEGA cpu part number for Future Spy and Super Zaxxon
347382
348Fixed flickering in Super Shanghai Dragon's Eye on girl presentation
349screens. Split memory maps for the different sshangha version, and
350fixed sound in the parent set. [Angelo Salese]
383safarir: fixed colors and filenames, and added samples [Hau]
351384
352Added I8751 ROM to sqixu [Dr. Decapitator, Nicola Salmoria]
385Update Deniam driver YM3812 clocks to match recording.
386[Lord Nightmare]
353387
354Fixed sqix/sqixa bootleg MCU bad dump by comparison with the original.
355[Nicola Salmoria]
356
357Fixed coin lockout in Tetris (Arkanoid HW) and removed the
358GAME_WRONG_COLORS flag since the colors are correct. [Angelo Salese]
359
360Added MSM hook-up for Ganbare Chinsan Ooshoubu. [Angelo Salese]
361
362Fixed background colors in Tryout and cleaned-up the NMI firings on
363coin insertion. [Angelo Salese]
364
365Cleaned-up the Mazer Blazer driver. [Angelo Salese]
366
367Fixed foreground color offsets in Tryout, game colors should now be
368100% accurate. Also fixed flip X on the sprites, fixed scrolling
369issues, and added screen disable flag. [Angelo Salese]
370
371Disabled unused variables in the project that were only assigned to
372but never used. [Oliver Stoeneberg]
373
374Removed the pulse input on the touchscreen for the touchmaster
375drivers, making centipede returns (tm4k), breakout3k (tm3k),
376wordsearch (tm8k) and possibly other games playable do to the need for
377"dragging" the screen. An example of this is the word search game
378where it is necessary to drag from the start letter to the end to
379highlight the selection, which is not possible with a pulse input.
380[Mike Green]
381
382Corrected the clock speed for Pirate Ship Higemaru. [Stefan Lindberg]
383
384Hand-tuned bgm OKI sound chip frequency in mirage.c. [Angelo Salese]
385
386Added readmes to Jail Break, Ninja Warriors, Operation Wolf and
387Rainbow Islands. [Guru]
388
389Fixed sound banking and priorities in Mirage Youjuu Mahjongden.
390[Angelo Salese]
391
392Decoded color proms and fixed bitplanes in Mirax. [Angelo Salese]
393
394CPUs actually take some time to reset. Changed the 68000/68010 to
395eat an appropriate number of cycles after a reset. [Aaron Giles]
396
397Sega System 16A changes: [Aaron Giles, Dr. Decapitator]
398 * Added MCU dumps to quart21 and bodyslam
399 * Hooked up MCU in these games
400 * Marked games using simulated MCU as "unemulated protection"
401    as the MCUs clearly do more than what we are simulating
402
403Eliminated SMH_* usage in all memory maps in drivers beginning with
404A and B. [MooglyGuy]
405
406Added some security custom info to the Sega drivers
407(from http://www.higenekodo.jp/sega_n.htm). [Yasuhiro Ogawa]
408
409Converted the Namco 50xx, 51xx, 52xx, 53xx, 54xx, and 06xx into
410proper devices. [Aaron Giles]
411
412Added DERIVED_CLOCK() macro which can be used by sub-devices to
413derive their clock from the parent device. [Aaron Giles]
414
415Tweaked some of the laserdisc interfaces to use ROM_NAME() and
416MACHINE_DRIVER_NAME() macros. [Aaron Giles]
417
418Changed the Namco 52xx and 53xx devices to run the actual MCU instead
419of simulating the behavior. Hooked them up properly in bosco, digdug,
420and polepos. [Aaron Giles]
421
422Fixed Bronx regression. [Angelo Salese]
423
424Guessed ADPCM PAL shuffling in Idol Janshi Suchie-Pai Special, it
425sounds better but I'm not sure if it's 100% accurate (I need a
426side-by-side test). [Angelo Salese]
427
428Added mirrors to Pole Position memory maps. [Aaron Giles]
429
430DIP switch changes: [kanikani]
431 - added DIPLOCATION to scontra and thunderx
432 - added some DEF_STRs (Difficult, Very Difficult, etc.) and modified
433    drivers using them
434
435Added internal memory maps and internal clock divider to the MB88xx
436CPUs. Removed now-redundant memory maps from drivers and removed
437explicitly-specified clock dividers. [Aaron Giles]
438
439Continued changing CPU references from numbers to tags in drivers.
388Added comment about galaga.c bootlegs using 06XX emulation.
440389[Fabio Priuli]
441390
442Preliminary work on beatmania iidx, still lots to do. [smf]
391Fixed Aqua Jet sample ROM loading [skeleton081983]
443392
444Several MB88xx changes/fixes: [Aaron Giles]
445 - internal timer support now works; prescaler is guessed based
446    on Pole Position sample playback frequency
447 - external counter support works
448 - a basic mechanism for reading serial input has been added; it
449    is not sufficient for a full implementation, but good enough
450    to sample the SI pin at startup
451 - fixed TSTS/TSTV to clear their respective flags
452 - fixed CI and CYI to compute imm-reg instead of reg-imm
453 - added masking of the PA register upon RTI/RTS to prevent bogus
454    PC values
393Fixed a HD6309 core bug/typo in the divq_im opcode. [Romain Tisserand]
455394
456Fixes compilation with ARM7_DEBUG_CORE enabled.
457[Reijo Tomperi, Oliver Stoeneberg]
395Improved Jockey Club 2 driver organization: [David Haywood]
396 - added different machine drivers for the different sets.
397 - added an st0016 to the 'older hardware' machine driver, that's
398    what the 'z80' rom on it is for (see st0016.c)  the newer
399    hardware and bootleg don't use it.
400 - still waiting for proper gfx dumps
458401
459Added support for parsing horizont.ini or vertical.ini based on the
460game's orientation. [Krick]
461402
462Made a pass at shuffling/improving the system 16 and 18 bootlegs.
463Some games are probably more broken now, but they are better
464structured for future improvements. [David Haywood]
465403
466Fixed a few potential memory leaks detected by cppcheck and also added
467an errormessage to verinfo. [Oliver Stoeneberg]
468
469Added Guru-readme(TM) for TWINKLE hardware. [Guru]
470
471
472
473404New games added or promoted from NOT_WORKING status
474405---------------------------------------------------
475Aqua Jet (Rev. AJ2 Ver.B) [Guru, R. Belmont, Phil Bennett]
406Mahjong Private [Ali, Uki]
407Tokimeki Mahjong Paradise - Dear My Love [David Haywood, Angelo Salese]
408Tokimeki Mahjong Paradise - Doki Doki Hen [David Haywood, Angelo Salese]
409Woodpecker (set 2) [Guru]
410Teraburst (1998/07/17 ver UEL) [Guru, Mark Frisbee]
411(Greyhound) Trivia (Questions Series 11) [Brian Troha, Dumping Union]
476412
477413
478414
479415New clones added
480416----------------
481Wizard Fire (Over Sea v2.1) [Irongiant]
482US AAF Mustang (TAB Austria bootleg) [Klaus Sommer]
483Chaos Heat (World) [Tormod / Brian Troha]
484Bloody Roar (Japan) [D. Alves, Smitdogg, Dumping Union]
485Fighters' Impact (Japan) [TH60]
486Ehrgeiz (Japan) [Uki]
487Super Qix (World, Rev 2) [Stefan Lindberg]
488High Impact Football (rev LA5 02/15/91)
489  [Tormod, Smitdogg, Dumping Union]
490Intruder [Smitdogg, jmurjr, ranger_lennier]
491Pro. Sports (alternate) [Smitdogg] -- not working
492Forgotten Worlds (World) [Corrado Tomaselli]
493Cherry Bonus III (alt) [David Haywood]
417Millennium Nuovo 4000 (Version 1.3) [Tomasz Slanina]
418Millennium Nuovo 4000 (Version 1.6) [Tomasz Slanina]
419The Next Space (Japan, licensed to PIC) [Team Japump]
420Peter Pan [David Haywood]
421Knights of the Round (World 911127, bootleg) [David Haywood]
422Tehkan World Cup (set 3, bootleg) [David Haywood]
423International Toote II (World?) [David Haywood]
424SportTime Table Hockey (Arcadia, set 2) [Siftware]
425World Darts (Arcadia, set 2) [Siftware]
426Ninja Mission (Arcadia, set 2) [Siftware]
427Sidewinder (Arcadia, set 2) [Siftware]
494428
495429
496430
497431New games marked as GAME_NOT_WORKING
498432------------------------------------
499Alpine Racer 2 (Rev. ARS2 Ver.A) [Guru]
500Tokyo Wars (Rev. TW2 Ver.A) [Guru, R. Belmont, Phil Bennett]
501Microman Battle Charge [Guru]
502Technical Bowling [Guru]
503Enchanted Forest (E - 23/06/95, Local) [AGEMAME]
504Golden Pyramids (B - 13-05-97, USA) [AGEMAME]
505Queen of the Nile (B - 13-05-97, NSW/ACT) [AGEMAME]
506Super Cherry Master / New Cherry Gold '99 [David Haywood]
507Super Cherry Master / Super Cherry Gold [David Haywood]
508Super Cherry Master / Grand Cherry Master [David Haywood]
433Pirati [Tomasz Slanina]
434Johnny Nero Action Hero [R. Belmont, The Dumping Union]
435Poly-Net Warriors [Uki]
436Sunset Riders (bootleg of Megadrive version)
437  [Gatinho, Smitdogg, Dumping Union, David Haywood]
438The House of the Dead III [GDX-0001] [MAME Italia]
439Jockey Club II (2 sets) [David Haywood]
440Quake Arcade Tournament [Siftware]
441Turret Tower [Siftware]
509442
510443
511444
5120.131u2
4450.132u3
513446-------
514447
515448
516449MAMETesters Bugs Fixed
517450----------------------
518- 03173: [Sound] Many sets using atarijsa.c: Audio samples are
519         incorrectly pitched (Phil Bennett)
520- 03171: [Crash/Freeze] pang, spang, pompingw, pkladies: Ram error
521         during the boot checking of the games. (Pierpaolo Prazzoli)
522- 03170: [Sound] mtrap and clones: Sound effects cycle constantly
523         while playing (Fabio Priuli)
524- 03169: [Crash/Freeze] All sets in hvyunit.c: Access Violation
525         (Angelo Salese)
526- 03168: [Sound] All sets in halleys.c: Audio is missing completely
527         (Fabio Priuli)
528- 03167: [Color/Palette] fromancr, fromanc4: Second screen has
529         incorrect palette/colors (Fabio Priuli)
530- 03166: [Graphics] tattass, tattassa: Missing Graphics (Fabio Priuli)
531- 03153: [Crash/Freeze] penbros: Access Violation (Mamesick)
532- 03163: [Graphics] sailormn, sailormo: Playfield Graphics regression
533         (Mamesick)
534- 03150: [Crash/Freeze] metmqstr, nmaster: Access Violation (Mamesick)
535- 03162: [Sound] baddudes, hbarrel, birdtry, robocop, hippodrm,
536         ffantasa : Game has no sound at all (Angelo Salese)
537- 03147: [Misc.] shtngmst, shtngmst1: wrong sha1 values for shooting
538         master ic74 (Nicola Salmoria)
539- 03160: [Crash/Freeze] tubepb: Access Violation (Fabio Priuli)
540- 03152: [Crash/Freeze] All Sets in nss.c: Access Violation
541         (Fabio Priuli)
542- 03151: [Crash/Freeze] jajamaru, mightybj, topgun, vsgshoe: Access
543         Violation (Fabio Priuli)
544- 03154: [Crash/Freeze] All sets in pooyan.c: Access Violation
545         (Fabio Priuli)
546- 03157: [Crash/Freeze] All Sets in policetr.c: Access Violation
547         (Fabio Priuli)
548- 03159: [Crash/Freeze] superchs: Access Violation (Fabio Priuli)
549- 03148: [Crash/Freeze] All sets in konamigx.c: Access Violation
550         (Fabio Priuli)
551- 03146: [Compiling] cpu\vtlb.c 64 bit warning: 64bit vs compile
552         warnings (smf)
451- 03288: [Sound] raiga, stratof: Sound is messed up (Mamesick)
452- 03185: [Interface] All games using Lightguns: [debug] Bitmap memory
453         Leak (Firewave)
454- 02797: [Core] hangplt: Hang Pilot no longer boots since the new PPC
455         DRC went in (Phil Bennett)
553456
554457
555458
556459Source Changes
557460--------------
558Added notes to several drivers indicating specifically that an MCU
559is needed for decapping. [Angelo Salese]
461mlanding: fixed sub CPU reset line,fixed main-to-sound CPUs comms,
462added PORT_TOGGLE for the inputs and fixed color banking. Fixed analog
463inputs. Added DSP and background graphics. [Angelo Salese]
560464
561Naomi renderer: add all 64 blending modes, and made it anal-retentive
562where it comes to position precision. [Olivier Galibert]
465Added redumped sample ROMs to Hang Pilot. [Guru]
563466
564Converted Irem M14 HW to tilemaps and cleaned-up the driver.
565[Angelo Salese]
467Mapped Player 2 Start in Salary Man Champ [smf]
566468
567Renamed yumefuda.c/hanaroku.c drivers to albazg.c/albazc.c (like they
568should be properly named). [Angelo Salese]
469Marked all beatmania iidx games as not working. [smf]
569470
570Added MCU no dumps for the Grand Striker driver. [Angelo Salese]
471mlanding: fixed foreground framebuffer graphics [Phil Bennett]
571472
572Fixed background colors in Alien Command. [Angelo Salese]
473Fixed AGA display window start and stop (fixes startup screen and
474lsrquiz & lsrquiz2 missing graphics) [Mariusz Wojcieszek]
573475
574Added profile markers to naomi, to see what % of cpu time things are
575using. [David Haywood]
476Added PCB location to several rom sets in the asteroid.c driver.
477[Brian Troha]
576478
577Lowered the AY-8910 volumes in the adp driver. [Angelo Salese]
479Added TMS0980 cpu core. [Wilbert Pol]
578480
579Some Maple fixes, now Street Fighter Zero 3 Upper should be fully
580playable. [Angelo Salese]
481mc68hc11 improvements: [Angelo Salese]
482 * Added STX DIR, STY DIR opcodes.
483 * Fixed a bug with TAP opcode.
484 * Fixed internal RAM/internal I/O start-up state.
485 * Fixed the I/O system by changing the has_io flag with a
486    has_extended_io flag (switch between 0x40 and 0x100 I/O registers)
487    the latter is used by the Taito JC HC11 CPU only at the current
488    time.
489 * Fixed a register r/w to allow Skeet Shooter to put some gfxs.
581490
582Added cart info documentation update for the two resent Mega-Tech cart
583dumps: Shadow Dancer & Streets of Rage. [Brian Troha]
491Added default monochrome amber and green palettes. [Curt Coder]
584492
585Merged memory maps in the following remaining drivers and cleaned up
586some comments: homedata.c, intrscti.c, inufuku.c, irobot.c, jack.c,
587kaneko16.c, naughtyb.c, scobra.c, scramble.c, slapfght.c, spaceg.c.
588[MooglyGuy]
493Redumped m1 ROM of minasan [Team Japump]
589494
590Fixed Naomi bug in computedilated, was causing bad portraits in
591shikgam2. [David Haywood]
495PPCDRC: fix flags on STWCX and fix FMULS to use the correct registers.
496[R. Belmont]
592497
593Removed second parameter from MDRV_CPU_PROGRAM_MAP, MDRV_CPU_DATA_MAP,
594and MDRV_CPU_IO_MAP. For the remaining drivers that used multiple
595address maps, converted them to use AM_IMPORT_FROM to import the base
596map. [Aaron Giles]
498Some improvements to the unkch romsets [David Haywood]
597499
598Added bilinear filtering to Naomi video emulation. Textures are still
599a bit crawly since we're always using the lowest MIP level.
600[MooglyGuy, Aaron Giles]
500Fixed Model 3 Real3D DMA source addressing. [Phil Bennett]
601501
602Short-circuit the naomi rendering in non-textured cases, prevents a
603lot of bad graphics. [David Haywood]
502Fixed a graphic bug with Saboten Bombers. [Angelo Salese]
604503
605Fixed tubepb regression. [Fabio Priuli]
504Fixed magtruck to use the alternate EEPROM. [R. Belmont]
606505
607Added MC-8123 key for Gigas. Of course the game still doesn't work
608because the program ROM is missing. [Nicola Salmoria]
506Updated drummania 2nd mix and 2nd mix power up ver chds. [smf]
609507
610Applied some of the Naomi exclusive texture mode rules.
611[David Haywood]
508Adds latest US BIOS to the Naomi driver. Adds EPR-21577G, version 1.70
509[Gerald (COY), Dumping Union]
612510
613Added a work-around for the UART FIFO read only status register on the
614SH-4 to make Tetris Kiwamemichi happy to boot. It crashes shortly
615after that like La Keyboard though (jumps to an unmapped address).
616[Angelo Salese]
511Added kludges to get racin force / open golf past the initial check
512screens with the TMS emulation enabled. [David Haywood]
617513
618Hacked the Naomi YUV interrupt to fire when the base register is
619written.  (Currently looking at implementing properly, but this
620prevents KuruCham and SS2005 from hanging). [David Haywood]
514Fixed an assert when using the 80188 CPU. [Dirk Best]
621515
622Converted namcos2.c, niyanpai.c and nbmj9195.c to use AM_IMPORT_FROM
623instead of macros. [Angelo Salese]
516Verified/changed clocks on Black Heart. [Corrado Tomaselli]
624517
625Fixed regression for mitchell.c games. [Pierpaolo Prazzoli]
518Model 3 driver updates: [R. Belmont]
519 - Interrupt controller improved
520 - Fixed chip IDs for magtruck and von254g
521 - Various notes for working out additional issues
626522
627Added MCU no-dump to Air Buster. [Angelo Salese]
523Removed old drawgfx APIs after converting the remaining drivers to
524the new ones. [Atari Ace, Aaron Giles]
628525
629Commented out the ACIA irq, was causing missing bgms in Street
630Fighter Zero 3 Upper. [Angelo Salese]
526PPCDRC: Generate some FPSCR flags [Phil Bennett]
631527
632Improved the debugging on the Naomi Wave DMA handler. [Angelo Salese]
633528
634Converted DJ Boy memory maps to current standards. [Angelo Salese]
635529
636Fixed pipedrm tag problem. [Fabio Priuli]
637
638Fixed ninjakd2 DIPSW and notes. [kanikani]
639
640Fixed a couple of bugs in cave.c and seta2.c introduced with the
641memory map merges. [Fabio Priuli]
642
643MCS-51 fixes: [Aaron Giles]
644 * jb int0,<self> loops are now broken out of if int0 comes and is
645    taken
646 * externally-clocked counters only count when enabled
647 * internal RAM no longer wraps when accessed out of bounds
648
649System 1 changes: [Aaron Giles]
650 * hooked up 8751 properly
651 * removed old 8751 hacks
652 * shuffled Shooting Master sets
653
654Fixed tattass regression from map merging. [Fabio Priuli]
655
656Fixed P2 palette write handlers for fromancr and fromanc4.
657[Fabio Priuli]
658
659Fixed halleys.c sound: ay8910 write handlers work on two bytes.
660[Fabio Priuli]
661
662Marked polystar, hellngt and totlvice CHDs as bad. Will be replaced
663soon. [Guru]
664
665Added missing YMZ280B ROM to evilngt/hellngt. [Guru]
666
667Fixed regression on homedata.c driver. [Angelo Salese]
668
669Fixed Legend of Makai regression. [Angelo Salese]
670
671Removed "BAD_DUMP" from the Red Baron AVG bprom, it has been verified
672correct (contents and label) by the Dumping Union. [Smitdogg]
673
674Improved the single board 4p mode in Kick N Run / Mexico 86. It
675basically works but 2p mode is broken so I still keep it as disabled
676by default. [Angelo Salese]
677
678Fixed Kiki Kai Kai exception. [Angelo Salese]
679
680Dumped io board rom to Dynamic Golf. [Guru]
681
682Fixed King Derby sprites wrap-around and flip x positioning.
683[Angelo Salese]
684
685
686
687530New games added or promoted from NOT_WORKING status
688531---------------------------------------------------
689PT Reach Mahjong [Angelo Salese]
690Otenami Haiken (V2.04J) [Joerg Hartenberger, Guru]
691Shanghai Sangokuhai Tougi (Ver 2.01J) [Joerg Hartenberger, Guru]
692Choplifter (8751 315-5151) [The Decapping Project, Aaron Giles]
693Shooting Master (EVG, 8751 315-5159a)
694  [The Decapping Project, Aaron Giles]
695Noboranka [The Decapping Project, Aaron Giles]
532Hyper Bishi Bashi Champ (2 sets) [smf]
533Bass Angler 2 (GE865 VER. JAA) [smf]
534Laser Quiz [Mariusz Wojcieszek, stephh]
535Laser Strixx 2 [Mariusz Wojcieszek, stephh]
536Laser Quiz 2 [Mariusz Wojcieszek, stephh]
537Magic Number [Mariusz Wojcieszek, stephh]
538Magic Premium [Mariusz Wojcieszek, stephh]
696539
697540
698541
699542New clones added
700543----------------
701Samurai Nihon-ichi (set 3, harder) [f205v]
702Hatris (US) [Andrew Welburn]
544E-Jan Sakurasou (v1.2) [The Guru]
545Bloody Roar 2 (World) [Brian Troha]
546Super Basketball (version I, encrypted)
547   [Mr Goodwraith, Smitdogg, Dumping Union]
548Super Locomotive (Rev.A) [Team Japump]
549Mario Bros. (US, Revision F) [Mr Goodwraith, Smitdogg, Dumping Union]
550Pae Wang Jeon Seol / Legend of Warrior (Korean censored) [Guru]
551Fruits & Bunny (clone of Country Girl) [TeamEurope, Dumping Union]
552Lost World (older) [Team Japump]
553Cactus (clone of Saboten Bombers)
554   [TeamEurope, Dumping Union, David Haywood]
555Sunset Riders (bootleg of Megadrive version)
556   [Gatinho, Smitdogg, Dumping Union, David Haywood]
703557
704558
705559
706560New games marked as GAME_NOT_WORKING
707561------------------------------------
708IQ Pipe [SoftwareThis]
562Mahjong Shiseikatsu [Uki, Ali]
563Skeet Shot [Phil Bennett, Andy Welburn, Angelo Salese]
564Magical Truck Adventure [R. Belmont]
709565
710566
711567
7120.131u1
5680.132u2
713569-------
714570
715571
716572MAMETesters Bugs Fixed
717573----------------------
718- 03144: [DIP/Input] piratpet: [possible] Button 2 skips level
574- 02974: [Crash/Freeze] dmdtouch: Freeze/Hang of process
575         (Angelo Salese)
576- 03278: [Gameplay] steelwkr: Inserting a coin at certain moments
577         during attract mode results in a broken game. (Hau)
578- 03276: [Sound] bangball, balcube, batlbubl, daitoa: Missing sound
719579         (Fabio Priuli)
720- 03126: [Gameplay] sbishi: When Player 2 plays alone, strange things
721         happen. (David Haywood)
722- 03143: [Graphics] screwloo: screwy graphics area on one screen
723         (Pierpaolo Prazzoli)
724- 03129: [DIP/Input] xmen: Directional controls re-arranged
725         (Fabio Priuli)
726- 00487: [Misc.] groundfx: It has wrong default NVRAM settings,
727         especially about the lap number (1) and the coin/credit
728         settings (1/2). (Angelo Salese)
729- 03104: [Graphics] captaven and clones: No enemies appear in the
730         second phase. (Pierpaolo Prazzoli)
580- 03267: [Crash/Freeze] arabian, arabiana: Game Hangs In demo or play
581         (Tafoid)
731582
732583
733584
734585Source Changes
735586--------------
736Deprecated device_set_info. Almost all devices had a NULL or empty
737function here. Remaining devices have been converted to have
738device-specific functions to do the same thing with proper type
739checking. CPUs still have a set_info function but it is CPU-specific
740now and no longer piggybacks on the general device function.
741[Aaron Giles]
587Added sound to bayrouteb2. [Angelo Salese]
742588
743Changed UI to ignore selection from lightguns when off screen. This
744stops selection of Gun X Gun Y if you move the gun out of range.
745[Derrick Renaud]
589Identified the main CPU in Pachi Fever [Olivier Galibert, Wilbert Pol]
746590
747Moved stv_vdp2_dynamic_res_change() function outside of VIDEO_UPDATE
748in ST-V. [Angelo Salese]
591Fixed sprite flipping bits in Pro Sports [Angelo Salese]
749592
750Memory map merging for the NMK16 driver and cleaned-up some unneeded
751video code. [Angelo Salese]
593Cleaned up sexyboom memory map. [Angelo Salese]
752594
753Made Hyper Pacman run with protection code from decapped MCU rather
754than simulation. [Guru, David Haywood]
595Identified the main CPU in Hit Poker [Olivier Galibert]
755596
756Added a large gfx decode using macros to allow the textures on hng64
757to be viewed, handy for verifying the dumps. [David Haywood]
597Fleshed out the MC68HC11 CPU core, adding support for numerous new
598opcodes and basic IRQ support. [Angelo Salese]
758599
759Audited code and added savestate support to the following drivers:
760[MooglyGuy]
761 - dotrikun.c (dotrikun, dotriku2)
762 - espial.c (espial, netwars)
763 - zodiack.c (zodiack, dogfight, moguchan, percuss, bounty)
600Improved/fixed ROM names for Mortal Kombat 4. [Brian Troha]
764601
765Merged memory maps in the Dottori Kun driver [MooglyGuy]
602Add correct keys for Sports Shoting USA and Ranger Mission
603[Andreas Naive]
766604
767Merged memory maps for the following drivers: [MooglyGuy]
768 - battlex.c, buggychl.c, bwing.c, carjmbre.c, cbuster.c, chaknpop.c
769 - changela.c, chqflag.c, circus.c, cischeat.c
770 - cave.c, circusc.c, citycon.c, cninja.c, combatsc.c, compgolf.c,
771    contra.c, cop01.c, cosmic.c, cps2.c, crimfght.c, crospang.c,
772    crshrace.c, and cshooter.c
773 - ssv.c
774 - dambustr.c, darius.c, darkhors.c, darkseal.c, dassault.c, dbz.c,
775    dcon.c, dday.c, ddenlovr.c, ddragon3.c, ddrible.c, dec0.c, dec8.c,
776    deco32.c, deco_mlc.c, deniam.c, dietgo.c, discoboy.c, diverboy.c,
777    dogfgt.c, dooyong.c, dragrace.c, dribling.c, drmicro.c
778 - egghunt.c, epos.c, esd16.c, espial.c, exedexes.c, exzisus.c
779 - f1gp.c, fastlane.c, firetrap.c, flkatck.c, flstory.c, freekick.c,
780    fromanc2.c, fromance.c, funkybee.c, funkyjet.c, funybubl.c,
781    fuukifg2.c, fuukifg3.c
782 - gaelco.c, gaelco2.c, gaiden.c, galaga.c, galastrm.c, galaxold.c,
783    galivan.c, gaplus.c, gbusters.c, gcpinbal.c, genesis.c, gijoe.c,
784    ginganin.c, glass.c, gng.c, goal92.c, goindol.c, gomoku.c,
785    gotcha.c, gotya.c, gridlee.c, gstriker.c, gumbo.c, gunbustr.c
786 - halleys.c, hanaawas.c, hanaroku.c, hcastle.c, hexa.c, hexion.c,
787    higemaru.c, hnayayoi.c, holeland.c, homedata.c, hshavoc.c,
788    hyhoo.c, hyperspt.c
605Added extremely rudimentary Atmel 8-bit AVR CPU core, missing most
606opcodes and any attempt at proper cycle counts. [MooglyGuy]
789607
790Merged memory map in ltcasino.c, Lemmings, quizdna.c, pushman.c,
791popper.c, sshangha.c. [Angelo Salese]
608Added PCB layout for Gaelco's Bang!, corrected Bang! rom names and
609minor correction of Snowboard PCB layout [Brian Troha]
792610
793Added irq acks to the snowbros.c driver and merged memory maps on it.
794[Angelo Salese]
611Fixed gfx decoding in Hit Poker [David Haywood]
795612
796TLCS-900/H cpu core fixes: [Wilbert Pol]
797 - Reimplemented hdma
798 - Fixed bugs in the EX (mem), R instructions.
613Made some logic fixes to Hit Poker and significantly improved the
614video. [Angelo Salese]
799615
800Merged memory map and worked out some sound related stuff in Pass.
801[Angelo Salese]
616hachamf: redumped GFX maskROM and corrected filename [Team Japump!!!]
802617
803Hooked up standard paletteram16_xbgr() function instead of a custom
804one in sshangha.c driver. [Angelo Salese]
618Amiga AGA update [Mariusz Wojcieszek]
619 - fixed sprite data fetching and sprite colors
805620
806Replaced the use of CPU numbers with tags where possible across most
807drivers. [Fabio Priuli]
621Cubo CD32 update [stephh]
622 - fixed inputs
623 - found why inputs are not read (protection ?), hacked to work now
808624
809hng64.c improvements / changes: [David Haywood]
810 - Stripped out some old HNG64 code / some improvements
811 - disabled the floor stuff in Fatal Fury Wild Ambition (looking for a
812    cleaner implementation)
813 - disabled zooming code for the same reasons (it was causing many
814    issues)
815 - understood and implemented the 'auto-animate' registers for the
816    tilemaps (animated waterfalls etc. in Fatal Fury Wild Ambition)
817 - reorganized graphic decoding
818 - documented + hooked up 4bpp/8bpp select on layers.
819 - fixed tile flipping
820 - fixed a bug in the hng64 dma
625Fixed PPCDRC incorrect instruction checksum order
626[Phil Bennett, R Belmont]
821627
822goldstar.c improvements / changes: [David Haywood]
823 - added scroll registers for the girl when enabled in attract mode
824 - documented how you can swap the blue/green bonus colours (but left
825    the code disabled, I think versions with it swapped probably just
826    have different proms)
827 - added gfxdecode for cmasterc
628Fixed breakpoints in the TMS9900 CPU core [Olivier Galibert]
828629
829Memory maps merges for the following drivers: [Angelo Salese]
830 * groundfx.c
831 * lastduel.c
832 * macrossp.c
833 * madmotor.c (also cleaned-up some video variables in it)
834 * mcatadv.c (also reduced a 1.0 clipping out volume setting)
835 * moo.c
630Improved sound and inputs in Midnight Landing. [Angelo Salese]
836631
837Changed the way memory allocation is handled. Rather than allocating
838in terms of bytes, allocations are now done in terms of objects. This
839is done via new set of macros that replace the malloc_or_die() macro:
632Improved protection simulation for Brap / Shogun warriors, eliminating
633the hardcoded table with the initial program snippet in, getting it
634from the rom instead, and generally cleaning things up.
635[David Haywood]
840636
841  alloc_or_die(t) - allocate memory for an object of type 't'
842  alloc_array_or_die(t,c) - allocate memory for an array of 'c' objects of type 't'
843  alloc_clear_or_die(t) - same as alloc_or_die but clears the memory
844  alloc_array_clear_or_die(t,c) - alloc_array_or_die with clearing
637Added GALs to the Klax sets and fixed the ROM names. [Kevin Eshbach]
845638
846All original callers of malloc_or_die have been updated to call these
847new macros. If you just need an array of bytes, you can use
848alloc_array_or_die(UINT8, numbytes). [Aaron Giles]
639Updated Bally Sente Spiker with the cartridge type and added notice
640that it has an undumped PAL. [Kevin Eshbach]
849641
850Made a similar change to the auto_* allocation macros. In addition,
851added 'machine' as a required parameter to the auto-allocation macros,
852as the resource pools will eventually be owned by the machine object.
853The new macros are:
642Added some information to the Gottlieb driver about the board ids of
643Q*Bert and M.A.C.H. 3 and the various known Gottlieb assigned game
644ids. [Kevin Eshbach]
854645
855  auto_alloc(m,t) - allocate memory for an object of type 't'
856  auto_alloc_array(m,t,c) - allocate memory for an array of 'c' objects of type 't'
857  auto_alloc_clear(m,t) - allocate and clear
858  auto_alloc_array_clear(m,t,c) - allocate and clear
646Removed Shooting Master Unprotected set since the initial dump was
647bad and turned out to match the EVG revision. [Kevin Eshbach]
859648
860All original calls or auto_malloc have been updated to use the new
861macros. In addition, auto_realloc(), auto_strdup(),
862auto_astring_alloc(), and auto_bitmap_alloc() have been updated to
863take a machine parameter. [Aaron Giles]
649Normalized driver-specific drawing code to use the standard parameter
650ordering: bitmap, cliprect, gfx, ... Updated most video drivers to
651use the more modern drawgfx_* variants. Eventually the generic
652drawgfx will be deprecated, so please use the newer functions.
653[Atari Ace]
864654
865Changed validity check allocations to not rely on auto_alloc* anymore
866because they are not done in the context of a machine. [Aaron Giles]
655Added casts to ensure proper values are passed to the ctype.h
656functions. [Juergen Buchmueller]
867657
868Removed of SMH_BANKn macros. Just use SMH_BANK(n) instead, which is
869what the previous macros mapped to anyhow. [Aaron Giles]
870658
871Added missing casts and made other tweaks to appease some more strict
872settings on the compiler. [Aaron Giles]
873659
874Merged memory maps in the seta.c, sf.c, nbmj8688.c, megasys1.c
875drivers. [Angelo Salese]
660New games added or promoted from NOT_WORKING status
661---------------------------------------------------
662Pro Sports [Angelo Salese]
663Candy Puzzle [Mariusz Wojcieszek, stephh]
664Harem Challenge [Mariusz Wojcieszek, stephh]
876665
877Merged memory maps in the overdriv.c and demoted it tothe GNW flag.
878[Angelo Salese]
879666
880Added engine noise hook-up to Chequered Flag. [Angelo Salese]
881667
882Fixed nested NMIs on Chequered Flag sound cpu, this fixes the sound
883loops and the music tempo. [Phil Bennett]
668New clones added
669----------------
670High Impact Football (rev LA1 12/16/90)
671   [K. Lee, M. Josephson, Smitdogg]
672Asteroids (rev 4) [Andy Welburn, Dumping Union]
673Lupin III (set 1) [Hau, Team Japump]
884674
885Memory maps merges for the following drivers: [Angelo Salese]
886 * metlclsh.c
887 * mexico86.c (also added a basic hook-up for the 4p communication cpu,
888   disabled by default)
889 * mirage.c
890 * mjkjidai.c
891 * mjsister.c
892 * mogura.c
893 * news.c
894 * ohmygod.c
895 * ojankohs.c (also cleaned-up some video variables in it)
896 * oneshot.c
897 * opwolf.c
898675
899Fixed player controls in the 4 player version of tank force (thanks to
900tip posted by sxevious on mantis #3127) [David Haywood]
901676
902Memory maps merges for the following drivers: [Angelo Salese]
903 * mayumi.c (also cleaned-up the video routines)
904 * mazerbla.c
905 * momoko.c
906 * mosaic.c
907 * mouser.c
908 * mrflea.c
909 * mrjong.c (also cleaned-up the spriteram routines)
910 * srmp2.c
911 * shaolins.c
912 * shisen.c
913 * shootout.c (and cleaned-up the NMIs on coin insertions)
914 * sidearms.c
915 * sidepckt.c (merged the two per-game memory maps and moved the
916    protection simulation hook-up to be called on DRIVER_INIT)
917 * skyarmy.c
918 * skyfox.c (and cleaned-up the NMIs on coin insertions)
919 * skyraid.c
920 * slapfght.c (also cleaned-up the ram sharing)
921 * slapshot.c
922 * spbactn.c
923 * spcforce.c
924 * spdodgeb.c
925 * speedspn.c
926 * senjyo.c
927 * seta2.c
928 * sfkick.c
929 * shangha3.c
930 * puckpkmn.c
931 * punchout.c
932 * qdrmfgp.c
933 * quizpani.c
934 * rabbit.c
935 * rainbow.c
936 * rcorsair.c
937 * redclash.c (also cleaned-up the irq/nmi generation on coin
938    insertion)
939 * renegade.c
940 * rmhaihai.c
941 * rockrage.c
942 * rocnrope.c
943 * rollerg.c
944 * rollrace.c
945 * runaway.c
946 * rungun.c
947 * sangho.c
948 * sauro.c (also cleaned-up a video function)
949 * sbasketb.c
950 * sbugger.c
951 * scregg.c
952 * segae.c
953 * powerins.c
954 * psikyo.c
955 * psikyo4.c
956 * psikyosh.c
957 * rohga.c
958 * sbugger.c
959 * spy.c
960 * nycaptor.c
961 * olibochu.c
962 * othldrby.c
963 * pandoras.c
964 * parodius.c
965 * pbaction.c
966 * pcktgal.c
967 * pingpong.c
968 * pirates.c
969 * pitnrun.c
970 * pktgaldx.
971 * pokechmp.c
972 * popeye.c
973 * nbmj9195.c
974 * niyanpai.c
975 * ninjaw.c
976 * metro.c
977 * mitchell.c
978 * ms32.c
979 * msisaac.c
980 * mugsmash.c
981 * lkage.c
982 * lsasquad.c
983 * lwings.c
984 * m62.c
985 * m90.c
986 * magmax.c
987 * mainevt.c
988 * marinedt.c
989 * markham.c
990 * mastboy.c
991 * matmania.c
992 * megadriv.c
993 * megazone.c
994 * karnov.c
995 * kchamp.c
996 * kingobox.c
997 * klax.c
998 * koikoi.c
999 * konamigq.c
1000 * ladyfrog.c
1001 * liberate.c
677New games marked as GAME_NOT_WORKING
678------------------------------------
679Hit Poker [Angelo Salese]
1002680
1003Modified my coin_insertion() function to use ASSERT & CLEAR instead
1004of PULSE_LINE in cntsteer.c & ssozumo.c. [Angelo Salese]
1005681
1006Made sure that both the RESET and BUSREQ lines are honored by the
1007megadriv sound cpu. [Wilbert Pol]
1008682
1009Properly hooked-up player 2 mahjong panel in mj4simai. [Angelo Salese]
6830.132u1
684-------
1010685
1011Moved paletteram_IIBBGGRR_w() from senjyo.c to emu/video/generic.c.
1012[Angelo Salese]
1013686
1014Removed deprecat.h dependancy for usgames.c. [Angelo Salese]
687MAMETesters Bugs Fixed
688----------------------
689- 03262: [DIP/Input] Drivers using TMS9928: Using any type of
690         frameskip causes crash (Fabio Priuli)
691- 03247: [DIP/Input] battles: Unable to locate input port 'IN0'
692         (stephh)
693- 03263: [Crash/Freeze] polyplay: PolyPlay crashes/exits with some
694         acces violation (Fabio Priuli)
695- 03255: [Compiling] Compile errors with GCC 4.4 (SDLMAME specific)
696- 03251: [Sound] kingofb, ringkin3, ringkinw: No sound output (Tafoid)
697- 03237: [Crash/Freeze] bagman, sbagman and clones: Error Message:
698         Duplicate save state registration entry (Tafoid)
699- 03245: [DIP/Input] nitrobal, gunball: Screen Flipped by default/
700         Input not allowed (Tafoid)
1015701
1016Add READY line readback to the SN76496 core, cleaned up the structs a
1017bit, cleaned up comments, added more TODOs, Fixed some unsaved
1018savestate related stuff. [Lord Nightmare]
1019702
1020Added sn76496 ready line hook-up for spcforce.c, doesn't make a
1021difference since it's not actually used. [Angelo Salese]
1022703
1023Added RTC emulation for hng64 driver [Angelo Salese]
704Source Changes
705--------------
706Fixed handshaking signals for PPI8255 modes 1/2, and mode 2 input
707mask. [Curt Coder]
1024708
1025Fixed sprite trail for mnight and robokid [kanikani]
709Added framebuffer support in 18 Holes Pro Golf. Fixed backgrounds
710and added inputs. Decoupled from btime. [Angelo Salese]
1026711
1027Factored out some more MESS specific code for Atari 8bit.
1028[Fabio Priuli]
712Adjusted sound command descriptions for dkong to be closer to the
713other drivers, and added a missing command description. [Kef Schecter]
1029714
1030Splitted Naomi / Atomiswave memory maps and improved sorting of the
1031driver. [Angelo Salese]
715Added SP0256 pinout. [Curt Coder]
1032716
1033Added sound to Pocket Gal Deluxe (bootleg) [Angelo Salese]
717Fixed colors in Jan-Oh [Angelo Salese]
1034718
1035lordgun - Fix: P1 Button2 is really P2 Button1. [Cananas]
719Fixed several issues compiling with gcc 4.4. [R. Belmont]
1036720
1037Changed Lunar Lander thrust control to a pedal. This more accurately
1038emulates the control. Note: the current code uses IPT_PADDLE. This
1039causes the game to start with the thrust at 50%. This is not correct.
1040The control is really a hand operated pedal. [Derrick Renaud]
721Added Dip Locations and made default settings changes to match manuals
722for Star Wars and The Empire Strikes back. [Tafoid]
1041723
1042Merged memory maps for nycaptor, nbmj8991, nbmj8891, mystwarr.
1043[Angelo Salese]
724Added irq ack support in the rohga driver, fixes character selection
725behaviour in Wizard Fire. [Angelo Salese]
1044726
1045First layer of memory map merging for namcos2.c and namcos21.c, needs
1046a second hand in order to remove all the SMH references (they both
1047are macroized to hell). [Angelo Salese]
1048
1049Fixed Yellow Cab (Japan) booting, promoted to working status
727Fixed background colors and improved the graphics in Pro Soccer.
1050728[Angelo Salese]
1051729
1052Attempted to fix colors in Koi Koi Part 2 [Angelo Salese]
730Refactored MC6845 to use devcb and added cursor callback (for MESS).
731[Curt Coder]
1053732
1054Lowered DAC volume in Karate Champ from 0.50 to 0.15, it was having
1055sound clipping problems since day one. [Angelo Salese]
733Added basic gfx pal descrambling to liberate.c, and enabled sound
734(memory map was disabled but it is actually good?) Fixed for good the
735background colors and added gfx rom read-back (helps a lot for the
736tile-based sprites). Improved playability by tweaking IRQ generation.
737[Angelo Salses]
1056738
1057Cleaned-up HNG64 system ports. [Angelo Salese]
739Added correct ROM names for eprom/eprom2. [Phil Bennett]
1058740
1059Changed the z80_bank_addr in megadriv.c into a simple 9 bit shift
1060register. Fixes mantis 2817.  [Enik Land]
741Made the 8237 dma controller emulation more accurate by implementing
742it as a state machine. Deprecated the dma8237_run_transfer function.
743[Wilbert Pol]
1061744
1062Improved interrupt handling for the 8/16 bit H8s. [R. Belmont]
745Updated readmes for ATOMISWAVE and TWINKLE hardware. [Guru]
1063746
1064System 23: hooked up serial comms between subcpu and I/O board.
1065[R. Belmont]
747Fixed prom hook-up in Dambuster. [Angelo Salese]
1066748
1067Added a driver for Irem M14 HW. [Angelo Salese]
749Twinkle WIP: [R. Belmont]
750 - SPU board emulation improvements (memory map, IRQ controller, IDE,
751    RF5c400)
752 - Change 4th mix to use real dumped security dongle data
1068753
1069Removed deprecat.h dependancy for kopunch.c. [Angelo Salese]
754Many graphics and logic fixes to Pro Sports. [Angelo Salese]
1070755
1071Naomi: hacked up 3D renderer. Still quite preliminary but allows most
1072games to show graphics. [Olivier Galibert, David Haywood]
756Decoded BG backgrounds in Pro Sports. [David Haywood]
1073757
1074Converted the WAVE sound device to stereo (for MESS). [Curt Coder]
758Fixed a DECO16 CPU core bug that was causing issues with Pro Bowling
759part of Pro Sports. [Angelo Salese]
1075760
1076Various improvements to Parent Jack driver. [Tomasz Slanina]
761Implemented a new DECO CPU-16 opcode, used by Express Raider for
762V-BLANK bit and a bunch of liberate.c games for TILT bit. Converted
763Express Raider to use the DECO CPU-16 core instead of the plain M6502.
764[Angelo Salese]
1077765
1078Modified mahjong games in Naomi to be loaded with a specific
1079configuration, will add the proper JVS hook-up later. [Angelo Salese]
766Added BPROMs for Intruder. [Yasuhiro Ogawa]
1080767
1081Added proper MCU dump for Black Tiger.
1082[Dr. Decapitator, Guru, Angelo Salese]
768Total Vice now uses the correct boot ROM (same as Polystars).
769[Phil Bennett]
1083770
1084Fixed display of the i8085's SP register when in the debugger.
1085[MooglyGuy]
771Fixed Pro Tennis gameplay and added basic background hook-up.
772[Angelo Salese]
1086773
1087Added proper MCU dump for Meikyuu Hunter G.
1088[Dr. Decapitator, Guru, Angelo Salese]
774Improved protection simulation and documentation for Shogun Warriors/
775BRAP Boys. [David Haywood]
1089776
1090Moved Taito 'skip to next level' buttons from BUTTON_2 to Q/W keys.
1091[Fabio Priuli]
777Pointer-ified the minx CPU core. [Atari Ace]
1092778
1093Fix MCS51 disassembler to work properly when there are two memory
1094arguments (the second would overwrite the first). [Aaron Giles]
779Improved System 16 bootleg behaviors, especially with regards to
780sprite rendering. [David Haywood]
1095781
1096Added and began hooking up the 8751's for the System 1 games. Still
1097some work to do. [Aaron Giles]
1098782
1099Added proper JVS I/O board init string for Idol Janshi Suchie-Pai 3
1100to allow it to boot. [Angelo Salese]
1101783
1102Corrected sauro main cpu to 5Mhz and YM3812 to 2.5Mhz as verified on
1103the pcb. [Corrado Tomaselli]
1104
1105Improved protection emulation in galpani2 driver: [Luis Faria]
1106 - modified somewhat the protection handling, geeting rid of the need
1107    to call galpani2_mcu_run from VIDEO_UPDATE, as that function is
1108    performed by CPU2's INT7 and it now works. And added support for
1109    command 2, making gp2se go into demo mode and allowing to go
1110    ingame, nice skulls! ;-) Unfortunately, this set is still not
1111    playable because of missing gals in the background and sometimes
1112    there's an ADDRESS ERROR, causing a reset. Included in these
1113    changes, I added support for MCU triggering by CPU2.
1114 - changed some 8 bit writes disguised as 16 bit to AM_WRITE8 and
1115    AM_DEVWRITE8 and some AM_WRITE(SMH_NOP)s to AM_WRITENOP.
1116 - "crystallized" the clocks of the M68000s and OKIs, deriving the
1117    latter from the former.
1118 - fixed a Copy&Paste mistake I made in the previous submission, in
1119    the sound rom mappings for galpani2/2t/2g.
1120 - reduced the input port definition duplication by using PORT_INCLUDE
1121    where applicable instead of defining everything again.
1122 - reduced the CPU#2 Code region size to the effectively used size,
1123    and expanded the CPU#2 Backgrounds Data region size to the maximum
1124    usable size, making it the same for all sets.
1125
1126Fixed bug when setting breakpoints on Z80 CPUs at addresses A-F.
1127[Xander Xander]
1128
1129
1130
1131784New games added or promoted from NOT_WORKING status
1132785---------------------------------------------------
1133Pit Boss Supertouch 30 [Mariusz Wojcieszek]
786New Double Bet Mahjong  [alien_mame, Dumping Union]
787Pro Soccer [Angelo Salese]
788Steel Worker [Hau, Chack'n, Dumping Union]
1134789
1135790
1136791
1137792New clones added
1138793----------------
1139Legend of Kage (oldest) [Uki]
1140Final Star Force (Japan) [Uki]
1141Yellow Cab (Japan) [Uki]
1142Zero Team (set 4) - not working [Uki]
1143The Combatribes (Japan) [Chack'n]
1144Super Xevious (Japan) [TH60]
1145Crazy Kong 2 (Japan) [Team Japump!!!]
1146Aliens (Asia) [Irongiant]
1147Noraut Joker Poker [Alan Griffin]
1148Pit Fighter (Rev 5) [Smitdogg, The Dumping Union]
1149Cabal (bootleg set 2) [Klaus]
1150Special Criminal Investigation (Negro Torino hack) [Corrado Tomaselli]
1151Cruis'n World v1.7 [MSN]
794Give us a Break (6 versions) [Anonymous, alien_mame]
795Dambusters (US, set2)
796  [N. Garnier, D. Beneke, J. Leyda, A. Costin, W. Belk and Smitdogg]
797Cruis'n Exotica (version 2.4) [K. Lee, Smitdogg]
798Grand Striker (Americas) [ClawGrip, ShengLuc]
799Best League (World) [ClawGrip, ShengLuc]
800Grand Striker 2 (Europe and Oceania) [ClawGrip, ShengLuc]
1152801
1153802
1154803
1155804New games marked as GAME_NOT_WORKING
1156805------------------------------------
1157Ferrari F355 Challenge [Guru]
1158Samurai Shodown 64 [Guru]
1159Dancing Stage Featuring Disney's Rave [smf/Mike DX]
1160Xtreme Rally / Off Beat Racer! [Guru]
1161Beast Busters 2nd Nightmare [Guru]
1162Skimaxx [Phil Bennett]
1163Panic Park (PNP2 Ver. A) [Guru]
1164Triple Star 2000 [f205v]
1165Super Star [f205v]
1166Gigas [Andy Welburn]
1167Shadow Dancer (Mega-Tech)
1168  [Smitdogg, cricri_pingouin, incog, B. Sparks, ANY]
1169Streets of Rage (Mega-Tech)
1170  [Smitdogg, cricri_pingouin, incog, B. Sparks, ANY]
806Sports Shooting USA [Guru]
807Ranger Mission [Guru]
808beatmania IIDX [Guru]

Previous 15994 Revisions Next


© 1998-2018 The MESS Team