Previous 15994 Revisions Next

r2546 Monday 5th May, 2008 at 11:11:32 UTC by Nathan Woods
Updated to MAME 0.125 core
[ROOT]whatsnew.txt
[docs]messnew.txt
[src]version.c
[src/emu]inptport.h
[src/emu/cpu]x86emit.h
[src/emu/sound]aica.c ay8910.c scsp.c
[src/mame]mamedriv.c
[src/mame/audio]irem.c
[src/mame/drivers]dynax.c flower.c galaxian.c galdrvr.c harddriv.c jalmah.c m57.c m90.c megadriv.c meritm.c segas32.c snk68.c tmaster.c
[src/mame/machine]seicop.c
[src/mame/video]legionna.c m57.c m90.c m92.c namcona1.c
[src/mess/tests]mess_ibmpc.xml mess_ibmxt.xml
[src/tools]runtest.cmd

src/mame/audio/irem.c
r2545r2546
372372
373373   MDRV_SOUND_ADD(AY8910, XTAL_3_579545MHz/4) /* verified on pcb */
374374   MDRV_SOUND_CONFIG(irem_ay8910_interface_1)
375   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.15)
375   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80)
376376
377377   MDRV_SOUND_ADD(AY8910, XTAL_3_579545MHz/4) /* verified on pcb */
378378   MDRV_SOUND_CONFIG(irem_ay8910_interface_2)
379   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.15)
379   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80)
380380
381381   MDRV_SOUND_ADD(MSM5205, XTAL_384kHz) /* verified on pcb */
382382   MDRV_SOUND_CONFIG(irem_msm5205_interface_1)
src/mame/machine/seicop.c
r2545r2546
4949#include "driver.h"
5050#include "audio/seibu.h"
5151
52#define seibu_cop_log printf
52#define seibu_cop_log logerror
5353
5454UINT16 *cop_mcu_ram;
5555
r2545r2546
16451645         generic_cop_w(machine, offset, data, mem_mask);
16461646         break;
16471647
1648      //case (0x05a/2): { /* brightness?? */ break; }
16481649      case (0x070/2): { denjinmk_setgfxbank(cop_mcu_ram[offset]); break; }
16491650
1651      case (0x21c/2): { legionna_layer_disable = cop_mcu_ram[offset]; break; }
1652
16501653      case (0x220/2): { legionna_scrollram16[0] = cop_mcu_ram[offset]; break; }
16511654      case (0x222/2): { legionna_scrollram16[1] = cop_mcu_ram[offset]; break; }
16521655      case (0x224/2): { legionna_scrollram16[2] = cop_mcu_ram[offset]; break; }
r2545r2546
16541657      case (0x228/2): { legionna_scrollram16[4] = cop_mcu_ram[offset]; break; }
16551658      case (0x22a/2): { legionna_scrollram16[5] = cop_mcu_ram[offset]; break; }
16561659
1660
1661      //case (0x280/2): { /* trigger.. something */ break; }
1662
16571663      case (0x300/2):   { seibu_main_word_w(machine,0,cop_mcu_ram[offset],0x00ff); break; }
16581664      case (0x304/2):   { seibu_main_word_w(machine,1,cop_mcu_ram[offset],0x00ff); break; }
16591665      case (0x310/2):   { seibu_main_word_w(machine,4,cop_mcu_ram[offset],0x00ff); break; }
src/mame/mamedriv.c
r2545r2546
61076107   DRIVER( tm4k )      /* (c) 1998 Midway Games */
61086108   DRIVER( tm5k )      /* (c) 1998 Midway Games */
61096109   DRIVER( tm7k )      /* (c) 1999 Midway Games */
6110   DRIVER( tm7ka )      /* (c) 1999 Midway Games */
61106111   DRIVER( galgbios )  /* (c) 1998 Creative Electonics & Software (CES) */
61116112
61126113   /* Cinematronics raster games */
r2545r2546
78137814   DRIVER( spitboss )   /* (c) 198? Merit */
78147815   DRIVER( pitbossm )   /* (c) 1994 Merit */
78157816   DRIVER( megat3 )   /* (c) 1995 Merit */
7817   DRIVER( megat3te )   /* (c) 1996 Merit */
78167818   DRIVER( megat4 )   /* (c) 1996 Merit */
78177819   DRIVER( megat4a )   /* (c) 1996 Merit */
78187820   DRIVER( megat4te )   /* (c) 1996 Merit */
src/mame/video/namcona1.c
r2545r2546
44TODO:
55- dynamic screen resolution
66- bg pen (or the pen of the lower tilemap?)
7- roz centering
87- sprites, that have the shadow bit set but aren't shadows, have bad colors
98- check if the data&0x8000 condition in tilemaps is valid even when 4bpp mode it's used
109- namco logo in emeralda demo is missing (it's used with a roz effect)
r2545r2546
596595            // used in emeraldia
597596            if(which == 1 && namcona1_vreg[0x8a/2] == 0xfd /* maybe reg & 0x4 */)
598597            {
599               INT32 incxx = ((INT16)namcona1_vreg[0xc0/2])<<8; //or incyy ?
600               INT32 incxy = ((INT16)namcona1_vreg[0xc2/2])<<8;
601               INT32 incyx = ((INT16)namcona1_vreg[0xc4/2])<<8;
602               INT32 incyy = ((INT16)namcona1_vreg[0xc6/2])<<8; //or incxx ?
603               UINT32 startx = (INT32)(INT16)namcona1_vreg[0xc8/2]<<12;
604               UINT32 starty = (INT32)(INT16)namcona1_vreg[0xca/2]<<12;
605               //namcona1_vreg[0xcc/2]; // changes dx/dy ?
598               int incxx = ((INT16)namcona1_vreg[0xc0/2])<<8; // or incyy ?
599               int incxy = ((INT16)namcona1_vreg[0xc2/2])<<8;
600               int incyx = ((INT16)namcona1_vreg[0xc4/2])<<8;
601               int incyy = ((INT16)namcona1_vreg[0xc6/2])<<8; // or incxx ?
602               INT16 xoffset = namcona1_vreg[0xc8/2];
603               INT16 yoffset = namcona1_vreg[0xca/2];
604               int dx = 46;
605               int dy = -8;
606606
607               // all ROZ parameters now in 16.16 format
608
609607               // now, apply adjustments to startx, starty to translate the
610608               // ROZ plane.  Note that these are corrected by the inc parameters
611609               // to account for scale/rotate state.
612               int dx = 46; // horizontal adjust in pixels
613               int dy = -8; // vertical adjust in pixels
614               startx += dx*incxx + dy*incyx;
615               starty += dx*incyx + dy*incyy;
610               UINT32 startx = (xoffset<<12)+incxx*dx+incyx*dy;
611               UINT32 starty = (yoffset<<12)+incxy*dx+incyy*dy;
616612
617613               tilemap_draw_roz_primask(bitmap, &clip, bg_tilemap[which],
618614                  startx, starty, incxx, incxy, incyx, incyy,
src/mame/video/legionna.c
r2545r2546
225225
226226    +1   xx...... ........  Priority? (1=high?)
227227    +1   ..xxxxxx xxxxxxxx  Tile number
228    +2   xxxxxxxx xxxxxxxx  X coordinate (signed)
229    +3   xxxxxxxx xxxxxxxx  Y coordinate (signed)
230228
229    +2   ----xxxx xxxxxxxx  X coordinate (signed)
230
231    +3   b------- --------  more tile banking used by Denjin Makai
232    +3   ----xxxx xxxxxxxx  Y coordinate (signed)
233
231234*************************************************************************/
232235
233236static void draw_sprites(running_machine *machine, bitmap_t *bitmap,const rectangle *cliprect,int pri)
r2545r2546
246249      sprite = spriteram16[offs+1];
247250
248251      sprite &= 0x3fff;
249      if(data & 0x40) sprite |= 0x4000;//tile banking,used in Denjin Makai
252      if(data & 0x0040) sprite |= 0x4000;//tile banking,used in Denjin Makai
253      if(spriteram16[offs+3] & 0x8000) sprite |= 0x8000;//tile banking?,used in Denjin Makai
250254
251255      y = spriteram16[offs+3];
252256      x = spriteram16[offs+2];
253257
254      if (x &0x8000)   x = -(0x200-(x &0x1ff));
255      else   x &= 0x1ff;
256      if (y &0x8000)   y = -(0x200-(y &0x1ff));
257      else   y &= 0x1ff;
258      /* heated barrel hardware seems to need 0x1ff with 0x100 sign bit for sprite warp,
259           this doesn't work on denjin makai as the visible area is larger */
260      /*
261        x&=0x1ff;
262        y&=0xfff;
258263
264        if (x&0x100) x-=0x200;
265        if (y&0x800) y-=0x1000;
266        */
267
268      x&=0xfff;
269      y&=0xfff;
270
271      if (x&0x800) x-=0x1000;
272      if (y&0x800) y-=0x1000;
273
259274      color = (data &0x3f) + 0x40;
260275      fx =  (data &0x4000) >> 14;
261276      fy =  (data &0x2000) >> 13;
r2545r2546
361376   tilemap_set_scrollx( foreground_layer, 0, legionna_scrollram16[4] );
362377   tilemap_set_scrolly( foreground_layer, 0, legionna_scrollram16[5] );
363378
364   fillbitmap(bitmap,get_black_pen(screen->machine),cliprect);
379   fillbitmap(bitmap,0x0200,cliprect);
365380
366   tilemap_draw(bitmap,cliprect,background_layer,0,0);
381   if (!(legionna_layer_disable&0x0001))
382   {
383      tilemap_draw(bitmap,cliprect,background_layer,0,0);
384   }
385
367386   draw_sprites(screen->machine,bitmap,cliprect,2);
368   tilemap_draw(bitmap,cliprect,midground_layer,0,0);
387
388   if (!(legionna_layer_disable&0x0002))
389   {
390      tilemap_draw(bitmap,cliprect,midground_layer,0,0);
391   }
392
369393   draw_sprites(screen->machine,bitmap,cliprect,1);
370   tilemap_draw(bitmap,cliprect,foreground_layer,0,0);
394
395   if (!(legionna_layer_disable&0x0004))
396   {
397      tilemap_draw(bitmap,cliprect,foreground_layer,0,0);
398   }
399
371400   draw_sprites(screen->machine,bitmap,cliprect,0);
372401   draw_sprites(screen->machine,bitmap,cliprect,3);
373   tilemap_draw(bitmap,cliprect,text_layer,0,0);
374402
403   if (!(legionna_layer_disable&0x0008))
404   {
405      tilemap_draw(bitmap,cliprect,text_layer,0,0);
406   }
407
375408   return 0;
376409}
377410
src/mame/video/m90.c
r2545r2546
180180   static int last_pf1,last_pf2;
181181   int pf1_base = m90_video_control_data[5] & 0x3;
182182   int pf2_base = m90_video_control_data[6] & 0x3;
183   int i,pf1_enable,pf2_enable;
183   int i,pf1_enable,pf2_enable, video_enable;
184184
185   if (m90_video_control_data[7]&0x04) video_enable=0; else video_enable=1;
185186   if (m90_video_control_data[5]&0x10) pf1_enable=0; else pf1_enable=1;
186187   if (m90_video_control_data[6]&0x10) pf2_enable=0; else pf2_enable=1;
188
187189//  tilemap_set_enable(pf1_layer,pf1_enable);
188190//  tilemap_set_enable(pf2_layer,pf2_enable);
189191//  tilemap_set_enable(pf1_wide_layer,pf1_enable);
r2545r2546
245247
246248   fillbitmap(priority_bitmap,0,cliprect);
247249
248   if (!pf2_enable)
249      fillbitmap(bitmap,0,cliprect);
250   if (video_enable) {
251      if (!pf2_enable)
252         fillbitmap(bitmap,0,cliprect);
250253
251   if (pf2_enable)
252   {
253      if (m90_video_control_data[6] & 0x4)
254         tilemap_draw(bitmap,cliprect,pf2_wide_layer,0,0);
255      else
256         tilemap_draw(bitmap,cliprect,pf2_layer,0,0);
254      if (pf2_enable)
255      {
256         if (m90_video_control_data[6] & 0x4)
257            tilemap_draw(bitmap,cliprect,pf2_wide_layer,0,0);
258         else
259            tilemap_draw(bitmap,cliprect,pf2_layer,0,0);
257260
258      if (m90_video_control_data[6] & 0x4)
259         tilemap_draw(bitmap,cliprect,pf2_wide_layer,1,1);
260      else
261         tilemap_draw(bitmap,cliprect,pf2_layer,1,1);
262   }
261         if (m90_video_control_data[6] & 0x4)
262            tilemap_draw(bitmap,cliprect,pf2_wide_layer,1,1);
263         else
264            tilemap_draw(bitmap,cliprect,pf2_layer,1,1);
265      }
263266
264   if (pf1_enable)
265   {
266      if (m90_video_control_data[5] & 0x4)
267         tilemap_draw(bitmap,cliprect,pf1_wide_layer,0,0);
268      else
269         tilemap_draw(bitmap,cliprect,pf1_layer,0,0);
267      if (pf1_enable)
268      {
269         if (m90_video_control_data[5] & 0x4)
270            tilemap_draw(bitmap,cliprect,pf1_wide_layer,0,0);
271         else
272            tilemap_draw(bitmap,cliprect,pf1_layer,0,0);
270273
271      if (m90_video_control_data[5] & 0x4)
272         tilemap_draw(bitmap,cliprect,pf1_wide_layer,1,1);
273      else
274         tilemap_draw(bitmap,cliprect,pf1_layer,1,1);
274         if (m90_video_control_data[5] & 0x4)
275            tilemap_draw(bitmap,cliprect,pf1_wide_layer,1,1);
276         else
277            tilemap_draw(bitmap,cliprect,pf1_layer,1,1);
278      }
279
280      draw_sprites(screen->machine,bitmap,cliprect);
281   } else {
282      fillbitmap(bitmap,get_black_pen(screen->machine),cliprect);
275283   }
276284
277   draw_sprites(screen->machine,bitmap,cliprect);
278
279285   return 0;
280286}
src/mame/video/m57.c
r2545r2546
202202      int flipy = attributes&0x80;
203203      int flipx = attributes&0x40;
204204
205      int tile_number = code + ((attributes & 0x20) << 3);
205      int tile_number = code & 0x3f;
206206
207      int bank = 0;
208      if( code&0x80 ) bank += 1;
209      if( attributes&0x20 ) bank += 2;
210
207211      if (flipscreen)
208212      {
209213         sx = 240 - sx;
r2545r2546
212216         flipy = !flipy;
213217      }
214218
215      drawgfx(bitmap,machine->gfx[1],
219      drawgfx(bitmap,machine->gfx[1+bank],
216220         tile_number,
217221         color,
218222         flipx,flipy,
src/mame/video/m92.c
r2545r2546
309309         y = buffered_spriteram16[offs+0] & 0x1ff;
310310         x = buffered_spriteram16[offs+3] & 0x1ff;
311311
312         if ((buffered_spriteram16[offs+2] & 0x0080)==0x0080) pri_back=0; else pri_back=2;
312         if (buffered_spriteram16[offs+2] & 0x0080) pri_back=0; else pri_back=2;
313313
314314          sprite= buffered_spriteram16[offs+1];
315315         colour = buffered_spriteram16[offs+2] & 0x007f;
r2545r2546
324324         x_multi = 1 << x_multi;
325325
326326         offs += 4 * x_multi;
327         if (pri_sprite != k)
328            continue;
327         if (pri_sprite != k) continue;
329328
330329         x = x - 16;
331330         y = 384 - 16 - y;
src/mame/drivers/dynax.c
r2545r2546
38463846   MDRV_SCREEN_MODIFY("main")
38473847   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
38483848   MDRV_SCREEN_VISIBLE_AREA(0, 336-1, 8, 256-1-8-1)
3849   
3849
38503850   /* devices */
38513851   MDRV_DEVICE_ADD("rtc", MSM6242)
38523852MACHINE_DRIVER_END
src/mame/drivers/megadriv.c
r2545r2546
5353
5454#define MEGADRIV_VDP_VRAM(address) megadrive_vdp_vram[(address)&0x7fff]
5555
56#ifdef MESS
57extern void setup_megadriv_custom_mappers(running_machine *);
58#endif
59
6056/* the same on all systems? */
6157#define MASTER_CLOCK      53693100
6258/* timing details */
r2545r2546
48204816
48214817   memset(megadrive_ram,0x00,0x10000);
48224818
4823#ifdef MESS
4824   setup_megadriv_custom_mappers(machine);
4825#endif
48264819
48274820}
48284821
src/mame/drivers/galaxian.c
r2545r2546
17411741
17421742   MDRV_SOUND_ADD_TAG("konami", DISCRETE, 0)
17431743   MDRV_SOUND_CONFIG_DISCRETE(konami_sound)
1744   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
1744   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.75)
17451745MACHINE_DRIVER_END
17461746
17471747
r2545r2546
17671767
17681768   MDRV_SOUND_ADD_TAG("konami", DISCRETE, 0)
17691769   MDRV_SOUND_CONFIG_DISCRETE(konami_sound)
1770   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
1770   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.2)
17711771MACHINE_DRIVER_END
17721772
17731773
r2545r2546
20662066MACHINE_DRIVER_END
20672067
20682068
2069static MACHINE_DRIVER_START( anteater )
2070   MDRV_IMPORT_FROM(scobra)
20692071
2072   /* quiet down the sounds */
2073   MDRV_SOUND_MODIFY("konami")
2074   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.1)
2075MACHINE_DRIVER_END
2076
2077
2078
20702079/*************************************
20712080 *
20722081 *  Decryption helpers
src/mame/drivers/tmaster.c
r2545r2546
1515Other:  Dallas NVRAM + optional RTC
1616To Do:
1717
18- Protection in tm4k and later games (where is DS1204 mapped?)
1918- Coin optics
20- correct sound banking
19- Correct sound banking
20- Proper protection emulation in tm4k and later games (where is DS1204 mapped?)
21- Find cause and fix hang in Solitaire Erotic (all Touchmaster version hang in this game)
2122
2223To be dumped and added:
2324
r2545r2546
2829
2930* There is a reported "Minnesota" version with modifications due to legal issues
3031  Touch Master (current set) is a Euro version, all other sets are "DOMESTIC" (AKA "Standard").
31  Is there a Touch Master 6000?  TM5K is version 7.10, then TM7K is version 8, TM8K is version 9.04
32  Is there a Touch Master 6000?  TM5K is version 7.10, then TM7K is version 8, TM8K is version 9.xx
3233  Starting with Touch Master 2000, each later version is a chipswap for the mainboard.
3334   IE: Touch Master 8000 chips can update any Touch Master mainboard 2000 through 7000
3435  Each version (IE: 2000, 3000, 7000 ect) has different girls for Strip Poker ;-)
r2545r2546
4748A-21657-007     Security Key
4849
4950Known Versions not dumped:
50  Touch Master 7000 V8.04
5151  Touch Master 8000 V9.04 (from service bulletin)
5252
53+---------------------------------------------------------------+
54|  W24257AK                          GRAPHICS.U37  GRAPHICS.U39 |
55|             SECURITY.J12                                      |
56| PROGRAM.U52          DS1232        GRAPHICS.U36  GRAPHICS.U38 |
57|                                                               |
58|  W24257AK                          GRAPHICS.U40  GRAPHICS.U41 |
59|               68HC000FN12                                     |
60| PROGRAM.U51                                                   |
61|                                                               |
62|  DS1225AB.U62                      XC3042A     W241024AJ (x2) |
63|                                                               |
64|   8.664MHZ  24MHz                              W241024AJ (x2) |
65| SCN68681       CY7C128A       SOUND.U8    32MHz               |
66|     LED2 LED1  CY7C128A                                       |
67|    U62                              M6295                     |
68-                                                               |
69 |Serial Port              LED3                               J8|
70-                                                            VOL|
71|  J11    J2      J5    J3       J10        J9          J6    J1|
72+---------------------------------------------------------------+
73
74U62 is a 16 DIN for a RTC chip (optional)
75J Connectors used for all input/output and power. PCB is NON-JAMMA
76
77Chips:
78   CPU: MC68HC000FN12
79 Video: XC3042A (Sigma Xilinx FPGA gate array)
80 Sound: OKI M6295
81   OSC: 32MHz, 24MHz & 8.664MHz
82 Other: SCN68681C1N40 (Serial controler chip)
83        DALLAS DS1225AB-85 Nonvolatile SRAM
84        DALLAS DS1204V (used for security)
85        DALLAS DS1232 (MicroMonitor Chip)
86   RAM: W24257AK-15 (x2 used for CPU data)
87        CY7C128A-55PC (x2 used for serial communication)
88        W241024AJ-15 (x4 used for blitter frame buffer)
89
5390******************************************************************
5491
5592[Galaxy Games]
r2545r2546
603640   PORT_INCLUDE(microtouch)
604641
605642   PORT_START_TAG("COIN") // IN3
606   PORT_BIT( 0x0001, IP_ACTIVE_LOW,  IPT_UNKNOWN   ) // m. coin 1 (coin optics?)
607   PORT_BIT( 0x0002, IP_ACTIVE_LOW,  IPT_UNKNOWN   ) // m. coin 2 (coin optics?)
608   PORT_BIT( 0x0004, IP_ACTIVE_LOW,  IPT_UNKNOWN   ) // dbv input (coin optics?)
609   PORT_BIT( 0x0008, IP_ACTIVE_LOW,  IPT_UNKNOWN   )
610   PORT_BIT( 0x0010, IP_ACTIVE_LOW,  IPT_COIN1      )   // (service coin?)
611   PORT_SERVICE_NO_TOGGLE( 0x0020, IP_ACTIVE_LOW   )
612   PORT_BIT( 0x0040, IP_ACTIVE_LOW,  IPT_SERVICE1   )   // calibrate
613   PORT_BIT( 0x0080, IP_ACTIVE_LOW,  IPT_UNKNOWN   )
614   PORT_BIT( 0x0100, IP_ACTIVE_LOW,  IPT_UNKNOWN   )
615   PORT_BIT( 0x0200, IP_ACTIVE_LOW,  IPT_UNKNOWN   )
616   PORT_BIT( 0x0400, IP_ACTIVE_LOW,  IPT_UNKNOWN   )
617   PORT_BIT( 0x0800, IP_ACTIVE_HIGH, IPT_SPECIAL   )
618   PORT_BIT( 0x1000, IP_ACTIVE_LOW,  IPT_COIN1      )   PORT_IMPULSE(2) // e. coin 1
619   PORT_BIT( 0x2000, IP_ACTIVE_LOW,  IPT_UNKNOWN   )   // e. coin 2
620   PORT_BIT( 0x4000, IP_ACTIVE_LOW,  IPT_UNKNOWN   )   // e. coin 3
621   PORT_BIT( 0x8000, IP_ACTIVE_LOW,  IPT_UNKNOWN   )   // e. coin 4
643   PORT_BIT( 0x0001, IP_ACTIVE_LOW,  IPT_UNKNOWN  )   // m. coin 1 (coin optics?)
644   PORT_BIT( 0x0002, IP_ACTIVE_LOW,  IPT_UNKNOWN  )   // m. coin 2 (coin optics?)
645   PORT_BIT( 0x0004, IP_ACTIVE_LOW,  IPT_UNKNOWN  )   // dbv input (coin optics?)
646   PORT_BIT( 0x0008, IP_ACTIVE_LOW,  IPT_UNKNOWN  )
647   PORT_BIT( 0x0010, IP_ACTIVE_LOW,  IPT_COIN1    )   // (service coin?)
648   PORT_SERVICE_NO_TOGGLE( 0x0020, IP_ACTIVE_LOW  )
649   PORT_BIT( 0x0040, IP_ACTIVE_LOW,  IPT_SERVICE1 )   // calibrate
650   PORT_BIT( 0x0080, IP_ACTIVE_LOW,  IPT_UNKNOWN  )
651   PORT_BIT( 0x0100, IP_ACTIVE_LOW,  IPT_UNKNOWN  )
652   PORT_BIT( 0x0200, IP_ACTIVE_LOW,  IPT_UNKNOWN  )
653   PORT_BIT( 0x0400, IP_ACTIVE_LOW,  IPT_UNKNOWN  )
654   PORT_BIT( 0x0800, IP_ACTIVE_HIGH, IPT_SPECIAL  )
655   PORT_BIT( 0x1000, IP_ACTIVE_LOW,  IPT_COIN1    ) PORT_IMPULSE(2)   // e. coin 1
656   PORT_BIT( 0x2000, IP_ACTIVE_LOW,  IPT_UNKNOWN  )         // e. coin 2
657   PORT_BIT( 0x4000, IP_ACTIVE_LOW,  IPT_UNKNOWN  )         // e. coin 3
658   PORT_BIT( 0x8000, IP_ACTIVE_LOW,  IPT_UNKNOWN  )         // e. coin 4
622659INPUT_PORTS_END
623660
624661static INPUT_PORTS_START( tmaster )
625662   PORT_INCLUDE(microtouch)
626663
627664   PORT_START_TAG("COIN") // IN3
628   PORT_BIT( 0x0001, IP_ACTIVE_LOW,  IPT_COIN1      )   PORT_IMPULSE(2)   // m. coin 1 (coin optics?)
629   PORT_BIT( 0x0002, IP_ACTIVE_LOW,  IPT_UNKNOWN   ) // m. coin 2 (coin optics?)
630   PORT_BIT( 0x0004, IP_ACTIVE_LOW,  IPT_UNKNOWN   ) // dbv input (coin optics?)
631   PORT_BIT( 0x0008, IP_ACTIVE_LOW,  IPT_UNKNOWN   )
632   PORT_BIT( 0x0010, IP_ACTIVE_LOW,  IPT_COIN1      )   // (service coin?)
633   PORT_SERVICE_NO_TOGGLE( 0x0020, IP_ACTIVE_LOW   )
634   PORT_BIT( 0x0040, IP_ACTIVE_LOW,  IPT_SERVICE1   )   // calibrate
635   PORT_BIT( 0x0080, IP_ACTIVE_LOW,  IPT_UNKNOWN   )
636   PORT_BIT( 0x0100, IP_ACTIVE_LOW,  IPT_UNKNOWN   )
637   PORT_BIT( 0x0200, IP_ACTIVE_LOW,  IPT_UNKNOWN   )
638   PORT_BIT( 0x0400, IP_ACTIVE_LOW,  IPT_UNKNOWN   )
639   PORT_BIT( 0x0800, IP_ACTIVE_HIGH, IPT_SPECIAL   )
640   PORT_BIT( 0x1000, IP_ACTIVE_LOW,  IPT_UNKNOWN   )   // e. coin 1
641   PORT_BIT( 0x2000, IP_ACTIVE_LOW,  IPT_UNKNOWN   )   // e. coin 2
642   PORT_BIT( 0x4000, IP_ACTIVE_LOW,  IPT_UNKNOWN   )   // e. coin 3
643   PORT_BIT( 0x8000, IP_ACTIVE_LOW,  IPT_UNKNOWN   )   // e. coin 4
665   PORT_BIT( 0x0001, IP_ACTIVE_LOW,  IPT_COIN1    ) PORT_IMPULSE(2)   // m. coin 1 (coin optics?)
666   PORT_BIT( 0x0002, IP_ACTIVE_LOW,  IPT_UNKNOWN  )         // m. coin 2 (coin optics?)
667   PORT_BIT( 0x0004, IP_ACTIVE_LOW,  IPT_UNKNOWN  )         // dbv input (coin optics?)
668   PORT_BIT( 0x0008, IP_ACTIVE_LOW,  IPT_UNKNOWN  )
669   PORT_BIT( 0x0010, IP_ACTIVE_LOW,  IPT_COIN1    )   // (service coin?)
670   PORT_SERVICE_NO_TOGGLE( 0x0020, IP_ACTIVE_LOW  )
671   PORT_BIT( 0x0040, IP_ACTIVE_LOW,  IPT_SERVICE1 )   // calibrate
672   PORT_BIT( 0x0080, IP_ACTIVE_LOW,  IPT_UNKNOWN  )
673   PORT_BIT( 0x0100, IP_ACTIVE_LOW,  IPT_UNKNOWN  )
674   PORT_BIT( 0x0200, IP_ACTIVE_LOW,  IPT_UNKNOWN  )
675   PORT_BIT( 0x0400, IP_ACTIVE_LOW,  IPT_UNKNOWN  )
676   PORT_BIT( 0x0800, IP_ACTIVE_HIGH, IPT_SPECIAL  )
677   PORT_BIT( 0x1000, IP_ACTIVE_LOW,  IPT_UNKNOWN  )   // e. coin 1
678   PORT_BIT( 0x2000, IP_ACTIVE_LOW,  IPT_UNKNOWN  )   // e. coin 2
679   PORT_BIT( 0x4000, IP_ACTIVE_LOW,  IPT_UNKNOWN  )   // e. coin 3
680   PORT_BIT( 0x8000, IP_ACTIVE_LOW,  IPT_UNKNOWN  )   // e. coin 4
644681INPUT_PORTS_END
645682
646683static INPUT_PORTS_START( galgames )
647684   PORT_START_TAG("TRACKBALL_1_X")
648    PORT_BIT( 0xff, 0x00, IPT_TRACKBALL_X ) PORT_SENSITIVITY(25) PORT_KEYDELTA(5) PORT_PLAYER(1) PORT_RESET
685   PORT_BIT( 0xff, 0x00, IPT_TRACKBALL_X ) PORT_SENSITIVITY(25) PORT_KEYDELTA(5) PORT_PLAYER(1) PORT_RESET
686
649687   PORT_START_TAG("TRACKBALL_1_Y")
650    PORT_BIT( 0xff, 0x00, IPT_TRACKBALL_Y ) PORT_SENSITIVITY(25) PORT_KEYDELTA(5) PORT_PLAYER(1) PORT_RESET
688   PORT_BIT( 0xff, 0x00, IPT_TRACKBALL_Y ) PORT_SENSITIVITY(25) PORT_KEYDELTA(5) PORT_PLAYER(1) PORT_RESET
651689
652690   PORT_START_TAG("TRACKBALL_2_X")
653    PORT_BIT( 0xff, 0x00, IPT_TRACKBALL_X ) PORT_SENSITIVITY(25) PORT_KEYDELTA(5) PORT_PLAYER(2) PORT_RESET
691   PORT_BIT( 0xff, 0x00, IPT_TRACKBALL_X ) PORT_SENSITIVITY(25) PORT_KEYDELTA(5) PORT_PLAYER(2) PORT_RESET
692
654693   PORT_START_TAG("TRACKBALL_2_Y")
655    PORT_BIT( 0xff, 0x00, IPT_TRACKBALL_Y ) PORT_SENSITIVITY(25) PORT_KEYDELTA(5) PORT_PLAYER(2) PORT_RESET
694   PORT_BIT( 0xff, 0x00, IPT_TRACKBALL_Y ) PORT_SENSITIVITY(25) PORT_KEYDELTA(5) PORT_PLAYER(2) PORT_RESET
656695
657696   PORT_START_TAG("IN4")
658697   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_UNKNOWN )
r2545r2546
672711   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_UNKNOWN )
673712   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2)   // Button A (right)
674713   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2)   // Button B (left)
675   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_SERVICE1)               // DBA (coin)
714   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_SERVICE1)         // DBA (coin)
676715   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNKNOWN )
677716   PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNKNOWN )
678717
r2545r2546
712751}
713752
714753static MACHINE_DRIVER_START( tm3k )
715   MDRV_CPU_ADD_TAG("main", M68000, 12000000)
754   MDRV_CPU_ADD_TAG("main", M68000, XTAL_24MHz / 2) /* 12MHz */
716755   MDRV_CPU_PROGRAM_MAP(tmaster_map,0)
717756   MDRV_CPU_VBLANK_INT_HACK(tm3k_interrupt,2+20) // ??
718757
r2545r2546
734773
735774   MDRV_SPEAKER_STANDARD_MONO("mono")
736775
737   MDRV_SOUND_ADD_TAG("OKI",OKIM6295, 2000000)
776   MDRV_SOUND_ADD_TAG("OKI",OKIM6295, XTAL_32MHz / 16) /* 2MHz */
738777   MDRV_SOUND_CONFIG(okim6295_interface_region_1_pin7high) // clock frequency & pin 7 not verified
739778   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
740779MACHINE_DRIVER_END
r2545r2546
878917
879918ROM_START( tm3k )
880919   ROM_REGION( 0x200000, REGION_CPU1, 0 ) // 68000 Code
881   ROM_LOAD16_BYTE( "tm3k_v502.u51", 0x000000, 0x100000, CRC(6267e2bd) SHA1(c81e5cd059a9ad2f6a36261738e39740a1a3a03f) ) /* TOUCHMASTER 3000 U51 DOMESTIC 5.02 (Standard 11-17-97) */
882   ROM_LOAD16_BYTE( "tm3k_v502.u52", 0x000001, 0x100000, CRC(836fdf1e) SHA1(2ee9c0929950afb72f172b253d6c392e9a698037) ) /* TOUCHMASTER 3000 U52 DOMESTIC 5.02 (Standard 11-17-97) */
920   ROM_LOAD16_BYTE( "tm3k_v502.u51", 0x000000, 0x100000, CRC(6267e2bd) SHA1(c81e5cd059a9ad2f6a36261738e39740a1a3a03f) ) /* TOUCHMASTER 3000 U51 DOMESTIC 5.02 (Standard 11-17-97) (yellow label) */
921   ROM_LOAD16_BYTE( "tm3k_v502.u52", 0x000001, 0x100000, CRC(836fdf1e) SHA1(2ee9c0929950afb72f172b253d6c392e9a698037) ) /* TOUCHMASTER 3000 U52 DOMESTIC 5.02 (Standard 11-17-97) (yellow label) */
883922
884923   ROM_REGION( 0x600000, REGION_GFX1, 0 )   // Blitter gfx
885924   ROM_LOAD16_BYTE( "tm3k_graphic.u38", 0x000000, 0x100000, CRC(a6683899) SHA1(d05024390917cdb1871d030996da8e1eb6460918) ) /* Labeled TOUCHMASTER U38 STANDARD 5.0 (pink label) */
r2545r2546
895934
896935ROM_START( tm3ka )
897936   ROM_REGION( 0x200000, REGION_CPU1, 0 ) // 68000 Code
898   ROM_LOAD16_BYTE( "tm3k_v501.u51", 0x000000, 0x100000, CRC(c9522279) SHA1(e613b791f831271722f05b7e96c35519fa9fc174) ) /* TOUCHMASTER 3000 U51 DOMESTIC 5.01 (Standard 11-4-97) */
899   ROM_LOAD16_BYTE( "tm3k_v501.u52", 0x000001, 0x100000, CRC(8c6a0db7) SHA1(6b0eae60ea471cd8c4001749ac2677d8d4532567) ) /* TOUCHMASTER 3000 U52 DOMESTIC 5.01 (Standard 11-4-97) */
937   ROM_LOAD16_BYTE( "tm3k_v501.u51", 0x000000, 0x100000, CRC(c9522279) SHA1(e613b791f831271722f05b7e96c35519fa9fc174) ) /* TOUCHMASTER 3000 U51 DOMESTIC 5.01 (Standard 11-4-97) (yellow label) */
938   ROM_LOAD16_BYTE( "tm3k_v501.u52", 0x000001, 0x100000, CRC(8c6a0db7) SHA1(6b0eae60ea471cd8c4001749ac2677d8d4532567) ) /* TOUCHMASTER 3000 U52 DOMESTIC 5.01 (Standard 11-4-97) (yellow label) */
900939
901940   ROM_REGION( 0x600000, REGION_GFX1, 0 )   // Blitter gfx
902941   ROM_LOAD16_BYTE( "tm3k_graphic.u38", 0x000000, 0x100000, CRC(a6683899) SHA1(d05024390917cdb1871d030996da8e1eb6460918) ) /* Labeled TOUCHMASTER U38 STANDARD 5.0 (pink label) */
r2545r2546
9851024
9861025ROM_START( tm5k )
9871026   ROM_REGION( 0x200000, REGION_CPU1, 0 ) // 68000 Code
988   ROM_LOAD16_BYTE( "tm5k_v7_10.u51", 0x000000, 0x100000, CRC(df0bd25e) SHA1(db1a197ed4c868743397f3823f3f1d42b9329f80) ) /* TOUCHMASTER 5000 U51 DOMESTIC 7.10 (Standard 10-9-98) */
989   ROM_LOAD16_BYTE( "tm5k_v7_10.u52", 0x000001, 0x100000, CRC(ddf9e8dc) SHA1(3228f2eba067bdf1bd639116bffc589585ea3e72) ) /* TOUCHMASTER 5000 U52 DOMESTIC 7.10 (Standard 10-9-98) */
1027   ROM_LOAD16_BYTE( "tm5k_v7_10.u51", 0x000000, 0x100000, CRC(df0bd25e) SHA1(db1a197ed4c868743397f3823f3f1d42b9329f80) ) /* TOUCHMASTER 5000 U51 DOMESTIC 7.10 (Standard 10-9-98) (tan label) */
1028   ROM_LOAD16_BYTE( "tm5k_v7_10.u52", 0x000001, 0x100000, CRC(ddf9e8dc) SHA1(3228f2eba067bdf1bd639116bffc589585ea3e72) ) /* TOUCHMASTER 5000 U52 DOMESTIC 7.10 (Standard 10-9-98) (tan label) */
9901029
9911030   ROM_REGION( 0x600000, REGION_GFX1, 0 )   // Blitter gfx
9921031   ROM_LOAD16_BYTE( "tm5k_graphic.u38", 0x000000, 0x100000, CRC(93038e7c) SHA1(448f69bf51ac992f6b35b471cba9675c67984cd7) ) /* Mask rom labeled 5341-15951-07 U38 VIDEO IMAGE */
r2545r2546
10111050
10121051Name Board Location        Version               Use                      Checksum
10131052-----------------------------------------------------------------------------------
1014tm7k_v8.u51                8.00 Game Program & Cpu instructions 82A5
1015tm7k_v8.u52                8.00 Game Program & Cpu instructions 81E1
1053tm7k_v804.u51              8.04 Game Program & Cpu instructions 321B
1054tm7k_v804.u52              8.04 Game Program & Cpu instructions 2DED
1055
1056tm7k_v800.u51              8.00 Game Program & Cpu instructions 82A5
1057tm7k_v800.u52              8.00 Game Program & Cpu instructions 81E1
1058
10161059tm7k_graphic.u36           8.0  Video Images & Graphics         DB7F (same as TM5K)
10171060tm7k_graphic.u37           8.0  Video Images & Graphics         7461
10181061tm7k_graphic.u38           8.0  Video Images & Graphics         EDCE (same as TM5K)
r2545r2546
10291072
10301073ROM_START( tm7k )
10311074   ROM_REGION( 0x200000, REGION_CPU1, 0 ) // 68000 Code
1032   ROM_LOAD16_BYTE( "tm7k_v8.u51", 0x000000, 0x100000, CRC(83ec3da7) SHA1(37fa7183e7acc2eab35ac431d99cbbfe4862979e) ) /* TOUCHMASTER 7000 U51 DOMESTIC 8.00 (Standard 03/26/99) */
1033   ROM_LOAD16_BYTE( "tm7k_v8.u52", 0x000001, 0x100000, CRC(e2004282) SHA1(aa73029f31e2062cabedfcd778db97b314624ae8) ) /* TOUCHMASTER 7000 U52 DOMESTIC 8.00 (Standard 03/26/99) */
1075   ROM_LOAD16_BYTE( "tm7k_v804.u51", 0x000000, 0x100000, CRC(2461af04) SHA1(9cf37c04db0297ff8f9f316fd476d6d5d1c39acf) ) /* TOUCHMASTER 7000 U51 DOMESTIC 8.04 (Standard 06/02/99) (orange label) */
1076   ROM_LOAD16_BYTE( "tm7k_v804.u52", 0x000001, 0x100000, CRC(5d39fad2) SHA1(85e8d110b88e1099117ab7963eaee47dc86ec7c5) ) /* TOUCHMASTER 7000 U52 DOMESTIC 8.04 (Standard 06/02/99) (orange label) */
10341077
10351078   ROM_REGION( 0x600000, REGION_GFX1, 0 )   // Blitter gfx
1036   ROM_LOAD16_BYTE( "tm7k_graphic.u38", 0x000000, 0x100000, CRC(93038e7c) SHA1(448f69bf51ac992f6b35b471cba9675c67984cd7) ) /* Labeled GRAPHIC U38  8.0 */
1037   ROM_LOAD16_BYTE( "tm7k_graphic.u36", 0x000001, 0x100000, CRC(5453a44a) SHA1(094439a56336ca933b0b7ede8c057546d1d490b2) ) /* Labeled GRAPHIC U36  8.0 */
1038   ROM_LOAD16_BYTE( "tm7k_graphic.u39", 0x200000, 0x100000, CRC(26af8da8) SHA1(02555b1597a4962f1fd0c3ffc89e5c8338aa3085) ) /* Labeled GRAPHIC U39  8.0 */
1039   ROM_LOAD16_BYTE( "tm7k_graphic.u37", 0x200001, 0x100000, CRC(9a705043) SHA1(cffb31859544c1c4082be78b3bca5ad9cd0d2a45) ) /* Labeled GRAPHIC U37  8.0 */
1040   ROM_LOAD16_BYTE( "tm7k_graphic.u41", 0x400000, 0x100000, CRC(99b6edda) SHA1(c0ee2834fdbfbc1159a6d08c45552d4d9c1c4ea4) ) /* Labeled GRAPHIC U41  8.0 */
1041   ROM_LOAD16_BYTE( "tm7k_graphic.u40", 0x400001, 0x100000, CRC(a3925379) SHA1(74836325ab10466e23105a3b54fc706c0dd5f06c) ) /* Labeled GRAPHIC U40  8.0 */
1079   ROM_LOAD16_BYTE( "tm7k_graphic.u38", 0x000000, 0x100000, CRC(93038e7c) SHA1(448f69bf51ac992f6b35b471cba9675c67984cd7) ) /* Mask rom labeled 5341-16262-07 U38 VIDEO IMAGE */
1080   ROM_LOAD16_BYTE( "tm7k_graphic.u36", 0x000001, 0x100000, CRC(5453a44a) SHA1(094439a56336ca933b0b7ede8c057546d1d490b2) ) /* Mask rom labeled 5341-16262-06 U36 VIDEO IMAGE */
1081   ROM_LOAD16_BYTE( "tm7k_graphic.u39", 0x200000, 0x100000, CRC(26af8da8) SHA1(02555b1597a4962f1fd0c3ffc89e5c8338aa3085) ) /* Mask rom labeled 5341-16262-05 U39 VIDEO IMAGE */
1082   ROM_LOAD16_BYTE( "tm7k_graphic.u37", 0x200001, 0x100000, CRC(9a705043) SHA1(cffb31859544c1c4082be78b3bca5ad9cd0d2a45) ) /* Mask rom labeled 5341-16262-04 U37 VIDEO IMAGE */
1083   ROM_LOAD16_BYTE( "tm7k_graphic.u41", 0x400000, 0x100000, CRC(99b6edda) SHA1(c0ee2834fdbfbc1159a6d08c45552d4d9c1c4ea4) ) /* Mask rom labeled 5341-16262-09 U41 VIDEO IMAGE */
1084   ROM_LOAD16_BYTE( "tm7k_graphic.u40", 0x400001, 0x100000, CRC(a3925379) SHA1(74836325ab10466e23105a3b54fc706c0dd5f06c) ) /* Mask rom labeled 5341-16262-08 U40 VIDEO IMAGE */
10421085
10431086   ROM_REGION( 0x100000, REGION_SOUND1, 0 ) // Samples
1044   ROM_LOAD( "tm7k_sound.u8", 0x00000, 0x100000, CRC(c6070a60) SHA1(2dc20bf2217a36374b5a691133ad43f53dbe29ca) ) /* Labeled SOUND U8  8.0 */
1087   ROM_LOAD( "tm7k_sound.u8", 0x00000, 0x100000, CRC(c6070a60) SHA1(2dc20bf2217a36374b5a691133ad43f53dbe29ca) ) /* Mask rom labeled 5341-16262-03 U8 SOUND */
10451088ROM_END
10461089
1090ROM_START( tm7ka )
1091   ROM_REGION( 0x200000, REGION_CPU1, 0 ) // 68000 Code
1092   ROM_LOAD16_BYTE( "tm7k_v800.u51", 0x000000, 0x100000, CRC(83ec3da7) SHA1(37fa7183e7acc2eab35ac431d99cbbfe4862979e) ) /* TOUCHMASTER 7000 U51 DOMESTIC 8.00 (Standard 03/26/99) (orange label) */
1093   ROM_LOAD16_BYTE( "tm7k_v800.u52", 0x000001, 0x100000, CRC(e2004282) SHA1(aa73029f31e2062cabedfcd778db97b314624ae8) ) /* TOUCHMASTER 7000 U52 DOMESTIC 8.00 (Standard 03/26/99) (orange label) */
1094
1095   ROM_REGION( 0x600000, REGION_GFX1, 0 )   // Blitter gfx
1096   ROM_LOAD16_BYTE( "tm7k_graphic.u38", 0x000000, 0x100000, CRC(93038e7c) SHA1(448f69bf51ac992f6b35b471cba9675c67984cd7) ) /* Labeled GRAPHIC U38  8.0 (orange label) */
1097   ROM_LOAD16_BYTE( "tm7k_graphic.u36", 0x000001, 0x100000, CRC(5453a44a) SHA1(094439a56336ca933b0b7ede8c057546d1d490b2) ) /* Labeled GRAPHIC U36  8.0 (orange label) */
1098   ROM_LOAD16_BYTE( "tm7k_graphic.u39", 0x200000, 0x100000, CRC(26af8da8) SHA1(02555b1597a4962f1fd0c3ffc89e5c8338aa3085) ) /* Labeled GRAPHIC U39  8.0 (orange label) */
1099   ROM_LOAD16_BYTE( "tm7k_graphic.u37", 0x200001, 0x100000, CRC(9a705043) SHA1(cffb31859544c1c4082be78b3bca5ad9cd0d2a45) ) /* Labeled GRAPHIC U37  8.0 (orange label) */
1100   ROM_LOAD16_BYTE( "tm7k_graphic.u41", 0x400000, 0x100000, CRC(99b6edda) SHA1(c0ee2834fdbfbc1159a6d08c45552d4d9c1c4ea4) ) /* Labeled GRAPHIC U41  8.0 (orange label) */
1101   ROM_LOAD16_BYTE( "tm7k_graphic.u40", 0x400001, 0x100000, CRC(a3925379) SHA1(74836325ab10466e23105a3b54fc706c0dd5f06c) ) /* Labeled GRAPHIC U40  8.0 (orange label) */
1102
1103   ROM_REGION( 0x100000, REGION_SOUND1, 0 ) // Samples
1104   ROM_LOAD( "tm7k_sound.u8", 0x00000, 0x100000, CRC(c6070a60) SHA1(2dc20bf2217a36374b5a691133ad43f53dbe29ca) ) /* Labeled SOUND U8  8.0 (orange label) */
1105ROM_END
1106
10471107/***************************************************************************
10481108
10491109Galaxy Games BIOS v. 1.90
r2545r2546
11501210   UINT16 *ROM = (UINT16 *)memory_region( REGION_CPU1 );
11511211
11521212   // protection
1213   ROM[0x81730/2] = 0x4e75;
1214
1215   ROM[0x81700/2] = 0x6004;
1216   ROM[0x81728/2] = 0x6002;
1217/*
1218Protection starts:
1219
1220 816ee: addi.w  #$76c, D0       0640 076C
1221 816f2: move.w  D0, $20718c.l   33C0 0020 718C
1222 816f8: moveq   #$f, D0         700F
1223 816fa: and.w   (A4), D0        C054
1224 816fc: cmpi.w  #$3, D0         0C40 0003
1225 81700: bcs     $81706          6504          <-- First patch goes here
1226
1227*/
1228
1229}
1230
1231static DRIVER_INIT( tm7ka )
1232{
1233   UINT16 *ROM = (UINT16 *)memory_region( REGION_CPU1 );
1234
1235   // protection
11531236   ROM[0x81594/2] = 0x4e75;
11541237
11551238   ROM[0x81564/2] = 0x6004;
r2545r2546
11831266GAME( 1997, tm3ka,    tm3k, tm3k,     tmaster,  0,        ROT0, "Midway",                         "Touchmaster 3000 (v5.01 Standard)",  0 )
11841267GAME( 1998, tm4k,     0,    tm3k,     tmaster,  tm4k,     ROT0, "Midway",                         "Touchmaster 4000 (v6.02 Standard)",  0 )
11851268GAME( 1998, tm5k,     0,    tm3k,     tmaster,  tm5k,     ROT0, "Midway",                         "Touchmaster 5000 (v7.10 Standard)",  0 )
1186GAME( 1999, tm7k,     0,    tm3k,     tmaster,  tm7k,     ROT0, "Midway",                         "Touchmaster 7000 (v8.00 Standard)",  0 )
1269GAME( 1999, tm7k,     0,    tm3k,     tmaster,  tm7k,     ROT0, "Midway",                         "Touchmaster 7000 (v8.04 Standard)",  0 )
1270GAME( 1999, tm7ka,    tm7k, tm3k,     tmaster,  tm7ka,    ROT0, "Midway",                         "Touchmaster 7000 (v8.00 Standard)",  0 )
11871271GAME( 1998, galgbios, 0,    galgames, galgames, galgames, ROT0, "Creative Electonics & Software", "Galaxy Games (BIOS v1.90)", GAME_IS_BIOS_ROOT )
src/mame/drivers/flower.c
r2545r2546
55
66fix sound
77improve interrupts
8sprite flipping is incorrect for one of the enemies so its probably wrong
9screenshots look like the game has sprite zooming
10http://emustatus.rainemu.com/games/flower.htm
118
129
1310        FLOWER   CHIP PLACEMENT
src/mame/drivers/galdrvr.c
r2545r2546
47784778
47794779GAME( 1982, tazmania, 0,        scobra,   tazmania, scobra,   ROT90,  "Stern", "Tazz-Mania (set 1)", GAME_SUPPORTS_SAVE )
47804780
4781GAME( 1982, anteater, 0,        scobra,  anteater, anteater, ROT90,  "[Stern] (Tago license)", "Anteater", GAME_SUPPORTS_SAVE )
4781GAME( 1982, anteater, 0,        anteater, anteater, anteater, ROT90,  "[Stern] (Tago license)", "Anteater", GAME_SUPPORTS_SAVE )
47824782
47834783
47844784
src/mame/drivers/meritm.c
r2545r2546
3131  *Pit Boss Supertouch 30 (c)1994?
3232  *Megatouch Video (c)1994?
3333  *Megatouch II (c)1995
34  *Megatouch III (c)1995
35  *Megatouch IV (c)1996
34  Megatouch III (c)1995
35  Megatouch III Tournament Edition (c)1996
36  Megatouch IV (c)1996
3637  Megatouch IV Tournament Edition (c)1996
3738  *Super Megatouch IV (c) 1996
3839  *Megatouch 5 (c)1997
r2545r2546
4748  - clean up V9938 interrupt implementation
4849  - finish inputs, dsw, outputs (lamps)
4950  - problem with registering touches on the bottom of the screen (currently hacked to work)
50  - megat3: u37 has bad size, should be 8MBit
5151  - megat5: has jmp $0000 in the initialization code causing infinite loop, is rom bad?
5252 */
5353
r2545r2546
10781078C1996 MII
10791079
10801080
1081ActualMegatouch 6 rom labels
1081Actual Megatouch 6 rom labels
10821082--------------------------------
10831083
108410849255-60-01
r2545r2546
11071107
11081108ROM_START( megat3 )
11091109   ROM_REGION( 0x400000, REGION_CPU1, 0 )
1110   ROM_LOAD( "megat3.u32",         0x000000, 0x80000, CRC(ac969296) SHA1(7e09e9141637339b83c21f2488560cdf8a460069) )
1111   ROM_RELOAD(                     0x080000, 0x80000)
1112   ROM_LOAD( "megat3.u36",         0x100000, 0x80000, CRC(96bb501e) SHA1(f48ef238e8543676c42e3b85464a25ac179dcdd1) )
1113   ROM_RELOAD(                     0x180000, 0x80000)
1114   ROM_LOAD( "megat3.u37",         0x200000, 0x80000, BAD_DUMP CRC(96680164) SHA1(dfb8e07ba0e87316a947238e7a00fbf4d6ed5fe4) ) // should be 8MBit
1115   ROM_RELOAD(                     0x280000, 0x80000)
1116   ROM_LOAD( "9255-20-01_u38-rof", 0x300000, 0x80000, CRC(85f48b91) SHA1(7a38644ac7ee55a254c037122af919fb268744a1) )
1117   ROM_RELOAD(                     0x380000, 0x80000)
1110   ROM_LOAD( "9255-20-01_u32-r0",  0x000000, 0x080000, CRC(ac969296) SHA1(7e09e9141637339b83c21f2488560cdf8a460069) ) /* Location U32 */
1111   ROM_RELOAD(                     0x080000, 0x080000)
1112   ROM_LOAD( "9255-01_u36-r0",     0x100000, 0x080000, CRC(96bb501e) SHA1(f48ef238e8543676c42e3b85464a25ac179dcdd1) ) /* Location U36 */
1113   ROM_RELOAD(                     0x180000, 0x080000)
1114   ROM_LOAD( "9255-01_u37-r0",     0x200000, 0x100000, CRC(273560bd) SHA1(5de8b9f5a7c4b676f131dd7d47ec71d35fa1755c) ) /* Location U37 */
1115   ROM_LOAD( "9255-20-01_u38-rof", 0x300000, 0x080000, CRC(85f48b91) SHA1(7a38644ac7ee55a254c037122af919fb268744a1) ) /* Location U38 */
1116   ROM_RELOAD(                     0x380000, 0x080000)
11181117
11191118   ROM_REGION( 0x1000, REGION_USER2, 0 ) // PALs
11201119   ROM_LOAD( "sc3943.u20",     0x000, 0x117, CRC(5a72fe78) SHA1(4b1a36904eb7048518507fe14bdade5c2589dbd7) )
r2545r2546
11231122   ROM_LOAD( "sc3981-0a.u51",  0x000, 0x117, CRC(4fc750d0) SHA1(d09ff7a8c66aeb5c49e9fec84bd1521e3f5d8d0a) )
11241123ROM_END
11251124
1125
1126ROM_START( megat3te )
1127   ROM_REGION( 0x400000, REGION_CPU1, 0 )
1128   ROM_LOAD( "9255-30-01_u32-r0",  0x000000, 0x100000, CRC(31ac0004) SHA1(4bec97a852a7dadb0ab4f193bc376ed149102082) ) /* Location U32 */
1129   ROM_LOAD( "9255-01_u36-r0",     0x100000, 0x080000, CRC(96bb501e) SHA1(f48ef238e8543676c42e3b85464a25ac179dcdd1) ) /* Location U36 */
1130   ROM_RELOAD(                     0x180000, 0x080000)
1131   ROM_LOAD( "9255-01_u37-r0",     0x200000, 0x100000, CRC(273560bd) SHA1(5de8b9f5a7c4b676f131dd7d47ec71d35fa1755c) ) /* Location U37 */
1132   ROM_LOAD( "9255-30-0_u38-r0e",  0x300000, 0x080000, CRC(52ca7dd8) SHA1(9f44f158d67d7443405b87a18fc89d9c88be1dea) ) /* Location U38 */
1133   ROM_RELOAD(                     0x380000, 0x080000)
1134
1135   ROM_REGION( 0x1000, REGION_USER2, 0 ) // PALs
1136   ROM_LOAD( "sc3943.u20",     0x000, 0x117, CRC(5a72fe78) SHA1(4b1a36904eb7048518507fe14bdade5c2589dbd7) )
1137   ROM_LOAD( "sc3944-0a.u19",  0x000, 0x2dd, CRC(4cc46c5e) SHA1(0bab970df1539ce905f43603ad13171b05449a01) )
1138   ROM_LOAD( "sc3980.u40",     0x000, 0x117, CRC(ee0cdab5) SHA1(216fef50a8a0f6a33b704d3501a4c5c3cbac2bad) )
1139   ROM_LOAD( "sc3981-0a.u51",  0x000, 0x117, CRC(4fc750d0) SHA1(d09ff7a8c66aeb5c49e9fec84bd1521e3f5d8d0a) )
1140ROM_END
1141
1142
11261143ROM_START( megat4 )
11271144   ROM_REGION( 0x400000, REGION_CPU1, 0 )
11281145   ROM_LOAD( "9255-40-01_u32-ro",  0x000000, 0x100000, CRC(08b1b8fe) SHA1(c562f2e065d6d7f753f6fd1d0b8355b01cb089ec) ) /* Location U32 */
r2545r2546
12231240
12241241   ds1204_init(megat3_ds1204_key, megat3_ds1204_nvram);
12251242
1226   // patch for rom check (?) (Question Set Error)
1227   ((UINT8*)memory_region( REGION_CPU1 ))[0x300217] = 0xc3;
12281243};
12291244
1245
1246static DRIVER_INIT(megat3te)
1247{
1248   static const UINT8 megat3_ds1204_key[8] =
1249      { 0xf0, 0xaa, 0x0f, 0x0f, 0x55, 0x55, 0xff, 0xab };
1250
1251   static const UINT8 megat3_ds1204_nvram[16] =
1252      { 0x99, 0x53, 0xfc, 0x29, 0x3a, 0x95, 0x8b, 0x58, 0xca, 0xca, 0x00, 0xc2, 0x30, 0x62, 0x0b, 0x96 };
1253
1254   ds1204_init(megat3_ds1204_key, megat3_ds1204_nvram);
1255
1256   memory_install_readwrite8_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0xfff8, 0xffff, 0, 0, meritm_ds1644_r, meritm_ds1644_w );
1257
1258};
1259
1260
12301261static DRIVER_INIT(megat4)
12311262{
12321263   static const UINT8 megat4_ds1204_nvram[16] =
r2545r2546
12541285   ds1204_init(0, megat6_ds1204_nvram);
12551286
12561287}
1288
12571289/* CRT 250 */
12581290GAME( 1988, pitboss2,  0,    meritm_crt250, meritm_crt250, 0, ROT0, "Merit", "Pit Boss II", GAME_IMPERFECT_GRAPHICS )
12591291GAME( 1988, spitboss,  0,    meritm_crt250, meritm_crt250, 0, ROT0, "Merit", "Super Pit Boss", GAME_IMPERFECT_GRAPHICS )
1292
12601293/* CRT 250 + question roms */
12611294GAME( 1994, pitbossm,  0,      meritm_crt250_questions, pitbossm, 0, ROT0, "Merit", "Pit Boss Megastar", GAME_IMPERFECT_GRAPHICS )
1295
12621296/* CRT 260 */
1263GAME( 1995, megat3,    0,      meritm_crt260, meritm_crt260, megat3,   ROT0, "Merit", "Megatouch III (9255-20-01 ROF)", GAME_IMPERFECT_GRAPHICS|GAME_NOT_WORKING )
1297GAME( 1995, megat3,    0,      meritm_crt260, meritm_crt260, megat3,   ROT0, "Merit", "Megatouch III (9255-20-01 ROF)", GAME_IMPERFECT_GRAPHICS )
1298GAME( 1996, megat3te,  megat3, meritm_crt260, meritm_crt260, megat3te, ROT0, "Merit", "Megatouch III Tournament Edition (9255-30-01 ROE)", GAME_IMPERFECT_GRAPHICS )
12641299GAME( 1996, megat4,    0,      meritm_crt260, meritm_crt260, megat4,   ROT0, "Merit", "Megatouch IV (9255-40-01 ROE)", GAME_IMPERFECT_GRAPHICS )
12651300GAME( 1996, megat4a,   megat4, meritm_crt260, meritm_crt260, megat4,   ROT0, "Merit", "Megatouch IV (9255-40-01 ROD)", GAME_IMPERFECT_GRAPHICS )
12661301GAME( 1996, megat4te,  megat4, meritm_crt260, meritm_crt260, megat4te, ROT0, "Merit", "Megatouch IV Tournament Edition (9255-50-01 ROD)", GAME_IMPERFECT_GRAPHICS )
src/mame/drivers/jalmah.c
r2545r2546
19061906   memory_set_bankptr(2, auto_malloc(0xf0026 - 0xf0020));
19071907   memory_install_readwrite16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0xf00c0, 0xf00d5, 0, 0, SMH_BANK3, SMH_BANK3 );
19081908   memory_set_bankptr(3, auto_malloc(0xf00d6 - 0xf00c0));
1909   memory_install_readwrite16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0xf0100, 0xf0130, 0, 0, SMH_BANK4, SMH_BANK4 );
1910   memory_set_bankptr(4, auto_malloc(0xf0130 - 0xf0100));
1909   memory_install_readwrite16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0xf0100, 0xf0131, 0, 0, SMH_BANK4, SMH_BANK4 );
1910   memory_set_bankptr(4, auto_malloc(0xf0132 - 0xf0100));
19111911   mcu_prg = 0x11;
19121912}
19131913
src/mame/drivers/harddriv.c
r2545r2546
37183718   rddsp32_sync[1] = memory_install_write32_handler(machine, hdcpu_dsp32, ADDRESS_SPACE_PROGRAM, 0x613e00, 0x613e03, 0, 0, rddsp32_sync1_w);
37193719
37203720   /* set up protection hacks */
3721   hdgsp_protection = memory_install_write16_handler(machine, hdcpu_gsp, ADDRESS_SPACE_PROGRAM, TOBYTE(gsp_protection), TOBYTE(gsp_protection + 0x0f), 0, 0, hdgsp_protection_w);
3721   hdgsp_protection = memory_install_write16_handler(machine, hdcpu_gsp, ADDRESS_SPACE_PROGRAM, gsp_protection, gsp_protection + 0x0f, 0, 0, hdgsp_protection_w);
37223722
37233723   /* set up gsp speedup handler */
37243724   hdgsp_speedup_addr[0] = memory_install_write16_handler(machine, hdcpu_gsp, ADDRESS_SPACE_PROGRAM, 0xfff76f60, 0xfff76f6f, 0, 0, rdgsp_speedup1_w);
r2545r2546
37703770   stmsp_sync[1] = &hdmsp_ram[TOWORD(0x99680)];
37713771   memory_install_write16_handler(machine, hdcpu_msp, ADDRESS_SPACE_PROGRAM, 0x99680, 0x9968f, 0, 0, stmsp_sync1_w);
37723772   stmsp_sync[2] = &hdmsp_ram[TOWORD(0x99d30)];
3773   memory_install_write16_handler(machine, hdcpu_msp, ADDRESS_SPACE_PROGRAM, 0x99d30, 0x99d50, 0, 0, stmsp_sync2_w);
3773   memory_install_write16_handler(machine, hdcpu_msp, ADDRESS_SPACE_PROGRAM, 0x99d30, 0x99d4f, 0, 0, stmsp_sync2_w);
37743774
37753775   /* set up protection hacks */
37763776   hdgsp_protection = memory_install_write16_handler(machine, hdcpu_gsp, ADDRESS_SPACE_PROGRAM, 0xfff965d0, 0xfff965df, 0, 0, hdgsp_protection_w);
src/mame/drivers/snk68.c
r2545r2546
11/***************************************************************************
22
3    POW - Prisoners Of War (US)         A7008   SNK 1988
4    POW - Prisoners Of War (Japan)      A7008   SNK 1988
5    SAR - Search And Rescue (World)     A8007   SNK 1989
6    SAR - Search And Rescue (US)        A8007   SNK 1989
7    SAR - Search And Rescue (Japan)     A8007   SNK 1989
8    Street Smart (US version 1)         A8007   SNK 1989
9    Street Smart (US version 2)         A7008   SNK 1989
10    Street Smart (World version 1)      A8007   SNK 1989
11    Street Smart (Japan version 1)      A8007   SNK 1989
12    Ikari III - The Rescue (US)         A7007   SNK 1989
3    POW - Prisoners Of War (US version 1)    A7008   SNK 1988
4    POW - Prisoners Of War (Japan)           A7008   SNK 1988
5    SAR - Search And Rescue (World)          A8007   SNK 1989
6    SAR - Search And Rescue (US)             A8007   SNK 1989
7    SAR - Search And Rescue (Japan)          A8007   SNK 1989
8    Street Smart (US version 1)              A8007   SNK 1989
9    Street Smart (US version 2)              A7008   SNK 1989
10    Street Smart (World version 1)           A8007   SNK 1989
11    Street Smart (Japan version 1)           A8007   SNK 1989
12    Ikari III - The Rescue (US)              A7007   SNK 1989
1313
1414    For some strange reason version 2 of Street Smart runs on Pow hardware!
1515
r2545r2546
854854
855855ROM_START( pow )
856856   ROM_REGION( 0x40000, REGION_CPU1, 0 )
857   ROM_LOAD16_BYTE( "dg1",   0x000000, 0x20000, CRC(8e71a8af) SHA1(72c2eb2316c2684491331e8adabcb2be084aa6a2) )
858   ROM_LOAD16_BYTE( "dg2",   0x000001, 0x20000, CRC(4287affc) SHA1(59dfb37296edd3b42231319a9f4df819d384db38) )
857   ROM_LOAD16_BYTE( "dg1ver1.j14",   0x000000, 0x20000, CRC(8e71a8af) SHA1(72c2eb2316c2684491331e8adabcb2be084aa6a2) )
858   ROM_LOAD16_BYTE( "dg2ver1.l14",   0x000001, 0x20000, CRC(4287affc) SHA1(59dfb37296edd3b42231319a9f4df819d384db38) )
859859
860860   ROM_REGION( 0x10000, REGION_CPU2, 0 )   /* Sound CPU */
861   ROM_LOAD( "dg8",        0x000000, 0x10000, CRC(d1d61da3) SHA1(4e78643f8a7d44db3ff091acb0a5da1cc836e3cb) )
861   ROM_LOAD( "dg8.e25",   0x000000, 0x10000, CRC(d1d61da3) SHA1(4e78643f8a7d44db3ff091acb0a5da1cc836e3cb) )
862862
863863   ROM_REGION( 0x010000, REGION_GFX1, ROMREGION_DISPOSE )   /* characters */
864   ROM_LOAD( "dg9",        0x000000, 0x08000, CRC(df864a08) SHA1(dd996070077efbbf9d784299b6563cab258e4a8e) )
865   ROM_LOAD( "dg10",       0x008000, 0x08000, CRC(9e470d53) SHA1(f7dc6ac39ade573480e87170a2781f0f72930580) )
864   ROM_LOAD( "dg9.l25",   0x000000, 0x08000, CRC(df864a08) SHA1(dd996070077efbbf9d784299b6563cab258e4a8e) )
865   ROM_LOAD( "dg10.m25",  0x008000, 0x08000, CRC(9e470d53) SHA1(f7dc6ac39ade573480e87170a2781f0f72930580) )
866866
867867   ROM_REGION( 0x200000, REGION_GFX2, ROMREGION_DISPOSE )   /* sprites */
868868   ROM_LOAD( "snk880.11a", 0x000000, 0x20000, CRC(e70fd906) SHA1(b9e734c074ee1c8ae73e6041d739ab30d2df7d62) )
869869   ROM_LOAD( "snk880.12a", 0x020000, 0x20000, CRC(628b1aed) SHA1(1065ef835da03f7d9776e81c225c3ecdd2affae2) )
870   ROM_LOAD( "snk880.13a", 0x040000, 0x20000, CRC(19dc8868) SHA1(82aaf93fc8f4b3bf947d373d0f41cc0044207c34) )
870   ROM_LOAD( "snk880.13a", 0x040000, 0x20000, CRC(19dc8868) SHA1(82aaf93fc8f4b3bf947d373d0f41cc0044207c34) ) /* Also can be labeled as DG13 */
871871   ROM_LOAD( "snk880.14a", 0x060000, 0x20000, CRC(47cd498b) SHA1(7fbc007f2d817c26af02fef233f5e0681a17052a) )
872872   ROM_LOAD( "snk880.15a", 0x080000, 0x20000, CRC(7a90e957) SHA1(9650d7cdbcbbbcdd7f75a1c3c08a195aa456e169) )
873873   ROM_LOAD( "snk880.16a", 0x0a0000, 0x20000, CRC(e40a6c13) SHA1(7ad9dfc65f8c8b316933f0fdd3bc7a243d6eff65) )
r2545r2546
883883   ROM_LOAD( "snk880.26a", 0x1e0000, 0x20000, CRC(9bc261c5) SHA1(f07fef465191d48ccc149d1a62e6382d3fc0ef9f) )
884884
885885   ROM_REGION( 0x10000, REGION_SOUND1, 0 )   /* UPD7759 samples */
886   ROM_LOAD( "dg7",        0x000000, 0x10000, CRC(aba9a9d3) SHA1(5098cd3a064b8ede24797de8879a277d79e79d75) )
886   ROM_LOAD( "dg7.d20",  0x000000, 0x10000, CRC(aba9a9d3) SHA1(5098cd3a064b8ede24797de8879a277d79e79d75) )
887887
888888   ROM_REGION( 0x0100, REGION_PLDS, ROMREGION_DISPOSE )
889889   ROM_LOAD( "pal20l10.a6", 0x0000, 0x00cc, CRC(c3d9e729) SHA1(f05f03eecf12b4d0793124ecd3195307be04046b) )
r2545r2546
895895   ROM_LOAD16_BYTE( "2-2",   0x000001, 0x20000, CRC(baa32354) SHA1(a235b82527dc025e699ba2e8e9797dac15ea9440) )
896896
897897   ROM_REGION( 0x10000, REGION_CPU2, 0 )   /* Sound CPU */
898   ROM_LOAD( "dg8",        0x000000, 0x10000, CRC(d1d61da3) SHA1(4e78643f8a7d44db3ff091acb0a5da1cc836e3cb) )
898   ROM_LOAD( "dg8.e25",   0x000000, 0x10000, CRC(d1d61da3) SHA1(4e78643f8a7d44db3ff091acb0a5da1cc836e3cb) )
899899
900900   ROM_REGION( 0x010000, REGION_GFX1, ROMREGION_DISPOSE )   /* characters */
901   ROM_LOAD( "dg9",        0x000000, 0x08000, CRC(df864a08) SHA1(dd996070077efbbf9d784299b6563cab258e4a8e) )
902   ROM_LOAD( "dg10",       0x008000, 0x08000, CRC(9e470d53) SHA1(f7dc6ac39ade573480e87170a2781f0f72930580) )
901   ROM_LOAD( "dg9.l25",   0x000000, 0x08000, CRC(df864a08) SHA1(dd996070077efbbf9d784299b6563cab258e4a8e) )
902   ROM_LOAD( "dg10.m25",  0x008000, 0x08000, CRC(9e470d53) SHA1(f7dc6ac39ade573480e87170a2781f0f72930580) )
903903
904904   ROM_REGION( 0x200000, REGION_GFX2, ROMREGION_DISPOSE )   /* sprites */
905905   ROM_LOAD( "snk880.11a", 0x000000, 0x20000, CRC(e70fd906) SHA1(b9e734c074ee1c8ae73e6041d739ab30d2df7d62) )
906906   ROM_LOAD( "snk880.12a", 0x020000, 0x20000, CRC(628b1aed) SHA1(1065ef835da03f7d9776e81c225c3ecdd2affae2) )
907   ROM_LOAD( "snk880.13a", 0x040000, 0x20000, CRC(19dc8868) SHA1(82aaf93fc8f4b3bf947d373d0f41cc0044207c34) )
907   ROM_LOAD( "snk880.13a", 0x040000, 0x20000, CRC(19dc8868) SHA1(82aaf93fc8f4b3bf947d373d0f41cc0044207c34) ) /* Also can be labeled as DG13 */
908908   ROM_LOAD( "snk880.14a", 0x060000, 0x20000, CRC(47cd498b) SHA1(7fbc007f2d817c26af02fef233f5e0681a17052a) )
909909   ROM_LOAD( "snk880.15a", 0x080000, 0x20000, CRC(7a90e957) SHA1(9650d7cdbcbbbcdd7f75a1c3c08a195aa456e169) )
910910   ROM_LOAD( "snk880.16a", 0x0a0000, 0x20000, CRC(e40a6c13) SHA1(7ad9dfc65f8c8b316933f0fdd3bc7a243d6eff65) )
r2545r2546
920920   ROM_LOAD( "snk880.26a", 0x1e0000, 0x20000, CRC(9bc261c5) SHA1(f07fef465191d48ccc149d1a62e6382d3fc0ef9f) )
921921
922922   ROM_REGION( 0x10000, REGION_SOUND1, 0 )   /* UPD7759 samples */
923   ROM_LOAD( "dg7",        0x000000, 0x10000, CRC(aba9a9d3) SHA1(5098cd3a064b8ede24797de8879a277d79e79d75) )
923   ROM_LOAD( "dg7.d20",  0x000000, 0x10000, CRC(aba9a9d3) SHA1(5098cd3a064b8ede24797de8879a277d79e79d75) )
924924
925925   ROM_REGION( 0x0100, REGION_PLDS, ROMREGION_DISPOSE )
926926   ROM_LOAD( "pal20l10.a6", 0x0000, 0x00cc, CRC(c3d9e729) SHA1(f05f03eecf12b4d0793124ecd3195307be04046b) )
r2545r2546
12021202
12031203/******************************************************************************/
12041204
1205GAME( 1988, pow,      0,        pow,     pow,       0,        ROT0,  "SNK", "P.O.W. - Prisoners of War (US)", 0 )
1205GAME( 1988, pow,      0,        pow,     pow,       0,        ROT0,  "SNK", "P.O.W. - Prisoners of War (US version 1)", 0 )
12061206GAME( 1988, powj,     pow,      pow,     powj,      0,        ROT0,  "SNK", "Datsugoku - Prisoners of War (Japan)", 0 )
12071207GAME( 1989, searchar, 0,        searchar, searchar, searchar, ROT90, "SNK", "SAR - Search And Rescue (World)", 0 )
12081208GAME( 1989, sercharu, searchar, searchar, searchar, searchar, ROT90, "SNK", "SAR - Search And Rescue (US)", 0 )
src/mame/drivers/m90.c
r2545r2546
657657/* Basic hardware -- no decryption table is setup for CPU */
658658static MACHINE_DRIVER_START( m90 )
659659   /* basic machine hardware */
660   MDRV_CPU_ADD_TAG("main", V30,32000000/4)
660   MDRV_CPU_ADD_TAG("main", V30,XTAL_32MHz/2/2) /* verified clock on cpu is 16Mhz but probably divided internally by 2 */
661661   MDRV_CPU_PROGRAM_MAP(main_cpu,0)
662662   MDRV_CPU_IO_MAP(main_cpu_io,0)
663663   MDRV_CPU_VBLANK_INT("main", m90_interrupt)
664664
665   MDRV_CPU_ADD(Z80, 3579545)
666   /* audio CPU */   /* 3.579545 MHz */
665   MDRV_CPU_ADD(Z80, XTAL_3_579545MHz) /* verified on pcb */
666   /* audio CPU */
667667   MDRV_CPU_PROGRAM_MAP(sound_readmem,sound_writemem)
668668   MDRV_CPU_IO_MAP(sound_readport,sound_writeport)
669669   MDRV_CPU_VBLANK_INT_HACK(nmi_line_pulse,128)   /* clocked by V1? (Vigilante) */
r2545r2546
688688   /* sound hardware */
689689   MDRV_SPEAKER_STANDARD_MONO("mono")
690690
691   MDRV_SOUND_ADD(YM2151, 3579545)
691   MDRV_SOUND_ADD(YM2151, XTAL_3_579545MHz) /* verified on pcb */
692692   MDRV_SOUND_CONFIG(ym2151_interface)
693693   MDRV_SOUND_ROUTE(0, "mono", 0.90)
694694   MDRV_SOUND_ROUTE(1, "mono", 0.90)
r2545r2546
738738static MACHINE_DRIVER_START( bombrman )
739739
740740   /* basic machine hardware */
741   MDRV_CPU_ADD_TAG("main", V30,32000000/4)
741   MDRV_CPU_ADD_TAG("main", V30,XTAL_32MHz/2/2) /* verified clock on cpu is 16Mhz but probably divided internally by 2 */
742742   MDRV_CPU_CONFIG(bomberman_config)
743743
744744   MDRV_CPU_PROGRAM_MAP(main_cpu,0)
745745   MDRV_CPU_IO_MAP(main_cpu_io,0)
746746   MDRV_CPU_VBLANK_INT("main", m90_interrupt)
747747
748   MDRV_CPU_ADD(Z80, 3579545)
749   /* audio CPU */   /* 3.579545 MHz */
748   MDRV_CPU_ADD(Z80, XTAL_3_579545MHz) /* verified on pcb */
749   /* audio CPU */
750750   MDRV_CPU_PROGRAM_MAP(sound_readmem,sound_writemem)
751751   MDRV_CPU_IO_MAP(sound_readport,sound_writeport)
752752   MDRV_CPU_VBLANK_INT_HACK(nmi_line_pulse,128)   /* clocked by V1? (Vigilante) */
r2545r2546
770770   /* sound hardware */
771771   MDRV_SPEAKER_STANDARD_MONO("mono")
772772
773   MDRV_SOUND_ADD(YM2151, 3579545)
773   MDRV_SOUND_ADD(YM2151, XTAL_3_579545MHz) /* verified on pcb */
774774   MDRV_SOUND_CONFIG(ym2151_interface)
775775   MDRV_SOUND_ROUTE(0, "mono", 0.90)
776776   MDRV_SOUND_ROUTE(1, "mono", 0.90)
r2545r2546
784784static MACHINE_DRIVER_START( bbmanw )
785785
786786   /* basic machine hardware */
787   MDRV_CPU_ADD_TAG("main", V30,32000000/4)
787   MDRV_CPU_ADD_TAG("main", V30,XTAL_32MHz/2/2) /* verified clock on cpu is 16Mhz but probably divided internally by 2 */
788788   MDRV_CPU_CONFIG(dynablaster_config)
789789
790790   MDRV_CPU_PROGRAM_MAP(main_cpu,0)
791791   MDRV_CPU_IO_MAP(main_cpu_io,0)
792792   MDRV_CPU_VBLANK_INT("main", m90_interrupt)
793793
794   MDRV_CPU_ADD(Z80, 3579545)
795   /* audio CPU */   /* 3.579545 MHz */
794   MDRV_CPU_ADD(Z80, XTAL_3_579545MHz) /* verified on pcb */
795   /* audio CPU */
796796   MDRV_CPU_PROGRAM_MAP(sound_readmem,sound_writemem)
797797   MDRV_CPU_IO_MAP(bbmanw_sound_readport,bbmanw_sound_writeport)
798798   MDRV_CPU_VBLANK_INT_HACK(nmi_line_pulse,128)   /* clocked by V1? (Vigilante) */
r2545r2546
816816   /* sound hardware */
817817   MDRV_SPEAKER_STANDARD_MONO("mono")
818818
819   MDRV_SOUND_ADD(YM2151, 3579545)
819   MDRV_SOUND_ADD(YM2151, XTAL_3_579545MHz) /* verified on pcb */
820820   MDRV_SOUND_CONFIG(ym2151_interface)
821821   MDRV_SOUND_ROUTE(0, "mono", 0.90)
822822   MDRV_SOUND_ROUTE(1, "mono", 0.90)
r2545r2546
848848   MDRV_CPU_IO_MAP(main_cpu_io,0)
849849   MDRV_CPU_VBLANK_INT("main", m90_interrupt)
850850
851   MDRV_CPU_ADD(Z80, 3579545)
851   MDRV_CPU_ADD(Z80, XTAL_3_579545MHz)
852852   /* audio CPU */   /* 3.579545 MHz */
853853   MDRV_CPU_PROGRAM_MAP(sound_readmem,sound_writemem)
854854   MDRV_CPU_IO_MAP(sound_readport,sound_writeport)
r2545r2546
873873   /* sound hardware */
874874   MDRV_SPEAKER_STANDARD_MONO("mono")
875875
876   MDRV_SOUND_ADD(YM2151, 3579545)
876   MDRV_SOUND_ADD(YM2151, XTAL_3_579545MHz)
877877   MDRV_SOUND_CONFIG(ym2151_interface)
878878   MDRV_SOUND_ROUTE(0, "mono", 0.90)
879879   MDRV_SOUND_ROUTE(1, "mono", 0.90)
src/mame/drivers/segas32.c
r2545r2546
38173817
38183818static READ16_HANDLER( arescue_slavebusy_r )
38193819{
3820   return 1; // prevents master trying to synch to slave.
3820   return 0x100; // prevents master trying to synch to slave.
38213821}
38223822
38233823static DRIVER_INIT( arescue )
38243824{
38253825   segas32_common_init(analog_custom_io_r, analog_custom_io_w, NULL);
3826   memory_install_readwrite16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0xa00000, 0xa00006, 0, 0, arescue_dsp_r, arescue_dsp_w);
3826   memory_install_readwrite16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0xa00000, 0xa00007, 0, 0, arescue_dsp_r, arescue_dsp_w);
38273827
38283828   dual_pcb_comms = auto_malloc(0x1000);
38293829   memory_install_readwrite16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x810000, 0x810fff, 0, 0, dual_pcb_comms_r, dual_pcb_comms_w);
38303830   memory_install_read16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x818000, 0x818003, 0, 0, dual_pcb_masterslave);
38313831
3832   memory_install_read16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x810001, 0x810001, 0, 0, arescue_handshake_r);
3833   memory_install_read16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x81000f, 0x81000f, 0, 0, arescue_slavebusy_r);
3834
3832   memory_install_read16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x810000, 0x810001, 0, 0, arescue_handshake_r);
3833   memory_install_read16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x81000e, 0x81000f, 0, 0, arescue_slavebusy_r);
38353834}
38363835
38373836
r2545r2546
38763875static WRITE16_HANDLER( f1en_comms_echo_w )
38773876{
38783877   // pretend that slave is following master op, enables attract mode video with sound
3879   program_write_byte( 0x810049, data );
3878   if (ACCESSING_BITS_0_7)
3879      program_write_byte( 0x810049, data );
38803880}
38813881
38823882static DRIVER_INIT( f1en )
r2545r2546
38873887   memory_install_readwrite16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x810000, 0x810fff, 0, 0, dual_pcb_comms_r, dual_pcb_comms_w);
38883888   memory_install_read16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x818000, 0x818003, 0, 0, dual_pcb_masterslave);
38893889
3890   memory_install_write16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x810048, 0x810048, 0, 0, f1en_comms_echo_w);
3890   memory_install_write16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x810048, 0x810049, 0, 0, f1en_comms_echo_w);
38913891}
38923892
38933893
src/mame/drivers/m57.c
r2545r2546
198198static const gfx_layout spritelayout =
199199{
200200   16,32,
201   RGN_FRAC(1,3),
201   64,
202202   3,
203203   { RGN_FRAC(0,3), RGN_FRAC(1,3), RGN_FRAC(2,3) },
204204   { STEP8(0,1), STEP8(16*8,1) },
r2545r2546
208208
209209static GFXDECODE_START( m57 )
210210   GFXDECODE_ENTRY( REGION_GFX1, 0x0000, gfx_8x8x3_planar,    0, 32 )
211   GFXDECODE_ENTRY( REGION_GFX2, 0x0000, spritelayout,     32*8, 32 )
211   GFXDECODE_ENTRY( REGION_GFX2, 0x0000, spritelayout, 32*8, 32 )
212   GFXDECODE_ENTRY( REGION_GFX2, 0x1000, spritelayout, 32*8, 32 )
213   GFXDECODE_ENTRY( REGION_GFX2, 0x2000, spritelayout, 32*8, 32 )
214   GFXDECODE_ENTRY( REGION_GFX2, 0x3000, spritelayout, 32*8, 32 )
212215GFXDECODE_END
213216
214217
src/tools/runtest.cmd
r2545r2546
132132:runone
133133@echo Testing %1 (%2)...
134134echo.>>summary.log
135mame %1 -str 30 -nodebug -nothrottle -inipath .. -video none -nosound 1>log\%1.txt 2>log\%1.err
135mame %1 -str 30 -watchdog 300 -nodebug -nothrottle -inipath .. -video none -nosound 1>log\%1.txt 2>log\%1.err
136136if %errorlevel% equ 100 (
137137echo @@@@@driver=%1: Exception>>summary.log
138138type log\%1.err >>summary.log
src/emu/cpu/x86emit.h
r2545r2546
16951695
16961696
16971697/*-------------------------------------------------
1698    emit_xchg_r8_*
1699-------------------------------------------------*/
1700
1701INLINE void emit_xchg_r8_r8(x86code **emitptr, UINT8 dreg, UINT8 sreg)
1702{
1703   if (dreg == REG_EAX)
1704      emit_op_reg(emitptr, OP_NOP | (sreg & 7), OP_32BIT, sreg);
1705   else if (sreg == REG_EAX)
1706      emit_op_reg(emitptr, OP_NOP | (dreg & 7), OP_32BIT, dreg);
1707   else
1708       emit_op_modrm_reg(emitptr, OP_XCHG_Eb_Gb, OP_32BIT, dreg, sreg);
1709}
1710
1711
1712/*-------------------------------------------------
16981713    emit_mov_r16_*
16991714-------------------------------------------------*/
17001715
r2545r2546
17171732
17181733
17191734/*-------------------------------------------------
1735    emit_xchg_r16_*
1736-------------------------------------------------*/
1737
1738INLINE void emit_xchg_r16_r16(x86code **emitptr, UINT8 dreg, UINT8 sreg)
1739{
1740   if (dreg == REG_EAX)
1741      emit_op_reg(emitptr, OP_NOP | (sreg & 7), OP_16BIT, sreg);
1742   else if (sreg == REG_EAX)
1743      emit_op_reg(emitptr, OP_NOP | (dreg & 7), OP_16BIT, dreg);
1744   else
1745       emit_op_modrm_reg(emitptr, OP_XCHG_Ev_Gv, OP_16BIT, dreg, sreg);
1746}
1747
1748
1749/*-------------------------------------------------
17201750    emit_mov_r32_*
17211751-------------------------------------------------*/
17221752
r2545r2546
17431773
17441774
17451775/*-------------------------------------------------
1776    emit_xchg_r32_*
1777-------------------------------------------------*/
1778
1779INLINE void emit_xchg_r32_r32(x86code **emitptr, UINT8 dreg, UINT8 sreg)
1780{
1781   if (dreg == REG_EAX)
1782      emit_op_reg(emitptr, OP_NOP | (sreg & 7), OP_32BIT, sreg);
1783   else if (sreg == REG_EAX)
1784      emit_op_reg(emitptr, OP_NOP | (dreg & 7), OP_32BIT, dreg);
1785   else
1786       emit_op_modrm_reg(emitptr, OP_XCHG_Ev_Gv, OP_32BIT, dreg, sreg);
1787}
1788
1789
1790/*-------------------------------------------------
17461791    emit_mov_r64_*
17471792-------------------------------------------------*/
17481793
r2545r2546
17811826INLINE void emit_cmovcc_r64_r64(x86code **emitptr, UINT8 cond, UINT8 dreg, UINT8 sreg)          { emit_op_modrm_reg(emitptr, OP_CMOV_O_Gv_Ev + cond, OP_64BIT, dreg, sreg); }
17821827INLINE void emit_cmovcc_r64_m64(x86code **emitptr, UINT8 cond, UINT8 dreg, DECLARE_MEMPARAMS)   { emit_op_modrm_mem(emitptr, OP_CMOV_O_Gv_Ev + cond, OP_64BIT, dreg, MEMPARAMS); }
17831828
1829
1830/*-------------------------------------------------
1831    emit_xchg_r64_*
1832-------------------------------------------------*/
1833
1834INLINE void emit_xchg_r64_r64(x86code **emitptr, UINT8 dreg, UINT8 sreg)
1835{
1836   if (dreg == REG_EAX)
1837      emit_op_reg(emitptr, OP_NOP | (sreg & 7), OP_64BIT, sreg);
1838   else if (sreg == REG_EAX)
1839      emit_op_reg(emitptr, OP_NOP | (dreg & 7), OP_64BIT, dreg);
1840   else
1841       emit_op_modrm_reg(emitptr, OP_XCHG_Ev_Gv, OP_64BIT, dreg, sreg);
1842}
1843
17841844#endif
17851845
17861846
1787
17881847/***************************************************************************
17891848    ARITHMETIC EMITTERS
17901849***************************************************************************/
src/emu/inptport.h
r2545r2546
283283   IPT_UI_SHOW_PROFILER,
284284   IPT_UI_TOGGLE_UI,
285285   IPT_UI_TOGGLE_DEBUG,
286   IPT_UI_PASTE,
286287   IPT_UI_SAVE_STATE,
287288   IPT_UI_LOAD_STATE,
288289   IPT_UI_ADD_CHEAT,
r2545r2546
317318   /* special meaning handled by custom code */
318319   IPT_SPECIAL,
319320
320#ifdef MESS
321   IPT_UI_PASTE,
322#endif /* MESS */
323
324321   __ipt_max
325322};
326323
src/emu/sound/aica.c
r2545r2546
376376         slot->EG.volume-=slot->EG.D1R;
377377         if(slot->EG.volume<=0)
378378            slot->EG.volume=0;
379         if(slot->EG.volume>>(EG_SHIFT+5)<slot->EG.DL)
379         if(slot->EG.volume>>(EG_SHIFT+5)<=slot->EG.DL)
380380            slot->EG.state=DECAY2;
381381         break;
382382      case DECAY2:
src/emu/sound/ay8910.c
r2545r2546
3939  This is backed by oscilloscope pictures from the datasheet. If a fixed volume
4040  is set, i.e. enveloppe is disabled, the output voltage is set to 0V. Recordings
4141  I found on the web for gyruss indicate, that the AY-3-8910 offset should
42  be around 1.5V. This will also make sound levels more compatible with
43  user descriptions.
42  be around 0.2V. This will also make sound levels more compatible with
43  user observations for scramble.
4444
4545  The Model:
4646                     5V     5V
r2545r2546
6666a least square approach using a fixed RL of 1K Ohm.
6767
6868For the AY measurements cited in e.g. openmsx as "Hacker Kay" for a single
69channel were taken. These were normalized to 0 ... 65535 and adapted to on
70offset of 1.5V and a VPP of 1.3V.
69channel were taken. These were normalized to 0 ... 65535 and consequently
70adapted to an offset of 0.2V and a VPP of 1.3V. These measurements are in
71line e.g. with the formula used by pcmenc for the volume: vol(i) = exp(i/2-7.5).
7172
7273The following is documentation from the code moved here and amended to reflect
7374the changes done:
r2545r2546
310311   if (normalize)
311312   {
312313      for (j=0; j < 32*32*32*8; j++)
313         tab[j] = MAX_OUTPUT * (((temp[j] - min)/(max-min)) - 0.25) * factor;
314         tab[j] = MAX_OUTPUT * (((temp[j] - min)/(max-min))) * factor;
314315   }
315316   else
316317   {
src/emu/sound/scsp.c
r2545r2546
419419         slot->EG.volume-=slot->EG.D1R;
420420         if(slot->EG.volume<=0)
421421            slot->EG.volume=0;
422         if(slot->EG.volume>>(EG_SHIFT+5)<slot->EG.DL)
422         if(slot->EG.volume>>(EG_SHIFT+5)<=slot->EG.DL)
423423            slot->EG.state=DECAY2;
424424         break;
425425      case DECAY2:
src/version.c
r2545r2546
99
1010***************************************************************************/
1111
12const char build_version[] = "0.124.1 ("__DATE__")";
12const char build_version[] = "0.125 ("__DATE__")";
src/mess/tests/mess_ibmpc.xml
r2545r2546
11<tests>
22
3<test name="ibmpc_000" driver="ibmpc">
3<test name="ibm5150_000" driver="ibm5150">
44   <wait time="20"/>
55   <input>CLS:PRINT "HELLO MESS"&#13;</input>
66   <wait time="2"/>
src/mess/tests/mess_ibmxt.xml
r2545r2546
11<tests>
22
3<test name="ibmxt_000" driver="ibmxt">
3<test name="ibm5160_000" driver="ibm5160">
44   <wait time="20"/>
55   <checkblank/>
66</test>
docs/messnew.txt
r2545r2546
10.124.1
10.125
22
33New System Drivers Supported (in no particular order):
44------------------------------------------------------
r2545r2546
106106
107107Source Changes:
108108----------------
109- The core is based on MAME 0.124u5.  This incorporates all features of the
109- The core is based on MAME 0.125.  This incorporates all features of the
110110  update to this core.  [MAME team]
111111
112112- Major changes to transition MESS's device system onto MAME's device system.
whatsnew.txt
r2545r2546
10.124a
2------
3
4Fixed major regression in 0.124 which caused many sound routes
5to be applied incorrectly. [Aaron Giles]
6
7Reverted gnga back to its previous state. [David Haywood]
8
9
10
11New clones added
12----------------
13Ghosts'n Goblins (bootleg with Cross) [David Haywood]
14
15
16
170.124
10.125
182-----
193
204
215MAMETesters Bugs Fixed
226----------------------
2301586: [Multisession] bluehawk: Graphics corruption (Reip)
2401433: [Graphics] marvins: If you play player 2, the maze remains
25       unchanged. (Reip)
2601601: [Misc.] orbit: Game doesn't start. Watchdog/reset problem?
701743: [Sound] anteater: Music is really loud and clips (Aaron Giles)
801770: [Misc.] hanayara, mjangels, mjcomv1, mjreach, quiztvqq, tenkai,
9       tenkaibb, tenkaicb, yarunara: msm6242 device assert (Duke)
1001778: [Sound] all sets in m62.c driver: low ay8910 volume
2711       (Aaron Giles)
2801584: [Misc.] exerion, exerionb, exeriont: Assertion (Aaron Giles)
2901560: [DIP/Input] turpin: Cannot coin up in either slot. (RansAckeR)
3001525: [Misc.] wilytowr, atomboy: watchdog resets (RansAckeR)
3101524: [Misc.] btoads: Assertion (Zsolt Vasvari)
3201557: [Misc.] dealem: Assertion (Zsolt Vasvari)
3300059: [Graphics] commsega, locomotn, tactcian: They exhibit a problem
34       with screen area. (Nicola Salmoria)
3500406: [Graphics] qadj: When playing as the ninja, there is one broken
36       frame in his animation loop when walking. (Nicola Salmoria)
1201771: [Misc.] arescue, f1en: space_map_range errors (Aaron Giles)
1301772: [Misc.] daireika: space_map_range assertion (Aaron Giles)
1401773: [Misc.] steelta1, steeltag, steeltal, steeltap: space_map_range
15       error (Aaron Giles)
1601774: [Misc.] racedcb4, racedcg4, racedrc1, racedrc2, racedrc4,
17       racedrcb, racedrcg, racedrvc: space_map_range error
18       (Aaron Giles)
1901775: [Misc.] newtangl, troangel: Crash with Access Violation
20       (robiza)
2101767: [Sound] Various neodrvr.c games: Various sound effects broken
22       (couriersud)
2301769: [Sound] All games using YM2610: SSG volume more than 1.0 causes
24       no audio output. (couriersud)
3725
3826
3927
4028Source Changes
4129--------------
42bbusters: Fixed sprite wrapping -- this is used on the gun calibration
43screen, at least. The game still hangs on a black screen after service
44mode is turned off. Even exiting MAME and restarting doesn't fix it,
45so it's probably a EEPROM issue. [Zsolt Vasvari]
30Added video enable/disable feature in m90 driver. [robiza]
4631
47Added Noise Output to the MSM5232 emulation. [Nicola Salmoria]
32Fixed ROZ centering in namcona1 driver [Phil Stroffolino]
4833
49Added placeholder effects for cymbal and hihat to equites.c. These
50will need further work to properly emulate the discrete circuitry.
51[Nicola Salmoria]
34Added extra tile banking and layer enable for denjinmk.
35[David Haywood]
5236
53Cleaned cidelsa driver up to the latest spec. [Curt Coder]
37Fixed an envelope corner case in the SCSP and AICA. [kingshriek]
5438
55Added NVRAM to Gekisou. Fixed inputs and promoted to working.
56[Nicola Salmoria]
39Removed bogus assertion in device code - DEVICE_TYPE_WILDCARD is NULL.
40[Nathan Woods]
5741
58Explicitly fixed unmapped handler masks so that we don't report all
59unmapped addresses as 0. [Aaron Giles]
42Added xchg and a few other missing opcodes to x86emit.h. [Aaron Giles]
6043
61Centralized definitions of _WIN32_WINNT. Removed malloc/calloc/
62realloc/free link-time overrides; we now rely exclusively on compile-
63time overrides. Made a few tweaks toward getting mingw-w64 working,
64but there are still linker issues. [Aaron Giles]
44Added -watchdog to runtest.cmd. [Aaron Giles]
6545
66Fixed assertions in skullxbo and exerion. [Aaron Giles]
46Verified clocks on Bomberman pcb which runs on M90 hardware.
47[Corrado Tomaselli]
6748
68De-deprecat-ed ui.c. [Aaron Giles]
6949
70Changed xmlfile.c to pass in memory handlers to expat so that
71our memory overrides are properly managed. [Aaron Giles]
7250
73Fixed wbbc97 regression. [Zsolt Vasvari]
74
75Fixed crospang.c regression. Not sure why this needed to be RGB15,
76works fine with INDEXED16. [Zsolt Vasvari]
77
78[GTICLUB] Fixed crash. [R. Belmont]
79
80[SCSI] Fixed case when no device exists (e.g. running the sys573 BIOS
81directly). [R. Belmont]
82
83Got most of the Konami PPC games running again. [R. Belmont]
84
85Fixed crash running "kviper" BIOS. [R. Belmont]
86
87Changed crystal.c from RGB15 to RGB32. RGB15 is not enough bits to
88hold the 5-6-5 colorspace. [Zsolt Vasvari]
89
90Updated astrof.c to use the timer device. [Zsolt Vasvari]
91
92dgpix and eolith: Converted to INDEXED16. Removed temp bitmaps.
93Changed ugly recursive video RAM code. [Zsolt Vasvari]
94
95ddz: Removed RGB15 -- it's a "skeleton" driver, so why have it?
96[Zsolt Vasvari]
97
98video\generic.c: Added PALETTE_INIT functions for common 16-bit RGB
99patterns. [Zsolt Vasvari]
100
101Converted f-32, kinst, lethalj, ultrsprt, gamecstl, taitowlf to use
102INDEXED16. [Zsolt Vasvari]
103
104Added option in MC6845 to programatically set the clock pin. This is
105needed by at least one MESS driver. Added
106mc6845_set_hpixels_per_column() for the Hercules gfx adapter.
107[Zsolt Vasvari]
108
109Fixed video timing in xtheball. Still don't know why it changed
110recently, but the new parameters reproduce the old values.
111[Aaron Giles]
112
113Removed unnecessary assert in video.c that broke screenless games.
114[Dirk Best]
115
116Changed the zombraid gun input ports to work with the calibrated
117settings. [Derrick Renaud]
118
119Fixed malzak2 from crashing. [Zsolt Vasvari]
120
121Fixed graphics ROMs in gnga. [Cesare Falco]
122
123Added validity check to ensure input port tags don't have duplicates.
124Fixed several drivers where there were duplicates. [Aaron Giles]
125
126Corrected clocks on Cabal bootleg. [Corrado Tomaselli]
127
128blockhl.c, blockout.c: Added dip locations, fixed unknown dip
129switches. [RansAckeR]
130
131Removed improper use of PERIODIC_INT in mpu4, to use new timer
132devices. Also corrected 50Hz timer in MPU4 Video games.
133[James Wallace]
134
135Fixed bug in tx1.c spotted by new compiler warnings in gcc 4.3.0.
136[Atari Ace]
137
138Another batch of pedantic static/const/include fixes. [Atari Ace]
139
140Redid video timing in orbit with raw parameters. Added full memory map
141and a few other cleanups. [Aaron Giles]
142
143
144
14551New games added or promoted from NOT_WORKING status
14652---------------------------------------------------
147Gekisou [Nicola Salmoria]
148Mermaid [robiza]
53Paparazzi [Tomasz Slanina]
14954
15055
15156
15257New clones added
15358----------------
154Ridge Racer (Rev. RR3, World) [Andrea Turci]
59Touchmaster 7000 V8.04 [Brian Troha]
60Megatouch III Tournament Edition [Hugh McLenaghan]
61Megatouch III [Mariusz Wojcieszek]
62Heated Barrel (World version 3) [Tomasz Slanina]
63Raiden 2 (set 7) [Tomasz Slanina]
15564
15665
15766
1580.123u6
670.124u5
15968-------
16069
16170
16271MAMETesters Bugs Fixed
16372----------------------
164- 01520: [DIP/Input] wilytowr, atomboy: dipswitch info
165- 01236: [DIP/Input] psurge: Power Surge isn't coining up.
166- 01521: [Gameplay] ar_sdwr: Game hangs on title screen
167- 01477: [Gameplay] metamrph, metamrpj, metamrpu: Game doesn't start
168- 01452: [Misc.] boobhack: Crashes
169- 01474: [Sound] ninjakd2, ninjak2a, ninjak2b, rdaction: Ninja-Kid II
170         sound problem
171- 01461: [Misc.] mazinger: reset caused by the watchedog message
172- 01440: [Speed] mazingar, agallet: Terrible slow down in some scenes.
173- 01087: [Misc.] spbactn, spbactnj: Crash in debug build. Corrupted
174         graphics in normal build.
175- 00223: [Graphics] splndrbt: On the first level when you pass the
176         asteroid belt the star road should be light blue instead of
177         black like mam
178- 00220: [Graphics] splndrbt: Concerning the gfx, on the pcb the
179         background is not linear as shown in mame.
180- 00217: [Graphics] splndrbt: On boot the pcb displays a clean light
181         blu screen while in mame there is a black road.
182- 01531: [Misc.] polygon-based drivers: winwork.c memory leak
183- 00150: [Misc.] alpinr2b, alpinesa : Assertion with -debug
184- 01462: [Save/Restore] atarimo_render-based drivers: Crash when
185         loading an autosave save state
186- 01538: [Core] -verifysamples: Inconsistent handling of missing
187         sample sets
188- 01491: [Interface] switchres causes Exception at EIP=009413BF:
189         ACCESS VIOLATION
190- 01529: [Misc.] AICA memory leak
191- 01511: [Save/Restore] batman: Fails to load autosave state
192- 01536: [Misc.] uballoon: Access Violation with -debug
193- 01535: [Misc.] usclssic: Access Violation with -debug
194- 01465: [Misc.] topgunnr: Crashes
195- 01534: [Misc.] ajax, ajaxj, typhoon: Access Violation with -debug
196- 01019: [Sound] Various Drivers: List of drivers with sound clipping
197- 01499: [Multisession] Various Drivers: Launching games from in-game
198         [TAB] menu 2-3 times in a row throws access violation.
199- 01453: [Misc.] troangel, newtangl: Crashes
200- 01463: [Misc.] connect4, mpu4met0, mpu4tst2, mpu4utst, bctvidbs:
201         Assertion
202- 01475: [Misc.] Screenless systems are broken because of a vblank
203         callback
204- 01486: [Gameplay] meritm.c: access violation for all games
205- 01530: [Misc.] Various Drivers: bitmap memory leaks
206- 01508: [Misc.] most vector-based drivers: Assertions
207- 01527: [Misc.] all meritm.c drivers: Assertion
208- 01528: [Misc.] pzlestar, sexyboom: Assertion
209- 01522: [Misc.] all ddragon.c drivers: Assertion
210- 01523: [Misc.] nkdodge, nkdodgeb, spdodgeb: Assertion
211- 01524: [Misc.] btoads: Assertion
212- 01526: [Misc.] futflash, laserbas, laserbsa: Assertion
213- 01507: [Misc.] all naomi.c drivers: Assertion
214- 01503: [Misc.] sidearjp, sidearmr, sidearms: Assertion
215- 01509: [Misc.] backfire, backfira: Assertion
216- 01501: [Misc.] all m107.c drivers: assertion
217- 01504: [Misc.] all leland.c drivers: Assertion
218- 01506: [Misc.] all ataxx.c drivers: Assertion
219- 01500: [Misc.] all astrocde.c drivers: assertion
220- 01514: [Misc.] all cyberbal.c drivers: Assertion
221- 01515: [Misc.] all atarig42.c drivers: Assertion
222- 01516: [Misc.] all atarigx2.c drivers: Assertion
223- 01517: [Misc.] all atarigt.c drivers: Assertion
224- 01505: [Misc.] all vicdual.c drivers: Assertion
225- 01512: [Misc.] beathead: Assertion
226- 01496: [Misc.] all segae.c drivers: Crashing with Access Violation
227- 01498: [Gameplay] otwalls: Hangs before the game starts.
7301752: [Core] Warnings making standard .124u4 in GCC 4.3.0 (mingw)
74       (Aaron Giles)
7500149: [Misc.] No error report for invalid BIOS setting. (Aaron Giles)
7601628: [Sound] bgaregga, bgareghk, bgaregnv, bgaregcn, bgaregt2:
77       Sound broken (robiza)
7801757: [Graphics] fieldday, undoukai: Graphics Corruption. (robiza)
7900249: [Graphics] vangrd2: [possible] In cocktail mode, or when the
80       flip screen dip is set, the score display is not flipped.
81       (robiza)
8200506: [Graphics] marvins: Screen flipping isn't correctly supported
83       (robiza)
8401744: [Graphics] gradius3, grdius3a, grdius3e: missing title text in
85       intro (robiza)
8601747: [Graphics] dietgo, dietgoe, dietgou, dietgoj: A ToDo note no
87       more needed into the driver. (robiza)
8801430: [Graphics] riskchal: Sprite-tile priority problem (robiza)
8901750: [Graphics] troangel, newtangl: Corrupt sprite graphics in game
90       (robiza)
22891
22992
230
23193Source Changes
23294--------------
233Added a new device type for timers. Where applicable, added a parallel
234set of timer functions that take a device_config instead of an
235emu_timer. Added MDRV_TIMER_* macros to define the timers in the
236machine driver. Implemented both periodic and scanline-based timer
237variants. Modified Space Encounters and Centipede to make use of this
238feature. Going forward, this is the preferred way of creating periodic
239timers. [Zsolt Vasvari]
240
241Renamed *_vbl_cb to *_vblank_callback. [Aaron Giles]
242
243Magicfly updates: [Roberto Fresca]
244 - Completed the component list & PCB layout.
245 - Added technical references to register $63 (magicfly).
246 - Switched crystal to new predefined format.
247
248Funworld updates: [Roberto Fresca]
249 - Added proper inputs to jolyc980.
250 - Added temporary patch to allow bypass the "code" screen in jolyc980.
95snookr10 updates: [Roberto Fresca]
96 - Decrypted the apple10 tile matrix.
97 - Partially decrypted the apple10 color codes.
98 - Added encryption notes.
25199 - Updated technical notes.
252100
253Changed exidy440_sound_command back to "UINT8." Since it's used by
254both 8-bit and 16-bit systems, the automatic allocation is not worth
255it if you need an ugly UINT16 ** cast. Removed deprecat.h from some of
256the exidy files. [Zsolt Vasvari]
101Added DISCRETE_KEY_SALLEN_FILTER to discrete sound system.
102[couriersud]
257103
258Fixed Air Buster bootleg from reseting because of the watchdog.
259[Zsolt Vasvari]
104Added discrete mixing and filtering to irem games using m52-sound-c
105boards: mpatrol, travrusa. [couriersud]
260106
261The on-screen "Reset by watchdog" message only appears in debug
262builds now. [Zsolt Vasvari]
107Proper implementation of the tile/sprite priorities in m90 driver.
108This fix priorities in quizf1, riskchal amd maybe more m90 games.
109[robiza, Corrado Tomaselli]
263110
264Fixed the top screen in the megatech games. [Zsolt Vasvari]
111Fix AY-3-8910/YM2149 and derivatives envelope handling. [couriersud]
265112
266Added internal artwork for Gorf. [Mr. Do!]
113Funworld games: [Roberto Fresca]
114 - Fixed AY8910 volume to all games to avoid clips.
115 - Merge bigdeal and funworld machine drivers thanks to the AY8910 rewrite.
116 - Removed old unaccurate commentary about magiccrd tiles.
267117
268Fixed memory leak in clifront.c. [Zsolt Vasvari]
118De-hacked metro tilemaps. [David Haywood]
269119
270Added a crosshair_set_screen() to allow drivers to control which
271screen(s) on which crosshairs are displayed. [Nathan Woods]
120Sandii' Games: [Roberto Fresca]
121 - Created a new machine driver for tenballs due to different memory
122    map.
123 - Worked all the input ports from the scratch.
124 - Fixed the sound ROM_REGION.
125 - Added the oki6295 emulation to all games.
126 - Hooked output ports.
127 - Documented and calculated all bits related to lamps.
128 - Adjusted palette lenght to 256 colors.
129 - Totally decrypted the apple10 color matrix. Now colors are perfect.
130 - Created a new machine driver for apple10 due to encryption.
131 - Reverse engineering the code to complete the DIP switches.
132 - Added diplocations to DIP switches.
133 - Promoted snookr10, apple10 and tenballs to 'WORKING' state.
134 - Added game instructions & notes.
135 - Updated encryption & technical notes.
272136
273Made it a fatalerror to registr save state callbacks at the wrong time
274if the current driver claims to support save states. [Aaron Giles]
137NES/PlayChoice 10 changes: [Mariusz Wojcieszek]
138- added support for mapping rom and ram in PPU video memory space
139- added PinBot mapper (H board)
275140
276Fixed chicken and egg problem with device_start callbacks:
277[Aaron Giles]
278 
279 - Added DEVINFO_INT_TOKEN_BYTES, which is queried before device
280   startup. It should return the size of the structure that will
281   be hung off of device->token. It must not return 0.
141All CMC italian games: [Roberto Fresca]
142 - Added TICKET and HOPPER buttons to allow payout through the SUPER
143    GAME.
144 - Documented the featured SUPER GAME with complete instructions.
145 - Improved DIP switches to properly set the payout system.
282146
283 - Changed the core device interface to allocate and zero a block
284   of memory the size of DEVINFO_INT_TOKEN_BYTES before calling
285   device_start. The pointer to this memory is already attached
286   to device->token at the time device_start is called.
147Changed the implementation of the cocktail mode in marvins.c.
148[robiza]
287149
288 - The primary motivation for this is to allow the device_start
289   function to make internal calls and pass the device_config *
290   around as if the object were fully constructed. Since the token
291   is used to indicate whether or not a device is live, this makes
292   the device "live" at the time device_start is called rather
293   than after it completes.
150Merged memory maps for tunhunt, tumblep, tugboat, trucocl, and truco.
151[Andrew Gardner]
294152
295Moved per-screen initialization into DEVICE_START and per-screen
296cleanup into DEVICE_STOP in the core video implementation.
297[Aaron Giles]
153meritm driver updates: [Brian Troha, Tafoid]
154 - Consolidated, corrected and updated info
155 - Verified Megatouch IV program rom
156 - Corrected many rom names
157 - Add game revision to game name (IE: 9255-40-01 ROE)
158 - Added pals from Megatouch 6 to other sets as they all run on the
159    same PCB
160 - Add the sound clock update from Tafoid
298161
299Fixed render_target_get_minimum_size() to return nominal values
300if no screens are found. [Aaron Giles]
162Massive update to ROM naming in the CPS1 driver, also loading smaller
163eproms for Japanese sets instead of the larger mask ROMs where
164possible. Added information about B-Board revisions where possible.
165There is still work to do on this regard but this is a first step in
166untangling the mess. [Nicola Salmoria]
301167
302Alpha Denshi major update: [Nicola Salmoria]
303 - Fixed Alpha 8201/830x MCU simulation.
304   - all hacks from the equites driver removed
305   - fixed equites restart position after going underground
306   - fixed hvolume, splndrbt 2 players
307   - removed hacks from exctsccr2
308   - fixed CPU gameplay in shougi
309 - added dump of Alpha 8201 MCU to games that use it
310   (the ROM isn't used yet, HMCS44 CPU core needs to be written first)
311 - major cleanup of the mess in equites.c:
312   - many thanks to Corrado Tomaselli for precious hardware info.
313   - implemented bg perspective scrolling using PROMs
314   - fixed sprite flip & disable
315   - fixed bg color
316   - converted bg to tilemaps
317   - fixed fg banking
318   - fixed screen flip
319   - removed meaningless banking of player inputs
320   - added UI adjuster for MSM5232 frequency
321   - MSM5232 volume control
322 - fixed MSM5232 noise LFSR formula (done by Jarek Burczynski;
323    thanks to Corrado Tomaselli for samples)
324 - changed MSM5232 emulator to output channels separately
325 - added output of SOLO channels to MSM5232 emulator.
326 - fixed champbas inputs
327 - merged talbot with champbas, some driver clenaup
328 - fixed shougi inputs
329 - switched exctsccb to use the correct gfx ROMs (matches screenshot
330    found in 01058 exctsccb: Exciting soccer bootleg should be placed
331    in champbas.c.)
332 - fixed sprite bpp in exctscrr, removed the horrible hacks that were
333    used to fix colors and transparency.
334 - fixed sound clipping in exctsccr
335 - added percussions to the equites.c games using samples; sound board
336    emulation is still not complete. Cymbal hit and hi-hat are
337    missing; bassline is incorrect, and DAC output should be filtered
168Verified more CPS1 gfx ROM mappings against PALs.
169[Nicola Salmoria, Corrado Tomaselli]
338170
339Fixed crash in spbactn. [Zsolt Vasvari]
171Fixed another opcode in match it 2. [robiza]
340172
341In drawgfx, removed unneeded pen lookups. Did some code formatting
342clean-up. [Zsolt Vasvari]
173Converted the MSM6242 RTC into a proper device. [Dirk Best]
343174
344Fixed ninjakd2 PCM sample rate to match pcb measurement.
345[Nicola Salmoria]
175Removed deprecat.h from debugger.h to prevent hiding modules that
176really needed to include deprecat.h. [Atari Ace]
346177
347Fixed chdman -extract to a physical drive on Windows. [Aaron Giles]
178Added support for 8080/85 mode interrupts to the 8259 PIC.
179[Miodrag Milanovic]
348180
349Added return value to video_screen_update_partial() indicating whether
350or not the VIDEO_UPDATE was called as a result. [Aaron Giles]
181Verified a "not sure" opcode in bombrman. [robiza]
351182
352Fixed typo in pitnrun frequency. [Corrado Tomaselli]
183Changed BIOS errors so that specifying an invalid BIOS is a warning,
184not a fatal error. Also re-allowed "default" as a BIOS setting with
185special meaning. [Aaron Giles]
353186
354DIP switch improvements: [RansAckeR]
355 1945kiii.c, 88games.c and 40love.c: Made use of PORT_DIPUNKNOWN_DIPLOC
356 40love.c: Made use of PORT_INCLUDE
357 8080bw.c: Added more dip locations; Made use of PORT_INCLUDE
358 wilytowr.c: Added dip locations for atomboy/wilytowr; Fixed coin modes
359 battlane.c, battlera.c, battlnts.c, bbusters.c: added dip locations
360 battlnts.c: made use of PORT_INCLUDE; fixed unknown dip switch
361 bbusters.c: added note regarding correct gun calibration
362 bionicc.c: Added dip locations
363 bladestl.c: Added dip locations, made use of PORT_INCLUDE
364 blockade.c: made use of PORT_INCLUDE
365 beezer.c: Added dip locations
366 bfm_sc2.c: dip switch improvements, made use of PORT_INCLUDE
367187
368Conerted the MPU4 driver to use an HD6845, as the Hitachi part was on the
369PCB, while also using it to generate the VBLANK, rather than hardcoding
370a value. Added the pulldown resistor to the network, and added all the
371conditional inputs. Please note that on the later Cabinet Types (Ready
372Steady Go-1 onwards), the 10p slot is locked out (location of the true
373register for this is unknown), but the input setting is correct - you
374have to use Coin 2 or higher to get money in. [James Wallace]
375188
376Fixed "garbage" (newlines) in the debugger window when debugging the
377SH-4 CPU. [Oliver Stoenberg]
378
379
380
381189New games added or promoted from NOT_WORKING status
382190---------------------------------------------------
383Gekisou [Nicola Salmoria]
384Pot Game (italian) [Roberto Fresca]
191Quiz F-1 1,2finish [robiza]
192PinBot (PlayChoice-10) [Mariusz Wojcieszek]
193Snooker 10 [Roberto Fresca]
194Apple 10 [Roberto Fresca]
195Ten Balls [Roberto Fresca]
385196
386197
198
387199New clones added
388200----------------
389Pitfall II (315-5093, Flicky Conversion) [Corrado Tomaselli]
390Thunder Dragon (4th Jun. 1991) [Corrado Tomaselli]
201Touch Master 3000 V5.02 [Brian Troha]
202Megatouch IV (9255-40-01-ROE) [Brian Troha]
203Dynasty Wars (US set 2) [Corrado Tomaselli]
204Final Fight (Japan 900112) [Chack'n]
205Street Fighter Alpha 2 (Euro 960229) [Razoola]
206Raimais (Japan / First Revision) [Corrado Tomaselli]
391207
392208
393209
3940.123u5
210New games marked as GAME_NOT_WORKING
211------------------------------------
212Forgotten Worlds (World?) [The Guru]
213
214
215
2160.124u4
395217-------
396218
397219
398220MAMETesters Bugs Fixed
399221----------------------
40001216 [Tomasz Slanina]
40100898 [couriersud]
40201436 [Aaron Giles]
40301480 [robiza]
40401482 [Zsolt Vasvari]
40501429 [RansAckeR]
40600593 [RansAckeR]
40701478 [RansAckeR]
22200426: [Core] tenkaibb, mjreach: don't bootup correctly. (Emuman)
22301711: [Gameplay] connect4, mpu4met0, mpu4tst2, mpu4utst, bctvidbs:
224       Using -CHEAT trigger causes a crash (Atari Ace)
22500149: [Misc.] No error report for invalid BIOS setting. (Atari Ace)
22601588: [Core] timecrsa, timecris: MAME simply quits after pressing F3
227       in both sets, game cannot be runned (Atari Ace)
22801733: [Core] diehard: Game fails to start (Aaron Giles)
22901710: [DIP/Input] spacetrk, sptrekct: Cannot insert coins in both sets
230       (Aaron Giles)
23101721: [DIP/Input] sspaceat, sspacat2, sspacat3, sspacatc : Problems
232       with inserting coins. (Aaron Giles)
23301740: [DIP/Input] carnival, headon, heiankyo, pulsar, samurai,
234       tranqgun : Is not possible to insert any coin. (Aaron Giles)
23501724: [Core] garou, garouo: Can't start the game (Aaron Giles)
23601732: [Core] kof99, kof99a, kof99e: Game doesn't start (Aaron Giles)
23701742: [Interface] punchout, armwrest + many vsnes.c and playch10.c
238       games: Refreshspeed causes fatal exception in punchout
239       (Aaron Giles)
24001670: [Graphics] kungfum, kungfud, spartanx, kungfub, kungfub2: Main
241       character sprite not hidden at end of level. (Nicola Salmoria)
24201686: [Graphics] ldrun3, ldrun3jp: visible area problem
243       (Nicola Salmoria)
24400248: [Graphics] repulse: Once the player has been shot, a misplaced
245       tile appears on the screen. (robiza)
24601145: [Graphics] sonofphx, 99lstwar, 99lstwrk, repulse: When you die
247       in the first level, there's a red graphics glitch at the lower
248       left. (robiza)
24900498: [Graphics] sonofphx, 99lstwar, 99lstwra, 99lstwrk, repulse: When
250       the end-level mothership appears in the stage 4, it shows through
251       the trees and scrolls showing through. (robiza)
408252
409253
410254
411255Source Changes
412256--------------
413Fixed flickering in Electric Yo-Yo. Changed qix driver to use the
414MC6845's VSYNC notification for interrupts. [Zsolt Vasvari]
257Improvements to aerfboo2: [robiza]
258 - fix bg1 and bg2 offset
259 - fix sprites
260 - promoted to "working" (NO SOUND)
415261
416Removed machine from the parameters of some of the device_get_info
417and device_set_info calls because that information is stored
418with the device now. [Aaron Giles]
262Added a macro for the CDP1869 interface, and made write handlers
263optional. [Curt Coder]
419264
420Changed device interfaces to pass the device_config * rather
421than tokens and individual bits to the device callbacks. Updated
422all existing devices accordingly. [Aaron Giles]
265Fixed offset sprite/background in kyugo.c. [robiza]
423266
424A number of changes to remove references to screens by index and
425make the video system based strictly upon the screen devices:
426[Zsolt Vasvari]
267Fixed the 6502 family of disassemblers to show the correct bit to
268operate for BBR, BBS, RMB and SMB instructions. (65C02/65CE02 CPUs
269and variants) [Roberto Fresca]
427270
428 * changed vblank_state_changed_func to now have a device_config
429    argument
430 * removed runnning_machine as the first parameter of a VBLANK
431    callback
432 * removed video_data from running_machine
433 * private state screen information now hangs off the public one,
434    instead of the other way around
435 * combined video_global and video_private into a single structure
436 * moved populating screen_state from mame.c to video.c
437 * removed defstate; the default screen parameters live in
438    screen_config directly
439 * moved 'refresh' from public to internal video state and renamed
440    it to 'frame_period'
441 * changed all drivers that previously accessed 'refresh' to use
442    video_screen_get_frame_period()
443 * changed VIDEO_UPDATE signature to pass the screen device
444 * added const device_config *primary_screen to running_machine
445 * changed first argument of video_screen_* functions to take a
446    device_config; all callers that used 0 for the screen number now
447    use machine->primary_screen
448 * changed game info screen and overlay UI to display the screen tag
449    instead of screen number
450 * added video_screen_get_visible_area()
451 * changed render.c to use screen devices
452 * removed direct driver access to machine->screen[] array
453 * added video_screen_auto_bitmap_alloc(screen)
454 * the Dynax/Don Den Lover games now do their updating in VIDEO_UPDATE
455    instead of VIDEO_EOF. Seems to have fixed the palette problems
456 * hooked up swapped videoram in Karnov properly -- same idea as
457    Burger Time
458 * removed the public screen_state object -- all access is via
459    functions
460 * removed screen[] object from running_machine
461 * removed MAX_SCREENS constant -- there is no longer a hardcoded
462    upper bound
463 
464Changed the MC6845 to take and pass device_config's only. The
465following shook out from this that are applicable to other devices
466as well: [Zsolt Vasvari]
467 - running_machine is no longer taken, passed or stored
468 - mc6845_t is now private
469 - since passing device_config's is not device type safe, I added a
470    get_safe_token() to mc6845.c to check the device passed in for
471    the valid type.
271Fixed 2 opcodes for quizf1: now the little machines move correctly.
272[robiza]
472273
473Removed video_data from running_machine. Private state screen
474information now hangs off the public one, instead of the other way
475around. Combined video_global and video_private into a single
476structure. [Zsolt Vasvari]
274Converted the ppi8255 implementation to a device. [Wilbert Pol]
477275
478Fixed the crash in Galaga caused by the slightly altered video timing.
479[Zsolt Vasvari]
276Changed the inline validity checks to work around GCC bug #35885.
277[Wilbert Pol]
480278
481Converted address maps to tokens. Changed the address_map structure
482to house global map-wide information and hung a list of entries off
483of it corresponding to each address range. Introduced new functions
484address_map_alloc() and address_map_free() to build/destroy these
485structures. Updated all code as necessary. [Aaron Giles]
279Expanded the set of memory accessor functions. In addition to
280direct byte, word, dword, and qword accessors for all bus sizes,
281there are now masked word, dword, and qword accessors for all
282bus sizes. [Aaron Giles]
486283
487Fixed several instances of porttagtohandler*() in the address maps.
488Drivers should use AM_READ_PORT() macros instead. [Aaron Giles]
284Further CPS1 improvements:
285[Nicola Salmoria, Corrado Tomaselli, Charles MacDonald]
286 * fixed layer enable at the end of stage 4 in Varth.
287 * increased Varth CPU clock to 12MHz to reduce slowdowns (the game
288    was released after sf2ce so the faster A-board was available).
289 * verified more gfx rom mappings against PAL dumps (thanks to Corrado)
290 * verified memory maps using A-board PAL dumps (thanks to Charles)
291 * separated the address ranges for CPS-A and CPS-B customs. This
292    finally clarifies why some registers are fixed and some change
293    with every game.
294 * identified three new unknown registers in the CPS-B-21 custom.
295    Their purpose is unknown.
296 * all unhandled accesses to CPS-A/CPS-B registers will now be
297    reported. There shouldn't be any left. Look out for
298    "contact MAMEDEV" popups.
299 * cleaned memory maps. Moved forgotten worlds special input mmeory
300    handlers to DRIVER_INIT.
301 * moved extra input handlers to video/cps1.c since the extra
302    connectors are on the C-board.
303 * added sound to Final Crash.
304 * lowered SF2 clock speed to 10MHz. This is on the assumption that,
305    since the 12MHz A-Board is called "89626A-4 DASH", it should
306    have started to be used with SF2 DASH--that is, sf2ce.
489307
490ADDRESS_MAP_EXTERN() now is required to specify the number of
491databits, just like ADDRESS_MAP_START. [Aaron Giles]
308Inverted the sense of the memory mask that is passed to read/write
309handlers. Previously, the mask indicated which bits were NOT requested
310to be read/written. Now, the mask indicates which bits ARE to be
311read/written, which is more logical. Updated a number of drivers and
312the MIPS CPU cores to comply. [Aaron Giles]
492313
493Removed ADDRESS_MAP_FLAGS() grossness. There are now three new macros
494which replace its former usage. ADDRESS_MAP_GLOBAL_MASK(mask)
495specifies a global address-space-wide mask on all addresses. Useful
496for cases where one or more address lines simply are not used at
497all. And ADDRESS_MAP_UNMAP_LOW/HIGH specifies the behavior of
498unmapped reads (do they come back as 0 or ~0). [Aaron Giles]
314Funworld updates: [Roberto Fresca]
315 - Removed the temporary hack to jolyc980.
316 - Updated technical notes
317 - Moved snookr10 to its own driver.
318-  Minor clean-up.
499319
500Changed internal memory mapping behavior to keep only a single
501address map and store the byte-adjusted values next in the address
502map entries rather than maintaining two separate maps. Many other
503small internal changes/cleanups. [Aaron Giles]
320Improved the IGS017 based games: [Luca Elia]
321- iqblocka: bypassed the protection, emulated the video hardware,
322   inputs and sound.
323- tjsb: it now boots and has partially decrypted graphics.
504324
505Changed MC6845 to take a screen tag instead of a screen number.
506[Zsolt Vasvari]
325Added new Windows option -watchdog, which creates a watchdog thread
326that forcibly kills the application after a certain number of seconds.
327Primarily intended to be used in regression test runs to handle the
328occasional hung game. [Aaron Giles]
507329
508Voodoo now takes a device_config for the screen. [Zsolt Vasvari]
330Improved popper.c colors useing resistor values from schematics.
331[couriersud, Joe Magiera]
509332
510Changed TMS34010 to take a screen tag instead of screen number.
511[Zsolt Vasvari]
333Changed and verified cpu frequencies on kyugo.c games. Gyrodine and
33499 the last war and clones run on the same board. [Corrado Tomaselli]
512335
513Replaced the following macros (SMH == static memory handler)
336Added preliminary 68681 DUART (machine\68681.c) [Mariusz Wojcieszek]
514337
515   MRA*_BANK*/MRA*_BANK* -> SMH_BANK*
516   MRA*_RAM/MRA*_ROM     -> SMH_RAM
517   MRA*_ROM/MWA*_ROM     -> SMH_ROM
518   MRA*_NOP/MWA*_NOP     -> SMH_NOP
519   MRA*_UNMAP/MWA*_UNMAP -> SMH_UNMAP
338Moved Microtouch touch screen controller emulation to separate module
339(machine\microtch.c). [Mariusz Wojcieszek]
520340
521This removes the silly need for a bunch of redundant constants
522with faux type definitions that didn't buy anything. [Aaron Giles]
341Specifying an invalid bios is now a fatalerror. Also, "default" is
342no longer a special BIOS type; if you want the default BIOS, leave
343the bios option blank. [Atari Ace]
523344
524Moved some memory system constants into memory.c. [Aaron Giles]
345DEC T-11 CPU improvements: [Miodrag Milanovic]
346 - HALT - now calls interrupt vector
347 - ILLEGAL - had PC=0 at the end which makes code not run fine
348 - MARK - now it is implemented
525349
526Converted atarigen and tms34061 to be handle based. [Zsolt Vasvari]
350Memory map merge for twin16 driver. [Andrew Gardner]
527351
528Changed how the PowerPC MMU is enabled at compile time, to cut down
529on the amount of unused functions in MAME. [Nathan Woods]
352Removed silly idle skip code in prehisle driver. [David Haywood]
530353
531Some additional memory system cleanups: [Aaron Giles]
532 * Made address versus byte offsets explicit throughout.
533 * Removed some unused parameters.
534 * Consolidated initialization process.
535 * Removed maximum memory block count.
536 * Centralized bank management.
537 * Added masked handlers and change_pc to the accessors.
538 * Added memory_get_accessors() to return a pointer to the accessors
539   for a given address space/databus width/endian configuration.
354AY-3-8910 rewrite: [couriersud]
355 * adds a model to calculate mixing of channels with different
356    resistance loads.
357 * based on above, each channel may be assigned a different load in
358    individual case, i.e. channels not tied together
359 * rewrote ay8910.c to make emulation simpler
360 * changed the config structure to include a flag field and output
361    resistor loads.
362 * Updated all drivers affected.
363 * Added some "Todos" related to stuff I discovered when reading
364    datasheets.
365 * Fixed a bug in disc_flt.c (konami filters)
540366
541Adds some new 6845 varieties: MC6845-1, H46505, HD6845 and SY6545-1.
542[Zsolt Vasvari]
367Fixed discrete sound and konami filter addressing in galaxian driver.
368Also changed addressing of AY-3-8910 to be in line with schematics.
369[couriersud]
543370
544Moved crosshair code from video.c into its own module. Simplified
545crosshair logic and made it screen device based. [Zsolt Vasvari]
371Added discrete sound for filtering ("konami"-style) and mixing in
372gyruss.c. [couriersud]
546373
547Saturate MultiPCM on clip and fix envelope discontinuity. [ElSemi]
374Changed UI to allow volumes higher than 2.0. [Nicola Salmoria]
548375
549Fixed loading mixer settings when the driver default value is
550calculated. [Nicola Salmoria]
376Changed code which used assignment in conditionals to break out the
377assignment. [Atari Ace]
551378
552Removed cpu_scalebyfcount(). Changed input ports to register a frame
553callback, which is called immediately after throttling and updating.
554This is the proper "sync point" between emulated time and real time.
555Moved all analog and digital port processing into a central place
556here. Added tracking of time since the previous frame update and use
557that as an estimate for the time of the current frame. This is used
558to scale analog ports without the use of cpu_scalebyfcount(). This
559is not perfect in the case where frame rates are dynamic (vector
560games), but works well for other cases. [Aaron Giles]
379Converted a large number of Machine -> machine and removed #include
380"deprecat.h" where possible. [Atari Ace]
561381
562Fixed VBLANK end time computation and video_screen_get_vblank() --
563they weren't taking into account games that use
564MDRV_SCREEN_VBLANK_TIME. [Zsolt Vasvari]
565382
566Fixed 68000 prefetching operation. Previous behavior was incorrect.
567[Aaron Giles]
568383
569Changed slapstic management to always install an opbase handler to
570more aggressively catch code executing in the slapstic region.
571Updated all drivers to separate the slapstic region of ROM into a
572different ROM section from the fixed ROM. [Aaron Giles]
573
574superqix.c changes: [Mike Haaland]
575 - Changed vblank interrupts to 3 to fix screen drawing issues.
576 - Used memory_configure_bank() to configure memory.
577 - Added save states.
578
579Added some clock frequency changes which were documented in u4 but
580which did not apply due to operator error. [Corrado Tomaselli]
581
582Added layout to crop corners in Electric Yo-Yo. [Mr. Do!]
583
584Added support for Sega Virtua Processor, to run Genesis/MegaDrive
585version of Virtua Racing, intended to be used by MESS. It consists
586of a CPU core SSP1601, and updates in megadriv.c: [notaz]
587 * SSP1601 replaces SSP1610, as it has been confirmed that SVP
588    actually contains SSP1601. The current SSP1610 is only a
589    placeholder (nearly completely unimplemented) anyway.
590 * Changed megadriv.c add a new driver for Genesis/MegaDrive+SVP
591    combination, also add SVP memory controller logic and memory map.
592
593Phase 2 of the Deal 'Em input changes (these work well with the
594default cabinet type, I need to do some conditional input work
595to fix them fully), and also a conversion to the resnet code.
596Unfortunately, this still doesn't fix the apparently needed
597transparency. [James Wallace]
598
599Simplified inputs, improved DIP switches, and added DIP locations
600to punchout.c, bankp.c, and baraduke.c. [RansAckeR]
601
602In asuka.c, created MACHINE_START( asuka ) to configure cpu2 banks
603with memory_configure_bank(). All drivers support save states, with
604the exception of cadash and clones, the background does not load
605properly. [Mike Haaland]
606
607Fixed M68000 build logic to only include it if enabled. [Fabio Priuli]
608
609
610
611384New games added or promoted from NOT_WORKING status
612385---------------------------------------------------
613Amuse (Version 50.08 IBA) [Pierpaolo Prazzoli]
614Joker Poker (Version 16.03B) [Pierpaolo Prazzoli]
615Super Bowl (Version 16.03B) [Pierpaolo Prazzoli]
616Pit Boss II [Mariusz Wojcieszek]
617Super Pit Boss [Mariusz Wojcieszek]
618Pit Boss Megastar [Mariusz Wojcieszek]
619Megatouch IV [Mariusz Wojcieszek]
620Megatouch IV Tournament Edition [Mariusz Wojcieszek]
621Megatouch 6 [Mariusz Wojcieszek]
386Side by Side [Maruwa]
387Jumping Pop (NICs, Korean bootleg of Plump Pop)
388  [Robin Cooper, David Haywood]
389Touchmaster [Mariusz Wojcieszek]
390Touchmaster 3000 [Mariusz Wojcieszek]
391Touchmaster 4000 [Mariusz Wojcieszek]
392Touchmaster 5000 [Mariusz Wojcieszek]
393Touchmaster 7000 [Mariusz Wojcieszek]
622394
623395
624396
625397New clones added
626398----------------
627Raiden Fighters (Austria) [Corrado Tomaselli]
399Aero Fighters (bootleg set 2) [robiza]
4001942 (Williams Electronics license) [Quarterarcade]
401Rygar (US set 3 Old Version) [Corrado Tomaselli]
402Ghosts'n Goblins (Italian bootleg, harder) [Corrado Tomaselli]
628403
629404
630405
6310.123u4
632-------
406New games marked as GAME_NOT_WORKING
407------------------------------------
408Apple 10 (Ver 1.21) [Roberto Fresca]
409Ten Balls (Ver 1.05) [Roberto Fresca]
633410
634411
635MAMETesters Bugs Fixed
636----------------------
63700817 [RansAckeR]
638412
639
640
641Source Changes
642--------------
643MC6845 updates: [Zsolt Vasvari]
644 * now signalling both 0->1 and 1->0 transitions of synching pins
645 * added mc6845_assert_light_pen_input; uses a timer for latching
646    the light pen address
647 * added reset device function
648 * implemented VSYNC height computation difference between the
649    Motorola and the Rockwell devices
650 * since the Commodore 40xx computers program an HSYNC width that
651    extends past the end of the scanline, I am clamping it in lack
652    of anything better to do
653 * added support for the Commodore 6545-1 device type
654 * added support for the status register
655 * better variable names
656 * more asserts
657 
658Updated the "Input (This Game)" menu to support conditional inputs.
659[stephh]
660
661Converted Amiga based games to partial updating and proper scanline
662based timers. [Zsolt Vasvari]
663
664Beginning of the clean-up of Space Guerilla - fixed rotation, some
665other stuff. [Zsolt Vasvari]
666
667Removed use of tmpbitmap from some drivers. [Zsolt Vasvari]
668
669Replaced mame_bitmap with direct use of bitmap_t. Removed mame_bitmap
670typedef. [Zsolt Vasvari]
671
672Fixed taitoic regression that caused crashes in several games.
673[Zsolt Vasvari]
674
675Changed the way VBLANK_INTs are handled:
676 - Defined a new MDRV_CPU_VBLANK_INT_HACK() (in deprecat.h) which is
677    a copy of the current MDRV_CPU_VBLANK_INT()
678 - Found all the places where VBLANK_INT is used with something other
679    than 1 interrupt per frame and changed it to the new macro
680 - Removed the "# per frame" parameter from MDRV_SCREEN_VBLANK_INT()
681    and added a screen tag in its place; updated all callers
682    appropriately.
683 - Added some validation of the interrupt setup to validate.c
684
685Fixed SH4 refresh ticks value of 0, makes awbios not blow up the
686timer system. [R. Belmont]
687
688Updated dkong driver to use two discrete structs which were previously
689not being used: [couriersud]
690 * dkong walk using a jump struct
691 * radarscp using a dkong 555 struct
692
693MACHINE_DRIVER_EXTERN now requires a semicolon. Removed a number of
694extra semicolons. [couriersud]
695
696In memory.c: removed some code never to be executed: [couriersud]
697 * removed "return 0" from READ* macros since it is unreachable
698 * removed comparisons of type FPTR < 0 and FPTR >= 0
699
700Identified code not used and marked with "#ifdef UNUSED_FUNCTION".
701[couriersud]
702
703Naomi: Use defines instead of magic numbers for IRQ sources, add
704VBL-out. [R. Belmont]
705
706Improved (not perfect) ACIA slot monitoring. [kingshriek]
707
708Changed parent/clone relationship to separate SSI Poker sets from
709Jackpot Joker Poker. [Roberto Fresca]
710
711Removed a couple of unused items from the cpuexec_data structure.
712Added validity check that screenless drivers cannot have a VBLANK
713interrupt. [Zsolt Vasvari]
714
715Added macros to define device functions. Updated existing devices
716to use the macros. [Aaron Giles]
717
718Added the concept of device classes. Devices specify their class
719in their get_info function. Classes can be used to walk through
720devices at a more general level than their type. Functions have
721been added to iterate through devices by class just as you can
722by type. [Aaron Giles]
723
724Removed some unused fields from device_config. [Aaron Giles]
725
726Moved all video timing logic from cpuexec.c to video.c. Added a
727video_screen_register_vbl_cb() function for registering VBLANK
728callbanks. Changed inptport.c and debugcpu.c to make use the VBLANK
729callbacks. Added video_screen_get_time_until_vblank_start(). I did
730some fairly extensive testing, but this is a very signficant internal
731change, so some things may have broke. [Zsolt Vasvari]
732
733Removed use of cpu_scalebyfcount() from CVS driver. [Zsolt Vasvari]
734
735Changed a number of global functions to being static. [couriersud]
736
737Rewrote some potentially compiler specific code: [couriersud]
738 * added ATTR_FORCE_INLINE to osdcomm.h
739 * added ATTR_NONNULL
740 * moved U64 S64 fram mamecore.h to osdcomm.h
741 * define SETJMP_GNUC_PROTECT() in osdcomm.h for use in ppc602, ppc603
742
743Removed cpu_getcurrentframe() and replaced it with
744video_screen_get_frame_number(int scrnum). Updated all callers.
745[Zsolt Vasvari]
746
747Moved watchdog processing logic into its own module. [Zsolt Vasvari]
748
749Replaced sprite multiplexing hack in tp84.c with
750video_screen_update_now() on sprite RAM write. General driver
751clean-up. [Zsolt Vasvari]
752
753Gyruss: Tilemap conversion, sprite multiplexing done properly, driver
754clean-up. [Zsolt Vasvari]
755
756Changed z80dma to new device interface, updated mario.c and dkong.c
757to use new interface. Illustrates how to keep existing memory
758read/write handlers. This is slower than caching the device interface,
759but does not have an impact on devices accessed at a low frequency
760like in this case. [couriersud]
761
762Added video_screen_get_time_until_vblank_end() and
763video_screen_get_time_until_update(). [Aaron Giles]
764
765Fixed CCPU and QB3 to no longer rely on cpu_scalebyfcount(). Fixed
766busted timing in the CCPU core. Changed watchdog to count internally
767rather than using external watchdog support. Altered CCPU to accept
768interrupt signals from the driver. Updated clocks in the cinemat
769driver to be derived from the clock crystal. [Aaron Giles]
770
771Normalized function pointer typedefs: they are now all
772suffixed with _func. Did this throughout the core and
773drivers I was familiar with. [Aaron Giles]
774
775Added PORT_CHANGED macro which calls a callback if the given port
776changes. Usage is very similar to PORT_CUSTOM. See the Astro Invader
777driver for an example. [Zsolt Vasvari]
778
779Removed input_port_set_changed_callback and converted all users to
780PORT_CHANGED. The only difference between the old callback and the
781ones supplied by PORT_CHANGED is that values passed by PORT_CHANGED
782are normalized to start at bit 0, just like PORT_CUSTOM.
783[Zsolt Vasvari]
784
785Added running_machine* to the CUSTOM_INPUT callback - updated drivers
786to use it. [Zsolt Vasvari]
787
788Updated brkthru.c, btime.c, exerion.c, fcombat.c, astrof.c,
789cheekyms.c, cinemat.c to use PORT_CHANGED. Combined memory maps where
790applicable. Converted cheekyms.c to use tilemaps. [Zsolt Vasvari]
791
792Merged memory maps for drivers X->Z. [Andrew Gardner]
793
794Exidy440: modernized input port handling with CUSTOM_INPUT and
795INPUT_CHANGED. Cleaned-up special case handling. Created better
796separation between driver and video code. [Zsolt Vasvari]
797
798Verified clocks and oki pin7 for Peek-a-boo. [Mike Ellery]
799
800Untangled the Fire Truck driver. Many uses of PORT_CUSTOM and
801PORT_CHANGED, including another good use case for the gear shift
802logic. [Zsolt Vasvari]
803
804Updated ladybug.c, lasso.c, m10.c, madalien.c, maxaflex.c to use
805PORT_CHANGED for coinage. [Zsolt Vasvari]
806
807Added running_machine * parameter to the front of all read/write
808handlers. Updated all call-through handlers appropriately. Renamed
809read8_handler to read8_machine_func, replicating this pattern
810throughout. [Aaron Giles]
811
812Defined new set of memory handler functions which are similar but
813which pass a const device_config * in place of the running_machine *.
814These are called read8_device_func, etc. Added macros
815READ8_DEVICE_HANDLER() for specifying functions of this type.
816[Aaron Giles]
817
818Added running_machine * to the device_config, live while the device
819is live, and NULL otherwise, just like the token. [Aaron Giles]
820
821Meadows driver updates: [Zsolt Vasvari]
822 - Merged memory maps
823 - Uses PORT_CHANGED for coins
824 - Renamed 'Inferno (S2650) to 'Inferno (Meadows)'
825 - Renamed 'Bowling 3D' to '3-D Bowling'
826 - Added NO_DUMP entries for Gypsy Juggler's ball graphics and added GAME_IMPERFECT_GRAPHICS flag
827
828Fixed sprite colors in Exerion. [Zsolt Vasvari]
829
830Added new macros AM_DEVREAD, AM_DEVWRITE, and AM_DEVREADWRITE,
831which specify device read/write handlers in address maps, along
832with the type/tag of the device they reference. [Aaron Giles]
833
834Converted MC6845 read/write handlers to READ/WRITE8_DEVICE_HANDLERs.
835Updated all MC6845-using drivers to use the new macros and call
836the updated functions. Removed the many little helper functions
837that used to do this work. [Aaron Giles]
838
839Added validity checks to ensure that the devices referenced
840actually exist. [Aaron Giles]
841
842Fixed display of screen information so that it shows live information,
843not just the original configurations. [SailorSat]
844
845Improved DIP switch definitions, added DIP locations, and simplified
846input ports in atarisy2.c, atetris.c, avalnche.c, bagman.c,
847balsente.c, lasso.c, seta.c. [RasnAckeR]
848
849Added DIPs and locations to onetwo.c. [Sonikos]
850
851Corrected some glitches and fixed bank reading in Deal'Em.
852[James Wallace]
853
854Changed/verified clocks on the following pcbs: 1943, Arkanoid, Action
855Holliwood GalsPanic, Ben Bero Beh, 1000 Miglia, Pit and Run,
856Prehistoric Isle, Rastan, Hotmind, Hardtimes, Stagger1 and
857Tiger Road. [Corrado Tomaselli]
858
859Changed/verified Oki pin 7 on the following pcbs: 1000 miglia,
860Galspanic, Action Holliwood, Hotmind, HardTimes, World Rally,
861Stagger1. [Corrado Tomaselli]
862
863Added the new display types to the listxml DTD. [Oliver Stoneberg]
864
865Internal address map constructor changes: [couriersud]
866 * pass running_machine parameter to construct_map_##_name
867 * change "Machine->" to "machine->" in AM_BASE_MEMBER, AM_SIZE_MEMBER
868 * pass Machine in construct_address_map
869
870Mysterious Stones gets the "full treatment". [Zsolt Vasvari]
871
872Fix 8085 RST75 not working with PULSE_LINE. According to datasheet,
873RST7.5 is latched on rising edge, while the other maskable interrupts
874are sampled. [Nicola Salmoria]
875
876Removed AM_SPACE and matchmask support. Updated relevant drivers
877to use AM_MIRROR() and AM_MASK() to achieve the same thing.
878[Aaron Giles]
879
880
881
8820.123u3
4130.124u3
883414-------
884415
885416
886417MAMETesters Bugs Fixed
887418----------------------
888connect4_0123u2red [Aaron Giles]
889multiscreeninfo0123u2gre [Aaron Giles]
41901691: [Misc.] Various Sets: when exiting a game, seems to be
420  any game I get an eip error (Aaron Giles)
42101697: [Graphics] sfa3, sfa3b, sfa3u, sfa3ur1: About the blue
422  background in startup screen. (Nicola Salmoria)
42300206: [Graphics] ninjakd2: PCB info for Nicolas state.
424  (Nicola Salmoria)
42501695: [DIP/Input] ptblank, gunbulet: Crosshair doesn't move (smf)
42601694: [Graphics] punisher, punishrj, punishru: missing graphic
427  (Nicola Salmoria)
890428
891429
892430
893431Source Changes
894432--------------
895Corrected clock speeds for the megasys1.c boards. Yes, the games
896actually ran _THAT_ slow! [Brian Troha]
433PSX core updates: [smf]
434 - removed casts and removed unnecessary decoding from NCLIP.
435 - added signed values to PAIR & PAIR64.
436 - renamed PAIR64.lw to PAIR64.q
437 - tidied up DPCS, improved flag calculation and added support for
438    lm/sf fields.
439 - added sf/lm support to INTPL, improved flag calculation &
440    calculates correct rgb
441 - fixed calculation of bit 31 of GTE FLAG register, when writing
442    to it directly.
443 - added lm mode to OP and fixed the calculation.
444 - added lm mode to SQR.
897445
898Makefile & build system update: [couriersud]
899 * verinfo: New syntax. verinfo now uses the following syntax:
900     verinfo.exe -b windows|winui|mess.
901   Does not depend on compile time defines any longer.
902 * makefile will include src/osd/$(CROSS_BUILD_OSD)/build.mak if it
903   exists. This was necessary to enable cross builds for winui.
446Seibu implementation cleanups: [David Haywood]
447 - added cop/heatbrl ram clear stuff
448 - tried to make cop a bit more generic, breaks a few things for
449    now, but better than duplicated code all over the place
450 - added the sound cpu to raiden2, although it doesn't make any sounds
904451
905Cloak & Dagger video code cleanup: [Zsolt Vasvari]
906 - resnet conversion - colors are now signficantly less saturated
907    because of the 1K pull-ups. This is noticable in the agent's coat
908    and the sky color, for example.
909 - Added bitmap palette selection based on the 128H line. Not sure
910    where this is actually used in the game.
452Fixed CPS1 palette control register to match tests on msword psb.
453[Nicola Salmoria, Corrado Tomaselli]
911454
912Removed unnecessary machine->pens[] lookups in a large number of
913drivers. [Zsolt Vasvari]
455Changed the pic8259 implementation into a device. [Wilbert Pol]
914456
915Added built-in layout to Space Tactics. Cleaned up and reorganized the
916driver. [Mr. Do!, Zsolt Vasvari]
457Fixed an opcode in quizf1. Fixed encrypted disassembly for
458bp+ix+offset8 and bp+it+offset8. [Robiza]
917459
918Switched the funworld color decoding routines to use resnet code.
919[Roberto Fresca]
460Modified bionicc to compute the palette based on the schematics.
461[Nicola Salmoria]
920462
921Fixed namcos2, namcos21 crashes due to nvram allocation in
922MACHINE_RESET. Created MACHINE_START and move allocation there.
923[couriersud]
463Verified several CPS1 graphics ROM mappings against PAL dumps.
464[Nicola Salmoria]
924465
925Updated info.c to output raw video parameters (pixclock, htotal,
926hbend, hbstart, vtotal, vbend, vbstart) via -listxml if they have
927been given. [couriersud]
466Changed device read/write functions to take a const device_config *.
467Reverted recent hacks to get around this and removed unnecessary
468casts. [Aaron Giles]
928469
929Removed some deprecat.h includes from osd layer: [couriersud]
930 * add machine as parameter to osd_update and osd_update_audio_stream
931 * change Machine to machine and remove include deprecat.h
470Fixed I8039 DAA instruction when A is > 0xF9. [Wilbert Pol]
932471
933Added a rule in vconv.c to make VS2008 compile seamlessly.
934[Aaron Giles]
472Fixed crosshair update when the game is not polling the coordinates.
473[smf]
935474
936bionicc.c: [couriersud]
937 * Added cpu clocks from schematics
938 * Comment about z80 nmi generation
475Merged CPS1, CPS2 memory maps and some tweaks from schematics, though
476to get perfect memory maps dumps of the A-board PALs would be needed.
477[Nicola Salmoria]
939478
940Fixed the DAC sound in X The Ball. [Zsolt Vasvari, Mamesick]
479Adjusted docastle refresh rate to match PCB measurement.
480[Nicola Salmoria]
941481
942Removed the confirmed bad dump of Virtua striker 2 2000. [Brian Troha]
482Finished memory map merge for W drivers. [Andrew Gardner]
943483
944Fixes crash in Raiga. [Zsolt Vasvari, David Haywood]
484Added support for using smaller-sized memory handlers directly in
485memory maps. To do so, you need to use the new AM_READn/AM_WRITEn
486macros and specify a mask for which bits are connected. [Aaron Giles]
945487
946drawgfx.c improvments: [Zsolt Vasvari]
947 - Added some asserts to drawgfx and drawgfxzoom
948 - Moved some variable declarations so that they are only visible
949    where they are actually used
488Removed word-sized handlers from 6821pia.c. Updated drivers that
489needed them to use these new interfaces instead. [Aaron Giles]
950490
951Removed 8bpp bitmap support from drawgfx. [Zsolt Vasvari]
491Updated gaelco3d.c and itech8.c to remove the need for memconv.h
492by using this new feature. [Aaron Giles]
952493
953Removed MDRV_PALETTE_LENGTH from vector games, which would trigger
954an assert in emupal.c (debug build) [couriersud]
494Added machine parameter and macros for the CDP1802 callback functions.
495This seems to have fixed the player sprite flashing in Destroyer/
496Altair/Draco. [Curt Coder]
955497
956Added new module: tokenize.h. This centralizes the behavior of
957tokenizing data structures, as currently used by the input port
958system. Redid the input port tokenization to be more compact and make
959use of the new macros. Added support for designated initializers in
960C99 and GCC builds to enforce type safety. [Aaron Giles]
498Fixed lookup table for sprites in spikes91. [Robiza]
961499
962Removed bogus DIPs from the NSS driver. [R. Belmont]
500Made some changes to the 'v25' code in toaplan2.c. Batsugun does
501upload what looks to be the entire program, unencrypted. If enabled
502it runs to the point of waiting for interrupts, however, for those it
503looks like it needs a real V25 core with register banks etc.
504[David Haywood]
963505
964Improved the global "flip_screen" macros and variables: [couriersud]
965 * fix issues related to flip_screen being a define
966 * add "int flip_screen_get(void)"
967 * clean up drivers with collisions
968 * remove flip_screen macro
969 * flip_screen_x and flip_screen_y made static
970 * add flip_screen_x_get() and flip_screen_y_get()
971 * change writes to flip_screen_x to flip_screen_set_no_update()
972 * added save state calls for flip_screen_x and flip_screen_y
506Converted the IDE controller to a device. Updated all drivers
507accordingly. [Aaron Giles]
973508
974Converted MACHINE_DRIVER definitions from function constructors to
975tokenized lists. For the most part this is a non-invasive change,
976except for those drivers using MDRV_WATCHDOG_TIME_INIT. In order to
977allow for tokenization of attotimes, a set of new macros is provided
978called UINT64_ATTOTIME_IN_x() which follows the same pattern as
979ATTOTIME_IN_x() but packs the attotime down into a single 64-bit
980value for easier tokenization. Fixed several errors in the machine
981drivers which were caught by the additional checks now done in the
982machine config detokenization code. [Aaron Giles]
509Added new functions for dynamically installing device memory
510read/write handlers. [Aaron Giles]
983511
984Separated MDRV_DEVICE_CONFIG_DATA into 32-bit and 64-bit versions.
985Added floating-point versions with configurable resolutions.
986[Aaron Giles]
512Updated install_memory_XXX_handler() functions to take a machine
513parameter. Updated all drivers accordingly. [Aaron Giles]
987514
988Converted speakers into devices. Machine->config no longer houses
989an array of speakers; instead they are iterated through using the
990new macros (defined in sound.h) speaker_output_first() and
991speaker_output_next(). Updated all relevant code to do this.
515Merged installation of read and write handlers where appropriate.
992516[Aaron Giles]
993517
994Added typedefs for all the machine config callback functions at the
995top of driver.h. [Aaron Giles]
518Simplified memory.c code for dynamic installation so that a single
519function handles all the work; a NULL read or write handler
520indicates not to install anything for reads or writes. [Aaron Giles]
996521
997Big changes to Cal Omega driver: [Roberto Fresca]
998 - Renamed the driver to calomega.c.
999 - Extended the driver to support all the other Cal Omega systems.
1000 - Switched to XTAL def.
1001 - Fixed CPU & sound clocks based on official diagrams.
1002 - Replaced the AY-8910 with AY-8912 to match the real hardware.
1003 - Unified some memory maps.
1004 - Splitted machine in sys903 and sys905.
1005 - Fixed memory map offsets for sys905.
1006 - Added a list of official/unofficial games, and their states.
1007 - Fixed a bug introduced when extended the color PROM region to
1008    eliminate colortable length.
1009 - Updated technical notes.
522Fixed sprite overdraw mode to match Mutant Night movie.
523[Nicola Salmoria]
1010524
1011Merged memory maps for a number of drivers beginning with a digit or
1012the letter 'a'. [Aaron Giles]
525Properly marked puzznici as a bootleg and disabled the MCU simulation
526on it, it has it's own internally. [David Haywood]
1013527
1014Cleaned up the Crazy Climber video driver, mainly via tilemap
1015conversion. This fixes the ape sprite positioning in Crazy Kong - no
1016more gap between feet and platform. Merged Yamato driver with Crazy
1017Climber. [Zsolt Vasvari]
528Merged memory maps for aquarium, argus, armedf, bagman, battlera
529drivers. [Aaron Giles]
1018530
1019Converted XX Mission to tilemaps. [Zsolt Vasvari]
531Created new macro: AM_RAM_WRITE(handler) which specifies a memory
532range to be RAM-like for reads but calls the given handler for writes.
533[Aaron Giles]
1020534
1021Removed VIDEO_START(generic) - no longer used. [Zsolt Vasvari]
535Replaced AM_READWRITE(SMH_RAM, handler) with AM_RAM_WRITE(handler).
536Also replaced AM_RAM AM_WRITE(handler) with AM_RAM_WRITE(handler).
537[Aaron Giles]
1022538
1023Added PGM.c EEPROM/hiscore saving. [Creamymami]
539Added correct rom dump for Shinobi4 set. [Arzeno Fabrice]
1024540
1025Added support for original Omega Race state PROM. [Mathis Rosenhauer]
541Added good denjinmk graphic rom. [Guru]
1026542
1027Added support in the MC6845 emulation for cursors. All 4 blinking
1028modes are supported. [Zsolt Vasvari]
543Removed ancient 720 kludge in the T-11 core. [Aaron Giles]
1029544
1030Added a stub implementation of the Rockwell 6545. [Nathan Woods]
545Added support in the T-11 core for an external vector via irq_callback.
546Apparently the hardware actually did support this and it is necessary
547for emulating the BK 0010/11 computer in MESS. [Aaron Giles]
1031548
1032Added basic support for the NEC uPD7801, uPD78C05, and uPD78C06 CPUs
1033to the uPD7810 cpu core. [Wilbert Pol]
1034549
1035Some improvements to the 6850 ACIA CTS pin checking logic and the MPU4
1036ACIA clock logic. [James Wallace]
1037550
1038Another Risky Challenge opcode to fix a sprite bug and a general
1039clean up of the remarks in the driver. [robiza]
1040
1041Added dip locations to astinvad, bonzeadv, cadash, asuka, mofflott,
1042galmedes, atarifb, atarifb4, abaseb, soccer. Added DIP locations and
1043improved DIP switches in seawolf2, wow, gorf, robby, profpac.
1044[RansAckeR]
1045
1046One-line fix for the z80pio. At the moment when the interrupt control
1047word is sent (with interrupts enabled), an interrupt occurs. In
1048reality, interrupts are disabled until the interrupt mask byte is
1049sent. [Robert]
1050
1051
1052
1053551New games added or promoted from NOT_WORKING status
1054552---------------------------------------------------
1055Jolly Joker [Roberto Fresca]
1056Cal Omega - Game 7.6 (Arcade Poker) [Roberto Fresca]
1057Cal Omega - Game 7.9 (Arcade Poker) [Roberto Fresca]
1058Cal Omega - Game 12.8 (Arcade Game) [Roberto Fresca]
1059Cal Omega - Game 17.51 (Gaming Draw Poker) [Roberto Fresca]
1060Cal Omega - Game 23.9 (Gaming Draw Poker) [Roberto Fresca]
1061El Grande - 5 Card Draw (New) [Roberto Fresca]
1062Jackpot Joker Poker (5 sets) [Roberto Fresca]
553Show Hand [Luca Elia]
1063554
1064555
1065556
1066557New clones added
1067558----------------
1068Cosmic Smash (JPN, USA, EXP, KOR, AUS) (original) [icronnya77]
1069Jolly Card (Evona Electronic) [Roberto Fresca]
1070Jolly Card (croatian, set 2) [Roberto Fresca]
1071Super Joly 2000 - 3x [Roberto Fresca]
1072Royal Vegas Joker Card (fast deal, english gfx) [Roberto Fresca]
1073Dungeons and Dragons Tower of Doom (Japan 940412) [Razoola]
1074Real Bout Fatal Fury (bug fix revision) [Razoola]
1075Metal Slug 5 (AES Cart) [Razoola]
559Led Storm Rally 2011 (US) [Bryan McPhail]
560Shinobi (alternate set) [Brian Troha]
561Aero Fighters (bootleg set 2) [Robiza]
1076562
1077563
1078564
1079565New games marked as GAME_NOT_WORKING
1080566------------------------------------
1081A large number of Cal Omega games [Roberto Fresca]
567Nandemo Seal Iinkai [Luca Elia]
1082568
1083569
1084570
10850.123u2
5710.124u2
1086572-------
1087573
1088574
1089575MAMETesters Bugs Fixed
1090576----------------------
1091progear0123u1gra [stephh]
57701571: [DIP/Input] stadhero: Player 1 and Player2 Start are mapped
578       twice. (stephh)
57901673: [Graphics] sfjp: Game backgrounds replaced with other images
580       (Fabio Priuli)
58101567: [DIP/Input] megazona, megazonb, megazonc, megazone, megaznik:
582       P2 button 1 key mapped twice and P2 button 2 missing (stephh)
58300458: [Misc.] NEC CPU debug bug (robiza)
58400029: [Sound] contcirc: Audio emits from one speaker on start up.
585       (Nicola Salmoria)
58601609: [DIP/Input] Various - tested srmp4 (ssv.c), ttmahjng
587       (route16.c), vsmahjng (vsnes.c), tokkae (konamigx.c), sf2
588       (cps1.c): INP playback loses sync quickly (Aaron Giles)
58901680: [Graphics] area88, unsquad: [possible] DOT TEST in service mode
590       shows garbage chars (Nicola Salmoria)
59100761: [Speed] finalapr: Heavy performance hit. (couriersud)
59200352: [DIP/Input] spaceskr: The cabinet DIP setting is inverted, when
593       you set it upright mode, control is separated for P1 and P2,
594       the scre (Nicola Salmoria)
59501659: [Core] stereo balancing is wrong (Aaron Giles)
59601622: [Core] -refreshspeed has no effect (Aaron Giles)
59701663: [DIP/Input] Hat switches not working (couriersud)
59800250: [Graphics] 3wonders: Various graphic glitches. (Nicola Salmoria)
59900405: [Graphics] cawing: Text in the attract mode is garbled.
600       (Nicola Salmoria)
60101021: [Side-by-side] dorunru2: Side-by-side test. (Nicola Salmoria)
60200404: [Graphics] 3wonders: a glitch when u insert your record name
603       when game is over. (Nicola Salmoria)
60401552: [Graphics] 3wonders, 3wonderu: Another little graphic glitch
605       on attract mode (Nicola Salmoria)
60601081: (partial): megaplay.c (all games): 1 Player Start and 2
607       Players Start are duplicated. (couriersud)
1092608
1093609
1094
1095610Source Changes
1096611--------------
1097csk.c driver improvements: [Mirko Buffoni]
1098 * Added DIPLOCATION macros to all Dip Switches. All DSW are verified
1099    through test mode.
1100 * Fixed custom_io_r which is used for protection but also for
1101    keyboard input.
612Changed the system to show a message if coin-lockout is active and
613a coin key is pressed. [couriersud]
1102614
1103Fixed build with external zlib. [R. Belmont]
615Actually fixed -refreshspeed. [Aaron Giles]
1104616
1105Completed old-style colortable removal. Removed
1106MDRV_COLORTABLE_LENGTH macro. Updated uigfx to display new-style
1107color tables if present. [Zsolt Vasvari]
617Reverted previous SCSI CD change which broke some games. [R. Belmont]
1108618
1109Reorganized/minor clean-ups to Mad Alien driver. [Zsolt Vasvari]
619Seibu COP cleanup, primarily sorting the code and identifying
620similarities in different implementations. [David Haywood]
1110621
1111Fixed Xenophobe sprite aligment. [Derek Ledbetter]
622Fixed an erroneous debug change which leaked into the last version of
623the namcona1 update. [Pierpaolo Prazzoli]
1112624
1113Converted SNES (except debug code) to RGB32 as it was a serious
1114abuser of the palette system. [Zsolt Vasvari]
625Fixed marineb colors. [David Haywood, Tomasz Slanina]
1115626
1116Added colortable_palette_get_size() to emupal. Added some more
1117asserts to catch errors. [Zsolt Vasvari]
627Rewrote INP recording from scratch, since all old INPs are broken
628anyways. Header now includes timestamp, which overrides the default
629time base for MAME's system time. Each frame recorded now gets a
630timestamp. Analog ports are recorded once per frame and interpolated.
631Analog port calculations are all done in fixed point for consistent
632results. A bunch of other minor tweaks in the input port code.
633NOTE: There may still be a few changes to the final INP format.
634[Aaron Giles]
1118635
1119Fixed Dip Switches (especially coinage) and inputs for 'mpatrol' and
1120'troangl' (and their clones). Tried to "unify" the two drivers (I
1121still think that some things can be merged). Added iremipt.h source
1122file (same purpose as taitoipt.h). Fixed Dip Switches and inputs for
1123'alpha1v'. The game is now more playable to me but I left the
1124GAME_NOT_WORKING flag as I think there are still some things to look
1125at). [stephh]
636Improved graphic decoding for Legionnaire, the BK3 tiles are now
637correctly extracted from the TXT region, map screen has correct
638tiles now. [David Haywood]
1126639
1127Changed IREM cpu decryption to be 'real-time' (it's a feature of the
1128CPU). Moved decryption table setup to 'config' struct for the CPU.
1129Added latest tables from robiza, making Risky Challenge playable,
1130promoted it to working. Told CPU core to not decrypt code after
1131brkn instruction, enabling it again on iret, allowing me to remove
1132several 'don't decrypt range' hacks in the code. Updated all drivers
1133accordingly. Currently the disassembly is a bit weird now, this will
1134need looking at. [David Haywood, robiza]
640Removed CPS1 tile kludges and replaced with per-game ROM mapping
641tables. Ideally, the ROM mapping should be derived from mapping of
642the PALs found on the B board. Note that this is a significant change
643and some new bugs might be caused by it. Unlike previous bugs,
644where extra garbage tiles would appear in the games, the new bugs
645would be tiles or sprites MISSING--so they will be harder to notice.
646This would happen because in some cases the 16x16 regions of the gfx
647ROMs can be used by both scroll2 and sprites, while in other cases
648they must be separated. [Nicola Salmoria]
1135649
1136Added and hooked up AICA (Naomi sound chip). Naomi boot sounds now
1137play. Since it's an SCSPx2 with ADPCM instead of FM it's already
1138feature-complete except filter envelopes. A bug in the ARM7 core
1139causes incorrect pan/level values to be computed in e.g. the Naomi
1140SOUND TEST menu. This is not a defect in the AICA.
1141[ElSemi, Deunan Knute, kingshriek, R. Belmont]
650PSX updates: [smf]
651 - Fixed the SR masks for MTC0.
652 - Added ability to test the instruction/data cache ram. The
653    scratchpad and BIU register are now handled internally to the CPU.
654 - All writes are performed with masks. SWL/SWR used to be implemented
655    with two writes ( one byte and one word ) when writing three bytes,
656    now it only ever performs one. Byte and Word writes use masks as
657    they leave the rest of the register on the bus, which can be
658    picked up by larger registers.
659 - The read/write functions to use are cached when the SR bits are
660    updated, as are the bad address masks.
661 - Added coprocessor 1 & 3 support, though they don't do anything
662    useful.
663 - All loads now go through the delay pipeline, a lwl/lwr will grab
664    the value out of the pipeline if it's updating the same register.
665 - Added undocumented behaviour of BLEZ/BGTZ. The comparison for zero
666    can be changed by specifying an alternate register in the RT field
667    ( the documentation says you should always use register 0 ).
668 - Restricted to 16 COP0 registers & generate an exception if any of
669    the 5 for the MMU are used.
670 - Added BCF/BCT instructions, although I have found no conditions
671    that affect them yet.
672 - Generates an exception if any MMU instructions are executed.
673 - Sets the CE instruction for all exceptions, not just those
674    involving a coprocessor. The bits of the opcode that specify the
675    coprocessor are grabbed no matter what the instruction.
676 - Added TAR register and BT bit in SR. When an exception occurs
677    during a branch, BT determines whether it was taken or not. The
678    TAR register gets set to the destination of the branch.
679 - Fixed the BD bit when you are in a branch delay slot and you didn't
680    take the branch, this shows up in the pipeline as !pc.
681 - Fixed branches within a branch delay slot.
682 - Multiply & divide instructions can be aborted if you write to
683    HI/LO before reading the result. Added data breakpoints, you
684    don't appear to be able to set breakpoints on any of the
685    addresses internal to the CPU.
686 - Multiply/divide/GTE instructions can execute when an exception is
687    taken, although the EPC indicates that it hasn't. The BIOS avoids
688    rerunning GTE instructions as they are destructive, so you have to
689    make sure they run.
690 - Added bus error handling, PSXCPU is limited to 8mb of ram & any
691    access outside this range will trigger an exception. I believe
692    this is to be an internal limit.
693 - Added CXD8611R as a specific CPU type, System 12 appears to allow
694    more than 8mb of ram & it's possible that this is different.
695 - Mapped out all instructions to either generate an exception or
696    ignore bits.
697 - Updated the disassembler to match the decoding.
698 - Fixed disassembling of branch instructions in a branch delay slot.
699 - Lui checks for a ori/addiu following and will show you the result.
700 - Added step over/out support.
701 - Fixed standalone disassembler.
702 - Fixed SZ0 truncation.
703 - Fixed IRGB truncation and conversion to IR1/IR2/IR3
704 - Added IR1/IR2/IR3 saturation when calculating ORGB.
705 - Fixed OTZ sign extension
706 - Fixed reading from SXYP
707 - Fixed reading from IRGB
708 - Fixed writing to LZCR
709 - Fixed sign extension of GTE control registers
710 - Fixed writing to FLAG
711 - Fixed flag calculation in F macro.
712 - Fixed avsz3 & avsz4 flag & otz calculation.
1142713
1143Fixed Dip Switches (especially coinage) and inputs for '10yard' (and
1144its clones). Tried to "unify" the driver with m52 and m57 drivers
1145(I still think that some things can be merged). [stephh]
714Fixed unicode crashing bug with input names. [Aaron Giles]
1146715
1147Fixed unaligned 32-bit reads in the ARM7 core. [R. Belmont]
716Renamed input port functions: [Aaron Giles]
717  readinputport           -> input_port_read_indexed
718  readinputportbytag      -> input_port_read
719  readinputportbytag_safe -> input_port_read_safe
720Added machine parameter to input port functions. Updated
721many drivers to accomplish this.
1148722
1149Fixed misaligned backgrounds in mpatrol caused by recent changes.
1150[Zsolt Vasvari]
723Bulk converted drivers explicitly calling input_port_n_r() with a
724bogus offset to calling input_port_read_indexed() instead.
725[Aaron Giles]
1151726
1152Minor code cleanups. Added static/const where appropriate, plus some
1153include fixes. Reverted some of the changes to build.mak from u1
1154which made some MSVC builds fail, and adjusted/optimized an m10.c
1155gfx_layout. Added some missing cores to cpuintrf.c, sndintrf.c and
1156added some missing #if's to 5220intf.c. [Atari Ace]
727Memory map merges for drivers starting with U, V, W, and Z.
728[Andrew Gardner]
1157729
1158Fixed one or two dips in the mirage.c driver and found the "service"
1159switch and likely start of inputs. [Brian Troha]
730Mostly fixed sound in N64-based games. [Adam Gashlin]
1160731
1161Removed expand_machine_driver(). Replaced with machine_config_alloc()
1162and machine_config_free(). Updated all call sites. Normalized info.c
1163style and simplified some of the code. [Aaron Giles]
732Correct DMA functionality in N64-based games. [Ville Linde]
1164733
1165Renamed machine->drv to machine->config to reduce overloading of the
1166term "driver". [Aaron Giles]
734Aerfboot improvements: [robiza]
735 - sprite offset are now correct
736 - split spriteram in two parts
737 - identified last sprite for the two parts
738 - promoted to "working" (no sound)
739 
740Pallavol improvements: [robiza]
741 - fix for sprite's y-coordinate
742 - implement lookup table for convert sprite code in the real code
743 - change the name to "1991 Spikes (Italian bootleg)
744 - fix scroll
745 - fix offset
1167746
1168Simplified collision detection in taitosj and tank8. [Zsolt Vasvari]
747Merged sonson memory maps. [Nicola Salmoria]
1169748
1170New module: devintrf.c/.h. Implements a generic device interface
1171similar to the sound and CPU interfaces. [Aaron Giles]
749Added mising TC0060DCA sound mixer to the Taito Z driver. Marked one
750dblaxle ROM as BAD_DUMP. [Nicola Salmoria]
1172751
1173New module: mconfig.c/.h. Moved all machine_config and MDRV_* macros
1174here, out of driver.c/.h. Added MDRV macros for adding/removing/
1175configuring devices. [Aaron Giles]
752Changed the 8237dma implementation into a device. [Wilbert Pol]
1176753
1177Deprecated the following constants because global constants that
1178pretend to document things but which are only guesses are dumb:
1179  - DEFAULT_60HZ_VBLANK_DURATION
1180  - DEFAULT_30HZ_VBLANK_DURATION
1181  - DEFAULT_REAL_60HZ_VBLANK_DURATION
1182  - DEFAULT_REAL_30HZ_VBLANK_DURATION
1183  - DEFAULT_60HZ_3S_VBLANK_WATCHDOG
1184  - DEFAULT_30HZ_3S_VBLANK_WATCHDOG
1185Updated all drivers to explicitly specify the equivalent bogus
1186times. Added comments for the "REAL" VBLANK durations to indicate
1187that they are not accurate. [Aaron Giles]
754Fixed wrong tile-sprite priority in m62 driver. [robiza]
1188755
1189Improved some DIP switches, added some DIP locations, replaced
1190IPT_COINx with IPT_SERVICE1 where appropiate, and simplified some
1191control definitions in the following drivers: alpha68k.c, actfancr.c,
1192aeroboto.c, aerofgt.c, aliens.c, ambush.c, amidar.c, amspdwy.c,
1193angelkds.c, appoooh.c, arabian.c, argus.c, arkanoid.c. [RansAckeR]
756Fixed nec v30 dasm when a "real-time encrypted cpu" is used. Also
757fixed Execution Clocks for add,addc,and,or,xor,cmp,sub,subc
758instructions. [robiza]
1194759
1195Connected the Shadow Warriors buttons like they are wired on the
1196original pcb (which is jamma). [Corrado Tomaselli]
760Removed the hardcoded dependency on a 8254 device from the 8042kbdc
761code. Changed the drivers using the 8042kdbc to define their own
7628042kdbc - 8254 dependency. [Wilbert Pol]
1197763
1198Added DIP locations to: cclimbr2 , legion, terraf, ultennis, cheesech,
1199stonebal, stoneba2,  scessjoe, ashnojoe, asteroid, llander, llander1,
1200astdelux. [RansAckeR]
764Rewrote core memory handlers as inline functions. These should be
765easier to trace through in a debug build, yet should operate the same
766as before. [Aaron Giles]
1201767
1202Fixed multi-session crash with Namco System 2 games. [Atari Ace]
768Created a complete set of functions for all databus sizes (8,16,32,64)
769and all endiannesses. A few functions are redundant, but it is now
770very clear which functions to use in which scenarios. It is also now
771possible to rely on being able to access values of 8, 16, 32 or 64
772bits via the built-in accessors without fear of crashing.
773[Aaron Giles]
1203774
1204Improved Print Club DIP switches. [Edward Swiftwood]
775Updated all cores using 8-bit handlers to explicitly call the 8-bit
776handlers with the appropriate endianness. [Aaron Giles]
1205777
1206Fixed a few corner cases in the 6840 emulation based on running the
1207MPU4 test ROMs, and added the ability to dynamically alter the
1208external clock frequencies in game. [James Wallace]
778Fixed a few games which were calling n-bit handlers directly to use
779the generic forms. In the future, this is all the access drivers will
780have. [Aaron Giles]
1209781
1210Changed the 6850 core to allow dynamic RX and TX clock alteration,
1211to at least try to remove a few of the MPU4 timing problems.
1212[James Wallace]
782More opcodes fixed in gussun oyoyo and risky challenge. [robiza]
1213783
1214Updated documentation of the MPU4 Video board. Added documentation of
1215the Cosmic Chasm crystals, and merged the memory maps. [James Wallace]
784Added tags and locations to dips for marvins.c and matmania.c.
785[Fabio Priuli]
1216786
1217Fixed validation fail of '_mul_32x32_hi()' and '_mulu_32x32_hi()'
1218inline function when compiled GCC v3.3.5 with I686 optimization.
1219[KO Myung-Hun]
787Enabled roz tilemap in emeraldia, but it's not centered in the right
788position when it's not in its original dimension. [Pierpaolo Prazzoli]
1220789
1221Verified clocks on Rainbow Islands and Rambo 3 and Raiden 2. Reverted
1222sound OSC of Truxton 2 to 27mhz/8 since the original OST runs at this
1223speed. The pcb I measured the previous clock was 28mhz/8 and it's a
1224different pcb version from the common one. Since mame doesn't support
1225multiple OSC I prefer to use the 27mhz one. [Corrado Tomaselli]
790Fixed 'lghost*' Dip Switches. [stephh]
1226791
1227Fixed some incorrect rom dumps for Double Dragon 3 (Some of the dumps
1228were based of the bootleg and not the original.) and updated the name
1229and location to actually match that of a real board. [Kevin Eshbach]
792Reduced the number of save state callback types from 3 to 1. The
793only remaining form is the one that takes a pointer parameter. Added
794macros for STATE_PRESAVE and STATE_POSTLOAD to define common
795functions. Added machine parameter to these functions. Updated all
796drivers and CPU/sound cores  to use the new macros and consolidate
797on the single function type. As a result pushed the machine parameter
798through a few initialization stacks. [Aaron Giles]
1230799
1231Added DIP locations to Combatribes and Battletoads. [Kevin Eshbach]
800Removed unnecessary postload callbacks which only marked all tiles
801dirty, since this is done automatically by the tilemap engine.
802[Aaron Giles]
1232803
1233Added video_screen_update_now(int scrnum) to force a screen update up
1234to the current beam position. [Zsolt Vasvari]
804Updates for the driver wc90b.c: [ClawGrip]
805 - Removed the second YM2203, it isn't present on the bootleg boards
806 - Changed the clocks according to the oscilators found on the board
1235807
1236Pulled remaining vestiges of old-style colortables: [Aaron Giles]
1237 * PALETTE_INIT no longer has a colortable parameter
1238 * removed game_colortable and remapped_colortable from machine_config
1239 * updated a few stragglers that still referenced these fields
1240 * removed tile_draw_colortable from tilemap.c
808Added the running_machine* parameter to the function passed into
809cpunum_set_irq_callback() and adds the IRQ_CALLBACK macro for
810the callback function. [Oliver Stoenberg]
1241811
1242Changed the input port tokens to use a union instead of casting
1243everything to FPTR. In the future, C99-enabled compilers will be able
1244to achieve type safety with designated initializers. [Aaron Giles]
812Cleaned up the Machine usage in the osd/windows files and added the
813running_machine parameter where possible. [Oliver Stoenberg]
1245814
1246Added i8749 CPU variant for MESS. [Curt Coder]
815Various tweaks/fixes from MAMEPlus:
816 * save state support for FD1094 chips
817 * improved graphics in athena
818 * improved sound balance in armedf
819 * derived refresh rate for toaplan1 games
820 * improved sound balance in tmnt games
821 * derived clocks for suprridr
822 * tweaked xmen visible area
823 * derived clocks and refresh rate in twin16 driver
824 
825CPS1: Verified some gfx ROM mapping tables against PAL dumps. Improved
826understanding and emulation of palette related registers.
827[Nicola Salmoria, Corrado Tomaselli]
1247828
1248Added missing SH4 instructions and bugfixed the FPU. Improved Naomi
1249I/O board emulation and added working controls. [Samuele Zannoli]
1250829
1251jedi.c improvements: [Zsolt Vasvari]
1252 - Complete memory map
1253 - Crystals
1254 - Driver state structure
1255 - Text layer is rendered at the same time as the background
1256830
1257Reorganized Qix driver (driver state, decoupled audio section, etc.)
1258[Zsolt Vasvari]
1259831
1260Changed all drivers using the MC6845 chip to use the new device
1261interface. Removed mc6845_config. [Zsolt Vasvari]
1262
1263Reorganized Gameplan driver. Changed Trivia Quest use the Gameplan
1264video code. Added crystal for Gameplan pixel clock. [Zsolt Vasvari]
1265
1266Removed the unnecessary pen array lookup from some INDEXED16 drivers.
1267[Zsolt Vasvari]
1268
1269Removed the per-screen palette_base. This was an idea that never
1270really worked out, nor have we really needed it. [Aaron Giles]
1271
1272Defined a new device type VIDEO_SCREEN. Currently this has no
1273live functionality, but merely serves as a placeholder/identifier
1274for video screens. Eventually some of the screen management code
1275may move into the start/stop/reset functions. [Aaron Giles]
1276
1277Changed MDRV_SCREEN_ADD to specify a screen type (RASTER, VECTOR,
1278LCD for the moment). Removed the older VIDEO_TYPE_RASTER and
1279VIDEO_TYPE_VECTOR; this information is now determined by walking
1280the screen list. [Aaron Giles]
1281
1282Changed MDRV_SCREEN_* macros to build up VIDEO_SCREEN devices
1283rather than storing values in the screen[] array. Removed the
1284screen[] array from machine_config. Modified all code referencing
1285Machine->config->screen[] and changed it to iterate over the devices
1286using the new video_screen_first() and video_screen_next()
1287functions. [Aaron Giles]
1288
1289Removed implicit screen #0. This means that ALL DRIVERS MUST
1290EXPLICITLY DECLARE THEIR SCREENS. Updated all drivers to do
1291so. While there, grouped all MDRV_SCREEN_* parameters together.
1292Also removed unnecessary VIDEO_TYPE_RASTER and VIDEO_TYPE_VECTOR.
1293Also removed VBLANK and bitmap format information from vector
1294games. This was painful and very tedious. [Aaron Giles]
1295
1296Changed game information to display info about all screens.
1297[Aaron Giles]
1298
1299Changed Beathead driver to use partial updates instead of caching
1300scanline level information. [Zsolt Vasvari]
1301
1302Added state_save_combine_module_and_tag(). Its purpose is to create
1303a unique name for state saving purposes in modules that are tag
1304based (no index). [Zsolt Vasvari]
1305
1306
1307
1308832New games added or promoted from NOT_WORKING status
1309833---------------------------------------------------
1310Champion Poker [Mirko Buffoni]
1311Risky Challenge [robiza]
8341 on 1 Government (JAPAN) [smf]
1312835
1313836
1314837
1315838New clones added
1316839----------------
1317Fighting Soccer (Japan) [Yasuhiro Ogawa]
1318Red Hawk (Excellent Co., Ltd) [Brian Troha]
840Seibu Cup Soccer :Selection: (set 2) [Arzeno Fabrice]
841Super Monaco GP (set 1, Japan, Rev A, FD1094 317-0124a)
842   [Corrado Tomaselli]
843Added Side by Side 2 (Japan) [Yasuhiro Ogawa]
1319844
1320845
1321846
1322847New games marked as GAME_NOT_WORKING
1323848------------------------------------
1324Toy Fighter [Corrado Tomaselli]
849Touchmaster 5000 (v7.10) [Brian Troha]
850Touch Master 7000 [Brian Troha]
1325851
1326852
1327853
13280.123u1
8540.124u1
1329855-------
1330856
1331857
1332858MAMETesters Bugs Fixed
1333859----------------------
1334jantouki0121u3gra [RansAckeR]
1335mcnpshnt0120u3gra [RansAckeR]
1336mjdialq2_0120u3gra [RansAckeR]
1337mjifb0111u2gra [RansAckeR]
1338goldbug0105u4gra [stephh]
1339zn.c0122u8yel [smf]
1340pwrinst2_0122u8gra [Sonikos]
86001650: [Gameplay] ridgerac: Unstable Freezes that ends with Crash
861  and needs totally reboot under XP (Aaron Giles)
86201542: [Graphics] 3wonders, 3wonderu, wonder3: Wrong colour of
863  background in game selection and start screens (Nicola Salmoria)
86400403: [Graphics] 3wonders: Points are displayed between lives of
865  first player and the word INSERT COIN: (Nicola Salmoria)
86600410: [Graphics] xmcota: After a couple passes through the demo
867  mode, the background on the qsound screen will go to a shade of
868  green. (Nicola Salmoria)
86901519: [Graphics] msh: After beating the game, the screen turns
870  different colors for the endings and everything (Nicola Salmoria)
87101468: [Graphics] ldrun2: Priority problem at titlescreen
872  (Nicola Salmoria)
87301469: [Graphics] ldrun2: Compared to the PCB does MAME show less
874  graphic at the bottom of the screen. (Nicola Salmoria)
87501661: [Graphics] rougien: sprite disappear (Robiza)
87601613: [Graphics] swcourt, swcourtj: Strange sprites cutting on the
877  edge of screen (Pierpaolo Prazzoli)
87801622: [Core] -refreshspeed has no effect (Aaron Giles)
87901629: [Graphics] raiga, stratof: broken colors on sprites
880  (Aaron Giles)
88101630: [Graphics] fstarfrc, ginkun, riot: broken colors on sprites
882  (Aaron Giles)
88301627: [Misc.] spbactn, spbactnj: Crashes with Access Violation
884  (Aaron Giles)
88501598: [Graphics] 4in1, gmgalax, pacmanbl: Sprites are cut off on
886  the top row (Aaron Giles)
88701563: [DIP/Input] gmgalax: Duplicated Inputs (Aaron Giles)
88800300: [Graphics] zigzag: in cocktail mode player 2 screen is shift
889  over to the right. (Aaron Giles)
89001623: [DIP/Input] ssprint and clones: Coins don't seem to match
891  machine order. (RansAckeR)
89201454: [Graphics] mshuttle, mshuttlj, mshutlj2: The display of the
893  screen is shifted. (Aaron Giles)
89401473: [Graphics] orbitron: Orbitron graphics not correctly
895  displayed (Aaron Giles)
89601600: [Graphics] pacmanbl, batman2: The background is shifted to
897  the right and cut off on the right side. (Aaron Giles)
89801602: [Misc.] luctoday: Messed up graphics. (Screen Offset)
899  (Aaron Giles)
90001599: [Graphics] omega: Screen is vertically offset. (Aaron Giles)
90101605: [Graphics] gteikokb, gteikob2: Wrong screen offset
902  (Aaron Giles)
1341903
1342904
1343905
1344906Source Changes
1345907--------------
1346Removed 'type' parameter from tilemap_create. [Zsolt Vasvari]
908Renamed galaxian.c -> galaxold.c. Updated all drivers accordingly.
909[Aaron Giles]
1347910
1348audio/dkong.c: [couriersud]
1349 * fix dkong audio over-modulation issue with DAC sound
1350 * surround the fix with a DK_REVIEW define for later review.
911Cidelsa driver updates: [Curt Coder]
912 - de-deprecated the timer callbacks
913 - moved PCB RAM to the heap and fixed index overflow
914 - converted CDP1869 to the new device system
915 - refactored to represent how the hardware actually works
916 - added PMA latching on OUT5
917 - separated Cidelsa video to its own file
1351918
1352Changed the use of machine->remapped_colortable to machine->pens where
1353the drivers weren't using color tables. [Zsolt Vasvari]
919COP CPU updates: [Curt Coder]
920 - implemented interrupt
921 - implemented serial input/output
922 - fixed XAD/LDD, XIS1, RMB3 opcodes
923 - fixed clock divider
924 - fixed internal memory map size
925 - added some cpu variants
926 - fixed serial timer
927 - fixed clocks
928 - fixed COP410 RMB3, XAD instructions
929 - general cleanup
1354930
1355Corrected the clocks on the following pcbs: Formation Z, MagMax,
1356SlapFight and Tiger Heli. Changed Oki m6295 pin 7 to "high" on Toki
1357and Blood Bros. [Corrado Tomaselli]
931Fix cfg file corruption if joystick is not connected; itemclass now
932part of token if item is not found. Settings for joysticks which use
933a custom item id will still be lost. A fallback has to be provided
934here since those will use a token generated from the input item name.
935[couriersud]
1358936
1359Improve build independence for CPU/sound cores. Rescued the M65CE02
1360core from bitrot hell, and fixed some MESS cores that were broken by
1361the deprecat.h changes. [Atari Ace]
937Memory system changes: [smf]
938 * Now passing mem_mask to the read and write debug hooks. This
939    allows the address & size of the memory access to be correctly
940    calculated when using a memory call that takes a mem_mask.
941 * New macros added for checking mem_mask. ACCESSING_BITS_m_n,
942    These check for any access within the bounds between bit 'm' and bit
943    'n' (counting bit 0 as the least significant bit). Currently the
944    pattern for checking whether both bytes of a word is written is to
945    make two byte checks.
946 * All occurrences of ACCESSING_LSB, ACCESSING_MSB, ACCESSING_LSB16,
947    ACCESSING_MSB16, ACCESSING_LSB32, ACCESSING_MSB32,
948    ACCESSING_LSW32, ACCESSING_MSW32 & simple mem_mask checks have
949    been replaced with the new macros.
1362950
1363Corrected the initial detection of extended INP files.
1364[Barry Rodewald]
951Added fatal error if AM_READ_PORT() references a non-existent port.
952[Aaron Giles]
1365953
1366Moved Galaxy Games emulation to tmaster.c. [Luca Elia]
954Converted special-case DIP switches (service, unknown, unused) into
955their own token type rather than expanding into other tokens. The
956reduces the number of redundant strings and data. [Aaron Giles]
1367957
1368makefile/build updates: [couriersud, Aaron Giles]
1369 * moved verinfo.c to src/build
1370 * moved rules for verinfo to src/build/build.mak
1371 * removed osdcore.h from file2str.c, verinfo.c, png2bdc.c
958Galaxian rewrite. Ultimately will combine the existing drivers
959for galaxian, scramble, frogger, scobra, amidar, and dambustr.
960For the moment, only a subset of games are implemented in the
961new system; the remainder are running on the old code. Main features
962are accurate video timing, correct stars implementation, better
963organization, simplified input ports, and many other smaller fixes.
964[Aaron Giles, stephh]
1372965
1373Removed color tables from gsword, hyperspt, jailbrek, magmax,
1374konamigx, markham, megazone, pandoras, rocnrope, strnskil, trackfld,
1375tp84, shaolins, scotrsht, pingpong, skykid, wiping, punchout, ikki,
1376rallyx, fastfred, fcombat, finalizr, flower, funworld, galivan,
1377gdrawpkr, goldstar, hanaawas, higemaru, ironhors, jackal, kchamp.
1378Added resnet.c color computations where appropriate. [Zsolt Vasvari]
966Minor cleanup and simplification in the video and palette code.
967Removed palette_config(). [Aaron Giles]
1379968
1380Simplfied Mag Max background drawing code. [Zsolt Vasvari]
969Fixed interrupt handling and 16-bit memory accessors in 6840ptm.c.
970Also cleaned up code for the sake of readability. [Philip Bennett]
1381971
1382Further altered the Exidy 440 code in preparation for moving to proper
1383sound chip emulation. [Zsolt Vasvari]
972Added multiplier (same as wecleman) to Flak Attack. Info provided by
973VU801qCf. [Yasuhiro Ogawa]
1384974
1385Unified transparency handling between scotrsht, shaolins, tp84.
1386[Zsolt Vasvari]
975Namco NA1 improvement: [Pierpaolo Prazzoli]
976 * Fixed sprites shadow in namcona1 driver and removed Emeraldia hack.
977 * Added tilemaps and sprites 4bpp mode
978 * Added preliminary ROZ implementation (disabled until the enable /
979    disable register is found)
980 * Changed background pen to fix emeralda demo
1387981
1388Split timer_adjust() into timer_adjust_oneshot() and
1389timer_adjust_periodic(). Updated all call sites. [Aaron Giles]
982Discrete sound system improvements: [couriersud]
983 * Added DISCRETE_RCFILTER_SW to discrete sound. This implements
984    multiple RC networks with CD4066 switches to connect/disconnect
985    capacitor.
986 * Implemented discrete mixing in circusc using DISCRETE_RCFILTER_SW
987    and sound routing to route 76416 output to discrete logic.
988 * Added discrete filtering and mixing to galaxian.c games using
989    konami_sound.
990 * Fixed timing of stream_update in discrete_sound_w. All sound
991    cores update before processing changed data.
992 * Added streeam_update to discrete_sound_r
993 * Now supports multiple output nodes per module.
994    In this case, NODE_XXX is the default output. Alternative outputs
995    may be accessed by using NODE_XXX_YY where 00<Y<08.
996 
997    You may also access nodes with macros:
998 
999      NODE_XXX = NODE_SUB(XXX, 0)
1000      NODE_XXX = NODE(XXX)
1001      NODE_XXX_YY = NODE_SUB(XXX, YY) with YY != 00
1002     
1003    This should e.g. make discrete sound emulation easier when dealing
1004    with e.g. flip flops (Q & QQ) and binary counters.
1005 * Added sanity checks to check consistency issues introduced by this
1006    change
1007 * Modules specify number of outputs ==> Certain special modules
1008    (WAVELOG) may no longer be used as input nodes
1009 * Removed explicit (NODE_XX + expr) from a couple of drivers
13901010
1391Fixed some arkanoid clones INPUT_PORTS definitions that were curiously
1392using PORT_START_TAG("DSW") instead of PORT_MODIFY("DSW"). [stephh]
1011Fixed encoding/decoding of negative denormal floats in the AICA/SCSP
1012DSP. Shouldn't actually affect any games. [kingshriek, Deunan Knute]
13931013
1394Fixed DIP switches and inputs for all games in cvs.c. [stephh]
1014Changed Seibu sound CPU to use AM_READ_PORT("COIN") instead of
1015input_port_0_r. [stephh]
13951016
1396Added HOTD2-specific BIOSes. [Arzeno Fabrice]
1017bloodbro.c driver improvements to DIP locations and coin modes.
1018Added notes for 'bloodbra'. [RansAckeR, stephh]
13971019
1398Added more accurate emulation of the priority system and the beam
1399logic in stactics. Removed color table. Centered crosshair. Used
1400proper game orientation. Unified memory maps. Switched game to use the
1401artwork system. Set GAME_IMPERFECT_GRAPHICS until artwork is created.
1402[Zsolt Vasvari]
1020Add input ITEM_IDs for additional axes and switches. Also added
1021ITEM_IDs for up to 4 hats/POVs. [couriersud]
14031022
1404Added sound support to Champion Skill. Removed GAME_NO_SOUND flags.
1405Increased interrupts per frame, music was too slow. Minor comments
1406adjustment. [Mirko Buffoni]
1023Merged memory maps for half of the W drivers. Also made a couple of
1024random touchups for X, Y, and Z drivers. [Andrew Gardner]
14071025
1408Used PORT_SERVICE and PORT_SERVICE_NO_TOGGLE macros when it was
1409possible. [stephh]
1026Added a little magic to make the Atomiswave BIOS try to be more
1027verbose, but our video emulation isn't good enough to cooperate.
1028[R. Belmont, ElSemi]
14101029
1411In the cps2 driver, Changed the GAME definitions to reflect how many
1412players and how many buttons there are for each game. Rewrote the
1413INPUT_PORTS definitions to use PORT_INCLUDE, PORT_MODIFY and
1414PORT_CUSTOM macros. Added a few notes about the inputs when I thought
1415they were needed to avoid wrong bug reports. Started to clean the
1416driver. [stephh]
1030Added bootleg of badlands - heavily modified, not working.
1031[David Haywood]
14171032
1418Added PCB and/or chip docs updates for Blaze On (kaneko16.c),
1419Sand Scorpion (sandscrp.c), Flash Point (segas16b.c). [Brian Troha]
1033Fixed DS2401 state loading now that the digital i/o board's serial
1034number has been changed to a const by not saving it. As the serial
1035number cannot be changed at run time it was rather pointless. [smf]
14201036
1421Fixed kangaroo colors by assuming an inversion not present in the
1422schematics. [Nicola Salmoria]
1037BFCobra improvements: [Anonymous]
1038 * Added plane priority to blitter, fixing Treble Top signature
1039    writing
1040 * Video output now supports all modes - lores, hires, mixedres,
1041    8/7/4/3 bits/pixel, fixing Every Second Counts colour problems
1042 * Added line draw, fixing missing stuff from Question Of Sport
1043 * Change blitter loop type control - there are 4 types of loop.
1044 * Corrected video frame rate to 50Hz.
1045 * Corrected Z80 speed to 5.91mhz
1046 * Accounted for Z80 cycles stolen during a blit operation. Improves
1047    gfx/sound sync and seems to fix the final round lockup in Every
1048    Second Counts.
14231049
1424Added the ability to pass absolute paths to mame_schedule_save() and
1425mame_schedule_load(). [Nathan Woods]
1050Various SCSI devices register state items by their disk ID, which are
1051not unique across device types. Introduced a device-type offset for
1052CD-ROMs so their registrations don't clash with harddisks.
1053[R. Belmont]
14261054
1427Naomi/DC updates: [Samuele Zannoli]
1428 - Add SH4 I/O ports
1429 - Connected the 93C46 of the naomi and the x76f100 of the rom board
1430    and filled them with dummy data to satisfy the BIOS
1431 - Implemented some of the JVS transfers that will be needed to use
1432    the controls
1433 - Implemented ROM board DMA
1434 - Set proper NAOMI RAM sizes (32 MB main, 8 MB for AICA)
1435 - Improved PVR-TA graphics emulation
1055Fixed tilemap viewer to draw the whole tilemap when categories are
1056used. Added new option TILEMAP_DRAW_ALL_CATEGORIES to do this
1057efficiently. Updated several drivers to use this instead of rendering
1058each category independently where appropriate. [Nicola Salmoria]
14361059
1437Set proper ARM7 clock for Naomi. [Deunan Knute]
1060Added DIP locations to blueprnt.c [RansAckeR]
14381061
1439ARM7 updates: [Anonymous]
1440 - correct mode at reset (it's always 0b1....)
1441 - HandlePSRTransfer: remove wrong code, correct detection of
1442    privileged mode
1443 - correct carry output for ROR
1444 - Thumb ASR Rd,Rs: correct carry computation
1445 - Thumb ldmia/stmia: correct value for writeback when the writeback
1446    reg is in the list
1447 - ARM ldm/stm ignore lower bits of the address
1448 - most of the exceptions force the I bit
1449 - ignore some flag bits in the CPSR
1062Fixed ledutil.c so it compiles cleanly under MSVC. [Mike Haaland]
14501063
1451Some improvements to the Funworld driver and new games added.
1452[Roberto Fresca]
1453 - Switched to XTAL def.
1454 - Fixed Magic Card II graphics issues.
1455 - Fixed Magic Card II inputs.
1456 - Fixed screen and visible area to snooker10.
1457 - Renamed set monglfir to mongolnw.
1458 - Renamed sets description based on languages instead of countries.
1459 - Fixed some years and manufacturers.
1460 - Updated technical notes.
1461 - Cleaned up the driver.
1462 
1463Did some cleanup of the 'special case' mess that the rallyx driver
1464has become. [Zsolt Vasvari]
1064Astrocade update: [Dirk Best]
1065 - Update src/mame/includes/astrocde.h to use an XTAL value
1066 - Clear interrupts if they are no longer valid
1067 - Add the knob inputs
14651068
1466Removed no longer used TRANSPARENCY_COLOR. [Zsolt Vasvari]
1069Added new makefile flag VERBOSE which enables gcc's verbose output
1070during compile. [Marc Sandusky]
14671071
1468MC6845 updates: [Zsolt Vasvari]
1469 - changed the 6845 to be handle based -- adjusted all drivers
1470 - renamed crtc6845 to mc6845
1471 - allow reading registers 12 and 13
1472 - reading write-only registers return 0
1473 - updated comments in header
1474 
1475Changed qix.c to RGB32 mode and made its videoram_w do the partial
1476updating instead of a per scanline timer. [Zsolt Vasvari]
1072Corrected clocks on Rygar. [Corrado Tomaselli]
14771073
1478Fixed 'mario' and 'masao' memory maps to match the Dip Switches port
1479name. [stephh]
1074Changed "Machine" to "machine" in a number of places when the
1075running machine parameter is already available. In some cases this
1076also allowed for the removal of deprecat.h. [Oliver Stoenberg]
14801077
1481Fixed pooyan transparency. Updated to use resnet code. [Zsolt Vasvari]
1078Did some major cleanup and gutting of pcshare.c. [Wilbert Pol]
14821079
1483Changed ZN2 clock speed to 100MHz to match board notes. [smf]
1080Created a built-in overlay for Armor Attack using just rectangles.
1081[Mr. Do!]
14841082
1485Added DIP locations for sitv, sicv, invadpt2, lrescue, invasion. Fixed
1486coin2 for superinv & invasion. [RansAckeR]
1083Added dynamic control of RX and TX pins to 6850 ACIA emulation - this
1084is needed for correct operation of the MPU4 Video communications
1085system, and may be handy for some MESS systems. To use, set the rx
1086and tx clocks to 0 in the acia interface, then use acia_tx_clock_in()
1087and acia_rx_clock_in() respectively. [James Wallace]
14871088
1488Added initialization to machine/nmk112.c. This resolves a multi-
1489session audio problem reported for donpachi. Also added some variable
1490initialization to machine/n64.c to fix running starsldr multi-session.
1491[Atari Ace]
1089Added proper implentation of hardware collision in mermaid. This
1090fixes mermaid (when the player is in the water with the sharks) and
1091rougien. Also fixed priorities in mermaid and rougien and a sprite
1092wrapping bug. [Robiza]
14921093
1493Added diplocations to policetr and marked some as unused based on
1494manual and schematics. [Mike Ellery]
1094Fixed CPS1 background color. This fixes 3 wonder (game start) and
1095mtwins (explosion during attract). It seems to break Varth, however,
1096and has dubious effects on the boot sscreens of avsp, sfa3 and
1097possibly other CPS2 games. [Nicola Salmoria]
14951098
1496Fixed fatal error in the maxaflex, mf_bdash and mf_achas drivers.
1497[Atari Ace]
1099Added discrete filtering and mixing to ironhors. One driver less
1100using FILTER_RC. [couriersud]
14981101
1499Several more risky challenge opcodes. You can now see "gameplay".
1500[robiza]
1102Fixes for aerfboot (bootleg of aerofgt): [Robiza]
1103 - fixes spriteram3 (previous value was too high and in the "city"
1104    level some build disappear
1105 - sprite gfx bank (previously some sprite appear right and some
1106    sprite was wrong)
1107 - fixed perfectly the sprite zoom
1108 - removed multisprite support; in the bootleg aren't present
15011109
1110Converted the pit8253 implementation into a device. To make it 
1111easier to use I've also created a src/emu/devconv.h in the same style
1112as src/emu/memconv.h. [Wilbert Pol]
15021113
1114Replaced anonymous timer in tx1 with an allocated one to make state
1115saving closer to reality. [Hugh Allen]
15031116
1117Changed winwork.c from using hand-built scalable locks to using
1118standard Windows CriticalSections for now, to hopefully address
1119
1120
1121
15041122New games added or promoted from NOT_WORKING status
15051123---------------------------------------------------
1506Galaxy Games (BIOS v1.90) [Luca Elia]
1507Royal Vegas Joker Card [Roberto Fresca]
1124Multi Game III [Mariusz Wojcieszek]
15081125
15091126
15101127
15111128New clones added
15121129----------------
1513Contra (US, Set 2) [Brian Troha]
1514Zero Wing (2 player simultaneous ver.) [Brian Troha]
1515Sand Scorpion (Revised Hardware) [Stefan Lindberg]
1516Galaxian (Taito) [Stefan Lindberg]
1517Jolly Card (3x3 deal) [Roberto Fresca]
1518Jolly Card Professional 2.0 [Roberto Fresca]
1519Lucky Lady (3x3 deal) [Roberto Fresca]
1520Lucky Lady (4x1 aces) [Roberto Fresca]
1130Off Road Challenge (2 sets) [Guru]
1131Deer Hunting USA V2 [Brian Troha]
1132Super Bishi Bashi Champ (Korea) [Guru]
15211133
15221134
15231135
15241136New games marked as GAME_NOT_WORKING
15251137------------------------------------
1526World PK Soccer V2 (ver 1.1) [David Haywood]
1138Give us a Break [Philip Bennett]
1139Ten Up [Philip Bennett]
1140Beeline [Philip Bennett]
1141Chase Bombers [Bryan McPhail]

Previous 15994 Revisions Next


© 1998-2018 The MESS Team